CandidateRegister

Register a Candidate
Protobuf type TW.IoTeX.Proto.Staking.CandidateRegister

Types

Link copied to clipboard
class Builder
Register a Candidate
Protobuf type TW.IoTeX.Proto.Staking.CandidateRegister

Functions

Link copied to clipboard
open fun getAutoStake(): Boolean
bool autoStake = 4;
Link copied to clipboard
open fun getCandidate(): CandidateBasicInfo
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidate = 1;
Link copied to clipboard
open fun getDefaultInstance(): CandidateRegister
Link copied to clipboard
if ownerAddress is absent, owner of candidate is the sender
string ownerAddress = 5;
Link copied to clipboard
open fun getOwnerAddressBytes(): ByteString
if ownerAddress is absent, owner of candidate is the sender
string ownerAddress = 5;
Link copied to clipboard
open fun getPayload(): ByteString
bytes payload = 6;
Link copied to clipboard
string stakedAmount = 2;
Link copied to clipboard
open fun getStakedAmountBytes(): ByteString
string stakedAmount = 2;
Link copied to clipboard
uint32 stakedDuration = 3;
Link copied to clipboard
open fun hasCandidate(): Boolean
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidate = 1;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): CandidateRegister
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): CandidateRegister
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): CandidateRegister
open fun parseFrom(data: ByteString): CandidateRegister
open fun parseFrom(input: CodedInputStream): CandidateRegister
open fun parseFrom(input: InputStream): CandidateRegister
open fun parseFrom(data: ByteBuffer): CandidateRegister
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): CandidateRegister
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): CandidateRegister
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): CandidateRegister
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): CandidateRegister
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): CandidateRegister
Link copied to clipboard
open fun parser(): Parser<CandidateRegister>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard