ETH Price: $3,157.86 (+2.14%)

Token

HashbetShares (HBS)
 

Overview

Max Total Supply

0 HBS

Holders

4,806

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 HBS
0x8912619f80722Ef4aA1b47D353305AFc42B0c2eb
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:
HashbetShares

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 7 of 15: HashbetShares.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "./ERC721.sol";
import "./Counters.sol";
import "./DefaultOperatorFilterer.sol";

contract HashbetShares is ERC721, DefaultOperatorFilterer {
    using Counters for Counters.Counter;
    Counters.Counter private currentTokenId;

    /// @dev Base token URI used as a prefix by tokenURI().
    string public baseTokenURI;
    
    constructor() ERC721("HashbetShares", "HBS") {}
    
    function mintTo(address recipient)
        public
        returns (uint256)
    {
        currentTokenId.increment();
        uint256 newItemId = currentTokenId.current();
        _safeMint(recipient, newItemId);
        return newItemId;
    }

    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);
    }

    /// @dev Returns an URI for a given token ID
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    /// @dev Sets the base token URI prefix.
    function setBaseTokenURI(string memory _baseTokenURI) public {
        baseTokenURI = _baseTokenURI;
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @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 4 of 15: DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

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

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

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

pragma solidity ^0.8.0;

import "./Math.sol";

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600d81526020016c4861736862657453686172657360981b8152506040518060400160405280600381526020016248425360e81b81525081600090816200007c919062000280565b5060016200008b828262000280565b5050506daaeb6d7670e522a718067333cd4e3b15620001d35780156200012157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010257600080fd5b505af115801562000117573d6000803e3d6000fd5b50505050620001d3565b6001600160a01b03821615620001725760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000e7565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001b957600080fd5b505af1158015620001ce573d6000803e3d6000fd5b505050505b50506200034c565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020657607f821691505b6020821081036200022757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027b57600081815260208120601f850160051c81016020861015620002565750805b601f850160051c820191505b81811015620002775782815560010162000262565b5050505b505050565b81516001600160401b038111156200029c576200029c620001db565b620002b481620002ad8454620001f1565b846200022d565b602080601f831160018114620002ec5760008415620002d35750858301515b600019600386901b1c1916600185901b17855562000277565b600085815260208120601f198616915b828110156200031d57888601518255948401946001909101908401620002fc565b50858210156200033c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117bc806200035c6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80636352211e116100a2578063a22cb46511610071578063a22cb4651461022a578063b88d4fde1461023d578063c87b56dd14610250578063d547cfb714610263578063e985e9c51461026b57600080fd5b80636352211e146101db57806370a08231146101ee578063755edd171461020f57806395d89b411461022257600080fd5b806323b872dd116100de57806323b872dd1461018d57806330176e13146101a057806341f43434146101b357806342842e0e146101c857600080fd5b806301ffc9a71461011057806306fdde0314610138578063081812fc1461014d578063095ea7b314610178575b600080fd5b61012361011e366004611179565b61027e565b60405190151581526020015b60405180910390f35b6101406102d0565b60405161012f91906111e6565b61016061015b3660046111f9565b610362565b6040516001600160a01b03909116815260200161012f565b61018b61018636600461122e565b610389565b005b61018b61019b366004611258565b6103a2565b61018b6101ae366004611320565b6103cd565b6101606daaeb6d7670e522a718067333cd4e81565b61018b6101d6366004611258565b6103dd565b6101606101e93660046111f9565b610402565b6102016101fc366004611369565b610467565b60405190815260200161012f565b61020161021d366004611369565b6104ed565b610140610514565b61018b610238366004611392565b610523565b61018b61024b3660046113c9565b610537565b61014061025e3660046111f9565b610564565b6101406105cb565b610123610279366004611445565b610659565b60006001600160e01b031982166380ac58cd60e01b14806102af57506001600160e01b03198216635b5e139f60e01b145b806102ca57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546102df90611478565b80601f016020809104026020016040519081016040528092919081815260200182805461030b90611478565b80156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b600061036d82610687565b506000908152600460205260409020546001600160a01b031690565b81610393816106e9565b61039d83836107a2565b505050565b826001600160a01b03811633146103bc576103bc336106e9565b6103c78484846108b2565b50505050565b60076103d98282611500565b5050565b826001600160a01b03811633146103f7576103f7336106e9565b6103c78484846108e3565b6000818152600260205260408120546001600160a01b0316806102ca5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b60006001600160a01b0382166104d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161045e565b506001600160a01b031660009081526003602052604090205490565b60006104fd600680546001019055565b600061050860065490565b90506102ca83826108fe565b6060600180546102df90611478565b8161052d816106e9565b61039d8383610918565b836001600160a01b038116331461055157610551336106e9565b61055d85858585610923565b5050505050565b606061056f82610687565b6000610579610955565b9050600081511161059957604051806020016040528060008152506105c4565b806105a384610964565b6040516020016105b49291906115c0565b6040516020818303038152906040525b9392505050565b600780546105d890611478565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611478565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600260205260409020546001600160a01b03166106e65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045e565b50565b6daaeb6d7670e522a718067333cd4e3b156106e657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a91906115ef565b6106e657604051633b79c77360e21b81526001600160a01b038216600482015260240161045e565b60006107ad82610402565b9050806001600160a01b0316836001600160a01b03160361081a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161045e565b336001600160a01b038216148061083657506108368133610659565b6108a85760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161045e565b61039d83836109f7565b6108bc3382610a65565b6108d85760405162461bcd60e51b815260040161045e9061160c565b61039d838383610ac4565b61039d83838360405180602001604052806000815250610537565b6103d9828260405180602001604052806000815250610c35565b6103d9338383610c68565b61092d3383610a65565b6109495760405162461bcd60e51b815260040161045e9061160c565b6103c784848484610d36565b6060600780546102df90611478565b6060600061097183610d69565b600101905060008167ffffffffffffffff81111561099157610991611294565b6040519080825280601f01601f1916602001820160405280156109bb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846109c557509392505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610a2c82610402565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610a7183610402565b9050806001600160a01b0316846001600160a01b03161480610a985750610a988185610659565b80610abc5750836001600160a01b0316610ab184610362565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ad782610402565b6001600160a01b031614610afd5760405162461bcd60e51b815260040161045e90611659565b6001600160a01b038216610b5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045e565b610b6c8383836001610e41565b826001600160a01b0316610b7f82610402565b6001600160a01b031614610ba55760405162461bcd60e51b815260040161045e90611659565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610c3f8383610ec9565b610c4c6000848484611062565b61039d5760405162461bcd60e51b815260040161045e9061169e565b816001600160a01b0316836001600160a01b031603610cc95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161045e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610d41848484610ac4565b610d4d84848484611062565b6103c75760405162461bcd60e51b815260040161045e9061169e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610da85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610dd4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610df257662386f26fc10000830492506010015b6305f5e1008310610e0a576305f5e100830492506008015b6127108310610e1e57612710830492506004015b60648310610e30576064830492506002015b600a83106102ca5760010192915050565b60018111156103c7576001600160a01b03841615610e87576001600160a01b03841660009081526003602052604081208054839290610e81908490611706565b90915550505b6001600160a01b038316156103c7576001600160a01b03831660009081526003602052604081208054839290610ebe908490611719565b909155505050505050565b6001600160a01b038216610f1f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161045e565b6000818152600260205260409020546001600160a01b031615610f845760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045e565b610f92600083836001610e41565b6000818152600260205260409020546001600160a01b031615610ff75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561115857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110a690339089908890889060040161172c565b6020604051808303816000875af19250505080156110e1575060408051601f3d908101601f191682019092526110de91810190611769565b60015b61113e573d80801561110f576040519150601f19603f3d011682016040523d82523d6000602084013e611114565b606091505b5080516000036111365760405162461bcd60e51b815260040161045e9061169e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610abc565b506001949350505050565b6001600160e01b0319811681146106e657600080fd5b60006020828403121561118b57600080fd5b81356105c481611163565b60005b838110156111b1578181015183820152602001611199565b50506000910152565b600081518084526111d2816020860160208601611196565b601f01601f19169290920160200192915050565b6020815260006105c460208301846111ba565b60006020828403121561120b57600080fd5b5035919050565b80356001600160a01b038116811461122957600080fd5b919050565b6000806040838503121561124157600080fd5b61124a83611212565b946020939093013593505050565b60008060006060848603121561126d57600080fd5b61127684611212565b925061128460208501611212565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112c5576112c5611294565b604051601f8501601f19908116603f011681019082821181831017156112ed576112ed611294565b8160405280935085815286868601111561130657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561133257600080fd5b813567ffffffffffffffff81111561134957600080fd5b8201601f8101841361135a57600080fd5b610abc848235602084016112aa565b60006020828403121561137b57600080fd5b6105c482611212565b80151581146106e657600080fd5b600080604083850312156113a557600080fd5b6113ae83611212565b915060208301356113be81611384565b809150509250929050565b600080600080608085870312156113df57600080fd5b6113e885611212565b93506113f660208601611212565b925060408501359150606085013567ffffffffffffffff81111561141957600080fd5b8501601f8101871361142a57600080fd5b611439878235602084016112aa565b91505092959194509250565b6000806040838503121561145857600080fd5b61146183611212565b915061146f60208401611212565b90509250929050565b600181811c9082168061148c57607f821691505b6020821081036114ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561039d57600081815260208120601f850160051c810160208610156114d95750805b601f850160051c820191505b818110156114f8578281556001016114e5565b505050505050565b815167ffffffffffffffff81111561151a5761151a611294565b61152e816115288454611478565b846114b2565b602080601f831160018114611563576000841561154b5750858301515b600019600386901b1c1916600185901b1785556114f8565b600085815260208120601f198616915b8281101561159257888601518255948401946001909101908401611573565b50858210156115b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516115d2818460208801611196565b8351908301906115e6818360208801611196565b01949350505050565b60006020828403121561160157600080fd5b81516105c481611384565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b818103818111156102ca576102ca6116f0565b808201808211156102ca576102ca6116f0565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061175f908301846111ba565b9695505050505050565b60006020828403121561177b57600080fd5b81516105c48161116356fea26469706673582212207cb63b23e58f57f9e95a6feba44e459809ec4a5ccd4161e42ece34e51c9d031064736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80636352211e116100a2578063a22cb46511610071578063a22cb4651461022a578063b88d4fde1461023d578063c87b56dd14610250578063d547cfb714610263578063e985e9c51461026b57600080fd5b80636352211e146101db57806370a08231146101ee578063755edd171461020f57806395d89b411461022257600080fd5b806323b872dd116100de57806323b872dd1461018d57806330176e13146101a057806341f43434146101b357806342842e0e146101c857600080fd5b806301ffc9a71461011057806306fdde0314610138578063081812fc1461014d578063095ea7b314610178575b600080fd5b61012361011e366004611179565b61027e565b60405190151581526020015b60405180910390f35b6101406102d0565b60405161012f91906111e6565b61016061015b3660046111f9565b610362565b6040516001600160a01b03909116815260200161012f565b61018b61018636600461122e565b610389565b005b61018b61019b366004611258565b6103a2565b61018b6101ae366004611320565b6103cd565b6101606daaeb6d7670e522a718067333cd4e81565b61018b6101d6366004611258565b6103dd565b6101606101e93660046111f9565b610402565b6102016101fc366004611369565b610467565b60405190815260200161012f565b61020161021d366004611369565b6104ed565b610140610514565b61018b610238366004611392565b610523565b61018b61024b3660046113c9565b610537565b61014061025e3660046111f9565b610564565b6101406105cb565b610123610279366004611445565b610659565b60006001600160e01b031982166380ac58cd60e01b14806102af57506001600160e01b03198216635b5e139f60e01b145b806102ca57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546102df90611478565b80601f016020809104026020016040519081016040528092919081815260200182805461030b90611478565b80156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b600061036d82610687565b506000908152600460205260409020546001600160a01b031690565b81610393816106e9565b61039d83836107a2565b505050565b826001600160a01b03811633146103bc576103bc336106e9565b6103c78484846108b2565b50505050565b60076103d98282611500565b5050565b826001600160a01b03811633146103f7576103f7336106e9565b6103c78484846108e3565b6000818152600260205260408120546001600160a01b0316806102ca5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b60006001600160a01b0382166104d15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161045e565b506001600160a01b031660009081526003602052604090205490565b60006104fd600680546001019055565b600061050860065490565b90506102ca83826108fe565b6060600180546102df90611478565b8161052d816106e9565b61039d8383610918565b836001600160a01b038116331461055157610551336106e9565b61055d85858585610923565b5050505050565b606061056f82610687565b6000610579610955565b9050600081511161059957604051806020016040528060008152506105c4565b806105a384610964565b6040516020016105b49291906115c0565b6040516020818303038152906040525b9392505050565b600780546105d890611478565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611478565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600260205260409020546001600160a01b03166106e65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045e565b50565b6daaeb6d7670e522a718067333cd4e3b156106e657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a91906115ef565b6106e657604051633b79c77360e21b81526001600160a01b038216600482015260240161045e565b60006107ad82610402565b9050806001600160a01b0316836001600160a01b03160361081a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161045e565b336001600160a01b038216148061083657506108368133610659565b6108a85760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161045e565b61039d83836109f7565b6108bc3382610a65565b6108d85760405162461bcd60e51b815260040161045e9061160c565b61039d838383610ac4565b61039d83838360405180602001604052806000815250610537565b6103d9828260405180602001604052806000815250610c35565b6103d9338383610c68565b61092d3383610a65565b6109495760405162461bcd60e51b815260040161045e9061160c565b6103c784848484610d36565b6060600780546102df90611478565b6060600061097183610d69565b600101905060008167ffffffffffffffff81111561099157610991611294565b6040519080825280601f01601f1916602001820160405280156109bb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846109c557509392505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610a2c82610402565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610a7183610402565b9050806001600160a01b0316846001600160a01b03161480610a985750610a988185610659565b80610abc5750836001600160a01b0316610ab184610362565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ad782610402565b6001600160a01b031614610afd5760405162461bcd60e51b815260040161045e90611659565b6001600160a01b038216610b5f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045e565b610b6c8383836001610e41565b826001600160a01b0316610b7f82610402565b6001600160a01b031614610ba55760405162461bcd60e51b815260040161045e90611659565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610c3f8383610ec9565b610c4c6000848484611062565b61039d5760405162461bcd60e51b815260040161045e9061169e565b816001600160a01b0316836001600160a01b031603610cc95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161045e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610d41848484610ac4565b610d4d84848484611062565b6103c75760405162461bcd60e51b815260040161045e9061169e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610da85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610dd4576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610df257662386f26fc10000830492506010015b6305f5e1008310610e0a576305f5e100830492506008015b6127108310610e1e57612710830492506004015b60648310610e30576064830492506002015b600a83106102ca5760010192915050565b60018111156103c7576001600160a01b03841615610e87576001600160a01b03841660009081526003602052604081208054839290610e81908490611706565b90915550505b6001600160a01b038316156103c7576001600160a01b03831660009081526003602052604081208054839290610ebe908490611719565b909155505050505050565b6001600160a01b038216610f1f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161045e565b6000818152600260205260409020546001600160a01b031615610f845760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045e565b610f92600083836001610e41565b6000818152600260205260409020546001600160a01b031615610ff75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561115857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110a690339089908890889060040161172c565b6020604051808303816000875af19250505080156110e1575060408051601f3d908101601f191682019092526110de91810190611769565b60015b61113e573d80801561110f576040519150601f19603f3d011682016040523d82523d6000602084013e611114565b606091505b5080516000036111365760405162461bcd60e51b815260040161045e9061169e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610abc565b506001949350505050565b6001600160e01b0319811681146106e657600080fd5b60006020828403121561118b57600080fd5b81356105c481611163565b60005b838110156111b1578181015183820152602001611199565b50506000910152565b600081518084526111d2816020860160208601611196565b601f01601f19169290920160200192915050565b6020815260006105c460208301846111ba565b60006020828403121561120b57600080fd5b5035919050565b80356001600160a01b038116811461122957600080fd5b919050565b6000806040838503121561124157600080fd5b61124a83611212565b946020939093013593505050565b60008060006060848603121561126d57600080fd5b61127684611212565b925061128460208501611212565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112c5576112c5611294565b604051601f8501601f19908116603f011681019082821181831017156112ed576112ed611294565b8160405280935085815286868601111561130657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561133257600080fd5b813567ffffffffffffffff81111561134957600080fd5b8201601f8101841361135a57600080fd5b610abc848235602084016112aa565b60006020828403121561137b57600080fd5b6105c482611212565b80151581146106e657600080fd5b600080604083850312156113a557600080fd5b6113ae83611212565b915060208301356113be81611384565b809150509250929050565b600080600080608085870312156113df57600080fd5b6113e885611212565b93506113f660208601611212565b925060408501359150606085013567ffffffffffffffff81111561141957600080fd5b8501601f8101871361142a57600080fd5b611439878235602084016112aa565b91505092959194509250565b6000806040838503121561145857600080fd5b61146183611212565b915061146f60208401611212565b90509250929050565b600181811c9082168061148c57607f821691505b6020821081036114ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561039d57600081815260208120601f850160051c810160208610156114d95750805b601f850160051c820191505b818110156114f8578281556001016114e5565b505050505050565b815167ffffffffffffffff81111561151a5761151a611294565b61152e816115288454611478565b846114b2565b602080601f831160018114611563576000841561154b5750858301515b600019600386901b1c1916600185901b1785556114f8565b600085815260208120601f198616915b8281101561159257888601518255948401946001909101908401611573565b50858210156115b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516115d2818460208801611196565b8351908301906115e6818360208801611196565b01949350505050565b60006020828403121561160157600080fd5b81516105c481611384565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b818103818111156102ca576102ca6116f0565b808201808211156102ca576102ca6116f0565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061175f908301846111ba565b9695505050505050565b60006020828403121561177b57600080fd5b81516105c48161116356fea26469706673582212207cb63b23e58f57f9e95a6feba44e459809ec4a5ccd4161e42ece34e51c9d031064736f6c63430008110033

Deployed Bytecode Sourcemap

147:1785:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1505:300:5;;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;1505:300:5;;;;;;;;2406:98;;;:::i;:::-;;;;;;;:::i;3870:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:15;;;1679:51;;1667:2;1652:18;3870:167:5;1533:203:15;882:155:6;;;;;;:::i;:::-;;:::i;:::-;;1043:161;;;;;;:::i;:::-;;:::i;1824:106::-;;;;;;:::i;:::-;;:::i;737:142:13:-;;836:42;737:142;;1210:169:6;;;;;;:::i;:::-;;:::i;2125:219:5:-;;;;;;:::i;:::-;;:::i;1864:204::-;;;;;;:::i;:::-;;:::i;:::-;;;4313:25:15;;;4301:2;4286:18;1864:204:5;4167:177:15;452:244:6;;;;;;:::i;:::-;;:::i;2568:102:5:-;;;:::i;702:174:6:-;;;;;;:::i;:::-;;:::i;1385:222::-;;;;;;:::i;:::-;;:::i;2736:276:5:-;;;;;;:::i;:::-;;:::i;358:26:6:-;;;:::i;4323:162:5:-;;;;;;:::i;:::-;;:::i;1505:300::-;1607:4;-1:-1:-1;;;;;;1642:40:5;;-1:-1:-1;;;1642:40:5;;:104;;-1:-1:-1;;;;;;;1698:48:5;;-1:-1:-1;;;1698:48:5;1642:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:4;;;1762:36:5;1623:175;1505:300;-1:-1:-1;;1505:300:5:o;2406:98::-;2460:13;2492:5;2485:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2406:98;:::o;3870:167::-;3946:7;3965:23;3980:7;3965:14;:23::i;:::-;-1:-1:-1;4006:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4006:24:5;;3870:167::o;882:155:6:-;978:8;2227:30:13;2248:8;2227:20;:30::i;:::-;998:32:6::1;1012:8;1022:7;998:13;:32::i;:::-;882:155:::0;;;:::o;1043:161::-;1144:4;-1:-1:-1;;;;;2054:18:13;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;1160:37:6::1;1179:4;1185:2;1189:7;1160:18;:37::i;:::-;1043:161:::0;;;;:::o;1824:106::-;1895:12;:28;1910:13;1895:12;:28;:::i;:::-;;1824:106;:::o;1210:169::-;1315:4;-1:-1:-1;;;;;2054:18:13;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;1331:41:6::1;1354:4;1360:2;1364:7;1331:22;:41::i;2125:219:5:-:0;2197:7;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;;2259:56;;;;-1:-1:-1;;;2259:56:5;;8520:2:15;2259:56:5;;;8502:21:15;8559:2;8539:18;;;8532:30;-1:-1:-1;;;8578:18:15;;;8571:54;8642:18;;2259:56:5;;;;;;;;1864:204;1936:7;-1:-1:-1;;;;;1963:19:5;;1955:73;;;;-1:-1:-1;;;1955:73:5;;8873:2:15;1955:73:5;;;8855:21:15;8912:2;8892:18;;;8885:30;8951:34;8931:18;;;8924:62;-1:-1:-1;;;9002:18:15;;;8995:39;9051:19;;1955:73:5;8671:405:15;1955:73:5;-1:-1:-1;;;;;;2045:16:5;;;;;:9;:16;;;;;;;1864:204::o;452:244:6:-;519:7;542:26;:14;1032:19:2;;1050:1;1032:19;;;945:123;542:26:6;578:17;598:24;:14;918::2;;827:112;598:24:6;578:44;;632:31;642:9;653;632;:31::i;2568:102:5:-;2624:13;2656:7;2649:14;;;;;:::i;702:174:6:-;806:8;2227:30:13;2248:8;2227:20;:30::i;:::-;826:43:6::1;850:8;860;826:23;:43::i;1385:222::-:0;1533:4;-1:-1:-1;;;;;2054:18:13;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;1553:47:6::1;1576:4;1582:2;1586:7;1595:4;1553:22;:47::i;:::-;1385:222:::0;;;;;:::o;2736:276:5:-;2809:13;2834:23;2849:7;2834:14;:23::i;:::-;2868:21;2892:10;:8;:10::i;:::-;2868:34;;2943:1;2925:7;2919:21;:25;:86;;;;;;;;;;;;;;;;;2971:7;2980:18;:7;:16;:18::i;:::-;2954:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2919:86;2912:93;2736:276;-1:-1:-1;;;2736:276:5:o;358:26:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4323:162:5:-;-1:-1:-1;;;;;4443:25:5;;;4420:4;4443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4323:162::o;13401:133::-;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;13474:53;;;;-1:-1:-1;;;13474:53:5;;8520:2:15;13474:53:5;;;8502:21:15;8559:2;8539:18;;;8532:30;-1:-1:-1;;;8578:18:15;;;8571:54;8642:18;;13474:53:5;8318:348:15;13474:53:5;13401:133;:::o;2281:412:13:-;836:42;2470:45;:49;2466:221;;2540:67;;-1:-1:-1;;;2540:67:13;;2591:4;2540:67;;;9794:34:15;-1:-1:-1;;;;;9864:15:15;;9844:18;;;9837:43;836:42:13;;2540;;9729:18:15;;2540:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2535:142;;2634:28;;-1:-1:-1;;;2634:28:13;;-1:-1:-1;;;;;1697:32:15;;2634:28:13;;;1679:51:15;1652:18;;2634:28:13;1533:203:15;3403:406:5;3483:13;3499:23;3514:7;3499:14;:23::i;:::-;3483:39;;3546:5;-1:-1:-1;;;;;3540:11:5;:2;-1:-1:-1;;;;;3540:11:5;;3532:57;;;;-1:-1:-1;;;3532:57:5;;10343:2:15;3532:57:5;;;10325:21:15;10382:2;10362:18;;;10355:30;10421:34;10401:18;;;10394:62;-1:-1:-1;;;10472:18:15;;;10465:31;10513:19;;3532:57:5;10141:397:15;3532:57:5;719:10:1;-1:-1:-1;;;;;3621:21:5;;;;:62;;-1:-1:-1;3646:37:5;3663:5;719:10:1;4323:162:5;:::i;3646:37::-;3600:170;;;;-1:-1:-1;;;3600:170:5;;10745:2:15;3600:170:5;;;10727:21:15;10784:2;10764:18;;;10757:30;10823:34;10803:18;;;10796:62;10894:31;10874:18;;;10867:59;10943:19;;3600:170:5;10543:425:15;3600:170:5;3781:21;3790:2;3794:7;3781:8;:21::i;4547:326::-;4736:41;719:10:1;4769:7:5;4736:18;:41::i;:::-;4728:99;;;;-1:-1:-1;;;4728:99:5;;;;;;;:::i;:::-;4838:28;4848:4;4854:2;4858:7;4838:9;:28::i;4939:179::-;5072:39;5089:4;5095:2;5099:7;5072:39;;;;;;;;;;;;:16;:39::i;8066:108::-;8141:26;8151:2;8155:7;8141:26;;;;;;;;;;;;:9;:26::i;4104:153::-;4198:52;719:10:1;4231:8:5;4241;4198:18;:52::i;5184:314::-;5352:41;719:10:1;5385:7:5;5352:18;:41::i;:::-;5344:99;;;;-1:-1:-1;;;5344:99:5;;;;;;;:::i;:::-;5453:38;5467:4;5473:2;5477:7;5486:4;5453:13;:38::i;1662:111:6:-;1722:13;1754:12;1747:19;;;;;:::i;410:696:14:-;466:13;515:14;532:17;543:5;532:10;:17::i;:::-;552:1;532:21;515:38;;567:20;601:6;590:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;590:18:14;-1:-1:-1;567:41:14;-1:-1:-1;728:28:14;;;744:2;728:28;783:280;-1:-1:-1;;814:5:14;-1:-1:-1;;;948:2:14;937:14;;932:30;814:5;919:44;1007:2;998:11;;;-1:-1:-1;1027:21:14;783:280;1027:21;-1:-1:-1;1083:6:14;410:696;-1:-1:-1;;;410:696:14:o;12703:171:5:-;12777:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12777:29:5;-1:-1:-1;;;;;12777:29:5;;;;;;;;:24;;12830:23;12777:24;12830:14;:23::i;:::-;-1:-1:-1;;;;;12821:46:5;;;;;;;;;;;12703:171;;:::o;7475:261::-;7568:4;7584:13;7600:23;7615:7;7600:14;:23::i;:::-;7584:39;;7652:5;-1:-1:-1;;;;;7641:16:5;:7;-1:-1:-1;;;;;7641:16:5;;:52;;;;7661:32;7678:5;7685:7;7661:16;:32::i;:::-;7641:87;;;;7721:7;-1:-1:-1;;;;;7697:31:5;:20;7709:7;7697:11;:20::i;:::-;-1:-1:-1;;;;;7697:31:5;;7641:87;7633:96;7475:261;-1:-1:-1;;;;7475:261:5:o;11358:1233::-;11512:4;-1:-1:-1;;;;;11485:31:5;:23;11500:7;11485:14;:23::i;:::-;-1:-1:-1;;;;;11485:31:5;;11477:81;;;;-1:-1:-1;;;11477:81:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;11576:16:5;;11568:65;;;;-1:-1:-1;;;11568:65:5;;12127:2:15;11568:65:5;;;12109:21:15;12166:2;12146:18;;;12139:30;12205:34;12185:18;;;12178:62;-1:-1:-1;;;12256:18:15;;;12249:34;12300:19;;11568:65:5;11925:400:15;11568:65:5;11644:42;11665:4;11671:2;11675:7;11684:1;11644:20;:42::i;:::-;11813:4;-1:-1:-1;;;;;11786:31:5;:23;11801:7;11786:14;:23::i;:::-;-1:-1:-1;;;;;11786:31:5;;11778:81;;;;-1:-1:-1;;;11778:81:5;;;;;;;:::i;:::-;11928:24;;;;:15;:24;;;;;;;;11921:31;;-1:-1:-1;;;;;;11921:31:5;;;;;;-1:-1:-1;;;;;12396:15:5;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12396:20:5;;;12430:13;;;;;;;;;:18;;11921:31;12430:18;;;12468:16;;;:7;:16;;;;;;:21;;;;;;;;;;12505:27;;11944:7;;12505:27;;;882:155:6;;;:::o;8395:309:5:-;8519:18;8525:2;8529:7;8519:5;:18::i;:::-;8568:53;8599:1;8603:2;8607:7;8616:4;8568:22;:53::i;:::-;8547:150;;;;-1:-1:-1;;;8547:150:5;;;;;;;:::i;13010:307::-;13160:8;-1:-1:-1;;;;;13151:17:5;:5;-1:-1:-1;;;;;13151:17:5;;13143:55;;;;-1:-1:-1;;;13143:55:5;;12951:2:15;13143:55:5;;;12933:21:15;12990:2;12970:18;;;12963:30;13029:27;13009:18;;;13002:55;13074:18;;13143:55:5;12749:349:15;13143:55:5;-1:-1:-1;;;;;13208:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13208:46:5;;;;;;;;;;13269:41;;540::15;;;13269::5;;513:18:15;13269:41:5;;;;;;;13010:307;;;:::o;6359:305::-;6509:28;6519:4;6525:2;6529:7;6509:9;:28::i;:::-;6555:47;6578:4;6584:2;6588:7;6597:4;6555:22;:47::i;:::-;6547:110;;;;-1:-1:-1;;;6547:110:5;;;;;;;:::i;9889:890:12:-;9942:7;;-1:-1:-1;;;10017:15:12;;10013:99;;-1:-1:-1;;;10052:15:12;;;-1:-1:-1;10095:2:12;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:12;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:12;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:12;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:12;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:12;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:12:o;15633:396:5:-;15817:1;15805:9;:13;15801:222;;;-1:-1:-1;;;;;15838:18:5;;;15834:85;;-1:-1:-1;;;;;15876:15:5;;;;;;:9;:15;;;;;:28;;15895:9;;15876:15;:28;;15895:9;;15876:28;:::i;:::-;;;;-1:-1:-1;;15834:85:5;-1:-1:-1;;;;;15936:16:5;;;15932:81;;-1:-1:-1;;;;;15972:13:5;;;;;;:9;:13;;;;;:26;;15989:9;;15972:13;:26;;15989:9;;15972:26;:::i;:::-;;;;-1:-1:-1;;15633:396:5;;;;:::o;9026:920::-;-1:-1:-1;;;;;9105:16:5;;9097:61;;;;-1:-1:-1;;;9097:61:5;;13700:2:15;9097:61:5;;;13682:21:15;;;13719:18;;;13712:30;13778:34;13758:18;;;13751:62;13830:18;;9097:61:5;13498:356:15;9097:61:5;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;7279:31;9168:58;;;;-1:-1:-1;;;9168:58:5;;14061:2:15;9168:58:5;;;14043:21:15;14100:2;14080:18;;;14073:30;14139;14119:18;;;14112:58;14187:18;;9168:58:5;13859:352:15;9168:58:5;9237:48;9266:1;9270:2;9274:7;9283:1;9237:20;:48::i;:::-;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;7279:31;9372:58;;;;-1:-1:-1;;;9372:58:5;;14061:2:15;9372:58:5;;;14043:21:15;14100:2;14080:18;;;14073:30;14139;14119:18;;;14112:58;14187:18;;9372:58:5;13859:352:15;9372:58:5;-1:-1:-1;;;;;9772:13:5;;;;;;:9;:13;;;;;;;;:18;;9789:1;9772:18;;;9811:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9811:21:5;;;;;9848:33;9819:7;;9772:13;;9848:33;;9772:13;;9848:33;1895:28:6;1824:106;:::o;14086:831:5:-;14235:4;-1:-1:-1;;;;;14255:13:5;;1465:19:0;:23;14251:660:5;;14290:71;;-1:-1:-1;;;14290:71:5;;-1:-1:-1;;;;;14290:36:5;;;;;:71;;719:10:1;;14341:4:5;;14347:7;;14356:4;;14290:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14290:71:5;;;;;;;;-1:-1:-1;;14290:71:5;;;;;;;;;;;;:::i;:::-;;;14286:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14528:6;:13;14545:1;14528:18;14524:321;;14570:60;;-1:-1:-1;;;14570:60:5;;;;;;;:::i;14524:321::-;14797:6;14791:13;14782:6;14778:2;14774:15;14767:38;14286:573;-1:-1:-1;;;;;;14411:51:5;-1:-1:-1;;;14411:51:5;;-1:-1:-1;14404:58:5;;14251:660;-1:-1:-1;14896:4:5;14086:831;;;;;;:::o;14:131:15:-;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:15;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:15;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:15:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:15;;1348:180;-1:-1:-1;1348:180:15:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:15;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:15:o;2178:328::-;2255:6;2263;2271;2324:2;2312:9;2303:7;2299:23;2295:32;2292:52;;;2340:1;2337;2330:12;2292:52;2363:29;2382:9;2363:29;:::i;:::-;2353:39;;2411:38;2445:2;2434:9;2430:18;2411:38;:::i;:::-;2401:48;;2496:2;2485:9;2481:18;2468:32;2458:42;;2178:328;;;;;:::o;2511:127::-;2572:10;2567:3;2563:20;2560:1;2553:31;2603:4;2600:1;2593:15;2627:4;2624:1;2617:15;2643:632;2708:5;2738:18;2779:2;2771:6;2768:14;2765:40;;;2785:18;;:::i;:::-;2860:2;2854:9;2828:2;2914:15;;-1:-1:-1;;2910:24:15;;;2936:2;2906:33;2902:42;2890:55;;;2960:18;;;2980:22;;;2957:46;2954:72;;;3006:18;;:::i;:::-;3046:10;3042:2;3035:22;3075:6;3066:15;;3105:6;3097;3090:22;3145:3;3136:6;3131:3;3127:16;3124:25;3121:45;;;3162:1;3159;3152:12;3121:45;3212:6;3207:3;3200:4;3192:6;3188:17;3175:44;3267:1;3260:4;3251:6;3243;3239:19;3235:30;3228:41;;;;2643:632;;;;;:::o;3280:451::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3458:9;3445:23;3491:18;3483:6;3480:30;3477:50;;;3523:1;3520;3513:12;3477:50;3546:22;;3599:4;3591:13;;3587:27;-1:-1:-1;3577:55:15;;3628:1;3625;3618:12;3577:55;3651:74;3717:7;3712:2;3699:16;3694:2;3690;3686:11;3651:74;:::i;3976:186::-;4035:6;4088:2;4076:9;4067:7;4063:23;4059:32;4056:52;;;4104:1;4101;4094:12;4056:52;4127:29;4146:9;4127:29;:::i;4349:118::-;4435:5;4428:13;4421:21;4414:5;4411:32;4401:60;;4457:1;4454;4447:12;4472:315;4537:6;4545;4598:2;4586:9;4577:7;4573:23;4569:32;4566:52;;;4614:1;4611;4604:12;4566:52;4637:29;4656:9;4637:29;:::i;:::-;4627:39;;4716:2;4705:9;4701:18;4688:32;4729:28;4751:5;4729:28;:::i;:::-;4776:5;4766:15;;;4472:315;;;;;:::o;4792:667::-;4887:6;4895;4903;4911;4964:3;4952:9;4943:7;4939:23;4935:33;4932:53;;;4981:1;4978;4971:12;4932:53;5004:29;5023:9;5004:29;:::i;:::-;4994:39;;5052:38;5086:2;5075:9;5071:18;5052:38;:::i;:::-;5042:48;;5137:2;5126:9;5122:18;5109:32;5099:42;;5192:2;5181:9;5177:18;5164:32;5219:18;5211:6;5208:30;5205:50;;;5251:1;5248;5241:12;5205:50;5274:22;;5327:4;5319:13;;5315:27;-1:-1:-1;5305:55:15;;5356:1;5353;5346:12;5305:55;5379:74;5445:7;5440:2;5427:16;5422:2;5418;5414:11;5379:74;:::i;:::-;5369:84;;;4792:667;;;;;;;:::o;5464:260::-;5532:6;5540;5593:2;5581:9;5572:7;5568:23;5564:32;5561:52;;;5609:1;5606;5599:12;5561:52;5632:29;5651:9;5632:29;:::i;:::-;5622:39;;5680:38;5714:2;5703:9;5699:18;5680:38;:::i;:::-;5670:48;;5464:260;;;;;:::o;5729:380::-;5808:1;5804:12;;;;5851;;;5872:61;;5926:4;5918:6;5914:17;5904:27;;5872:61;5979:2;5971:6;5968:14;5948:18;5945:38;5942:161;;6025:10;6020:3;6016:20;6013:1;6006:31;6060:4;6057:1;6050:15;6088:4;6085:1;6078:15;5942:161;;5729:380;;;:::o;6240:545::-;6342:2;6337:3;6334:11;6331:448;;;6378:1;6403:5;6399:2;6392:17;6448:4;6444:2;6434:19;6518:2;6506:10;6502:19;6499:1;6495:27;6489:4;6485:38;6554:4;6542:10;6539:20;6536:47;;;-1:-1:-1;6577:4:15;6536:47;6632:2;6627:3;6623:12;6620:1;6616:20;6610:4;6606:31;6596:41;;6687:82;6705:2;6698:5;6695:13;6687:82;;;6750:17;;;6731:1;6720:13;6687:82;;;6691:3;;;6240:545;;;:::o;6961:1352::-;7087:3;7081:10;7114:18;7106:6;7103:30;7100:56;;;7136:18;;:::i;:::-;7165:97;7255:6;7215:38;7247:4;7241:11;7215:38;:::i;:::-;7209:4;7165:97;:::i;:::-;7317:4;;7381:2;7370:14;;7398:1;7393:663;;;;8100:1;8117:6;8114:89;;;-1:-1:-1;8169:19:15;;;8163:26;8114:89;-1:-1:-1;;6918:1:15;6914:11;;;6910:24;6906:29;6896:40;6942:1;6938:11;;;6893:57;8216:81;;7363:944;;7393:663;6187:1;6180:14;;;6224:4;6211:18;;-1:-1:-1;;7429:20:15;;;7547:236;7561:7;7558:1;7555:14;7547:236;;;7650:19;;;7644:26;7629:42;;7742:27;;;;7710:1;7698:14;;;;7577:19;;7547:236;;;7551:3;7811:6;7802:7;7799:19;7796:201;;;7872:19;;;7866:26;-1:-1:-1;;7955:1:15;7951:14;;;7967:3;7947:24;7943:37;7939:42;7924:58;7909:74;;7796:201;-1:-1:-1;;;;;8043:1:15;8027:14;;;8023:22;8010:36;;-1:-1:-1;6961:1352:15:o;9081:496::-;9260:3;9298:6;9292:13;9314:66;9373:6;9368:3;9361:4;9353:6;9349:17;9314:66;:::i;:::-;9443:13;;9402:16;;;;9465:70;9443:13;9402:16;9512:4;9500:17;;9465:70;:::i;:::-;9551:20;;9081:496;-1:-1:-1;;;;9081:496:15:o;9891:245::-;9958:6;10011:2;9999:9;9990:7;9986:23;9982:32;9979:52;;;10027:1;10024;10017:12;9979:52;10059:9;10053:16;10078:28;10100:5;10078:28;:::i;10973:409::-;11175:2;11157:21;;;11214:2;11194:18;;;11187:30;11253:34;11248:2;11233:18;;11226:62;-1:-1:-1;;;11319:2:15;11304:18;;11297:43;11372:3;11357:19;;10973:409::o;11519:401::-;11721:2;11703:21;;;11760:2;11740:18;;;11733:30;11799:34;11794:2;11779:18;;11772:62;-1:-1:-1;;;11865:2:15;11850:18;;11843:35;11910:3;11895:19;;11519:401::o;12330:414::-;12532:2;12514:21;;;12571:2;12551:18;;;12544:30;12610:34;12605:2;12590:18;;12583:62;-1:-1:-1;;;12676:2:15;12661:18;;12654:48;12734:3;12719:19;;12330:414::o;13103:127::-;13164:10;13159:3;13155:20;13152:1;13145:31;13195:4;13192:1;13185:15;13219:4;13216:1;13209:15;13235:128;13302:9;;;13323:11;;;13320:37;;;13337:18;;:::i;13368:125::-;13433:9;;;13454:10;;;13451:36;;;13467:18;;:::i;14216:489::-;-1:-1:-1;;;;;14485:15:15;;;14467:34;;14537:15;;14532:2;14517:18;;14510:43;14584:2;14569:18;;14562:34;;;14632:3;14627:2;14612:18;;14605:31;;;14410:4;;14653:46;;14679:19;;14671:6;14653:46;:::i;:::-;14645:54;14216:489;-1:-1:-1;;;;;;14216:489:15:o;14710:249::-;14779:6;14832:2;14820:9;14811:7;14807:23;14803:32;14800:52;;;14848:1;14845;14838:12;14800:52;14880:9;14874:16;14899:30;14923:5;14899:30;:::i

Swarm Source

ipfs://7cb63b23e58f57f9e95a6feba44e459809ec4a5ccd4161e42ece34e51c9d0310
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.