@evolutionland/evolution-js
Version:
evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse
630 lines (629 loc) • 19.4 kB
JSON
[
{
"constant": true,
"inputs": [],
"name": "CONTRACT_CLOCK_AUCTION",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_MYSTERIOUS_TREASURE",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"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": "", "type": "address" },
{ "name": "", "type": "address" },
{ "name": "", "type": "uint256" },
{ "name": "", "type": "bytes" }
],
"name": "onERC721Received",
"outputs": [{ "name": "", "type": "bytes4" }],
"payable": false,
"stateMutability": "pure",
"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": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getCurrentPriceInToken",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_POINTS_REWARD_POOL",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"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": "unpause",
"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": true,
"inputs": [],
"name": "UINT_AUCTION_BID_WAITING_TIME",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "claimLandAsset",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_KTON_ERC20_TOKEN",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "paused",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "view",
"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": "_startingPriceInToken", "type": "uint256" },
{ "name": "_endingPriceInToken", "type": "uint256" },
{ "name": "_duration", "type": "uint256" },
{ "name": "_startAt", "type": "uint256" },
{ "name": "_token", "type": "address" }
],
"name": "createAuction",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getAuction",
"outputs": [
{ "name": "seller", "type": "address" },
{ "name": "startingPrice", "type": "uint256" },
{ "name": "endingPrice", "type": "uint256" },
{ "name": "duration", "type": "uint256" },
{ "name": "startedAt", "type": "uint256" },
{ "name": "token", "type": "address" },
{ "name": "lastRecord", "type": "uint128" },
{ "name": "lastBidder", "type": "address" },
{ "name": "lastBidStartAt", "type": "uint256" },
{ "name": "lastReferer", "type": "address" }
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_tokenId", "type": "uint256" },
{ "name": "_referer", "type": "address" },
{ "name": "_amountMax", "type": "uint256" }
],
"name": "bidWithToken",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "nonpayable",
"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": true,
"inputs": [],
"name": "CONTRACT_INTERSTELLAR_ENCODER",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_DEV_POOL",
"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": false,
"inputs": [],
"name": "pause",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_CONTRIBUTION_INCENTIVE_POOL",
"outputs": [{ "name": "", "type": "bytes32" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{ "name": "_price", "type": "uint256" },
{ "name": "_cut", "type": "uint256" }
],
"name": "computeCut",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "pure",
"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": false,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "cancelAuction",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_GENESIS_HOLDER",
"outputs": [{ "name": "", "type": "bytes32" }],
"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": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getLastBidder",
"outputs": [{ "name": "", "type": "address" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getLastRecord",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "computeNextBidRecord",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CONTRACT_LAND_RESOURCE",
"outputs": [{ "name": "", "type": "bytes32" }],
"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": "", "type": "uint256" }],
"name": "tokenIdToAuction",
"outputs": [
{ "name": "seller", "type": "address" },
{ "name": "startedAt", "type": "uint48" },
{ "name": "duration", "type": "uint48" },
{ "name": "startingPriceInToken", "type": "uint128" },
{ "name": "endingPriceInToken", "type": "uint128" },
{ "name": "token", "type": "address" },
{ "name": "lastRecord", "type": "uint128" },
{ "name": "lastBidder", "type": "address" },
{ "name": "lastBidStartAt", "type": "uint48" },
{ "name": "lastReferer", "type": "address" }
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [{ "name": "_tokenId", "type": "uint256" }],
"name": "getLastBidStartAt",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"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": "", "type": "address" }
],
"name": "bidWithETH",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{ "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" },
{ "payable": false, "stateMutability": "nonpayable", "type": "fallback" },
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "seller", "type": "address" },
{ "indexed": false, "name": "startingPriceInToken", "type": "uint256" },
{ "indexed": false, "name": "endingPriceInToken", "type": "uint256" },
{ "indexed": false, "name": "duration", "type": "uint256" },
{ "indexed": false, "name": "token", "type": "address" }
],
"name": "AuctionCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "totalPrice", "type": "uint256" },
{ "indexed": false, "name": "winner", "type": "address" }
],
"name": "AuctionSuccessful",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "tokenId", "type": "uint256" }],
"name": "AuctionCancelled",
"type": "event"
},
{
"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": "lastBidder", "type": "address" },
{ "indexed": false, "name": "lastReferer", "type": "address" },
{ "indexed": false, "name": "lastRecord", "type": "uint256" },
{ "indexed": false, "name": "tokenAddress", "type": "address" },
{ "indexed": false, "name": "bidStartAt", "type": "uint256" },
{ "indexed": false, "name": "returnToLastBidder", "type": "uint256" }
],
"name": "NewBid",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "tokenId", "type": "uint256" },
{ "indexed": false, "name": "lastBidder", "type": "address" },
{ "indexed": false, "name": "lastReferer", "type": "address" },
{ "indexed": false, "name": "ethRequired", "type": "uint256" },
{ "indexed": false, "name": "lastRecord", "type": "uint256" },
{ "indexed": false, "name": "tokenAddress", "type": "address" },
{ "indexed": false, "name": "bidStartAt", "type": "uint256" },
{ "indexed": false, "name": "returnToLastBidder", "type": "uint256" }
],
"name": "NewBidWithETH",
"type": "event"
},
{ "anonymous": false, "inputs": [], "name": "Pause", "type": "event" },
{ "anonymous": false, "inputs": [], "name": "Unpause", "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"
}
]