Documentation ¶
Index ¶
- func QueryRewardsHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func QueryWithdrawAddressHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)
- func SetWithdrawAddressHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- func WithdrawRewardsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryRewardsHandlerFn ¶ added in v0.13.1
func QueryRewardsHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
QueryRewardsHandlerFn query the all the rewards of validator or delegator
func QueryWithdrawAddressHandlerFn ¶
func QueryWithdrawAddressHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
QueryWithdrawAddressHandlerFn performs withdraw address query
func RegisterRoutes ¶
RegisterRoutes - Central function to define routes that get registered by the main application
func SetWithdrawAddressHandlerFn ¶
func SetWithdrawAddressHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
SetWithdrawAddressHandlerFn - http request handler to set withdraw address nolint: gocyclo
func WithdrawRewardsHandlerFn ¶
func WithdrawRewardsHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.