BCNGARDEN · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
BCNGARDEN
Address TAyrbZCme4jVBnHnALvoKbE6ewLd2VGD77
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 40 20 read · 20 write
Bytecode 23.75Kbytes runtime
Deployed — unverified
Contract interface
ABI · 40 fns
contract.abi.json
[
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "transferTrc20FromContract",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"name": "name",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "getApproved",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "approve",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "transferTRXFromContract",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_active",
"type": "bool"
}
],
"name": "setBuyTrc20Active",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "totalSupply",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_baseURL",
"type": "string"
}
],
"constant": true,
"name": "getBaseURL",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "transferFrom",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "_trc20Price",
"type": "uint256"
}
],
"constant": true,
"name": "getTrc20Price",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_trc20Price",
"type": "uint256"
}
],
"name": "setTrc20Price",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "_limitSupply",
"type": "uint256"
}
],
"constant": true,
"name": "getLimitSupply",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "index",
"type": "uint256"
}
],
"name": "tokenOfOwnerByIndex",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_planted",
"type": "bool"
}
],
"name": "setPlantedState",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_limitSupply",
"type": "uint256"
}
],
"name": "setLimitSupply",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "safeTransferFrom",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "currentSupply",
"type": "uint256"
}
],
"inputs": [
{
"name": "player",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "batchMint",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "_isActive",
"type": "bool"
}
],
"constant": true,
"name": "getBuyTrc20Active",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_baseURL",
"type": "string"
}
],
"name": "setBaseURL",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "index",
"type": "uint256"
}
],
"name": "tokenByIndex",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "ownerOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
}
],
"name": "balanceOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "newId",
"type": "uint256"
},
{
"name": "currentSupply",
"type": "uint256"
},
{
"name": "URI",
"type": "string"
}
],
"payable": true,
"name": "buyItem",
"stateMutability": "Payable",
"type": "Function"
},
{
"inputs": [
{
"name": "_trc20Address",
"type": "address"
}
],
"name": "setTrc20Address",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getOwner",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_price",
"type": "uint256"
}
],
"name": "setPrice",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"name": "symbol",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_price",
"type": "uint256"
}
],
"constant": true,
"name": "getPrice",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "newId",
"type": "uint256"
},
{
"name": "currentSupply",
"type": "uint256"
},
{
"name": "URI",
"type": "string"
}
],
"name": "buyItemByTRC20",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "changeOwner",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "_isPlanted",
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "getAssetIsPlanted",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "tokenId",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"inputs": [
{
"name": "tokenId",
"type": "uint256"
}
],
"name": "tokenURI",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_active",
"type": "bool"
}
],
"name": "setBuyActive",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getTrc20Address",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_isActive",
"type": "bool"
}
],
"constant": true,
"name": "getBuyActive",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "newId",
"type": "uint256"
},
{
"name": "currentSupply",
"type": "uint256"
},
{
"name": "URI",
"type": "string"
}
],
"inputs": [
{
"name": "player",
"type": "address"
}
],
"name": "awardItem",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_symbol",
"type": "string"
},
{
"name": "_baseURL",
"type": "string"
},
{
"name": "_limitSupply",
"type": "uint256"
},
{
"name": "_price",
"type": "uint256"
},
{
"name": "_trc20Price",
"type": "uint256"
},
{
"name": "_trc20Address",
"type": "address"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": true,
"name": "tokenId",
"type": "uint256"
}
],
"name": "Transfer",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "approved",
"type": "address"
},
{
"indexed": true,
"name": "tokenId",
"type": "uint256"
}
],
"name": "Approval",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "operator",
"type": "address"
},
{
"name": "approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "Event"
}
]About this contract
overview
BCNGARDEN is a smart contract on Tron. It has been called 0 times.
This contract is not source-verified, so only its on-chain bytecode and ABI are available. Read calls still run live against the node. Write calls require a signed wallet transaction — wallet support is coming soon.