Builder

class Builder
Vote witness
Protobuf type TW.Tron.Proto.VoteWitnessContract

Functions

Link copied to clipboard
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
open fun addVotes(builderForValue: Builder): Tron.VoteWitnessContract.Builder
open fun addVotes(index: Int, builderForValue: Builder): Tron.VoteWitnessContract.Builder
open fun addVotes(index: Int, value: Vote): Tron.VoteWitnessContract.Builder
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
Owner
string owner_address = 1;
Link copied to clipboard
bool support = 3;
Link copied to clipboard
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
Owner
string owner_address = 1;
Link copied to clipboard
open fun getOwnerAddressBytes(): ByteString
Owner
string owner_address = 1;
Link copied to clipboard
open fun getSupport(): Boolean
bool support = 3;
Link copied to clipboard
open fun getVotes(index: Int): Vote
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
open fun getVotesCount(): Int
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
open fun getVotesList(): List<Vote>
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;
Link copied to clipboard
Owner
string owner_address = 1;
Link copied to clipboard
Owner
string owner_address = 1;
Link copied to clipboard
bool support = 3;
Link copied to clipboard
open fun setVotes(index: Int, builderForValue: Builder): Tron.VoteWitnessContract.Builder
open fun setVotes(index: Int, value: Vote): Tron.VoteWitnessContract.Builder
The votes
repeated .TW.Tron.Proto.VoteWitnessContract.Vote votes = 2;