Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes register distribution REST routes.
Types ¶
type ValidatorDistInfo ¶
type ValidatorDistInfo struct { OperatorAddress sdk.AccAddress `json:"operator_addr"` SelfBondRewards sdk.DecCoins `json:"self_bond_rewards"` ValidatorCommission types.ValidatorAccumulatedCommission `json:"val_commission"` }
ValidatorDistInfo defines the properties of validator distribution information response.
func NewValidatorDistInfo ¶
func NewValidatorDistInfo(operatorAddr sdk.AccAddress, rewards sdk.DecCoins, commission types.ValidatorAccumulatedCommission) ValidatorDistInfo
NewValidatorDistInfo creates a new instance of ValidatorDistInfo.
Click to show internal directories.
Click to hide internal directories.