lcd

package
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryCommunityTaxFn added in v0.14.0

func QueryCommunityTaxFn(cliCtx context.CLIContext) http.HandlerFunc

func QueryDelegationDistInfoHandlerFn

func QueryDelegationDistInfoHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

QueryDelegationDistInfoHandlerFn query delegation distribution info

func QueryDelegatorDistInfoHandlerFn

func QueryDelegatorDistInfoHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

QueryDelegatorDistInfoHandlerFn query all delegation distribution info of the specified delegator

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 QueryValidatorDistInfoHandlerFn

func QueryValidatorDistInfoHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

QueryValidatorDistInfoHandlerFn query validator distribution info

func QueryWithdrawAddressHandlerFn

func QueryWithdrawAddressHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

QueryWithdrawAddressHandlerFn performs withdraw address query

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL