Documentation ¶
Index ¶
- func QueryCommunityPoolHandleFn(cliCtx context.Context) http.HandlerFunc
- func QueryDelegatorAccountInfoHandleFn(cliCtx context.Context) http.HandlerFunc
- func QueryValidatorOutstandingRewardsHandleFn(cliCtx context.Context) http.HandlerFunc
- func QueryWithDrawAddress(cliCtx context.Context) http.HandlerFunc
- func RegisterQueryRoutes(cliCtx context.Context, r *mux.Router)
- func RegisterRoutes(cliCtx context.Context, r *mux.Router)
- type QueryRewardsParams
- type RewardsData
- type RewardsParams
- type ValidatorDistInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryCommunityPoolHandleFn ¶
func QueryCommunityPoolHandleFn(cliCtx context.Context) http.HandlerFunc
func QueryDelegatorAccountInfoHandleFn ¶
func QueryDelegatorAccountInfoHandleFn(cliCtx context.Context) http.HandlerFunc
func QueryValidatorOutstandingRewardsHandleFn ¶
func QueryValidatorOutstandingRewardsHandleFn(cliCtx context.Context) http.HandlerFunc
func QueryWithDrawAddress ¶
func QueryWithDrawAddress(cliCtx context.Context) http.HandlerFunc
Types ¶
type QueryRewardsParams ¶
type QueryRewardsParams struct {
Data RewardsParams `json:"data"`
}
type RewardsData ¶
type RewardsData struct {
Rewards uint64 `json:"rewards"`
}
type RewardsParams ¶
type ValidatorDistInfo ¶
type ValidatorDistInfo struct { OperatorAddress sdk.AccAddress `json:"operator_address" yaml:"operator_address"` SelfBondRewards sdk.DecCoin `json:"self_bond_rewards" yaml:"self_bond_rewards"` ValidatorCommission types.ValidatorAccumulatedCommission `json:"val_commission" yaml:"val_commission"` }
ValidatorDistInfo defines the properties of validator distribution information response.
func NewValidatorDistInfo ¶
func NewValidatorDistInfo(operatorAddr sdk.AccAddress, rewards sdk.DecCoin, commission types.ValidatorAccumulatedCommission) ValidatorDistInfo
NewValidatorDistInfo creates a new instance of ValidatorDistInfo.
Click to show internal directories.
Click to hide internal directories.