public class VoteWitnessContract extends TronContract
| Modifier and Type | Class and Description | 
|---|---|
| class  | VoteWitnessContract.VoteRepresents a vote. | 
TronContract.Type| Constructor and Description | 
|---|
| VoteWitnessContract(Contract.VoteWitnessContract contract) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<VoteWitnessContract.Vote> | getVotes() | 
| boolean | isSupport() | 
| void | print(String indent)Prints the object in stdout. | 
| com.google.gson.JsonObject | toJson() | 
getOwnerAddress, getTypepublic VoteWitnessContract(Contract.VoteWitnessContract contract)
public boolean isSupport()
public List<VoteWitnessContract.Vote> getVotes()
public com.google.gson.JsonObject toJson()
toJson in class TronContractpublic void print(String indent)
TronContractprint in class TronContractCopyright © 2020. All rights reserved.