@evolutionland/evolution-js
Version:
evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse
529 lines (528 loc) • 15.6 kB
JSON
[
{
"constant": true,
"inputs": [],
"name": "CONTRACT_USER_POINTS",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "owner_", "type": "address" }],
"name": "setOwner",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UINT_BRIDGE_FEE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_BRIDGE_POOL",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_WATER_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_GOLD_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_user", "type": "address" }
],
"name": "removeActivity",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_RING_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UINT_AUCTION_CUT",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_amountMax", "type": "uint256" }
],
"name": "takeTokenUseOffer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_TOKEN_LOCATION",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "removeTokenUseAndActivity",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getTokenUser",
"outputs": [{ "name": "", "type": "address" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_KTON_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "x", "type": "address" }],
"name": "toBytes",
"outputs": [{ "name": "b", "type": "bytes" }],
"payable": false,
"stateMutability": "pure",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_WOOD_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_FIRE_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_LAND_BASE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "cancelTokenUseOffer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "", "type": "uint256" }],
"name": "tokenId2UseOffer",
"outputs": [
{ "name": "owner", "type": "address" },
{ "name": "duration", "type": "uint48" },
{ "name": "price", "type": "uint256" },
{ "name": "acceptedActivity", "type": "address" }
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "", "type": "uint256" }],
"name": "tokenId2CurrentActivity",
"outputs": [
{ "name": "activity", "type": "address" },
{ "name": "endTime", "type": "uint48" }
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "authority_", "type": "address" }],
"name": "setAuthority",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "registry",
"outputs": [{ "name": "", "type": "address" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_duration", "type": "uint256" },
{ "name": "_price", "type": "uint256" },
{ "name": "_acceptedActivity", "type": "address" }
],
"name": "removeUseAndCreateOffer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_INTERSTELLAR_ENCODER",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_PET_BASE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "isObjectInHireStage",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "isObjectReadyToUse",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_SOIL_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [{ "name": "", "type": "address" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_OBJECT_OWNERSHIP",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_from", "type": "address" },
{ "name": "_tokenId", "type": "uint256" },
{ "name": "", "type": "bytes" }
],
"name": "receiveApproval",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_TOKEN_USE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_registry", "type": "address" }],
"name": "initializeContract",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_ERC721_BRIDGE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_REVENUE_POOL",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "authority",
"outputs": [{ "name": "", "type": "address" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_duration", "type": "uint256" },
{ "name": "_price", "type": "uint256" },
{ "name": "_acceptedActivity", "type": "address" }
],
"name": "createTokenUseOffer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_LAND_RESOURCE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "", "type": "uint256" }],
"name": "tokenId2UseStatus",
"outputs": [
{ "name": "user", "type": "address" },
{ "name": "owner", "type": "address" },
{ "name": "startTime", "type": "uint48" },
{ "name": "endTime", "type": "uint48" },
{ "name": "price", "type": "uint256" },
{ "name": "acceptedActivity", "type": "address" }
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UINT_REFERER_CUT",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_token", "type": "address" }],
"name": "claimTokens",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UINT_TOKEN_OFFER_CUT",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_DIVIDENDS_POOL",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_user", "type": "address" },
{ "name": "_endTime", "type": "uint256" }
],
"name": "addActivity",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "token", "type": "address" },
{ "indexed": true, "name": "owner", "type": "address" },
{ "indexed": false, "name": "amount", "type": "uint256" }
],
"name": "ClaimedTokens",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "duration", "type": "uint256" },
{ "indexed": false, "name": "price", "type": "uint256" },
{ "indexed": false, "name": "acceptedActivity", "type": "address" },
{ "indexed": false, "name": "owner", "type": "address" }
],
"name": "OfferCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "tokenId", "type": "uint256" }],
"name": "OfferCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "from", "type": "address" },
{ "indexed": false, "name": "owner", "type": "address" },
{ "indexed": false, "name": "now", "type": "uint256" },
{ "indexed": false, "name": "endTime", "type": "uint256" }
],
"name": "OfferTaken",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "activity", "type": "address" },
{ "indexed": false, "name": "endTime", "type": "uint256" }
],
"name": "ActivityAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "activity", "type": "address" }
],
"name": "ActivityRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "owner", "type": "address" },
{ "indexed": false, "name": "user", "type": "address" },
{ "indexed": false, "name": "activity", "type": "address" }
],
"name": "TokenUseRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "authority", "type": "address" }],
"name": "LogSetAuthority",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "name": "owner", "type": "address" }],
"name": "LogSetOwner",
"type": "event"
}
]