Create

create stake
Protobuf type TW.IoTeX.Proto.Staking.Create

Types

Link copied to clipboard
class Builder
create stake
Protobuf type TW.IoTeX.Proto.Staking.Create

Functions

Link copied to clipboard
open fun getAutoStake(): Boolean
auto-restake
bool autoStake = 4;
Link copied to clipboard
validator name
string candidateName = 1;
Link copied to clipboard
open fun getCandidateNameBytes(): ByteString
validator name
string candidateName = 1;
Link copied to clipboard
open fun getDefaultInstance(): Create
Link copied to clipboard
open fun getPayload(): ByteString
payload data
bytes payload = 5;
Link copied to clipboard
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
open fun getStakedAmountBytes(): ByteString
amount to be staked
string stakedAmount = 2;
Link copied to clipboard
duration
uint32 stakedDuration = 3;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): Create
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Create
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): Create
open fun parseFrom(data: ByteString): Create
open fun parseFrom(input: CodedInputStream): Create
open fun parseFrom(input: InputStream): Create
open fun parseFrom(data: ByteBuffer): Create
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Create
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Create
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Create
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Create
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Create
Link copied to clipboard
open fun parser(): Parser<Create>

Properties

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