ETH Price: $2,978.34 (-2.39%)
Gas: 3 Gwei

Token

ToonPunkz (TPUNKZ)
 

Overview

Max Total Supply

2,310 TPUNKZ

Holders

293

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
falastino.eth
Balance
2 TPUNKZ
0x1648f26a409e24267ebd32172d1b306140ba1af8
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:
ToonPunkz

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 23 : ToonPunkz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";
import "/contracts/ReentrancyGaurd.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "/contracts/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import {UpdatableOperatorFilterer} from "operator-filter-registry/src/UpdatableOperatorFilterer.sol";
import {RevokableDefaultOperatorFilterer} from "operator-filter-registry/src/RevokableDefaultOperatorFilterer.sol";
import "/contracts/ERC721R.sol";
import "operator-filter-registry/src/OperatorFilterer.sol";


contract ToonPunkz is ERC721r, ERC2981, Ownable, ReentrancyGuard, RevokableDefaultOperatorFilterer {
    using Counters for Counters.Counter;
    using Strings for uint256; //allows for uint256var.tostring()

    uint256 public MAX_MINT_PER_WALLET_SALE = 50;
    uint256 public MAX_MINT_PER_TX = 25;
    uint256 public price = 0.007 ether;

    string private baseURI;
    bool public mintEnabled = false;

    mapping(address => uint256) public users;

    constructor() ERC721r("ToonPunkz", "TPUNKZ", 10_000) Ownable(msg.sender) {
        _setDefaultRoyalty(0x26F3F747E00BDc6642ad89FC0F3E98A8db7bfc14, 690);
    }

    function mintSale(uint256 _amount) public payable {
        require(mintEnabled, "Sale is not enabled");
        require(price * _amount <= msg.value, "Not enough ETH");
        require(_amount <= MAX_MINT_PER_TX, "No more than 25 per TX");
        require(
            users[msg.sender] + _amount <= MAX_MINT_PER_WALLET_SALE,
            "Can not mint more than 50 total");
        users[msg.sender] += _amount;
        _mintRandomly(msg.sender, _amount);
    }

    /// ============ INTERNAL ============
    function _mintRandomly(address to, uint256 amount) internal {
        _mintRandom(to, amount);
    }

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

    /// ============ ONLY OWNER ============
    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function toggleSale() external onlyOwner {
        mintEnabled = !mintEnabled;
    }

    function setMaxMintPerWalletSale(uint256 _limit) external onlyOwner {
        require(MAX_MINT_PER_WALLET_SALE != _limit, "New is Same as Old");
        MAX_MINT_PER_WALLET_SALE = _limit;
    }

    function setMaxMintPerTx(uint256 _limit) external onlyOwner {
        require(MAX_MINT_PER_TX != _limit, "New is Same as Old");
        MAX_MINT_PER_TX = _limit;
    }

    function setPrice(uint256 price_) external onlyOwner {
        price = price_;
    }

    function setRoyalty(address wallet, uint96 perc) external onlyOwner {
        _setDefaultRoyalty(wallet, perc);
    }

    function reserveMint(address to, uint256 tokenId) external onlyOwner {
        require(_ownerOf(tokenId) == address(0), "Token has been minted.");
        _mintAtIndex(to, tokenId);
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

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

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        ERC721r._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }

    /// ============ OPERATOR FILTER REGISTRY ============
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

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

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

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

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

    function owner() public view override(UpdatableOperatorFilterer, Ownable) returns (address) {
        return Ownable.owner();
    }
}

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

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    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);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 3 of 23 : ERC721R.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/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. This does random batch minting.
 */
abstract contract ERC721r is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint => uint) private _availableTokens;
    uint256 private _numAvailableTokens;
    uint256 immutable _maxSupply;
    // 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_, uint maxSupply_) {
        _name = name_;
        _symbol = symbol_;
        _maxSupply = maxSupply_;
        _numAvailableTokens = maxSupply_;
    }

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

    function totalSupply() public view virtual returns (uint256) {
        return _maxSupply - _numAvailableTokens;
    }

    function maxSupply() public view virtual returns (uint256) {
        return _maxSupply;
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @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 = ERC721r.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not owner nor 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: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 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 _owners[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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721r.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    function _mintIdWithoutBalanceUpdate(address to, uint256 tokenId) private {
        _beforeTokenTransfer(address(0), to, tokenId);

        _owners[tokenId] = to;

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

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

    function _mintRandom(address to, uint _numToMint) internal virtual {
        require(_msgSender() == tx.origin, "Contracts cannot mint");
        require(to != address(0), "ERC721: mint to the zero address");
        require(_numToMint > 0, "ERC721r: need to mint at least one token");

        // TODO: Probably don't need this as it will underflow and revert automatically in this case
        require(_numAvailableTokens >= _numToMint, "ERC721r: minting more tokens than available");

        uint updatedNumAvailableTokens = _numAvailableTokens;
        for (uint256 i; i < _numToMint; ++i) {// Do this ++ unchecked?
            uint256 tokenId = getRandomAvailableTokenId(to, updatedNumAvailableTokens);

            _mintIdWithoutBalanceUpdate(to, tokenId);

            --updatedNumAvailableTokens;
        }

        _numAvailableTokens = updatedNumAvailableTokens;
        _balances[to] += _numToMint;
    }

    function getRandomAvailableTokenId(address to, uint updatedNumAvailableTokens)
    internal
    returns (uint256)
    {
        uint256 randomNum = uint256(
            keccak256(
                abi.encode(
                    to,
                    tx.gasprice,
                    block.number,
                    block.timestamp,
                    blockhash(block.number - 1),
                    address(this),
                    updatedNumAvailableTokens
                )
            )
        );
        uint256 randomIndex = randomNum % updatedNumAvailableTokens;
        return getAvailableTokenAtIndex(randomIndex, updatedNumAvailableTokens);
    }

    // Implements https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle. Code taken from CryptoPhunksV2
    function getAvailableTokenAtIndex(uint256 indexToUse, uint updatedNumAvailableTokens)
    internal
    returns (uint256)
    {
        uint256 valAtIndex = _availableTokens[indexToUse];
        uint256 result;
        if (valAtIndex == 0) {
            // This means the index itself is still an available token
            result = indexToUse;
        } else {
            // This means the index itself is not an available token, but the val at that index is.
            result = valAtIndex;
        }

        uint256 lastIndex = updatedNumAvailableTokens - 1;
        uint256 lastValInArray = _availableTokens[lastIndex];
        if (indexToUse != lastIndex) {
            // Replace the value at indexToUse, now that it's been used.
            // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards.
            if (lastValInArray == 0) {
                // This means the index itself is still an available token
                _availableTokens[indexToUse] = lastIndex;
            } else {
                // This means the index itself is not an available token, but the val at that index is.
                _availableTokens[indexToUse] = lastValInArray;
            }
        }
        if (lastValInArray != 0) {
            // Gas refund courtsey of @dievardump
            delete _availableTokens[lastIndex];
        }

        return result;
    }

    // Not as good as minting a specific tokenId, but will behave the same at the start
    // allowing you to explicitly mint some tokens at launch.
    function _mintAtIndex(address to, uint index) internal virtual {
        require(_msgSender() == tx.origin, "Contracts cannot mint");
        require(to != address(0), "ERC721: mint to the zero address");
        require(_numAvailableTokens >= 1, "ERC721r: minting more tokens than available");

        uint tokenId = getAvailableTokenAtIndex(index, _numAvailableTokens);
        --_numAvailableTokens;

        _mintIdWithoutBalanceUpdate(to, tokenId);

        _balances[to] += 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(ERC721r.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {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);
    }

    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly { size := extcodesize(account) }
        return size > 0;
    }


    /**
     * @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 (isContract(to)) {
            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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }


    /**
     * @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` and `to` are never both 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
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    function _burn(uint256 tokenId) internal virtual {
        address owner = _ownerOf(tokenId);

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

        _balances[owner] -= 1;

        delete _owners[tokenId];

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

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

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

import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION, CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  RevokableDefaultOperatorFilterer
 * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription.
 *         Note that OpenSea will disable creator earnings enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */

abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor()
        RevokableOperatorFilterer(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS, CANONICAL_CORI_SUBSCRIPTION, true)
    {}
}

File 5 of 23 : 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 earnings 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 {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);
    /// @dev Emitted when someone other than the owner is trying to call an only owner function.
    error OnlyOwner();

    event OperatorFilterRegistryAddressUpdated(address newRegistry);

    IOperatorFilterRegistry public operatorFilterRegistry;

    /// @dev The constructor that is called when the contract is being deployed.
    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));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if the operator is allowed.
     */
    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);
        }
        _;
    }

    /**
     * @dev A helper function to check if the operator approval is allowed.
     */
    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);
        emit OperatorFilterRegistryAddressUpdated(newRegistry);
    }

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

    /**
     * @dev A helper function to check if the operator is allowed.
     */
    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) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!registry.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 6 of 23 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 7 of 23 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 8 of 23 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.20;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 9 of 23 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;

import {IERC2981} from "../../interfaces/IERC2981.sol";
import {IERC165, ERC165} from "../../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.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

    /**
     * @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 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 {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _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 {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _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 23 : ReentrancyGaurd.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 11 of 23 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 12 of 23 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

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

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

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

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

/**
 * @title  RevokableOperatorFilterer
 * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The
 *         Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at
 *         any point. As implemented, this abstract contract allows the contract owner to permanently skip the
 *         OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry
 *         address cannot be further updated.
 *         Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */
abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer {
    /// @dev Emitted when the registry has already been revoked.
    error RegistryHasBeenRevoked();
    /// @dev Emitted when the initial registry address is attempted to be set to the zero address.
    error InitialRegistryAddressCannotBeZeroAddress();

    event OperatorFilterRegistryRevoked();

    bool public isOperatorFilterRegistryRevoked;

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe)
        UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe)
    {
        // don't allow creating a contract with a permanently revoked registry
        if (_registry == address(0)) {
            revert InitialRegistryAddressCannotBeZeroAddress();
        }
    }

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public override {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
        emit OperatorFilterRegistryAddressUpdated(newRegistry);
    }

    /**
     * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner.
     */
    function revokeOperatorFilterRegistry() public {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        // set to zero address to bypass checks
        operatorFilterRegistry = IOperatorFilterRegistry(address(0));
        isOperatorFilterRegistryRevoked = true;
        emit OperatorFilterRegistryRevoked();
    }
}

File 15 of 23 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 16 of 23 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 17 of 23 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 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.

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 18 of 23 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../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.
 */
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 19 of 23 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 20 of 23 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) 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 FailedInnerCall();
        }
    }
}

File 21 of 23 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../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 22 of 23 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @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 23 of 23 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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 address zero.
     *
     * 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRegistry","type":"address"}],"name":"OperatorFilterRegistryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"OperatorFilterRegistryRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintSale","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxMintPerWalletSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint96","name":"perc","type":"uint96"}],"name":"setRoyalty","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":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526032600d556019600e556618de76816d8000600f555f60115f6101000a81548160ff0219169083151502179055503480156200003e575f80fd5b506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb66001828282336040518060400160405280600981526020017f546f6f6e50756e6b7a00000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f5450554e4b5a0000000000000000000000000000000000000000000000000000815250612710825f9081620000e89190620008fe565b508160019081620000fa9190620008fe565b508060808181525050806003819055505050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000180575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000177919062000a25565b60405180910390fd5b62000191816200042560201b60201c565b506001600b819055505f83905080600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f8173ffffffffffffffffffffffffffffffffffffffff163b11156200038a57811562000277578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b81526004016200024292919062000a40565b5f604051808303815f87803b1580156200025a575f80fd5b505af11580156200026d573d5f803e3d5ffd5b5050505062000389565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200031d578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b8152600401620002e892919062000a40565b5f604051808303815f87803b15801562000300575f80fd5b505af115801562000313573d5f803e3d5ffd5b5050505062000388565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000358919062000a25565b5f604051808303815f87803b15801562000370575f80fd5b505af115801562000383573d5f803e3d5ffd5b505050505b5b5b505050505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003f4576040517fc49d17ad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050506200041f7326f3f747e00bdc6642ad89fc0f3e98a8db7bfc146102b2620004e860201b60201c565b62000af6565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f620004f96200069160201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115620005615781816040517f6f483d090000000000000000000000000000000000000000000000000000000081526004016200055892919062000acb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620005d4575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401620005cb919062000a25565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f612710905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200071657607f821691505b6020821081036200072c576200072b620006d1565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000753565b6200079c868362000753565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620007e6620007e0620007da84620007b4565b620007bd565b620007b4565b9050919050565b5f819050919050565b6200080183620007c6565b620008196200081082620007ed565b8484546200075f565b825550505050565b5f90565b6200082f62000821565b6200083c818484620007f6565b505050565b5b818110156200086357620008575f8262000825565b60018101905062000842565b5050565b601f821115620008b2576200087c8162000732565b620008878462000744565b8101602085101562000897578190505b620008af620008a68562000744565b83018262000841565b50505b505050565b5f82821c905092915050565b5f620008d45f1984600802620008b7565b1980831691505092915050565b5f620008ee8383620008c3565b9150826002028217905092915050565b62000909826200069a565b67ffffffffffffffff811115620009255762000924620006a4565b5b620009318254620006fe565b6200093e82828562000867565b5f60209050601f83116001811462000974575f84156200095f578287015190505b6200096b8582620008e1565b865550620009da565b601f198416620009848662000732565b5f5b82811015620009ad5784890151825560018201915060208501945060208101905062000986565b86831015620009cd5784890151620009c9601f891682620008c3565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000a0d82620009e2565b9050919050565b62000a1f8162000a01565b82525050565b5f60208201905062000a3a5f83018462000a14565b92915050565b5f60408201905062000a555f83018562000a14565b62000a64602083018462000a14565b9392505050565b5f6bffffffffffffffffffffffff82169050919050565b5f62000aa262000a9c62000a968462000a6b565b620007bd565b620007b4565b9050919050565b62000ab48162000a82565b82525050565b62000ac581620007b4565b82525050565b5f60408201905062000ae05f83018562000aa9565b62000aef602083018462000aba565b9392505050565b608051614a7062000b165f395f818161098801526116240152614a705ff3fe608060405260043610610219575f3560e01c80638da5cb5b11610122578063b0ccc31e116100aa578063d12397301161006e578063d123973014610766578063d5abeb0114610790578063e985e9c5146107ba578063ecba222a146107f6578063f2fde38b1461082057610219565b8063b0ccc31e14610688578063b0ea1802146106b2578063b88d4fde146106da578063b8d1e53214610702578063c87b56dd1461072a57610219565b806391b7f5ed116100f157806391b7f5ed146105a857806395d89b41146105d0578063a035b1fe146105fa578063a22cb46514610624578063a87430ba1461064c57610219565b80638da5cb5b146105045780638ecad7211461052e5780638f2fc60b14610558578063900f187a1461058057610219565b806342842e0e116101a5578063616cdb1e11610174578063616cdb1e146104385780636352211e1461046057806370a082311461049c578063715018a6146104d85780637d8966e4146104ee57610219565b806342842e0e146103b65780634875bccb146103de57806355f804b3146103fa5780635ef9432a1461042257610219565b806318160ddd116101ec57806318160ddd146102e75780631ae100821461031157806323b872dd1461033b5780632a55205a146103635780633ccfd60b146103a057610219565b806301ffc9a71461021d57806306fdde0314610259578063081812fc14610283578063095ea7b3146102bf575b5f80fd5b348015610228575f80fd5b50610243600480360381019061023e9190613032565b610848565b6040516102509190613077565b60405180910390f35b348015610264575f80fd5b5061026d610859565b60405161027a919061311a565b60405180910390f35b34801561028e575f80fd5b506102a960048036038101906102a4919061316d565b6108e8565b6040516102b691906131d7565b60405180910390f35b3480156102ca575f80fd5b506102e560048036038101906102e0919061321a565b610969565b005b3480156102f2575f80fd5b506102fb610982565b6040516103089190613267565b60405180910390f35b34801561031c575f80fd5b506103256109b6565b6040516103329190613267565b60405180910390f35b348015610346575f80fd5b50610361600480360381019061035c9190613280565b6109bc565b005b34801561036e575f80fd5b50610389600480360381019061038491906132d0565b610a0b565b60405161039792919061330e565b60405180910390f35b3480156103ab575f80fd5b506103b4610be7565b005b3480156103c1575f80fd5b506103dc60048036038101906103d79190613280565b610c9a565b005b6103f860048036038101906103f3919061316d565b610ce9565b005b348015610405575f80fd5b50610420600480360381019061041b9190613396565b610eb9565b005b34801561042d575f80fd5b50610436610ed7565b005b348015610443575f80fd5b5061045e6004803603810190610459919061316d565b611013565b005b34801561046b575f80fd5b506104866004803603810190610481919061316d565b611069565b60405161049391906131d7565b60405180910390f35b3480156104a7575f80fd5b506104c260048036038101906104bd91906133e1565b6110ed565b6040516104cf9190613267565b60405180910390f35b3480156104e3575f80fd5b506104ec6111a1565b005b3480156104f9575f80fd5b506105026111b4565b005b34801561050f575f80fd5b506105186111e6565b60405161052591906131d7565b60405180910390f35b348015610539575f80fd5b506105426111f4565b60405161054f9190613267565b60405180910390f35b348015610563575f80fd5b5061057e6004803603810190610579919061344d565b6111fa565b005b34801561058b575f80fd5b506105a660048036038101906105a1919061316d565b611210565b005b3480156105b3575f80fd5b506105ce60048036038101906105c9919061316d565b611266565b005b3480156105db575f80fd5b506105e4611278565b6040516105f1919061311a565b60405180910390f35b348015610605575f80fd5b5061060e611308565b60405161061b9190613267565b60405180910390f35b34801561062f575f80fd5b5061064a600480360381019061064591906134b5565b61130e565b005b348015610657575f80fd5b50610672600480360381019061066d91906133e1565b611327565b60405161067f9190613267565b60405180910390f35b348015610693575f80fd5b5061069c61133c565b6040516106a9919061354e565b60405180910390f35b3480156106bd575f80fd5b506106d860048036038101906106d3919061321a565b611361565b005b3480156106e5575f80fd5b5061070060048036038101906106fb919061368f565b6113ed565b005b34801561070d575f80fd5b50610728600480360381019061072391906133e1565b61143e565b005b348015610735575f80fd5b50610750600480360381019061074b919061316d565b61156b565b60405161075d919061311a565b60405180910390f35b348015610771575f80fd5b5061077a61160f565b6040516107879190613077565b60405180910390f35b34801561079b575f80fd5b506107a4611621565b6040516107b19190613267565b60405180910390f35b3480156107c5575f80fd5b506107e060048036038101906107db919061370f565b611648565b6040516107ed9190613077565b60405180910390f35b348015610801575f80fd5b5061080a6116d6565b6040516108179190613077565b60405180910390f35b34801561082b575f80fd5b50610846600480360381019061084191906133e1565b6116e9565b005b5f6108528261176d565b9050919050565b60605f80546108679061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546108939061377a565b80156108de5780601f106108b5576101008083540402835291602001916108de565b820191905f5260205f20905b8154815290600101906020018083116108c157829003601f168201915b5050505050905090565b5f6108f2826117e6565b610931576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109289061381a565b60405180910390fd5b60065f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109738161184e565b61097d838361198a565b505050565b5f6003547f00000000000000000000000000000000000000000000000000000000000000006109b19190613865565b905090565b600d5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109fa576109f93361184e565b5b610a05848484611aa0565b50505050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610b945760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f610b9d611b00565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610bc99190613898565b610bd39190613906565b9050815f0151819350935050509250929050565b610bef611b09565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610c1490613963565b5f6040518083038185875af1925050503d805f8114610c4e576040519150601f19603f3d011682016040523d82523d5f602084013e610c53565b606091505b5050905080610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e906139c1565b60405180910390fd5b50565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cd857610cd73361184e565b5b610ce3848484611b90565b50505050565b60115f9054906101000a900460ff16610d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2e90613a29565b60405180910390fd5b3481600f54610d469190613898565b1115610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90613a91565b60405180910390fd5b600e54811115610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613af9565b60405180910390fd5b600d548160125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610e189190613b17565b1115610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613b94565b60405180910390fd5b8060125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610ea59190613b17565b92505081905550610eb63382611baf565b50565b610ec1611b09565b818160109182610ed2929190613d50565b505050565b610edf6111e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f43576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60149054906101000a900460ff1615610f8a576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b61101b611b09565b80600e540361105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690613e67565b60405180910390fd5b80600e8190555050565b5f8061107483611bbd565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90613ef5565b60405180910390fd5b80915050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390613f83565b60405180910390fd5b60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6111a9611b09565b6111b25f611bf6565b565b6111bc611b09565b60115f9054906101000a900460ff161560115f6101000a81548160ff021916908315150217905550565b5f6111ef611cb9565b905090565b600e5481565b611202611b09565b61120c8282611ce1565b5050565b611218611b09565b80600d540361125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390613e67565b60405180910390fd5b80600d8190555050565b61126e611b09565b80600f8190555050565b6060600180546112879061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546112b39061377a565b80156112fe5780601f106112d5576101008083540402835291602001916112fe565b820191905f5260205f20905b8154815290600101906020018083116112e157829003601f168201915b5050505050905090565b600f5481565b816113188161184e565b6113228383611e7c565b505050565b6012602052805f5260405f205f915090505481565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611369611b09565b5f73ffffffffffffffffffffffffffffffffffffffff1661138982611bbd565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690613feb565b60405180910390fd5b6113e98282611e92565b5050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142b5761142a3361184e565b5b61143785858585612042565b5050505050565b6114466111e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114aa576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60149054906101000a900460ff16156114f1576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de4768160405161156091906131d7565b60405180910390a150565b6060611576826117e6565b6115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90614079565b60405180910390fd5b5f6115be6120a4565b90505f8151116115dc5760405180602001604052805f815250611607565b806115e684612134565b6040516020016115f792919061411b565b6040516020818303038152906040525b915050919050565b60115f9054906101000a900460ff1681565b5f7f0000000000000000000000000000000000000000000000000000000000000000905090565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600c60149054906101000a900460ff1681565b6116f1611b09565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611761575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161175891906131d7565b60405180910390fd5b61176a81611bf6565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117df57506117de826121fe565b5b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff1660045f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b5f600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156118c557505f8173ffffffffffffffffffffffffffffffffffffffff163b115b15611986578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401611905929190614149565b602060405180830381865afa158015611920573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119449190614184565b61198557816040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161197c91906131d7565b60405180910390fd5b5b5050565b5f61199482611069565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb9061421f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611a236122df565b73ffffffffffffffffffffffffffffffffffffffff161480611a525750611a5181611a4c6122df565b611648565b5b611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906142ad565b60405180910390fd5b611a9b83836122e6565b505050565b611ab1611aab6122df565b8261239c565b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae79061433b565b60405180910390fd5b611afb838383612478565b505050565b5f612710905090565b611b116122df565b73ffffffffffffffffffffffffffffffffffffffff16611b2f6111e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b8e57611b526122df565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611b8591906131d7565b60405180910390fd5b565b611baa83838360405180602001604052805f8152506113ed565b505050565b611bb982826126d3565b5050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f611cea611b00565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611d4f5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611d46929190614389565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611dbf575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611db691906131d7565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b611e8e611e876122df565b83836128e2565b5050565b3273ffffffffffffffffffffffffffffffffffffffff16611eb16122df565b73ffffffffffffffffffffffffffffffffffffffff1614611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe906143fa565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90614462565b60405180910390fd5b60016003541015611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb2906144f0565b60405180910390fd5b5f611fc882600354612a49565b905060035f8154611fd89061450e565b91905081905550611fe98382612b02565b600160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546120369190613b17565b92505081905550505050565b61205361204d6122df565b8361239c565b612092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120899061433b565b60405180910390fd5b61209e84848484612bc6565b50505050565b6060601080546120b39061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546120df9061377a565b801561212a5780601f106121015761010080835404028352916020019161212a565b820191905f5260205f20905b81548152906001019060200180831161210d57829003601f168201915b5050505050905090565b60605f600161214284612c22565b0190505f8167ffffffffffffffff8111156121605761215f61356b565b5b6040519080825280601f01601f1916602001820160405280156121925781602001600182028036833780820191505090505b5090505f82602001820190505b6001156121f3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816121e8576121e76138d9565b5b0494505f850361219f575b819350505050919050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d857506122d782612d73565b5b9050919050565b5f33905090565b8160065f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661235683611069565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f6123a6826117e6565b6123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc906145a5565b60405180910390fd5b5f6123ef83611069565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061245e57508373ffffffffffffffffffffffffffffffffffffffff16612446846108e8565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246f575061246e8185611648565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661249882611069565b73ffffffffffffffffffffffffffffffffffffffff16146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614633565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361255c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612553906146c1565b60405180910390fd5b612567838383612ddc565b6125715f826122e6565b600160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546125be9190613865565b92505081905550600160055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546126129190613b17565b925050819055508160045f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126ce838383612de1565b505050565b3273ffffffffffffffffffffffffffffffffffffffff166126f26122df565b73ffffffffffffffffffffffffffffffffffffffff1614612748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273f906143fa565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614462565b60405180910390fd5b5f81116127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef9061474f565b60405180910390fd5b80600354101561283d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612834906144f0565b60405180910390fd5b5f60035490505f5b82811015612882575f6128588584612de6565b90506128648582612b02565b8261286e9061450e565b9250508061287b9061476d565b9050612845565b50806003819055508160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546128d69190613b17565b92505081905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612950576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612947906147fe565b60405180910390fd5b8060075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a3c9190613077565b60405180910390a3505050565b5f8060025f8581526020019081526020015f205490505f808203612a6f57849050612a73565b8190505b5f600185612a819190613865565b90505f60025f8381526020019081526020015f20549050818714612ad9575f8103612ac1578160025f8981526020019081526020015f2081905550612ad8565b8060025f8981526020019081526020015f20819055505b5b5f8114612af55760025f8381526020019081526020015f205f90555b8294505050505092915050565b612b0d5f8383612ddc565b8160045f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bc25f8383612de1565b5050565b612bd1848484612478565b612bdd84848484612e4f565b612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c139061488c565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c7e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c7457612c736138d9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612cbb576d04ee2d6d415b85acef81000000008381612cb157612cb06138d9565b5b0492506020810190505b662386f26fc100008310612cea57662386f26fc100008381612ce057612cdf6138d9565b5b0492506010810190505b6305f5e1008310612d13576305f5e1008381612d0957612d086138d9565b5b0492506008810190505b6127108310612d38576127108381612d2e57612d2d6138d9565b5b0492506004810190505b60648310612d5b5760648381612d5157612d506138d9565b5b0492506002810190505b600a8310612d6a576001810190505b80915050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b5f80833a4342600143612df99190613865565b403088604051602001612e1297969594939291906148c2565b604051602081830303815290604052805190602001205f1c90505f8382612e39919061492f565b9050612e458185612a49565b9250505092915050565b5f612e5984612fbb565b15612fae578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e826122df565b8786866040518563ffffffff1660e01b8152600401612ea494939291906149b1565b6020604051808303815f875af1925050508015612edf57506040513d601f19601f82011682018060405250810190612edc9190614a0f565b60015b612f5e573d805f8114612f0d576040519150601f19603f3d011682016040523d82523d5f602084013e612f12565b606091505b505f815103612f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4d9061488c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fb3565b600190505b949350505050565b5f80823b90505f8111915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301181612fdd565b811461301b575f80fd5b50565b5f8135905061302c81613008565b92915050565b5f6020828403121561304757613046612fd5565b5b5f6130548482850161301e565b91505092915050565b5f8115159050919050565b6130718161305d565b82525050565b5f60208201905061308a5f830184613068565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156130c75780820151818401526020810190506130ac565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6130ec82613090565b6130f6818561309a565b93506131068185602086016130aa565b61310f816130d2565b840191505092915050565b5f6020820190508181035f83015261313281846130e2565b905092915050565b5f819050919050565b61314c8161313a565b8114613156575f80fd5b50565b5f8135905061316781613143565b92915050565b5f6020828403121561318257613181612fd5565b5b5f61318f84828501613159565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6131c182613198565b9050919050565b6131d1816131b7565b82525050565b5f6020820190506131ea5f8301846131c8565b92915050565b6131f9816131b7565b8114613203575f80fd5b50565b5f81359050613214816131f0565b92915050565b5f80604083850312156132305761322f612fd5565b5b5f61323d85828601613206565b925050602061324e85828601613159565b9150509250929050565b6132618161313a565b82525050565b5f60208201905061327a5f830184613258565b92915050565b5f805f6060848603121561329757613296612fd5565b5b5f6132a486828701613206565b93505060206132b586828701613206565b92505060406132c686828701613159565b9150509250925092565b5f80604083850312156132e6576132e5612fd5565b5b5f6132f385828601613159565b925050602061330485828601613159565b9150509250929050565b5f6040820190506133215f8301856131c8565b61332e6020830184613258565b9392505050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261335657613355613335565b5b8235905067ffffffffffffffff81111561337357613372613339565b5b60208301915083600182028301111561338f5761338e61333d565b5b9250929050565b5f80602083850312156133ac576133ab612fd5565b5b5f83013567ffffffffffffffff8111156133c9576133c8612fd9565b5b6133d585828601613341565b92509250509250929050565b5f602082840312156133f6576133f5612fd5565b5b5f61340384828501613206565b91505092915050565b5f6bffffffffffffffffffffffff82169050919050565b61342c8161340c565b8114613436575f80fd5b50565b5f8135905061344781613423565b92915050565b5f806040838503121561346357613462612fd5565b5b5f61347085828601613206565b925050602061348185828601613439565b9150509250929050565b6134948161305d565b811461349e575f80fd5b50565b5f813590506134af8161348b565b92915050565b5f80604083850312156134cb576134ca612fd5565b5b5f6134d885828601613206565b92505060206134e9858286016134a1565b9150509250929050565b5f819050919050565b5f61351661351161350c84613198565b6134f3565b613198565b9050919050565b5f613527826134fc565b9050919050565b5f6135388261351d565b9050919050565b6135488161352e565b82525050565b5f6020820190506135615f83018461353f565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6135a1826130d2565b810181811067ffffffffffffffff821117156135c0576135bf61356b565b5b80604052505050565b5f6135d2612fcc565b90506135de8282613598565b919050565b5f67ffffffffffffffff8211156135fd576135fc61356b565b5b613606826130d2565b9050602081019050919050565b828183375f83830152505050565b5f61363361362e846135e3565b6135c9565b90508281526020810184848401111561364f5761364e613567565b5b61365a848285613613565b509392505050565b5f82601f83011261367657613675613335565b5b8135613686848260208601613621565b91505092915050565b5f805f80608085870312156136a7576136a6612fd5565b5b5f6136b487828801613206565b94505060206136c587828801613206565b93505060406136d687828801613159565b925050606085013567ffffffffffffffff8111156136f7576136f6612fd9565b5b61370387828801613662565b91505092959194509250565b5f806040838503121561372557613724612fd5565b5b5f61373285828601613206565b925050602061374385828601613206565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061379157607f821691505b6020821081036137a4576137a361374d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e65785f8201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b5f613804602c8361309a565b915061380f826137aa565b604082019050919050565b5f6020820190508181035f830152613831816137f8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61386f8261313a565b915061387a8361313a565b925082820390508181111561389257613891613838565b5b92915050565b5f6138a28261313a565b91506138ad8361313a565b92508282026138bb8161313a565b915082820484148315176138d2576138d1613838565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6139108261313a565b915061391b8361313a565b92508261392b5761392a6138d9565b5b828204905092915050565b5f81905092915050565b50565b5f61394e5f83613936565b915061395982613940565b5f82019050919050565b5f61396d82613943565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f6139ab60108361309a565b91506139b682613977565b602082019050919050565b5f6020820190508181035f8301526139d88161399f565b9050919050565b7f53616c65206973206e6f7420656e61626c6564000000000000000000000000005f82015250565b5f613a1360138361309a565b9150613a1e826139df565b602082019050919050565b5f6020820190508181035f830152613a4081613a07565b9050919050565b7f4e6f7420656e6f756768204554480000000000000000000000000000000000005f82015250565b5f613a7b600e8361309a565b9150613a8682613a47565b602082019050919050565b5f6020820190508181035f830152613aa881613a6f565b9050919050565b7f4e6f206d6f7265207468616e20323520706572205458000000000000000000005f82015250565b5f613ae360168361309a565b9150613aee82613aaf565b602082019050919050565b5f6020820190508181035f830152613b1081613ad7565b9050919050565b5f613b218261313a565b9150613b2c8361313a565b9250828201905080821115613b4457613b43613838565b5b92915050565b7f43616e206e6f74206d696e74206d6f7265207468616e20353020746f74616c005f82015250565b5f613b7e601f8361309a565b9150613b8982613b4a565b602082019050919050565b5f6020820190508181035f830152613bab81613b72565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613c187fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613bdd565b613c228683613bdd565b95508019841693508086168417925050509392505050565b5f613c54613c4f613c4a8461313a565b6134f3565b61313a565b9050919050565b5f819050919050565b613c6d83613c3a565b613c81613c7982613c5b565b848454613be9565b825550505050565b5f90565b613c95613c89565b613ca0818484613c64565b505050565b5b81811015613cc357613cb85f82613c8d565b600181019050613ca6565b5050565b601f821115613d0857613cd981613bbc565b613ce284613bce565b81016020851015613cf1578190505b613d05613cfd85613bce565b830182613ca5565b50505b505050565b5f82821c905092915050565b5f613d285f1984600802613d0d565b1980831691505092915050565b5f613d408383613d19565b9150826002028217905092915050565b613d5a8383613bb2565b67ffffffffffffffff811115613d7357613d7261356b565b5b613d7d825461377a565b613d88828285613cc7565b5f601f831160018114613db5575f8415613da3578287013590505b613dad8582613d35565b865550613e14565b601f198416613dc386613bbc565b5f5b82811015613dea57848901358255600182019150602085019450602081019050613dc5565b86831015613e075784890135613e03601f891682613d19565b8355505b6001600288020188555050505b50505050505050565b7f4e65772069732053616d65206173204f6c6400000000000000000000000000005f82015250565b5f613e5160128361309a565b9150613e5c82613e1d565b602082019050919050565b5f6020820190508181035f830152613e7e81613e45565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e65786973745f8201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b5f613edf60298361309a565b9150613eea82613e85565b604082019050919050565b5f6020820190508181035f830152613f0c81613ed3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a655f8201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b5f613f6d602a8361309a565b9150613f7882613f13565b604082019050919050565b5f6020820190508181035f830152613f9a81613f61565b9050919050565b7f546f6b656e20686173206265656e206d696e7465642e000000000000000000005f82015250565b5f613fd560168361309a565b9150613fe082613fa1565b602082019050919050565b5f6020820190508181035f83015261400281613fc9565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f614063602f8361309a565b915061406e82614009565b604082019050919050565b5f6020820190508181035f83015261409081614057565b9050919050565b5f81905092915050565b5f6140ab82613090565b6140b58185614097565b93506140c58185602086016130aa565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f614105600583614097565b9150614110826140d1565b600582019050919050565b5f61412682856140a1565b915061413282846140a1565b915061413d826140f9565b91508190509392505050565b5f60408201905061415c5f8301856131c8565b61416960208301846131c8565b9392505050565b5f8151905061417e8161348b565b92915050565b5f6020828403121561419957614198612fd5565b5b5f6141a684828501614170565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e655f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f61420960218361309a565b9150614214826141af565b604082019050919050565b5f6020820190508181035f830152614236816141fd565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f775f8201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b5f61429760388361309a565b91506142a28261423d565b604082019050919050565b5f6020820190508181035f8301526142c48161428b565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f5f8201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b5f61432560318361309a565b9150614330826142cb565b604082019050919050565b5f6020820190508181035f83015261435281614319565b9050919050565b5f61437361436e6143698461340c565b6134f3565b61313a565b9050919050565b61438381614359565b82525050565b5f60408201905061439c5f83018561437a565b6143a96020830184613258565b9392505050565b7f436f6e7472616374732063616e6e6f74206d696e7400000000000000000000005f82015250565b5f6143e460158361309a565b91506143ef826143b0565b602082019050919050565b5f6020820190508181035f830152614411816143d8565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f20616464726573735f82015250565b5f61444c60208361309a565b915061445782614418565b602082019050919050565b5f6020820190508181035f83015261447981614440565b9050919050565b7f455243373231723a206d696e74696e67206d6f726520746f6b656e73207468615f8201527f6e20617661696c61626c65000000000000000000000000000000000000000000602082015250565b5f6144da602b8361309a565b91506144e582614480565b604082019050919050565b5f6020820190508181035f830152614507816144ce565b9050919050565b5f6145188261313a565b91505f820361452a57614529613838565b5b600182039050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e65785f8201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b5f61458f602c8361309a565b915061459a82614535565b604082019050919050565b5f6020820190508181035f8301526145bc81614583565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f7272656374205f8201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b5f61461d60258361309a565b9150614628826145c3565b604082019050919050565b5f6020820190508181035f83015261464a81614611565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6146ab60248361309a565b91506146b682614651565b604082019050919050565b5f6020820190508181035f8301526146d88161469f565b9050919050565b7f455243373231723a206e65656420746f206d696e74206174206c65617374206f5f8201527f6e6520746f6b656e000000000000000000000000000000000000000000000000602082015250565b5f61473960288361309a565b9150614744826146df565b604082019050919050565b5f6020820190508181035f8301526147668161472d565b9050919050565b5f6147778261313a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036147a9576147a8613838565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c6572000000000000005f82015250565b5f6147e860198361309a565b91506147f3826147b4565b602082019050919050565b5f6020820190508181035f830152614815816147dc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e2045524337323152655f8201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b5f61487660328361309a565b91506148818261481c565b604082019050919050565b5f6020820190508181035f8301526148a38161486a565b9050919050565b5f819050919050565b6148bc816148aa565b82525050565b5f60e0820190506148d55f83018a6131c8565b6148e26020830189613258565b6148ef6040830188613258565b6148fc6060830187613258565b61490960808301866148b3565b61491660a08301856131c8565b61492360c0830184613258565b98975050505050505050565b5f6149398261313a565b91506149448361313a565b925082614954576149536138d9565b5b828206905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f6149838261495f565b61498d8185614969565b935061499d8185602086016130aa565b6149a6816130d2565b840191505092915050565b5f6080820190506149c45f8301876131c8565b6149d160208301866131c8565b6149de6040830185613258565b81810360608301526149f08184614979565b905095945050505050565b5f81519050614a0981613008565b92915050565b5f60208284031215614a2457614a23612fd5565b5b5f614a31848285016149fb565b9150509291505056fea26469706673582212206ea27391e29e7ad6ec510006b8543e17496b8091a5aa70fe7ff06e859781b92f64736f6c63430008140033

Deployed Bytecode

0x608060405260043610610219575f3560e01c80638da5cb5b11610122578063b0ccc31e116100aa578063d12397301161006e578063d123973014610766578063d5abeb0114610790578063e985e9c5146107ba578063ecba222a146107f6578063f2fde38b1461082057610219565b8063b0ccc31e14610688578063b0ea1802146106b2578063b88d4fde146106da578063b8d1e53214610702578063c87b56dd1461072a57610219565b806391b7f5ed116100f157806391b7f5ed146105a857806395d89b41146105d0578063a035b1fe146105fa578063a22cb46514610624578063a87430ba1461064c57610219565b80638da5cb5b146105045780638ecad7211461052e5780638f2fc60b14610558578063900f187a1461058057610219565b806342842e0e116101a5578063616cdb1e11610174578063616cdb1e146104385780636352211e1461046057806370a082311461049c578063715018a6146104d85780637d8966e4146104ee57610219565b806342842e0e146103b65780634875bccb146103de57806355f804b3146103fa5780635ef9432a1461042257610219565b806318160ddd116101ec57806318160ddd146102e75780631ae100821461031157806323b872dd1461033b5780632a55205a146103635780633ccfd60b146103a057610219565b806301ffc9a71461021d57806306fdde0314610259578063081812fc14610283578063095ea7b3146102bf575b5f80fd5b348015610228575f80fd5b50610243600480360381019061023e9190613032565b610848565b6040516102509190613077565b60405180910390f35b348015610264575f80fd5b5061026d610859565b60405161027a919061311a565b60405180910390f35b34801561028e575f80fd5b506102a960048036038101906102a4919061316d565b6108e8565b6040516102b691906131d7565b60405180910390f35b3480156102ca575f80fd5b506102e560048036038101906102e0919061321a565b610969565b005b3480156102f2575f80fd5b506102fb610982565b6040516103089190613267565b60405180910390f35b34801561031c575f80fd5b506103256109b6565b6040516103329190613267565b60405180910390f35b348015610346575f80fd5b50610361600480360381019061035c9190613280565b6109bc565b005b34801561036e575f80fd5b50610389600480360381019061038491906132d0565b610a0b565b60405161039792919061330e565b60405180910390f35b3480156103ab575f80fd5b506103b4610be7565b005b3480156103c1575f80fd5b506103dc60048036038101906103d79190613280565b610c9a565b005b6103f860048036038101906103f3919061316d565b610ce9565b005b348015610405575f80fd5b50610420600480360381019061041b9190613396565b610eb9565b005b34801561042d575f80fd5b50610436610ed7565b005b348015610443575f80fd5b5061045e6004803603810190610459919061316d565b611013565b005b34801561046b575f80fd5b506104866004803603810190610481919061316d565b611069565b60405161049391906131d7565b60405180910390f35b3480156104a7575f80fd5b506104c260048036038101906104bd91906133e1565b6110ed565b6040516104cf9190613267565b60405180910390f35b3480156104e3575f80fd5b506104ec6111a1565b005b3480156104f9575f80fd5b506105026111b4565b005b34801561050f575f80fd5b506105186111e6565b60405161052591906131d7565b60405180910390f35b348015610539575f80fd5b506105426111f4565b60405161054f9190613267565b60405180910390f35b348015610563575f80fd5b5061057e6004803603810190610579919061344d565b6111fa565b005b34801561058b575f80fd5b506105a660048036038101906105a1919061316d565b611210565b005b3480156105b3575f80fd5b506105ce60048036038101906105c9919061316d565b611266565b005b3480156105db575f80fd5b506105e4611278565b6040516105f1919061311a565b60405180910390f35b348015610605575f80fd5b5061060e611308565b60405161061b9190613267565b60405180910390f35b34801561062f575f80fd5b5061064a600480360381019061064591906134b5565b61130e565b005b348015610657575f80fd5b50610672600480360381019061066d91906133e1565b611327565b60405161067f9190613267565b60405180910390f35b348015610693575f80fd5b5061069c61133c565b6040516106a9919061354e565b60405180910390f35b3480156106bd575f80fd5b506106d860048036038101906106d3919061321a565b611361565b005b3480156106e5575f80fd5b5061070060048036038101906106fb919061368f565b6113ed565b005b34801561070d575f80fd5b50610728600480360381019061072391906133e1565b61143e565b005b348015610735575f80fd5b50610750600480360381019061074b919061316d565b61156b565b60405161075d919061311a565b60405180910390f35b348015610771575f80fd5b5061077a61160f565b6040516107879190613077565b60405180910390f35b34801561079b575f80fd5b506107a4611621565b6040516107b19190613267565b60405180910390f35b3480156107c5575f80fd5b506107e060048036038101906107db919061370f565b611648565b6040516107ed9190613077565b60405180910390f35b348015610801575f80fd5b5061080a6116d6565b6040516108179190613077565b60405180910390f35b34801561082b575f80fd5b50610846600480360381019061084191906133e1565b6116e9565b005b5f6108528261176d565b9050919050565b60605f80546108679061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546108939061377a565b80156108de5780601f106108b5576101008083540402835291602001916108de565b820191905f5260205f20905b8154815290600101906020018083116108c157829003601f168201915b5050505050905090565b5f6108f2826117e6565b610931576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109289061381a565b60405180910390fd5b60065f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109738161184e565b61097d838361198a565b505050565b5f6003547f00000000000000000000000000000000000000000000000000000000000027106109b19190613865565b905090565b600d5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109fa576109f93361184e565b5b610a05848484611aa0565b50505050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610b945760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f610b9d611b00565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610bc99190613898565b610bd39190613906565b9050815f0151819350935050509250929050565b610bef611b09565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610c1490613963565b5f6040518083038185875af1925050503d805f8114610c4e576040519150601f19603f3d011682016040523d82523d5f602084013e610c53565b606091505b5050905080610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e906139c1565b60405180910390fd5b50565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cd857610cd73361184e565b5b610ce3848484611b90565b50505050565b60115f9054906101000a900460ff16610d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2e90613a29565b60405180910390fd5b3481600f54610d469190613898565b1115610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90613a91565b60405180910390fd5b600e54811115610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613af9565b60405180910390fd5b600d548160125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610e189190613b17565b1115610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613b94565b60405180910390fd5b8060125f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610ea59190613b17565b92505081905550610eb63382611baf565b50565b610ec1611b09565b818160109182610ed2929190613d50565b505050565b610edf6111e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f43576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60149054906101000a900460ff1615610f8a576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b61101b611b09565b80600e540361105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690613e67565b60405180910390fd5b80600e8190555050565b5f8061107483611bbd565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90613ef5565b60405180910390fd5b80915050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390613f83565b60405180910390fd5b60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6111a9611b09565b6111b25f611bf6565b565b6111bc611b09565b60115f9054906101000a900460ff161560115f6101000a81548160ff021916908315150217905550565b5f6111ef611cb9565b905090565b600e5481565b611202611b09565b61120c8282611ce1565b5050565b611218611b09565b80600d540361125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390613e67565b60405180910390fd5b80600d8190555050565b61126e611b09565b80600f8190555050565b6060600180546112879061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546112b39061377a565b80156112fe5780601f106112d5576101008083540402835291602001916112fe565b820191905f5260205f20905b8154815290600101906020018083116112e157829003601f168201915b5050505050905090565b600f5481565b816113188161184e565b6113228383611e7c565b505050565b6012602052805f5260405f205f915090505481565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611369611b09565b5f73ffffffffffffffffffffffffffffffffffffffff1661138982611bbd565b73ffffffffffffffffffffffffffffffffffffffff16146113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690613feb565b60405180910390fd5b6113e98282611e92565b5050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142b5761142a3361184e565b5b61143785858585612042565b5050505050565b6114466111e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114aa576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60149054906101000a900460ff16156114f1576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de4768160405161156091906131d7565b60405180910390a150565b6060611576826117e6565b6115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90614079565b60405180910390fd5b5f6115be6120a4565b90505f8151116115dc5760405180602001604052805f815250611607565b806115e684612134565b6040516020016115f792919061411b565b6040516020818303038152906040525b915050919050565b60115f9054906101000a900460ff1681565b5f7f0000000000000000000000000000000000000000000000000000000000002710905090565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600c60149054906101000a900460ff1681565b6116f1611b09565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611761575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161175891906131d7565b60405180910390fd5b61176a81611bf6565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117df57506117de826121fe565b5b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff1660045f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b5f600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156118c557505f8173ffffffffffffffffffffffffffffffffffffffff163b115b15611986578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401611905929190614149565b602060405180830381865afa158015611920573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119449190614184565b61198557816040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161197c91906131d7565b60405180910390fd5b5b5050565b5f61199482611069565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fb9061421f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611a236122df565b73ffffffffffffffffffffffffffffffffffffffff161480611a525750611a5181611a4c6122df565b611648565b5b611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906142ad565b60405180910390fd5b611a9b83836122e6565b505050565b611ab1611aab6122df565b8261239c565b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae79061433b565b60405180910390fd5b611afb838383612478565b505050565b5f612710905090565b611b116122df565b73ffffffffffffffffffffffffffffffffffffffff16611b2f6111e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b8e57611b526122df565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611b8591906131d7565b60405180910390fd5b565b611baa83838360405180602001604052805f8152506113ed565b505050565b611bb982826126d3565b5050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f611cea611b00565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611d4f5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611d46929190614389565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611dbf575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611db691906131d7565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b611e8e611e876122df565b83836128e2565b5050565b3273ffffffffffffffffffffffffffffffffffffffff16611eb16122df565b73ffffffffffffffffffffffffffffffffffffffff1614611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe906143fa565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c90614462565b60405180910390fd5b60016003541015611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb2906144f0565b60405180910390fd5b5f611fc882600354612a49565b905060035f8154611fd89061450e565b91905081905550611fe98382612b02565b600160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546120369190613b17565b92505081905550505050565b61205361204d6122df565b8361239c565b612092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120899061433b565b60405180910390fd5b61209e84848484612bc6565b50505050565b6060601080546120b39061377a565b80601f01602080910402602001604051908101604052809291908181526020018280546120df9061377a565b801561212a5780601f106121015761010080835404028352916020019161212a565b820191905f5260205f20905b81548152906001019060200180831161210d57829003601f168201915b5050505050905090565b60605f600161214284612c22565b0190505f8167ffffffffffffffff8111156121605761215f61356b565b5b6040519080825280601f01601f1916602001820160405280156121925781602001600182028036833780820191505090505b5090505f82602001820190505b6001156121f3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816121e8576121e76138d9565b5b0494505f850361219f575b819350505050919050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d857506122d782612d73565b5b9050919050565b5f33905090565b8160065f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661235683611069565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f6123a6826117e6565b6123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc906145a5565b60405180910390fd5b5f6123ef83611069565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061245e57508373ffffffffffffffffffffffffffffffffffffffff16612446846108e8565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246f575061246e8185611648565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661249882611069565b73ffffffffffffffffffffffffffffffffffffffff16146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614633565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361255c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612553906146c1565b60405180910390fd5b612567838383612ddc565b6125715f826122e6565b600160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546125be9190613865565b92505081905550600160055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546126129190613b17565b925050819055508160045f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126ce838383612de1565b505050565b3273ffffffffffffffffffffffffffffffffffffffff166126f26122df565b73ffffffffffffffffffffffffffffffffffffffff1614612748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273f906143fa565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614462565b60405180910390fd5b5f81116127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef9061474f565b60405180910390fd5b80600354101561283d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612834906144f0565b60405180910390fd5b5f60035490505f5b82811015612882575f6128588584612de6565b90506128648582612b02565b8261286e9061450e565b9250508061287b9061476d565b9050612845565b50806003819055508160055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546128d69190613b17565b92505081905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612950576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612947906147fe565b60405180910390fd5b8060075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a3c9190613077565b60405180910390a3505050565b5f8060025f8581526020019081526020015f205490505f808203612a6f57849050612a73565b8190505b5f600185612a819190613865565b90505f60025f8381526020019081526020015f20549050818714612ad9575f8103612ac1578160025f8981526020019081526020015f2081905550612ad8565b8060025f8981526020019081526020015f20819055505b5b5f8114612af55760025f8381526020019081526020015f205f90555b8294505050505092915050565b612b0d5f8383612ddc565b8160045f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bc25f8383612de1565b5050565b612bd1848484612478565b612bdd84848484612e4f565b612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c139061488c565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c7e577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c7457612c736138d9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612cbb576d04ee2d6d415b85acef81000000008381612cb157612cb06138d9565b5b0492506020810190505b662386f26fc100008310612cea57662386f26fc100008381612ce057612cdf6138d9565b5b0492506010810190505b6305f5e1008310612d13576305f5e1008381612d0957612d086138d9565b5b0492506008810190505b6127108310612d38576127108381612d2e57612d2d6138d9565b5b0492506004810190505b60648310612d5b5760648381612d5157612d506138d9565b5b0492506002810190505b600a8310612d6a576001810190505b80915050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b5f80833a4342600143612df99190613865565b403088604051602001612e1297969594939291906148c2565b604051602081830303815290604052805190602001205f1c90505f8382612e39919061492f565b9050612e458185612a49565b9250505092915050565b5f612e5984612fbb565b15612fae578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e826122df565b8786866040518563ffffffff1660e01b8152600401612ea494939291906149b1565b6020604051808303815f875af1925050508015612edf57506040513d601f19601f82011682018060405250810190612edc9190614a0f565b60015b612f5e573d805f8114612f0d576040519150601f19603f3d011682016040523d82523d5f602084013e612f12565b606091505b505f815103612f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4d9061488c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fb3565b600190505b949350505050565b5f80823b90505f8111915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301181612fdd565b811461301b575f80fd5b50565b5f8135905061302c81613008565b92915050565b5f6020828403121561304757613046612fd5565b5b5f6130548482850161301e565b91505092915050565b5f8115159050919050565b6130718161305d565b82525050565b5f60208201905061308a5f830184613068565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156130c75780820151818401526020810190506130ac565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6130ec82613090565b6130f6818561309a565b93506131068185602086016130aa565b61310f816130d2565b840191505092915050565b5f6020820190508181035f83015261313281846130e2565b905092915050565b5f819050919050565b61314c8161313a565b8114613156575f80fd5b50565b5f8135905061316781613143565b92915050565b5f6020828403121561318257613181612fd5565b5b5f61318f84828501613159565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6131c182613198565b9050919050565b6131d1816131b7565b82525050565b5f6020820190506131ea5f8301846131c8565b92915050565b6131f9816131b7565b8114613203575f80fd5b50565b5f81359050613214816131f0565b92915050565b5f80604083850312156132305761322f612fd5565b5b5f61323d85828601613206565b925050602061324e85828601613159565b9150509250929050565b6132618161313a565b82525050565b5f60208201905061327a5f830184613258565b92915050565b5f805f6060848603121561329757613296612fd5565b5b5f6132a486828701613206565b93505060206132b586828701613206565b92505060406132c686828701613159565b9150509250925092565b5f80604083850312156132e6576132e5612fd5565b5b5f6132f385828601613159565b925050602061330485828601613159565b9150509250929050565b5f6040820190506133215f8301856131c8565b61332e6020830184613258565b9392505050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261335657613355613335565b5b8235905067ffffffffffffffff81111561337357613372613339565b5b60208301915083600182028301111561338f5761338e61333d565b5b9250929050565b5f80602083850312156133ac576133ab612fd5565b5b5f83013567ffffffffffffffff8111156133c9576133c8612fd9565b5b6133d585828601613341565b92509250509250929050565b5f602082840312156133f6576133f5612fd5565b5b5f61340384828501613206565b91505092915050565b5f6bffffffffffffffffffffffff82169050919050565b61342c8161340c565b8114613436575f80fd5b50565b5f8135905061344781613423565b92915050565b5f806040838503121561346357613462612fd5565b5b5f61347085828601613206565b925050602061348185828601613439565b9150509250929050565b6134948161305d565b811461349e575f80fd5b50565b5f813590506134af8161348b565b92915050565b5f80604083850312156134cb576134ca612fd5565b5b5f6134d885828601613206565b92505060206134e9858286016134a1565b9150509250929050565b5f819050919050565b5f61351661351161350c84613198565b6134f3565b613198565b9050919050565b5f613527826134fc565b9050919050565b5f6135388261351d565b9050919050565b6135488161352e565b82525050565b5f6020820190506135615f83018461353f565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6135a1826130d2565b810181811067ffffffffffffffff821117156135c0576135bf61356b565b5b80604052505050565b5f6135d2612fcc565b90506135de8282613598565b919050565b5f67ffffffffffffffff8211156135fd576135fc61356b565b5b613606826130d2565b9050602081019050919050565b828183375f83830152505050565b5f61363361362e846135e3565b6135c9565b90508281526020810184848401111561364f5761364e613567565b5b61365a848285613613565b509392505050565b5f82601f83011261367657613675613335565b5b8135613686848260208601613621565b91505092915050565b5f805f80608085870312156136a7576136a6612fd5565b5b5f6136b487828801613206565b94505060206136c587828801613206565b93505060406136d687828801613159565b925050606085013567ffffffffffffffff8111156136f7576136f6612fd9565b5b61370387828801613662565b91505092959194509250565b5f806040838503121561372557613724612fd5565b5b5f61373285828601613206565b925050602061374385828601613206565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061379157607f821691505b6020821081036137a4576137a361374d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e65785f8201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b5f613804602c8361309a565b915061380f826137aa565b604082019050919050565b5f6020820190508181035f830152613831816137f8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61386f8261313a565b915061387a8361313a565b925082820390508181111561389257613891613838565b5b92915050565b5f6138a28261313a565b91506138ad8361313a565b92508282026138bb8161313a565b915082820484148315176138d2576138d1613838565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6139108261313a565b915061391b8361313a565b92508261392b5761392a6138d9565b5b828204905092915050565b5f81905092915050565b50565b5f61394e5f83613936565b915061395982613940565b5f82019050919050565b5f61396d82613943565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f6139ab60108361309a565b91506139b682613977565b602082019050919050565b5f6020820190508181035f8301526139d88161399f565b9050919050565b7f53616c65206973206e6f7420656e61626c6564000000000000000000000000005f82015250565b5f613a1360138361309a565b9150613a1e826139df565b602082019050919050565b5f6020820190508181035f830152613a4081613a07565b9050919050565b7f4e6f7420656e6f756768204554480000000000000000000000000000000000005f82015250565b5f613a7b600e8361309a565b9150613a8682613a47565b602082019050919050565b5f6020820190508181035f830152613aa881613a6f565b9050919050565b7f4e6f206d6f7265207468616e20323520706572205458000000000000000000005f82015250565b5f613ae360168361309a565b9150613aee82613aaf565b602082019050919050565b5f6020820190508181035f830152613b1081613ad7565b9050919050565b5f613b218261313a565b9150613b2c8361313a565b9250828201905080821115613b4457613b43613838565b5b92915050565b7f43616e206e6f74206d696e74206d6f7265207468616e20353020746f74616c005f82015250565b5f613b7e601f8361309a565b9150613b8982613b4a565b602082019050919050565b5f6020820190508181035f830152613bab81613b72565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613c187fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613bdd565b613c228683613bdd565b95508019841693508086168417925050509392505050565b5f613c54613c4f613c4a8461313a565b6134f3565b61313a565b9050919050565b5f819050919050565b613c6d83613c3a565b613c81613c7982613c5b565b848454613be9565b825550505050565b5f90565b613c95613c89565b613ca0818484613c64565b505050565b5b81811015613cc357613cb85f82613c8d565b600181019050613ca6565b5050565b601f821115613d0857613cd981613bbc565b613ce284613bce565b81016020851015613cf1578190505b613d05613cfd85613bce565b830182613ca5565b50505b505050565b5f82821c905092915050565b5f613d285f1984600802613d0d565b1980831691505092915050565b5f613d408383613d19565b9150826002028217905092915050565b613d5a8383613bb2565b67ffffffffffffffff811115613d7357613d7261356b565b5b613d7d825461377a565b613d88828285613cc7565b5f601f831160018114613db5575f8415613da3578287013590505b613dad8582613d35565b865550613e14565b601f198416613dc386613bbc565b5f5b82811015613dea57848901358255600182019150602085019450602081019050613dc5565b86831015613e075784890135613e03601f891682613d19565b8355505b6001600288020188555050505b50505050505050565b7f4e65772069732053616d65206173204f6c6400000000000000000000000000005f82015250565b5f613e5160128361309a565b9150613e5c82613e1d565b602082019050919050565b5f6020820190508181035f830152613e7e81613e45565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e65786973745f8201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b5f613edf60298361309a565b9150613eea82613e85565b604082019050919050565b5f6020820190508181035f830152613f0c81613ed3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a655f8201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b5f613f6d602a8361309a565b9150613f7882613f13565b604082019050919050565b5f6020820190508181035f830152613f9a81613f61565b9050919050565b7f546f6b656e20686173206265656e206d696e7465642e000000000000000000005f82015250565b5f613fd560168361309a565b9150613fe082613fa1565b602082019050919050565b5f6020820190508181035f83015261400281613fc9565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f614063602f8361309a565b915061406e82614009565b604082019050919050565b5f6020820190508181035f83015261409081614057565b9050919050565b5f81905092915050565b5f6140ab82613090565b6140b58185614097565b93506140c58185602086016130aa565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f614105600583614097565b9150614110826140d1565b600582019050919050565b5f61412682856140a1565b915061413282846140a1565b915061413d826140f9565b91508190509392505050565b5f60408201905061415c5f8301856131c8565b61416960208301846131c8565b9392505050565b5f8151905061417e8161348b565b92915050565b5f6020828403121561419957614198612fd5565b5b5f6141a684828501614170565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e655f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f61420960218361309a565b9150614214826141af565b604082019050919050565b5f6020820190508181035f830152614236816141fd565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f775f8201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b5f61429760388361309a565b91506142a28261423d565b604082019050919050565b5f6020820190508181035f8301526142c48161428b565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f5f8201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b5f61432560318361309a565b9150614330826142cb565b604082019050919050565b5f6020820190508181035f83015261435281614319565b9050919050565b5f61437361436e6143698461340c565b6134f3565b61313a565b9050919050565b61438381614359565b82525050565b5f60408201905061439c5f83018561437a565b6143a96020830184613258565b9392505050565b7f436f6e7472616374732063616e6e6f74206d696e7400000000000000000000005f82015250565b5f6143e460158361309a565b91506143ef826143b0565b602082019050919050565b5f6020820190508181035f830152614411816143d8565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f20616464726573735f82015250565b5f61444c60208361309a565b915061445782614418565b602082019050919050565b5f6020820190508181035f83015261447981614440565b9050919050565b7f455243373231723a206d696e74696e67206d6f726520746f6b656e73207468615f8201527f6e20617661696c61626c65000000000000000000000000000000000000000000602082015250565b5f6144da602b8361309a565b91506144e582614480565b604082019050919050565b5f6020820190508181035f830152614507816144ce565b9050919050565b5f6145188261313a565b91505f820361452a57614529613838565b5b600182039050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e65785f8201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b5f61458f602c8361309a565b915061459a82614535565b604082019050919050565b5f6020820190508181035f8301526145bc81614583565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f7272656374205f8201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b5f61461d60258361309a565b9150614628826145c3565b604082019050919050565b5f6020820190508181035f83015261464a81614611565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6146ab60248361309a565b91506146b682614651565b604082019050919050565b5f6020820190508181035f8301526146d88161469f565b9050919050565b7f455243373231723a206e65656420746f206d696e74206174206c65617374206f5f8201527f6e6520746f6b656e000000000000000000000000000000000000000000000000602082015250565b5f61473960288361309a565b9150614744826146df565b604082019050919050565b5f6020820190508181035f8301526147668161472d565b9050919050565b5f6147778261313a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036147a9576147a8613838565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c6572000000000000005f82015250565b5f6147e860198361309a565b91506147f3826147b4565b602082019050919050565b5f6020820190508181035f830152614815816147dc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e2045524337323152655f8201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b5f61487660328361309a565b91506148818261481c565b604082019050919050565b5f6020820190508181035f8301526148a38161486a565b9050919050565b5f819050919050565b6148bc816148aa565b82525050565b5f60e0820190506148d55f83018a6131c8565b6148e26020830189613258565b6148ef6040830188613258565b6148fc6060830187613258565b61490960808301866148b3565b61491660a08301856131c8565b61492360c0830184613258565b98975050505050505050565b5f6149398261313a565b91506149448361313a565b925082614954576149536138d9565b5b828206905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f6149838261495f565b61498d8185614969565b935061499d8185602086016130aa565b6149a6816130d2565b840191505092915050565b5f6080820190506149c45f8301876131c8565b6149d160208301866131c8565b6149de6040830185613258565b81810360608301526149f08184614979565b905095945050505050565b5f81519050614a0981613008565b92915050565b5f60208284031215614a2457614a23612fd5565b5b5f614a31848285016149fb565b9150509291505056fea26469706673582212206ea27391e29e7ad6ec510006b8543e17496b8091a5aa70fe7ff06e859781b92f64736f6c63430008140033

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.