Verified contractPartial
ItemsCore
Address0xe2bef3e4da2dfce1fd970c8a9d233951c5c4382f
- Balance
1.49 ETH
- Transactions
585
- Compiler
solc 0.4.22
- Same code
2 more contracts
Details
- Compiler
- solc 0.4.22+commit.4cb486ee
- Language
- solidity
- Optimization
- No
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,860,866
- Creation transaction
- 0x685eb237eb…cc051e83da
Read26
- getItemIdToTokenId(uint256) → (uint256)
- supportsInterface(bytes4) → (bool)
- name() → (string)
- getItemIndexToOwner(uint256) → (address)
- rocHuntingIndex(uint256,uint256) → (uint256)
- huntingPrice() → (uint256)
- totalSupply() → (uint256)
- getRocCoreAddress() → (address)
- getHunting(uint256,uint256) → (uint256)
- getItem(uint256) → (uint256,uint256,uint256,uint256)
- paused() → (bool)
- ownerOf(uint256) → (address)
- itemOwnershipTokenCount(address) → (uint256)
- newContractAddress() → (address)
- balanceOf(address) → (uint256)
- getItemItemId(uint256) → (uint256,uint256,uint256,uint256)
- rocCoreAddress() → (address)
- ownerCut() → (uint256)
- itemIndexToApproved(uint256) → (address)
- owner() → (address)
- itemIndex(uint256) → (uint256)
- symbol() → (string)
- getMarketsItemId(uint256) → (address,uint256)
- items(uint256) → (uint256,uint8,uint256,uint8)
- getRocOwnerItem(uint256) → (address)
- itemIndexToOwner(uint256) → (address)
Write18
- approve(address,uint256)
- processHunting(uint256,uint256,uint256[]) → (bool)
- itemBid(uint256)
- transferFrom(address,address,uint256)
- unpause()
- setRocCoreAddress(address)
- equipmentItem(uint256[],uint256[],uint256) → (bool)
- createItemSaleMarkets(uint256,uint256)
- itemCancelMarketsWhenPaused(uint256)
- setOwnerCut(uint256)
- itemCancelMarkets(uint256)
- setHuntingPrice(uint256)
- pause()
- createItems(uint256[],address[]) → (uint256)
- transfer(address,uint256)
- usedItem(uint256) → (bool)
- withdrawBalance(uint256)
- transferOwnership(address)
Events11
- ItemMarketsCreated(uint256,uint128)
- ItemMarketsSuccessful(uint256,uint128,address)
- ItemMarketsCancelled(uint256)
- Transfer(address,address,uint256)
- Approval(address,address,uint256)
- ItemTransfer(address,address,uint256)
- ItemCreated(address,uint256,uint256)
- HuntingCreated(uint256,uint256)
- Pause()
- Unpause()
- OwnershipTransferred(address,address)
ABI as JSON
[
{
"name": "getItemIdToTokenId",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"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": "approve",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getItemIndexToOwner",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [
{
"name": "owner",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "rocHuntingIndex",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "huntingId",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "huntingPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "processHunting",
"type": "function",
"inputs": [
{
"name": "_rocId",
"type": "uint256"
},
{
"name": "_huntingId",
"type": "uint256"
},
{
"name": "_items",
"type": "uint256[]"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "itemBid",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "getRocCoreAddress",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"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": "getHunting",
"type": "function",
"inputs": [
{
"name": "_rocId",
"type": "uint256"
},
{
"name": "_huntingId",
"type": "uint256"
}
],
"outputs": [
{
"name": "huntingId",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getItem",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"outputs": [
{
"name": "itemId",
"type": "uint256"
},
{
"name": "marketsFlg",
"type": "uint256"
},
{
"name": "rocId",
"type": "uint256"
},
{
"name": "equipmentFlg",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "unpause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setRocCoreAddress",
"type": "function",
"inputs": [
{
"name": "_rocCoreAddress",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "equipmentItem",
"type": "function",
"inputs": [
{
"name": "_reItems",
"type": "uint256[]"
},
{
"name": "_inItems",
"type": "uint256[]"
},
{
"name": "_rocId",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "createItemSaleMarkets",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_marketsPrice",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "paused",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "ownerOf",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"outputs": [
{
"name": "owner",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "itemOwnershipTokenCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "newContractAddress",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"outputs": [
{
"name": "count",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "itemCancelMarketsWhenPaused",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getItemItemId",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [
{
"name": "itemId",
"type": "uint256"
},
{
"name": "marketsFlg",
"type": "uint256"
},
{
"name": "rocId",
"type": "uint256"
},
{
"name": "equipmentFlg",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "rocCoreAddress",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setOwnerCut",
"type": "function",
"inputs": [
{
"name": "_cut",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "itemCancelMarkets",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setHuntingPrice",
"type": "function",
"inputs": [
{
"name": "price",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "ownerCut",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "pause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "itemIndexToApproved",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "itemIndex",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "createItems",
"type": "function",
"inputs": [
{
"name": "_items",
"type": "uint256[]"
},
{
"name": "_owners",
"type": "address[]"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transfer",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getMarketsItemId",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [
{
"name": "seller",
"type": "address"
},
{
"name": "marketsPrice",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "items",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "itemId",
"type": "uint256"
},
{
"name": "marketsFlg",
"type": "uint8"
},
{
"name": "rocId",
"type": "uint256"
},
{
"name": "equipmentFlg",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "usedItem",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "withdrawBalance",
"type": "function",
"inputs": [
{
"name": "_subtractFees",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getRocOwnerItem",
"type": "function",
"inputs": [
{
"name": "_rocId",
"type": "uint256"
}
],
"outputs": [
{
"name": "owner",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "itemIndexToOwner",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "ItemMarketsCreated",
"type": "event",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"indexed": false
},
{
"name": "marketsPrice",
"type": "uint128",
"indexed": false
}
],
"anonymous": false
},
{
"name": "ItemMarketsSuccessful",
"type": "event",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"indexed": false
},
{
"name": "marketsPriceice",
"type": "uint128",
"indexed": false
},
{
"name": "buyer",
"type": "address",
"indexed": false
}
],
"anonymous": false
},
{
"name": "ItemMarketsCancelled",
"type": "event",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": false
},
{
"name": "to",
"type": "address",
"indexed": false
},
{
"name": "tokenId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "_owner",
"type": "address",
"indexed": true
},
{
"name": "_approved",
"type": "address",
"indexed": true
},
{
"name": "_tokenId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "ItemTransfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": false
},
{
"name": "to",
"type": "address",
"indexed": false
},
{
"name": "tokenId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "ItemCreated",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": false
},
{
"name": "tokenId",
"type": "uint256",
"indexed": false
},
{
"name": "ticketId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "HuntingCreated",
"type": "event",
"inputs": [
{
"name": "huntingId",
"type": "uint256",
"indexed": false
},
{
"name": "rocId",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Pause",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "Unpause",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true
},
{
"name": "newOwner",
"type": "address",
"indexed": true
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.