Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- 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)
- type FeePayContract
- func (*FeePayContract) Descriptor() ([]byte, []int)
- func (m *FeePayContract) GetBalance() uint64
- func (m *FeePayContract) GetContractAddress() string
- func (m *FeePayContract) GetWalletLimit() uint64
- func (m *FeePayContract) Marshal() (dAtA []byte, err error)
- func (m *FeePayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *FeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeePayContract) ProtoMessage()
- func (m *FeePayContract) Reset()
- func (m *FeePayContract) Size() (n int)
- func (m *FeePayContract) String() string
- func (m *FeePayContract) Unmarshal(dAtA []byte) error
- func (m *FeePayContract) XXX_DiscardUnknown()
- func (m *FeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeePayContract) XXX_Merge(src proto.Message)
- func (m *FeePayContract) XXX_Size() int
- func (m *FeePayContract) XXX_Unmarshal(b []byte) error
- type FeePayWalletUsage
- func (*FeePayWalletUsage) Descriptor() ([]byte, []int)
- func (m *FeePayWalletUsage) GetContractAddress() string
- func (m *FeePayWalletUsage) GetUses() uint64
- func (m *FeePayWalletUsage) GetWalletAddress() string
- func (m *FeePayWalletUsage) Marshal() (dAtA []byte, err error)
- func (m *FeePayWalletUsage) MarshalTo(dAtA []byte) (int, error)
- func (m *FeePayWalletUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeePayWalletUsage) ProtoMessage()
- func (m *FeePayWalletUsage) Reset()
- func (m *FeePayWalletUsage) Size() (n int)
- func (m *FeePayWalletUsage) String() string
- func (m *FeePayWalletUsage) Unmarshal(dAtA []byte) error
- func (m *FeePayWalletUsage) XXX_DiscardUnknown()
- func (m *FeePayWalletUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeePayWalletUsage) XXX_Merge(src proto.Message)
- func (m *FeePayWalletUsage) XXX_Size() int
- func (m *FeePayWalletUsage) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFeePayContracts() []FeePayContract
- func (m *GenesisState) GetParams() Params
- 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 (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() 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 MsgClient
- type MsgFundFeePayContract
- func (*MsgFundFeePayContract) Descriptor() ([]byte, []int)
- func (m *MsgFundFeePayContract) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgFundFeePayContract) GetContractAddress() string
- func (m *MsgFundFeePayContract) GetSenderAddress() string
- func (msg *MsgFundFeePayContract) GetSignBytes() []byte
- func (msg MsgFundFeePayContract) GetSigners() []sdk.AccAddress
- func (m *MsgFundFeePayContract) Marshal() (dAtA []byte, err error)
- func (m *MsgFundFeePayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundFeePayContract) ProtoMessage()
- func (m *MsgFundFeePayContract) Reset()
- func (msg MsgFundFeePayContract) Route() string
- func (m *MsgFundFeePayContract) Size() (n int)
- func (m *MsgFundFeePayContract) String() string
- func (msg MsgFundFeePayContract) Type() string
- func (m *MsgFundFeePayContract) Unmarshal(dAtA []byte) error
- func (msg MsgFundFeePayContract) ValidateBasic() error
- func (m *MsgFundFeePayContract) XXX_DiscardUnknown()
- func (m *MsgFundFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundFeePayContract) XXX_Merge(src proto.Message)
- func (m *MsgFundFeePayContract) XXX_Size() int
- func (m *MsgFundFeePayContract) XXX_Unmarshal(b []byte) error
- type MsgFundFeePayContractResponse
- func (*MsgFundFeePayContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgFundFeePayContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFundFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundFeePayContractResponse) ProtoMessage()
- func (m *MsgFundFeePayContractResponse) Reset()
- func (m *MsgFundFeePayContractResponse) Size() (n int)
- func (m *MsgFundFeePayContractResponse) String() string
- func (m *MsgFundFeePayContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFundFeePayContractResponse) XXX_DiscardUnknown()
- func (m *MsgFundFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundFeePayContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgFundFeePayContractResponse) XXX_Size() int
- func (m *MsgFundFeePayContractResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterFeePayContract
- func (*MsgRegisterFeePayContract) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeePayContract) GetFeePayContract() *FeePayContract
- func (m *MsgRegisterFeePayContract) GetSenderAddress() string
- func (msg *MsgRegisterFeePayContract) GetSignBytes() []byte
- func (msg MsgRegisterFeePayContract) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterFeePayContract) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeePayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeePayContract) ProtoMessage()
- func (m *MsgRegisterFeePayContract) Reset()
- func (msg MsgRegisterFeePayContract) Route() string
- func (m *MsgRegisterFeePayContract) Size() (n int)
- func (m *MsgRegisterFeePayContract) String() string
- func (msg MsgRegisterFeePayContract) Type() string
- func (m *MsgRegisterFeePayContract) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterFeePayContract) ValidateBasic() error
- func (m *MsgRegisterFeePayContract) XXX_DiscardUnknown()
- func (m *MsgRegisterFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeePayContract) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeePayContract) XXX_Size() int
- func (m *MsgRegisterFeePayContract) XXX_Unmarshal(b []byte) error
- type MsgRegisterFeePayContractResponse
- func (*MsgRegisterFeePayContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeePayContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeePayContractResponse) ProtoMessage()
- func (m *MsgRegisterFeePayContractResponse) Reset()
- func (m *MsgRegisterFeePayContractResponse) Size() (n int)
- func (m *MsgRegisterFeePayContractResponse) String() string
- func (m *MsgRegisterFeePayContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterFeePayContractResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeePayContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeePayContractResponse) XXX_Size() int
- func (m *MsgRegisterFeePayContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnregisterFeePayContract
- func (*MsgUnregisterFeePayContract) Descriptor() ([]byte, []int)
- func (m *MsgUnregisterFeePayContract) GetContractAddress() string
- func (m *MsgUnregisterFeePayContract) GetSenderAddress() string
- func (msg *MsgUnregisterFeePayContract) GetSignBytes() []byte
- func (msg MsgUnregisterFeePayContract) GetSigners() []sdk.AccAddress
- func (m *MsgUnregisterFeePayContract) Marshal() (dAtA []byte, err error)
- func (m *MsgUnregisterFeePayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnregisterFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnregisterFeePayContract) ProtoMessage()
- func (m *MsgUnregisterFeePayContract) Reset()
- func (msg MsgUnregisterFeePayContract) Route() string
- func (m *MsgUnregisterFeePayContract) Size() (n int)
- func (m *MsgUnregisterFeePayContract) String() string
- func (msg MsgUnregisterFeePayContract) Type() string
- func (m *MsgUnregisterFeePayContract) Unmarshal(dAtA []byte) error
- func (msg MsgUnregisterFeePayContract) ValidateBasic() error
- func (m *MsgUnregisterFeePayContract) XXX_DiscardUnknown()
- func (m *MsgUnregisterFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnregisterFeePayContract) XXX_Merge(src proto.Message)
- func (m *MsgUnregisterFeePayContract) XXX_Size() int
- func (m *MsgUnregisterFeePayContract) XXX_Unmarshal(b []byte) error
- type MsgUnregisterFeePayContractResponse
- func (*MsgUnregisterFeePayContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnregisterFeePayContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnregisterFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnregisterFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnregisterFeePayContractResponse) ProtoMessage()
- func (m *MsgUnregisterFeePayContractResponse) Reset()
- func (m *MsgUnregisterFeePayContractResponse) Size() (n int)
- func (m *MsgUnregisterFeePayContractResponse) String() string
- func (m *MsgUnregisterFeePayContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnregisterFeePayContractResponse) XXX_DiscardUnknown()
- func (m *MsgUnregisterFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnregisterFeePayContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnregisterFeePayContractResponse) XXX_Size() int
- func (m *MsgUnregisterFeePayContractResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateFeePayContractWalletLimit
- func (*MsgUpdateFeePayContractWalletLimit) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeePayContractWalletLimit) GetContractAddress() string
- func (m *MsgUpdateFeePayContractWalletLimit) GetSenderAddress() string
- func (msg *MsgUpdateFeePayContractWalletLimit) GetSignBytes() []byte
- func (msg MsgUpdateFeePayContractWalletLimit) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateFeePayContractWalletLimit) GetWalletLimit() uint64
- func (m *MsgUpdateFeePayContractWalletLimit) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeePayContractWalletLimit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeePayContractWalletLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeePayContractWalletLimit) ProtoMessage()
- func (m *MsgUpdateFeePayContractWalletLimit) Reset()
- func (msg MsgUpdateFeePayContractWalletLimit) Route() string
- func (m *MsgUpdateFeePayContractWalletLimit) Size() (n int)
- func (m *MsgUpdateFeePayContractWalletLimit) String() string
- func (msg MsgUpdateFeePayContractWalletLimit) Type() string
- func (m *MsgUpdateFeePayContractWalletLimit) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateFeePayContractWalletLimit) ValidateBasic() error
- func (m *MsgUpdateFeePayContractWalletLimit) XXX_DiscardUnknown()
- func (m *MsgUpdateFeePayContractWalletLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeePayContractWalletLimit) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeePayContractWalletLimit) XXX_Size() int
- func (m *MsgUpdateFeePayContractWalletLimit) XXX_Unmarshal(b []byte) error
- type MsgUpdateFeePayContractWalletLimitResponse
- func (*MsgUpdateFeePayContractWalletLimitResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeePayContractWalletLimitResponse) ProtoMessage()
- func (m *MsgUpdateFeePayContractWalletLimitResponse) Reset()
- func (m *MsgUpdateFeePayContractWalletLimitResponse) Size() (n int)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) String() string
- func (m *MsgUpdateFeePayContractWalletLimitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Size() int
- func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetEnableFeepay() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryFeePayContract
- func (*QueryFeePayContract) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContract) GetContractAddress() string
- func (m *QueryFeePayContract) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContract) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContract) ProtoMessage()
- func (m *QueryFeePayContract) Reset()
- func (m *QueryFeePayContract) Size() (n int)
- func (m *QueryFeePayContract) String() string
- func (m *QueryFeePayContract) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContract) XXX_DiscardUnknown()
- func (m *QueryFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContract) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContract) XXX_Size() int
- func (m *QueryFeePayContract) XXX_Unmarshal(b []byte) error
- type QueryFeePayContractResponse
- func (*QueryFeePayContractResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContractResponse) GetFeePayContract() *FeePayContract
- func (m *QueryFeePayContractResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContractResponse) ProtoMessage()
- func (m *QueryFeePayContractResponse) Reset()
- func (m *QueryFeePayContractResponse) Size() (n int)
- func (m *QueryFeePayContractResponse) String() string
- func (m *QueryFeePayContractResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContractResponse) XXX_DiscardUnknown()
- func (m *QueryFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContractResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContractResponse) XXX_Size() int
- func (m *QueryFeePayContractResponse) XXX_Unmarshal(b []byte) error
- type QueryFeePayContractUses
- func (*QueryFeePayContractUses) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContractUses) GetContractAddress() string
- func (m *QueryFeePayContractUses) GetWalletAddress() string
- func (m *QueryFeePayContractUses) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContractUses) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContractUses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContractUses) ProtoMessage()
- func (m *QueryFeePayContractUses) Reset()
- func (m *QueryFeePayContractUses) Size() (n int)
- func (m *QueryFeePayContractUses) String() string
- func (m *QueryFeePayContractUses) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContractUses) XXX_DiscardUnknown()
- func (m *QueryFeePayContractUses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContractUses) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContractUses) XXX_Size() int
- func (m *QueryFeePayContractUses) XXX_Unmarshal(b []byte) error
- type QueryFeePayContractUsesResponse
- func (*QueryFeePayContractUsesResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContractUsesResponse) GetUses() uint64
- func (m *QueryFeePayContractUsesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContractUsesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContractUsesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContractUsesResponse) ProtoMessage()
- func (m *QueryFeePayContractUsesResponse) Reset()
- func (m *QueryFeePayContractUsesResponse) Size() (n int)
- func (m *QueryFeePayContractUsesResponse) String() string
- func (m *QueryFeePayContractUsesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContractUsesResponse) XXX_DiscardUnknown()
- func (m *QueryFeePayContractUsesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContractUsesResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContractUsesResponse) XXX_Size() int
- func (m *QueryFeePayContractUsesResponse) XXX_Unmarshal(b []byte) error
- type QueryFeePayContracts
- func (*QueryFeePayContracts) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContracts) GetPagination() *query.PageRequest
- func (m *QueryFeePayContracts) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContracts) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContracts) ProtoMessage()
- func (m *QueryFeePayContracts) Reset()
- func (m *QueryFeePayContracts) Size() (n int)
- func (m *QueryFeePayContracts) String() string
- func (m *QueryFeePayContracts) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContracts) XXX_DiscardUnknown()
- func (m *QueryFeePayContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContracts) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContracts) XXX_Size() int
- func (m *QueryFeePayContracts) XXX_Unmarshal(b []byte) error
- type QueryFeePayContractsResponse
- func (*QueryFeePayContractsResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeePayContractsResponse) GetFeePayContracts() []FeePayContract
- func (m *QueryFeePayContractsResponse) GetPagination() *query.PageResponse
- func (m *QueryFeePayContractsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayContractsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayContractsResponse) ProtoMessage()
- func (m *QueryFeePayContractsResponse) Reset()
- func (m *QueryFeePayContractsResponse) Size() (n int)
- func (m *QueryFeePayContractsResponse) String() string
- func (m *QueryFeePayContractsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayContractsResponse) XXX_DiscardUnknown()
- func (m *QueryFeePayContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayContractsResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeePayContractsResponse) XXX_Size() int
- func (m *QueryFeePayContractsResponse) XXX_Unmarshal(b []byte) error
- type QueryFeePayWalletIsEligible
- func (*QueryFeePayWalletIsEligible) Descriptor() ([]byte, []int)
- func (m *QueryFeePayWalletIsEligible) GetContractAddress() string
- func (m *QueryFeePayWalletIsEligible) GetWalletAddress() string
- func (m *QueryFeePayWalletIsEligible) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayWalletIsEligible) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayWalletIsEligible) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayWalletIsEligible) ProtoMessage()
- func (m *QueryFeePayWalletIsEligible) Reset()
- func (m *QueryFeePayWalletIsEligible) Size() (n int)
- func (m *QueryFeePayWalletIsEligible) String() string
- func (m *QueryFeePayWalletIsEligible) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayWalletIsEligible) XXX_DiscardUnknown()
- func (m *QueryFeePayWalletIsEligible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayWalletIsEligible) XXX_Merge(src proto.Message)
- func (m *QueryFeePayWalletIsEligible) XXX_Size() int
- func (m *QueryFeePayWalletIsEligible) XXX_Unmarshal(b []byte) error
- type QueryFeePayWalletIsEligibleResponse
- func (*QueryFeePayWalletIsEligibleResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeePayWalletIsEligibleResponse) GetEligible() bool
- func (m *QueryFeePayWalletIsEligibleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeePayWalletIsEligibleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeePayWalletIsEligibleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeePayWalletIsEligibleResponse) ProtoMessage()
- func (m *QueryFeePayWalletIsEligibleResponse) Reset()
- func (m *QueryFeePayWalletIsEligibleResponse) Size() (n int)
- func (m *QueryFeePayWalletIsEligibleResponse) String() string
- func (m *QueryFeePayWalletIsEligibleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeePayWalletIsEligibleResponse) XXX_DiscardUnknown()
- func (m *QueryFeePayWalletIsEligibleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeePayWalletIsEligibleResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeePayWalletIsEligibleResponse) XXX_Size() int
- func (m *QueryFeePayWalletIsEligibleResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) FundFeePayContract(ctx context.Context, req *MsgFundFeePayContract) (*MsgFundFeePayContractResponse, error)
- func (*UnimplementedMsgServer) RegisterFeePayContract(ctx context.Context, req *MsgRegisterFeePayContract) (*MsgRegisterFeePayContractResponse, error)
- func (*UnimplementedMsgServer) UnregisterFeePayContract(ctx context.Context, req *MsgUnregisterFeePayContract) (*MsgUnregisterFeePayContractResponse, error)
- func (*UnimplementedMsgServer) UpdateFeePayContractWalletLimit(ctx context.Context, req *MsgUpdateFeePayContractWalletLimit) (*MsgUpdateFeePayContractWalletLimitResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) FeePayContract(ctx context.Context, req *QueryFeePayContract) (*QueryFeePayContractResponse, error)
- func (*UnimplementedQueryServer) FeePayContractUses(ctx context.Context, req *QueryFeePayContractUses) (*QueryFeePayContractUsesResponse, error)
- func (*UnimplementedQueryServer) FeePayContracts(ctx context.Context, req *QueryFeePayContracts) (*QueryFeePayContractsResponse, error)
- func (*UnimplementedQueryServer) FeePayWalletIsEligible(ctx context.Context, req *QueryFeePayWalletIsEligible) (*QueryFeePayWalletIsEligibleResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // module name ModuleName = "feepay" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
const ( TypeMsgRegisterFeePayContract = "register_feepay_contract" TypeMsgUnregisterFeePayContract = "unregister_feepay_contract" TypeMsgFundFeePayContract = "fund_feepay_contract" TypeMsgUpdateFeePayContractWalletLimit = "update_feepay_contract_wallet_limit" TypeMsgUpdateParams = "msg_update_params" )
Variables ¶
var ( // ModuleCdc references the global erc20 module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to modules/erc20 and // defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino JSON compatible msgs. AminoCdc = codec.NewAminoCodec(amino) )
var ( ErrInvalidAddress = sdkerrors.ErrInvalidAddress ErrContractNotRegistered = errorsmod.Register(ModuleName, 1, "contract not registered") ErrContractAlreadyRegistered = errorsmod.Register(ModuleName, 2, "contract already registered") ErrContractRegisterNotAdmin = errorsmod.Register(ModuleName, 3, "this address is not the contract admin, cannot register") ErrContractNotEnoughFunds = errorsmod.Register(ModuleName, 4, "contract does not have enough funds") ErrWalletExceededUsageLimit = errorsmod.Register(ModuleName, 5, "wallet exceeded usage limit") ErrContractNotAdmin = errorsmod.Register(ModuleName, 6, "sender is not the contract admin") ErrContractNotCreator = errorsmod.Register(ModuleName, 7, "sender is not the contract creator") ErrInvalidWalletLimit = errorsmod.Register(ModuleName, 8, "invalid wallet limit; must be between 0 and 1,000,000") ErrInvalidFuryaFundAmount = errorsmod.Register(ModuleName, 9, "fee pay contracts only accept furya funds") ErrInvalidCWContract = errorsmod.Register(ModuleName, 10, "invalid CosmWasm contract") ErrFeePayDisabled = errorsmod.Register(ModuleName, 11, "the FeePay module is disabled") )
var ( ErrInvalidLengthFeepay = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFeepay = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFeepay = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ParamsKey = []byte{prefixParamsKey}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register implementations
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/FeeShare interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization and EIP-712 compatibility.
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type FeePayContract ¶
type FeePayContract struct { // The address of the contract. ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The ledger balance of the contract. Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` // The number of times a wallet may interact with the contract. WalletLimit uint64 `protobuf:"varint,3,opt,name=wallet_limit,json=walletLimit,proto3" json:"wallet_limit,omitempty"` }
This defines the address, balance, and wallet limit of a fee pay contract.
func (*FeePayContract) Descriptor ¶
func (*FeePayContract) Descriptor() ([]byte, []int)
func (*FeePayContract) GetBalance ¶
func (m *FeePayContract) GetBalance() uint64
func (*FeePayContract) GetContractAddress ¶
func (m *FeePayContract) GetContractAddress() string
func (*FeePayContract) GetWalletLimit ¶
func (m *FeePayContract) GetWalletLimit() uint64
func (*FeePayContract) Marshal ¶
func (m *FeePayContract) Marshal() (dAtA []byte, err error)
func (*FeePayContract) MarshalToSizedBuffer ¶
func (m *FeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeePayContract) ProtoMessage ¶
func (*FeePayContract) ProtoMessage()
func (*FeePayContract) Reset ¶
func (m *FeePayContract) Reset()
func (*FeePayContract) Size ¶
func (m *FeePayContract) Size() (n int)
func (*FeePayContract) String ¶
func (m *FeePayContract) String() string
func (*FeePayContract) Unmarshal ¶
func (m *FeePayContract) Unmarshal(dAtA []byte) error
func (*FeePayContract) XXX_DiscardUnknown ¶
func (m *FeePayContract) XXX_DiscardUnknown()
func (*FeePayContract) XXX_Marshal ¶
func (m *FeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeePayContract) XXX_Merge ¶
func (m *FeePayContract) XXX_Merge(src proto.Message)
func (*FeePayContract) XXX_Size ¶
func (m *FeePayContract) XXX_Size() int
func (*FeePayContract) XXX_Unmarshal ¶
func (m *FeePayContract) XXX_Unmarshal(b []byte) error
type FeePayWalletUsage ¶
type FeePayWalletUsage struct { // The contract address. ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The wallet address. WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // The number of uses corresponding to a wallet. Uses uint64 `protobuf:"varint,3,opt,name=uses,proto3" json:"uses,omitempty"` }
This object is used to store the number of times a wallet has interacted with a contract.
func (*FeePayWalletUsage) Descriptor ¶
func (*FeePayWalletUsage) Descriptor() ([]byte, []int)
func (*FeePayWalletUsage) GetContractAddress ¶
func (m *FeePayWalletUsage) GetContractAddress() string
func (*FeePayWalletUsage) GetUses ¶
func (m *FeePayWalletUsage) GetUses() uint64
func (*FeePayWalletUsage) GetWalletAddress ¶
func (m *FeePayWalletUsage) GetWalletAddress() string
func (*FeePayWalletUsage) Marshal ¶
func (m *FeePayWalletUsage) Marshal() (dAtA []byte, err error)
func (*FeePayWalletUsage) MarshalTo ¶
func (m *FeePayWalletUsage) MarshalTo(dAtA []byte) (int, error)
func (*FeePayWalletUsage) MarshalToSizedBuffer ¶
func (m *FeePayWalletUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeePayWalletUsage) ProtoMessage ¶
func (*FeePayWalletUsage) ProtoMessage()
func (*FeePayWalletUsage) Reset ¶
func (m *FeePayWalletUsage) Reset()
func (*FeePayWalletUsage) Size ¶
func (m *FeePayWalletUsage) Size() (n int)
func (*FeePayWalletUsage) String ¶
func (m *FeePayWalletUsage) String() string
func (*FeePayWalletUsage) Unmarshal ¶
func (m *FeePayWalletUsage) Unmarshal(dAtA []byte) error
func (*FeePayWalletUsage) XXX_DiscardUnknown ¶
func (m *FeePayWalletUsage) XXX_DiscardUnknown()
func (*FeePayWalletUsage) XXX_Marshal ¶
func (m *FeePayWalletUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeePayWalletUsage) XXX_Merge ¶
func (m *FeePayWalletUsage) XXX_Merge(src proto.Message)
func (*FeePayWalletUsage) XXX_Size ¶
func (m *FeePayWalletUsage) XXX_Size() int
func (*FeePayWalletUsage) XXX_Unmarshal ¶
func (m *FeePayWalletUsage) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params are the feepay module parameters Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // fee_pay_contracts are the feepay module contracts FeePayContracts []FeePayContract `protobuf:"bytes,2,rep,name=fee_pay_contracts,json=feePayContracts,proto3" json:"fee_pay_contracts"` }
GenesisState defines the module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶
func NewGenesisState(params Params, feePayContracts []FeePayContract) GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFeePayContracts ¶
func (m *GenesisState) GetFeePayContracts() []FeePayContract
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // RegisterFeeShare registers a new contract for receiving transaction fees RegisterFeePayContract(ctx context.Context, in *MsgRegisterFeePayContract, opts ...grpc.CallOption) (*MsgRegisterFeePayContractResponse, error) // UnregisterFeeShare unregisters a contract for receiving transaction fees UnregisterFeePayContract(ctx context.Context, in *MsgUnregisterFeePayContract, opts ...grpc.CallOption) (*MsgUnregisterFeePayContractResponse, error) // Fund a fee pay contract FundFeePayContract(ctx context.Context, in *MsgFundFeePayContract, opts ...grpc.CallOption) (*MsgFundFeePayContractResponse, error) // Update a fee pay contract wallet limit UpdateFeePayContractWalletLimit(ctx context.Context, in *MsgUpdateFeePayContractWalletLimit, opts ...grpc.CallOption) (*MsgUpdateFeePayContractWalletLimitResponse, error) // Update the params of the module through gov v1 type. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgFundFeePayContract ¶
type MsgFundFeePayContract struct { // The wallet address of the sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // The fee pay contract to fund. ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The coins to fund the contract with. Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
The message to fund a fee pay contract
func (*MsgFundFeePayContract) Descriptor ¶
func (*MsgFundFeePayContract) Descriptor() ([]byte, []int)
func (*MsgFundFeePayContract) GetAmount ¶
func (m *MsgFundFeePayContract) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgFundFeePayContract) GetContractAddress ¶
func (m *MsgFundFeePayContract) GetContractAddress() string
func (*MsgFundFeePayContract) GetSenderAddress ¶
func (m *MsgFundFeePayContract) GetSenderAddress() string
func (*MsgFundFeePayContract) GetSignBytes ¶
func (msg *MsgFundFeePayContract) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgFundFeePayContract) GetSigners ¶
func (msg MsgFundFeePayContract) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgFundFeePayContract) Marshal ¶
func (m *MsgFundFeePayContract) Marshal() (dAtA []byte, err error)
func (*MsgFundFeePayContract) MarshalTo ¶
func (m *MsgFundFeePayContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundFeePayContract) MarshalToSizedBuffer ¶
func (m *MsgFundFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundFeePayContract) ProtoMessage ¶
func (*MsgFundFeePayContract) ProtoMessage()
func (*MsgFundFeePayContract) Reset ¶
func (m *MsgFundFeePayContract) Reset()
func (MsgFundFeePayContract) Route ¶
func (msg MsgFundFeePayContract) Route() string
Route returns the name of the module
func (*MsgFundFeePayContract) Size ¶
func (m *MsgFundFeePayContract) Size() (n int)
func (*MsgFundFeePayContract) String ¶
func (m *MsgFundFeePayContract) String() string
func (MsgFundFeePayContract) Type ¶
func (msg MsgFundFeePayContract) Type() string
Type returns the the action
func (*MsgFundFeePayContract) Unmarshal ¶
func (m *MsgFundFeePayContract) Unmarshal(dAtA []byte) error
func (MsgFundFeePayContract) ValidateBasic ¶
func (msg MsgFundFeePayContract) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgFundFeePayContract) XXX_DiscardUnknown ¶
func (m *MsgFundFeePayContract) XXX_DiscardUnknown()
func (*MsgFundFeePayContract) XXX_Marshal ¶
func (m *MsgFundFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundFeePayContract) XXX_Merge ¶
func (m *MsgFundFeePayContract) XXX_Merge(src proto.Message)
func (*MsgFundFeePayContract) XXX_Size ¶
func (m *MsgFundFeePayContract) XXX_Size() int
func (*MsgFundFeePayContract) XXX_Unmarshal ¶
func (m *MsgFundFeePayContract) XXX_Unmarshal(b []byte) error
type MsgFundFeePayContractResponse ¶
type MsgFundFeePayContractResponse struct { }
The response message for funding a fee pay contract.
func (*MsgFundFeePayContractResponse) Descriptor ¶
func (*MsgFundFeePayContractResponse) Descriptor() ([]byte, []int)
func (*MsgFundFeePayContractResponse) Marshal ¶
func (m *MsgFundFeePayContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgFundFeePayContractResponse) MarshalTo ¶
func (m *MsgFundFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFundFeePayContractResponse) MarshalToSizedBuffer ¶
func (m *MsgFundFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundFeePayContractResponse) ProtoMessage ¶
func (*MsgFundFeePayContractResponse) ProtoMessage()
func (*MsgFundFeePayContractResponse) Reset ¶
func (m *MsgFundFeePayContractResponse) Reset()
func (*MsgFundFeePayContractResponse) Size ¶
func (m *MsgFundFeePayContractResponse) Size() (n int)
func (*MsgFundFeePayContractResponse) String ¶
func (m *MsgFundFeePayContractResponse) String() string
func (*MsgFundFeePayContractResponse) Unmarshal ¶
func (m *MsgFundFeePayContractResponse) Unmarshal(dAtA []byte) error
func (*MsgFundFeePayContractResponse) XXX_DiscardUnknown ¶
func (m *MsgFundFeePayContractResponse) XXX_DiscardUnknown()
func (*MsgFundFeePayContractResponse) XXX_Marshal ¶
func (m *MsgFundFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundFeePayContractResponse) XXX_Merge ¶
func (m *MsgFundFeePayContractResponse) XXX_Merge(src proto.Message)
func (*MsgFundFeePayContractResponse) XXX_Size ¶
func (m *MsgFundFeePayContractResponse) XXX_Size() int
func (*MsgFundFeePayContractResponse) XXX_Unmarshal ¶
func (m *MsgFundFeePayContractResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterFeePayContract ¶
type MsgRegisterFeePayContract struct { // The wallet address of the sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // The fee pay contract to register. FeePayContract *FeePayContract `protobuf:"bytes,2,opt,name=fee_pay_contract,json=feePayContract,proto3" json:"fee_pay_contract,omitempty"` }
The message to register a fee pay contract.
func (*MsgRegisterFeePayContract) Descriptor ¶
func (*MsgRegisterFeePayContract) Descriptor() ([]byte, []int)
func (*MsgRegisterFeePayContract) GetFeePayContract ¶
func (m *MsgRegisterFeePayContract) GetFeePayContract() *FeePayContract
func (*MsgRegisterFeePayContract) GetSenderAddress ¶
func (m *MsgRegisterFeePayContract) GetSenderAddress() string
func (*MsgRegisterFeePayContract) GetSignBytes ¶
func (msg *MsgRegisterFeePayContract) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRegisterFeePayContract) GetSigners ¶
func (msg MsgRegisterFeePayContract) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRegisterFeePayContract) Marshal ¶
func (m *MsgRegisterFeePayContract) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeePayContract) MarshalTo ¶
func (m *MsgRegisterFeePayContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeePayContract) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeePayContract) ProtoMessage ¶
func (*MsgRegisterFeePayContract) ProtoMessage()
func (*MsgRegisterFeePayContract) Reset ¶
func (m *MsgRegisterFeePayContract) Reset()
func (MsgRegisterFeePayContract) Route ¶
func (msg MsgRegisterFeePayContract) Route() string
Route returns the name of the module
func (*MsgRegisterFeePayContract) Size ¶
func (m *MsgRegisterFeePayContract) Size() (n int)
func (*MsgRegisterFeePayContract) String ¶
func (m *MsgRegisterFeePayContract) String() string
func (MsgRegisterFeePayContract) Type ¶
func (msg MsgRegisterFeePayContract) Type() string
Type returns the the action
func (*MsgRegisterFeePayContract) Unmarshal ¶
func (m *MsgRegisterFeePayContract) Unmarshal(dAtA []byte) error
func (MsgRegisterFeePayContract) ValidateBasic ¶
func (msg MsgRegisterFeePayContract) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRegisterFeePayContract) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeePayContract) XXX_DiscardUnknown()
func (*MsgRegisterFeePayContract) XXX_Marshal ¶
func (m *MsgRegisterFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeePayContract) XXX_Merge ¶
func (m *MsgRegisterFeePayContract) XXX_Merge(src proto.Message)
func (*MsgRegisterFeePayContract) XXX_Size ¶
func (m *MsgRegisterFeePayContract) XXX_Size() int
func (*MsgRegisterFeePayContract) XXX_Unmarshal ¶
func (m *MsgRegisterFeePayContract) XXX_Unmarshal(b []byte) error
type MsgRegisterFeePayContractResponse ¶
type MsgRegisterFeePayContractResponse struct { }
The response message for registering a fee pay contract.
func (*MsgRegisterFeePayContractResponse) Descriptor ¶
func (*MsgRegisterFeePayContractResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterFeePayContractResponse) Marshal ¶
func (m *MsgRegisterFeePayContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeePayContractResponse) MarshalTo ¶
func (m *MsgRegisterFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeePayContractResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeePayContractResponse) ProtoMessage ¶
func (*MsgRegisterFeePayContractResponse) ProtoMessage()
func (*MsgRegisterFeePayContractResponse) Reset ¶
func (m *MsgRegisterFeePayContractResponse) Reset()
func (*MsgRegisterFeePayContractResponse) Size ¶
func (m *MsgRegisterFeePayContractResponse) Size() (n int)
func (*MsgRegisterFeePayContractResponse) String ¶
func (m *MsgRegisterFeePayContractResponse) String() string
func (*MsgRegisterFeePayContractResponse) Unmarshal ¶
func (m *MsgRegisterFeePayContractResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterFeePayContractResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeePayContractResponse) XXX_DiscardUnknown()
func (*MsgRegisterFeePayContractResponse) XXX_Marshal ¶
func (m *MsgRegisterFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeePayContractResponse) XXX_Merge ¶
func (m *MsgRegisterFeePayContractResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterFeePayContractResponse) XXX_Size ¶
func (m *MsgRegisterFeePayContractResponse) XXX_Size() int
func (*MsgRegisterFeePayContractResponse) XXX_Unmarshal ¶
func (m *MsgRegisterFeePayContractResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RegisterFeeShare registers a new contract for receiving transaction fees RegisterFeePayContract(context.Context, *MsgRegisterFeePayContract) (*MsgRegisterFeePayContractResponse, error) // UnregisterFeeShare unregisters a contract for receiving transaction fees UnregisterFeePayContract(context.Context, *MsgUnregisterFeePayContract) (*MsgUnregisterFeePayContractResponse, error) // Fund a fee pay contract FundFeePayContract(context.Context, *MsgFundFeePayContract) (*MsgFundFeePayContractResponse, error) // Update a fee pay contract wallet limit UpdateFeePayContractWalletLimit(context.Context, *MsgUpdateFeePayContractWalletLimit) (*MsgUpdateFeePayContractWalletLimitResponse, error) // Update the params of the module through gov v1 type. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUnregisterFeePayContract ¶
type MsgUnregisterFeePayContract struct { // The wallet address of the sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // The fee pay contract address. ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
The message to unregister a fee pay contract.
func (*MsgUnregisterFeePayContract) Descriptor ¶
func (*MsgUnregisterFeePayContract) Descriptor() ([]byte, []int)
func (*MsgUnregisterFeePayContract) GetContractAddress ¶
func (m *MsgUnregisterFeePayContract) GetContractAddress() string
func (*MsgUnregisterFeePayContract) GetSenderAddress ¶
func (m *MsgUnregisterFeePayContract) GetSenderAddress() string
func (*MsgUnregisterFeePayContract) GetSignBytes ¶
func (msg *MsgUnregisterFeePayContract) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUnregisterFeePayContract) GetSigners ¶
func (msg MsgUnregisterFeePayContract) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUnregisterFeePayContract) Marshal ¶
func (m *MsgUnregisterFeePayContract) Marshal() (dAtA []byte, err error)
func (*MsgUnregisterFeePayContract) MarshalTo ¶
func (m *MsgUnregisterFeePayContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnregisterFeePayContract) MarshalToSizedBuffer ¶
func (m *MsgUnregisterFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnregisterFeePayContract) ProtoMessage ¶
func (*MsgUnregisterFeePayContract) ProtoMessage()
func (*MsgUnregisterFeePayContract) Reset ¶
func (m *MsgUnregisterFeePayContract) Reset()
func (MsgUnregisterFeePayContract) Route ¶
func (msg MsgUnregisterFeePayContract) Route() string
Route returns the name of the module
func (*MsgUnregisterFeePayContract) Size ¶
func (m *MsgUnregisterFeePayContract) Size() (n int)
func (*MsgUnregisterFeePayContract) String ¶
func (m *MsgUnregisterFeePayContract) String() string
func (MsgUnregisterFeePayContract) Type ¶
func (msg MsgUnregisterFeePayContract) Type() string
Type returns the the action
func (*MsgUnregisterFeePayContract) Unmarshal ¶
func (m *MsgUnregisterFeePayContract) Unmarshal(dAtA []byte) error
func (MsgUnregisterFeePayContract) ValidateBasic ¶
func (msg MsgUnregisterFeePayContract) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUnregisterFeePayContract) XXX_DiscardUnknown ¶
func (m *MsgUnregisterFeePayContract) XXX_DiscardUnknown()
func (*MsgUnregisterFeePayContract) XXX_Marshal ¶
func (m *MsgUnregisterFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnregisterFeePayContract) XXX_Merge ¶
func (m *MsgUnregisterFeePayContract) XXX_Merge(src proto.Message)
func (*MsgUnregisterFeePayContract) XXX_Size ¶
func (m *MsgUnregisterFeePayContract) XXX_Size() int
func (*MsgUnregisterFeePayContract) XXX_Unmarshal ¶
func (m *MsgUnregisterFeePayContract) XXX_Unmarshal(b []byte) error
type MsgUnregisterFeePayContractResponse ¶
type MsgUnregisterFeePayContractResponse struct { }
The response message for unregistering a fee pay contract.
func (*MsgUnregisterFeePayContractResponse) Descriptor ¶
func (*MsgUnregisterFeePayContractResponse) Descriptor() ([]byte, []int)
func (*MsgUnregisterFeePayContractResponse) Marshal ¶
func (m *MsgUnregisterFeePayContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnregisterFeePayContractResponse) MarshalTo ¶
func (m *MsgUnregisterFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnregisterFeePayContractResponse) MarshalToSizedBuffer ¶
func (m *MsgUnregisterFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnregisterFeePayContractResponse) ProtoMessage ¶
func (*MsgUnregisterFeePayContractResponse) ProtoMessage()
func (*MsgUnregisterFeePayContractResponse) Reset ¶
func (m *MsgUnregisterFeePayContractResponse) Reset()
func (*MsgUnregisterFeePayContractResponse) Size ¶
func (m *MsgUnregisterFeePayContractResponse) Size() (n int)
func (*MsgUnregisterFeePayContractResponse) String ¶
func (m *MsgUnregisterFeePayContractResponse) String() string
func (*MsgUnregisterFeePayContractResponse) Unmarshal ¶
func (m *MsgUnregisterFeePayContractResponse) Unmarshal(dAtA []byte) error
func (*MsgUnregisterFeePayContractResponse) XXX_DiscardUnknown ¶
func (m *MsgUnregisterFeePayContractResponse) XXX_DiscardUnknown()
func (*MsgUnregisterFeePayContractResponse) XXX_Marshal ¶
func (m *MsgUnregisterFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnregisterFeePayContractResponse) XXX_Merge ¶
func (m *MsgUnregisterFeePayContractResponse) XXX_Merge(src proto.Message)
func (*MsgUnregisterFeePayContractResponse) XXX_Size ¶
func (m *MsgUnregisterFeePayContractResponse) XXX_Size() int
func (*MsgUnregisterFeePayContractResponse) XXX_Unmarshal ¶
func (m *MsgUnregisterFeePayContractResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateFeePayContractWalletLimit ¶
type MsgUpdateFeePayContractWalletLimit struct { // The wallet address of the sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // The fee pay contract to fund. ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The new wallet limit. WalletLimit uint64 `protobuf:"varint,3,opt,name=wallet_limit,json=walletLimit,proto3" json:"wallet_limit,omitempty"` }
The message to update a fee pay contract wallet limit.
func (*MsgUpdateFeePayContractWalletLimit) Descriptor ¶
func (*MsgUpdateFeePayContractWalletLimit) Descriptor() ([]byte, []int)
func (*MsgUpdateFeePayContractWalletLimit) GetContractAddress ¶
func (m *MsgUpdateFeePayContractWalletLimit) GetContractAddress() string
func (*MsgUpdateFeePayContractWalletLimit) GetSenderAddress ¶
func (m *MsgUpdateFeePayContractWalletLimit) GetSenderAddress() string
func (*MsgUpdateFeePayContractWalletLimit) GetSignBytes ¶
func (msg *MsgUpdateFeePayContractWalletLimit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUpdateFeePayContractWalletLimit) GetSigners ¶
func (msg MsgUpdateFeePayContractWalletLimit) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateFeePayContractWalletLimit) GetWalletLimit ¶
func (m *MsgUpdateFeePayContractWalletLimit) GetWalletLimit() uint64
func (*MsgUpdateFeePayContractWalletLimit) Marshal ¶
func (m *MsgUpdateFeePayContractWalletLimit) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeePayContractWalletLimit) MarshalTo ¶
func (m *MsgUpdateFeePayContractWalletLimit) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeePayContractWalletLimit) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeePayContractWalletLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeePayContractWalletLimit) ProtoMessage ¶
func (*MsgUpdateFeePayContractWalletLimit) ProtoMessage()
func (*MsgUpdateFeePayContractWalletLimit) Reset ¶
func (m *MsgUpdateFeePayContractWalletLimit) Reset()
func (MsgUpdateFeePayContractWalletLimit) Route ¶
func (msg MsgUpdateFeePayContractWalletLimit) Route() string
Route returns the name of the module
func (*MsgUpdateFeePayContractWalletLimit) Size ¶
func (m *MsgUpdateFeePayContractWalletLimit) Size() (n int)
func (*MsgUpdateFeePayContractWalletLimit) String ¶
func (m *MsgUpdateFeePayContractWalletLimit) String() string
func (MsgUpdateFeePayContractWalletLimit) Type ¶
func (msg MsgUpdateFeePayContractWalletLimit) Type() string
Type returns the the action
func (*MsgUpdateFeePayContractWalletLimit) Unmarshal ¶
func (m *MsgUpdateFeePayContractWalletLimit) Unmarshal(dAtA []byte) error
func (MsgUpdateFeePayContractWalletLimit) ValidateBasic ¶
func (msg MsgUpdateFeePayContractWalletLimit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUpdateFeePayContractWalletLimit) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeePayContractWalletLimit) XXX_DiscardUnknown()
func (*MsgUpdateFeePayContractWalletLimit) XXX_Marshal ¶
func (m *MsgUpdateFeePayContractWalletLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeePayContractWalletLimit) XXX_Merge ¶
func (m *MsgUpdateFeePayContractWalletLimit) XXX_Merge(src proto.Message)
func (*MsgUpdateFeePayContractWalletLimit) XXX_Size ¶
func (m *MsgUpdateFeePayContractWalletLimit) XXX_Size() int
func (*MsgUpdateFeePayContractWalletLimit) XXX_Unmarshal ¶
func (m *MsgUpdateFeePayContractWalletLimit) XXX_Unmarshal(b []byte) error
type MsgUpdateFeePayContractWalletLimitResponse ¶
type MsgUpdateFeePayContractWalletLimitResponse struct { }
The response message for updating a fee pay contract wallet limit.
func (*MsgUpdateFeePayContractWalletLimitResponse) Descriptor ¶
func (*MsgUpdateFeePayContractWalletLimitResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateFeePayContractWalletLimitResponse) Marshal ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeePayContractWalletLimitResponse) MarshalTo ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeePayContractWalletLimitResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeePayContractWalletLimitResponse) ProtoMessage ¶
func (*MsgUpdateFeePayContractWalletLimitResponse) ProtoMessage()
func (*MsgUpdateFeePayContractWalletLimitResponse) Reset ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) Reset()
func (*MsgUpdateFeePayContractWalletLimitResponse) Size ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) Size() (n int)
func (*MsgUpdateFeePayContractWalletLimitResponse) String ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) String() string
func (*MsgUpdateFeePayContractWalletLimitResponse) Unmarshal ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateFeePayContractWalletLimitResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_DiscardUnknown()
func (*MsgUpdateFeePayContractWalletLimitResponse) XXX_Marshal ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeePayContractWalletLimitResponse) XXX_Merge ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateFeePayContractWalletLimitResponse) XXX_Size ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Size() int
func (*MsgUpdateFeePayContractWalletLimitResponse) XXX_Unmarshal ¶
func (m *MsgUpdateFeePayContractWalletLimitResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/feepay parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (MsgUpdateParams) GetSignBytes ¶
func (msg MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (MsgUpdateParams) Route ¶
func (msg MsgUpdateParams) Route() string
Route returns the name of the module
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (msg *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // enable_feepay defines a parameter to enable the feepay module EnableFeepay bool `protobuf:"varint,1,opt,name=enable_feepay,json=enableFeepay,proto3" json:"enable_feepay,omitempty"` }
Params defines the feepay module params
func (*Params) Descriptor ¶
func (*Params) GetEnableFeepay ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // FeePayContract queries a single fee pay contract by address FeePayContract(ctx context.Context, in *QueryFeePayContract, opts ...grpc.CallOption) (*QueryFeePayContractResponse, error) // Retrieve all fee pay contracts FeePayContracts(ctx context.Context, in *QueryFeePayContracts, opts ...grpc.CallOption) (*QueryFeePayContractsResponse, error) // Retrieve the number of uses on a fee pay contract by wallet FeePayContractUses(ctx context.Context, in *QueryFeePayContractUses, opts ...grpc.CallOption) (*QueryFeePayContractUsesResponse, error) // Query if sender is eligible for fee pay contract interaction FeePayWalletIsEligible(ctx context.Context, in *QueryFeePayWalletIsEligible, opts ...grpc.CallOption) (*QueryFeePayWalletIsEligibleResponse, error) // Params retrieves the FeePay module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryFeePayContract ¶
type QueryFeePayContract struct { // contract_address defines the address of the fee pay contract ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
QueryFeePayContract retrieves a single fee pay contract
func (*QueryFeePayContract) Descriptor ¶
func (*QueryFeePayContract) Descriptor() ([]byte, []int)
func (*QueryFeePayContract) GetContractAddress ¶
func (m *QueryFeePayContract) GetContractAddress() string
func (*QueryFeePayContract) Marshal ¶
func (m *QueryFeePayContract) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContract) MarshalTo ¶
func (m *QueryFeePayContract) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContract) MarshalToSizedBuffer ¶
func (m *QueryFeePayContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContract) ProtoMessage ¶
func (*QueryFeePayContract) ProtoMessage()
func (*QueryFeePayContract) Reset ¶
func (m *QueryFeePayContract) Reset()
func (*QueryFeePayContract) Size ¶
func (m *QueryFeePayContract) Size() (n int)
func (*QueryFeePayContract) String ¶
func (m *QueryFeePayContract) String() string
func (*QueryFeePayContract) Unmarshal ¶
func (m *QueryFeePayContract) Unmarshal(dAtA []byte) error
func (*QueryFeePayContract) XXX_DiscardUnknown ¶
func (m *QueryFeePayContract) XXX_DiscardUnknown()
func (*QueryFeePayContract) XXX_Marshal ¶
func (m *QueryFeePayContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContract) XXX_Merge ¶
func (m *QueryFeePayContract) XXX_Merge(src proto.Message)
func (*QueryFeePayContract) XXX_Size ¶
func (m *QueryFeePayContract) XXX_Size() int
func (*QueryFeePayContract) XXX_Unmarshal ¶
func (m *QueryFeePayContract) XXX_Unmarshal(b []byte) error
type QueryFeePayContractResponse ¶
type QueryFeePayContractResponse struct { // contract defines the fee pay contract FeePayContract *FeePayContract `protobuf:"bytes,1,opt,name=fee_pay_contract,json=feePayContract,proto3" json:"fee_pay_contract,omitempty"` }
QueryFeePayContractResponse defines the response for retrieving a single fee pay contract
func (*QueryFeePayContractResponse) Descriptor ¶
func (*QueryFeePayContractResponse) Descriptor() ([]byte, []int)
func (*QueryFeePayContractResponse) GetFeePayContract ¶
func (m *QueryFeePayContractResponse) GetFeePayContract() *FeePayContract
func (*QueryFeePayContractResponse) Marshal ¶
func (m *QueryFeePayContractResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContractResponse) MarshalTo ¶
func (m *QueryFeePayContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContractResponse) MarshalToSizedBuffer ¶
func (m *QueryFeePayContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContractResponse) ProtoMessage ¶
func (*QueryFeePayContractResponse) ProtoMessage()
func (*QueryFeePayContractResponse) Reset ¶
func (m *QueryFeePayContractResponse) Reset()
func (*QueryFeePayContractResponse) Size ¶
func (m *QueryFeePayContractResponse) Size() (n int)
func (*QueryFeePayContractResponse) String ¶
func (m *QueryFeePayContractResponse) String() string
func (*QueryFeePayContractResponse) Unmarshal ¶
func (m *QueryFeePayContractResponse) Unmarshal(dAtA []byte) error
func (*QueryFeePayContractResponse) XXX_DiscardUnknown ¶
func (m *QueryFeePayContractResponse) XXX_DiscardUnknown()
func (*QueryFeePayContractResponse) XXX_Marshal ¶
func (m *QueryFeePayContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContractResponse) XXX_Merge ¶
func (m *QueryFeePayContractResponse) XXX_Merge(src proto.Message)
func (*QueryFeePayContractResponse) XXX_Size ¶
func (m *QueryFeePayContractResponse) XXX_Size() int
func (*QueryFeePayContractResponse) XXX_Unmarshal ¶
func (m *QueryFeePayContractResponse) XXX_Unmarshal(b []byte) error
type QueryFeePayContractUses ¶
type QueryFeePayContractUses struct { // The contract address. ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The wallet address. WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` }
Message for querying the number of uses on a fee pay contract by wallet
func (*QueryFeePayContractUses) Descriptor ¶
func (*QueryFeePayContractUses) Descriptor() ([]byte, []int)
func (*QueryFeePayContractUses) GetContractAddress ¶
func (m *QueryFeePayContractUses) GetContractAddress() string
func (*QueryFeePayContractUses) GetWalletAddress ¶
func (m *QueryFeePayContractUses) GetWalletAddress() string
func (*QueryFeePayContractUses) Marshal ¶
func (m *QueryFeePayContractUses) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContractUses) MarshalTo ¶
func (m *QueryFeePayContractUses) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContractUses) MarshalToSizedBuffer ¶
func (m *QueryFeePayContractUses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContractUses) ProtoMessage ¶
func (*QueryFeePayContractUses) ProtoMessage()
func (*QueryFeePayContractUses) Reset ¶
func (m *QueryFeePayContractUses) Reset()
func (*QueryFeePayContractUses) Size ¶
func (m *QueryFeePayContractUses) Size() (n int)
func (*QueryFeePayContractUses) String ¶
func (m *QueryFeePayContractUses) String() string
func (*QueryFeePayContractUses) Unmarshal ¶
func (m *QueryFeePayContractUses) Unmarshal(dAtA []byte) error
func (*QueryFeePayContractUses) XXX_DiscardUnknown ¶
func (m *QueryFeePayContractUses) XXX_DiscardUnknown()
func (*QueryFeePayContractUses) XXX_Marshal ¶
func (m *QueryFeePayContractUses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContractUses) XXX_Merge ¶
func (m *QueryFeePayContractUses) XXX_Merge(src proto.Message)
func (*QueryFeePayContractUses) XXX_Size ¶
func (m *QueryFeePayContractUses) XXX_Size() int
func (*QueryFeePayContractUses) XXX_Unmarshal ¶
func (m *QueryFeePayContractUses) XXX_Unmarshal(b []byte) error
type QueryFeePayContractUsesResponse ¶
type QueryFeePayContractUsesResponse struct { // The number of uses on the fee pay contract by wallet Uses uint64 `protobuf:"varint,1,opt,name=uses,proto3" json:"uses,omitempty"` }
The response for querying the number of uses on a fee pay contract by wallet
func (*QueryFeePayContractUsesResponse) Descriptor ¶
func (*QueryFeePayContractUsesResponse) Descriptor() ([]byte, []int)
func (*QueryFeePayContractUsesResponse) GetUses ¶
func (m *QueryFeePayContractUsesResponse) GetUses() uint64
func (*QueryFeePayContractUsesResponse) Marshal ¶
func (m *QueryFeePayContractUsesResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContractUsesResponse) MarshalTo ¶
func (m *QueryFeePayContractUsesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContractUsesResponse) MarshalToSizedBuffer ¶
func (m *QueryFeePayContractUsesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContractUsesResponse) ProtoMessage ¶
func (*QueryFeePayContractUsesResponse) ProtoMessage()
func (*QueryFeePayContractUsesResponse) Reset ¶
func (m *QueryFeePayContractUsesResponse) Reset()
func (*QueryFeePayContractUsesResponse) Size ¶
func (m *QueryFeePayContractUsesResponse) Size() (n int)
func (*QueryFeePayContractUsesResponse) String ¶
func (m *QueryFeePayContractUsesResponse) String() string
func (*QueryFeePayContractUsesResponse) Unmarshal ¶
func (m *QueryFeePayContractUsesResponse) Unmarshal(dAtA []byte) error
func (*QueryFeePayContractUsesResponse) XXX_DiscardUnknown ¶
func (m *QueryFeePayContractUsesResponse) XXX_DiscardUnknown()
func (*QueryFeePayContractUsesResponse) XXX_Marshal ¶
func (m *QueryFeePayContractUsesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContractUsesResponse) XXX_Merge ¶
func (m *QueryFeePayContractUsesResponse) XXX_Merge(src proto.Message)
func (*QueryFeePayContractUsesResponse) XXX_Size ¶
func (m *QueryFeePayContractUsesResponse) XXX_Size() int
func (*QueryFeePayContractUsesResponse) XXX_Unmarshal ¶
func (m *QueryFeePayContractUsesResponse) XXX_Unmarshal(b []byte) error
type QueryFeePayContracts ¶
type QueryFeePayContracts struct { // Pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
Message for querying a list of fee pay contracts
func (*QueryFeePayContracts) Descriptor ¶
func (*QueryFeePayContracts) Descriptor() ([]byte, []int)
func (*QueryFeePayContracts) GetPagination ¶
func (m *QueryFeePayContracts) GetPagination() *query.PageRequest
func (*QueryFeePayContracts) Marshal ¶
func (m *QueryFeePayContracts) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContracts) MarshalTo ¶
func (m *QueryFeePayContracts) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContracts) MarshalToSizedBuffer ¶
func (m *QueryFeePayContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContracts) ProtoMessage ¶
func (*QueryFeePayContracts) ProtoMessage()
func (*QueryFeePayContracts) Reset ¶
func (m *QueryFeePayContracts) Reset()
func (*QueryFeePayContracts) Size ¶
func (m *QueryFeePayContracts) Size() (n int)
func (*QueryFeePayContracts) String ¶
func (m *QueryFeePayContracts) String() string
func (*QueryFeePayContracts) Unmarshal ¶
func (m *QueryFeePayContracts) Unmarshal(dAtA []byte) error
func (*QueryFeePayContracts) XXX_DiscardUnknown ¶
func (m *QueryFeePayContracts) XXX_DiscardUnknown()
func (*QueryFeePayContracts) XXX_Marshal ¶
func (m *QueryFeePayContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContracts) XXX_Merge ¶
func (m *QueryFeePayContracts) XXX_Merge(src proto.Message)
func (*QueryFeePayContracts) XXX_Size ¶
func (m *QueryFeePayContracts) XXX_Size() int
func (*QueryFeePayContracts) XXX_Unmarshal ¶
func (m *QueryFeePayContracts) XXX_Unmarshal(b []byte) error
type QueryFeePayContractsResponse ¶
type QueryFeePayContractsResponse struct { // A slice of all the stored fee pay contracts FeePayContracts []FeePayContract `protobuf:"bytes,1,rep,name=fee_pay_contracts,json=feePayContracts,proto3" json:"fee_pay_contracts"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
The response for querying all fee pay contracts
func (*QueryFeePayContractsResponse) Descriptor ¶
func (*QueryFeePayContractsResponse) Descriptor() ([]byte, []int)
func (*QueryFeePayContractsResponse) GetFeePayContracts ¶
func (m *QueryFeePayContractsResponse) GetFeePayContracts() []FeePayContract
func (*QueryFeePayContractsResponse) GetPagination ¶
func (m *QueryFeePayContractsResponse) GetPagination() *query.PageResponse
func (*QueryFeePayContractsResponse) Marshal ¶
func (m *QueryFeePayContractsResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeePayContractsResponse) MarshalTo ¶
func (m *QueryFeePayContractsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayContractsResponse) MarshalToSizedBuffer ¶
func (m *QueryFeePayContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayContractsResponse) ProtoMessage ¶
func (*QueryFeePayContractsResponse) ProtoMessage()
func (*QueryFeePayContractsResponse) Reset ¶
func (m *QueryFeePayContractsResponse) Reset()
func (*QueryFeePayContractsResponse) Size ¶
func (m *QueryFeePayContractsResponse) Size() (n int)
func (*QueryFeePayContractsResponse) String ¶
func (m *QueryFeePayContractsResponse) String() string
func (*QueryFeePayContractsResponse) Unmarshal ¶
func (m *QueryFeePayContractsResponse) Unmarshal(dAtA []byte) error
func (*QueryFeePayContractsResponse) XXX_DiscardUnknown ¶
func (m *QueryFeePayContractsResponse) XXX_DiscardUnknown()
func (*QueryFeePayContractsResponse) XXX_Marshal ¶
func (m *QueryFeePayContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayContractsResponse) XXX_Merge ¶
func (m *QueryFeePayContractsResponse) XXX_Merge(src proto.Message)
func (*QueryFeePayContractsResponse) XXX_Size ¶
func (m *QueryFeePayContractsResponse) XXX_Size() int
func (*QueryFeePayContractsResponse) XXX_Unmarshal ¶
func (m *QueryFeePayContractsResponse) XXX_Unmarshal(b []byte) error
type QueryFeePayWalletIsEligible ¶
type QueryFeePayWalletIsEligible struct { // The contract address. ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // The wallet address. WalletAddress string `protobuf:"bytes,2,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` }
Message for querying if a wallet is eligible for fee pay contract interactions
func (*QueryFeePayWalletIsEligible) Descriptor ¶
func (*QueryFeePayWalletIsEligible) Descriptor() ([]byte, []int)
func (*QueryFeePayWalletIsEligible) GetContractAddress ¶
func (m *QueryFeePayWalletIsEligible) GetContractAddress() string
func (*QueryFeePayWalletIsEligible) GetWalletAddress ¶
func (m *QueryFeePayWalletIsEligible) GetWalletAddress() string
func (*QueryFeePayWalletIsEligible) Marshal ¶
func (m *QueryFeePayWalletIsEligible) Marshal() (dAtA []byte, err error)
func (*QueryFeePayWalletIsEligible) MarshalTo ¶
func (m *QueryFeePayWalletIsEligible) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayWalletIsEligible) MarshalToSizedBuffer ¶
func (m *QueryFeePayWalletIsEligible) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayWalletIsEligible) ProtoMessage ¶
func (*QueryFeePayWalletIsEligible) ProtoMessage()
func (*QueryFeePayWalletIsEligible) Reset ¶
func (m *QueryFeePayWalletIsEligible) Reset()
func (*QueryFeePayWalletIsEligible) Size ¶
func (m *QueryFeePayWalletIsEligible) Size() (n int)
func (*QueryFeePayWalletIsEligible) String ¶
func (m *QueryFeePayWalletIsEligible) String() string
func (*QueryFeePayWalletIsEligible) Unmarshal ¶
func (m *QueryFeePayWalletIsEligible) Unmarshal(dAtA []byte) error
func (*QueryFeePayWalletIsEligible) XXX_DiscardUnknown ¶
func (m *QueryFeePayWalletIsEligible) XXX_DiscardUnknown()
func (*QueryFeePayWalletIsEligible) XXX_Marshal ¶
func (m *QueryFeePayWalletIsEligible) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayWalletIsEligible) XXX_Merge ¶
func (m *QueryFeePayWalletIsEligible) XXX_Merge(src proto.Message)
func (*QueryFeePayWalletIsEligible) XXX_Size ¶
func (m *QueryFeePayWalletIsEligible) XXX_Size() int
func (*QueryFeePayWalletIsEligible) XXX_Unmarshal ¶
func (m *QueryFeePayWalletIsEligible) XXX_Unmarshal(b []byte) error
type QueryFeePayWalletIsEligibleResponse ¶
type QueryFeePayWalletIsEligibleResponse struct { // The eligibility of the wallet for fee pay contract interactions Eligible bool `protobuf:"varint,1,opt,name=eligible,proto3" json:"eligible,omitempty"` }
The response for querying if a wallet is eligible for fee pay contract interactions
func (*QueryFeePayWalletIsEligibleResponse) Descriptor ¶
func (*QueryFeePayWalletIsEligibleResponse) Descriptor() ([]byte, []int)
func (*QueryFeePayWalletIsEligibleResponse) GetEligible ¶
func (m *QueryFeePayWalletIsEligibleResponse) GetEligible() bool
func (*QueryFeePayWalletIsEligibleResponse) Marshal ¶
func (m *QueryFeePayWalletIsEligibleResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeePayWalletIsEligibleResponse) MarshalTo ¶
func (m *QueryFeePayWalletIsEligibleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeePayWalletIsEligibleResponse) MarshalToSizedBuffer ¶
func (m *QueryFeePayWalletIsEligibleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeePayWalletIsEligibleResponse) ProtoMessage ¶
func (*QueryFeePayWalletIsEligibleResponse) ProtoMessage()
func (*QueryFeePayWalletIsEligibleResponse) Reset ¶
func (m *QueryFeePayWalletIsEligibleResponse) Reset()
func (*QueryFeePayWalletIsEligibleResponse) Size ¶
func (m *QueryFeePayWalletIsEligibleResponse) Size() (n int)
func (*QueryFeePayWalletIsEligibleResponse) String ¶
func (m *QueryFeePayWalletIsEligibleResponse) String() string
func (*QueryFeePayWalletIsEligibleResponse) Unmarshal ¶
func (m *QueryFeePayWalletIsEligibleResponse) Unmarshal(dAtA []byte) error
func (*QueryFeePayWalletIsEligibleResponse) XXX_DiscardUnknown ¶
func (m *QueryFeePayWalletIsEligibleResponse) XXX_DiscardUnknown()
func (*QueryFeePayWalletIsEligibleResponse) XXX_Marshal ¶
func (m *QueryFeePayWalletIsEligibleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeePayWalletIsEligibleResponse) XXX_Merge ¶
func (m *QueryFeePayWalletIsEligibleResponse) XXX_Merge(src proto.Message)
func (*QueryFeePayWalletIsEligibleResponse) XXX_Size ¶
func (m *QueryFeePayWalletIsEligibleResponse) XXX_Size() int
func (*QueryFeePayWalletIsEligibleResponse) XXX_Unmarshal ¶
func (m *QueryFeePayWalletIsEligibleResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params is the returned Feepay parameter Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // FeePayContract queries a single fee pay contract by address FeePayContract(context.Context, *QueryFeePayContract) (*QueryFeePayContractResponse, error) // Retrieve all fee pay contracts FeePayContracts(context.Context, *QueryFeePayContracts) (*QueryFeePayContractsResponse, error) // Retrieve the number of uses on a fee pay contract by wallet FeePayContractUses(context.Context, *QueryFeePayContractUses) (*QueryFeePayContractUsesResponse, error) // Query if sender is eligible for fee pay contract interaction FeePayWalletIsEligible(context.Context, *QueryFeePayWalletIsEligible) (*QueryFeePayWalletIsEligibleResponse, error) // Params retrieves the FeePay module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) FundFeePayContract ¶
func (*UnimplementedMsgServer) FundFeePayContract(ctx context.Context, req *MsgFundFeePayContract) (*MsgFundFeePayContractResponse, error)
func (*UnimplementedMsgServer) RegisterFeePayContract ¶
func (*UnimplementedMsgServer) RegisterFeePayContract(ctx context.Context, req *MsgRegisterFeePayContract) (*MsgRegisterFeePayContractResponse, error)
func (*UnimplementedMsgServer) UnregisterFeePayContract ¶
func (*UnimplementedMsgServer) UnregisterFeePayContract(ctx context.Context, req *MsgUnregisterFeePayContract) (*MsgUnregisterFeePayContractResponse, error)
func (*UnimplementedMsgServer) UpdateFeePayContractWalletLimit ¶
func (*UnimplementedMsgServer) UpdateFeePayContractWalletLimit(ctx context.Context, req *MsgUpdateFeePayContractWalletLimit) (*MsgUpdateFeePayContractWalletLimitResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) FeePayContract ¶
func (*UnimplementedQueryServer) FeePayContract(ctx context.Context, req *QueryFeePayContract) (*QueryFeePayContractResponse, error)
func (*UnimplementedQueryServer) FeePayContractUses ¶
func (*UnimplementedQueryServer) FeePayContractUses(ctx context.Context, req *QueryFeePayContractUses) (*QueryFeePayContractUsesResponse, error)
func (*UnimplementedQueryServer) FeePayContracts ¶
func (*UnimplementedQueryServer) FeePayContracts(ctx context.Context, req *QueryFeePayContracts) (*QueryFeePayContractsResponse, error)
func (*UnimplementedQueryServer) FeePayWalletIsEligible ¶
func (*UnimplementedQueryServer) FeePayWalletIsEligible(ctx context.Context, req *QueryFeePayWalletIsEligible) (*QueryFeePayWalletIsEligibleResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)