Builder

class Builder
A Staking message.
Protobuf type TW.Harmony.Proto.StakingMessage

Functions

Link copied to clipboard
.TW.Harmony.Proto.DirectiveCollectRewards collect_rewards = 5;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveCreateValidator create_validator_message = 1;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveDelegate delegate_message = 3;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveEditValidator edit_validator_message = 2;
Link copied to clipboard
Gas limit (uint256, serialized little endian)
bytes gas_limit = 8;
Link copied to clipboard
Gas price (uint256, serialized little endian)
bytes gas_price = 7;
Link copied to clipboard
Nonce (uint256, serialized little endian)
bytes nonce = 6;
Link copied to clipboard
Link copied to clipboard
.TW.Harmony.Proto.DirectiveUndelegate undelegate_message = 4;
Link copied to clipboard
open fun getCollectRewards(): DirectiveCollectRewards
.TW.Harmony.Proto.DirectiveCollectRewards collect_rewards = 5;
Link copied to clipboard
open fun getCreateValidatorMessage(): DirectiveCreateValidator
.TW.Harmony.Proto.DirectiveCreateValidator create_validator_message = 1;
Link copied to clipboard
open fun getDelegateMessage(): DirectiveDelegate
.TW.Harmony.Proto.DirectiveDelegate delegate_message = 3;
Link copied to clipboard
open fun getEditValidatorMessage(): DirectiveEditValidator
.TW.Harmony.Proto.DirectiveEditValidator edit_validator_message = 2;
Link copied to clipboard
open fun getGasLimit(): ByteString
Gas limit (uint256, serialized little endian)
bytes gas_limit = 8;
Link copied to clipboard
open fun getGasPrice(): ByteString
Gas price (uint256, serialized little endian)
bytes gas_price = 7;
Link copied to clipboard
open fun getNonce(): ByteString
Nonce (uint256, serialized little endian)
bytes nonce = 6;
Link copied to clipboard
open fun getUndelegateMessage(): DirectiveUndelegate
.TW.Harmony.Proto.DirectiveUndelegate undelegate_message = 4;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveCollectRewards collect_rewards = 5;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveCreateValidator create_validator_message = 1;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveDelegate delegate_message = 3;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveEditValidator edit_validator_message = 2;
Link copied to clipboard
.TW.Harmony.Proto.DirectiveUndelegate undelegate_message = 4;
Link copied to clipboard
open fun mergeCollectRewards(value: DirectiveCollectRewards): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveCollectRewards collect_rewards = 5;
Link copied to clipboard
open fun mergeCreateValidatorMessage(value: DirectiveCreateValidator): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveCreateValidator create_validator_message = 1;
Link copied to clipboard
open fun mergeDelegateMessage(value: DirectiveDelegate): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveDelegate delegate_message = 3;
Link copied to clipboard
open fun mergeEditValidatorMessage(value: DirectiveEditValidator): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveEditValidator edit_validator_message = 2;
Link copied to clipboard
open fun mergeUndelegateMessage(value: DirectiveUndelegate): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveUndelegate undelegate_message = 4;
Link copied to clipboard
open fun setCollectRewards(builderForValue: Builder): Harmony.StakingMessage.Builder
open fun setCollectRewards(value: DirectiveCollectRewards): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveCollectRewards collect_rewards = 5;
Link copied to clipboard
open fun setCreateValidatorMessage(builderForValue: Builder): Harmony.StakingMessage.Builder
open fun setCreateValidatorMessage(value: DirectiveCreateValidator): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveCreateValidator create_validator_message = 1;
Link copied to clipboard
open fun setDelegateMessage(builderForValue: Builder): Harmony.StakingMessage.Builder
open fun setDelegateMessage(value: DirectiveDelegate): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveDelegate delegate_message = 3;
Link copied to clipboard
open fun setEditValidatorMessage(builderForValue: Builder): Harmony.StakingMessage.Builder
open fun setEditValidatorMessage(value: DirectiveEditValidator): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveEditValidator edit_validator_message = 2;
Link copied to clipboard
open fun setGasLimit(value: ByteString): Harmony.StakingMessage.Builder
Gas limit (uint256, serialized little endian)
bytes gas_limit = 8;
Link copied to clipboard
open fun setGasPrice(value: ByteString): Harmony.StakingMessage.Builder
Gas price (uint256, serialized little endian)
bytes gas_price = 7;
Link copied to clipboard
open fun setNonce(value: ByteString): Harmony.StakingMessage.Builder
Nonce (uint256, serialized little endian)
bytes nonce = 6;
Link copied to clipboard
open fun setUndelegateMessage(builderForValue: Builder): Harmony.StakingMessage.Builder
open fun setUndelegateMessage(value: DirectiveUndelegate): Harmony.StakingMessage.Builder
.TW.Harmony.Proto.DirectiveUndelegate undelegate_message = 4;