Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestGranter = "granter" RestGrantee = "grantee" RestMsgType = "msg_type" )
nolint
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes register routes for querier and tx broadcast
Types ¶
type ExecuteRequest ¶
type ExecuteRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Msgs []sdk.Msg `json:"msgs" yaml:"msgs"` }
ExecuteRequest defines the properties of a execute request's body.
type GrantRequest ¶
type GrantRequest struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Period time.Duration `json:"period"` Limit sdk.Coins `json:"limit,omitempty"` }
GrantRequest defines the properties of a grant request's body.
type RevokeRequest ¶
RevokeRequest defines the properties of a revoke request's body.
Click to show internal directories.
Click to hide internal directories.