Versions in this module Expand all Collapse all v0 v0.1.3 Sep 18, 2023 v0.1.1 Sep 18, 2023 Changes in this version + const ModuleName + const QuerierRoute + const RouterKey + var ErrAuthorizationExpired = sdkerrors.Register(ModuleName, 6, "authorization expired") + var ErrAuthorizationNumOfSigners = sdkerrors.Register(ModuleName, 9, "authorization can be given to msg with only one signer") + var ErrGranteeIsGranter = sdkerrors.Register(ModuleName, 7, "grantee and granter should be different") + var ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidExpirationTime = sdkerrors.Register(ModuleName, 3, ...) + var ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrNegativeMaxTokens = sdkerrors.Register(ModuleName, 12, "max tokens should be positive") + var ErrNoAuthorizationFound = sdkerrors.Register(ModuleName, 2, "authorization not found") + var ErrNoGrantKeyFound = sdkerrors.Register(ModuleName, 5, "grant key not found") + var ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownAuthorizationType = sdkerrors.Register(ModuleName, 4, "unknown authorization type") + func MsgServiceDesc() *grpc.ServiceDesc + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func ValidateGenesis(data GenesisState) error + type AcceptResponse struct + Accept bool + Delete bool + Updated Authorization + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + type Authorization interface + Accept func(ctx sdk.Context, msg sdk.Msg) (AcceptResponse, error) + MsgTypeURL func() string + ValidateBasic func() error + type BankKeeper interface + IsSendEnabledCoins func(ctx sdk.Context, coins ...sdk.Coin) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type EventGrant struct + Grantee string + Granter string + MsgTypeUrl string + func (*EventGrant) Descriptor() ([]byte, []int) + func (*EventGrant) ProtoMessage() + func (m *EventGrant) GetGrantee() string + func (m *EventGrant) GetGranter() string + func (m *EventGrant) GetMsgTypeUrl() string + func (m *EventGrant) Marshal() (dAtA []byte, err error) + func (m *EventGrant) MarshalTo(dAtA []byte) (int, error) + func (m *EventGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventGrant) Reset() + func (m *EventGrant) Size() (n int) + func (m *EventGrant) String() string + func (m *EventGrant) Unmarshal(dAtA []byte) error + func (m *EventGrant) XXX_DiscardUnknown() + func (m *EventGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventGrant) XXX_Merge(src proto.Message) + func (m *EventGrant) XXX_Size() int + func (m *EventGrant) XXX_Unmarshal(b []byte) error + type EventRevoke struct + Grantee string + Granter string + MsgTypeUrl string + func (*EventRevoke) Descriptor() ([]byte, []int) + func (*EventRevoke) ProtoMessage() + func (m *EventRevoke) GetGrantee() string + func (m *EventRevoke) GetGranter() string + func (m *EventRevoke) GetMsgTypeUrl() string + func (m *EventRevoke) Marshal() (dAtA []byte, err error) + func (m *EventRevoke) MarshalTo(dAtA []byte) (int, error) + func (m *EventRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventRevoke) Reset() + func (m *EventRevoke) Size() (n int) + func (m *EventRevoke) String() string + func (m *EventRevoke) Unmarshal(dAtA []byte) error + func (m *EventRevoke) XXX_DiscardUnknown() + func (m *EventRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventRevoke) XXX_Merge(src proto.Message) + func (m *EventRevoke) XXX_Size() int + func (m *EventRevoke) XXX_Unmarshal(b []byte) error + type GenericAuthorization struct + Msg string + func NewGenericAuthorization(msgTypeURL string) *GenericAuthorization + func (*GenericAuthorization) Descriptor() ([]byte, []int) + func (*GenericAuthorization) ProtoMessage() + func (a GenericAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (AcceptResponse, error) + func (a GenericAuthorization) MsgTypeURL() string + func (a GenericAuthorization) ValidateBasic() error + func (m *GenericAuthorization) Marshal() (dAtA []byte, err error) + func (m *GenericAuthorization) MarshalTo(dAtA []byte) (int, error) + func (m *GenericAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenericAuthorization) Reset() + func (m *GenericAuthorization) Size() (n int) + func (m *GenericAuthorization) String() string + func (m *GenericAuthorization) Unmarshal(dAtA []byte) error + func (m *GenericAuthorization) XXX_DiscardUnknown() + func (m *GenericAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenericAuthorization) XXX_Merge(src proto.Message) + func (m *GenericAuthorization) XXX_Size() int + func (m *GenericAuthorization) XXX_Unmarshal(b []byte) error + type GenesisState struct + Authorization []GrantAuthorization + func DefaultGenesisState() *GenesisState + func NewGenesisState(entries []GrantAuthorization) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (data GenesisState) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error + func (m *GenesisState) GetAuthorization() []GrantAuthorization + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type Grant struct + Authorization *types.Any + Expiration *time.Time + func NewGrant(blockTime time.Time, a Authorization, expiration *time.Time) (Grant, error) + func (*Grant) Descriptor() ([]byte, []int) + func (*Grant) ProtoMessage() + func (g Grant) GetAuthorization() (Authorization, error) + func (g Grant) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error + func (g Grant) ValidateBasic() error + func (m *Grant) Marshal() (dAtA []byte, err error) + func (m *Grant) MarshalTo(dAtA []byte) (int, error) + func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Grant) Reset() + func (m *Grant) Size() (n int) + func (m *Grant) String() string + func (m *Grant) Unmarshal(dAtA []byte) error + func (m *Grant) XXX_DiscardUnknown() + func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Grant) XXX_Merge(src proto.Message) + func (m *Grant) XXX_Size() int + func (m *Grant) XXX_Unmarshal(b []byte) error + type GrantAuthorization struct + Authorization *types.Any + Expiration *time.Time + Grantee string + Granter string + func (*GrantAuthorization) Descriptor() ([]byte, []int) + func (*GrantAuthorization) ProtoMessage() + func (m *GrantAuthorization) Marshal() (dAtA []byte, err error) + func (m *GrantAuthorization) MarshalTo(dAtA []byte) (int, error) + func (m *GrantAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GrantAuthorization) Reset() + func (m *GrantAuthorization) Size() (n int) + func (m *GrantAuthorization) String() string + func (m *GrantAuthorization) Unmarshal(dAtA []byte) error + func (m *GrantAuthorization) XXX_DiscardUnknown() + func (m *GrantAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GrantAuthorization) XXX_Merge(src proto.Message) + func (m *GrantAuthorization) XXX_Size() int + func (m *GrantAuthorization) XXX_Unmarshal(b []byte) error + func (msg GrantAuthorization) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error + type GrantQueueItem struct + MsgTypeUrls []string + func (*GrantQueueItem) Descriptor() ([]byte, []int) + func (*GrantQueueItem) ProtoMessage() + func (m *GrantQueueItem) Marshal() (dAtA []byte, err error) + func (m *GrantQueueItem) MarshalTo(dAtA []byte) (int, error) + func (m *GrantQueueItem) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GrantQueueItem) Reset() + func (m *GrantQueueItem) Size() (n int) + func (m *GrantQueueItem) String() string + func (m *GrantQueueItem) Unmarshal(dAtA []byte) error + func (m *GrantQueueItem) XXX_DiscardUnknown() + func (m *GrantQueueItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GrantQueueItem) XXX_Merge(src proto.Message) + func (m *GrantQueueItem) XXX_Size() int + func (m *GrantQueueItem) XXX_Unmarshal(b []byte) error + type MsgClient interface + Exec func(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, error) + Grant func(ctx context.Context, in *MsgGrant, opts ...grpc.CallOption) (*MsgGrantResponse, error) + Revoke func(ctx context.Context, in *MsgRevoke, opts ...grpc.CallOption) (*MsgRevokeResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgExec struct + Grantee string + Msgs []*types.Any + func NewMsgExec(grantee sdk.AccAddress, msgs []sdk.Msg) MsgExec + func (*MsgExec) Descriptor() ([]byte, []int) + func (*MsgExec) ProtoMessage() + func (m *MsgExec) Marshal() (dAtA []byte, err error) + func (m *MsgExec) MarshalTo(dAtA []byte) (int, error) + func (m *MsgExec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgExec) Reset() + func (m *MsgExec) Size() (n int) + func (m *MsgExec) String() string + func (m *MsgExec) Unmarshal(dAtA []byte) error + func (m *MsgExec) XXX_DiscardUnknown() + func (m *MsgExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgExec) XXX_Merge(src proto.Message) + func (m *MsgExec) XXX_Size() int + func (m *MsgExec) XXX_Unmarshal(b []byte) error + func (msg MsgExec) GetMessages() ([]sdk.Msg, error) + func (msg MsgExec) GetSignBytes() []byte + func (msg MsgExec) GetSigners() []sdk.AccAddress + func (msg MsgExec) Route() string + func (msg MsgExec) Type() string + func (msg MsgExec) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error + func (msg MsgExec) ValidateBasic() error + type MsgExecResponse struct + Results [][]byte + func (*MsgExecResponse) Descriptor() ([]byte, []int) + func (*MsgExecResponse) ProtoMessage() + func (m *MsgExecResponse) Marshal() (dAtA []byte, err error) + func (m *MsgExecResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgExecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgExecResponse) Reset() + func (m *MsgExecResponse) Size() (n int) + func (m *MsgExecResponse) String() string + func (m *MsgExecResponse) Unmarshal(dAtA []byte) error + func (m *MsgExecResponse) XXX_DiscardUnknown() + func (m *MsgExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgExecResponse) XXX_Merge(src proto.Message) + func (m *MsgExecResponse) XXX_Size() int + func (m *MsgExecResponse) XXX_Unmarshal(b []byte) error + type MsgGrant struct + Grant Grant + Grantee string + Granter string + func NewMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a Authorization, ...) (*MsgGrant, error) + func (*MsgGrant) Descriptor() ([]byte, []int) + func (*MsgGrant) ProtoMessage() + func (m *MsgGrant) Marshal() (dAtA []byte, err error) + func (m *MsgGrant) MarshalTo(dAtA []byte) (int, error) + func (m *MsgGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgGrant) Reset() + func (m *MsgGrant) Size() (n int) + func (m *MsgGrant) String() string + func (m *MsgGrant) Unmarshal(dAtA []byte) error + func (m *MsgGrant) XXX_DiscardUnknown() + func (m *MsgGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgGrant) XXX_Merge(src proto.Message) + func (m *MsgGrant) XXX_Size() int + func (m *MsgGrant) XXX_Unmarshal(b []byte) error + func (msg *MsgGrant) GetAuthorization() (Authorization, error) + func (msg *MsgGrant) SetAuthorization(a Authorization) error + func (msg MsgGrant) GetSignBytes() []byte + func (msg MsgGrant) GetSigners() []sdk.AccAddress + func (msg MsgGrant) Route() string + func (msg MsgGrant) Type() string + func (msg MsgGrant) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error + func (msg MsgGrant) ValidateBasic() error + type MsgGrantResponse struct + func (*MsgGrantResponse) Descriptor() ([]byte, []int) + func (*MsgGrantResponse) ProtoMessage() + func (m *MsgGrantResponse) Marshal() (dAtA []byte, err error) + func (m *MsgGrantResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgGrantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgGrantResponse) Reset() + func (m *MsgGrantResponse) Size() (n int) + func (m *MsgGrantResponse) String() string + func (m *MsgGrantResponse) Unmarshal(dAtA []byte) error + func (m *MsgGrantResponse) XXX_DiscardUnknown() + func (m *MsgGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgGrantResponse) XXX_Merge(src proto.Message) + func (m *MsgGrantResponse) XXX_Size() int + func (m *MsgGrantResponse) XXX_Unmarshal(b []byte) error + type MsgRevoke struct + Grantee string + Granter string + MsgTypeUrl string + func NewMsgRevoke(granter sdk.AccAddress, grantee sdk.AccAddress, msgTypeURL string) MsgRevoke + func (*MsgRevoke) Descriptor() ([]byte, []int) + func (*MsgRevoke) ProtoMessage() + func (m *MsgRevoke) Marshal() (dAtA []byte, err error) + func (m *MsgRevoke) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevoke) Reset() + func (m *MsgRevoke) Size() (n int) + func (m *MsgRevoke) String() string + func (m *MsgRevoke) Unmarshal(dAtA []byte) error + func (m *MsgRevoke) XXX_DiscardUnknown() + func (m *MsgRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevoke) XXX_Merge(src proto.Message) + func (m *MsgRevoke) XXX_Size() int + func (m *MsgRevoke) XXX_Unmarshal(b []byte) error + func (msg MsgRevoke) GetSignBytes() []byte + func (msg MsgRevoke) GetSigners() []sdk.AccAddress + func (msg MsgRevoke) Route() string + func (msg MsgRevoke) Type() string + func (msg MsgRevoke) ValidateBasic() error + type MsgRevokeResponse struct + func (*MsgRevokeResponse) Descriptor() ([]byte, []int) + func (*MsgRevokeResponse) ProtoMessage() + func (m *MsgRevokeResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRevokeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevokeResponse) Reset() + func (m *MsgRevokeResponse) Size() (n int) + func (m *MsgRevokeResponse) String() string + func (m *MsgRevokeResponse) Unmarshal(dAtA []byte) error + func (m *MsgRevokeResponse) XXX_DiscardUnknown() + func (m *MsgRevokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevokeResponse) XXX_Merge(src proto.Message) + func (m *MsgRevokeResponse) XXX_Size() int + func (m *MsgRevokeResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + Exec func(context.Context, *MsgExec) (*MsgExecResponse, error) + Grant func(context.Context, *MsgGrant) (*MsgGrantResponse, error) + Revoke func(context.Context, *MsgRevoke) (*MsgRevokeResponse, error) + type QueryClient interface + GranteeGrants func(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error) + GranterGrants func(ctx context.Context, in *QueryGranterGrantsRequest, opts ...grpc.CallOption) (*QueryGranterGrantsResponse, error) + Grants func(ctx context.Context, in *QueryGrantsRequest, opts ...grpc.CallOption) (*QueryGrantsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryGranteeGrantsRequest struct + Grantee string + Pagination *query.PageRequest + func (*QueryGranteeGrantsRequest) Descriptor() ([]byte, []int) + func (*QueryGranteeGrantsRequest) ProtoMessage() + func (m *QueryGranteeGrantsRequest) GetGrantee() string + func (m *QueryGranteeGrantsRequest) GetPagination() *query.PageRequest + func (m *QueryGranteeGrantsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGranteeGrantsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGranteeGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGranteeGrantsRequest) Reset() + func (m *QueryGranteeGrantsRequest) Size() (n int) + func (m *QueryGranteeGrantsRequest) String() string + func (m *QueryGranteeGrantsRequest) Unmarshal(dAtA []byte) error + func (m *QueryGranteeGrantsRequest) XXX_DiscardUnknown() + func (m *QueryGranteeGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGranteeGrantsRequest) XXX_Merge(src proto.Message) + func (m *QueryGranteeGrantsRequest) XXX_Size() int + func (m *QueryGranteeGrantsRequest) XXX_Unmarshal(b []byte) error + type QueryGranteeGrantsResponse struct + Grants []*GrantAuthorization + Pagination *query.PageResponse + func (*QueryGranteeGrantsResponse) Descriptor() ([]byte, []int) + func (*QueryGranteeGrantsResponse) ProtoMessage() + func (m *QueryGranteeGrantsResponse) GetGrants() []*GrantAuthorization + func (m *QueryGranteeGrantsResponse) GetPagination() *query.PageResponse + func (m *QueryGranteeGrantsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGranteeGrantsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGranteeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGranteeGrantsResponse) Reset() + func (m *QueryGranteeGrantsResponse) Size() (n int) + func (m *QueryGranteeGrantsResponse) String() string + func (m *QueryGranteeGrantsResponse) Unmarshal(dAtA []byte) error + func (m *QueryGranteeGrantsResponse) XXX_DiscardUnknown() + func (m *QueryGranteeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGranteeGrantsResponse) XXX_Merge(src proto.Message) + func (m *QueryGranteeGrantsResponse) XXX_Size() int + func (m *QueryGranteeGrantsResponse) XXX_Unmarshal(b []byte) error + type QueryGranterGrantsRequest struct + Granter string + Pagination *query.PageRequest + func (*QueryGranterGrantsRequest) Descriptor() ([]byte, []int) + func (*QueryGranterGrantsRequest) ProtoMessage() + func (m *QueryGranterGrantsRequest) GetGranter() string + func (m *QueryGranterGrantsRequest) GetPagination() *query.PageRequest + func (m *QueryGranterGrantsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGranterGrantsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGranterGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGranterGrantsRequest) Reset() + func (m *QueryGranterGrantsRequest) Size() (n int) + func (m *QueryGranterGrantsRequest) String() string + func (m *QueryGranterGrantsRequest) Unmarshal(dAtA []byte) error + func (m *QueryGranterGrantsRequest) XXX_DiscardUnknown() + func (m *QueryGranterGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGranterGrantsRequest) XXX_Merge(src proto.Message) + func (m *QueryGranterGrantsRequest) XXX_Size() int + func (m *QueryGranterGrantsRequest) XXX_Unmarshal(b []byte) error + type QueryGranterGrantsResponse struct + Grants []*GrantAuthorization + Pagination *query.PageResponse + func (*QueryGranterGrantsResponse) Descriptor() ([]byte, []int) + func (*QueryGranterGrantsResponse) ProtoMessage() + func (m *QueryGranterGrantsResponse) GetGrants() []*GrantAuthorization + func (m *QueryGranterGrantsResponse) GetPagination() *query.PageResponse + func (m *QueryGranterGrantsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGranterGrantsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGranterGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGranterGrantsResponse) Reset() + func (m *QueryGranterGrantsResponse) Size() (n int) + func (m *QueryGranterGrantsResponse) String() string + func (m *QueryGranterGrantsResponse) Unmarshal(dAtA []byte) error + func (m *QueryGranterGrantsResponse) XXX_DiscardUnknown() + func (m *QueryGranterGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGranterGrantsResponse) XXX_Merge(src proto.Message) + func (m *QueryGranterGrantsResponse) XXX_Size() int + func (m *QueryGranterGrantsResponse) XXX_Unmarshal(b []byte) error + type QueryGrantsRequest struct + Grantee string + Granter string + MsgTypeUrl string + Pagination *query.PageRequest + func (*QueryGrantsRequest) Descriptor() ([]byte, []int) + func (*QueryGrantsRequest) ProtoMessage() + func (m *QueryGrantsRequest) GetGrantee() string + func (m *QueryGrantsRequest) GetGranter() string + func (m *QueryGrantsRequest) GetMsgTypeUrl() string + func (m *QueryGrantsRequest) GetPagination() *query.PageRequest + func (m *QueryGrantsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryGrantsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGrantsRequest) Reset() + func (m *QueryGrantsRequest) Size() (n int) + func (m *QueryGrantsRequest) String() string + func (m *QueryGrantsRequest) Unmarshal(dAtA []byte) error + func (m *QueryGrantsRequest) XXX_DiscardUnknown() + func (m *QueryGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGrantsRequest) XXX_Merge(src proto.Message) + func (m *QueryGrantsRequest) XXX_Size() int + func (m *QueryGrantsRequest) XXX_Unmarshal(b []byte) error + type QueryGrantsResponse struct + Grants []*Grant + Pagination *query.PageResponse + func (*QueryGrantsResponse) Descriptor() ([]byte, []int) + func (*QueryGrantsResponse) ProtoMessage() + func (m *QueryGrantsResponse) GetGrants() []*Grant + func (m *QueryGrantsResponse) GetPagination() *query.PageResponse + func (m *QueryGrantsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryGrantsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryGrantsResponse) Reset() + func (m *QueryGrantsResponse) Size() (n int) + func (m *QueryGrantsResponse) String() string + func (m *QueryGrantsResponse) Unmarshal(dAtA []byte) error + func (m *QueryGrantsResponse) XXX_DiscardUnknown() + func (m *QueryGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryGrantsResponse) XXX_Merge(src proto.Message) + func (m *QueryGrantsResponse) XXX_Size() int + func (m *QueryGrantsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + GranteeGrants func(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error) + GranterGrants func(context.Context, *QueryGranterGrantsRequest) (*QueryGranterGrantsResponse, error) + Grants func(context.Context, *QueryGrantsRequest) (*QueryGrantsResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, error) + func (*UnimplementedMsgServer) Grant(ctx context.Context, req *MsgGrant) (*MsgGrantResponse, error) + func (*UnimplementedMsgServer) Revoke(ctx context.Context, req *MsgRevoke) (*MsgRevokeResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) GranteeGrants(ctx context.Context, req *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error) + func (*UnimplementedQueryServer) GranterGrants(ctx context.Context, req *QueryGranterGrantsRequest) (*QueryGranterGrantsResponse, error) + func (*UnimplementedQueryServer) Grants(ctx context.Context, req *QueryGrantsRequest) (*QueryGrantsResponse, error)