ETH Price: $3,265.66 (+1.33%)

Token

BSTROY x Givenchy by Felt Zine (GIV)
 

Overview

Max Total Supply

57 GIV

Holders

43

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
parkertoddbrooks.eth
0xc2b641bb3b0caae2cd078c4a462f185e40169898
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

BSTROY x Givenchy by Felt Zine is a set of digital twin NFTs for the BSTROY x Givenchy collaboration. The products were created in collaboration as a collection ‘that looks to the future of fashion through inclusivity, innovative materials, silhouettes, and details. [Discover the BSTROY x Givenchy collection](https://www.givenchy.com/us/en-US/men/new-arrivals/bstroy-x-givenchy/) [Follow us on Twitter](https://twitter.com/givenchy)

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DigitalTwins

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : DigitalTwins.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

error InvalidSupply(uint256 maxSupply_);
error CapExceeded(uint256 initialSupply_, uint256 maxSupply_);
error AlreadyAssignedTokenId(uint256 tokenId_);
error InvalidAmount(uint256 amount_);
error InvalidParametersNumber(uint256 amountIds, uint256 amountAmounts);
error InvalidParameters(uint256 amountIds);
error EmptyString(string emptyString);
error UnauthorizedBurn(uint256 ownedAmount, uint256 burnedAmount);

contract DigitalTwins is ERC1155, ERC2981, DefaultOperatorFilterer, Ownable {

  string public name;
  string public symbol;
  string public contractURI;
  mapping(uint256 => uint256) public maxSupply;
  mapping(uint256 => uint256) public totalSupply;
  mapping(uint256 => string) private tokenURIs;

  event ContractURIUpdated(string updatedContractURI);

  constructor (string memory name_, string memory symbol_, string memory contractURI_, address receiver_, uint96 feeNumerator_) ERC1155("") {
    name = name_;
    symbol = symbol_;
    setContractURI(contractURI_);
    _setDefaultRoyalty(receiver_, feeNumerator_);
  }

  /// @dev Create an ERC1155 token, with a max supply
  /// @dev The contract owner can mint tokens on demand up to the max supply
  function createForAdminMint(
      uint256 tokenId_,
      uint256 initialSupply_,
      uint256 maxSupply_,
      string memory uri_
  ) external onlyOwner {
    if (maxSupply_ == 0) revert InvalidSupply(maxSupply_);
    if (isCreated(tokenId_)) revert AlreadyAssignedTokenId(tokenId_);
    if (initialSupply_ > maxSupply_) revert CapExceeded(initialSupply_, maxSupply_);

    tokenURIs[tokenId_] = uri_;
    maxSupply[tokenId_] = maxSupply_;

    if (initialSupply_ > 0) {
        _mint(msg.sender, tokenId_, initialSupply_, hex"");
    }
  }
  
  /// @dev Mints an amount of ERC1155 tokens to an address
  function adminMint(
      address to_,
      uint256 tokenId_,
      uint256 amount_
  ) external onlyOwner {
      _mint(to_, tokenId_, amount_, hex"");
  }

  function isCreated(uint256 tokenId) public view virtual returns (bool) {
      return maxSupply[tokenId] != 0;
  }

  /// @dev Burns an amount of ERC1155 tokens from msg sender
  function burn(uint256 tokenId, uint256 amount) external {
    _burn(_msgSender(), tokenId, amount);
  }

  function uri(uint256 tokenId_) public view virtual override returns (string memory) {
    return tokenURIs[tokenId_];
  }

  function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
      super.setApprovalForAll(operator, approved);
  }

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

  function safeBatchTransferFrom(address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public virtual override onlyAllowedOperator(from) {
      super.safeBatchTransferFrom(from, to, ids, amounts, data);
  }
  
  function setDefaultRoyalty(address receiver_, uint96 feeNumerator_) external virtual onlyOwner {
      _setDefaultRoyalty(receiver_, feeNumerator_);
  }

  function setContractURI(string memory contractURI_) public onlyOwner {
      if (bytes(contractURI_).length == 0) revert EmptyString(contractURI_);

      contractURI = contractURI_;
      emit ContractURIUpdated(contractURI_);
  }
  
  /// @dev See {IERC165-supportsInterface}
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) {
      return super.supportsInterface(interfaceId);
  }

  function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual override {
      if (amount == 0) revert InvalidAmount(amount);
      if (totalSupply[id] + amount > maxSupply[id]) revert CapExceeded(totalSupply[id] + amount, maxSupply[id]);

      totalSupply[id] += amount;
      super._mint(account, id, amount, data);
  }

  function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override {
      if (ids.length != amounts.length) revert InvalidParametersNumber(ids.length, amounts.length);
      if (ids.length == 0) revert InvalidParameters(ids.length);

      for (uint256 i = 0; i < ids.length; i++) {
          if (amounts[i] == 0) revert InvalidSupply(amounts[i]);
          uint256 tokenId = ids[i];
          if (totalSupply[tokenId] + amounts[i] > maxSupply[tokenId]) revert CapExceeded(totalSupply[tokenId] + amounts[i], maxSupply[tokenId]);
          totalSupply[tokenId] += amounts[i];
      }
      super._mintBatch(to, ids, amounts, data);
  }

  function _burn(address from, uint256 id, uint256 amount) internal virtual override {
    totalSupply[id] -= amount;
    super._burn(from, id, amount);
  }
}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 6 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 7 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 8 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 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 10 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 11 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 12 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 13 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 14 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 15 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);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint96","name":"feeNumerator_","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"AlreadyAssignedTokenId","type":"error"},{"inputs":[{"internalType":"uint256","name":"initialSupply_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"CapExceeded","type":"error"},{"inputs":[{"internalType":"string","name":"emptyString","type":"string"}],"name":"EmptyString","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"InvalidAmount","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"InvalidSupply","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"updatedContractURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"initialSupply_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"string","name":"uri_","type":"string"}],"name":"createForAdminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isCreated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","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":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint96","name":"feeNumerator_","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620053a1380380620053a183398181016040528101906200003791906200090c565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806020016040528060008152506200006f81620002d960201b60201c565b5060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002655780156200012b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620000f192919062000a02565b600060405180830381600087803b1580156200010c57600080fd5b505af115801562000121573d6000803e3d6000fd5b5050505062000264565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620001e5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001ab92919062000a02565b600060405180830381600087803b158015620001c657600080fd5b505af1158015620001db573d6000803e3d6000fd5b5050505062000263565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200022e919062000a2f565b600060405180830381600087803b1580156200024957600080fd5b505af11580156200025e573d6000803e3d6000fd5b505050505b5b5b5050620002876200027b620002ee60201b60201c565b620002f660201b60201c565b846006908162000298919062000c97565b508360079081620002aa919062000c97565b50620002bc83620003bc60201b60201c565b620002ce82826200046360201b60201c565b505050505062000f70565b8060029081620002ea919062000c97565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003cc6200060660201b60201c565b60008151036200041557806040517f62a65aec0000000000000000000000000000000000000000000000000000000081526004016200040c919062000dd0565b60405180910390fd5b806008908162000426919062000c97565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788160405162000458919062000dd0565b60405180910390a150565b620004736200069760201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620004d4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004cb9062000e6a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000546576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200053d9062000edc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b62000616620002ee60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200063c620006a160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000695576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200068c9062000f4e565b60405180910390fd5b565b6000612710905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200073482620006e9565b810181811067ffffffffffffffff82111715620007565762000755620006fa565b5b80604052505050565b60006200076b620006cb565b905062000779828262000729565b919050565b600067ffffffffffffffff8211156200079c576200079b620006fa565b5b620007a782620006e9565b9050602081019050919050565b60005b83811015620007d4578082015181840152602081019050620007b7565b60008484015250505050565b6000620007f7620007f1846200077e565b6200075f565b905082815260208101848484011115620008165762000815620006e4565b5b62000823848285620007b4565b509392505050565b600082601f830112620008435762000842620006df565b5b815162000855848260208601620007e0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200088b826200085e565b9050919050565b6200089d816200087e565b8114620008a957600080fd5b50565b600081519050620008bd8162000892565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008e681620008c3565b8114620008f257600080fd5b50565b6000815190506200090681620008db565b92915050565b600080600080600060a086880312156200092b576200092a620006d5565b5b600086015167ffffffffffffffff8111156200094c576200094b620006da565b5b6200095a888289016200082b565b955050602086015167ffffffffffffffff8111156200097e576200097d620006da565b5b6200098c888289016200082b565b945050604086015167ffffffffffffffff811115620009b057620009af620006da565b5b620009be888289016200082b565b9350506060620009d188828901620008ac565b9250506080620009e488828901620008f5565b9150509295509295909350565b620009fc816200087e565b82525050565b600060408201905062000a196000830185620009f1565b62000a286020830184620009f1565b9392505050565b600060208201905062000a466000830184620009f1565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a9f57607f821691505b60208210810362000ab55762000ab462000a57565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b1f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000ae0565b62000b2b868362000ae0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b7862000b7262000b6c8462000b43565b62000b4d565b62000b43565b9050919050565b6000819050919050565b62000b948362000b57565b62000bac62000ba38262000b7f565b84845462000aed565b825550505050565b600090565b62000bc362000bb4565b62000bd081848462000b89565b505050565b5b8181101562000bf85762000bec60008262000bb9565b60018101905062000bd6565b5050565b601f82111562000c475762000c118162000abb565b62000c1c8462000ad0565b8101602085101562000c2c578190505b62000c4462000c3b8562000ad0565b83018262000bd5565b50505b505050565b600082821c905092915050565b600062000c6c6000198460080262000c4c565b1980831691505092915050565b600062000c87838362000c59565b9150826002028217905092915050565b62000ca28262000a4c565b67ffffffffffffffff81111562000cbe5762000cbd620006fa565b5b62000cca825462000a86565b62000cd782828562000bfc565b600060209050601f83116001811462000d0f576000841562000cfa578287015190505b62000d06858262000c79565b86555062000d76565b601f19841662000d1f8662000abb565b60005b8281101562000d495784890151825560018201915060208501945060208101905062000d22565b8683101562000d69578489015162000d65601f89168262000c59565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b600062000d9c8262000a4c565b62000da8818562000d7e565b935062000dba818560208601620007b4565b62000dc581620006e9565b840191505092915050565b6000602082019050818103600083015262000dec818462000d8f565b905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000e52602a8362000d7e565b915062000e5f8262000df4565b604082019050919050565b6000602082019050818103600083015262000e858162000e43565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000ec460198362000d7e565b915062000ed18262000e8c565b602082019050919050565b6000602082019050818103600083015262000ef78162000eb5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000f3660208362000d7e565b915062000f438262000efe565b602082019050919050565b6000602082019050818103600083015262000f698162000f27565b9050919050565b6144218062000f806000396000f3fe608060405234801561001057600080fd5b50600436106101565760003560e01c8063715018a6116100c3578063b390c0ab1161007c578063b390c0ab146103d6578063bd85b039146103f2578063e8a3d48514610422578063e985e9c514610440578063f242432a14610470578063f2fde38b1461048c57610156565b8063715018a614610328578063869f7594146103325780638da5cb5b14610362578063938e3d7b1461038057806395d89b411461039c578063a22cb465146103ba57610156565b80630e89341c116101155780630e89341c1461022d57806329a8791a1461025d5780632a55205a1461028d5780632eb2c2d6146102be57806341f43434146102da5780634e1273f4146102f857610156565b80624a84cb1461015b578062fdd58e1461017757806301ffc9a7146101a757806304634d8d146101d757806306fdde03146101f35780630c63bded14610211575b600080fd5b61017560048036038101906101709190612804565b6104a8565b005b610191600480360381019061018c9190612857565b6104d0565b60405161019e91906128a6565b60405180910390f35b6101c160048036038101906101bc9190612919565b610598565b6040516101ce9190612961565b60405180910390f35b6101f160048036038101906101ec91906129c0565b6105aa565b005b6101fb6105c0565b6040516102089190612a90565b60405180910390f35b61022b60048036038101906102269190612be7565b61064e565b005b61024760048036038101906102429190612c6a565b610791565b6040516102549190612a90565b60405180910390f35b61027760048036038101906102729190612c6a565b610836565b6040516102849190612961565b60405180910390f35b6102a760048036038101906102a29190612c97565b610856565b6040516102b5929190612ce6565b60405180910390f35b6102d860048036038101906102d39190612e78565b610a40565b005b6102e2610a93565b6040516102ef9190612fa6565b60405180910390f35b610312600480360381019061030d9190613084565b610aa5565b60405161031f91906131ba565b60405180910390f35b610330610bbe565b005b61034c60048036038101906103479190612c6a565b610bd2565b60405161035991906128a6565b60405180910390f35b61036a610bea565b60405161037791906131dc565b60405180910390f35b61039a600480360381019061039591906131f7565b610c14565b005b6103a4610cac565b6040516103b19190612a90565b60405180910390f35b6103d460048036038101906103cf919061326c565b610d3a565b005b6103f060048036038101906103eb9190612c97565b610d53565b005b61040c60048036038101906104079190612c6a565b610d69565b60405161041991906128a6565b60405180910390f35b61042a610d81565b6040516104379190612a90565b60405180910390f35b61045a600480360381019061045591906132ac565b610e0f565b6040516104679190612961565b60405180910390f35b61048a600480360381019061048591906132ec565b610ea3565b005b6104a660048036038101906104a19190613383565b610ef6565b005b6104b0610f79565b6104cb83838360405180602001604052806000815250610ff7565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053790613422565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006105a382611121565b9050919050565b6105b2610f79565b6105bc828261119b565b5050565b600680546105cd90613471565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990613471565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b505050505081565b610656610f79565b6000820361069b57816040517f7cbab89700000000000000000000000000000000000000000000000000000000815260040161069291906128a6565b60405180910390fd5b6106a484610836565b156106e657836040517fe9c0502a0000000000000000000000000000000000000000000000000000000081526004016106dd91906128a6565b60405180910390fd5b8183111561072d5782826040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016107249291906134a2565b60405180910390fd5b80600b6000868152602001908152602001600020908161074d919061366d565b50816009600086815260200190815260200160002081905550600083111561078b5761078a33858560405180602001604052806000815250610ff7565b5b50505050565b6060600b600083815260200190815260200160002080546107b190613471565b80601f01602080910402602001604051908101604052809291908181526020018280546107dd90613471565b801561082a5780601f106107ff5761010080835404028352916020019161082a565b820191906000526020600020905b81548152906001019060200180831161080d57829003601f168201915b50505050509050919050565b600080600960008481526020019081526020016000205414159050919050565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036109eb5760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109f5611330565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a21919061376e565b610a2b91906137df565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7e57610a7d3361133a565b5b610a8b8686868686611437565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae290613882565b60405180910390fd5b6000835167ffffffffffffffff811115610b0857610b07612abc565b5b604051908082528060200260200182016040528015610b365781602001602082028036833780820191505090505b50905060005b8451811015610bb357610b83858281518110610b5b57610b5a6138a2565b5b6020026020010151858381518110610b7657610b756138a2565b5b60200260200101516104d0565b828281518110610b9657610b956138a2565b5b60200260200101818152505080610bac906138d1565b9050610b3c565b508091505092915050565b610bc6610f79565b610bd060006114d8565b565b60096020528060005260406000206000915090505481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c1c610f79565b6000815103610c6257806040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401610c599190612a90565b60405180910390fd5b8060089081610c71919061366d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac3737881604051610ca19190612a90565b60405180910390a150565b60078054610cb990613471565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce590613471565b8015610d325780601f10610d0757610100808354040283529160200191610d32565b820191906000526020600020905b815481529060010190602001808311610d1557829003601f168201915b505050505081565b81610d448161133a565b610d4e838361159e565b505050565b610d65610d5e6115b4565b83836115bc565b5050565b600a6020528060005260406000206000915090505481565b60088054610d8e90613471565b80601f0160208091040260200160405190810160405280929190818152602001828054610dba90613471565b8015610e075780601f10610ddc57610100808354040283529160200191610e07565b820191906000526020600020905b815481529060010190602001808311610dea57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ee157610ee03361133a565b5b610eee86868686866115f6565b505050505050565b610efe610f79565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f649061398b565b60405180910390fd5b610f76816114d8565b50565b610f816115b4565b73ffffffffffffffffffffffffffffffffffffffff16610f9f610bea565b73ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec906139f7565b60405180910390fd5b565b6000820361103c57816040517f3728b83d00000000000000000000000000000000000000000000000000000000815260040161103391906128a6565b60405180910390fd5b600960008481526020019081526020016000205482600a60008681526020019081526020016000205461106f9190613a17565b11156110e55781600a6000858152602001908152602001600020546110949190613a17565b60096000858152602001908152602001600020546040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016110dc9291906134a2565b60405180910390fd5b81600a600085815260200190815260200160002060008282546111089190613a17565b9250508190555061111b84848484611697565b50505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611194575061119382611847565b5b9050919050565b6111a3611330565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890613abd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613b29565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611434576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016113b1929190613b49565b602060405180830381865afa1580156113ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f29190613b87565b61143357806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161142a91906131dc565b60405180910390fd5b5b50565b61143f6115b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061148557506114848561147f6115b4565b610e0f565b5b6114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613c26565b60405180910390fd5b6114d18585858585611929565b5050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6115b06115a96115b4565b8383611c4a565b5050565b600033905090565b80600a600084815260200190815260200160002060008282546115df9190613c46565b925050819055506115f1838383611db6565b505050565b6115fe6115b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061164457506116438561163e6115b4565b610e0f565b5b611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90613c26565b60405180910390fd5b6116908585858585611ffc565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90613cec565b60405180910390fd5b60006117106115b4565b9050600061171d85612297565b9050600061172a85612297565b905061173b83600089858589612311565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461179a9190613a17565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516118189291906134a2565b60405180910390a461182f83600089858589612319565b61183e83600089898989612321565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119225750611921826124f8565b5b9050919050565b815183511461196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490613d7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d390613e10565b60405180910390fd5b60006119e66115b4565b90506119f6818787878787612311565b60005b8451811015611ba7576000858281518110611a1757611a166138a2565b5b602002602001015190506000858381518110611a3657611a356138a2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90613ea2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b8c9190613a17565b9250508190555050505080611ba0906138d1565b90506119f9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c1e929190613ec2565b60405180910390a4611c34818787878787612319565b611c42818787878787612562565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf90613f6b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611da99190612961565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90613ffd565b60405180910390fd5b6000611e2f6115b4565b90506000611e3c84612297565b90506000611e4984612297565b9050611e6983876000858560405180602001604052806000815250612311565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef79061408f565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611fcd9291906134a2565b60405180910390a4611ff384886000868660405180602001604052806000815250612319565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613e10565b60405180910390fd5b60006120756115b4565b9050600061208285612297565b9050600061208f85612297565b905061209f838989858589612311565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90613ea2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121eb9190613a17565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516122689291906134a2565b60405180910390a461227e848a8a86868a612319565b61228c848a8a8a8a8a612321565b505050505050505050565b60606000600167ffffffffffffffff8111156122b6576122b5612abc565b5b6040519080825280602002602001820160405280156122e45781602001602082028036833780820191505090505b50905082816000815181106122fc576122fb6138a2565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6123408473ffffffffffffffffffffffffffffffffffffffff16612739565b156124f0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612386959493929190614104565b6020604051808303816000875af19250505080156123c257506040513d601f19601f820116820180604052508101906123bf9190614173565b60015b612467576123ce6141ad565b806308c379a00361242a57506123e26141cf565b806123ed575061242c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124219190612a90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e906142d1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614363565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125818473ffffffffffffffffffffffffffffffffffffffff16612739565b15612731578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125c7959493929190614383565b6020604051808303816000875af192505050801561260357506040513d601f19601f820116820180604052508101906126009190614173565b60015b6126a85761260f6141ad565b806308c379a00361266b57506126236141cf565b8061262e575061266d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126629190612a90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269f906142d1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690614363565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061279b82612770565b9050919050565b6127ab81612790565b81146127b657600080fd5b50565b6000813590506127c8816127a2565b92915050565b6000819050919050565b6127e1816127ce565b81146127ec57600080fd5b50565b6000813590506127fe816127d8565b92915050565b60008060006060848603121561281d5761281c612766565b5b600061282b868287016127b9565b935050602061283c868287016127ef565b925050604061284d868287016127ef565b9150509250925092565b6000806040838503121561286e5761286d612766565b5b600061287c858286016127b9565b925050602061288d858286016127ef565b9150509250929050565b6128a0816127ce565b82525050565b60006020820190506128bb6000830184612897565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128f6816128c1565b811461290157600080fd5b50565b600081359050612913816128ed565b92915050565b60006020828403121561292f5761292e612766565b5b600061293d84828501612904565b91505092915050565b60008115159050919050565b61295b81612946565b82525050565b60006020820190506129766000830184612952565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61299d8161297c565b81146129a857600080fd5b50565b6000813590506129ba81612994565b92915050565b600080604083850312156129d7576129d6612766565b5b60006129e5858286016127b9565b92505060206129f6858286016129ab565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a3a578082015181840152602081019050612a1f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a6282612a00565b612a6c8185612a0b565b9350612a7c818560208601612a1c565b612a8581612a46565b840191505092915050565b60006020820190508181036000830152612aaa8184612a57565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612af482612a46565b810181811067ffffffffffffffff82111715612b1357612b12612abc565b5b80604052505050565b6000612b2661275c565b9050612b328282612aeb565b919050565b600067ffffffffffffffff821115612b5257612b51612abc565b5b612b5b82612a46565b9050602081019050919050565b82818337600083830152505050565b6000612b8a612b8584612b37565b612b1c565b905082815260208101848484011115612ba657612ba5612ab7565b5b612bb1848285612b68565b509392505050565b600082601f830112612bce57612bcd612ab2565b5b8135612bde848260208601612b77565b91505092915050565b60008060008060808587031215612c0157612c00612766565b5b6000612c0f878288016127ef565b9450506020612c20878288016127ef565b9350506040612c31878288016127ef565b925050606085013567ffffffffffffffff811115612c5257612c5161276b565b5b612c5e87828801612bb9565b91505092959194509250565b600060208284031215612c8057612c7f612766565b5b6000612c8e848285016127ef565b91505092915050565b60008060408385031215612cae57612cad612766565b5b6000612cbc858286016127ef565b9250506020612ccd858286016127ef565b9150509250929050565b612ce081612790565b82525050565b6000604082019050612cfb6000830185612cd7565b612d086020830184612897565b9392505050565b600067ffffffffffffffff821115612d2a57612d29612abc565b5b602082029050602081019050919050565b600080fd5b6000612d53612d4e84612d0f565b612b1c565b90508083825260208201905060208402830185811115612d7657612d75612d3b565b5b835b81811015612d9f5780612d8b88826127ef565b845260208401935050602081019050612d78565b5050509392505050565b600082601f830112612dbe57612dbd612ab2565b5b8135612dce848260208601612d40565b91505092915050565b600067ffffffffffffffff821115612df257612df1612abc565b5b612dfb82612a46565b9050602081019050919050565b6000612e1b612e1684612dd7565b612b1c565b905082815260208101848484011115612e3757612e36612ab7565b5b612e42848285612b68565b509392505050565b600082601f830112612e5f57612e5e612ab2565b5b8135612e6f848260208601612e08565b91505092915050565b600080600080600060a08688031215612e9457612e93612766565b5b6000612ea2888289016127b9565b9550506020612eb3888289016127b9565b945050604086013567ffffffffffffffff811115612ed457612ed361276b565b5b612ee088828901612da9565b935050606086013567ffffffffffffffff811115612f0157612f0061276b565b5b612f0d88828901612da9565b925050608086013567ffffffffffffffff811115612f2e57612f2d61276b565b5b612f3a88828901612e4a565b9150509295509295909350565b6000819050919050565b6000612f6c612f67612f6284612770565b612f47565b612770565b9050919050565b6000612f7e82612f51565b9050919050565b6000612f9082612f73565b9050919050565b612fa081612f85565b82525050565b6000602082019050612fbb6000830184612f97565b92915050565b600067ffffffffffffffff821115612fdc57612fdb612abc565b5b602082029050602081019050919050565b6000613000612ffb84612fc1565b612b1c565b9050808382526020820190506020840283018581111561302357613022612d3b565b5b835b8181101561304c578061303888826127b9565b845260208401935050602081019050613025565b5050509392505050565b600082601f83011261306b5761306a612ab2565b5b813561307b848260208601612fed565b91505092915050565b6000806040838503121561309b5761309a612766565b5b600083013567ffffffffffffffff8111156130b9576130b861276b565b5b6130c585828601613056565b925050602083013567ffffffffffffffff8111156130e6576130e561276b565b5b6130f285828601612da9565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613131816127ce565b82525050565b60006131438383613128565b60208301905092915050565b6000602082019050919050565b6000613167826130fc565b6131718185613107565b935061317c83613118565b8060005b838110156131ad5781516131948882613137565b975061319f8361314f565b925050600181019050613180565b5085935050505092915050565b600060208201905081810360008301526131d4818461315c565b905092915050565b60006020820190506131f16000830184612cd7565b92915050565b60006020828403121561320d5761320c612766565b5b600082013567ffffffffffffffff81111561322b5761322a61276b565b5b61323784828501612bb9565b91505092915050565b61324981612946565b811461325457600080fd5b50565b60008135905061326681613240565b92915050565b6000806040838503121561328357613282612766565b5b6000613291858286016127b9565b92505060206132a285828601613257565b9150509250929050565b600080604083850312156132c3576132c2612766565b5b60006132d1858286016127b9565b92505060206132e2858286016127b9565b9150509250929050565b600080600080600060a0868803121561330857613307612766565b5b6000613316888289016127b9565b9550506020613327888289016127b9565b9450506040613338888289016127ef565b9350506060613349888289016127ef565b925050608086013567ffffffffffffffff81111561336a5761336961276b565b5b61337688828901612e4a565b9150509295509295909350565b60006020828403121561339957613398612766565b5b60006133a7848285016127b9565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061340c602a83612a0b565b9150613417826133b0565b604082019050919050565b6000602082019050818103600083015261343b816133ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061348957607f821691505b60208210810361349c5761349b613442565b5b50919050565b60006040820190506134b76000830185612897565b6134c46020830184612897565b9392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261352d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826134f0565b61353786836134f0565b95508019841693508086168417925050509392505050565b600061356a613565613560846127ce565b612f47565b6127ce565b9050919050565b6000819050919050565b6135848361354f565b61359861359082613571565b8484546134fd565b825550505050565b600090565b6135ad6135a0565b6135b881848461357b565b505050565b5b818110156135dc576135d16000826135a5565b6001810190506135be565b5050565b601f821115613621576135f2816134cb565b6135fb846134e0565b8101602085101561360a578190505b61361e613616856134e0565b8301826135bd565b50505b505050565b600082821c905092915050565b600061364460001984600802613626565b1980831691505092915050565b600061365d8383613633565b9150826002028217905092915050565b61367682612a00565b67ffffffffffffffff81111561368f5761368e612abc565b5b6136998254613471565b6136a48282856135e0565b600060209050601f8311600181146136d757600084156136c5578287015190505b6136cf8582613651565b865550613737565b601f1984166136e5866134cb565b60005b8281101561370d578489015182556001820191506020850194506020810190506136e8565b8683101561372a5784890151613726601f891682613633565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613779826127ce565b9150613784836127ce565b9250828202613792816127ce565b915082820484148315176137a9576137a861373f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137ea826127ce565b91506137f5836127ce565b925082613805576138046137b0565b5b828204905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061386c602983612a0b565b915061387782613810565b604082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006138dc826127ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361390e5761390d61373f565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613975602683612a0b565b915061398082613919565b604082019050919050565b600060208201905081810360008301526139a481613968565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139e1602083612a0b565b91506139ec826139ab565b602082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b6000613a22826127ce565b9150613a2d836127ce565b9250828201905080821115613a4557613a4461373f565b5b92915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613aa7602a83612a0b565b9150613ab282613a4b565b604082019050919050565b60006020820190508181036000830152613ad681613a9a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613b13601983612a0b565b9150613b1e82613add565b602082019050919050565b60006020820190508181036000830152613b4281613b06565b9050919050565b6000604082019050613b5e6000830185612cd7565b613b6b6020830184612cd7565b9392505050565b600081519050613b8181613240565b92915050565b600060208284031215613b9d57613b9c612766565b5b6000613bab84828501613b72565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c10602e83612a0b565b9150613c1b82613bb4565b604082019050919050565b60006020820190508181036000830152613c3f81613c03565b9050919050565b6000613c51826127ce565b9150613c5c836127ce565b9250828203905081811115613c7457613c7361373f565b5b92915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cd6602183612a0b565b9150613ce182613c7a565b604082019050919050565b60006020820190508181036000830152613d0581613cc9565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613d68602883612a0b565b9150613d7382613d0c565b604082019050919050565b60006020820190508181036000830152613d9781613d5b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dfa602583612a0b565b9150613e0582613d9e565b604082019050919050565b60006020820190508181036000830152613e2981613ded565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e8c602a83612a0b565b9150613e9782613e30565b604082019050919050565b60006020820190508181036000830152613ebb81613e7f565b9050919050565b60006040820190508181036000830152613edc818561315c565b90508181036020830152613ef0818461315c565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613f55602983612a0b565b9150613f6082613ef9565b604082019050919050565b60006020820190508181036000830152613f8481613f48565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613fe7602383612a0b565b9150613ff282613f8b565b604082019050919050565b6000602082019050818103600083015261401681613fda565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614079602483612a0b565b91506140848261401d565b604082019050919050565b600060208201905081810360008301526140a88161406c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140d6826140af565b6140e081856140ba565b93506140f0818560208601612a1c565b6140f981612a46565b840191505092915050565b600060a0820190506141196000830188612cd7565b6141266020830187612cd7565b6141336040830186612897565b6141406060830185612897565b818103608083015261415281846140cb565b90509695505050505050565b60008151905061416d816128ed565b92915050565b60006020828403121561418957614188612766565b5b60006141978482850161415e565b91505092915050565b60008160e01c9050919050565b600060033d11156141cc5760046000803e6141c96000516141a0565b90505b90565b600060443d1061425c576141e161275c565b60043d036004823e80513d602482011167ffffffffffffffff8211171561420957505061425c565b808201805167ffffffffffffffff811115614227575050505061425c565b80602083010160043d03850181111561424457505050505061425c565b61425382602001850186612aeb565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006142bb603483612a0b565b91506142c68261425f565b604082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061434d602883612a0b565b9150614358826142f1565b604082019050919050565b6000602082019050818103600083015261437c81614340565b9050919050565b600060a0820190506143986000830188612cd7565b6143a56020830187612cd7565b81810360408301526143b7818661315c565b905081810360608301526143cb818561315c565b905081810360808301526143df81846140cb565b9050969550505050505056fea26469706673582212200596341a4561d24cae9f1e6dd26ddafc45d6d57acb21c96bb5bae0bd6fe48c7364736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000e317bde7be00d249fe79c64588ea8dd8b01c3b200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000001e425354524f59207820476976656e6368792062792046656c74205a696e650000000000000000000000000000000000000000000000000000000000000000000347495600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566948384445716f556e377957656a61735532746550337257707364785337704670776773546d46454167780000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101565760003560e01c8063715018a6116100c3578063b390c0ab1161007c578063b390c0ab146103d6578063bd85b039146103f2578063e8a3d48514610422578063e985e9c514610440578063f242432a14610470578063f2fde38b1461048c57610156565b8063715018a614610328578063869f7594146103325780638da5cb5b14610362578063938e3d7b1461038057806395d89b411461039c578063a22cb465146103ba57610156565b80630e89341c116101155780630e89341c1461022d57806329a8791a1461025d5780632a55205a1461028d5780632eb2c2d6146102be57806341f43434146102da5780634e1273f4146102f857610156565b80624a84cb1461015b578062fdd58e1461017757806301ffc9a7146101a757806304634d8d146101d757806306fdde03146101f35780630c63bded14610211575b600080fd5b61017560048036038101906101709190612804565b6104a8565b005b610191600480360381019061018c9190612857565b6104d0565b60405161019e91906128a6565b60405180910390f35b6101c160048036038101906101bc9190612919565b610598565b6040516101ce9190612961565b60405180910390f35b6101f160048036038101906101ec91906129c0565b6105aa565b005b6101fb6105c0565b6040516102089190612a90565b60405180910390f35b61022b60048036038101906102269190612be7565b61064e565b005b61024760048036038101906102429190612c6a565b610791565b6040516102549190612a90565b60405180910390f35b61027760048036038101906102729190612c6a565b610836565b6040516102849190612961565b60405180910390f35b6102a760048036038101906102a29190612c97565b610856565b6040516102b5929190612ce6565b60405180910390f35b6102d860048036038101906102d39190612e78565b610a40565b005b6102e2610a93565b6040516102ef9190612fa6565b60405180910390f35b610312600480360381019061030d9190613084565b610aa5565b60405161031f91906131ba565b60405180910390f35b610330610bbe565b005b61034c60048036038101906103479190612c6a565b610bd2565b60405161035991906128a6565b60405180910390f35b61036a610bea565b60405161037791906131dc565b60405180910390f35b61039a600480360381019061039591906131f7565b610c14565b005b6103a4610cac565b6040516103b19190612a90565b60405180910390f35b6103d460048036038101906103cf919061326c565b610d3a565b005b6103f060048036038101906103eb9190612c97565b610d53565b005b61040c60048036038101906104079190612c6a565b610d69565b60405161041991906128a6565b60405180910390f35b61042a610d81565b6040516104379190612a90565b60405180910390f35b61045a600480360381019061045591906132ac565b610e0f565b6040516104679190612961565b60405180910390f35b61048a600480360381019061048591906132ec565b610ea3565b005b6104a660048036038101906104a19190613383565b610ef6565b005b6104b0610f79565b6104cb83838360405180602001604052806000815250610ff7565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053790613422565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006105a382611121565b9050919050565b6105b2610f79565b6105bc828261119b565b5050565b600680546105cd90613471565b80601f01602080910402602001604051908101604052809291908181526020018280546105f990613471565b80156106465780601f1061061b57610100808354040283529160200191610646565b820191906000526020600020905b81548152906001019060200180831161062957829003601f168201915b505050505081565b610656610f79565b6000820361069b57816040517f7cbab89700000000000000000000000000000000000000000000000000000000815260040161069291906128a6565b60405180910390fd5b6106a484610836565b156106e657836040517fe9c0502a0000000000000000000000000000000000000000000000000000000081526004016106dd91906128a6565b60405180910390fd5b8183111561072d5782826040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016107249291906134a2565b60405180910390fd5b80600b6000868152602001908152602001600020908161074d919061366d565b50816009600086815260200190815260200160002081905550600083111561078b5761078a33858560405180602001604052806000815250610ff7565b5b50505050565b6060600b600083815260200190815260200160002080546107b190613471565b80601f01602080910402602001604051908101604052809291908181526020018280546107dd90613471565b801561082a5780601f106107ff5761010080835404028352916020019161082a565b820191906000526020600020905b81548152906001019060200180831161080d57829003601f168201915b50505050509050919050565b600080600960008481526020019081526020016000205414159050919050565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036109eb5760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109f5611330565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610a21919061376e565b610a2b91906137df565b90508160000151819350935050509250929050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7e57610a7d3361133a565b5b610a8b8686868686611437565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae290613882565b60405180910390fd5b6000835167ffffffffffffffff811115610b0857610b07612abc565b5b604051908082528060200260200182016040528015610b365781602001602082028036833780820191505090505b50905060005b8451811015610bb357610b83858281518110610b5b57610b5a6138a2565b5b6020026020010151858381518110610b7657610b756138a2565b5b60200260200101516104d0565b828281518110610b9657610b956138a2565b5b60200260200101818152505080610bac906138d1565b9050610b3c565b508091505092915050565b610bc6610f79565b610bd060006114d8565b565b60096020528060005260406000206000915090505481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c1c610f79565b6000815103610c6257806040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401610c599190612a90565b60405180910390fd5b8060089081610c71919061366d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac3737881604051610ca19190612a90565b60405180910390a150565b60078054610cb990613471565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce590613471565b8015610d325780601f10610d0757610100808354040283529160200191610d32565b820191906000526020600020905b815481529060010190602001808311610d1557829003601f168201915b505050505081565b81610d448161133a565b610d4e838361159e565b505050565b610d65610d5e6115b4565b83836115bc565b5050565b600a6020528060005260406000206000915090505481565b60088054610d8e90613471565b80601f0160208091040260200160405190810160405280929190818152602001828054610dba90613471565b8015610e075780601f10610ddc57610100808354040283529160200191610e07565b820191906000526020600020905b815481529060010190602001808311610dea57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ee157610ee03361133a565b5b610eee86868686866115f6565b505050505050565b610efe610f79565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f649061398b565b60405180910390fd5b610f76816114d8565b50565b610f816115b4565b73ffffffffffffffffffffffffffffffffffffffff16610f9f610bea565b73ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec906139f7565b60405180910390fd5b565b6000820361103c57816040517f3728b83d00000000000000000000000000000000000000000000000000000000815260040161103391906128a6565b60405180910390fd5b600960008481526020019081526020016000205482600a60008681526020019081526020016000205461106f9190613a17565b11156110e55781600a6000858152602001908152602001600020546110949190613a17565b60096000858152602001908152602001600020546040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016110dc9291906134a2565b60405180910390fd5b81600a600085815260200190815260200160002060008282546111089190613a17565b9250508190555061111b84848484611697565b50505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611194575061119382611847565b5b9050919050565b6111a3611330565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890613abd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126790613b29565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611434576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016113b1929190613b49565b602060405180830381865afa1580156113ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f29190613b87565b61143357806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161142a91906131dc565b60405180910390fd5b5b50565b61143f6115b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061148557506114848561147f6115b4565b610e0f565b5b6114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613c26565b60405180910390fd5b6114d18585858585611929565b5050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6115b06115a96115b4565b8383611c4a565b5050565b600033905090565b80600a600084815260200190815260200160002060008282546115df9190613c46565b925050819055506115f1838383611db6565b505050565b6115fe6115b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061164457506116438561163e6115b4565b610e0f565b5b611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90613c26565b60405180910390fd5b6116908585858585611ffc565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd90613cec565b60405180910390fd5b60006117106115b4565b9050600061171d85612297565b9050600061172a85612297565b905061173b83600089858589612311565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461179a9190613a17565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516118189291906134a2565b60405180910390a461182f83600089858589612319565b61183e83600089898989612321565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119225750611921826124f8565b5b9050919050565b815183511461196d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196490613d7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d390613e10565b60405180910390fd5b60006119e66115b4565b90506119f6818787878787612311565b60005b8451811015611ba7576000858281518110611a1757611a166138a2565b5b602002602001015190506000858381518110611a3657611a356138a2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90613ea2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b8c9190613a17565b9250508190555050505080611ba0906138d1565b90506119f9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c1e929190613ec2565b60405180910390a4611c34818787878787612319565b611c42818787878787612562565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf90613f6b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611da99190612961565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90613ffd565b60405180910390fd5b6000611e2f6115b4565b90506000611e3c84612297565b90506000611e4984612297565b9050611e6983876000858560405180602001604052806000815250612311565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef79061408f565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611fcd9291906134a2565b60405180910390a4611ff384886000868660405180602001604052806000815250612319565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613e10565b60405180910390fd5b60006120756115b4565b9050600061208285612297565b9050600061208f85612297565b905061209f838989858589612311565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90613ea2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121eb9190613a17565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516122689291906134a2565b60405180910390a461227e848a8a86868a612319565b61228c848a8a8a8a8a612321565b505050505050505050565b60606000600167ffffffffffffffff8111156122b6576122b5612abc565b5b6040519080825280602002602001820160405280156122e45781602001602082028036833780820191505090505b50905082816000815181106122fc576122fb6138a2565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6123408473ffffffffffffffffffffffffffffffffffffffff16612739565b156124f0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612386959493929190614104565b6020604051808303816000875af19250505080156123c257506040513d601f19601f820116820180604052508101906123bf9190614173565b60015b612467576123ce6141ad565b806308c379a00361242a57506123e26141cf565b806123ed575061242c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124219190612a90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e906142d1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614363565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125818473ffffffffffffffffffffffffffffffffffffffff16612739565b15612731578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125c7959493929190614383565b6020604051808303816000875af192505050801561260357506040513d601f19601f820116820180604052508101906126009190614173565b60015b6126a85761260f6141ad565b806308c379a00361266b57506126236141cf565b8061262e575061266d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126629190612a90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269f906142d1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690614363565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061279b82612770565b9050919050565b6127ab81612790565b81146127b657600080fd5b50565b6000813590506127c8816127a2565b92915050565b6000819050919050565b6127e1816127ce565b81146127ec57600080fd5b50565b6000813590506127fe816127d8565b92915050565b60008060006060848603121561281d5761281c612766565b5b600061282b868287016127b9565b935050602061283c868287016127ef565b925050604061284d868287016127ef565b9150509250925092565b6000806040838503121561286e5761286d612766565b5b600061287c858286016127b9565b925050602061288d858286016127ef565b9150509250929050565b6128a0816127ce565b82525050565b60006020820190506128bb6000830184612897565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128f6816128c1565b811461290157600080fd5b50565b600081359050612913816128ed565b92915050565b60006020828403121561292f5761292e612766565b5b600061293d84828501612904565b91505092915050565b60008115159050919050565b61295b81612946565b82525050565b60006020820190506129766000830184612952565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61299d8161297c565b81146129a857600080fd5b50565b6000813590506129ba81612994565b92915050565b600080604083850312156129d7576129d6612766565b5b60006129e5858286016127b9565b92505060206129f6858286016129ab565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a3a578082015181840152602081019050612a1f565b60008484015250505050565b6000601f19601f8301169050919050565b6000612a6282612a00565b612a6c8185612a0b565b9350612a7c818560208601612a1c565b612a8581612a46565b840191505092915050565b60006020820190508181036000830152612aaa8184612a57565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612af482612a46565b810181811067ffffffffffffffff82111715612b1357612b12612abc565b5b80604052505050565b6000612b2661275c565b9050612b328282612aeb565b919050565b600067ffffffffffffffff821115612b5257612b51612abc565b5b612b5b82612a46565b9050602081019050919050565b82818337600083830152505050565b6000612b8a612b8584612b37565b612b1c565b905082815260208101848484011115612ba657612ba5612ab7565b5b612bb1848285612b68565b509392505050565b600082601f830112612bce57612bcd612ab2565b5b8135612bde848260208601612b77565b91505092915050565b60008060008060808587031215612c0157612c00612766565b5b6000612c0f878288016127ef565b9450506020612c20878288016127ef565b9350506040612c31878288016127ef565b925050606085013567ffffffffffffffff811115612c5257612c5161276b565b5b612c5e87828801612bb9565b91505092959194509250565b600060208284031215612c8057612c7f612766565b5b6000612c8e848285016127ef565b91505092915050565b60008060408385031215612cae57612cad612766565b5b6000612cbc858286016127ef565b9250506020612ccd858286016127ef565b9150509250929050565b612ce081612790565b82525050565b6000604082019050612cfb6000830185612cd7565b612d086020830184612897565b9392505050565b600067ffffffffffffffff821115612d2a57612d29612abc565b5b602082029050602081019050919050565b600080fd5b6000612d53612d4e84612d0f565b612b1c565b90508083825260208201905060208402830185811115612d7657612d75612d3b565b5b835b81811015612d9f5780612d8b88826127ef565b845260208401935050602081019050612d78565b5050509392505050565b600082601f830112612dbe57612dbd612ab2565b5b8135612dce848260208601612d40565b91505092915050565b600067ffffffffffffffff821115612df257612df1612abc565b5b612dfb82612a46565b9050602081019050919050565b6000612e1b612e1684612dd7565b612b1c565b905082815260208101848484011115612e3757612e36612ab7565b5b612e42848285612b68565b509392505050565b600082601f830112612e5f57612e5e612ab2565b5b8135612e6f848260208601612e08565b91505092915050565b600080600080600060a08688031215612e9457612e93612766565b5b6000612ea2888289016127b9565b9550506020612eb3888289016127b9565b945050604086013567ffffffffffffffff811115612ed457612ed361276b565b5b612ee088828901612da9565b935050606086013567ffffffffffffffff811115612f0157612f0061276b565b5b612f0d88828901612da9565b925050608086013567ffffffffffffffff811115612f2e57612f2d61276b565b5b612f3a88828901612e4a565b9150509295509295909350565b6000819050919050565b6000612f6c612f67612f6284612770565b612f47565b612770565b9050919050565b6000612f7e82612f51565b9050919050565b6000612f9082612f73565b9050919050565b612fa081612f85565b82525050565b6000602082019050612fbb6000830184612f97565b92915050565b600067ffffffffffffffff821115612fdc57612fdb612abc565b5b602082029050602081019050919050565b6000613000612ffb84612fc1565b612b1c565b9050808382526020820190506020840283018581111561302357613022612d3b565b5b835b8181101561304c578061303888826127b9565b845260208401935050602081019050613025565b5050509392505050565b600082601f83011261306b5761306a612ab2565b5b813561307b848260208601612fed565b91505092915050565b6000806040838503121561309b5761309a612766565b5b600083013567ffffffffffffffff8111156130b9576130b861276b565b5b6130c585828601613056565b925050602083013567ffffffffffffffff8111156130e6576130e561276b565b5b6130f285828601612da9565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613131816127ce565b82525050565b60006131438383613128565b60208301905092915050565b6000602082019050919050565b6000613167826130fc565b6131718185613107565b935061317c83613118565b8060005b838110156131ad5781516131948882613137565b975061319f8361314f565b925050600181019050613180565b5085935050505092915050565b600060208201905081810360008301526131d4818461315c565b905092915050565b60006020820190506131f16000830184612cd7565b92915050565b60006020828403121561320d5761320c612766565b5b600082013567ffffffffffffffff81111561322b5761322a61276b565b5b61323784828501612bb9565b91505092915050565b61324981612946565b811461325457600080fd5b50565b60008135905061326681613240565b92915050565b6000806040838503121561328357613282612766565b5b6000613291858286016127b9565b92505060206132a285828601613257565b9150509250929050565b600080604083850312156132c3576132c2612766565b5b60006132d1858286016127b9565b92505060206132e2858286016127b9565b9150509250929050565b600080600080600060a0868803121561330857613307612766565b5b6000613316888289016127b9565b9550506020613327888289016127b9565b9450506040613338888289016127ef565b9350506060613349888289016127ef565b925050608086013567ffffffffffffffff81111561336a5761336961276b565b5b61337688828901612e4a565b9150509295509295909350565b60006020828403121561339957613398612766565b5b60006133a7848285016127b9565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061340c602a83612a0b565b9150613417826133b0565b604082019050919050565b6000602082019050818103600083015261343b816133ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061348957607f821691505b60208210810361349c5761349b613442565b5b50919050565b60006040820190506134b76000830185612897565b6134c46020830184612897565b9392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261352d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826134f0565b61353786836134f0565b95508019841693508086168417925050509392505050565b600061356a613565613560846127ce565b612f47565b6127ce565b9050919050565b6000819050919050565b6135848361354f565b61359861359082613571565b8484546134fd565b825550505050565b600090565b6135ad6135a0565b6135b881848461357b565b505050565b5b818110156135dc576135d16000826135a5565b6001810190506135be565b5050565b601f821115613621576135f2816134cb565b6135fb846134e0565b8101602085101561360a578190505b61361e613616856134e0565b8301826135bd565b50505b505050565b600082821c905092915050565b600061364460001984600802613626565b1980831691505092915050565b600061365d8383613633565b9150826002028217905092915050565b61367682612a00565b67ffffffffffffffff81111561368f5761368e612abc565b5b6136998254613471565b6136a48282856135e0565b600060209050601f8311600181146136d757600084156136c5578287015190505b6136cf8582613651565b865550613737565b601f1984166136e5866134cb565b60005b8281101561370d578489015182556001820191506020850194506020810190506136e8565b8683101561372a5784890151613726601f891682613633565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613779826127ce565b9150613784836127ce565b9250828202613792816127ce565b915082820484148315176137a9576137a861373f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006137ea826127ce565b91506137f5836127ce565b925082613805576138046137b0565b5b828204905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061386c602983612a0b565b915061387782613810565b604082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006138dc826127ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361390e5761390d61373f565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613975602683612a0b565b915061398082613919565b604082019050919050565b600060208201905081810360008301526139a481613968565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139e1602083612a0b565b91506139ec826139ab565b602082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b6000613a22826127ce565b9150613a2d836127ce565b9250828201905080821115613a4557613a4461373f565b5b92915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613aa7602a83612a0b565b9150613ab282613a4b565b604082019050919050565b60006020820190508181036000830152613ad681613a9a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613b13601983612a0b565b9150613b1e82613add565b602082019050919050565b60006020820190508181036000830152613b4281613b06565b9050919050565b6000604082019050613b5e6000830185612cd7565b613b6b6020830184612cd7565b9392505050565b600081519050613b8181613240565b92915050565b600060208284031215613b9d57613b9c612766565b5b6000613bab84828501613b72565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c10602e83612a0b565b9150613c1b82613bb4565b604082019050919050565b60006020820190508181036000830152613c3f81613c03565b9050919050565b6000613c51826127ce565b9150613c5c836127ce565b9250828203905081811115613c7457613c7361373f565b5b92915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cd6602183612a0b565b9150613ce182613c7a565b604082019050919050565b60006020820190508181036000830152613d0581613cc9565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613d68602883612a0b565b9150613d7382613d0c565b604082019050919050565b60006020820190508181036000830152613d9781613d5b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613dfa602583612a0b565b9150613e0582613d9e565b604082019050919050565b60006020820190508181036000830152613e2981613ded565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613e8c602a83612a0b565b9150613e9782613e30565b604082019050919050565b60006020820190508181036000830152613ebb81613e7f565b9050919050565b60006040820190508181036000830152613edc818561315c565b90508181036020830152613ef0818461315c565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613f55602983612a0b565b9150613f6082613ef9565b604082019050919050565b60006020820190508181036000830152613f8481613f48565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613fe7602383612a0b565b9150613ff282613f8b565b604082019050919050565b6000602082019050818103600083015261401681613fda565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614079602483612a0b565b91506140848261401d565b604082019050919050565b600060208201905081810360008301526140a88161406c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140d6826140af565b6140e081856140ba565b93506140f0818560208601612a1c565b6140f981612a46565b840191505092915050565b600060a0820190506141196000830188612cd7565b6141266020830187612cd7565b6141336040830186612897565b6141406060830185612897565b818103608083015261415281846140cb565b90509695505050505050565b60008151905061416d816128ed565b92915050565b60006020828403121561418957614188612766565b5b60006141978482850161415e565b91505092915050565b60008160e01c9050919050565b600060033d11156141cc5760046000803e6141c96000516141a0565b90505b90565b600060443d1061425c576141e161275c565b60043d036004823e80513d602482011167ffffffffffffffff8211171561420957505061425c565b808201805167ffffffffffffffff811115614227575050505061425c565b80602083010160043d03850181111561424457505050505061425c565b61425382602001850186612aeb565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006142bb603483612a0b565b91506142c68261425f565b604082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061434d602883612a0b565b9150614358826142f1565b604082019050919050565b6000602082019050818103600083015261437c81614340565b9050919050565b600060a0820190506143986000830188612cd7565b6143a56020830187612cd7565b81810360408301526143b7818661315c565b905081810360608301526143cb818561315c565b905081810360808301526143df81846140cb565b9050969550505050505056fea26469706673582212200596341a4561d24cae9f1e6dd26ddafc45d6d57acb21c96bb5bae0bd6fe48c7364736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000e317bde7be00d249fe79c64588ea8dd8b01c3b200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000001e425354524f59207820476976656e6368792062792046656c74205a696e650000000000000000000000000000000000000000000000000000000000000000000347495600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566948384445716f556e377957656a61735532746550337257707364785337704670776773546d46454167780000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): BSTROY x Givenchy by Felt Zine
Arg [1] : symbol_ (string): GIV
Arg [2] : contractURI_ (string): ipfs://QmViH8DEqoUn7yWejasU2teP3rWpsdxS7pFpwgsTmFEAgx
Arg [3] : receiver_ (address): 0x0E317Bde7Be00d249FE79c64588Ea8Dd8B01c3b2
Arg [4] : feeNumerator_ (uint96): 1000

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000e317bde7be00d249fe79c64588ea8dd8b01c3b2
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [6] : 425354524f59207820476976656e6368792062792046656c74205a696e650000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4749560000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d566948384445716f556e377957656a6173553274655033
Arg [11] : 7257707364785337704670776773546d46454167780000000000000000000000


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.