Versions in this module Expand all Collapse all v0 v0.48.86 Oct 24, 2023 v0.48.84 Oct 24, 2023 Changes in this version + const AttributeKeyGrantee + const AttributeKeyGranter + const DefaultCodespace + const EventTypeRevokeFeeGrant + const EventTypeSetFeeGrant + const EventTypeUpdateFeeGrant + const EventTypeUseFeeGrant + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + var ErrFeeLimitExceeded = sdkerrors.Register(DefaultCodespace, 2, "fee limit exceeded") + var ErrFeeLimitExpired = sdkerrors.Register(DefaultCodespace, 3, "fee allowance expired") + var ErrIntOverflowFeegrant = 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 ErrInvalidDuration = sdkerrors.Register(DefaultCodespace, 4, "invalid duration") + var ErrInvalidLengthFeegrant = 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 ErrMessageNotAllowed = sdkerrors.Register(DefaultCodespace, 7, "message not allowed") + var ErrNoAllowance = sdkerrors.Register(DefaultCodespace, 5, "no allowance") + var ErrNoMessages = sdkerrors.Register(DefaultCodespace, 6, "allowed messages are empty") + var ErrUnexpectedEndOfGroupFeegrant = 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 FeeAllowanceKeyPrefix = []byte + var FeeAllowanceQueueKeyPrefix = []byte + var ModuleCdc = codec.NewAminoCodec(amino) + func AllowanceByExpTimeKey(exp *time.Time) []byte + func FeeAllowanceKey(granter sdk.AccAddress, grantee sdk.AccAddress) []byte + func FeeAllowancePrefixByGrantee(grantee sdk.AccAddress) []byte + func FeeAllowancePrefixQueue(exp *time.Time, key []byte) []byte + func ParseAddressesFromFeeAllowanceKey(key []byte) (granter, grantee sdk.AccAddress) + func ParseAddressesFromFeeAllowanceQueueKey(key []byte) (granter, grantee sdk.AccAddress) + 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 AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) sdk.AccountI + GetModuleAccount func(ctx sdk.Context, moduleName string) sdk.ModuleAccountI + GetModuleAddress func(moduleName string) sdk.AccAddress + NewAccountWithAddress func(ctx sdk.Context, addr sdk.AccAddress) sdk.AccountI + SetAccount func(ctx sdk.Context, acc sdk.AccountI) + type AllowedMsgAllowance struct + Allowance *types1.Any + AllowedMessages []string + func NewAllowedMsgAllowance(allowance FeeAllowanceI, allowedMsgs []string) (*AllowedMsgAllowance, error) + func (*AllowedMsgAllowance) Descriptor() ([]byte, []int) + func (*AllowedMsgAllowance) ProtoMessage() + func (a *AllowedMsgAllowance) Accept(ctx sdk.Context, fee sdk.Coins, msgs []sdk.Msg) (bool, error) + func (a *AllowedMsgAllowance) ExpiresAt() (*time.Time, error) + func (a *AllowedMsgAllowance) GetAllowance() (FeeAllowanceI, error) + func (a *AllowedMsgAllowance) SetAllowance(allowance FeeAllowanceI) error + func (a *AllowedMsgAllowance) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (a *AllowedMsgAllowance) ValidateBasic() error + func (m *AllowedMsgAllowance) Marshal() (dAtA []byte, err error) + func (m *AllowedMsgAllowance) MarshalTo(dAtA []byte) (int, error) + func (m *AllowedMsgAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AllowedMsgAllowance) Reset() + func (m *AllowedMsgAllowance) Size() (n int) + func (m *AllowedMsgAllowance) String() string + func (m *AllowedMsgAllowance) Unmarshal(dAtA []byte) error + func (m *AllowedMsgAllowance) XXX_DiscardUnknown() + func (m *AllowedMsgAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AllowedMsgAllowance) XXX_Merge(src proto.Message) + func (m *AllowedMsgAllowance) XXX_Size() int + func (m *AllowedMsgAllowance) XXX_Unmarshal(b []byte) error + type BankKeeper interface + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type BasicAllowance struct + Expiration *time.Time + SpendLimit github_com_cosmos_cosmos_sdk_types.Coins + func (*BasicAllowance) Descriptor() ([]byte, []int) + func (*BasicAllowance) ProtoMessage() + func (a *BasicAllowance) Accept(ctx sdk.Context, fee sdk.Coins, _ []sdk.Msg) (bool, error) + func (a BasicAllowance) ExpiresAt() (*time.Time, error) + func (a BasicAllowance) ValidateBasic() error + func (m *BasicAllowance) GetExpiration() *time.Time + func (m *BasicAllowance) GetSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins + func (m *BasicAllowance) Marshal() (dAtA []byte, err error) + func (m *BasicAllowance) MarshalTo(dAtA []byte) (int, error) + func (m *BasicAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BasicAllowance) Reset() + func (m *BasicAllowance) Size() (n int) + func (m *BasicAllowance) String() string + func (m *BasicAllowance) Unmarshal(dAtA []byte) error + func (m *BasicAllowance) XXX_DiscardUnknown() + func (m *BasicAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BasicAllowance) XXX_Merge(src proto.Message) + func (m *BasicAllowance) XXX_Size() int + func (m *BasicAllowance) XXX_Unmarshal(b []byte) error + type FeeAllowanceI interface + Accept func(ctx sdk.Context, fee sdk.Coins, msgs []sdk.Msg) (remove bool, err error) + ExpiresAt func() (*time.Time, error) + ValidateBasic func() error + type GenesisState struct + Allowances []Grant + func DefaultGenesisState() *GenesisState + func NewGenesisState(entries []Grant) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (data GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (m *GenesisState) GetAllowances() []Grant + 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 + Allowance *types1.Any + Grantee string + Granter string + func NewGrant(granter, grantee sdk.AccAddress, feeAllowance FeeAllowanceI) (Grant, error) + func (*Grant) Descriptor() ([]byte, []int) + func (*Grant) ProtoMessage() + func (a Grant) GetGrant() (FeeAllowanceI, error) + func (a Grant) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (a Grant) ValidateBasic() error + func (m *Grant) GetAllowance() *types1.Any + func (m *Grant) GetGrantee() string + func (m *Grant) GetGranter() string + 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 MsgClient interface + GrantAllowance func(ctx context.Context, in *MsgGrantAllowance, opts ...grpc.CallOption) (*MsgGrantAllowanceResponse, error) + RevokeAllowance func(ctx context.Context, in *MsgRevokeAllowance, opts ...grpc.CallOption) (*MsgRevokeAllowanceResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgGrantAllowance struct + Allowance *types.Any + Grantee string + Granter string + func NewMsgGrantAllowance(feeAllowance FeeAllowanceI, granter, grantee sdk.AccAddress) (*MsgGrantAllowance, error) + func (*MsgGrantAllowance) Descriptor() ([]byte, []int) + func (*MsgGrantAllowance) ProtoMessage() + func (m *MsgGrantAllowance) GetAllowance() *types.Any + func (m *MsgGrantAllowance) GetGrantee() string + func (m *MsgGrantAllowance) GetGranter() string + func (m *MsgGrantAllowance) Marshal() (dAtA []byte, err error) + func (m *MsgGrantAllowance) MarshalTo(dAtA []byte) (int, error) + func (m *MsgGrantAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgGrantAllowance) Reset() + func (m *MsgGrantAllowance) Size() (n int) + func (m *MsgGrantAllowance) String() string + func (m *MsgGrantAllowance) Unmarshal(dAtA []byte) error + func (m *MsgGrantAllowance) XXX_DiscardUnknown() + func (m *MsgGrantAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgGrantAllowance) XXX_Merge(src proto.Message) + func (m *MsgGrantAllowance) XXX_Size() int + func (m *MsgGrantAllowance) XXX_Unmarshal(b []byte) error + func (msg MsgGrantAllowance) GetFeeAllowanceI() (FeeAllowanceI, error) + func (msg MsgGrantAllowance) GetSignBytes() []byte + func (msg MsgGrantAllowance) GetSigners() []sdk.AccAddress + func (msg MsgGrantAllowance) Route() string + func (msg MsgGrantAllowance) Type() string + func (msg MsgGrantAllowance) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (msg MsgGrantAllowance) ValidateBasic() error + type MsgGrantAllowanceResponse struct + func (*MsgGrantAllowanceResponse) Descriptor() ([]byte, []int) + func (*MsgGrantAllowanceResponse) ProtoMessage() + func (m *MsgGrantAllowanceResponse) Marshal() (dAtA []byte, err error) + func (m *MsgGrantAllowanceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgGrantAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgGrantAllowanceResponse) Reset() + func (m *MsgGrantAllowanceResponse) Size() (n int) + func (m *MsgGrantAllowanceResponse) String() string + func (m *MsgGrantAllowanceResponse) Unmarshal(dAtA []byte) error + func (m *MsgGrantAllowanceResponse) XXX_DiscardUnknown() + func (m *MsgGrantAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgGrantAllowanceResponse) XXX_Merge(src proto.Message) + func (m *MsgGrantAllowanceResponse) XXX_Size() int + func (m *MsgGrantAllowanceResponse) XXX_Unmarshal(b []byte) error + type MsgRevokeAllowance struct + Grantee string + Granter string + func NewMsgRevokeAllowance(granter sdk.AccAddress, grantee sdk.AccAddress) MsgRevokeAllowance + func (*MsgRevokeAllowance) Descriptor() ([]byte, []int) + func (*MsgRevokeAllowance) ProtoMessage() + func (m *MsgRevokeAllowance) GetGrantee() string + func (m *MsgRevokeAllowance) GetGranter() string + func (m *MsgRevokeAllowance) Marshal() (dAtA []byte, err error) + func (m *MsgRevokeAllowance) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevokeAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevokeAllowance) Reset() + func (m *MsgRevokeAllowance) Size() (n int) + func (m *MsgRevokeAllowance) String() string + func (m *MsgRevokeAllowance) Unmarshal(dAtA []byte) error + func (m *MsgRevokeAllowance) XXX_DiscardUnknown() + func (m *MsgRevokeAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevokeAllowance) XXX_Merge(src proto.Message) + func (m *MsgRevokeAllowance) XXX_Size() int + func (m *MsgRevokeAllowance) XXX_Unmarshal(b []byte) error + func (msg MsgRevokeAllowance) GetSignBytes() []byte + func (msg MsgRevokeAllowance) GetSigners() []sdk.AccAddress + func (msg MsgRevokeAllowance) Route() string + func (msg MsgRevokeAllowance) Type() string + func (msg MsgRevokeAllowance) ValidateBasic() error + type MsgRevokeAllowanceResponse struct + func (*MsgRevokeAllowanceResponse) Descriptor() ([]byte, []int) + func (*MsgRevokeAllowanceResponse) ProtoMessage() + func (m *MsgRevokeAllowanceResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRevokeAllowanceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevokeAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevokeAllowanceResponse) Reset() + func (m *MsgRevokeAllowanceResponse) Size() (n int) + func (m *MsgRevokeAllowanceResponse) String() string + func (m *MsgRevokeAllowanceResponse) Unmarshal(dAtA []byte) error + func (m *MsgRevokeAllowanceResponse) XXX_DiscardUnknown() + func (m *MsgRevokeAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevokeAllowanceResponse) XXX_Merge(src proto.Message) + func (m *MsgRevokeAllowanceResponse) XXX_Size() int + func (m *MsgRevokeAllowanceResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + GrantAllowance func(context.Context, *MsgGrantAllowance) (*MsgGrantAllowanceResponse, error) + RevokeAllowance func(context.Context, *MsgRevokeAllowance) (*MsgRevokeAllowanceResponse, error) + type PeriodicAllowance struct + Basic BasicAllowance + Period time.Duration + PeriodCanSpend github_com_cosmos_cosmos_sdk_types.Coins + PeriodReset time.Time + PeriodSpendLimit github_com_cosmos_cosmos_sdk_types.Coins + func (*PeriodicAllowance) Descriptor() ([]byte, []int) + func (*PeriodicAllowance) ProtoMessage() + func (a *PeriodicAllowance) Accept(ctx sdk.Context, fee sdk.Coins, _ []sdk.Msg) (bool, error) + func (a PeriodicAllowance) ExpiresAt() (*time.Time, error) + func (a PeriodicAllowance) ValidateBasic() error + func (m *PeriodicAllowance) GetBasic() BasicAllowance + func (m *PeriodicAllowance) GetPeriod() time.Duration + func (m *PeriodicAllowance) GetPeriodCanSpend() github_com_cosmos_cosmos_sdk_types.Coins + func (m *PeriodicAllowance) GetPeriodReset() time.Time + func (m *PeriodicAllowance) GetPeriodSpendLimit() github_com_cosmos_cosmos_sdk_types.Coins + func (m *PeriodicAllowance) Marshal() (dAtA []byte, err error) + func (m *PeriodicAllowance) MarshalTo(dAtA []byte) (int, error) + func (m *PeriodicAllowance) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeriodicAllowance) Reset() + func (m *PeriodicAllowance) Size() (n int) + func (m *PeriodicAllowance) String() string + func (m *PeriodicAllowance) Unmarshal(dAtA []byte) error + func (m *PeriodicAllowance) XXX_DiscardUnknown() + func (m *PeriodicAllowance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeriodicAllowance) XXX_Merge(src proto.Message) + func (m *PeriodicAllowance) XXX_Size() int + func (m *PeriodicAllowance) XXX_Unmarshal(b []byte) error + type QueryAllowanceRequest struct + Grantee string + Granter string + func (*QueryAllowanceRequest) Descriptor() ([]byte, []int) + func (*QueryAllowanceRequest) ProtoMessage() + func (m *QueryAllowanceRequest) GetGrantee() string + func (m *QueryAllowanceRequest) GetGranter() string + func (m *QueryAllowanceRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllowanceRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowanceRequest) Reset() + func (m *QueryAllowanceRequest) Size() (n int) + func (m *QueryAllowanceRequest) String() string + func (m *QueryAllowanceRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllowanceRequest) XXX_DiscardUnknown() + func (m *QueryAllowanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowanceRequest) XXX_Merge(src proto.Message) + func (m *QueryAllowanceRequest) XXX_Size() int + func (m *QueryAllowanceRequest) XXX_Unmarshal(b []byte) error + type QueryAllowanceResponse struct + Allowance *Grant + func (*QueryAllowanceResponse) Descriptor() ([]byte, []int) + func (*QueryAllowanceResponse) ProtoMessage() + func (m *QueryAllowanceResponse) GetAllowance() *Grant + func (m *QueryAllowanceResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllowanceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowanceResponse) Reset() + func (m *QueryAllowanceResponse) Size() (n int) + func (m *QueryAllowanceResponse) String() string + func (m *QueryAllowanceResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllowanceResponse) XXX_DiscardUnknown() + func (m *QueryAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowanceResponse) XXX_Merge(src proto.Message) + func (m *QueryAllowanceResponse) XXX_Size() int + func (m *QueryAllowanceResponse) XXX_Unmarshal(b []byte) error + type QueryAllowancesByGranterRequest struct + Granter string + Pagination *query.PageRequest + func (*QueryAllowancesByGranterRequest) Descriptor() ([]byte, []int) + func (*QueryAllowancesByGranterRequest) ProtoMessage() + func (m *QueryAllowancesByGranterRequest) GetGranter() string + func (m *QueryAllowancesByGranterRequest) GetPagination() *query.PageRequest + func (m *QueryAllowancesByGranterRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllowancesByGranterRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowancesByGranterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowancesByGranterRequest) Reset() + func (m *QueryAllowancesByGranterRequest) Size() (n int) + func (m *QueryAllowancesByGranterRequest) String() string + func (m *QueryAllowancesByGranterRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllowancesByGranterRequest) XXX_DiscardUnknown() + func (m *QueryAllowancesByGranterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowancesByGranterRequest) XXX_Merge(src proto.Message) + func (m *QueryAllowancesByGranterRequest) XXX_Size() int + func (m *QueryAllowancesByGranterRequest) XXX_Unmarshal(b []byte) error + type QueryAllowancesByGranterResponse struct + Allowances []*Grant + Pagination *query.PageResponse + func (*QueryAllowancesByGranterResponse) Descriptor() ([]byte, []int) + func (*QueryAllowancesByGranterResponse) ProtoMessage() + func (m *QueryAllowancesByGranterResponse) GetAllowances() []*Grant + func (m *QueryAllowancesByGranterResponse) GetPagination() *query.PageResponse + func (m *QueryAllowancesByGranterResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllowancesByGranterResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowancesByGranterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowancesByGranterResponse) Reset() + func (m *QueryAllowancesByGranterResponse) Size() (n int) + func (m *QueryAllowancesByGranterResponse) String() string + func (m *QueryAllowancesByGranterResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllowancesByGranterResponse) XXX_DiscardUnknown() + func (m *QueryAllowancesByGranterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowancesByGranterResponse) XXX_Merge(src proto.Message) + func (m *QueryAllowancesByGranterResponse) XXX_Size() int + func (m *QueryAllowancesByGranterResponse) XXX_Unmarshal(b []byte) error + type QueryAllowancesRequest struct + Grantee string + Pagination *query.PageRequest + func (*QueryAllowancesRequest) Descriptor() ([]byte, []int) + func (*QueryAllowancesRequest) ProtoMessage() + func (m *QueryAllowancesRequest) GetGrantee() string + func (m *QueryAllowancesRequest) GetPagination() *query.PageRequest + func (m *QueryAllowancesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllowancesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowancesRequest) Reset() + func (m *QueryAllowancesRequest) Size() (n int) + func (m *QueryAllowancesRequest) String() string + func (m *QueryAllowancesRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllowancesRequest) XXX_DiscardUnknown() + func (m *QueryAllowancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowancesRequest) XXX_Merge(src proto.Message) + func (m *QueryAllowancesRequest) XXX_Size() int + func (m *QueryAllowancesRequest) XXX_Unmarshal(b []byte) error + type QueryAllowancesResponse struct + Allowances []*Grant + Pagination *query.PageResponse + func (*QueryAllowancesResponse) Descriptor() ([]byte, []int) + func (*QueryAllowancesResponse) ProtoMessage() + func (m *QueryAllowancesResponse) GetAllowances() []*Grant + func (m *QueryAllowancesResponse) GetPagination() *query.PageResponse + func (m *QueryAllowancesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllowancesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllowancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllowancesResponse) Reset() + func (m *QueryAllowancesResponse) Size() (n int) + func (m *QueryAllowancesResponse) String() string + func (m *QueryAllowancesResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllowancesResponse) XXX_DiscardUnknown() + func (m *QueryAllowancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllowancesResponse) XXX_Merge(src proto.Message) + func (m *QueryAllowancesResponse) XXX_Size() int + func (m *QueryAllowancesResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + Allowance func(ctx context.Context, in *QueryAllowanceRequest, opts ...grpc.CallOption) (*QueryAllowanceResponse, error) + Allowances func(ctx context.Context, in *QueryAllowancesRequest, opts ...grpc.CallOption) (*QueryAllowancesResponse, error) + AllowancesByGranter func(ctx context.Context, in *QueryAllowancesByGranterRequest, ...) (*QueryAllowancesByGranterResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + Allowance func(context.Context, *QueryAllowanceRequest) (*QueryAllowanceResponse, error) + Allowances func(context.Context, *QueryAllowancesRequest) (*QueryAllowancesResponse, error) + AllowancesByGranter func(context.Context, *QueryAllowancesByGranterRequest) (*QueryAllowancesByGranterResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) GrantAllowance(ctx context.Context, req *MsgGrantAllowance) (*MsgGrantAllowanceResponse, error) + func (*UnimplementedMsgServer) RevokeAllowance(ctx context.Context, req *MsgRevokeAllowance) (*MsgRevokeAllowanceResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Allowance(ctx context.Context, req *QueryAllowanceRequest) (*QueryAllowanceResponse, error) + func (*UnimplementedQueryServer) Allowances(ctx context.Context, req *QueryAllowancesRequest) (*QueryAllowancesResponse, error) + func (*UnimplementedQueryServer) AllowancesByGranter(ctx context.Context, req *QueryAllowancesByGranterRequest) (*QueryAllowancesByGranterResponse, error)