Builder

class Builder
Bond to a controller
Protobuf type TW.Polkadot.Proto.Staking.Bond

Functions

Link copied to clipboard
controller ID
string controller = 1;
Link copied to clipboard
destination for rewards
.TW.Polkadot.Proto.RewardDestination reward_destination = 3;
Link copied to clipboard
amount (uint256, serialized little endian)
bytes value = 2;
Link copied to clipboard
open fun getController(): String
controller ID
string controller = 1;
Link copied to clipboard
open fun getControllerBytes(): ByteString
controller ID
string controller = 1;
Link copied to clipboard
open fun getRewardDestination(): RewardDestination
destination for rewards
.TW.Polkadot.Proto.RewardDestination reward_destination = 3;
Link copied to clipboard
destination for rewards
.TW.Polkadot.Proto.RewardDestination reward_destination = 3;
Link copied to clipboard
open fun getValue(): ByteString
amount (uint256, serialized little endian)
bytes value = 2;
Link copied to clipboard
controller ID
string controller = 1;
Link copied to clipboard
controller ID
string controller = 1;
Link copied to clipboard
open fun setRewardDestination(value: RewardDestination): Polkadot.Staking.Bond.Builder
destination for rewards
.TW.Polkadot.Proto.RewardDestination reward_destination = 3;
Link copied to clipboard
destination for rewards
.TW.Polkadot.Proto.RewardDestination reward_destination = 3;
Link copied to clipboard
open fun setValue(value: ByteString): Polkadot.Staking.Bond.Builder
amount (uint256, serialized little endian)
bytes value = 2;