Builder

class Builder
Represents validator commission rule
Protobuf type TW.Harmony.Proto.CommissionRate

Functions

Link copied to clipboard
Maximum of rate change
.TW.Harmony.Proto.Decimal max_change_rate = 3;
Link copied to clipboard
Maximum rate
.TW.Harmony.Proto.Decimal max_rate = 2;
Link copied to clipboard
The rate
.TW.Harmony.Proto.Decimal rate = 1;
Link copied to clipboard
open fun getMaxChangeRate(): Decimal
Maximum of rate change
.TW.Harmony.Proto.Decimal max_change_rate = 3;
Link copied to clipboard
open fun getMaxRate(): Decimal
Maximum rate
.TW.Harmony.Proto.Decimal max_rate = 2;
Link copied to clipboard
open fun getRate(): Decimal
The rate
.TW.Harmony.Proto.Decimal rate = 1;
Link copied to clipboard
Maximum of rate change
.TW.Harmony.Proto.Decimal max_change_rate = 3;
Link copied to clipboard
open fun hasMaxRate(): Boolean
Maximum rate
.TW.Harmony.Proto.Decimal max_rate = 2;
Link copied to clipboard
open fun hasRate(): Boolean
The rate
.TW.Harmony.Proto.Decimal rate = 1;
Link copied to clipboard
Maximum of rate change
.TW.Harmony.Proto.Decimal max_change_rate = 3;
Link copied to clipboard
Maximum rate
.TW.Harmony.Proto.Decimal max_rate = 2;
Link copied to clipboard
open fun mergeRate(value: Decimal): Harmony.CommissionRate.Builder
The rate
.TW.Harmony.Proto.Decimal rate = 1;
Link copied to clipboard
open fun setMaxChangeRate(builderForValue: Builder): Harmony.CommissionRate.Builder
Maximum of rate change
.TW.Harmony.Proto.Decimal max_change_rate = 3;
Link copied to clipboard
open fun setMaxRate(builderForValue: Builder): Harmony.CommissionRate.Builder
open fun setMaxRate(value: Decimal): Harmony.CommissionRate.Builder
Maximum rate
.TW.Harmony.Proto.Decimal max_rate = 2;
Link copied to clipboard
open fun setRate(builderForValue: Builder): Harmony.CommissionRate.Builder
open fun setRate(value: Decimal): Harmony.CommissionRate.Builder
The rate
.TW.Harmony.Proto.Decimal rate = 1;