ETH Price: $2,334.99 (-0.31%)

Token

LIGHTBULBMAN WAT (WAT)
 

Overview

Max Total Supply

1,025 WAT

Holders

109

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
spazzy.eth
Balance
2 WAT
0x73eFDa13bC0d0717b4f2f36418279FD4E2Cd0Af9
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:
LightbulbmanWAT

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : LightbulbmanWAT.sol
//
//    β–ˆ     β–ˆβ–‘ β–„β–„β–„     β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“
//    β–“β–ˆβ–‘ β–ˆ β–‘β–ˆβ–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„   β–“  β–ˆβ–ˆβ–’ β–“β–’
//    β–’β–ˆβ–‘ β–ˆ β–‘β–ˆ β–’β–ˆβ–ˆ  β–€β–ˆβ–„ β–’ β–“β–ˆβ–ˆβ–‘ β–’β–‘
//    β–‘β–ˆβ–‘ β–ˆ β–‘β–ˆ β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆβ–‘ β–“β–ˆβ–ˆβ–“ β–‘
//    β–‘β–‘β–ˆβ–ˆβ–’β–ˆβ–ˆβ–“  β–“β–ˆ   β–“β–ˆβ–ˆβ–’ β–’β–ˆβ–ˆβ–’ β–‘
//    β–‘ β–“β–‘β–’ β–’   β–’β–’   β–“β–’β–ˆβ–‘ β–’ β–‘β–‘
//    β–’ β–‘ β–‘    β–’   β–’β–’ β–‘   β–‘
//    β–‘   β–‘    β–‘   β–’    β–‘
//        β–‘          β–‘  β–‘
//
//
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
error LightbulbmanWAT__NeedMoreEthSent();
error LightbulbmanWAT__TransferFailed();

interface ILbmGenesis {
    function balanceOf(address owner) external view returns (uint256);

    function ownerOf(uint256 tokenId) external view returns (address owner);

    function tokenOfOwnerByIndex(
        address owner,
        uint256 index
    ) external view returns (uint256);
}

/**@title Lightbulbman WAT Collection
 * @author Bjarne Melgaard Enterprises & NORN
 * @notice This is the second release in the Lightbulbman Series
 */

contract LightbulbmanWAT is Ownable, ERC721Enumerable, ReentrancyGuard {
    using Strings for uint256;

    enum SaleStatus {
        NOT_ACTIVE,
        HOLDER,
        WHITELIST,
        PUBLIC
    }

    SaleStatus public saleStatus = SaleStatus.NOT_ACTIVE;

    ILbmGenesis LbmGenesis;
    bool public revealed;
    string private s_baseURI =
        "ipfs://bafkreic2kzw2k4gecxmhjvztv5a26472nqes546rdcwvbwsiqgl7mmdy2m/";
    uint256 private constant MAX_SUPPLY = 1025;
    uint256 private s_nextPublicTokenId;
    uint256 public s_publicMintPrice;
    uint256 public s_preMintPrice;
    uint256 public s_whiteListMintPrice;
    uint256 public s_totalSupply;
    uint256 public s_maxAllowedWhitelistMint;
    uint256 public s_maxAllowedPublicMint;
    address payable private s_withdrawalAddress;

    mapping(address => bool) public whitelist;
    mapping(uint256 => bool) public mintedTokensGenesisIds;
    mapping(address => uint256) public whitelistMintedTokens;
    mapping(address => uint256) public publicMintedTokens;

    event ToggleSaleState(bool saleActive);
    event PublicMintPriceChanged(uint256 _mintPrice);
    event PreMintPriceChanged(uint256 _mintPrice);
    event WhitelistMintPriceChanged(uint256 _mintPrice);
    event PublicMint(uint256 indexed _tokenId);
    event PreMint(uint256 indexed _tokenId);
    event WhitelistMint(uint256 indexed _tokenId);
    event WithdrawalAddressChanged(address payable _newWithdrawalAddress);

    constructor(
        address _lbmGenesisContractAddress,
        uint256 _publicMintPrice,
        uint256 _whiteListMintPrice,
        uint256 _preMintPrice,
        uint256 _maxAllowedWhitelistMint,
        uint256 _maxAllowedPublicMint,
        address payable _withdrawalWallet
    ) ERC721("LIGHTBULBMAN WAT", "WAT") {
        LbmGenesis = ILbmGenesis(_lbmGenesisContractAddress);
        s_totalSupply;
        s_publicMintPrice = _publicMintPrice;
        s_whiteListMintPrice = _whiteListMintPrice;
        s_preMintPrice = _preMintPrice;
        saleStatus;
        s_maxAllowedWhitelistMint = _maxAllowedWhitelistMint;
        s_maxAllowedPublicMint = _maxAllowedPublicMint;
        s_withdrawalAddress = _withdrawalWallet;
    }

    function changeSaleStatus(uint8 _newStatus) external onlyOwner {
        require(_newStatus >= 0 && _newStatus <= 3, "Invalid status");
        saleStatus = SaleStatus(_newStatus);
    }

    function setWhithdrawalWallet(
        address payable _withdrawalWallet
    ) external onlyOwner {
        s_withdrawalAddress = _withdrawalWallet;
        emit WithdrawalAddressChanged(s_withdrawalAddress);
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        s_withdrawalAddress.transfer(balance);
    }

    function availableMint(
        address owner
    ) external view returns (uint256[] memory) {
        uint256 tokenCount = LbmGenesis.balanceOf(owner);

        uint256[] memory ownedTokenIds = new uint256[](tokenCount);
        uint256 currentIndex;
        for (uint256 i; i < tokenCount; ++i) {
            uint256 tokenId = LbmGenesis.tokenOfOwnerByIndex(owner, i);
            if (!mintedTokensGenesisIds[tokenId]) {
                ownedTokenIds[currentIndex] = tokenId;
                ++currentIndex;
            }
        }

        uint256[] memory unmintedOwnedTokenIds = new uint256[](currentIndex);
        for (uint256 i; i < currentIndex; ++i) {
            unmintedOwnedTokenIds[i] = ownedTokenIds[i];
        }

        return unmintedOwnedTokenIds;
    }

    function gift(
        address[] calldata _receiverAddress,
        uint16[][] calldata _nTokenIds
    ) external onlyOwner {
        require(
            _nTokenIds.length <= MAX_SUPPLY - s_totalSupply,
            "Exeeded supply"
        );
        require(saleStatus == SaleStatus.NOT_ACTIVE, "Invalid status");
        require(
            _receiverAddress.length == _nTokenIds.length,
            "Invalid input length"
        );
        for (uint16 n; n < _receiverAddress.length; ++n) {
            for (uint16 i; i < _nTokenIds[n].length; ++i) {
                uint16 tokenId = _nTokenIds[n][i];
                require(tokenId >= 0 && tokenId < MAX_SUPPLY, "Invalid");
                require(!_exists(tokenIDToLBMID(tokenId)), "Invalid");

                mintedTokensGenesisIds[tokenId] = true;

                _safeMint(_receiverAddress[n], tokenIDToLBMID(tokenId));
            }
            s_totalSupply = s_totalSupply + _nTokenIds[n].length;
        }
    }

    function preMintNTokens(uint256[] calldata _nTokens) external payable {
        require(saleStatus == SaleStatus.HOLDER, "Invalid status");
        if (msg.value < s_preMintPrice * _nTokens.length) {
            revert LightbulbmanWAT__NeedMoreEthSent();
        }

        for (uint256 i; i < _nTokens.length; ++i) {
            preMint(_nTokens[i]);
        }
        s_totalSupply = s_totalSupply + _nTokens.length;
    }

    function preMint(uint256 tokenId) internal returns (uint256) {
        require(tokenId >= 0 && tokenId < MAX_SUPPLY, "Invalid tokenId");
        require(LbmGenesis.ownerOf(tokenId) == msg.sender, "Not the owner");

        mintedTokensGenesisIds[tokenId] = true;
        _safeMint(msg.sender, tokenIDToLBMID(tokenId));

        emit PreMint(tokenIDToLBMID(tokenId));

        return tokenId;
    }

    function whitelistMint(
        uint8 _nTokens
    ) external payable nonReentrant returns (uint256) {
        require(saleStatus == SaleStatus.WHITELIST, "Invalid status");
        require(whitelist[msg.sender], "NOT_IN_WHITELIST");
        if (msg.value < s_whiteListMintPrice * _nTokens) {
            revert LightbulbmanWAT__NeedMoreEthSent();
        }
        require(
            s_maxAllowedWhitelistMint - whitelistMintedTokens[msg.sender] >=
                _nTokens,
            "Exeeded max allowed"
        );
        uint256 tokenId = s_nextPublicTokenId;
        require(tokenId < MAX_SUPPLY, "Finished");
        for (uint8 i; i < _nTokens; ++i) {
            while (mintedTokensGenesisIds[tokenId]) {
                ++tokenId;
                require(tokenId < MAX_SUPPLY, "Finished");
            }

            mintedTokensGenesisIds[tokenId] = true;
            _safeMint(msg.sender, tokenIDToLBMID(tokenId));

            emit WhitelistMint(tokenIDToLBMID(tokenId));
        }
        whitelistMintedTokens[msg.sender] =
            whitelistMintedTokens[msg.sender] +
            _nTokens;
        s_totalSupply = s_totalSupply + _nTokens;
        s_nextPublicTokenId = ++tokenId;
        return s_nextPublicTokenId;
    }

    function publicMint(
        uint8 _nTokens
    ) external payable nonReentrant returns (uint256) {
        require(saleStatus == SaleStatus.PUBLIC, "Invalid status");

        if (msg.value < s_publicMintPrice * _nTokens) {
            revert LightbulbmanWAT__NeedMoreEthSent();
        }
        require(
            s_maxAllowedPublicMint - publicMintedTokens[msg.sender] >= _nTokens,
            "Exeeded max allowed"
        );

        uint256 tokenId = s_nextPublicTokenId;
        require(tokenId < MAX_SUPPLY, "Finished");
        for (uint8 i; i < _nTokens; ++i) {
            while (mintedTokensGenesisIds[tokenId]) {
                ++tokenId;
                require(tokenId < MAX_SUPPLY, "Finished");
            }

            mintedTokensGenesisIds[tokenId] = true;
            _safeMint(msg.sender, tokenIDToLBMID(tokenId));

            emit PublicMint(tokenIDToLBMID(tokenId));
        }
        publicMintedTokens[msg.sender] =
            publicMintedTokens[msg.sender] +
            _nTokens;
        s_totalSupply = s_totalSupply + _nTokens;
        s_nextPublicTokenId = ++tokenId;
        return s_nextPublicTokenId;
    }

    function addToWhitelist(
        address[] calldata toAddAddresses
    ) external onlyOwner {
        for (uint i; i < toAddAddresses.length; ++i) {
            whitelist[toAddAddresses[i]] = true;
        }
    }

    function setPreMintPrice(uint256 _mintPrice) external onlyOwner {
        s_preMintPrice = _mintPrice;
        emit PreMintPriceChanged(_mintPrice);
    }

    function setWhitelistMintPrice(uint256 _mintPrice) external onlyOwner {
        s_whiteListMintPrice = _mintPrice;
        emit WhitelistMintPriceChanged(_mintPrice);
    }

    function setPublicMintPrice(uint256 _mintPrice) external onlyOwner {
        s_publicMintPrice = _mintPrice;
        emit PublicMintPriceChanged(_mintPrice);
    }

    function setMaxAllowedWhitelistMint(uint256 _value) external onlyOwner {
        s_maxAllowedWhitelistMint = _value;
    }

    function setMaxAllowedPublicMint(uint256 _value) external onlyOwner {
        s_maxAllowedPublicMint = _value;
    }

    function setBaseUri(string calldata _baseUri) external onlyOwner {
        s_baseURI = _baseUri;
    }

    function toggleReveal() external onlyOwner {
        revealed = !revealed;
    }

    function getPublicMintPrice() public view returns (uint256) {
        return s_publicMintPrice;
    }

    function getMaxSupply() public pure returns (uint256) {
        return MAX_SUPPLY;
    }

    function getSaleStatus() public view returns (SaleStatus) {
        return saleStatus;
    }

    function getWithdrawalAddress() public view returns (address) {
        return s_withdrawalAddress;
    }

    function getActivePrice() public view returns (uint256) {
        if (saleStatus == SaleStatus.HOLDER) {
            return s_preMintPrice;
        } else if (saleStatus == SaleStatus.WHITELIST) {
            return s_whiteListMintPrice;
        } else if (saleStatus == SaleStatus.PUBLIC) {
            return s_publicMintPrice;
        } else {
            return s_preMintPrice;
        }
    }

    function getBaseUri() public view onlyOwner returns (string memory) {
        return s_baseURI;
    }

    function tokenURI(
        uint256 tokenId
    ) public view override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();

        return
            revealed
                ? string(abi.encodePacked(baseURI, tokenId.toString()))
                : string(abi.encodePacked(baseURI));
    }

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

    function tokenIDToLBMID(
        uint256 tokenID
    ) internal pure returns (uint256 lbmID) {
        if (0 <= tokenID && tokenID <= 653) {
            lbmID = tokenID + 468;
        } else if (654 <= tokenID && tokenID <= 1024) {
            lbmID = tokenID - 654;
        } else {
            revert("Invalid ID");
        }
    }
}

File 2 of 15 : 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 3 of 15 : 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 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 5 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 calldata data
    ) external;

    /**
     * @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 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
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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);
}

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 14 of 15 : 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);
        }
    }
}

File 15 of 15 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lbmGenesisContractAddress","type":"address"},{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"},{"internalType":"uint256","name":"_whiteListMintPrice","type":"uint256"},{"internalType":"uint256","name":"_preMintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedWhitelistMint","type":"uint256"},{"internalType":"uint256","name":"_maxAllowedPublicMint","type":"uint256"},{"internalType":"address payable","name":"_withdrawalWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"LightbulbmanWAT__NeedMoreEthSent","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"PreMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"PreMintPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"PublicMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"PublicMintPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"saleActive","type":"bool"}],"name":"ToggleSaleState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"WhitelistMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"WhitelistMintPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable","name":"_newWithdrawalAddress","type":"address"}],"name":"WithdrawalAddressChanged","type":"event"},{"inputs":[{"internalType":"address[]","name":"toAddAddresses","type":"address[]"}],"name":"addToWhitelist","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":"availableMint","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newStatus","type":"uint8"}],"name":"changeSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getActivePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPublicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStatus","outputs":[{"internalType":"enum LightbulbmanWAT.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWithdrawalAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receiverAddress","type":"address[]"},{"internalType":"uint16[][]","name":"_nTokenIds","type":"uint16[][]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedTokensGenesisIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_nTokens","type":"uint256[]"}],"name":"preMintNTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_nTokens","type":"uint8"}],"name":"publicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_maxAllowedPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_maxAllowedWhitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_preMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_whiteListMintPrice","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":"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":[],"name":"saleStatus","outputs":[{"internalType":"enum LightbulbmanWAT.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxAllowedPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxAllowedWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setPreMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setWhitelistMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_withdrawalWallet","type":"address"}],"name":"setWhithdrawalWallet","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":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_nTokens","type":"uint8"}],"name":"whitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c60006101000a81548160ff021916908360038111156200002d576200002c6200039b565b5b0217905550604051806080016040528060438152602001620065ca60439139600d908051906020019062000063929190620002eb565b503480156200007157600080fd5b506040516200660d3803806200660d8339818101604052810190620000979190620004b4565b6040518060400160405280601081526020017f4c4947485442554c424d414e20574154000000000000000000000000000000008152506040518060400160405280600381526020017f574154000000000000000000000000000000000000000000000000000000000081525062000123620001176200021f60201b60201c565b6200022760201b60201c565b81600190805190602001906200013b929190620002eb565b50806002908051906020019062000154929190620002eb565b5050506001600b8190555086600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600f819055508460118190555083601081905550600c60009054906101000a905050826013819055508160148190555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505050620005cc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f99062000596565b90600052602060002090601f0160209004810192826200031d576000855562000369565b82601f106200033857805160ff191683800117855562000369565b8280016001018555821562000369579182015b82811115620003685782518255916020019190600101906200034b565b5b5090506200037891906200037c565b5090565b5b80821115620003975760008160009055506001016200037d565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003fc82620003cf565b9050919050565b6200040e81620003ef565b81146200041a57600080fd5b50565b6000815190506200042e8162000403565b92915050565b6000819050919050565b620004498162000434565b81146200045557600080fd5b50565b60008151905062000469816200043e565b92915050565b60006200047c82620003cf565b9050919050565b6200048e816200046f565b81146200049a57600080fd5b50565b600081519050620004ae8162000483565b92915050565b600080600080600080600060e0888a031215620004d657620004d5620003ca565b5b6000620004e68a828b016200041d565b9750506020620004f98a828b0162000458565b96505060406200050c8a828b0162000458565b95505060606200051f8a828b0162000458565b9450506080620005328a828b0162000458565b93505060a0620005458a828b0162000458565b92505060c0620005588a828b016200049d565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005af57607f821691505b60208210811415620005c657620005c562000567565b5b50919050565b615fee80620005dc6000396000f3fe60806040526004361061031a5760003560e01c8063744dab38116101ab578063a22cb465116100f7578063da6405e111610095578063f2fde38b1161006f578063f2fde38b14610bf4578063f9020e3314610c1d578063fa57dffb14610c48578063fb083b9c14610c645761031a565b8063da6405e114610b63578063e985e9c514610b8c578063ec8f3fa514610bc95761031a565b8063b88d4fde116100d1578063b88d4fde14610aab578063bb1bf1d814610ad4578063c4df15f514610afd578063c87b56dd14610b265761031a565b8063a22cb46514610a1c578063a2f4743a14610a45578063a611708e14610a825761031a565b80638c3c4b34116101645780639b07fa901161013e5780639b07fa90146109625780639b19251a1461098d578063a08c063c146109ca578063a0bcfc7f146109f35761031a565b80638c3c4b34146108e15780638da5cb5b1461090c57806395d89b41146109375761031a565b8063744dab38146107b857806376ff8a27146107e35780637f6497831461082057806380e5ac6e14610849578063858e83b514610886578063896f639e146108b65761031a565b80633ccfd60b1161026a5780635d82cf6e11610223578063690f7246116101fd578063690f7246146107105780636a74a0fc1461073957806370a0823114610764578063715018a6146107a15761031a565b80635d82cf6e1461067a57806360e85cde146106a35780636352211e146106d35761031a565b80633ccfd60b1461059057806342842e0e146105a75780634c0f38c2146105d05780634f6ccce7146105fb57806351830227146106385780635b8ad429146106635761031a565b8063179f187b116102d757806323b872dd116102b157806323b872dd146104d65780632cd35e35146104ff5780632f745c59146105285780633595bf17146105655761031a565b8063179f187b1461045557806318160ddd14610480578063235a1414146104ab5761031a565b806301ffc9a71461031f5780630270ef421461035c57806306fdde0314610399578063081812fc146103c4578063095ea7b3146104015780630cac36b21461042a575b600080fd5b34801561032b57600080fd5b50610346600480360381019061034191906142a5565b610c8f565b60405161035391906142ed565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e9190614366565b610d09565b604051610390919061445b565b60405180910390f35b3480156103a557600080fd5b506103ae610fd9565b6040516103bb9190614516565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190614564565b61106b565b6040516103f891906145a0565b60405180910390f35b34801561040d57600080fd5b50610428600480360381019061042391906145bb565b6110b1565b005b34801561043657600080fd5b5061043f6111c9565b60405161044c9190614516565b60405180910390f35b34801561046157600080fd5b5061046a611263565b604051610477919061460a565b60405180910390f35b34801561048c57600080fd5b50610495611269565b6040516104a2919061460a565b60405180910390f35b3480156104b757600080fd5b506104c0611276565b6040516104cd919061460a565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190614625565b61127c565b005b34801561050b57600080fd5b50610526600480360381019061052191906146b1565b6112dc565b005b34801561053457600080fd5b5061054f600480360381019061054a91906145bb565b61137d565b60405161055c919061460a565b60405180910390f35b34801561057157600080fd5b5061057a611422565b604051610587919061460a565b60405180910390f35b34801561059c57600080fd5b506105a5611428565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190614625565b6114a1565b005b3480156105dc57600080fd5b506105e56114c1565b6040516105f2919061460a565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d9190614564565b6114cb565b60405161062f919061460a565b60405180910390f35b34801561064457600080fd5b5061064d61153c565b60405161065a91906142ed565b60405180910390f35b34801561066f57600080fd5b5061067861154f565b005b34801561068657600080fd5b506106a1600480360381019061069c9190614564565b611583565b005b6106bd60048036038101906106b891906146b1565b6115cc565b6040516106ca919061460a565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190614564565b6119df565b60405161070791906145a0565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190614564565b611a66565b005b34801561074557600080fd5b5061074e611a78565b60405161075b919061460a565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190614366565b611a7e565b604051610798919061460a565b60405180910390f35b3480156107ad57600080fd5b506107b6611b36565b005b3480156107c457600080fd5b506107cd611b4a565b6040516107da919061460a565b60405180910390f35b3480156107ef57600080fd5b5061080a60048036038101906108059190614564565b611b54565b60405161081791906142ed565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190614743565b611b74565b005b34801561085557600080fd5b50610870600480360381019061086b9190614366565b611c1f565b60405161087d919061460a565b60405180910390f35b6108a0600480360381019061089b91906146b1565b611c37565b6040516108ad919061460a565b60405180910390f35b3480156108c257600080fd5b506108cb611fbd565b6040516108d8919061460a565b60405180910390f35b3480156108ed57600080fd5b506108f6611fc3565b6040516109039190614807565b60405180910390f35b34801561091857600080fd5b50610921611fda565b60405161092e91906145a0565b60405180910390f35b34801561094357600080fd5b5061094c612003565b6040516109599190614516565b60405180910390f35b34801561096e57600080fd5b50610977612095565b604051610984919061460a565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190614366565b612171565b6040516109c191906142ed565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190614860565b612191565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906148e3565b612236565b005b348015610a2857600080fd5b50610a436004803603810190610a3e919061495c565b612254565b005b348015610a5157600080fd5b50610a6c6004803603810190610a679190614366565b61226a565b604051610a79919061460a565b60405180910390f35b348015610a8e57600080fd5b50610aa96004803603810190610aa49190614564565b612282565b005b348015610ab757600080fd5b50610ad26004803603810190610acd9190614acc565b6122cb565b005b348015610ae057600080fd5b50610afb6004803603810190610af69190614564565b61232d565b005b348015610b0957600080fd5b50610b246004803603810190610b1f9190614ba5565b61233f565b005b348015610b3257600080fd5b50610b4d6004803603810190610b489190614564565b612684565b604051610b5a9190614516565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b859190614564565b612707565b005b348015610b9857600080fd5b50610bb36004803603810190610bae9190614c26565b612750565b604051610bc091906142ed565b60405180910390f35b348015610bd557600080fd5b50610bde6127e4565b604051610beb91906145a0565b60405180910390f35b348015610c0057600080fd5b50610c1b6004803603810190610c169190614366565b61280e565b005b348015610c2957600080fd5b50610c32612892565b604051610c3f9190614807565b60405180910390f35b610c626004803603810190610c5d9190614cbc565b6128a5565b005b348015610c7057600080fd5b50610c796129c3565b604051610c86919061460a565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d025750610d01826129c9565b5b9050919050565b60606000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d6891906145a0565b60206040518083038186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db89190614d1e565b905060008167ffffffffffffffff811115610dd657610dd56149a1565b5b604051908082528060200260200182016040528015610e045781602001602082028036833780820191505090505b5090506000805b83811015610f28576000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401610e72929190614d4b565b60206040518083038186803b158015610e8a57600080fd5b505afa158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190614d1e565b90506017600082815260200190815260200160002060009054906101000a900460ff16610f165780848481518110610efd57610efc614d74565b5b60200260200101818152505082610f1390614dd2565b92505b5080610f2190614dd2565b9050610e0b565b5060008167ffffffffffffffff811115610f4557610f446149a1565b5b604051908082528060200260200182016040528015610f735781602001602082028036833780820191505090505b50905060005b82811015610fcc57838181518110610f9457610f93614d74565b5b6020026020010151828281518110610faf57610fae614d74565b5b60200260200101818152505080610fc590614dd2565b9050610f79565b5080945050505050919050565b606060018054610fe890614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461101490614e4a565b80156110615780601f1061103657610100808354040283529160200191611061565b820191906000526020600020905b81548152906001019060200180831161104457829003601f168201915b5050505050905090565b600061107682612aab565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006110bc826119df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561112d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112490614eee565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661114c612af6565b73ffffffffffffffffffffffffffffffffffffffff16148061117b575061117a81611175612af6565b612750565b5b6111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b190614f80565b60405180910390fd5b6111c48383612afe565b505050565b60606111d3612bb7565b600d80546111e090614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461120c90614e4a565b80156112595780601f1061122e57610100808354040283529160200191611259565b820191906000526020600020905b81548152906001019060200180831161123c57829003601f168201915b5050505050905090565b60105481565b6000600980549050905090565b60115481565b61128d611287612af6565b82612c35565b6112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390615012565b60405180910390fd5b6112d7838383612cca565b505050565b6112e4612bb7565b60008160ff16101580156112fc575060038160ff1611155b61133b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113329061507e565b60405180910390fd5b8060ff16600381111561135157611350614790565b5b600c60006101000a81548160ff0219169083600381111561137557611374614790565b5b021790555050565b600061138883611a7e565b82106113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090615110565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b611430612bb7565b6000479050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561149d573d6000803e3d6000fd5b5050565b6114bc838383604051806020016040528060008152506122cb565b505050565b6000610401905090565b60006114d5611269565b8210611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d906151a2565b60405180910390fd5b6009828154811061152a57611529614d74565b5b90600052602060002001549050919050565b600c60159054906101000a900460ff1681565b611557612bb7565b600c60159054906101000a900460ff1615600c60156101000a81548160ff021916908315150217905550565b61158b612bb7565b80600f819055507f0c8b5dca4493fbf75f934a0ba3a36981a39a1d70b5565cd45061da40eb140708816040516115c1919061460a565b60405180910390a150565b60006115d6612fc4565b600260038111156115ea576115e9614790565b5b600c60009054906101000a900460ff16600381111561160c5761160b614790565b5b1461164c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116439061507e565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf9061520e565b60405180910390fd5b8160ff166011546116e9919061522e565b341015611722576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160ff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546013546117739190615288565b10156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90615308565b60405180910390fd5b6000600e54905061040181106117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690615374565b60405180910390fd5b60005b8360ff168160ff161015611910575b6017600083815260200190815260200160002060009054906101000a900460ff161561188c578161184190614dd2565b91506104018210611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90615374565b60405180910390fd5b611811565b60016017600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506118ca336118c584613014565b6130b2565b6118d382613014565b7f205ee7b8cfac6bbf2a00488bad6530023b9c7f00f64aa7ab5b672d2b05a6660b60405160405180910390a28061190990615394565b9050611802565b508260ff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461195f91906153be565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260ff166012546119b391906153be565b601281905550806119c390614dd2565b905080600e81905550600e549150506119da6130d0565b919050565b6000806119eb836130da565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5490615460565b60405180910390fd5b80915050919050565b611a6e612bb7565b8060138190555050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906154f2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b3e612bb7565b611b486000613117565b565b6000600f54905090565b60176020528060005260406000206000915054906101000a900460ff1681565b611b7c612bb7565b60005b82829050811015611c1a57600160166000858585818110611ba357611ba2614d74565b5b9050602002016020810190611bb89190614366565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611c1390614dd2565b9050611b7f565b505050565b60186020528060005260406000206000915090505481565b6000611c41612fc4565b600380811115611c5457611c53614790565b5b600c60009054906101000a900460ff166003811115611c7657611c75614790565b5b14611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad9061507e565b60405180910390fd5b8160ff16600f54611cc7919061522e565b341015611d00576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160ff16601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601454611d519190615288565b1015611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990615308565b60405180910390fd5b6000600e5490506104018110611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490615374565b60405180910390fd5b60005b8360ff168160ff161015611eee575b6017600083815260200190815260200160002060009054906101000a900460ff1615611e6a5781611e1f90614dd2565b91506104018210611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c90615374565b60405180910390fd5b611def565b60016017600084815260200190815260200160002060006101000a81548160ff021916908315150217905550611ea833611ea384613014565b6130b2565b611eb182613014565b7f9fb17e34d60ece1b56287d9fa45002656ff775dfd1937f856c4dc924fb89335360405160405180910390a280611ee790615394565b9050611de0565b508260ff16601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f3d91906153be565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260ff16601254611f9191906153be565b60128190555080611fa190614dd2565b905080600e81905550600e54915050611fb86130d0565b919050565b60135481565b6000600c60009054906101000a900460ff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461201290614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461203e90614e4a565b801561208b5780601f106120605761010080835404028352916020019161208b565b820191906000526020600020905b81548152906001019060200180831161206e57829003601f168201915b5050505050905090565b6000600160038111156120ab576120aa614790565b5b600c60009054906101000a900460ff1660038111156120cd576120cc614790565b5b14156120dd57601054905061216e565b600260038111156120f1576120f0614790565b5b600c60009054906101000a900460ff16600381111561211357612112614790565b5b141561212357601154905061216e565b60038081111561213657612135614790565b5b600c60009054906101000a900460ff16600381111561215857612157614790565b5b141561216857600f54905061216e565b60105490505b90565b60166020528060005260406000206000915054906101000a900460ff1681565b612199612bb7565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb23d1fccd536f08056fe9e1b1c3077a3612fd091580c79e597835493ea914bac601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161222b9190615521565b60405180910390a150565b61223e612bb7565b8181600d919061224f929190614196565b505050565b61226661225f612af6565b83836131db565b5050565b60196020528060005260406000206000915090505481565b61228a612bb7565b806011819055507f4519363f0a0caaa77299c878e8f531cd09b3b749c15b5f1c0f3cdc80dd45dc82816040516122c0919061460a565b60405180910390a150565b6122dc6122d6612af6565b83612c35565b61231b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231290615012565b60405180910390fd5b61232784848484613348565b50505050565b612335612bb7565b8060148190555050565b612347612bb7565b6012546104016123579190615288565b82829050111561239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239390615588565b60405180910390fd5b600060038111156123b0576123af614790565b5b600c60009054906101000a900460ff1660038111156123d2576123d1614790565b5b14612412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124099061507e565b60405180910390fd5b81819050848490501461245a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612451906155f4565b60405180910390fd5b60005b848490508161ffff16101561267d5760005b83838361ffff1681811061248657612485614d74565b5b90506020028101906124989190615623565b90508161ffff16101561262d57600084848461ffff168181106124be576124bd614d74565b5b90506020028101906124d09190615623565b8361ffff168181106124e5576124e4614d74565b5b90506020020160208101906124fa91906156c0565b905060008161ffff161015801561251657506104018161ffff16105b612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c90615739565b60405180910390fd5b61256a6125658261ffff16613014565b6133a4565b156125aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a190615739565b60405180910390fd5b6001601760008361ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061261b87878561ffff168181106125f4576125f3614d74565b5b90506020020160208101906126099190614366565b6126168361ffff16613014565b6130b2565b508061262690615759565b905061246f565b5082828261ffff1681811061264557612644614d74565b5b90506020028101906126579190615623565b905060125461266691906153be565b6012819055508061267690615759565b905061245d565b5050505050565b606061268f82612aab565b60006126996133e5565b9050600c60159054906101000a900460ff166126d457806040516020016126c091906157c0565b6040516020818303038152906040526126ff565b806126de84613477565b6040516020016126ef9291906157d7565b6040516020818303038152906040525b915050919050565b61270f612bb7565b806010819055507f5fffbd3a77ea8b1cff92b7f9c8a3d7d08730e10fc943d8503624cfd35efb033481604051612745919061460a565b60405180910390a150565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612816612bb7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d9061586d565b60405180910390fd5b61288f81613117565b50565b600c60009054906101000a900460ff1681565b600160038111156128b9576128b8614790565b5b600c60009054906101000a900460ff1660038111156128db576128da614790565b5b1461291b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129129061507e565b60405180910390fd5b8181905060105461292c919061522e565b341015612965576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b828290508110156129a75761299583838381811061298957612988614d74565b5b9050602002013561354f565b50806129a090614dd2565b9050612968565b50818190506012546129b991906153be565b6012819055505050565b60145481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa45750612aa382613734565b5b9050919050565b612ab4816133a4565b612af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aea90615460565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b71836119df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612bbf612af6565b73ffffffffffffffffffffffffffffffffffffffff16612bdd611fda565b73ffffffffffffffffffffffffffffffffffffffff1614612c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2a906158d9565b60405180910390fd5b565b600080612c41836119df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c835750612c828185612750565b5b80612cc157508373ffffffffffffffffffffffffffffffffffffffff16612ca98461106b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612cea826119df565b73ffffffffffffffffffffffffffffffffffffffff1614612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d379061596b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da7906159fd565b60405180910390fd5b612dbd838383600161379e565b8273ffffffffffffffffffffffffffffffffffffffff16612ddd826119df565b73ffffffffffffffffffffffffffffffffffffffff1614612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a9061596b565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fbf83838360016138fe565b505050565b6002600b54141561300a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300190615a69565b60405180910390fd5b6002600b81905550565b600081600011158015613029575061028d8211155b15613043576101d48261303c91906153be565b90506130ad565b8161028e1115801561305757506104008211155b156130715761028e8261306a9190615288565b90506130ac565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a390615ad5565b60405180910390fd5b5b919050565b6130cc828260405180602001604052806000815250613904565b5050565b6001600b81905550565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561324a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324190615b41565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161333b91906142ed565b60405180910390a3505050565b613353848484612cca565b61335f8484848461395f565b61339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615bd3565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166133c6836130da565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600d80546133f490614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461342090614e4a565b801561346d5780601f106134425761010080835404028352916020019161346d565b820191906000526020600020905b81548152906001019060200180831161345057829003601f168201915b5050505050905090565b60606000600161348684613af6565b01905060008167ffffffffffffffff8111156134a5576134a46149a1565b5b6040519080825280601f01601f1916602001820160405280156134d75781602001600182028036833780820191505090505b509050600082602001820190505b600115613544578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161352e5761352d615bf3565b5b049450600085141561353f57613544565b6134e5565b819350505050919050565b6000808210158015613562575061040182105b6135a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359890615c6e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401613613919061460a565b60206040518083038186803b15801561362b57600080fd5b505afa15801561363f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136639190615ca3565b73ffffffffffffffffffffffffffffffffffffffff16146136b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b090615d1c565b60405180910390fd5b60016017600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506136f7336136f284613014565b6130b2565b61370082613014565b7fb912e64aa68e9d755c185023a399b9c53e2cd956ed8f342079e3ca84dd43771960405160405180910390a2819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137aa84848484613c49565b60018111156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590615dae565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156138365761383181613c4f565b613875565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613874576138738582613c98565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156138b8576138b381613e05565b6138f7565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138f6576138f58482613ed6565b5b5b5050505050565b50505050565b61390e8383613f55565b61391b600084848461395f565b61395a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395190615bd3565b60405180910390fd5b505050565b60006139808473ffffffffffffffffffffffffffffffffffffffff16614173565b15613ae9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139a9612af6565b8786866040518563ffffffff1660e01b81526004016139cb9493929190615e23565b602060405180830381600087803b1580156139e557600080fd5b505af1925050508015613a1657506040513d601f19601f82011682018060405250810190613a139190615e84565b60015b613a99573d8060008114613a46576040519150601f19603f3d011682016040523d82523d6000602084013e613a4b565b606091505b50600081511415613a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8890615bd3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613aee565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613b54577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613b4a57613b49615bf3565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613b91576d04ee2d6d415b85acef81000000008381613b8757613b86615bf3565b5b0492506020810190505b662386f26fc100008310613bc057662386f26fc100008381613bb657613bb5615bf3565b5b0492506010810190505b6305f5e1008310613be9576305f5e1008381613bdf57613bde615bf3565b5b0492506008810190505b6127108310613c0e576127108381613c0457613c03615bf3565b5b0492506004810190505b60648310613c315760648381613c2757613c26615bf3565b5b0492506002810190505b600a8310613c40576001810190505b80915050919050565b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ca584611a7e565b613caf9190615288565b9050600060086000848152602001908152602001600020549050818114613d94576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613e199190615288565b90506000600a6000848152602001908152602001600020549050600060098381548110613e4957613e48614d74565b5b906000526020600020015490508060098381548110613e6b57613e6a614d74565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613eba57613eb9615eb1565b5b6001900381819060005260206000200160009055905550505050565b6000613ee183611a7e565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fbc90615f2c565b60405180910390fd5b613fce816133a4565b1561400e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400590615f98565b60405180910390fd5b61401c60008383600161379e565b614025816133a4565b15614065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405c90615f98565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461416f6000838360016138fe565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546141a290614e4a565b90600052602060002090601f0160209004810192826141c4576000855561420b565b82601f106141dd57803560ff191683800117855561420b565b8280016001018555821561420b579182015b8281111561420a5782358255916020019190600101906141ef565b5b509050614218919061421c565b5090565b5b8082111561423557600081600090555060010161421d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142828161424d565b811461428d57600080fd5b50565b60008135905061429f81614279565b92915050565b6000602082840312156142bb576142ba614243565b5b60006142c984828501614290565b91505092915050565b60008115159050919050565b6142e7816142d2565b82525050565b600060208201905061430260008301846142de565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061433382614308565b9050919050565b61434381614328565b811461434e57600080fd5b50565b6000813590506143608161433a565b92915050565b60006020828403121561437c5761437b614243565b5b600061438a84828501614351565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b6143d2816143bf565b82525050565b60006143e483836143c9565b60208301905092915050565b6000602082019050919050565b600061440882614393565b614412818561439e565b935061441d836143af565b8060005b8381101561444e57815161443588826143d8565b9750614440836143f0565b925050600181019050614421565b5085935050505092915050565b6000602082019050818103600083015261447581846143fd565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144b757808201518184015260208101905061449c565b838111156144c6576000848401525b50505050565b6000601f19601f8301169050919050565b60006144e88261447d565b6144f28185614488565b9350614502818560208601614499565b61450b816144cc565b840191505092915050565b6000602082019050818103600083015261453081846144dd565b905092915050565b614541816143bf565b811461454c57600080fd5b50565b60008135905061455e81614538565b92915050565b60006020828403121561457a57614579614243565b5b60006145888482850161454f565b91505092915050565b61459a81614328565b82525050565b60006020820190506145b56000830184614591565b92915050565b600080604083850312156145d2576145d1614243565b5b60006145e085828601614351565b92505060206145f18582860161454f565b9150509250929050565b614604816143bf565b82525050565b600060208201905061461f60008301846145fb565b92915050565b60008060006060848603121561463e5761463d614243565b5b600061464c86828701614351565b935050602061465d86828701614351565b925050604061466e8682870161454f565b9150509250925092565b600060ff82169050919050565b61468e81614678565b811461469957600080fd5b50565b6000813590506146ab81614685565b92915050565b6000602082840312156146c7576146c6614243565b5b60006146d58482850161469c565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614703576147026146de565b5b8235905067ffffffffffffffff8111156147205761471f6146e3565b5b60208301915083602082028301111561473c5761473b6146e8565b5b9250929050565b6000806020838503121561475a57614759614243565b5b600083013567ffffffffffffffff81111561477857614777614248565b5b614784858286016146ed565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106147d0576147cf614790565b5b50565b60008190506147e1826147bf565b919050565b60006147f1826147d3565b9050919050565b614801816147e6565b82525050565b600060208201905061481c60008301846147f8565b92915050565b600061482d82614308565b9050919050565b61483d81614822565b811461484857600080fd5b50565b60008135905061485a81614834565b92915050565b60006020828403121561487657614875614243565b5b60006148848482850161484b565b91505092915050565b60008083601f8401126148a3576148a26146de565b5b8235905067ffffffffffffffff8111156148c0576148bf6146e3565b5b6020830191508360018202830111156148dc576148db6146e8565b5b9250929050565b600080602083850312156148fa576148f9614243565b5b600083013567ffffffffffffffff81111561491857614917614248565b5b6149248582860161488d565b92509250509250929050565b614939816142d2565b811461494457600080fd5b50565b60008135905061495681614930565b92915050565b6000806040838503121561497357614972614243565b5b600061498185828601614351565b925050602061499285828601614947565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149d9826144cc565b810181811067ffffffffffffffff821117156149f8576149f76149a1565b5b80604052505050565b6000614a0b614239565b9050614a1782826149d0565b919050565b600067ffffffffffffffff821115614a3757614a366149a1565b5b614a40826144cc565b9050602081019050919050565b82818337600083830152505050565b6000614a6f614a6a84614a1c565b614a01565b905082815260208101848484011115614a8b57614a8a61499c565b5b614a96848285614a4d565b509392505050565b600082601f830112614ab357614ab26146de565b5b8135614ac3848260208601614a5c565b91505092915050565b60008060008060808587031215614ae657614ae5614243565b5b6000614af487828801614351565b9450506020614b0587828801614351565b9350506040614b168782880161454f565b925050606085013567ffffffffffffffff811115614b3757614b36614248565b5b614b4387828801614a9e565b91505092959194509250565b60008083601f840112614b6557614b646146de565b5b8235905067ffffffffffffffff811115614b8257614b816146e3565b5b602083019150836020820283011115614b9e57614b9d6146e8565b5b9250929050565b60008060008060408587031215614bbf57614bbe614243565b5b600085013567ffffffffffffffff811115614bdd57614bdc614248565b5b614be9878288016146ed565b9450945050602085013567ffffffffffffffff811115614c0c57614c0b614248565b5b614c1887828801614b4f565b925092505092959194509250565b60008060408385031215614c3d57614c3c614243565b5b6000614c4b85828601614351565b9250506020614c5c85828601614351565b9150509250929050565b60008083601f840112614c7c57614c7b6146de565b5b8235905067ffffffffffffffff811115614c9957614c986146e3565b5b602083019150836020820283011115614cb557614cb46146e8565b5b9250929050565b60008060208385031215614cd357614cd2614243565b5b600083013567ffffffffffffffff811115614cf157614cf0614248565b5b614cfd85828601614c66565b92509250509250929050565b600081519050614d1881614538565b92915050565b600060208284031215614d3457614d33614243565b5b6000614d4284828501614d09565b91505092915050565b6000604082019050614d606000830185614591565b614d6d60208301846145fb565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ddd826143bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e1057614e0f614da3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e6257607f821691505b60208210811415614e7657614e75614e1b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ed8602183614488565b9150614ee382614e7c565b604082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614f6a603d83614488565b9150614f7582614f0e565b604082019050919050565b60006020820190508181036000830152614f9981614f5d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614ffc602d83614488565b915061500782614fa0565b604082019050919050565b6000602082019050818103600083015261502b81614fef565b9050919050565b7f496e76616c696420737461747573000000000000000000000000000000000000600082015250565b6000615068600e83614488565b915061507382615032565b602082019050919050565b600060208201905081810360008301526150978161505b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006150fa602b83614488565b91506151058261509e565b604082019050919050565b60006020820190508181036000830152615129816150ed565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061518c602c83614488565b915061519782615130565b604082019050919050565b600060208201905081810360008301526151bb8161517f565b9050919050565b7f4e4f545f494e5f57484954454c49535400000000000000000000000000000000600082015250565b60006151f8601083614488565b9150615203826151c2565b602082019050919050565b60006020820190508181036000830152615227816151eb565b9050919050565b6000615239826143bf565b9150615244836143bf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527d5761527c614da3565b5b828202905092915050565b6000615293826143bf565b915061529e836143bf565b9250828210156152b1576152b0614da3565b5b828203905092915050565b7f45786565646564206d617820616c6c6f77656400000000000000000000000000600082015250565b60006152f2601383614488565b91506152fd826152bc565b602082019050919050565b60006020820190508181036000830152615321816152e5565b9050919050565b7f46696e6973686564000000000000000000000000000000000000000000000000600082015250565b600061535e600883614488565b915061536982615328565b602082019050919050565b6000602082019050818103600083015261538d81615351565b9050919050565b600061539f82614678565b915060ff8214156153b3576153b2614da3565b5b600182019050919050565b60006153c9826143bf565b91506153d4836143bf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561540957615408614da3565b5b828201905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061544a601883614488565b915061545582615414565b602082019050919050565b600060208201905081810360008301526154798161543d565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006154dc602983614488565b91506154e782615480565b604082019050919050565b6000602082019050818103600083015261550b816154cf565b9050919050565b61551b81614822565b82525050565b60006020820190506155366000830184615512565b92915050565b7f4578656564656420737570706c79000000000000000000000000000000000000600082015250565b6000615572600e83614488565b915061557d8261553c565b602082019050919050565b600060208201905081810360008301526155a181615565565b9050919050565b7f496e76616c696420696e707574206c656e677468000000000000000000000000600082015250565b60006155de601483614488565b91506155e9826155a8565b602082019050919050565b6000602082019050818103600083015261560d816155d1565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126156405761563f615614565b5b80840192508235915067ffffffffffffffff82111561566257615661615619565b5b60208301925060208202360383131561567e5761567d61561e565b5b509250929050565b600061ffff82169050919050565b61569d81615686565b81146156a857600080fd5b50565b6000813590506156ba81615694565b92915050565b6000602082840312156156d6576156d5614243565b5b60006156e4848285016156ab565b91505092915050565b7f496e76616c696400000000000000000000000000000000000000000000000000600082015250565b6000615723600783614488565b915061572e826156ed565b602082019050919050565b6000602082019050818103600083015261575281615716565b9050919050565b600061576482615686565b915061ffff82141561577957615778614da3565b5b600182019050919050565b600081905092915050565b600061579a8261447d565b6157a48185615784565b93506157b4818560208601614499565b80840191505092915050565b60006157cc828461578f565b915081905092915050565b60006157e3828561578f565b91506157ef828461578f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615857602683614488565b9150615862826157fb565b604082019050919050565b600060208201905081810360008301526158868161584a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006158c3602083614488565b91506158ce8261588d565b602082019050919050565b600060208201905081810360008301526158f2816158b6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615955602583614488565b9150615960826158f9565b604082019050919050565b6000602082019050818103600083015261598481615948565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159e7602483614488565b91506159f28261598b565b604082019050919050565b60006020820190508181036000830152615a16816159da565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615a53601f83614488565b9150615a5e82615a1d565b602082019050919050565b60006020820190508181036000830152615a8281615a46565b9050919050565b7f496e76616c696420494400000000000000000000000000000000000000000000600082015250565b6000615abf600a83614488565b9150615aca82615a89565b602082019050919050565b60006020820190508181036000830152615aee81615ab2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615b2b601983614488565b9150615b3682615af5565b602082019050919050565b60006020820190508181036000830152615b5a81615b1e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615bbd603283614488565b9150615bc882615b61565b604082019050919050565b60006020820190508181036000830152615bec81615bb0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000615c58600f83614488565b9150615c6382615c22565b602082019050919050565b60006020820190508181036000830152615c8781615c4b565b9050919050565b600081519050615c9d8161433a565b92915050565b600060208284031215615cb957615cb8614243565b5b6000615cc784828501615c8e565b91505092915050565b7f4e6f7420746865206f776e657200000000000000000000000000000000000000600082015250565b6000615d06600d83614488565b9150615d1182615cd0565b602082019050919050565b60006020820190508181036000830152615d3581615cf9565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615d98603583614488565b9150615da382615d3c565b604082019050919050565b60006020820190508181036000830152615dc781615d8b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615df582615dce565b615dff8185615dd9565b9350615e0f818560208601614499565b615e18816144cc565b840191505092915050565b6000608082019050615e386000830187614591565b615e456020830186614591565b615e5260408301856145fb565b8181036060830152615e648184615dea565b905095945050505050565b600081519050615e7e81614279565b92915050565b600060208284031215615e9a57615e99614243565b5b6000615ea884828501615e6f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615f16602083614488565b9150615f2182615ee0565b602082019050919050565b60006020820190508181036000830152615f4581615f09565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f82601c83614488565b9150615f8d82615f4c565b602082019050919050565b60006020820190508181036000830152615fb181615f75565b905091905056fea26469706673582212207df5058133e564548c3293f0c88f0592c078158fe16d765a8f041a82a87a302264736f6c63430008080033697066733a2f2f6261666b72656963326b7a77326b34676563786d686a767a7476356132363437326e71657335343672646377766277736971676c376d6d6479326d2f0000000000000000000000004c9a6c3fe98b5ae3a8c652709a1e04574aec17020000000000000000000000000000000000000000000000000429d069189e0000000000000000000000000000000000000000000000000000031f5c4ed27680000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000050000000000000000000000001232d4a6231bfb0d8a79fd1d321014eafc2f65c2

Deployed Bytecode

0x60806040526004361061031a5760003560e01c8063744dab38116101ab578063a22cb465116100f7578063da6405e111610095578063f2fde38b1161006f578063f2fde38b14610bf4578063f9020e3314610c1d578063fa57dffb14610c48578063fb083b9c14610c645761031a565b8063da6405e114610b63578063e985e9c514610b8c578063ec8f3fa514610bc95761031a565b8063b88d4fde116100d1578063b88d4fde14610aab578063bb1bf1d814610ad4578063c4df15f514610afd578063c87b56dd14610b265761031a565b8063a22cb46514610a1c578063a2f4743a14610a45578063a611708e14610a825761031a565b80638c3c4b34116101645780639b07fa901161013e5780639b07fa90146109625780639b19251a1461098d578063a08c063c146109ca578063a0bcfc7f146109f35761031a565b80638c3c4b34146108e15780638da5cb5b1461090c57806395d89b41146109375761031a565b8063744dab38146107b857806376ff8a27146107e35780637f6497831461082057806380e5ac6e14610849578063858e83b514610886578063896f639e146108b65761031a565b80633ccfd60b1161026a5780635d82cf6e11610223578063690f7246116101fd578063690f7246146107105780636a74a0fc1461073957806370a0823114610764578063715018a6146107a15761031a565b80635d82cf6e1461067a57806360e85cde146106a35780636352211e146106d35761031a565b80633ccfd60b1461059057806342842e0e146105a75780634c0f38c2146105d05780634f6ccce7146105fb57806351830227146106385780635b8ad429146106635761031a565b8063179f187b116102d757806323b872dd116102b157806323b872dd146104d65780632cd35e35146104ff5780632f745c59146105285780633595bf17146105655761031a565b8063179f187b1461045557806318160ddd14610480578063235a1414146104ab5761031a565b806301ffc9a71461031f5780630270ef421461035c57806306fdde0314610399578063081812fc146103c4578063095ea7b3146104015780630cac36b21461042a575b600080fd5b34801561032b57600080fd5b50610346600480360381019061034191906142a5565b610c8f565b60405161035391906142ed565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e9190614366565b610d09565b604051610390919061445b565b60405180910390f35b3480156103a557600080fd5b506103ae610fd9565b6040516103bb9190614516565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190614564565b61106b565b6040516103f891906145a0565b60405180910390f35b34801561040d57600080fd5b50610428600480360381019061042391906145bb565b6110b1565b005b34801561043657600080fd5b5061043f6111c9565b60405161044c9190614516565b60405180910390f35b34801561046157600080fd5b5061046a611263565b604051610477919061460a565b60405180910390f35b34801561048c57600080fd5b50610495611269565b6040516104a2919061460a565b60405180910390f35b3480156104b757600080fd5b506104c0611276565b6040516104cd919061460a565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190614625565b61127c565b005b34801561050b57600080fd5b50610526600480360381019061052191906146b1565b6112dc565b005b34801561053457600080fd5b5061054f600480360381019061054a91906145bb565b61137d565b60405161055c919061460a565b60405180910390f35b34801561057157600080fd5b5061057a611422565b604051610587919061460a565b60405180910390f35b34801561059c57600080fd5b506105a5611428565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190614625565b6114a1565b005b3480156105dc57600080fd5b506105e56114c1565b6040516105f2919061460a565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d9190614564565b6114cb565b60405161062f919061460a565b60405180910390f35b34801561064457600080fd5b5061064d61153c565b60405161065a91906142ed565b60405180910390f35b34801561066f57600080fd5b5061067861154f565b005b34801561068657600080fd5b506106a1600480360381019061069c9190614564565b611583565b005b6106bd60048036038101906106b891906146b1565b6115cc565b6040516106ca919061460a565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190614564565b6119df565b60405161070791906145a0565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190614564565b611a66565b005b34801561074557600080fd5b5061074e611a78565b60405161075b919061460a565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190614366565b611a7e565b604051610798919061460a565b60405180910390f35b3480156107ad57600080fd5b506107b6611b36565b005b3480156107c457600080fd5b506107cd611b4a565b6040516107da919061460a565b60405180910390f35b3480156107ef57600080fd5b5061080a60048036038101906108059190614564565b611b54565b60405161081791906142ed565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190614743565b611b74565b005b34801561085557600080fd5b50610870600480360381019061086b9190614366565b611c1f565b60405161087d919061460a565b60405180910390f35b6108a0600480360381019061089b91906146b1565b611c37565b6040516108ad919061460a565b60405180910390f35b3480156108c257600080fd5b506108cb611fbd565b6040516108d8919061460a565b60405180910390f35b3480156108ed57600080fd5b506108f6611fc3565b6040516109039190614807565b60405180910390f35b34801561091857600080fd5b50610921611fda565b60405161092e91906145a0565b60405180910390f35b34801561094357600080fd5b5061094c612003565b6040516109599190614516565b60405180910390f35b34801561096e57600080fd5b50610977612095565b604051610984919061460a565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190614366565b612171565b6040516109c191906142ed565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190614860565b612191565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906148e3565b612236565b005b348015610a2857600080fd5b50610a436004803603810190610a3e919061495c565b612254565b005b348015610a5157600080fd5b50610a6c6004803603810190610a679190614366565b61226a565b604051610a79919061460a565b60405180910390f35b348015610a8e57600080fd5b50610aa96004803603810190610aa49190614564565b612282565b005b348015610ab757600080fd5b50610ad26004803603810190610acd9190614acc565b6122cb565b005b348015610ae057600080fd5b50610afb6004803603810190610af69190614564565b61232d565b005b348015610b0957600080fd5b50610b246004803603810190610b1f9190614ba5565b61233f565b005b348015610b3257600080fd5b50610b4d6004803603810190610b489190614564565b612684565b604051610b5a9190614516565b60405180910390f35b348015610b6f57600080fd5b50610b8a6004803603810190610b859190614564565b612707565b005b348015610b9857600080fd5b50610bb36004803603810190610bae9190614c26565b612750565b604051610bc091906142ed565b60405180910390f35b348015610bd557600080fd5b50610bde6127e4565b604051610beb91906145a0565b60405180910390f35b348015610c0057600080fd5b50610c1b6004803603810190610c169190614366565b61280e565b005b348015610c2957600080fd5b50610c32612892565b604051610c3f9190614807565b60405180910390f35b610c626004803603810190610c5d9190614cbc565b6128a5565b005b348015610c7057600080fd5b50610c796129c3565b604051610c86919061460a565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d025750610d01826129c9565b5b9050919050565b60606000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d6891906145a0565b60206040518083038186803b158015610d8057600080fd5b505afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db89190614d1e565b905060008167ffffffffffffffff811115610dd657610dd56149a1565b5b604051908082528060200260200182016040528015610e045781602001602082028036833780820191505090505b5090506000805b83811015610f28576000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff1660e01b8152600401610e72929190614d4b565b60206040518083038186803b158015610e8a57600080fd5b505afa158015610e9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec29190614d1e565b90506017600082815260200190815260200160002060009054906101000a900460ff16610f165780848481518110610efd57610efc614d74565b5b60200260200101818152505082610f1390614dd2565b92505b5080610f2190614dd2565b9050610e0b565b5060008167ffffffffffffffff811115610f4557610f446149a1565b5b604051908082528060200260200182016040528015610f735781602001602082028036833780820191505090505b50905060005b82811015610fcc57838181518110610f9457610f93614d74565b5b6020026020010151828281518110610faf57610fae614d74565b5b60200260200101818152505080610fc590614dd2565b9050610f79565b5080945050505050919050565b606060018054610fe890614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461101490614e4a565b80156110615780601f1061103657610100808354040283529160200191611061565b820191906000526020600020905b81548152906001019060200180831161104457829003601f168201915b5050505050905090565b600061107682612aab565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006110bc826119df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561112d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112490614eee565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661114c612af6565b73ffffffffffffffffffffffffffffffffffffffff16148061117b575061117a81611175612af6565b612750565b5b6111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b190614f80565b60405180910390fd5b6111c48383612afe565b505050565b60606111d3612bb7565b600d80546111e090614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461120c90614e4a565b80156112595780601f1061122e57610100808354040283529160200191611259565b820191906000526020600020905b81548152906001019060200180831161123c57829003601f168201915b5050505050905090565b60105481565b6000600980549050905090565b60115481565b61128d611287612af6565b82612c35565b6112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390615012565b60405180910390fd5b6112d7838383612cca565b505050565b6112e4612bb7565b60008160ff16101580156112fc575060038160ff1611155b61133b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113329061507e565b60405180910390fd5b8060ff16600381111561135157611350614790565b5b600c60006101000a81548160ff0219169083600381111561137557611374614790565b5b021790555050565b600061138883611a7e565b82106113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090615110565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b611430612bb7565b6000479050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561149d573d6000803e3d6000fd5b5050565b6114bc838383604051806020016040528060008152506122cb565b505050565b6000610401905090565b60006114d5611269565b8210611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d906151a2565b60405180910390fd5b6009828154811061152a57611529614d74565b5b90600052602060002001549050919050565b600c60159054906101000a900460ff1681565b611557612bb7565b600c60159054906101000a900460ff1615600c60156101000a81548160ff021916908315150217905550565b61158b612bb7565b80600f819055507f0c8b5dca4493fbf75f934a0ba3a36981a39a1d70b5565cd45061da40eb140708816040516115c1919061460a565b60405180910390a150565b60006115d6612fc4565b600260038111156115ea576115e9614790565b5b600c60009054906101000a900460ff16600381111561160c5761160b614790565b5b1461164c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116439061507e565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf9061520e565b60405180910390fd5b8160ff166011546116e9919061522e565b341015611722576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160ff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546013546117739190615288565b10156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90615308565b60405180910390fd5b6000600e54905061040181106117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690615374565b60405180910390fd5b60005b8360ff168160ff161015611910575b6017600083815260200190815260200160002060009054906101000a900460ff161561188c578161184190614dd2565b91506104018210611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90615374565b60405180910390fd5b611811565b60016017600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506118ca336118c584613014565b6130b2565b6118d382613014565b7f205ee7b8cfac6bbf2a00488bad6530023b9c7f00f64aa7ab5b672d2b05a6660b60405160405180910390a28061190990615394565b9050611802565b508260ff16601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461195f91906153be565b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260ff166012546119b391906153be565b601281905550806119c390614dd2565b905080600e81905550600e549150506119da6130d0565b919050565b6000806119eb836130da565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5490615460565b60405180910390fd5b80915050919050565b611a6e612bb7565b8060138190555050565b60125481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906154f2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b3e612bb7565b611b486000613117565b565b6000600f54905090565b60176020528060005260406000206000915054906101000a900460ff1681565b611b7c612bb7565b60005b82829050811015611c1a57600160166000858585818110611ba357611ba2614d74565b5b9050602002016020810190611bb89190614366565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611c1390614dd2565b9050611b7f565b505050565b60186020528060005260406000206000915090505481565b6000611c41612fc4565b600380811115611c5457611c53614790565b5b600c60009054906101000a900460ff166003811115611c7657611c75614790565b5b14611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad9061507e565b60405180910390fd5b8160ff16600f54611cc7919061522e565b341015611d00576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160ff16601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601454611d519190615288565b1015611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990615308565b60405180910390fd5b6000600e5490506104018110611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490615374565b60405180910390fd5b60005b8360ff168160ff161015611eee575b6017600083815260200190815260200160002060009054906101000a900460ff1615611e6a5781611e1f90614dd2565b91506104018210611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c90615374565b60405180910390fd5b611def565b60016017600084815260200190815260200160002060006101000a81548160ff021916908315150217905550611ea833611ea384613014565b6130b2565b611eb182613014565b7f9fb17e34d60ece1b56287d9fa45002656ff775dfd1937f856c4dc924fb89335360405160405180910390a280611ee790615394565b9050611de0565b508260ff16601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f3d91906153be565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260ff16601254611f9191906153be565b60128190555080611fa190614dd2565b905080600e81905550600e54915050611fb86130d0565b919050565b60135481565b6000600c60009054906101000a900460ff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461201290614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461203e90614e4a565b801561208b5780601f106120605761010080835404028352916020019161208b565b820191906000526020600020905b81548152906001019060200180831161206e57829003601f168201915b5050505050905090565b6000600160038111156120ab576120aa614790565b5b600c60009054906101000a900460ff1660038111156120cd576120cc614790565b5b14156120dd57601054905061216e565b600260038111156120f1576120f0614790565b5b600c60009054906101000a900460ff16600381111561211357612112614790565b5b141561212357601154905061216e565b60038081111561213657612135614790565b5b600c60009054906101000a900460ff16600381111561215857612157614790565b5b141561216857600f54905061216e565b60105490505b90565b60166020528060005260406000206000915054906101000a900460ff1681565b612199612bb7565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb23d1fccd536f08056fe9e1b1c3077a3612fd091580c79e597835493ea914bac601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161222b9190615521565b60405180910390a150565b61223e612bb7565b8181600d919061224f929190614196565b505050565b61226661225f612af6565b83836131db565b5050565b60196020528060005260406000206000915090505481565b61228a612bb7565b806011819055507f4519363f0a0caaa77299c878e8f531cd09b3b749c15b5f1c0f3cdc80dd45dc82816040516122c0919061460a565b60405180910390a150565b6122dc6122d6612af6565b83612c35565b61231b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231290615012565b60405180910390fd5b61232784848484613348565b50505050565b612335612bb7565b8060148190555050565b612347612bb7565b6012546104016123579190615288565b82829050111561239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239390615588565b60405180910390fd5b600060038111156123b0576123af614790565b5b600c60009054906101000a900460ff1660038111156123d2576123d1614790565b5b14612412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124099061507e565b60405180910390fd5b81819050848490501461245a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612451906155f4565b60405180910390fd5b60005b848490508161ffff16101561267d5760005b83838361ffff1681811061248657612485614d74565b5b90506020028101906124989190615623565b90508161ffff16101561262d57600084848461ffff168181106124be576124bd614d74565b5b90506020028101906124d09190615623565b8361ffff168181106124e5576124e4614d74565b5b90506020020160208101906124fa91906156c0565b905060008161ffff161015801561251657506104018161ffff16105b612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c90615739565b60405180910390fd5b61256a6125658261ffff16613014565b6133a4565b156125aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a190615739565b60405180910390fd5b6001601760008361ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061261b87878561ffff168181106125f4576125f3614d74565b5b90506020020160208101906126099190614366565b6126168361ffff16613014565b6130b2565b508061262690615759565b905061246f565b5082828261ffff1681811061264557612644614d74565b5b90506020028101906126579190615623565b905060125461266691906153be565b6012819055508061267690615759565b905061245d565b5050505050565b606061268f82612aab565b60006126996133e5565b9050600c60159054906101000a900460ff166126d457806040516020016126c091906157c0565b6040516020818303038152906040526126ff565b806126de84613477565b6040516020016126ef9291906157d7565b6040516020818303038152906040525b915050919050565b61270f612bb7565b806010819055507f5fffbd3a77ea8b1cff92b7f9c8a3d7d08730e10fc943d8503624cfd35efb033481604051612745919061460a565b60405180910390a150565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612816612bb7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d9061586d565b60405180910390fd5b61288f81613117565b50565b600c60009054906101000a900460ff1681565b600160038111156128b9576128b8614790565b5b600c60009054906101000a900460ff1660038111156128db576128da614790565b5b1461291b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129129061507e565b60405180910390fd5b8181905060105461292c919061522e565b341015612965576040517f139481e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b828290508110156129a75761299583838381811061298957612988614d74565b5b9050602002013561354f565b50806129a090614dd2565b9050612968565b50818190506012546129b991906153be565b6012819055505050565b60145481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612aa45750612aa382613734565b5b9050919050565b612ab4816133a4565b612af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aea90615460565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b71836119df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612bbf612af6565b73ffffffffffffffffffffffffffffffffffffffff16612bdd611fda565b73ffffffffffffffffffffffffffffffffffffffff1614612c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2a906158d9565b60405180910390fd5b565b600080612c41836119df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c835750612c828185612750565b5b80612cc157508373ffffffffffffffffffffffffffffffffffffffff16612ca98461106b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612cea826119df565b73ffffffffffffffffffffffffffffffffffffffff1614612d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d379061596b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da7906159fd565b60405180910390fd5b612dbd838383600161379e565b8273ffffffffffffffffffffffffffffffffffffffff16612ddd826119df565b73ffffffffffffffffffffffffffffffffffffffff1614612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a9061596b565b60405180910390fd5b6005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fbf83838360016138fe565b505050565b6002600b54141561300a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300190615a69565b60405180910390fd5b6002600b81905550565b600081600011158015613029575061028d8211155b15613043576101d48261303c91906153be565b90506130ad565b8161028e1115801561305757506104008211155b156130715761028e8261306a9190615288565b90506130ac565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a390615ad5565b60405180910390fd5b5b919050565b6130cc828260405180602001604052806000815250613904565b5050565b6001600b81905550565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561324a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324190615b41565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161333b91906142ed565b60405180910390a3505050565b613353848484612cca565b61335f8484848461395f565b61339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615bd3565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166133c6836130da565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600d80546133f490614e4a565b80601f016020809104026020016040519081016040528092919081815260200182805461342090614e4a565b801561346d5780601f106134425761010080835404028352916020019161346d565b820191906000526020600020905b81548152906001019060200180831161345057829003601f168201915b5050505050905090565b60606000600161348684613af6565b01905060008167ffffffffffffffff8111156134a5576134a46149a1565b5b6040519080825280601f01601f1916602001820160405280156134d75781602001600182028036833780820191505090505b509050600082602001820190505b600115613544578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161352e5761352d615bf3565b5b049450600085141561353f57613544565b6134e5565b819350505050919050565b6000808210158015613562575061040182105b6135a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359890615c6e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401613613919061460a565b60206040518083038186803b15801561362b57600080fd5b505afa15801561363f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136639190615ca3565b73ffffffffffffffffffffffffffffffffffffffff16146136b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b090615d1c565b60405180910390fd5b60016017600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506136f7336136f284613014565b6130b2565b61370082613014565b7fb912e64aa68e9d755c185023a399b9c53e2cd956ed8f342079e3ca84dd43771960405160405180910390a2819050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137aa84848484613c49565b60018111156137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590615dae565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156138365761383181613c4f565b613875565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614613874576138738582613c98565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156138b8576138b381613e05565b6138f7565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138f6576138f58482613ed6565b5b5b5050505050565b50505050565b61390e8383613f55565b61391b600084848461395f565b61395a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395190615bd3565b60405180910390fd5b505050565b60006139808473ffffffffffffffffffffffffffffffffffffffff16614173565b15613ae9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139a9612af6565b8786866040518563ffffffff1660e01b81526004016139cb9493929190615e23565b602060405180830381600087803b1580156139e557600080fd5b505af1925050508015613a1657506040513d601f19601f82011682018060405250810190613a139190615e84565b60015b613a99573d8060008114613a46576040519150601f19603f3d011682016040523d82523d6000602084013e613a4b565b606091505b50600081511415613a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a8890615bd3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613aee565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613b54577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381613b4a57613b49615bf3565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613b91576d04ee2d6d415b85acef81000000008381613b8757613b86615bf3565b5b0492506020810190505b662386f26fc100008310613bc057662386f26fc100008381613bb657613bb5615bf3565b5b0492506010810190505b6305f5e1008310613be9576305f5e1008381613bdf57613bde615bf3565b5b0492506008810190505b6127108310613c0e576127108381613c0457613c03615bf3565b5b0492506004810190505b60648310613c315760648381613c2757613c26615bf3565b5b0492506002810190505b600a8310613c40576001810190505b80915050919050565b50505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ca584611a7e565b613caf9190615288565b9050600060086000848152602001908152602001600020549050818114613d94576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613e199190615288565b90506000600a6000848152602001908152602001600020549050600060098381548110613e4957613e48614d74565b5b906000526020600020015490508060098381548110613e6b57613e6a614d74565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613eba57613eb9615eb1565b5b6001900381819060005260206000200160009055905550505050565b6000613ee183611a7e565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fbc90615f2c565b60405180910390fd5b613fce816133a4565b1561400e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161400590615f98565b60405180910390fd5b61401c60008383600161379e565b614025816133a4565b15614065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161405c90615f98565b60405180910390fd5b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461416f6000838360016138fe565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546141a290614e4a565b90600052602060002090601f0160209004810192826141c4576000855561420b565b82601f106141dd57803560ff191683800117855561420b565b8280016001018555821561420b579182015b8281111561420a5782358255916020019190600101906141ef565b5b509050614218919061421c565b5090565b5b8082111561423557600081600090555060010161421d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142828161424d565b811461428d57600080fd5b50565b60008135905061429f81614279565b92915050565b6000602082840312156142bb576142ba614243565b5b60006142c984828501614290565b91505092915050565b60008115159050919050565b6142e7816142d2565b82525050565b600060208201905061430260008301846142de565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061433382614308565b9050919050565b61434381614328565b811461434e57600080fd5b50565b6000813590506143608161433a565b92915050565b60006020828403121561437c5761437b614243565b5b600061438a84828501614351565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b6143d2816143bf565b82525050565b60006143e483836143c9565b60208301905092915050565b6000602082019050919050565b600061440882614393565b614412818561439e565b935061441d836143af565b8060005b8381101561444e57815161443588826143d8565b9750614440836143f0565b925050600181019050614421565b5085935050505092915050565b6000602082019050818103600083015261447581846143fd565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156144b757808201518184015260208101905061449c565b838111156144c6576000848401525b50505050565b6000601f19601f8301169050919050565b60006144e88261447d565b6144f28185614488565b9350614502818560208601614499565b61450b816144cc565b840191505092915050565b6000602082019050818103600083015261453081846144dd565b905092915050565b614541816143bf565b811461454c57600080fd5b50565b60008135905061455e81614538565b92915050565b60006020828403121561457a57614579614243565b5b60006145888482850161454f565b91505092915050565b61459a81614328565b82525050565b60006020820190506145b56000830184614591565b92915050565b600080604083850312156145d2576145d1614243565b5b60006145e085828601614351565b92505060206145f18582860161454f565b9150509250929050565b614604816143bf565b82525050565b600060208201905061461f60008301846145fb565b92915050565b60008060006060848603121561463e5761463d614243565b5b600061464c86828701614351565b935050602061465d86828701614351565b925050604061466e8682870161454f565b9150509250925092565b600060ff82169050919050565b61468e81614678565b811461469957600080fd5b50565b6000813590506146ab81614685565b92915050565b6000602082840312156146c7576146c6614243565b5b60006146d58482850161469c565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614703576147026146de565b5b8235905067ffffffffffffffff8111156147205761471f6146e3565b5b60208301915083602082028301111561473c5761473b6146e8565b5b9250929050565b6000806020838503121561475a57614759614243565b5b600083013567ffffffffffffffff81111561477857614777614248565b5b614784858286016146ed565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106147d0576147cf614790565b5b50565b60008190506147e1826147bf565b919050565b60006147f1826147d3565b9050919050565b614801816147e6565b82525050565b600060208201905061481c60008301846147f8565b92915050565b600061482d82614308565b9050919050565b61483d81614822565b811461484857600080fd5b50565b60008135905061485a81614834565b92915050565b60006020828403121561487657614875614243565b5b60006148848482850161484b565b91505092915050565b60008083601f8401126148a3576148a26146de565b5b8235905067ffffffffffffffff8111156148c0576148bf6146e3565b5b6020830191508360018202830111156148dc576148db6146e8565b5b9250929050565b600080602083850312156148fa576148f9614243565b5b600083013567ffffffffffffffff81111561491857614917614248565b5b6149248582860161488d565b92509250509250929050565b614939816142d2565b811461494457600080fd5b50565b60008135905061495681614930565b92915050565b6000806040838503121561497357614972614243565b5b600061498185828601614351565b925050602061499285828601614947565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149d9826144cc565b810181811067ffffffffffffffff821117156149f8576149f76149a1565b5b80604052505050565b6000614a0b614239565b9050614a1782826149d0565b919050565b600067ffffffffffffffff821115614a3757614a366149a1565b5b614a40826144cc565b9050602081019050919050565b82818337600083830152505050565b6000614a6f614a6a84614a1c565b614a01565b905082815260208101848484011115614a8b57614a8a61499c565b5b614a96848285614a4d565b509392505050565b600082601f830112614ab357614ab26146de565b5b8135614ac3848260208601614a5c565b91505092915050565b60008060008060808587031215614ae657614ae5614243565b5b6000614af487828801614351565b9450506020614b0587828801614351565b9350506040614b168782880161454f565b925050606085013567ffffffffffffffff811115614b3757614b36614248565b5b614b4387828801614a9e565b91505092959194509250565b60008083601f840112614b6557614b646146de565b5b8235905067ffffffffffffffff811115614b8257614b816146e3565b5b602083019150836020820283011115614b9e57614b9d6146e8565b5b9250929050565b60008060008060408587031215614bbf57614bbe614243565b5b600085013567ffffffffffffffff811115614bdd57614bdc614248565b5b614be9878288016146ed565b9450945050602085013567ffffffffffffffff811115614c0c57614c0b614248565b5b614c1887828801614b4f565b925092505092959194509250565b60008060408385031215614c3d57614c3c614243565b5b6000614c4b85828601614351565b9250506020614c5c85828601614351565b9150509250929050565b60008083601f840112614c7c57614c7b6146de565b5b8235905067ffffffffffffffff811115614c9957614c986146e3565b5b602083019150836020820283011115614cb557614cb46146e8565b5b9250929050565b60008060208385031215614cd357614cd2614243565b5b600083013567ffffffffffffffff811115614cf157614cf0614248565b5b614cfd85828601614c66565b92509250509250929050565b600081519050614d1881614538565b92915050565b600060208284031215614d3457614d33614243565b5b6000614d4284828501614d09565b91505092915050565b6000604082019050614d606000830185614591565b614d6d60208301846145fb565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ddd826143bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e1057614e0f614da3565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e6257607f821691505b60208210811415614e7657614e75614e1b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ed8602183614488565b9150614ee382614e7c565b604082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614f6a603d83614488565b9150614f7582614f0e565b604082019050919050565b60006020820190508181036000830152614f9981614f5d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614ffc602d83614488565b915061500782614fa0565b604082019050919050565b6000602082019050818103600083015261502b81614fef565b9050919050565b7f496e76616c696420737461747573000000000000000000000000000000000000600082015250565b6000615068600e83614488565b915061507382615032565b602082019050919050565b600060208201905081810360008301526150978161505b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006150fa602b83614488565b91506151058261509e565b604082019050919050565b60006020820190508181036000830152615129816150ed565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061518c602c83614488565b915061519782615130565b604082019050919050565b600060208201905081810360008301526151bb8161517f565b9050919050565b7f4e4f545f494e5f57484954454c49535400000000000000000000000000000000600082015250565b60006151f8601083614488565b9150615203826151c2565b602082019050919050565b60006020820190508181036000830152615227816151eb565b9050919050565b6000615239826143bf565b9150615244836143bf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561527d5761527c614da3565b5b828202905092915050565b6000615293826143bf565b915061529e836143bf565b9250828210156152b1576152b0614da3565b5b828203905092915050565b7f45786565646564206d617820616c6c6f77656400000000000000000000000000600082015250565b60006152f2601383614488565b91506152fd826152bc565b602082019050919050565b60006020820190508181036000830152615321816152e5565b9050919050565b7f46696e6973686564000000000000000000000000000000000000000000000000600082015250565b600061535e600883614488565b915061536982615328565b602082019050919050565b6000602082019050818103600083015261538d81615351565b9050919050565b600061539f82614678565b915060ff8214156153b3576153b2614da3565b5b600182019050919050565b60006153c9826143bf565b91506153d4836143bf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561540957615408614da3565b5b828201905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061544a601883614488565b915061545582615414565b602082019050919050565b600060208201905081810360008301526154798161543d565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006154dc602983614488565b91506154e782615480565b604082019050919050565b6000602082019050818103600083015261550b816154cf565b9050919050565b61551b81614822565b82525050565b60006020820190506155366000830184615512565b92915050565b7f4578656564656420737570706c79000000000000000000000000000000000000600082015250565b6000615572600e83614488565b915061557d8261553c565b602082019050919050565b600060208201905081810360008301526155a181615565565b9050919050565b7f496e76616c696420696e707574206c656e677468000000000000000000000000600082015250565b60006155de601483614488565b91506155e9826155a8565b602082019050919050565b6000602082019050818103600083015261560d816155d1565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126156405761563f615614565b5b80840192508235915067ffffffffffffffff82111561566257615661615619565b5b60208301925060208202360383131561567e5761567d61561e565b5b509250929050565b600061ffff82169050919050565b61569d81615686565b81146156a857600080fd5b50565b6000813590506156ba81615694565b92915050565b6000602082840312156156d6576156d5614243565b5b60006156e4848285016156ab565b91505092915050565b7f496e76616c696400000000000000000000000000000000000000000000000000600082015250565b6000615723600783614488565b915061572e826156ed565b602082019050919050565b6000602082019050818103600083015261575281615716565b9050919050565b600061576482615686565b915061ffff82141561577957615778614da3565b5b600182019050919050565b600081905092915050565b600061579a8261447d565b6157a48185615784565b93506157b4818560208601614499565b80840191505092915050565b60006157cc828461578f565b915081905092915050565b60006157e3828561578f565b91506157ef828461578f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615857602683614488565b9150615862826157fb565b604082019050919050565b600060208201905081810360008301526158868161584a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006158c3602083614488565b91506158ce8261588d565b602082019050919050565b600060208201905081810360008301526158f2816158b6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615955602583614488565b9150615960826158f9565b604082019050919050565b6000602082019050818103600083015261598481615948565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159e7602483614488565b91506159f28261598b565b604082019050919050565b60006020820190508181036000830152615a16816159da565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615a53601f83614488565b9150615a5e82615a1d565b602082019050919050565b60006020820190508181036000830152615a8281615a46565b9050919050565b7f496e76616c696420494400000000000000000000000000000000000000000000600082015250565b6000615abf600a83614488565b9150615aca82615a89565b602082019050919050565b60006020820190508181036000830152615aee81615ab2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615b2b601983614488565b9150615b3682615af5565b602082019050919050565b60006020820190508181036000830152615b5a81615b1e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615bbd603283614488565b9150615bc882615b61565b604082019050919050565b60006020820190508181036000830152615bec81615bb0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000615c58600f83614488565b9150615c6382615c22565b602082019050919050565b60006020820190508181036000830152615c8781615c4b565b9050919050565b600081519050615c9d8161433a565b92915050565b600060208284031215615cb957615cb8614243565b5b6000615cc784828501615c8e565b91505092915050565b7f4e6f7420746865206f776e657200000000000000000000000000000000000000600082015250565b6000615d06600d83614488565b9150615d1182615cd0565b602082019050919050565b60006020820190508181036000830152615d3581615cf9565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615d98603583614488565b9150615da382615d3c565b604082019050919050565b60006020820190508181036000830152615dc781615d8b565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615df582615dce565b615dff8185615dd9565b9350615e0f818560208601614499565b615e18816144cc565b840191505092915050565b6000608082019050615e386000830187614591565b615e456020830186614591565b615e5260408301856145fb565b8181036060830152615e648184615dea565b905095945050505050565b600081519050615e7e81614279565b92915050565b600060208284031215615e9a57615e99614243565b5b6000615ea884828501615e6f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615f16602083614488565b9150615f2182615ee0565b602082019050919050565b60006020820190508181036000830152615f4581615f09565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f82601c83614488565b9150615f8d82615f4c565b602082019050919050565b60006020820190508181036000830152615fb181615f75565b905091905056fea26469706673582212207df5058133e564548c3293f0c88f0592c078158fe16d765a8f041a82a87a302264736f6c63430008080033

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

0000000000000000000000004c9a6c3fe98b5ae3a8c652709a1e04574aec17020000000000000000000000000000000000000000000000000429d069189e0000000000000000000000000000000000000000000000000000031f5c4ed27680000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000050000000000000000000000001232d4a6231bfb0d8a79fd1d321014eafc2f65c2

-----Decoded View---------------
Arg [0] : _lbmGenesisContractAddress (address): 0x4C9A6c3FE98B5aE3a8c652709a1e04574aec1702
Arg [1] : _publicMintPrice (uint256): 300000000000000000
Arg [2] : _whiteListMintPrice (uint256): 225000000000000000
Arg [3] : _preMintPrice (uint256): 150000000000000000
Arg [4] : _maxAllowedWhitelistMint (uint256): 3
Arg [5] : _maxAllowedPublicMint (uint256): 5
Arg [6] : _withdrawalWallet (address): 0x1232D4a6231bFB0d8a79Fd1d321014eafC2F65c2

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c9a6c3fe98b5ae3a8c652709a1e04574aec1702
Arg [1] : 0000000000000000000000000000000000000000000000000429d069189e0000
Arg [2] : 000000000000000000000000000000000000000000000000031f5c4ed2768000
Arg [3] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000001232d4a6231bfb0d8a79fd1d321014eafc2f65c2


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.