Documentation ¶
Index ¶
- func CustomQuerier(wardenKeeper wardenkeeper.Keeper) func(ctx sdk.Context, rawRequest json.RawMessage) ([]byte, error)
- func EncodeCustomMsg(sender sdk.AccAddress, rawMsg json.RawMessage) ([]sdk.Msg, error)
- type NewKeyRequest
- type NewSignRequest
- type WardenMsg
- type WardenProtocolMsg
- type WardenProtocolQuery
- type WardenQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomQuerier ¶
func CustomQuerier(wardenKeeper wardenkeeper.Keeper) func(ctx sdk.Context, rawRequest json.RawMessage) ([]byte, error)
func EncodeCustomMsg ¶
func EncodeCustomMsg(sender sdk.AccAddress, rawMsg json.RawMessage) ([]sdk.Msg, error)
Types ¶
type NewKeyRequest ¶
type NewSignRequest ¶ added in v0.4.1
type WardenMsg ¶
type WardenMsg struct { NewKeyRequest *NewKeyRequest `json:"new_key_request,omitempty"` NewSignRequest *NewSignRequest `json:"new_sign_request,omitempty"` }
type WardenProtocolMsg ¶
type WardenProtocolMsg struct {
Warden WardenMsg `json:"warden,omitempty"`
}
type WardenProtocolQuery ¶
type WardenProtocolQuery struct {
Warden WardenQuery `json:"warden,omitempty"`
}
type WardenQuery ¶
type WardenQuery struct { AllKeys *types.QueryAllKeysRequest `json:"all_keys,omitempty"` KeysBySpaceId *types.QueryKeysBySpaceIdRequest `json:"keys_by_space_id,omitempty"` KeyById *types.QueryKeyByIdRequest `json:"key_by_id,omitempty"` SignRequests *types.QuerySignRequestsRequest `json:"sign_requests,omitempty"` SignRequestById *types.QuerySignRequestByIdRequest `json:"sign_request_by_id,omitempty"` }
Click to show internal directories.
Click to hide internal directories.