ETH Price: $3,641.84 (+1.74%)

Contract

0xb644476e44A797Db3B8a6A16f2e63e8D5a541b67
 

Overview

ETH Balance

2.99 ETH

Eth Value

$10,889.10 (@ $3,641.84/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...203626382024-07-22 14:22:35130 days ago1721658155IN
isotile furnitures
0 ETH0.000182977.46311757
Set Approval For...203331672024-07-18 11:40:23134 days ago1721302823IN
isotile furnitures
0 ETH0.000345977.46516059
Set Approval For...196031102024-04-07 10:05:59236 days ago1712484359IN
isotile furnitures
0 ETH0.0003296713.49294402
Set Approval For...196031082024-04-07 10:05:35236 days ago1712484335IN
isotile furnitures
0 ETH0.0003719115.16963829
Set Approval For...196031072024-04-07 10:05:23236 days ago1712484323IN
isotile furnitures
0 ETH0.0003651214.89252645
Set Approval For...193861042024-03-07 21:53:35267 days ago1709848415IN
isotile furnitures
0 ETH0.0016775568.42422712
Set Approval For...193861032024-03-07 21:53:23267 days ago1709848403IN
isotile furnitures
0 ETH0.0017333470.6997932
Set Approval For...192197862024-02-13 14:50:23290 days ago1707835823IN
isotile furnitures
0 ETH0.0011018944.94411439
Set Approval For...192197852024-02-13 14:50:11290 days ago1707835811IN
isotile furnitures
0 ETH0.0011347246.28301293
Set Approval For...188925742023-12-29 16:59:11336 days ago1703869151IN
isotile furnitures
0 ETH0.0008007632.66157623
Set Approval For...188124672023-12-18 11:05:35347 days ago1702897535IN
isotile furnitures
0 ETH0.0011232345.81460151
Safe Transfer Fr...187624262023-12-11 10:39:59354 days ago1702291199IN
isotile furnitures
0 ETH0.0016945231.26546699
Safe Transfer Fr...187624212023-12-11 10:38:59354 days ago1702291139IN
isotile furnitures
0 ETH0.0016853531.09624597
Safe Transfer Fr...187624192023-12-11 10:38:23354 days ago1702291103IN
isotile furnitures
0 ETH0.001624929.98758932
Set Approval For...187621002023-12-11 9:34:23354 days ago1702287263IN
isotile furnitures
0 ETH0.0013103728.27428257
Set Approval For...186687662023-11-28 7:54:47367 days ago1701158087IN
isotile furnitures
0 ETH0.0012751127.47550041
Set Approval For...183164392023-10-10 0:20:23417 days ago1696897223IN
isotile furnitures
0 ETH0.000311346.71458708
Set Approval For...183164392023-10-10 0:20:23417 days ago1696897223IN
isotile furnitures
0 ETH0.000311186.71458708
Set Approval For...182817782023-10-05 3:58:35422 days ago1696478315IN
isotile furnitures
0 ETH0.000301396.50338762
Set Approval For...181230322023-09-12 21:49:23444 days ago1694555363IN
isotile furnitures
0 ETH0.0006529814.08973294
Set Approval For...177619942023-07-24 9:12:59494 days ago1690189979IN
isotile furnitures
0 ETH0.0012895127.82430308
Set Approval For...176416892023-07-07 11:40:35511 days ago1688730035IN
isotile furnitures
0 ETH0.0004963520.24527692
Set Approval For...175072492023-06-18 14:26:23530 days ago1687098383IN
isotile furnitures
0 ETH0.000474919.37054355
Set Approval For...174968032023-06-17 3:18:35532 days ago1686971915IN
isotile furnitures
0 ETH0.0003712515.19501287
Set Approval For...170123142023-04-09 17:50:47600 days ago1681062647IN
isotile furnitures
0 ETH0.0010235141.74715111
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
135090932021-10-29 0:58:581128 days ago1635469138
isotile furnitures
155.7 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IsotileFurniture

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : IsotileFurniture.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;

import "./ITiles.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract IsotileFurniture is ERC1155, ERC1155Pausable, Ownable {
  using Counters for Counters.Counter;

  Counters.Counter private _furnitureIds;
  ITiles private tilesInstance;
  
  // Event on create furnitures
  event FurnitureAdded(uint256 indexed id);
  
  // Mapping from address to count of furnitures bought
  mapping (address => uint256) private _furnituresBought;

  struct Furniture {
    string uri;
    uint256 maxSupply;
    bool isPaidWithEther;
    uint256 price;
    uint256 totalSupply;
    uint256 saveFirstBuyerMaxTimestampAllowed;
  }

  // Mapping from furniture ID to furnitures
  mapping (uint256 => Furniture) private _furnitures;
  

  constructor() ERC1155("") {}

  // Get total furnitures added to isotile contract
  function getTotalFurnitures() public view returns (uint256){
    return _furnitureIds.current();
  }

  // Get total furnitures added to isotile contract
  function getCountOfFurnituresBought(address account) public view returns (uint256){
    return _furnituresBought[account];
  }

  // Override get uri for a furniture ID
  function uri(uint256 id) public view override returns (string memory) {
    return _furnitures[id].uri;
  }

  // Get max supply for a furniture ID
  function getMaxSupply(uint256 id) public view returns (uint256){
    return _furnitures[id].maxSupply;
  }

  // Get if a furniture is paid on tiles
  function isPaidWithEther(uint256 id) public view returns (bool){
    return _furnitures[id].isPaidWithEther;
  }

  // Get price in weis of furniture ID
  function getPrice(uint256 id) public view returns (uint256){
    return _furnitures[id].price;
  }

  // Get count of furnitures minted for a furniture ID
  function getTotalSupply(uint256 id) public view returns (uint256){
    return _furnitures[id].totalSupply;
  }

  // Mint one furniture
  function mintFurniture(uint256 id, uint256 amount) public payable {
    require(amount > 0, "amount cannot be 0");

    require(_furnitures[id].totalSupply + amount <= _furnitures[id].maxSupply, "Exceeds MAX_SUPPLY");
    _furnitures[id].totalSupply += amount;

    uint256 paymentRequired = _furnitures[id].price * amount;
    if(_furnitures[id].isPaidWithEther){
      require(msg.value == paymentRequired, "Ether value sent is not correct");
    }else{
      require(msg.value == 0, "Ether not accepted for this furniture");
      require(tilesInstance.balanceOf(msg.sender) >= paymentRequired, "Not enough tiles");

      tilesInstance.spend(msg.sender, paymentRequired);
    }

    if(_furnitures[id].saveFirstBuyerMaxTimestampAllowed > 0 && block.timestamp < _furnitures[id].saveFirstBuyerMaxTimestampAllowed){
      _furnituresBought[msg.sender] += amount;
    }

    _mint(msg.sender, id, amount, "");
  }

  // Mint batch furnitures
  function mintBatchFurnitures(uint256[] memory ids, uint256[] memory amounts) public payable {
    require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

    uint256 totalAmounts = 0;
    uint256 paymentRequiredOnEther = 0;
    uint256 paymentRequiredOnTiles = 0;

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

      require(amount > 0, "amount cannot be 0");

      if(_furnitures[id].saveFirstBuyerMaxTimestampAllowed > 0 && block.timestamp < _furnitures[id].saveFirstBuyerMaxTimestampAllowed){
        totalAmounts += amount;
      }

      require(_furnitures[id].totalSupply + amount <= _furnitures[id].maxSupply, "Exceeds MAX_SUPPLY");
      _furnitures[id].totalSupply += amount;

      if(_furnitures[id].isPaidWithEther){
        paymentRequiredOnEther += _furnitures[id].price * amount;
      }else{
        paymentRequiredOnTiles += _furnitures[id].price * amount;
      }
    }

    require(msg.value == paymentRequiredOnEther, "Ether value sent is not correct");

    if(paymentRequiredOnTiles > 0){
      require(tilesInstance.balanceOf(msg.sender) >= paymentRequiredOnTiles, "Not enough tiles");

      tilesInstance.spend(msg.sender, paymentRequiredOnTiles);
    }

    if(totalAmounts > 0){
      _furnituresBought[msg.sender] += totalAmounts;
    }

    _mintBatch(msg.sender, ids, amounts, "");
  }
  
  function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override(ERC1155, ERC1155Pausable) {
    super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
  }

  // Create a furniture
  function addFurniture(string memory _furnitureUri, uint256 _maxSupply, bool _isPaidWithEther, uint256 _price, uint256 _saveFirstBuyerMaxTimestampAllowed) onlyOwner public {
    uint256 newFurnitureId = _furnitureIds.current();

    _furnitures[newFurnitureId] = Furniture({
      uri: _furnitureUri,
      maxSupply: _maxSupply,
      isPaidWithEther: _isPaidWithEther,
      price: _price,
      totalSupply: 0,
      saveFirstBuyerMaxTimestampAllowed: _saveFirstBuyerMaxTimestampAllowed
    });
    
    emit FurnitureAdded(newFurnitureId);

    _furnitureIds.increment();
  }

  function setTilesInstance(address tilesAddress) onlyOwner public {
    tilesInstance = ITiles(tilesAddress);
  }
  
  function pause() onlyOwner public {
      _pause();
  }
  
  function unpause() onlyOwner public {
      _unpause();
  }

  function withdraw() onlyOwner public {
    uint balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }

}

File 2 of 15 : ITiles.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface ITiles is IERC20 {
    function spend(address account, uint256 amount) external;
}

File 3 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT

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: balance query for the zero address");
        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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

        _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        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");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;
        }

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

        _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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        _balances[id][account] = accountBalance - amount;

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @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 `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 _beforeTokenTransfer(
        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(to).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(to).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 4 of 15 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
        override
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

File 7 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 8 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT

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 be 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 9 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * _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.
        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. 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 10 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"FurnitureAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"string","name":"_furnitureUri","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"bool","name":"_isPaidWithEther","type":"bool"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_saveFirstBuyerMaxTimestampAllowed","type":"uint256"}],"name":"addFurniture","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":"address","name":"account","type":"address"}],"name":"getCountOfFurnituresBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalFurnitures","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"id","type":"uint256"}],"name":"isPaidWithEther","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatchFurnitures","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFurniture","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"id","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":"address","name":"tilesAddress","type":"address"}],"name":"setTilesInstance","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c816200009f565b506003805460ff19169055600062000043620000b8565b60038054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200019f565b8051620000b4906002906020840190620000bc565b5050565b3390565b828054620000ca9062000162565b90600052602060002090601f016020900481019282620000ee576000855562000139565b82601f106200010957805160ff191683800117855562000139565b8280016001018555821562000139579182015b82811115620001395782518255916020019190600101906200011c565b50620001479291506200014b565b5090565b5b808211156200014757600081556001016200014c565b6002810460018216806200017757607f821691505b602082108114156200019957634e487b7160e01b600052602260045260246000fd5b50919050565b612a6c80620001af6000396000f3fe6080604052600436106101655760003560e01c80638da5cb5b116100d1578063b9f7f0021161008a578063eb2a986e11610064578063eb2a986e146103ef578063eccd44e91461040f578063f242432a1461042f578063f2fde38b1461044f57610165565b8063b9f7f0021461039c578063e7572230146103af578063e985e9c5146103cf57610165565b80638da5cb5b146102e75780638f78ea561461030957806392ab723e146103295780639be3035414610349578063a22cb46514610369578063a903f6c31461038957610165565b80634e1273f4116101235780634e1273f4146102465780635c975abb146102735780635e495d7414610288578063715018a6146102a85780638456cb59146102bd57806387e5c7e9146102d257610165565b8062fdd58e1461016a57806301ffc9a7146101a05780630e89341c146101cd5780632eb2c2d6146101fa5780633ccfd60b1461021c5780633f4ba83a14610231575b600080fd5b34801561017657600080fd5b5061018a610185366004611f0c565b61046f565b604051610197919061283d565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb36600461203d565b6104c6565b60405161019791906122d6565b3480156101d957600080fd5b506101ed6101e83660046120ef565b61050e565b60405161019791906122e1565b34801561020657600080fd5b5061021a610215366004611dda565b6105b0565b005b34801561022857600080fd5b5061021a610816565b34801561023d57600080fd5b5061021a610888565b34801561025257600080fd5b50610266610261366004611f35565b6108d1565b6040516101979190612295565b34801561027f57600080fd5b506101c06109f1565b34801561029457600080fd5b5061018a6102a33660046120ef565b6109fb565b3480156102b457600080fd5b5061021a610a10565b3480156102c957600080fd5b5061021a610a9f565b3480156102de57600080fd5b5061018a610ae6565b3480156102f357600080fd5b506102fc610af7565b60405161019791906121c5565b34801561031557600080fd5b5061018a610324366004611d8e565b610b0b565b34801561033557600080fd5b5061018a6103443660046120ef565b610b26565b34801561035557600080fd5b5061021a610364366004612075565b610b3b565b34801561037557600080fd5b5061021a610384366004611ee3565b610c54565b61021a610397366004611ff3565b610d22565b61021a6103aa36600461211f565b611072565b3480156103bb57600080fd5b5061018a6103ca3660046120ef565b6112f3565b3480156103db57600080fd5b506101c06103ea366004611da8565b611308565b3480156103fb57600080fd5b506101c061040a3660046120ef565b611336565b34801561041b57600080fd5b5061021a61042a366004611d8e565b61134e565b34801561043b57600080fd5b5061021a61044a366004611e80565b6113af565b34801561045b57600080fd5b5061021a61046a366004611d8e565b611545565b60006001600160a01b0383166104a05760405162461bcd60e51b8152600401610497906123e8565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806104f757506001600160e01b031982166303a24d0760e21b145b80610506575061050682611611565b90505b919050565b600081815260076020526040902080546060919061052b906128f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610557906128f0565b80156105a45780601f10610579576101008083540402835291602001916105a4565b820191906000526020600020905b81548152906001019060200180831161058757829003601f168201915b50505050509050919050565b81518351146105d15760405162461bcd60e51b8152600401610497906127b4565b6001600160a01b0384166105f75760405162461bcd60e51b8152600401610497906125b4565b6105ff61162a565b6001600160a01b0316856001600160a01b031614806106255750610625856103ea61162a565b6106415760405162461bcd60e51b8152600401610497906125f9565b600061064b61162a565b905061065b81878787878761162e565b60005b84518110156107a857600085828151811061068957634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106106b557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156107055760405162461bcd60e51b81526004016104979061264b565b61070f82826128d9565b60008085815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020819055508160008085815260200190815260200160002060008b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461078d91906128a2565b92505081905550505050806107a19061292b565b905061065e565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516107f89291906122a8565b60405180910390a461080e81878787878761163c565b505050505050565b61081e61162a565b6001600160a01b031661082f610af7565b6001600160a01b0316146108555760405162461bcd60e51b815260040161049790612695565b6040514790339082156108fc029083906000818181858888f19350505050158015610884573d6000803e3d6000fd5b5050565b61089061162a565b6001600160a01b03166108a1610af7565b6001600160a01b0316146108c75760405162461bcd60e51b815260040161049790612695565b6108cf61174a565b565b606081518351146108f45760405162461bcd60e51b81526004016104979061276b565b6000835167ffffffffffffffff81111561091e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610947578160200160208202803683370190505b50905060005b84518110156109e9576109ae85828151811061097957634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106109a157634e487b7160e01b600052603260045260246000fd5b602002602001015161046f565b8282815181106109ce57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526109e28161292b565b905061094d565b509392505050565b60035460ff165b90565b60009081526007602052604090206001015490565b610a1861162a565b6001600160a01b0316610a29610af7565b6001600160a01b031614610a4f5760405162461bcd60e51b815260040161049790612695565b60035460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360038054610100600160a81b0319169055565b610aa761162a565b6001600160a01b0316610ab8610af7565b6001600160a01b031614610ade5760405162461bcd60e51b815260040161049790612695565b6108cf6117b8565b6000610af26004611813565b905090565b60035461010090046001600160a01b031690565b6001600160a01b031660009081526006602052604090205490565b60009081526007602052604090206004015490565b610b4361162a565b6001600160a01b0316610b54610af7565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161049790612695565b6000610b866004611813565b6040805160c0810182528881526020808201899052871515828401526060820187905260006080830181905260a0830187905284815260078252929092208151805194955091939092610bdd928492910190611be4565b506020820151600182015560408083015160028301805460ff1916911515919091179055606083015160038301556080830151600483015560a0909201516005909101555181907ff362febae3157a13119e0c21bdf9a11caeb3ccef1d804805c1845cb032ebf90f90600090a261080e6004611817565b816001600160a01b0316610c6661162a565b6001600160a01b03161415610c8d5760405162461bcd60e51b815260040161049790612722565b8060016000610c9a61162a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cde61162a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d1691906122d6565b60405180910390a35050565b8051825114610d435760405162461bcd60e51b8152600401610497906127b4565b6000806000805b8551811015610efc576000868281518110610d7557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000868381518110610da157634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008111610dcb5760405162461bcd60e51b8152600401610497906126f6565b60008281526007602052604090206005015415801590610dfb575060008281526007602052604090206005015442105b15610e0d57610e0a81876128a2565b95505b60008281526007602052604090206001810154600490910154610e319083906128a2565b1115610e4f5760405162461bcd60e51b8152600401610497906126ca565b60008281526007602052604081206004018054839290610e709084906128a2565b909155505060008281526007602052604090206002015460ff1615610ebd57600082815260076020526040902060030154610eac9082906128ba565b610eb690866128a2565b9450610ee7565b600082815260076020526040902060030154610eda9082906128ba565b610ee490856128a2565b93505b50508080610ef49061292b565b915050610d4a565b50813414610f1c5760405162461bcd60e51b81526004016104979061250e565b8015611025576005546040516370a0823160e01b815282916001600160a01b0316906370a0823190610f529033906004016121c5565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa29190612107565b1015610fc05760405162461bcd60e51b815260040161049790612348565b60055460405163af7d6ca360e01b81526001600160a01b039091169063af7d6ca390610ff2903390859060040161227c565b600060405180830381600087803b15801561100c57600080fd5b505af1158015611020573d6000803e3d6000fd5b505050505b821561105057336000908152600660205260408120805485929061104a9084906128a2565b90915550505b61106b33868660405180602001604052806000815250611820565b5050505050565b600081116110925760405162461bcd60e51b8152600401610497906126f6565b600082815260076020526040902060018101546004909101546110b69083906128a2565b11156110d45760405162461bcd60e51b8152600401610497906126ca565b600082815260076020526040812060040180548392906110f59084906128a2565b90915550506000828152600760205260408120600301546111179083906128ba565b60008481526007602052604090206002015490915060ff1615611158578034146111535760405162461bcd60e51b81526004016104979061250e565b611279565b34156111765760405162461bcd60e51b815260040161049790612545565b6005546040516370a0823160e01b815282916001600160a01b0316906370a08231906111a69033906004016121c5565b60206040518083038186803b1580156111be57600080fd5b505afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190612107565b10156112145760405162461bcd60e51b815260040161049790612348565b60055460405163af7d6ca360e01b81526001600160a01b039091169063af7d6ca390611246903390859060040161227c565b600060405180830381600087803b15801561126057600080fd5b505af1158015611274573d6000803e3d6000fd5b505050505b600083815260076020526040902060050154158015906112a9575060008381526007602052604090206005015442105b156112d35733600090815260066020526040812080548492906112cd9084906128a2565b90915550505b6112ee338484604051806020016040528060008152506119a1565b505050565b60009081526007602052604090206003015490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b60009081526007602052604090206002015460ff1690565b61135661162a565b6001600160a01b0316611367610af7565b6001600160a01b03161461138d5760405162461bcd60e51b815260040161049790612695565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166113d55760405162461bcd60e51b8152600401610497906125b4565b6113dd61162a565b6001600160a01b0316856001600160a01b031614806114035750611403856103ea61162a565b61141f5760405162461bcd60e51b8152600401610497906124c5565b600061142961162a565b905061144981878761143a88611a81565b61144388611a81565b8761162e565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561148a5760405162461bcd60e51b81526004016104979061264b565b61149484826128d9565b6000868152602081815260408083206001600160a01b038c811685529252808320939093558816815290812080548692906114d09084906128a2565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611526929190612846565b60405180910390a461153c828888888888611ada565b50505050505050565b61154d61162a565b6001600160a01b031661155e610af7565b6001600160a01b0316146115845760405162461bcd60e51b815260040161049790612695565b6001600160a01b0381166115aa5760405162461bcd60e51b815260040161049790612433565b6003546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b61080e868686868686611bab565b61164e846001600160a01b0316611bde565b1561080e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061168790899089908890889088906004016121d9565b602060405180830381600087803b1580156116a157600080fd5b505af19250505080156116d1575060408051601f3d908101601f191682019092526116ce91810190612059565b60015b61171a576116dd612978565b806116e85750611702565b8060405162461bcd60e51b815260040161049791906122e1565b60405162461bcd60e51b8152600401610497906122f4565b6001600160e01b0319811663bc197c8160e01b1461153c5760405162461bcd60e51b815260040161049790612372565b6117526109f1565b61176e5760405162461bcd60e51b8152600401610497906123ba565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117a161162a565b6040516117ae91906121c5565b60405180910390a1565b6117c06109f1565b156117dd5760405162461bcd60e51b81526004016104979061258a565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117a161162a565b5490565b80546001019055565b6001600160a01b0384166118465760405162461bcd60e51b8152600401610497906127fc565b81518351146118675760405162461bcd60e51b8152600401610497906127b4565b600061187161162a565b90506118828160008787878761162e565b60005b8451811015611939578381815181106118ae57634e487b7160e01b600052603260045260246000fd5b60200260200101516000808784815181106118d957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461192191906128a2565b909155508190506119318161292b565b915050611885565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161198a9291906122a8565b60405180910390a461106b8160008787878761163c565b6001600160a01b0384166119c75760405162461bcd60e51b8152600401610497906127fc565b60006119d161162a565b90506119e38160008761143a88611a81565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611a139084906128a2565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611a6a929190612846565b60405180910390a461106b81600087878787611ada565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611ac957634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b611aec846001600160a01b0316611bde565b1561080e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611b259089908990889088908890600401612237565b602060405180830381600087803b158015611b3f57600080fd5b505af1925050508015611b6f575060408051601f3d908101601f19168201909252611b6c91810190612059565b60015b611b7b576116dd612978565b6001600160e01b0319811663f23a6e6160e01b1461153c5760405162461bcd60e51b815260040161049790612372565b611bb986868686868661080e565b611bc16109f1565b1561080e5760405162461bcd60e51b815260040161049790612479565b3b151590565b828054611bf0906128f0565b90600052602060002090601f016020900481019282611c125760008555611c58565b82601f10611c2b57805160ff1916838001178555611c58565b82800160010185558215611c58579182015b82811115611c58578251825591602001919060010190611c3d565b50611c64929150611c68565b5090565b5b80821115611c645760008155600101611c69565b600067ffffffffffffffff831115611c9757611c9761295c565b611caa601f8401601f1916602001612854565b9050828152838383011115611cbe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461050957600080fd5b600082601f830112611cfc578081fd5b81356020611d11611d0c8361287e565b612854565b8281528181019085830183850287018401881015611d2d578586fd5b855b85811015611d4b57813584529284019290840190600101611d2f565b5090979650505050505050565b8035801515811461050957600080fd5b600082601f830112611d78578081fd5b611d8783833560208501611c7d565b9392505050565b600060208284031215611d9f578081fd5b611d8782611cd5565b60008060408385031215611dba578081fd5b611dc383611cd5565b9150611dd160208401611cd5565b90509250929050565b600080600080600060a08688031215611df1578081fd5b611dfa86611cd5565b9450611e0860208701611cd5565b9350604086013567ffffffffffffffff80821115611e24578283fd5b611e3089838a01611cec565b94506060880135915080821115611e45578283fd5b611e5189838a01611cec565b93506080880135915080821115611e66578283fd5b50611e7388828901611d68565b9150509295509295909350565b600080600080600060a08688031215611e97578081fd5b611ea086611cd5565b9450611eae60208701611cd5565b93506040860135925060608601359150608086013567ffffffffffffffff811115611ed7578182fd5b611e7388828901611d68565b60008060408385031215611ef5578182fd5b611efe83611cd5565b9150611dd160208401611d58565b60008060408385031215611f1e578182fd5b611f2783611cd5565b946020939093013593505050565b60008060408385031215611f47578182fd5b823567ffffffffffffffff80821115611f5e578384fd5b818501915085601f830112611f71578384fd5b81356020611f81611d0c8361287e565b82815281810190858301838502870184018b1015611f9d578889fd5b8896505b84871015611fc657611fb281611cd5565b835260019690960195918301918301611fa1565b5096505086013592505080821115611fdc578283fd5b50611fe985828601611cec565b9150509250929050565b60008060408385031215612005578081fd5b823567ffffffffffffffff8082111561201c578283fd5b61202886838701611cec565b93506020850135915080821115611fdc578283fd5b60006020828403121561204e578081fd5b8135611d8781612a1d565b60006020828403121561206a578081fd5b8151611d8781612a1d565b600080600080600060a0868803121561208c578283fd5b853567ffffffffffffffff8111156120a2578384fd5b8601601f810188136120b2578384fd5b6120c188823560208401611c7d565b955050602086013593506120d760408701611d58565b94979396509394606081013594506080013592915050565b600060208284031215612100578081fd5b5035919050565b600060208284031215612118578081fd5b5051919050565b60008060408385031215612131578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b8381101561216f57815187529582019590820190600101612153565b509495945050505050565b60008151808452815b8181101561219f57602081850181015186830182015201612183565b818111156121b05782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a06040820181905260009061220590830186612140565b82810360608401526122178186612140565b9050828103608084015261222b818561217a565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906122719083018461217a565b979650505050505050565b6001600160a01b03929092168252602082015260400190565b600060208252611d876020830184612140565b6000604082526122bb6040830185612140565b82810360208401526122cd8185612140565b95945050505050565b901515815260200190565b600060208252611d87602083018461217a565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526010908201526f4e6f7420656e6f7567682074696c657360801b604082015260600190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602c908201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060408201526b1dda1a5b19481c185d5cd95960a21b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526025908201527f4574686572206e6f7420616363657074656420666f722074686973206675726e604082015264697475726560d81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527145786365656473204d41585f535550504c5960701b604082015260600190565b6020808252601290820152710616d6f756e742063616e6e6f7420626520360741b604082015260600190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156128765761287661295c565b604052919050565b600067ffffffffffffffff8211156128985761289861295c565b5060209081020190565b600082198211156128b5576128b5612946565b500190565b60008160001904831182151516156128d4576128d4612946565b500290565b6000828210156128eb576128eb612946565b500390565b60028104600182168061290457607f821691505b6020821081141561292557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561293f5761293f612946565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015612988576109f8565b600481823e6308c379a061299c8251612972565b146129a6576109f8565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156129d657505050506109f8565b828401925082519150808211156129f057505050506109f8565b503d83016020828401011115612a08575050506109f8565b601f01601f1916810160200160405291505090565b6001600160e01b031981168114612a3357600080fd5b5056fea264697066735822122039fd60a9aa86ae87083e4d55e5d435904ef47df0514743a20b3a9f44372d378d64736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101655760003560e01c80638da5cb5b116100d1578063b9f7f0021161008a578063eb2a986e11610064578063eb2a986e146103ef578063eccd44e91461040f578063f242432a1461042f578063f2fde38b1461044f57610165565b8063b9f7f0021461039c578063e7572230146103af578063e985e9c5146103cf57610165565b80638da5cb5b146102e75780638f78ea561461030957806392ab723e146103295780639be3035414610349578063a22cb46514610369578063a903f6c31461038957610165565b80634e1273f4116101235780634e1273f4146102465780635c975abb146102735780635e495d7414610288578063715018a6146102a85780638456cb59146102bd57806387e5c7e9146102d257610165565b8062fdd58e1461016a57806301ffc9a7146101a05780630e89341c146101cd5780632eb2c2d6146101fa5780633ccfd60b1461021c5780633f4ba83a14610231575b600080fd5b34801561017657600080fd5b5061018a610185366004611f0c565b61046f565b604051610197919061283d565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb36600461203d565b6104c6565b60405161019791906122d6565b3480156101d957600080fd5b506101ed6101e83660046120ef565b61050e565b60405161019791906122e1565b34801561020657600080fd5b5061021a610215366004611dda565b6105b0565b005b34801561022857600080fd5b5061021a610816565b34801561023d57600080fd5b5061021a610888565b34801561025257600080fd5b50610266610261366004611f35565b6108d1565b6040516101979190612295565b34801561027f57600080fd5b506101c06109f1565b34801561029457600080fd5b5061018a6102a33660046120ef565b6109fb565b3480156102b457600080fd5b5061021a610a10565b3480156102c957600080fd5b5061021a610a9f565b3480156102de57600080fd5b5061018a610ae6565b3480156102f357600080fd5b506102fc610af7565b60405161019791906121c5565b34801561031557600080fd5b5061018a610324366004611d8e565b610b0b565b34801561033557600080fd5b5061018a6103443660046120ef565b610b26565b34801561035557600080fd5b5061021a610364366004612075565b610b3b565b34801561037557600080fd5b5061021a610384366004611ee3565b610c54565b61021a610397366004611ff3565b610d22565b61021a6103aa36600461211f565b611072565b3480156103bb57600080fd5b5061018a6103ca3660046120ef565b6112f3565b3480156103db57600080fd5b506101c06103ea366004611da8565b611308565b3480156103fb57600080fd5b506101c061040a3660046120ef565b611336565b34801561041b57600080fd5b5061021a61042a366004611d8e565b61134e565b34801561043b57600080fd5b5061021a61044a366004611e80565b6113af565b34801561045b57600080fd5b5061021a61046a366004611d8e565b611545565b60006001600160a01b0383166104a05760405162461bcd60e51b8152600401610497906123e8565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806104f757506001600160e01b031982166303a24d0760e21b145b80610506575061050682611611565b90505b919050565b600081815260076020526040902080546060919061052b906128f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610557906128f0565b80156105a45780601f10610579576101008083540402835291602001916105a4565b820191906000526020600020905b81548152906001019060200180831161058757829003601f168201915b50505050509050919050565b81518351146105d15760405162461bcd60e51b8152600401610497906127b4565b6001600160a01b0384166105f75760405162461bcd60e51b8152600401610497906125b4565b6105ff61162a565b6001600160a01b0316856001600160a01b031614806106255750610625856103ea61162a565b6106415760405162461bcd60e51b8152600401610497906125f9565b600061064b61162a565b905061065b81878787878761162e565b60005b84518110156107a857600085828151811061068957634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106106b557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156107055760405162461bcd60e51b81526004016104979061264b565b61070f82826128d9565b60008085815260200190815260200160002060008c6001600160a01b03166001600160a01b03168152602001908152602001600020819055508160008085815260200190815260200160002060008b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461078d91906128a2565b92505081905550505050806107a19061292b565b905061065e565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516107f89291906122a8565b60405180910390a461080e81878787878761163c565b505050505050565b61081e61162a565b6001600160a01b031661082f610af7565b6001600160a01b0316146108555760405162461bcd60e51b815260040161049790612695565b6040514790339082156108fc029083906000818181858888f19350505050158015610884573d6000803e3d6000fd5b5050565b61089061162a565b6001600160a01b03166108a1610af7565b6001600160a01b0316146108c75760405162461bcd60e51b815260040161049790612695565b6108cf61174a565b565b606081518351146108f45760405162461bcd60e51b81526004016104979061276b565b6000835167ffffffffffffffff81111561091e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610947578160200160208202803683370190505b50905060005b84518110156109e9576109ae85828151811061097957634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106109a157634e487b7160e01b600052603260045260246000fd5b602002602001015161046f565b8282815181106109ce57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526109e28161292b565b905061094d565b509392505050565b60035460ff165b90565b60009081526007602052604090206001015490565b610a1861162a565b6001600160a01b0316610a29610af7565b6001600160a01b031614610a4f5760405162461bcd60e51b815260040161049790612695565b60035460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360038054610100600160a81b0319169055565b610aa761162a565b6001600160a01b0316610ab8610af7565b6001600160a01b031614610ade5760405162461bcd60e51b815260040161049790612695565b6108cf6117b8565b6000610af26004611813565b905090565b60035461010090046001600160a01b031690565b6001600160a01b031660009081526006602052604090205490565b60009081526007602052604090206004015490565b610b4361162a565b6001600160a01b0316610b54610af7565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161049790612695565b6000610b866004611813565b6040805160c0810182528881526020808201899052871515828401526060820187905260006080830181905260a0830187905284815260078252929092208151805194955091939092610bdd928492910190611be4565b506020820151600182015560408083015160028301805460ff1916911515919091179055606083015160038301556080830151600483015560a0909201516005909101555181907ff362febae3157a13119e0c21bdf9a11caeb3ccef1d804805c1845cb032ebf90f90600090a261080e6004611817565b816001600160a01b0316610c6661162a565b6001600160a01b03161415610c8d5760405162461bcd60e51b815260040161049790612722565b8060016000610c9a61162a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610cde61162a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d1691906122d6565b60405180910390a35050565b8051825114610d435760405162461bcd60e51b8152600401610497906127b4565b6000806000805b8551811015610efc576000868281518110610d7557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000868381518110610da157634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008111610dcb5760405162461bcd60e51b8152600401610497906126f6565b60008281526007602052604090206005015415801590610dfb575060008281526007602052604090206005015442105b15610e0d57610e0a81876128a2565b95505b60008281526007602052604090206001810154600490910154610e319083906128a2565b1115610e4f5760405162461bcd60e51b8152600401610497906126ca565b60008281526007602052604081206004018054839290610e709084906128a2565b909155505060008281526007602052604090206002015460ff1615610ebd57600082815260076020526040902060030154610eac9082906128ba565b610eb690866128a2565b9450610ee7565b600082815260076020526040902060030154610eda9082906128ba565b610ee490856128a2565b93505b50508080610ef49061292b565b915050610d4a565b50813414610f1c5760405162461bcd60e51b81526004016104979061250e565b8015611025576005546040516370a0823160e01b815282916001600160a01b0316906370a0823190610f529033906004016121c5565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa29190612107565b1015610fc05760405162461bcd60e51b815260040161049790612348565b60055460405163af7d6ca360e01b81526001600160a01b039091169063af7d6ca390610ff2903390859060040161227c565b600060405180830381600087803b15801561100c57600080fd5b505af1158015611020573d6000803e3d6000fd5b505050505b821561105057336000908152600660205260408120805485929061104a9084906128a2565b90915550505b61106b33868660405180602001604052806000815250611820565b5050505050565b600081116110925760405162461bcd60e51b8152600401610497906126f6565b600082815260076020526040902060018101546004909101546110b69083906128a2565b11156110d45760405162461bcd60e51b8152600401610497906126ca565b600082815260076020526040812060040180548392906110f59084906128a2565b90915550506000828152600760205260408120600301546111179083906128ba565b60008481526007602052604090206002015490915060ff1615611158578034146111535760405162461bcd60e51b81526004016104979061250e565b611279565b34156111765760405162461bcd60e51b815260040161049790612545565b6005546040516370a0823160e01b815282916001600160a01b0316906370a08231906111a69033906004016121c5565b60206040518083038186803b1580156111be57600080fd5b505afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190612107565b10156112145760405162461bcd60e51b815260040161049790612348565b60055460405163af7d6ca360e01b81526001600160a01b039091169063af7d6ca390611246903390859060040161227c565b600060405180830381600087803b15801561126057600080fd5b505af1158015611274573d6000803e3d6000fd5b505050505b600083815260076020526040902060050154158015906112a9575060008381526007602052604090206005015442105b156112d35733600090815260066020526040812080548492906112cd9084906128a2565b90915550505b6112ee338484604051806020016040528060008152506119a1565b505050565b60009081526007602052604090206003015490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b60009081526007602052604090206002015460ff1690565b61135661162a565b6001600160a01b0316611367610af7565b6001600160a01b03161461138d5760405162461bcd60e51b815260040161049790612695565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166113d55760405162461bcd60e51b8152600401610497906125b4565b6113dd61162a565b6001600160a01b0316856001600160a01b031614806114035750611403856103ea61162a565b61141f5760405162461bcd60e51b8152600401610497906124c5565b600061142961162a565b905061144981878761143a88611a81565b61144388611a81565b8761162e565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561148a5760405162461bcd60e51b81526004016104979061264b565b61149484826128d9565b6000868152602081815260408083206001600160a01b038c811685529252808320939093558816815290812080548692906114d09084906128a2565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611526929190612846565b60405180910390a461153c828888888888611ada565b50505050505050565b61154d61162a565b6001600160a01b031661155e610af7565b6001600160a01b0316146115845760405162461bcd60e51b815260040161049790612695565b6001600160a01b0381166115aa5760405162461bcd60e51b815260040161049790612433565b6003546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b61080e868686868686611bab565b61164e846001600160a01b0316611bde565b1561080e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061168790899089908890889088906004016121d9565b602060405180830381600087803b1580156116a157600080fd5b505af19250505080156116d1575060408051601f3d908101601f191682019092526116ce91810190612059565b60015b61171a576116dd612978565b806116e85750611702565b8060405162461bcd60e51b815260040161049791906122e1565b60405162461bcd60e51b8152600401610497906122f4565b6001600160e01b0319811663bc197c8160e01b1461153c5760405162461bcd60e51b815260040161049790612372565b6117526109f1565b61176e5760405162461bcd60e51b8152600401610497906123ba565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117a161162a565b6040516117ae91906121c5565b60405180910390a1565b6117c06109f1565b156117dd5760405162461bcd60e51b81526004016104979061258a565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117a161162a565b5490565b80546001019055565b6001600160a01b0384166118465760405162461bcd60e51b8152600401610497906127fc565b81518351146118675760405162461bcd60e51b8152600401610497906127b4565b600061187161162a565b90506118828160008787878761162e565b60005b8451811015611939578381815181106118ae57634e487b7160e01b600052603260045260246000fd5b60200260200101516000808784815181106118d957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461192191906128a2565b909155508190506119318161292b565b915050611885565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161198a9291906122a8565b60405180910390a461106b8160008787878761163c565b6001600160a01b0384166119c75760405162461bcd60e51b8152600401610497906127fc565b60006119d161162a565b90506119e38160008761143a88611a81565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611a139084906128a2565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611a6a929190612846565b60405180910390a461106b81600087878787611ada565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611ac957634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b611aec846001600160a01b0316611bde565b1561080e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611b259089908990889088908890600401612237565b602060405180830381600087803b158015611b3f57600080fd5b505af1925050508015611b6f575060408051601f3d908101601f19168201909252611b6c91810190612059565b60015b611b7b576116dd612978565b6001600160e01b0319811663f23a6e6160e01b1461153c5760405162461bcd60e51b815260040161049790612372565b611bb986868686868661080e565b611bc16109f1565b1561080e5760405162461bcd60e51b815260040161049790612479565b3b151590565b828054611bf0906128f0565b90600052602060002090601f016020900481019282611c125760008555611c58565b82601f10611c2b57805160ff1916838001178555611c58565b82800160010185558215611c58579182015b82811115611c58578251825591602001919060010190611c3d565b50611c64929150611c68565b5090565b5b80821115611c645760008155600101611c69565b600067ffffffffffffffff831115611c9757611c9761295c565b611caa601f8401601f1916602001612854565b9050828152838383011115611cbe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461050957600080fd5b600082601f830112611cfc578081fd5b81356020611d11611d0c8361287e565b612854565b8281528181019085830183850287018401881015611d2d578586fd5b855b85811015611d4b57813584529284019290840190600101611d2f565b5090979650505050505050565b8035801515811461050957600080fd5b600082601f830112611d78578081fd5b611d8783833560208501611c7d565b9392505050565b600060208284031215611d9f578081fd5b611d8782611cd5565b60008060408385031215611dba578081fd5b611dc383611cd5565b9150611dd160208401611cd5565b90509250929050565b600080600080600060a08688031215611df1578081fd5b611dfa86611cd5565b9450611e0860208701611cd5565b9350604086013567ffffffffffffffff80821115611e24578283fd5b611e3089838a01611cec565b94506060880135915080821115611e45578283fd5b611e5189838a01611cec565b93506080880135915080821115611e66578283fd5b50611e7388828901611d68565b9150509295509295909350565b600080600080600060a08688031215611e97578081fd5b611ea086611cd5565b9450611eae60208701611cd5565b93506040860135925060608601359150608086013567ffffffffffffffff811115611ed7578182fd5b611e7388828901611d68565b60008060408385031215611ef5578182fd5b611efe83611cd5565b9150611dd160208401611d58565b60008060408385031215611f1e578182fd5b611f2783611cd5565b946020939093013593505050565b60008060408385031215611f47578182fd5b823567ffffffffffffffff80821115611f5e578384fd5b818501915085601f830112611f71578384fd5b81356020611f81611d0c8361287e565b82815281810190858301838502870184018b1015611f9d578889fd5b8896505b84871015611fc657611fb281611cd5565b835260019690960195918301918301611fa1565b5096505086013592505080821115611fdc578283fd5b50611fe985828601611cec565b9150509250929050565b60008060408385031215612005578081fd5b823567ffffffffffffffff8082111561201c578283fd5b61202886838701611cec565b93506020850135915080821115611fdc578283fd5b60006020828403121561204e578081fd5b8135611d8781612a1d565b60006020828403121561206a578081fd5b8151611d8781612a1d565b600080600080600060a0868803121561208c578283fd5b853567ffffffffffffffff8111156120a2578384fd5b8601601f810188136120b2578384fd5b6120c188823560208401611c7d565b955050602086013593506120d760408701611d58565b94979396509394606081013594506080013592915050565b600060208284031215612100578081fd5b5035919050565b600060208284031215612118578081fd5b5051919050565b60008060408385031215612131578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b8381101561216f57815187529582019590820190600101612153565b509495945050505050565b60008151808452815b8181101561219f57602081850181015186830182015201612183565b818111156121b05782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a06040820181905260009061220590830186612140565b82810360608401526122178186612140565b9050828103608084015261222b818561217a565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906122719083018461217a565b979650505050505050565b6001600160a01b03929092168252602082015260400190565b600060208252611d876020830184612140565b6000604082526122bb6040830185612140565b82810360208401526122cd8185612140565b95945050505050565b901515815260200190565b600060208252611d87602083018461217a565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526010908201526f4e6f7420656e6f7567682074696c657360801b604082015260600190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602c908201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060408201526b1dda1a5b19481c185d5cd95960a21b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b6020808252601f908201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604082015260600190565b60208082526025908201527f4574686572206e6f7420616363657074656420666f722074686973206675726e604082015264697475726560d81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527145786365656473204d41585f535550504c5960701b604082015260600190565b6020808252601290820152710616d6f756e742063616e6e6f7420626520360741b604082015260600190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff811182821017156128765761287661295c565b604052919050565b600067ffffffffffffffff8211156128985761289861295c565b5060209081020190565b600082198211156128b5576128b5612946565b500190565b60008160001904831182151516156128d4576128d4612946565b500290565b6000828210156128eb576128eb612946565b500390565b60028104600182168061290457607f821691505b6020821081141561292557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561293f5761293f612946565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015612988576109f8565b600481823e6308c379a061299c8251612972565b146129a6576109f8565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156129d657505050506109f8565b828401925082519150808211156129f057505050506109f8565b503d83016020828401011115612a08575050506109f8565b601f01601f1916810160200160405291505090565b6001600160e01b031981168114612a3357600080fd5b5056fea264697066735822122039fd60a9aa86ae87083e4d55e5d435904ef47df0514743a20b3a9f44372d378d64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

isotile is a decentralized online metaverse based on the Ethereum Blockchain, where users can create their own gallery room to place NFTs.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.