Builder

class Builder
An Action structure
Used internally
Protobuf type TW.IoTeX.Proto.ActionCore

Functions

Link copied to clipboard
Link copied to clipboard
.TW.IoTeX.Proto.Staking.CandidateRegister candidateRegister = 47;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidateUpdate = 48;
Link copied to clipboard
.TW.IoTeX.Proto.ContractCall execution = 12;
Link copied to clipboard
Gas limit
uint64 gasLimit = 3;
Link copied to clipboard
Gas price
string gasPrice = 4;
Link copied to clipboard
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 2;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.AddDeposit stakeAddDeposit = 43;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.ChangeCandidate stakeChangeCandidate = 45;
Link copied to clipboard
Native staking
.TW.IoTeX.Proto.Staking.Create stakeCreate = 40;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Restake stakeRestake = 44;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.TransferOwnership stakeTransferOwnership = 46;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeUnstake = 41;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeWithdraw = 42;
Link copied to clipboard
.TW.IoTeX.Proto.Transfer transfer = 10;
Link copied to clipboard
version number
uint32 version = 1;
Link copied to clipboard
Link copied to clipboard
open fun getCandidateRegister(): CandidateRegister
.TW.IoTeX.Proto.Staking.CandidateRegister candidateRegister = 47;
Link copied to clipboard
open fun getCandidateUpdate(): CandidateBasicInfo
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidateUpdate = 48;
Link copied to clipboard
open fun getExecution(): ContractCall
.TW.IoTeX.Proto.ContractCall execution = 12;
Link copied to clipboard
open fun getGasLimit(): Long
Gas limit
uint64 gasLimit = 3;
Link copied to clipboard
open fun getGasPrice(): String
Gas price
string gasPrice = 4;
Link copied to clipboard
open fun getGasPriceBytes(): ByteString
Gas price
string gasPrice = 4;
Link copied to clipboard
open fun getNonce(): Long
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 2;
Link copied to clipboard
open fun getStakeAddDeposit(): AddDeposit
.TW.IoTeX.Proto.Staking.AddDeposit stakeAddDeposit = 43;
Link copied to clipboard
open fun getStakeChangeCandidate(): ChangeCandidate
.TW.IoTeX.Proto.Staking.ChangeCandidate stakeChangeCandidate = 45;
Link copied to clipboard
open fun getStakeCreate(): Create
Native staking
.TW.IoTeX.Proto.Staking.Create stakeCreate = 40;
Link copied to clipboard
open fun getStakeRestake(): Restake
.TW.IoTeX.Proto.Staking.Restake stakeRestake = 44;
Link copied to clipboard
open fun getStakeTransferOwnership(): TransferOwnership
.TW.IoTeX.Proto.Staking.TransferOwnership stakeTransferOwnership = 46;
Link copied to clipboard
open fun getStakeUnstake(): Reclaim
.TW.IoTeX.Proto.Staking.Reclaim stakeUnstake = 41;
Link copied to clipboard
open fun getStakeWithdraw(): Reclaim
.TW.IoTeX.Proto.Staking.Reclaim stakeWithdraw = 42;
Link copied to clipboard
open fun getTransfer(): Transfer
.TW.IoTeX.Proto.Transfer transfer = 10;
Link copied to clipboard
open fun getVersion(): Int
version number
uint32 version = 1;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.CandidateRegister candidateRegister = 47;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidateUpdate = 48;
Link copied to clipboard
open fun hasExecution(): Boolean
.TW.IoTeX.Proto.ContractCall execution = 12;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.AddDeposit stakeAddDeposit = 43;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.ChangeCandidate stakeChangeCandidate = 45;
Link copied to clipboard
Native staking
.TW.IoTeX.Proto.Staking.Create stakeCreate = 40;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Restake stakeRestake = 44;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.TransferOwnership stakeTransferOwnership = 46;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeUnstake = 41;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeWithdraw = 42;
Link copied to clipboard
open fun hasTransfer(): Boolean
.TW.IoTeX.Proto.Transfer transfer = 10;
Link copied to clipboard
open fun mergeCandidateRegister(value: CandidateRegister): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.CandidateRegister candidateRegister = 47;
Link copied to clipboard
open fun mergeCandidateUpdate(value: CandidateBasicInfo): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidateUpdate = 48;
Link copied to clipboard
open fun mergeExecution(value: ContractCall): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.ContractCall execution = 12;
Link copied to clipboard
open fun mergeStakeAddDeposit(value: AddDeposit): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.AddDeposit stakeAddDeposit = 43;
Link copied to clipboard
open fun mergeStakeChangeCandidate(value: ChangeCandidate): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.ChangeCandidate stakeChangeCandidate = 45;
Link copied to clipboard
Native staking
.TW.IoTeX.Proto.Staking.Create stakeCreate = 40;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Restake stakeRestake = 44;
Link copied to clipboard
open fun mergeStakeTransferOwnership(value: TransferOwnership): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.TransferOwnership stakeTransferOwnership = 46;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeUnstake = 41;
Link copied to clipboard
.TW.IoTeX.Proto.Staking.Reclaim stakeWithdraw = 42;
Link copied to clipboard
open fun mergeTransfer(value: Transfer): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Transfer transfer = 10;
Link copied to clipboard
open fun setCandidateRegister(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setCandidateRegister(value: CandidateRegister): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.CandidateRegister candidateRegister = 47;
Link copied to clipboard
open fun setCandidateUpdate(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setCandidateUpdate(value: CandidateBasicInfo): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.CandidateBasicInfo candidateUpdate = 48;
Link copied to clipboard
open fun setExecution(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setExecution(value: ContractCall): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.ContractCall execution = 12;
Link copied to clipboard
Gas limit
uint64 gasLimit = 3;
Link copied to clipboard
Gas price
string gasPrice = 4;
Link copied to clipboard
open fun setGasPriceBytes(value: ByteString): IoTeX.ActionCore.Builder
Gas price
string gasPrice = 4;
Link copied to clipboard
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 2;
Link copied to clipboard
open fun setStakeAddDeposit(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeAddDeposit(value: AddDeposit): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.AddDeposit stakeAddDeposit = 43;
Link copied to clipboard
open fun setStakeChangeCandidate(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeChangeCandidate(value: ChangeCandidate): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.ChangeCandidate stakeChangeCandidate = 45;
Link copied to clipboard
open fun setStakeCreate(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeCreate(value: Create): IoTeX.ActionCore.Builder
Native staking
.TW.IoTeX.Proto.Staking.Create stakeCreate = 40;
Link copied to clipboard
open fun setStakeRestake(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeRestake(value: Restake): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.Restake stakeRestake = 44;
Link copied to clipboard
open fun setStakeTransferOwnership(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeTransferOwnership(value: TransferOwnership): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.TransferOwnership stakeTransferOwnership = 46;
Link copied to clipboard
open fun setStakeUnstake(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeUnstake(value: Reclaim): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.Reclaim stakeUnstake = 41;
Link copied to clipboard
open fun setStakeWithdraw(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setStakeWithdraw(value: Reclaim): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Staking.Reclaim stakeWithdraw = 42;
Link copied to clipboard
open fun setTransfer(builderForValue: Builder): IoTeX.ActionCore.Builder
open fun setTransfer(value: Transfer): IoTeX.ActionCore.Builder
.TW.IoTeX.Proto.Transfer transfer = 10;
Link copied to clipboard
version number
uint32 version = 1;