Skip to content
Verified contractPartial

Thing

Address0x77cb648dae3ecbb0289c19c22672f9a85fe20b18
Balance

0 ETH

 

Transactions

172

 

Compiler

solc 0.5.7

 

Same code

1,069 more contracts

 

Details

Compiler
solc 0.5.7+commit.6da8b019
Language
solidity
Optimization
Yes, 200 runs
EVM version
petersburg
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
9,280,218
Creation transaction
0x6043c06788…3166be4e28
Main copy (most transactions)
0x3a3b0dbd…b0db9aec

Read19

  • supportsInterface(bytes4) → (bool)
  • name() → (string)
  • getApproved(uint256) → (address)
  • totalSupply() → (uint256)
  • tokenOfOwnerByIndex(address,uint256) → (uint256)
  • tokenByIndex(uint256) → (uint256)
  • maker() → (address)
  • ownerOf(uint256) → (address)
  • balanceOf(address) → (uint256)
  • tokensOfOwner(address) → (uint256[])
  • owner() → (address)
  • isOwner() → (bool)
  • symbol() → (string)
  • baseUri() → (string)
  • isMinter(address) → (bool)
  • id() → (uint256)
  • items(uint256) → (uint256,uint256,string,uint8)
  • tokenURI(uint256) → (string)
  • isApprovedForAll(address,address) → (bool)

Write18

  • approve(address,uint256)
  • batchTransfer(address,address[],uint256[])
  • transferFrom(address,address,uint256)
  • safeTransferFrom(address,address,uint256)
  • burn(uint256)
  • destroyAndSend()
  • mintWithTokenURI(address,uint256,string) → (bool)
  • renounceOwnership()
  • buyThing(uint256) → (bool)
  • addMinter(address)
  • batchMint(address,uint256,string,uint256,bool)
  • renounceMinter()
  • setApprovalForAll(address,bool)
  • safeTransferFrom(address,address,uint256,bytes)
  • setTokenState(uint256[],bool)
  • batchBurn(uint256[])
  • setTokenPrice(uint256[],uint256)
  • transferOwnership(address)

Events13

  • ErrorOut(string,uint256)
  • BatchTransfered(string,address[],uint256[])
  • Minted(uint256,string)
  • BatchBurned(string,uint256[])
  • BatchForSale(uint256[],string)
  • Bought(uint256,string,uint256)
  • Destroy()
  • OwnershipTransferred(address,address)
  • MinterAdded(address)
  • MinterRemoved(address)
  • Transfer(address,address,uint256)
  • Approval(address,address,uint256)
  • ApprovalForAll(address,address,bool)

ABI as JSON

[
  {
    "name": "supportsInterface",
    "type": "function",
    "inputs": [
      {
        "name": "interfaceId",
        "type": "bytes4"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "name",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getApproved",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "approve",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "batchTransfer",
    "type": "function",
    "inputs": [
      {
        "name": "giver",
        "type": "address"
      },
      {
        "name": "recipients",
        "type": "address[]"
      },
      {
        "name": "values",
        "type": "uint256[]"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "totalSupply",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "transferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address"
      },
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "tokenOfOwnerByIndex",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address"
      },
      {
        "name": "index",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "safeTransferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address"
      },
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "burn",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "destroyAndSend",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "tokenByIndex",
    "type": "function",
    "inputs": [
      {
        "name": "index",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "maker",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "mintWithTokenURI",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256"
      },
      {
        "name": "tokenURI",
        "type": "string"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "ownerOf",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "buyThing",
    "type": "function",
    "inputs": [
      {
        "name": "_tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "tokensOfOwner",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256[]"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "isOwner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "symbol",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "addMinter",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "batchMint",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "amountToMint",
        "type": "uint256"
      },
      {
        "name": "metaId",
        "type": "string"
      },
      {
        "name": "setPrice",
        "type": "uint256"
      },
      {
        "name": "isForSale",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "renounceMinter",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "baseUri",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setApprovalForAll",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "approved",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "isMinter",
    "type": "function",
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "id",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "safeTransferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address"
      },
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256"
      },
      {
        "name": "_data",
        "type": "bytes"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "items",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "tokenId",
        "type": "uint256"
      },
      {
        "name": "price",
        "type": "uint256"
      },
      {
        "name": "metaId",
        "type": "string"
      },
      {
        "name": "state",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "tokenURI",
    "type": "function",
    "inputs": [
      {
        "name": "_tokenId",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setTokenState",
    "type": "function",
    "inputs": [
      {
        "name": "ids",
        "type": "uint256[]"
      },
      {
        "name": "isEnabled",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "batchBurn",
    "type": "function",
    "inputs": [
      {
        "name": "tokenIds",
        "type": "uint256[]"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "setTokenPrice",
    "type": "function",
    "inputs": [
      {
        "name": "ids",
        "type": "uint256[]"
      },
      {
        "name": "setPrice",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "isApprovedForAll",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address"
      },
      {
        "name": "operator",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "transferOwnership",
    "type": "function",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "name",
        "type": "string"
      },
      {
        "name": "symbol",
        "type": "string"
      },
      {
        "name": "uri",
        "type": "string"
      },
      {
        "name": "fee",
        "type": "address"
      },
      {
        "name": "creator",
        "type": "address"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "ErrorOut",
    "type": "event",
    "inputs": [
      {
        "name": "error",
        "type": "string",
        "indexed": false
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "BatchTransfered",
    "type": "event",
    "inputs": [
      {
        "name": "metaId",
        "type": "string",
        "indexed": false
      },
      {
        "name": "recipients",
        "type": "address[]",
        "indexed": false
      },
      {
        "name": "ids",
        "type": "uint256[]",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Minted",
    "type": "event",
    "inputs": [
      {
        "name": "id",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "metaId",
        "type": "string",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "BatchBurned",
    "type": "event",
    "inputs": [
      {
        "name": "metaId",
        "type": "string",
        "indexed": false
      },
      {
        "name": "ids",
        "type": "uint256[]",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "BatchForSale",
    "type": "event",
    "inputs": [
      {
        "name": "ids",
        "type": "uint256[]",
        "indexed": false
      },
      {
        "name": "metaId",
        "type": "string",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Bought",
    "type": "event",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "metaId",
        "type": "string",
        "indexed": false
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Destroy",
    "type": "event",
    "inputs": [],
    "anonymous": false
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "MinterAdded",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "MinterRemoved",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "Transfer",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true
      },
      {
        "name": "to",
        "type": "address",
        "indexed": true
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "Approval",
    "type": "event",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "indexed": true
      },
      {
        "name": "approved",
        "type": "address",
        "indexed": true
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "ApprovalForAll",
    "type": "event",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "indexed": true
      },
      {
        "name": "operator",
        "type": "address",
        "indexed": true
      },
      {
        "name": "approved",
        "type": "bool",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.