Builder

class Builder
restake the duration and autoStake flag of bucket
Protobuf type TW.IoTeX.Proto.Staking.Restake

Functions

Link copied to clipboard
auto re-stake
bool autoStake = 3;
Link copied to clipboard
index
uint64 bucketIndex = 1;
Link copied to clipboard
payload data
bytes payload = 4;
Link copied to clipboard
stake duration
uint32 stakedDuration = 2;
Link copied to clipboard
open fun getAutoStake(): Boolean
auto re-stake
bool autoStake = 3;
Link copied to clipboard
open fun getBucketIndex(): Long
index
uint64 bucketIndex = 1;
Link copied to clipboard
open fun getPayload(): ByteString
payload data
bytes payload = 4;
Link copied to clipboard
stake duration
uint32 stakedDuration = 2;
Link copied to clipboard
auto re-stake
bool autoStake = 3;
Link copied to clipboard
index
uint64 bucketIndex = 1;
Link copied to clipboard
open fun setPayload(value: ByteString): IoTeX.Staking.Restake.Builder
payload data
bytes payload = 4;
Link copied to clipboard
stake duration
uint32 stakedDuration = 2;