ETH Price: $2,504.44 (-1.22%)

Token

Frazetta Warriors (FRAWAR)
 

Overview

Max Total Supply

44 FRAWAR

Holders

25

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
wildc4t.eth
Balance
1 FRAWAR
0x4ca013f0bdc4134dd1d3c306582a8bfacd0ffa05
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:
FrazettaWarriors

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 22 : FrazettaWarriors.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@bitflips/common/contracts/token/ERC721/ERC721Base.sol";
import "@bitflips/common/contracts/access/Contributable.sol";

contract FrazettaWarriors is ERC721Base {
    address private constant BITFLIPS = 0x5db929ec2f27cFb6988cF739cae05E95cbD0feCd;
    address private constant INCENDIUM = 0xb307A89ae44B07Cc3E95e26d8eB8e597b30ec3a5;

    constructor(string memory _initialBaseURI)
    ERC721Base(
        ERC721Configuration({
            name: "Frazetta Warriors",
            symbol: "FRAWAR",
            baseURI: _initialBaseURI,
            maxTokens: 10000,
            priceWei: 0.1928 ether,
            reservedTokens: 350
        }),
        OperatorFiltererConfiguration({
            registry: 0x000000000000AAeB6D7670E522A718067333cd4E,
            subscription: 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6,
            filtered: true
        })
    ) {
        setAuthor(BITFLIPS);
        addContributor(INCENDIUM);
    }

    function payoutContributors() external onlyContributor {
        uint256 balance = address(this).balance;
        _sendContributorPayment(author(), balance, 20);
        _sendContributorPayment(INCENDIUM, balance, 80);
    }
}

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

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

/**
 * @title  Contributable
 * @notice Contributable contract extends Ownable functionality to a list of contributor wallets
 */
abstract contract Contributable is Ownable {
    address private _author;
    mapping(address => bool) private _contributors;

    event AddContributor(address contributor);
    event RemoveContributor(address contributor);

    /**
     * @dev Returns the address of the contract author.
     */
    function author() public view virtual returns (address) {
        return _author;
    }

    function setAuthor(address authorAddress) internal virtual {
        _author = authorAddress;
    }

    /**
     * @dev Throws if called by any account other than a contributor address.
     */
    modifier onlyContributor() {
        _checkContributor();
        _;
    }

    /**
     * @dev Returns true if the address is contributor.
     */
    function contributor(address contributorAddress) public view virtual returns (bool) {
        return _contributors[contributorAddress] || contributorAddress == owner() || contributorAddress == author();
    }

    /**
     * @dev Throws if the sender is not the owner, author or contributor
     */
    function _checkContributor() internal view virtual {
        require(contributor(msg.sender), "Contributable: caller is not contributor");
    }

    /**
     * @dev Adds address as contributor operator;
     */
    function addContributor(address contributorAddress) public virtual onlyOwner {
        _contributors[contributorAddress] = true;
        emit AddContributor(contributorAddress);
    }

    /**
     * @dev Removes address as contributor operator;
     */
    function removeContributor(address contributorAddress) public virtual onlyOwner {
        require(contributorAddress != author(), "Cannot remove author address");
        _contributors[contributorAddress] = false;
        emit RemoveContributor(contributorAddress);
    }

    /**
     * @dev Sends a contributor payment to an address for a given amount
     */
    function _sendContributorPayment(address to, uint256 amount, uint256 contributorPercentage) internal returns (uint256) {
        uint256 payment = _calculateContributorPayment(amount, contributorPercentage);
        require(payment <= address(this).balance, "Withdraw exceeds contract balance");
        (bool success, ) = to.call{ value: payment}("");
        require(success, "Failed to withdraw Ether");
        return payment;
    }

    /**
    * @dev Calculates the contributor payment percentage for a given amount
     */
    function _calculateContributorPayment(uint256 amount, uint256 percentage) internal pure returns (uint256) {
        return (amount / 100) * percentage;
    }
}

File 3 of 22 : ERC2981Setter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title  ERC2981Setter
 * @notice Implements getters and setters for ERC2981 royalty standard
 *         See: https://eips.ethereum.org/EIPS/eip-2981
 */
abstract contract ERC2981Setter is Ownable, ERC2981 {

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        super._setDefaultRoyalty(receiver, feeNumerator);
    }

    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) external onlyOwner {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function deleteDefaultRoyalty() external onlyOwner {
        super._deleteDefaultRoyalty();
    }

    function feeDenominator() public pure returns (uint96) {
        return super._feeDenominator();
    }
}

File 4 of 22 : ERC721Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./ERC721Core.sol";

/**
 * @title  ERC721Base
 * @notice Base ERC721 implementation of ERC721Core
 */
contract ERC721Base is ERC721Core {
    struct ERC721Configuration {
        string name;
        string symbol;
        string baseURI;
        uint256 maxTokens;
        uint256 priceWei;
        uint256 reservedTokens;
    }

    mapping(address => uint256) public totalMinted;

    uint256 public MAX_TOKENS;
    uint256 public PRICE;
    uint256 public RESERVED_TOKENS;
    string public baseURI;

    bool public baseURIFinal;
    bool public publicSaleActive;
    uint256 public reservedCount;

    event BaseURIChanged(string baseURI);
    event PermanentURI(string value, uint256 indexed id);

    constructor(
        ERC721Configuration memory config,
        OperatorFiltererConfiguration memory operatorFilterConfig
    )
    ERC721(config.name, config.symbol)
    UpdatableOperatorFilterer(
        operatorFilterConfig.registry,
        operatorFilterConfig.subscription,
        operatorFilterConfig.filtered
    ) {
        baseURI = config.baseURI;
        MAX_TOKENS = config.maxTokens;
        PRICE = config.priceWei;
        RESERVED_TOKENS = config.reservedTokens;
    }

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        require(!baseURIFinal, "Base URL is unchangeable");
        baseURI = newBaseURI;
        emit BaseURIChanged(baseURI);
    }

    function finalizeBaseURI() external onlyOwner {
        baseURIFinal = true;
    }

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

    function emitPermanent(uint256 tokenId) external onlyOwner {
        require(baseURIFinal, "Base URL must be finalized first");
        emit PermanentURI(tokenURI(tokenId), tokenId);
    }

    function togglePublicSaleActive() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function mintReserved(address to, uint256 tokenCount) external onlyContributor {
        require(reservedCount + tokenCount <= RESERVED_TOKENS, "All reserved tokens have been minted");
        _mintBatch(to, tokenCount);
        reservedCount += tokenCount;
    }

    function mint(uint256 tokenCount) external payable {
        require(publicSaleActive, "Public sale is not active");
        require(PRICE * tokenCount == msg.value, "ETH amount is incorrect");

        _mintBatch(msg.sender, tokenCount);
    }

    function _mintBatch(address to, uint256 tokenCount) internal {
        uint256 totalSupply = totalSupply();
        require(totalSupply + tokenCount <= MAX_TOKENS, "All tokens have been minted");
        require(tokenCount > 0, "Must mint at least one token");

        for (uint256 i = 1; i <= tokenCount; i++) {
            totalMinted[msg.sender] += 1;
            super._mint(to, totalSupply + i);
        }
    }
}

File 5 of 22 : ERC721Core.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/access/Ownable.sol";
import "operator-filter-registry/src/UpdatableOperatorFilterer.sol";
import "./ERC721EnumerableV3.sol";
import "../../royalty/ERC2981/ERC2981Setter.sol";
import "../../access/Contributable.sol";

/**
 * @title  ERC721Core
 * @notice Core contract that extends ERC721EnumerableV3, ERC2981Setter, ConfigurableOperatorFilterer, then
 *         overrides the required functions to support ERC721 contracts
 */
abstract contract ERC721Core is
    Ownable,
    Contributable,
    ERC721EnumerableV3,
    UpdatableOperatorFilterer,
    ERC2981Setter
{
    struct OperatorFiltererConfiguration {
        address registry;
        address subscription;
        bool filtered;
    }

    /**
     * @dev overrides supportInterface to support both ERC721Enumerable and ERC2981
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721EnumerableV3, ERC2981) returns (bool) {
        return ERC721EnumerableV3.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
    }

    /**
     * @dev overrides setApprovalForAll for OperatorFilterer that only allow use by approved operators from the
     *         configured OperatorFilterRegistry
     */
    function setApprovalForAll(address operator, bool approved) public override (ERC721, IERC721) onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    /**
     * @dev overrides approve for OperatorFilterer that only allow use by approved operators from the
     *         configured OperatorFilterRegistry
     */
    function approve(address operator, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    /**
     * @dev overrides transferFrom for OperatorFilterer that only allow use by approved operators from the
     *         configured OperatorFilterRegistry
     */
    function transferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    /**
     * @dev overrides safeTransferFrom for OperatorFilterer that only allow use by approved operators from the
     *         configured OperatorFilterRegistry
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    /**
     * @dev overrides safeTransferFrom for OperatorFilterer that only allow use by approved operators from
     *         the configured OperatorFilterRegistry
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override (ERC721, IERC721)
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    /**
     * @dev overrides owner for RevokableOperatorFilterer that only allow use by approved operators from
     *         the configured OperatorFilterRegistry
     */
    function owner() public view virtual override (Ownable, UpdatableOperatorFilterer) returns (address) {
        return Ownable.owner();
    }
}

File 6 of 22 : ERC721EnumerableV3.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 ERC721EnumerableV3 is ERC721, IERC721Enumerable {
    address[] private _owners;

    /**
     * @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 tokenId) {
            require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
            uint count;
            for(uint i; i < _owners.length; i++) {
                if(owner == _owners[i]) {
                    if(count == index) return _ownerIndexToTokenId(i);
                    else count++;
                }
            }
            require(false, "ERC721Enumerable: cannot find owner for token");
        }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `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 tokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId, batchSize);

        if (from == address(0)) {
            _addTokenToOwnerEnumeration(to);
        } else if (to != from) {
            _updateTokenToOwnerEnumeration(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
     */
    function _addTokenToOwnerEnumeration(address to) private {
        _owners.push(to);
    }

    function _updateTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        _owners[_tokenIdToOwnerIndex(tokenId)] = to;
    }

    function _tokenIdToOwnerIndex(uint256 tokenId) private pure returns (uint256) {
        return tokenId - 1;
    }

    function _ownerIndexToTokenId(uint256 index) private pure returns (uint256) {
        return index + 1;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 10 of 22 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @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 {}
}

File 11 of 22 : 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 12 of 22 : 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 13 of 22 : 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 14 of 22 : 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 15 of 22 : 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 16 of 22 : 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 17 of 22 : 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 18 of 22 : 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 19 of 22 : 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 20 of 22 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 21 of 22 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

File 22 of 22 : UpdatableOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

/**
 * @title  UpdatableOperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the
 *         OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address,
 *         which will bypass registry checks.
 *         Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract UpdatableOperatorFilterer {
    error OperatorNotAllowed(address operator);
    error OnlyOwner();

    IOperatorFilterRegistry public operatorFilterRegistry;

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

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

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

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be bypassed. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public virtual {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
    }

    /**
     * @dev assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract
     */
    function owner() public view virtual returns (address);

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initialBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contributor","type":"address"}],"name":"AddContributor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contributor","type":"address"}],"name":"RemoveContributor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contributorAddress","type":"address"}],"name":"addContributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"author","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contributorAddress","type":"address"}],"name":"contributor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutContributors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contributorAddress","type":"address"}],"name":"removeContributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":"togglePublicSaleActive","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620060b4380380620060b4833981810160405281019062000037919062000922565b6040518060c001604052806040518060400160405280601181526020017f4672617a657474612057617272696f727300000000000000000000000000000081525081526020016040518060400160405280600681526020017f4652415741520000000000000000000000000000000000000000000000000000815250815260200182815260200161271081526020016702acf69418b20000815260200161015e81525060405180606001604052806daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff168152602001733cc6cdda760b79bafa08df41ecfa224f810dceb673ffffffffffffffffffffffffffffffffffffffff16815260200160011515815250806000015181602001518260400151846000015185602001516200017f620001736200044b60201b60201c565b6200045360201b60201c565b816003908051906020019062000197929190620006d5565b508060049080519060200190620001b0929190620006d5565b505050600083905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008173ffffffffffffffffffffffffffffffffffffffff163b1115620003b657811562000298578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b81526004016200025e929190620009b8565b600060405180830381600087803b1580156200027957600080fd5b505af11580156200028e573d6000803e3d6000fd5b50505050620003b5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000344578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b81526004016200030a929190620009b8565b600060405180830381600087803b1580156200032557600080fd5b505af11580156200033a573d6000803e3d6000fd5b50505050620003b4565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200037f9190620009e5565b600060405180830381600087803b1580156200039a57600080fd5b505af1158015620003af573d6000803e3d6000fd5b505050505b5b5b50505050816040015160119080519060200190620003d6929190620006d5565b508160600151600e819055508160800151600f819055508160a0015160108190555050506200041f735db929ec2f27cfb6988cf739cae05e95cbd0fecd6200051760201b60201c565b6200044473b307a89ae44b07cc3e95e26d8eb8e597b30ec3a56200055b60201b60201c565b5062000ae9565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6200056b620005ff60201b60201c565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f402de3cb2a274486819499a373effa5cf3273cb9163973fbaab2312c7e335ad481604051620005f49190620009e5565b60405180910390a150565b6200060f6200044b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006356200069060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200068e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006859062000a63565b60405180910390fd5b565b6000620006a7620006ac60201b62001b2f1760201c565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620006e39062000ab4565b90600052602060002090601f01602090048101928262000707576000855562000753565b82601f106200072257805160ff191683800117855562000753565b8280016001018555821562000753579182015b828111156200075257825182559160200191906001019062000735565b5b50905062000762919062000766565b5090565b5b808211156200078157600081600090555060010162000767565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007ee82620007a3565b810181811067ffffffffffffffff8211171562000810576200080f620007b4565b5b80604052505050565b60006200082562000785565b9050620008338282620007e3565b919050565b600067ffffffffffffffff821115620008565762000855620007b4565b5b6200086182620007a3565b9050602081019050919050565b60005b838110156200088e57808201518184015260208101905062000871565b838111156200089e576000848401525b50505050565b6000620008bb620008b58462000838565b62000819565b905082815260208101848484011115620008da57620008d96200079e565b5b620008e78482856200086e565b509392505050565b600082601f83011262000907576200090662000799565b5b815162000919848260208601620008a4565b91505092915050565b6000602082840312156200093b576200093a6200078f565b5b600082015167ffffffffffffffff8111156200095c576200095b62000794565b5b6200096a84828501620008ef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009a08262000973565b9050919050565b620009b28162000993565b82525050565b6000604082019050620009cf6000830185620009a7565b620009de6020830184620009a7565b9392505050565b6000602082019050620009fc6000830184620009a7565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000a4b60208362000a02565b915062000a588262000a13565b602082019050919050565b6000602082019050818103600083015262000a7e8162000a3c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000acd57607f821691505b60208210810362000ae35762000ae262000a85565b5b50919050565b6155bb8062000af96000396000f3fe6080604052600436106102715760003560e01c806370a082311161014f578063b0ccc31e116100c1578063c38f76171161007a578063c38f761714610907578063c87b56dd14610932578063ceb356051461096f578063e985e9c5146109ac578063f2fde38b146109e9578063f47c84c514610a1257610271565b8063b0ccc31e1461080d578063b3f3ab5c14610838578063b579184f14610861578063b88d4fde1461088a578063b8d1e532146108b3578063bc8893b4146108dc57610271565b80638da5cb5b116101135780638da5cb5b1461073057806395d89b411461075b578063a0712d6814610786578063a22cb465146107a2578063a6c3e6b9146107cb578063aa1b103f146107f657610271565b806370a082311461065d578063715018a61461069a5780637a55deae146106b15780637de55fe1146106dc5780638d859f3e1461070557610271565b80632a55205a116101e85780634f6ccce7116101ac5780634f6ccce71461053b57806355f804b3146105785780635944c753146105a15780636352211e146105ca57806368fc68c7146106075780636c0360eb1461063257610271565b80632a55205a146104575780632f745c591461049557806337c3fdbc146104d257806342842e0e146104e95780634333adc61461051257610271565b8063081812fc1161023a578063081812fc1461035b578063095ea7b3146103985780630c894cfe146103c1578063180b0d7e146103d857806318160ddd1461040357806323b872dd1461042e57610271565b80623d47901461027657806301ffc9a7146102b357806304634d8d146102f0578063067cd88f1461031957806306fdde0314610330575b600080fd5b34801561028257600080fd5b5061029d6004803603810190610298919061398f565b610a3d565b6040516102aa91906139d5565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613a48565b610a55565b6040516102e79190613a90565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613aef565b610a77565b005b34801561032557600080fd5b5061032e610a8d565b005b34801561033c57600080fd5b50610345610ad2565b6040516103529190613bc8565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613c16565b610b64565b60405161038f9190613c52565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613c6d565b610baa565b005b3480156103cd57600080fd5b506103d6610bc3565b005b3480156103e457600080fd5b506103ed610bf7565b6040516103fa9190613cbc565b60405180910390f35b34801561040f57600080fd5b50610418610c06565b60405161042591906139d5565b60405180910390f35b34801561043a57600080fd5b5061045560048036038101906104509190613cd7565b610c13565b005b34801561046357600080fd5b5061047e60048036038101906104799190613d2a565b610c62565b60405161048c929190613d6a565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613c6d565b610e4c565b6040516104c991906139d5565b60405180910390f35b3480156104de57600080fd5b506104e7610f9f565b005b3480156104f557600080fd5b50610510600480360381019061050b9190613cd7565b610fc4565b005b34801561051e57600080fd5b5061053960048036038101906105349190613c16565b611013565b005b34801561054757600080fd5b50610562600480360381019061055d9190613c16565b6110ad565b60405161056f91906139d5565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a9190613ec8565b61110f565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613f11565b6111b9565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613c16565b6111d1565b6040516105fe9190613c52565b60405180910390f35b34801561061357600080fd5b5061061c611257565b60405161062991906139d5565b60405180910390f35b34801561063e57600080fd5b5061064761125d565b6040516106549190613bc8565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f919061398f565b6112eb565b60405161069191906139d5565b60405180910390f35b3480156106a657600080fd5b506106af6113a2565b005b3480156106bd57600080fd5b506106c66113b6565b6040516106d39190613a90565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190613c6d565b6113c9565b005b34801561071157600080fd5b5061071a61144a565b60405161072791906139d5565b60405180910390f35b34801561073c57600080fd5b50610745611450565b6040516107529190613c52565b60405180910390f35b34801561076757600080fd5b5061077061145f565b60405161077d9190613bc8565b60405180910390f35b6107a0600480360381019061079b9190613c16565b6114f1565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190613f90565b61159c565b005b3480156107d757600080fd5b506107e06115b5565b6040516107ed9190613c52565b60405180910390f35b34801561080257600080fd5b5061080b6115df565b005b34801561081957600080fd5b506108226115f1565b60405161082f919061402f565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a919061398f565b611617565b005b34801561086d57600080fd5b506108886004803603810190610883919061398f565b611726565b005b34801561089657600080fd5b506108b160048036038101906108ac91906140eb565b6117c0565b005b3480156108bf57600080fd5b506108da60048036038101906108d5919061398f565b611811565b005b3480156108e857600080fd5b506108f16118c1565b6040516108fe9190613a90565b60405180910390f35b34801561091357600080fd5b5061091c6118d4565b60405161092991906139d5565b60405180910390f35b34801561093e57600080fd5b5061095960048036038101906109549190613c16565b6118da565b6040516109669190613bc8565b60405180910390f35b34801561097b57600080fd5b506109966004803603810190610991919061398f565b611942565b6040516109a39190613a90565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce919061416e565b611a12565b6040516109e09190613a90565b60405180910390f35b3480156109f557600080fd5b50610a106004803603810190610a0b919061398f565b611aa6565b005b348015610a1e57600080fd5b50610a27611b29565b604051610a3491906139d5565b60405180910390f35b600d6020528060005260406000206000915090505481565b6000610a6082611b58565b80610a705750610a6f82611bd2565b5b9050919050565b610a7f611c4c565b610a898282611cca565b5050565b610a95611e5f565b6000479050610aad610aa56115b5565b826014611ea9565b50610ace73b307a89ae44b07cc3e95e26d8eb8e597b30ec3a5826050611ea9565b5050565b606060038054610ae1906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d906141dd565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b6f82611fb3565b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610bb481611ffe565b610bbe8383612140565b505050565b610bcb611c4c565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000610c01612257565b905090565b6000600980549050905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5157610c5033611ffe565b5b610c5c848484612261565b50505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610df757600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e01612257565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e2d919061423d565b610e3791906142c6565b90508160000151819350935050509250929050565b6000610e57836112eb565b8210610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614369565b60405180910390fd5b6000805b600980549050811015610f555760098181548110610ebd57610ebc614389565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f4257838203610f3357610f2a816122c1565b92505050610f99565b8180610f3e906143b8565b9250505b8080610f4d906143b8565b915050610e9c565b506000610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e90614472565b60405180910390fd5b505b92915050565b610fa7611c4c565b6001601260006101000a81548160ff021916908315150217905550565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110025761100133611ffe565b5b61100d8484846122d7565b50505050565b61101b611c4c565b601260009054906101000a900460ff1661106a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611061906144de565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207611095836118da565b6040516110a29190613bc8565b60405180910390a250565b60006110c06110bb836122c1565b6122f7565b6110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f690614570565b60405180910390fd5b611108826122c1565b9050919050565b611117611c4c565b601260009054906101000a900460ff1615611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e906145dc565b60405180910390fd5b806011908051906020019061117d92919061387a565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf660116040516111ae9190614691565b60405180910390a150565b6111c1611c4c565b6111cc838383612338565b505050565b6000806111dd836124df565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361124e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611245906146ff565b60405180910390fd5b80915050919050565b60105481565b6011805461126a906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611296906141dd565b80156112e35780601f106112b8576101008083540402835291602001916112e3565b820191906000526020600020905b8154815290600101906020018083116112c657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290614791565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113aa611c4c565b6113b4600061251c565b565b601260009054906101000a900460ff1681565b6113d1611e5f565b601054816013546113e291906147b1565b1115611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a90614879565b60405180910390fd5b61142d82826125e0565b806013600082825461143f91906147b1565b925050819055505050565b600f5481565b600061145a611b2f565b905090565b60606004805461146e906141dd565b80601f016020809104026020016040519081016040528092919081815260200182805461149a906141dd565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b5050505050905090565b601260019054906101000a900460ff16611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906148e5565b60405180910390fd5b3481600f5461154f919061423d565b1461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690614951565b60405180910390fd5b61159933826125e0565b50565b816115a681611ffe565b6115b08383612712565b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115e7611c4c565b6115ef612728565b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61161f611c4c565b6116276115b5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b906149bd565b60405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f34ae2aa36a73c9cfdf47979c63495e4cc64a7f11db253f91fd839089f114382d8160405161171b9190613c52565b60405180910390a150565b61172e611c4c565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f402de3cb2a274486819499a373effa5cf3273cb9163973fbaab2312c7e335ad4816040516117b59190613c52565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117fe576117fd33611ffe565b5b61180a85858585612775565b5050505050565b611819611450565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461187d576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601260019054906101000a900460ff1681565b60135481565b60606118e582611fb3565b60006118ef6127d7565b9050600081511161190f576040518060200160405280600081525061193a565b8061191984612869565b60405160200161192a929190614a19565b6040516020818303038152906040525b915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119ce575061199f611450565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80611a0b57506119dc6115b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611aae611c4c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614aaf565b60405180910390fd5b611b268161251c565b50565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bcb5750611bca82612937565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c455750611c4482611b58565b5b9050919050565b611c54612a19565b73ffffffffffffffffffffffffffffffffffffffff16611c72611450565b73ffffffffffffffffffffffffffffffffffffffff1614611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90614b1b565b60405180910390fd5b565b611cd2612257565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2790614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9690614c19565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e6833611942565b611ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9e90614cab565b60405180910390fd5b565b600080611eb68484612a21565b905047811115611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef290614d3d565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff1682604051611f2190614d8e565b60006040518083038185875af1925050503d8060008114611f5e576040519150601f19603f3d011682016040523d82523d6000602084013e611f63565b606091505b5050905080611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614def565b60405180910390fd5b81925050509392505050565b611fbc816122f7565b611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff2906146ff565b60405180910390fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612079575060008173ffffffffffffffffffffffffffffffffffffffff163b115b1561213c578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b81526004016120b9929190614e0f565b602060405180830381865afa1580156120d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa9190614e4d565b61213b57816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121329190613c52565b60405180910390fd5b5b5050565b600061214b826111d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614eec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166121da612a19565b73ffffffffffffffffffffffffffffffffffffffff161480612209575061220881612203612a19565b611a12565b5b612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90614f7e565b60405180910390fd5b6122528383612a43565b505050565b6000612710905090565b61227261226c612a19565b82612afc565b6122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a890615010565b60405180910390fd5b6122bc838383612b91565b505050565b60006001826122d091906147b1565b9050919050565b6122f2838383604051806020016040528060008152506117c0565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612319836124df565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612340612257565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561239e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239590614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361240d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124049061507c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600c600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125ea610c06565b9050600e5482826125fb91906147b1565b111561263c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612633906150e8565b60405180910390fd5b6000821161267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690615154565b60405180910390fd5b6000600190505b82811161270c576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126dd91906147b1565b925050819055506126f98482846126f491906147b1565b612e8a565b8080612704906143b8565b915050612686565b50505050565b61272461271d612a19565b83836130a7565b5050565b600b600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b612786612780612a19565b83612afc565b6127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90615010565b60405180910390fd5b6127d184848484613213565b50505050565b6060601180546127e6906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054612812906141dd565b801561285f5780601f106128345761010080835404028352916020019161285f565b820191906000526020600020905b81548152906001019060200180831161284257829003601f168201915b5050505050905090565b6060600060016128788461326f565b01905060008167ffffffffffffffff81111561289757612896613d9d565b5b6040519080825280601f01601f1916602001820160405280156128c95781602001600182028036833780820191505090505b509050600082602001820190505b60011561292c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816129205761291f614297565b5b049450600085036128d7575b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a125750612a11826133c2565b5b9050919050565b600033905090565b600081606484612a3191906142c6565b612a3b919061423d565b905092915050565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ab6836111d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612b08836111d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b4a5750612b498185611a12565b5b80612b8857508373ffffffffffffffffffffffffffffffffffffffff16612b7084610b64565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bb1826111d1565b73ffffffffffffffffffffffffffffffffffffffff1614612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe906151e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6d90615278565b60405180910390fd5b612c83838383600161342c565b8273ffffffffffffffffffffffffffffffffffffffff16612ca3826111d1565b73ffffffffffffffffffffffffffffffffffffffff1614612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf0906151e6565b60405180910390fd5b6007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e8583838360016134bf565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906152e4565b60405180910390fd5b612f02816122f7565b15612f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3990615350565b60405180910390fd5b612f5060008383600161342c565b612f59816122f7565b15612f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9090615350565b60405180910390fd5b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a36000838360016134bf565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c906153bc565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132069190613a90565b60405180910390a3505050565b61321e848484612b91565b61322a848484846134c5565b613269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132609061544e565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106132cd577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816132c3576132c2614297565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061330a576d04ee2d6d415b85acef81000000008381613300576132ff614297565b5b0492506020810190505b662386f26fc10000831061333957662386f26fc10000838161332f5761332e614297565b5b0492506010810190505b6305f5e1008310613362576305f5e100838161335857613357614297565b5b0492506008810190505b612710831061338757612710838161337d5761337c614297565b5b0492506004810190505b606483106133aa57606483816133a05761339f614297565b5b0492506002810190505b600a83106133b9576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134388484848461364c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361347a5761347583613772565b6134b9565b8373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134b8576134b783836137d8565b5b5b50505050565b50505050565b60006134e68473ffffffffffffffffffffffffffffffffffffffff16613841565b1561363f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261350f612a19565b8786866040518563ffffffff1660e01b815260040161353194939291906154c3565b6020604051808303816000875af192505050801561356d57506040513d601f19601f8201168201806040525081019061356a9190615524565b60015b6135ef573d806000811461359d576040519150601f19603f3d011682016040523d82523d6000602084013e6135a2565b606091505b5060008151036135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de9061544e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613644565b600190505b949350505050565b600181111561376c57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136e05780600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136d89190615551565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461376b5780600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461376391906147b1565b925050819055505b5b50505050565b6009819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8160096137e483613864565b815481106137f5576137f4614389565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006001826138739190615551565b9050919050565b828054613886906141dd565b90600052602060002090601f0160209004810192826138a857600085556138ef565b82601f106138c157805160ff19168380011785556138ef565b828001600101855582156138ef579182015b828111156138ee5782518255916020019190600101906138d3565b5b5090506138fc9190613900565b5090565b5b80821115613919576000816000905550600101613901565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061395c82613931565b9050919050565b61396c81613951565b811461397757600080fd5b50565b60008135905061398981613963565b92915050565b6000602082840312156139a5576139a4613927565b5b60006139b38482850161397a565b91505092915050565b6000819050919050565b6139cf816139bc565b82525050565b60006020820190506139ea60008301846139c6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a25816139f0565b8114613a3057600080fd5b50565b600081359050613a4281613a1c565b92915050565b600060208284031215613a5e57613a5d613927565b5b6000613a6c84828501613a33565b91505092915050565b60008115159050919050565b613a8a81613a75565b82525050565b6000602082019050613aa56000830184613a81565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613acc81613aab565b8114613ad757600080fd5b50565b600081359050613ae981613ac3565b92915050565b60008060408385031215613b0657613b05613927565b5b6000613b148582860161397a565b9250506020613b2585828601613ada565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b69578082015181840152602081019050613b4e565b83811115613b78576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b9a82613b2f565b613ba48185613b3a565b9350613bb4818560208601613b4b565b613bbd81613b7e565b840191505092915050565b60006020820190508181036000830152613be28184613b8f565b905092915050565b613bf3816139bc565b8114613bfe57600080fd5b50565b600081359050613c1081613bea565b92915050565b600060208284031215613c2c57613c2b613927565b5b6000613c3a84828501613c01565b91505092915050565b613c4c81613951565b82525050565b6000602082019050613c676000830184613c43565b92915050565b60008060408385031215613c8457613c83613927565b5b6000613c928582860161397a565b9250506020613ca385828601613c01565b9150509250929050565b613cb681613aab565b82525050565b6000602082019050613cd16000830184613cad565b92915050565b600080600060608486031215613cf057613cef613927565b5b6000613cfe8682870161397a565b9350506020613d0f8682870161397a565b9250506040613d2086828701613c01565b9150509250925092565b60008060408385031215613d4157613d40613927565b5b6000613d4f85828601613c01565b9250506020613d6085828601613c01565b9150509250929050565b6000604082019050613d7f6000830185613c43565b613d8c60208301846139c6565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613dd582613b7e565b810181811067ffffffffffffffff82111715613df457613df3613d9d565b5b80604052505050565b6000613e0761391d565b9050613e138282613dcc565b919050565b600067ffffffffffffffff821115613e3357613e32613d9d565b5b613e3c82613b7e565b9050602081019050919050565b82818337600083830152505050565b6000613e6b613e6684613e18565b613dfd565b905082815260208101848484011115613e8757613e86613d98565b5b613e92848285613e49565b509392505050565b600082601f830112613eaf57613eae613d93565b5b8135613ebf848260208601613e58565b91505092915050565b600060208284031215613ede57613edd613927565b5b600082013567ffffffffffffffff811115613efc57613efb61392c565b5b613f0884828501613e9a565b91505092915050565b600080600060608486031215613f2a57613f29613927565b5b6000613f3886828701613c01565b9350506020613f498682870161397a565b9250506040613f5a86828701613ada565b9150509250925092565b613f6d81613a75565b8114613f7857600080fd5b50565b600081359050613f8a81613f64565b92915050565b60008060408385031215613fa757613fa6613927565b5b6000613fb58582860161397a565b9250506020613fc685828601613f7b565b9150509250929050565b6000819050919050565b6000613ff5613ff0613feb84613931565b613fd0565b613931565b9050919050565b600061400782613fda565b9050919050565b600061401982613ffc565b9050919050565b6140298161400e565b82525050565b60006020820190506140446000830184614020565b92915050565b600067ffffffffffffffff82111561406557614064613d9d565b5b61406e82613b7e565b9050602081019050919050565b600061408e6140898461404a565b613dfd565b9050828152602081018484840111156140aa576140a9613d98565b5b6140b5848285613e49565b509392505050565b600082601f8301126140d2576140d1613d93565b5b81356140e284826020860161407b565b91505092915050565b6000806000806080858703121561410557614104613927565b5b60006141138782880161397a565b94505060206141248782880161397a565b935050604061413587828801613c01565b925050606085013567ffffffffffffffff8111156141565761415561392c565b5b614162878288016140bd565b91505092959194509250565b6000806040838503121561418557614184613927565b5b60006141938582860161397a565b92505060206141a48582860161397a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141f557607f821691505b602082108103614208576142076141ae565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614248826139bc565b9150614253836139bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561428c5761428b61420e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142d1826139bc565b91506142dc836139bc565b9250826142ec576142eb614297565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614353602b83613b3a565b915061435e826142f7565b604082019050919050565b6000602082019050818103600083015261438281614346565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006143c3826139bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143f5576143f461420e565b5b600182019050919050565b7f455243373231456e756d657261626c653a2063616e6e6f742066696e64206f7760008201527f6e657220666f7220746f6b656e00000000000000000000000000000000000000602082015250565b600061445c602d83613b3a565b915061446782614400565b604082019050919050565b6000602082019050818103600083015261448b8161444f565b9050919050565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b60006144c8602083613b3a565b91506144d382614492565b602082019050919050565b600060208201905081810360008301526144f7816144bb565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061455a602c83613b3a565b9150614565826144fe565b604082019050919050565b600060208201905081810360008301526145898161454d565b9050919050565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b60006145c6601883613b3a565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b60008190508160005260206000209050919050565b6000815461461e816141dd565b6146288186613b3a565b94506001821660008114614643576001811461465557614688565b60ff1983168652602086019350614688565b61465e856145fc565b60005b8381101561468057815481890152600182019150602081019050614661565b808801955050505b50505092915050565b600060208201905081810360008301526146ab8184614611565b905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006146e9601883613b3a565b91506146f4826146b3565b602082019050919050565b60006020820190508181036000830152614718816146dc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061477b602983613b3a565b91506147868261471f565b604082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b60006147bc826139bc565b91506147c7836139bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147fc576147fb61420e565b5b828201905092915050565b7f416c6c20726573657276656420746f6b656e732068617665206265656e206d6960008201527f6e74656400000000000000000000000000000000000000000000000000000000602082015250565b6000614863602483613b3a565b915061486e82614807565b604082019050919050565b6000602082019050818103600083015261489281614856565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b60006148cf601983613b3a565b91506148da82614899565b602082019050919050565b600060208201905081810360008301526148fe816148c2565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b600061493b601783613b3a565b915061494682614905565b602082019050919050565b6000602082019050818103600083015261496a8161492e565b9050919050565b7f43616e6e6f742072656d6f766520617574686f72206164647265737300000000600082015250565b60006149a7601c83613b3a565b91506149b282614971565b602082019050919050565b600060208201905081810360008301526149d68161499a565b9050919050565b600081905092915050565b60006149f382613b2f565b6149fd81856149dd565b9350614a0d818560208601613b4b565b80840191505092915050565b6000614a2582856149e8565b9150614a3182846149e8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a99602683613b3a565b9150614aa482614a3d565b604082019050919050565b60006020820190508181036000830152614ac881614a8c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b05602083613b3a565b9150614b1082614acf565b602082019050919050565b60006020820190508181036000830152614b3481614af8565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b97602a83613b3a565b9150614ba282614b3b565b604082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c03601983613b3a565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b7f436f6e74726962757461626c653a2063616c6c6572206973206e6f7420636f6e60008201527f7472696275746f72000000000000000000000000000000000000000000000000602082015250565b6000614c95602883613b3a565b9150614ca082614c39565b604082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b7f5769746864726177206578636565647320636f6e74726163742062616c616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614d27602183613b3a565b9150614d3282614ccb565b604082019050919050565b60006020820190508181036000830152614d5681614d1a565b9050919050565b600081905092915050565b50565b6000614d78600083614d5d565b9150614d8382614d68565b600082019050919050565b6000614d9982614d6b565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614dd9601883613b3a565b9150614de482614da3565b602082019050919050565b60006020820190508181036000830152614e0881614dcc565b9050919050565b6000604082019050614e246000830185613c43565b614e316020830184613c43565b9392505050565b600081519050614e4781613f64565b92915050565b600060208284031215614e6357614e62613927565b5b6000614e7184828501614e38565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ed6602183613b3a565b9150614ee182614e7a565b604082019050919050565b60006020820190508181036000830152614f0581614ec9565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614f68603d83613b3a565b9150614f7382614f0c565b604082019050919050565b60006020820190508181036000830152614f9781614f5b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614ffa602d83613b3a565b915061500582614f9e565b604082019050919050565b6000602082019050818103600083015261502981614fed565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615066601b83613b3a565b915061507182615030565b602082019050919050565b6000602082019050818103600083015261509581615059565b9050919050565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b60006150d2601b83613b3a565b91506150dd8261509c565b602082019050919050565b60006020820190508181036000830152615101816150c5565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b600061513e601c83613b3a565b915061514982615108565b602082019050919050565b6000602082019050818103600083015261516d81615131565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006151d0602583613b3a565b91506151db82615174565b604082019050919050565b600060208201905081810360008301526151ff816151c3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615262602483613b3a565b915061526d82615206565b604082019050919050565b6000602082019050818103600083015261529181615255565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152ce602083613b3a565b91506152d982615298565b602082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061533a601c83613b3a565b915061534582615304565b602082019050919050565b600060208201905081810360008301526153698161532d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153a6601983613b3a565b91506153b182615370565b602082019050919050565b600060208201905081810360008301526153d581615399565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615438603283613b3a565b9150615443826153dc565b604082019050919050565b600060208201905081810360008301526154678161542b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006154958261546e565b61549f8185615479565b93506154af818560208601613b4b565b6154b881613b7e565b840191505092915050565b60006080820190506154d86000830187613c43565b6154e56020830186613c43565b6154f260408301856139c6565b8181036060830152615504818461548a565b905095945050505050565b60008151905061551e81613a1c565b92915050565b60006020828403121561553a57615539613927565b5b60006155488482850161550f565b91505092915050565b600061555c826139bc565b9150615567836139bc565b92508282101561557a5761557961420e565b5b82820390509291505056fea26469706673582212200648daa2c1c950244017a04ddf5bda7ce11caf315c91f1d7c55a8d7dbda796b764736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6672617a6574746176657273652e696f2f6672617a657474612d77617272696f72732f746f6b656e2f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102715760003560e01c806370a082311161014f578063b0ccc31e116100c1578063c38f76171161007a578063c38f761714610907578063c87b56dd14610932578063ceb356051461096f578063e985e9c5146109ac578063f2fde38b146109e9578063f47c84c514610a1257610271565b8063b0ccc31e1461080d578063b3f3ab5c14610838578063b579184f14610861578063b88d4fde1461088a578063b8d1e532146108b3578063bc8893b4146108dc57610271565b80638da5cb5b116101135780638da5cb5b1461073057806395d89b411461075b578063a0712d6814610786578063a22cb465146107a2578063a6c3e6b9146107cb578063aa1b103f146107f657610271565b806370a082311461065d578063715018a61461069a5780637a55deae146106b15780637de55fe1146106dc5780638d859f3e1461070557610271565b80632a55205a116101e85780634f6ccce7116101ac5780634f6ccce71461053b57806355f804b3146105785780635944c753146105a15780636352211e146105ca57806368fc68c7146106075780636c0360eb1461063257610271565b80632a55205a146104575780632f745c591461049557806337c3fdbc146104d257806342842e0e146104e95780634333adc61461051257610271565b8063081812fc1161023a578063081812fc1461035b578063095ea7b3146103985780630c894cfe146103c1578063180b0d7e146103d857806318160ddd1461040357806323b872dd1461042e57610271565b80623d47901461027657806301ffc9a7146102b357806304634d8d146102f0578063067cd88f1461031957806306fdde0314610330575b600080fd5b34801561028257600080fd5b5061029d6004803603810190610298919061398f565b610a3d565b6040516102aa91906139d5565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613a48565b610a55565b6040516102e79190613a90565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613aef565b610a77565b005b34801561032557600080fd5b5061032e610a8d565b005b34801561033c57600080fd5b50610345610ad2565b6040516103529190613bc8565b60405180910390f35b34801561036757600080fd5b50610382600480360381019061037d9190613c16565b610b64565b60405161038f9190613c52565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190613c6d565b610baa565b005b3480156103cd57600080fd5b506103d6610bc3565b005b3480156103e457600080fd5b506103ed610bf7565b6040516103fa9190613cbc565b60405180910390f35b34801561040f57600080fd5b50610418610c06565b60405161042591906139d5565b60405180910390f35b34801561043a57600080fd5b5061045560048036038101906104509190613cd7565b610c13565b005b34801561046357600080fd5b5061047e60048036038101906104799190613d2a565b610c62565b60405161048c929190613d6a565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613c6d565b610e4c565b6040516104c991906139d5565b60405180910390f35b3480156104de57600080fd5b506104e7610f9f565b005b3480156104f557600080fd5b50610510600480360381019061050b9190613cd7565b610fc4565b005b34801561051e57600080fd5b5061053960048036038101906105349190613c16565b611013565b005b34801561054757600080fd5b50610562600480360381019061055d9190613c16565b6110ad565b60405161056f91906139d5565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a9190613ec8565b61110f565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613f11565b6111b9565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613c16565b6111d1565b6040516105fe9190613c52565b60405180910390f35b34801561061357600080fd5b5061061c611257565b60405161062991906139d5565b60405180910390f35b34801561063e57600080fd5b5061064761125d565b6040516106549190613bc8565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f919061398f565b6112eb565b60405161069191906139d5565b60405180910390f35b3480156106a657600080fd5b506106af6113a2565b005b3480156106bd57600080fd5b506106c66113b6565b6040516106d39190613a90565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe9190613c6d565b6113c9565b005b34801561071157600080fd5b5061071a61144a565b60405161072791906139d5565b60405180910390f35b34801561073c57600080fd5b50610745611450565b6040516107529190613c52565b60405180910390f35b34801561076757600080fd5b5061077061145f565b60405161077d9190613bc8565b60405180910390f35b6107a0600480360381019061079b9190613c16565b6114f1565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190613f90565b61159c565b005b3480156107d757600080fd5b506107e06115b5565b6040516107ed9190613c52565b60405180910390f35b34801561080257600080fd5b5061080b6115df565b005b34801561081957600080fd5b506108226115f1565b60405161082f919061402f565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a919061398f565b611617565b005b34801561086d57600080fd5b506108886004803603810190610883919061398f565b611726565b005b34801561089657600080fd5b506108b160048036038101906108ac91906140eb565b6117c0565b005b3480156108bf57600080fd5b506108da60048036038101906108d5919061398f565b611811565b005b3480156108e857600080fd5b506108f16118c1565b6040516108fe9190613a90565b60405180910390f35b34801561091357600080fd5b5061091c6118d4565b60405161092991906139d5565b60405180910390f35b34801561093e57600080fd5b5061095960048036038101906109549190613c16565b6118da565b6040516109669190613bc8565b60405180910390f35b34801561097b57600080fd5b506109966004803603810190610991919061398f565b611942565b6040516109a39190613a90565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce919061416e565b611a12565b6040516109e09190613a90565b60405180910390f35b3480156109f557600080fd5b50610a106004803603810190610a0b919061398f565b611aa6565b005b348015610a1e57600080fd5b50610a27611b29565b604051610a3491906139d5565b60405180910390f35b600d6020528060005260406000206000915090505481565b6000610a6082611b58565b80610a705750610a6f82611bd2565b5b9050919050565b610a7f611c4c565b610a898282611cca565b5050565b610a95611e5f565b6000479050610aad610aa56115b5565b826014611ea9565b50610ace73b307a89ae44b07cc3e95e26d8eb8e597b30ec3a5826050611ea9565b5050565b606060038054610ae1906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d906141dd565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b6f82611fb3565b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610bb481611ffe565b610bbe8383612140565b505050565b610bcb611c4c565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000610c01612257565b905090565b6000600980549050905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5157610c5033611ffe565b5b610c5c848484612261565b50505050565b6000806000600c60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610df757600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e01612257565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e2d919061423d565b610e3791906142c6565b90508160000151819350935050509250929050565b6000610e57836112eb565b8210610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614369565b60405180910390fd5b6000805b600980549050811015610f555760098181548110610ebd57610ebc614389565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f4257838203610f3357610f2a816122c1565b92505050610f99565b8180610f3e906143b8565b9250505b8080610f4d906143b8565b915050610e9c565b506000610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e90614472565b60405180910390fd5b505b92915050565b610fa7611c4c565b6001601260006101000a81548160ff021916908315150217905550565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110025761100133611ffe565b5b61100d8484846122d7565b50505050565b61101b611c4c565b601260009054906101000a900460ff1661106a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611061906144de565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207611095836118da565b6040516110a29190613bc8565b60405180910390a250565b60006110c06110bb836122c1565b6122f7565b6110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f690614570565b60405180910390fd5b611108826122c1565b9050919050565b611117611c4c565b601260009054906101000a900460ff1615611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e906145dc565b60405180910390fd5b806011908051906020019061117d92919061387a565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf660116040516111ae9190614691565b60405180910390a150565b6111c1611c4c565b6111cc838383612338565b505050565b6000806111dd836124df565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361124e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611245906146ff565b60405180910390fd5b80915050919050565b60105481565b6011805461126a906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054611296906141dd565b80156112e35780601f106112b8576101008083540402835291602001916112e3565b820191906000526020600020905b8154815290600101906020018083116112c657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290614791565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113aa611c4c565b6113b4600061251c565b565b601260009054906101000a900460ff1681565b6113d1611e5f565b601054816013546113e291906147b1565b1115611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a90614879565b60405180910390fd5b61142d82826125e0565b806013600082825461143f91906147b1565b925050819055505050565b600f5481565b600061145a611b2f565b905090565b60606004805461146e906141dd565b80601f016020809104026020016040519081016040528092919081815260200182805461149a906141dd565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b5050505050905090565b601260019054906101000a900460ff16611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906148e5565b60405180910390fd5b3481600f5461154f919061423d565b1461158f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158690614951565b60405180910390fd5b61159933826125e0565b50565b816115a681611ffe565b6115b08383612712565b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115e7611c4c565b6115ef612728565b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61161f611c4c565b6116276115b5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b906149bd565b60405180910390fd5b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f34ae2aa36a73c9cfdf47979c63495e4cc64a7f11db253f91fd839089f114382d8160405161171b9190613c52565b60405180910390a150565b61172e611c4c565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f402de3cb2a274486819499a373effa5cf3273cb9163973fbaab2312c7e335ad4816040516117b59190613c52565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117fe576117fd33611ffe565b5b61180a85858585612775565b5050505050565b611819611450565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461187d576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601260019054906101000a900460ff1681565b60135481565b60606118e582611fb3565b60006118ef6127d7565b9050600081511161190f576040518060200160405280600081525061193a565b8061191984612869565b60405160200161192a929190614a19565b6040516020818303038152906040525b915050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119ce575061199f611450565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80611a0b57506119dc6115b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611aae611c4c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614aaf565b60405180910390fd5b611b268161251c565b50565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bcb5750611bca82612937565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c455750611c4482611b58565b5b9050919050565b611c54612a19565b73ffffffffffffffffffffffffffffffffffffffff16611c72611450565b73ffffffffffffffffffffffffffffffffffffffff1614611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90614b1b565b60405180910390fd5b565b611cd2612257565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2790614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9690614c19565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e6833611942565b611ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9e90614cab565b60405180910390fd5b565b600080611eb68484612a21565b905047811115611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef290614d3d565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff1682604051611f2190614d8e565b60006040518083038185875af1925050503d8060008114611f5e576040519150601f19603f3d011682016040523d82523d6000602084013e611f63565b606091505b5050905080611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614def565b60405180910390fd5b81925050509392505050565b611fbc816122f7565b611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff2906146ff565b60405180910390fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612079575060008173ffffffffffffffffffffffffffffffffffffffff163b115b1561213c578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b81526004016120b9929190614e0f565b602060405180830381865afa1580156120d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa9190614e4d565b61213b57816040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121329190613c52565b60405180910390fd5b5b5050565b600061214b826111d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614eec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166121da612a19565b73ffffffffffffffffffffffffffffffffffffffff161480612209575061220881612203612a19565b611a12565b5b612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f90614f7e565b60405180910390fd5b6122528383612a43565b505050565b6000612710905090565b61227261226c612a19565b82612afc565b6122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a890615010565b60405180910390fd5b6122bc838383612b91565b505050565b60006001826122d091906147b1565b9050919050565b6122f2838383604051806020016040528060008152506117c0565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612319836124df565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612340612257565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561239e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239590614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361240d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124049061507c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600c600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125ea610c06565b9050600e5482826125fb91906147b1565b111561263c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612633906150e8565b60405180910390fd5b6000821161267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690615154565b60405180910390fd5b6000600190505b82811161270c576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126dd91906147b1565b925050819055506126f98482846126f491906147b1565b612e8a565b8080612704906143b8565b915050612686565b50505050565b61272461271d612a19565b83836130a7565b5050565b600b600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b612786612780612a19565b83612afc565b6127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90615010565b60405180910390fd5b6127d184848484613213565b50505050565b6060601180546127e6906141dd565b80601f0160208091040260200160405190810160405280929190818152602001828054612812906141dd565b801561285f5780601f106128345761010080835404028352916020019161285f565b820191906000526020600020905b81548152906001019060200180831161284257829003601f168201915b5050505050905090565b6060600060016128788461326f565b01905060008167ffffffffffffffff81111561289757612896613d9d565b5b6040519080825280601f01601f1916602001820160405280156128c95781602001600182028036833780820191505090505b509050600082602001820190505b60011561292c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816129205761291f614297565b5b049450600085036128d7575b819350505050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a125750612a11826133c2565b5b9050919050565b600033905090565b600081606484612a3191906142c6565b612a3b919061423d565b905092915050565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ab6836111d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612b08836111d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b4a5750612b498185611a12565b5b80612b8857508373ffffffffffffffffffffffffffffffffffffffff16612b7084610b64565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bb1826111d1565b73ffffffffffffffffffffffffffffffffffffffff1614612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe906151e6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6d90615278565b60405180910390fd5b612c83838383600161342c565b8273ffffffffffffffffffffffffffffffffffffffff16612ca3826111d1565b73ffffffffffffffffffffffffffffffffffffffff1614612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf0906151e6565b60405180910390fd5b6007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e8583838360016134bf565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef0906152e4565b60405180910390fd5b612f02816122f7565b15612f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3990615350565b60405180910390fd5b612f5060008383600161342c565b612f59816122f7565b15612f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9090615350565b60405180910390fd5b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a36000838360016134bf565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c906153bc565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132069190613a90565b60405180910390a3505050565b61321e848484612b91565b61322a848484846134c5565b613269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132609061544e565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106132cd577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816132c3576132c2614297565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061330a576d04ee2d6d415b85acef81000000008381613300576132ff614297565b5b0492506020810190505b662386f26fc10000831061333957662386f26fc10000838161332f5761332e614297565b5b0492506010810190505b6305f5e1008310613362576305f5e100838161335857613357614297565b5b0492506008810190505b612710831061338757612710838161337d5761337c614297565b5b0492506004810190505b606483106133aa57606483816133a05761339f614297565b5b0492506002810190505b600a83106133b9576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134388484848461364c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361347a5761347583613772565b6134b9565b8373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134b8576134b783836137d8565b5b5b50505050565b50505050565b60006134e68473ffffffffffffffffffffffffffffffffffffffff16613841565b1561363f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261350f612a19565b8786866040518563ffffffff1660e01b815260040161353194939291906154c3565b6020604051808303816000875af192505050801561356d57506040513d601f19601f8201168201806040525081019061356a9190615524565b60015b6135ef573d806000811461359d576040519150601f19603f3d011682016040523d82523d6000602084013e6135a2565b606091505b5060008151036135e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135de9061544e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613644565b600190505b949350505050565b600181111561376c57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136e05780600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136d89190615551565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461376b5780600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461376391906147b1565b925050819055505b5b50505050565b6009819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8160096137e483613864565b815481106137f5576137f4614389565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006001826138739190615551565b9050919050565b828054613886906141dd565b90600052602060002090601f0160209004810192826138a857600085556138ef565b82601f106138c157805160ff19168380011785556138ef565b828001600101855582156138ef579182015b828111156138ee5782518255916020019190600101906138d3565b5b5090506138fc9190613900565b5090565b5b80821115613919576000816000905550600101613901565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061395c82613931565b9050919050565b61396c81613951565b811461397757600080fd5b50565b60008135905061398981613963565b92915050565b6000602082840312156139a5576139a4613927565b5b60006139b38482850161397a565b91505092915050565b6000819050919050565b6139cf816139bc565b82525050565b60006020820190506139ea60008301846139c6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a25816139f0565b8114613a3057600080fd5b50565b600081359050613a4281613a1c565b92915050565b600060208284031215613a5e57613a5d613927565b5b6000613a6c84828501613a33565b91505092915050565b60008115159050919050565b613a8a81613a75565b82525050565b6000602082019050613aa56000830184613a81565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613acc81613aab565b8114613ad757600080fd5b50565b600081359050613ae981613ac3565b92915050565b60008060408385031215613b0657613b05613927565b5b6000613b148582860161397a565b9250506020613b2585828601613ada565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b69578082015181840152602081019050613b4e565b83811115613b78576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b9a82613b2f565b613ba48185613b3a565b9350613bb4818560208601613b4b565b613bbd81613b7e565b840191505092915050565b60006020820190508181036000830152613be28184613b8f565b905092915050565b613bf3816139bc565b8114613bfe57600080fd5b50565b600081359050613c1081613bea565b92915050565b600060208284031215613c2c57613c2b613927565b5b6000613c3a84828501613c01565b91505092915050565b613c4c81613951565b82525050565b6000602082019050613c676000830184613c43565b92915050565b60008060408385031215613c8457613c83613927565b5b6000613c928582860161397a565b9250506020613ca385828601613c01565b9150509250929050565b613cb681613aab565b82525050565b6000602082019050613cd16000830184613cad565b92915050565b600080600060608486031215613cf057613cef613927565b5b6000613cfe8682870161397a565b9350506020613d0f8682870161397a565b9250506040613d2086828701613c01565b9150509250925092565b60008060408385031215613d4157613d40613927565b5b6000613d4f85828601613c01565b9250506020613d6085828601613c01565b9150509250929050565b6000604082019050613d7f6000830185613c43565b613d8c60208301846139c6565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613dd582613b7e565b810181811067ffffffffffffffff82111715613df457613df3613d9d565b5b80604052505050565b6000613e0761391d565b9050613e138282613dcc565b919050565b600067ffffffffffffffff821115613e3357613e32613d9d565b5b613e3c82613b7e565b9050602081019050919050565b82818337600083830152505050565b6000613e6b613e6684613e18565b613dfd565b905082815260208101848484011115613e8757613e86613d98565b5b613e92848285613e49565b509392505050565b600082601f830112613eaf57613eae613d93565b5b8135613ebf848260208601613e58565b91505092915050565b600060208284031215613ede57613edd613927565b5b600082013567ffffffffffffffff811115613efc57613efb61392c565b5b613f0884828501613e9a565b91505092915050565b600080600060608486031215613f2a57613f29613927565b5b6000613f3886828701613c01565b9350506020613f498682870161397a565b9250506040613f5a86828701613ada565b9150509250925092565b613f6d81613a75565b8114613f7857600080fd5b50565b600081359050613f8a81613f64565b92915050565b60008060408385031215613fa757613fa6613927565b5b6000613fb58582860161397a565b9250506020613fc685828601613f7b565b9150509250929050565b6000819050919050565b6000613ff5613ff0613feb84613931565b613fd0565b613931565b9050919050565b600061400782613fda565b9050919050565b600061401982613ffc565b9050919050565b6140298161400e565b82525050565b60006020820190506140446000830184614020565b92915050565b600067ffffffffffffffff82111561406557614064613d9d565b5b61406e82613b7e565b9050602081019050919050565b600061408e6140898461404a565b613dfd565b9050828152602081018484840111156140aa576140a9613d98565b5b6140b5848285613e49565b509392505050565b600082601f8301126140d2576140d1613d93565b5b81356140e284826020860161407b565b91505092915050565b6000806000806080858703121561410557614104613927565b5b60006141138782880161397a565b94505060206141248782880161397a565b935050604061413587828801613c01565b925050606085013567ffffffffffffffff8111156141565761415561392c565b5b614162878288016140bd565b91505092959194509250565b6000806040838503121561418557614184613927565b5b60006141938582860161397a565b92505060206141a48582860161397a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141f557607f821691505b602082108103614208576142076141ae565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614248826139bc565b9150614253836139bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561428c5761428b61420e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142d1826139bc565b91506142dc836139bc565b9250826142ec576142eb614297565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614353602b83613b3a565b915061435e826142f7565b604082019050919050565b6000602082019050818103600083015261438281614346565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006143c3826139bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143f5576143f461420e565b5b600182019050919050565b7f455243373231456e756d657261626c653a2063616e6e6f742066696e64206f7760008201527f6e657220666f7220746f6b656e00000000000000000000000000000000000000602082015250565b600061445c602d83613b3a565b915061446782614400565b604082019050919050565b6000602082019050818103600083015261448b8161444f565b9050919050565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b60006144c8602083613b3a565b91506144d382614492565b602082019050919050565b600060208201905081810360008301526144f7816144bb565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061455a602c83613b3a565b9150614565826144fe565b604082019050919050565b600060208201905081810360008301526145898161454d565b9050919050565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b60006145c6601883613b3a565b91506145d182614590565b602082019050919050565b600060208201905081810360008301526145f5816145b9565b9050919050565b60008190508160005260206000209050919050565b6000815461461e816141dd565b6146288186613b3a565b94506001821660008114614643576001811461465557614688565b60ff1983168652602086019350614688565b61465e856145fc565b60005b8381101561468057815481890152600182019150602081019050614661565b808801955050505b50505092915050565b600060208201905081810360008301526146ab8184614611565b905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006146e9601883613b3a565b91506146f4826146b3565b602082019050919050565b60006020820190508181036000830152614718816146dc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061477b602983613b3a565b91506147868261471f565b604082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b60006147bc826139bc565b91506147c7836139bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147fc576147fb61420e565b5b828201905092915050565b7f416c6c20726573657276656420746f6b656e732068617665206265656e206d6960008201527f6e74656400000000000000000000000000000000000000000000000000000000602082015250565b6000614863602483613b3a565b915061486e82614807565b604082019050919050565b6000602082019050818103600083015261489281614856565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b60006148cf601983613b3a565b91506148da82614899565b602082019050919050565b600060208201905081810360008301526148fe816148c2565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b600061493b601783613b3a565b915061494682614905565b602082019050919050565b6000602082019050818103600083015261496a8161492e565b9050919050565b7f43616e6e6f742072656d6f766520617574686f72206164647265737300000000600082015250565b60006149a7601c83613b3a565b91506149b282614971565b602082019050919050565b600060208201905081810360008301526149d68161499a565b9050919050565b600081905092915050565b60006149f382613b2f565b6149fd81856149dd565b9350614a0d818560208601613b4b565b80840191505092915050565b6000614a2582856149e8565b9150614a3182846149e8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a99602683613b3a565b9150614aa482614a3d565b604082019050919050565b60006020820190508181036000830152614ac881614a8c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b05602083613b3a565b9150614b1082614acf565b602082019050919050565b60006020820190508181036000830152614b3481614af8565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b97602a83613b3a565b9150614ba282614b3b565b604082019050919050565b60006020820190508181036000830152614bc681614b8a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c03601983613b3a565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b7f436f6e74726962757461626c653a2063616c6c6572206973206e6f7420636f6e60008201527f7472696275746f72000000000000000000000000000000000000000000000000602082015250565b6000614c95602883613b3a565b9150614ca082614c39565b604082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b7f5769746864726177206578636565647320636f6e74726163742062616c616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614d27602183613b3a565b9150614d3282614ccb565b604082019050919050565b60006020820190508181036000830152614d5681614d1a565b9050919050565b600081905092915050565b50565b6000614d78600083614d5d565b9150614d8382614d68565b600082019050919050565b6000614d9982614d6b565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614dd9601883613b3a565b9150614de482614da3565b602082019050919050565b60006020820190508181036000830152614e0881614dcc565b9050919050565b6000604082019050614e246000830185613c43565b614e316020830184613c43565b9392505050565b600081519050614e4781613f64565b92915050565b600060208284031215614e6357614e62613927565b5b6000614e7184828501614e38565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ed6602183613b3a565b9150614ee182614e7a565b604082019050919050565b60006020820190508181036000830152614f0581614ec9565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614f68603d83613b3a565b9150614f7382614f0c565b604082019050919050565b60006020820190508181036000830152614f9781614f5b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614ffa602d83613b3a565b915061500582614f9e565b604082019050919050565b6000602082019050818103600083015261502981614fed565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615066601b83613b3a565b915061507182615030565b602082019050919050565b6000602082019050818103600083015261509581615059565b9050919050565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b60006150d2601b83613b3a565b91506150dd8261509c565b602082019050919050565b60006020820190508181036000830152615101816150c5565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b600061513e601c83613b3a565b915061514982615108565b602082019050919050565b6000602082019050818103600083015261516d81615131565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006151d0602583613b3a565b91506151db82615174565b604082019050919050565b600060208201905081810360008301526151ff816151c3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615262602483613b3a565b915061526d82615206565b604082019050919050565b6000602082019050818103600083015261529181615255565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152ce602083613b3a565b91506152d982615298565b602082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061533a601c83613b3a565b915061534582615304565b602082019050919050565b600060208201905081810360008301526153698161532d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153a6601983613b3a565b91506153b182615370565b602082019050919050565b600060208201905081810360008301526153d581615399565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615438603283613b3a565b9150615443826153dc565b604082019050919050565b600060208201905081810360008301526154678161542b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006154958261546e565b61549f8185615479565b93506154af818560208601613b4b565b6154b881613b7e565b840191505092915050565b60006080820190506154d86000830187613c43565b6154e56020830186613c43565b6154f260408301856139c6565b8181036060830152615504818461548a565b905095945050505050565b60008151905061551e81613a1c565b92915050565b60006020828403121561553a57615539613927565b5b60006155488482850161550f565b91505092915050565b600061555c826139bc565b9150615567836139bc565b92508282101561557a5761557961420e565b5b82820390509291505056fea26469706673582212200648daa2c1c950244017a04ddf5bda7ce11caf315c91f1d7c55a8d7dbda796b764736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6672617a6574746176657273652e696f2f6672617a657474612d77617272696f72732f746f6b656e2f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://frazettaverse.io/frazetta-warriors/token/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [2] : 68747470733a2f2f6672617a6574746176657273652e696f2f6672617a657474
Arg [3] : 612d77617272696f72732f746f6b656e2f000000000000000000000000000000


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.