Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AutoSettleRecordKey(timestamp int64, addr sdk.AccAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func PaymentAccountCountKey(owner sdk.AccAddress) []byte
- func PaymentAccountKey(addr sdk.AccAddress) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func StreamRecordKey(account sdk.AccAddress) []byte
- type AccountKeeper
- type AutoSettleRecord
- func (*AutoSettleRecord) Descriptor() ([]byte, []int)
- func (m *AutoSettleRecord) GetAddr() string
- func (m *AutoSettleRecord) GetTimestamp() int64
- func (m *AutoSettleRecord) Marshal() (dAtA []byte, err error)
- func (m *AutoSettleRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *AutoSettleRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AutoSettleRecord) ProtoMessage()
- func (m *AutoSettleRecord) Reset()
- func (m *AutoSettleRecord) Size() (n int)
- func (m *AutoSettleRecord) String() string
- func (m *AutoSettleRecord) Unmarshal(dAtA []byte) error
- func (m *AutoSettleRecord) XXX_DiscardUnknown()
- func (m *AutoSettleRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutoSettleRecord) XXX_Merge(src proto.Message)
- func (m *AutoSettleRecord) XXX_Size() int
- func (m *AutoSettleRecord) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type EventDeposit
- func (*EventDeposit) Descriptor() ([]byte, []int)
- func (m *EventDeposit) GetFrom() string
- func (m *EventDeposit) GetTo() string
- func (m *EventDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeposit) ProtoMessage()
- func (m *EventDeposit) Reset()
- func (m *EventDeposit) Size() (n int)
- func (m *EventDeposit) String() string
- func (m *EventDeposit) Unmarshal(dAtA []byte) error
- func (m *EventDeposit) XXX_DiscardUnknown()
- func (m *EventDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeposit) XXX_Merge(src proto.Message)
- func (m *EventDeposit) XXX_Size() int
- func (m *EventDeposit) XXX_Unmarshal(b []byte) error
- type EventForceSettle
- func (*EventForceSettle) Descriptor() ([]byte, []int)
- func (m *EventForceSettle) GetAddr() string
- func (m *EventForceSettle) Marshal() (dAtA []byte, err error)
- func (m *EventForceSettle) MarshalTo(dAtA []byte) (int, error)
- func (m *EventForceSettle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventForceSettle) ProtoMessage()
- func (m *EventForceSettle) Reset()
- func (m *EventForceSettle) Size() (n int)
- func (m *EventForceSettle) String() string
- func (m *EventForceSettle) Unmarshal(dAtA []byte) error
- func (m *EventForceSettle) XXX_DiscardUnknown()
- func (m *EventForceSettle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventForceSettle) XXX_Merge(src proto.Message)
- func (m *EventForceSettle) XXX_Size() int
- func (m *EventForceSettle) XXX_Unmarshal(b []byte) error
- type EventPaymentAccountUpdate
- func (*EventPaymentAccountUpdate) Descriptor() ([]byte, []int)
- func (m *EventPaymentAccountUpdate) GetAddr() string
- func (m *EventPaymentAccountUpdate) GetOwner() string
- func (m *EventPaymentAccountUpdate) GetRefundable() bool
- func (m *EventPaymentAccountUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventPaymentAccountUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPaymentAccountUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPaymentAccountUpdate) ProtoMessage()
- func (m *EventPaymentAccountUpdate) Reset()
- func (m *EventPaymentAccountUpdate) Size() (n int)
- func (m *EventPaymentAccountUpdate) String() string
- func (m *EventPaymentAccountUpdate) Unmarshal(dAtA []byte) error
- func (m *EventPaymentAccountUpdate) XXX_DiscardUnknown()
- func (m *EventPaymentAccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPaymentAccountUpdate) XXX_Merge(src proto.Message)
- func (m *EventPaymentAccountUpdate) XXX_Size() int
- func (m *EventPaymentAccountUpdate) XXX_Unmarshal(b []byte) error
- type EventStreamRecordUpdate
- func (*EventStreamRecordUpdate) Descriptor() ([]byte, []int)
- func (m *EventStreamRecordUpdate) GetAccount() string
- func (m *EventStreamRecordUpdate) GetCrudTimestamp() int64
- func (m *EventStreamRecordUpdate) GetOutFlows() []OutFlow
- func (m *EventStreamRecordUpdate) GetSettleTimestamp() int64
- func (m *EventStreamRecordUpdate) GetStatus() StreamAccountStatus
- func (m *EventStreamRecordUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventStreamRecordUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStreamRecordUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStreamRecordUpdate) ProtoMessage()
- func (m *EventStreamRecordUpdate) Reset()
- func (m *EventStreamRecordUpdate) Size() (n int)
- func (m *EventStreamRecordUpdate) String() string
- func (m *EventStreamRecordUpdate) Unmarshal(dAtA []byte) error
- func (m *EventStreamRecordUpdate) XXX_DiscardUnknown()
- func (m *EventStreamRecordUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStreamRecordUpdate) XXX_Merge(src proto.Message)
- func (m *EventStreamRecordUpdate) XXX_Size() int
- func (m *EventStreamRecordUpdate) XXX_Unmarshal(b []byte) error
- type EventWithdraw
- func (*EventWithdraw) Descriptor() ([]byte, []int)
- func (m *EventWithdraw) GetFrom() string
- func (m *EventWithdraw) GetTo() string
- func (m *EventWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventWithdraw) ProtoMessage()
- func (m *EventWithdraw) Reset()
- func (m *EventWithdraw) Size() (n int)
- func (m *EventWithdraw) String() string
- func (m *EventWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventWithdraw) XXX_DiscardUnknown()
- func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventWithdraw) XXX_Merge(src proto.Message)
- func (m *EventWithdraw) XXX_Size() int
- func (m *EventWithdraw) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAutoSettleRecordList() []AutoSettleRecord
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPaymentAccountCountList() []PaymentAccountCount
- func (m *GenesisState) GetPaymentAccountList() []PaymentAccount
- func (m *GenesisState) GetStreamRecordList() []StreamRecord
- 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 MsgCreatePaymentAccount
- func (*MsgCreatePaymentAccount) Descriptor() ([]byte, []int)
- func (m *MsgCreatePaymentAccount) GetCreator() string
- func (msg *MsgCreatePaymentAccount) GetSignBytes() []byte
- func (msg *MsgCreatePaymentAccount) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePaymentAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePaymentAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePaymentAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePaymentAccount) ProtoMessage()
- func (m *MsgCreatePaymentAccount) Reset()
- func (msg *MsgCreatePaymentAccount) Route() string
- func (m *MsgCreatePaymentAccount) Size() (n int)
- func (m *MsgCreatePaymentAccount) String() string
- func (msg *MsgCreatePaymentAccount) Type() string
- func (m *MsgCreatePaymentAccount) Unmarshal(dAtA []byte) error
- func (msg *MsgCreatePaymentAccount) ValidateBasic() error
- func (m *MsgCreatePaymentAccount) XXX_DiscardUnknown()
- func (m *MsgCreatePaymentAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePaymentAccount) XXX_Merge(src proto.Message)
- func (m *MsgCreatePaymentAccount) XXX_Size() int
- func (m *MsgCreatePaymentAccount) XXX_Unmarshal(b []byte) error
- type MsgCreatePaymentAccountResponse
- func (*MsgCreatePaymentAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePaymentAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePaymentAccountResponse) ProtoMessage()
- func (m *MsgCreatePaymentAccountResponse) Reset()
- func (m *MsgCreatePaymentAccountResponse) Size() (n int)
- func (m *MsgCreatePaymentAccountResponse) String() string
- func (m *MsgCreatePaymentAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePaymentAccountResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePaymentAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePaymentAccountResponse) XXX_Size() int
- func (m *MsgCreatePaymentAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (m *MsgDeposit) GetCreator() string
- func (msg *MsgDeposit) GetSignBytes() []byte
- func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgDeposit) GetTo() string
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (msg *MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (msg *MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (msg *MsgDeposit) ValidateBasic() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDepositResponse
- func (*MsgDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositResponse) ProtoMessage()
- func (m *MsgDepositResponse) Reset()
- func (m *MsgDepositResponse) Size() (n int)
- func (m *MsgDepositResponse) String() string
- func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositResponse) XXX_DiscardUnknown()
- func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositResponse) XXX_Size() int
- func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgDisableRefund
- func (*MsgDisableRefund) Descriptor() ([]byte, []int)
- func (m *MsgDisableRefund) GetAddr() string
- func (m *MsgDisableRefund) GetOwner() string
- func (msg *MsgDisableRefund) GetSignBytes() []byte
- func (msg *MsgDisableRefund) GetSigners() []sdk.AccAddress
- func (m *MsgDisableRefund) Marshal() (dAtA []byte, err error)
- func (m *MsgDisableRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisableRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisableRefund) ProtoMessage()
- func (m *MsgDisableRefund) Reset()
- func (msg *MsgDisableRefund) Route() string
- func (m *MsgDisableRefund) Size() (n int)
- func (m *MsgDisableRefund) String() string
- func (msg *MsgDisableRefund) Type() string
- func (m *MsgDisableRefund) Unmarshal(dAtA []byte) error
- func (msg *MsgDisableRefund) ValidateBasic() error
- func (m *MsgDisableRefund) XXX_DiscardUnknown()
- func (m *MsgDisableRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisableRefund) XXX_Merge(src proto.Message)
- func (m *MsgDisableRefund) XXX_Size() int
- func (m *MsgDisableRefund) XXX_Unmarshal(b []byte) error
- type MsgDisableRefundResponse
- func (*MsgDisableRefundResponse) Descriptor() ([]byte, []int)
- func (m *MsgDisableRefundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDisableRefundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDisableRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDisableRefundResponse) ProtoMessage()
- func (m *MsgDisableRefundResponse) Reset()
- func (m *MsgDisableRefundResponse) Size() (n int)
- func (m *MsgDisableRefundResponse) String() string
- func (m *MsgDisableRefundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDisableRefundResponse) XXX_DiscardUnknown()
- func (m *MsgDisableRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDisableRefundResponse) XXX_Merge(src proto.Message)
- func (m *MsgDisableRefundResponse) XXX_Size() int
- func (m *MsgDisableRefundResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgWithdraw) GetCreator() string
- func (m *MsgWithdraw) GetFrom() string
- func (msg *MsgWithdraw) GetSignBytes() []byte
- func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (msg *MsgWithdraw) Route() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (msg *MsgWithdraw) Type() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdraw) ValidateBasic() error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
- type OutFlow
- func (*OutFlow) Descriptor() ([]byte, []int)
- func (m *OutFlow) GetToAddress() string
- func (m *OutFlow) Marshal() (dAtA []byte, err error)
- func (m *OutFlow) MarshalTo(dAtA []byte) (int, error)
- func (m *OutFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutFlow) ProtoMessage()
- func (m *OutFlow) Reset()
- func (m *OutFlow) Size() (n int)
- func (m *OutFlow) String() string
- func (m *OutFlow) Unmarshal(dAtA []byte) error
- func (m *OutFlow) XXX_DiscardUnknown()
- func (m *OutFlow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutFlow) XXX_Merge(src proto.Message)
- func (m *OutFlow) XXX_Size() int
- func (m *OutFlow) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetFeeDenom() string
- func (m *Params) GetForcedSettleTime() uint64
- func (m *Params) GetMaxAutoForceSettleNum() uint64
- func (m *Params) GetPaymentAccountCountLimit() uint64
- func (m *Params) GetReserveTime() uint64
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 PaymentAccount
- func (*PaymentAccount) Descriptor() ([]byte, []int)
- func (m *PaymentAccount) GetAddr() string
- func (m *PaymentAccount) GetOwner() string
- func (m *PaymentAccount) GetRefundable() bool
- func (m *PaymentAccount) Marshal() (dAtA []byte, err error)
- func (m *PaymentAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *PaymentAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaymentAccount) ProtoMessage()
- func (m *PaymentAccount) Reset()
- func (m *PaymentAccount) Size() (n int)
- func (m *PaymentAccount) String() string
- func (m *PaymentAccount) Unmarshal(dAtA []byte) error
- func (m *PaymentAccount) XXX_DiscardUnknown()
- func (m *PaymentAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentAccount) XXX_Merge(src proto.Message)
- func (m *PaymentAccount) XXX_Size() int
- func (m *PaymentAccount) XXX_Unmarshal(b []byte) error
- type PaymentAccountCount
- func (*PaymentAccountCount) Descriptor() ([]byte, []int)
- func (m *PaymentAccountCount) GetCount() uint64
- func (m *PaymentAccountCount) GetOwner() string
- func (m *PaymentAccountCount) Marshal() (dAtA []byte, err error)
- func (m *PaymentAccountCount) MarshalTo(dAtA []byte) (int, error)
- func (m *PaymentAccountCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaymentAccountCount) ProtoMessage()
- func (m *PaymentAccountCount) Reset()
- func (m *PaymentAccountCount) Size() (n int)
- func (m *PaymentAccountCount) String() string
- func (m *PaymentAccountCount) Unmarshal(dAtA []byte) error
- func (m *PaymentAccountCount) XXX_DiscardUnknown()
- func (m *PaymentAccountCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentAccountCount) XXX_Merge(src proto.Message)
- func (m *PaymentAccountCount) XXX_Size() int
- func (m *PaymentAccountCount) XXX_Unmarshal(b []byte) error
- type QueryAllAutoSettleRecordRequest
- func (*QueryAllAutoSettleRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllAutoSettleRecordRequest) GetPagination() *query.PageRequest
- func (m *QueryAllAutoSettleRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAutoSettleRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAutoSettleRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAutoSettleRecordRequest) ProtoMessage()
- func (m *QueryAllAutoSettleRecordRequest) Reset()
- func (m *QueryAllAutoSettleRecordRequest) Size() (n int)
- func (m *QueryAllAutoSettleRecordRequest) String() string
- func (m *QueryAllAutoSettleRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllAutoSettleRecordRequest) XXX_DiscardUnknown()
- func (m *QueryAllAutoSettleRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAutoSettleRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllAutoSettleRecordRequest) XXX_Size() int
- func (m *QueryAllAutoSettleRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryAllAutoSettleRecordResponse
- func (*QueryAllAutoSettleRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllAutoSettleRecordResponse) GetAutoSettleRecord() []AutoSettleRecord
- func (m *QueryAllAutoSettleRecordResponse) GetPagination() *query.PageResponse
- func (m *QueryAllAutoSettleRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAutoSettleRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAutoSettleRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAutoSettleRecordResponse) ProtoMessage()
- func (m *QueryAllAutoSettleRecordResponse) Reset()
- func (m *QueryAllAutoSettleRecordResponse) Size() (n int)
- func (m *QueryAllAutoSettleRecordResponse) String() string
- func (m *QueryAllAutoSettleRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllAutoSettleRecordResponse) XXX_DiscardUnknown()
- func (m *QueryAllAutoSettleRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAutoSettleRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllAutoSettleRecordResponse) XXX_Size() int
- func (m *QueryAllAutoSettleRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPaymentAccountCountRequest
- func (*QueryAllPaymentAccountCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPaymentAccountCountRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPaymentAccountCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPaymentAccountCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPaymentAccountCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPaymentAccountCountRequest) ProtoMessage()
- func (m *QueryAllPaymentAccountCountRequest) Reset()
- func (m *QueryAllPaymentAccountCountRequest) Size() (n int)
- func (m *QueryAllPaymentAccountCountRequest) String() string
- func (m *QueryAllPaymentAccountCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPaymentAccountCountRequest) XXX_DiscardUnknown()
- func (m *QueryAllPaymentAccountCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPaymentAccountCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPaymentAccountCountRequest) XXX_Size() int
- func (m *QueryAllPaymentAccountCountRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPaymentAccountCountResponse
- func (*QueryAllPaymentAccountCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPaymentAccountCountResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPaymentAccountCountResponse) GetPaymentAccountCount() []PaymentAccountCount
- func (m *QueryAllPaymentAccountCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPaymentAccountCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPaymentAccountCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPaymentAccountCountResponse) ProtoMessage()
- func (m *QueryAllPaymentAccountCountResponse) Reset()
- func (m *QueryAllPaymentAccountCountResponse) Size() (n int)
- func (m *QueryAllPaymentAccountCountResponse) String() string
- func (m *QueryAllPaymentAccountCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPaymentAccountCountResponse) XXX_DiscardUnknown()
- func (m *QueryAllPaymentAccountCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPaymentAccountCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPaymentAccountCountResponse) XXX_Size() int
- func (m *QueryAllPaymentAccountCountResponse) XXX_Unmarshal(b []byte) error
- type QueryAllPaymentAccountRequest
- func (*QueryAllPaymentAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPaymentAccountRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPaymentAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPaymentAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPaymentAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPaymentAccountRequest) ProtoMessage()
- func (m *QueryAllPaymentAccountRequest) Reset()
- func (m *QueryAllPaymentAccountRequest) Size() (n int)
- func (m *QueryAllPaymentAccountRequest) String() string
- func (m *QueryAllPaymentAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPaymentAccountRequest) XXX_DiscardUnknown()
- func (m *QueryAllPaymentAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPaymentAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPaymentAccountRequest) XXX_Size() int
- func (m *QueryAllPaymentAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPaymentAccountResponse
- func (*QueryAllPaymentAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPaymentAccountResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPaymentAccountResponse) GetPaymentAccount() []PaymentAccount
- func (m *QueryAllPaymentAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPaymentAccountResponse) ProtoMessage()
- func (m *QueryAllPaymentAccountResponse) Reset()
- func (m *QueryAllPaymentAccountResponse) Size() (n int)
- func (m *QueryAllPaymentAccountResponse) String() string
- func (m *QueryAllPaymentAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPaymentAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAllPaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPaymentAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPaymentAccountResponse) XXX_Size() int
- func (m *QueryAllPaymentAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryAllStreamRecordRequest
- func (*QueryAllStreamRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllStreamRecordRequest) GetPagination() *query.PageRequest
- func (m *QueryAllStreamRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllStreamRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllStreamRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllStreamRecordRequest) ProtoMessage()
- func (m *QueryAllStreamRecordRequest) Reset()
- func (m *QueryAllStreamRecordRequest) Size() (n int)
- func (m *QueryAllStreamRecordRequest) String() string
- func (m *QueryAllStreamRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllStreamRecordRequest) XXX_DiscardUnknown()
- func (m *QueryAllStreamRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllStreamRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllStreamRecordRequest) XXX_Size() int
- func (m *QueryAllStreamRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryAllStreamRecordResponse
- func (*QueryAllStreamRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllStreamRecordResponse) GetPagination() *query.PageResponse
- func (m *QueryAllStreamRecordResponse) GetStreamRecord() []StreamRecord
- func (m *QueryAllStreamRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllStreamRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllStreamRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllStreamRecordResponse) ProtoMessage()
- func (m *QueryAllStreamRecordResponse) Reset()
- func (m *QueryAllStreamRecordResponse) Size() (n int)
- func (m *QueryAllStreamRecordResponse) String() string
- func (m *QueryAllStreamRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllStreamRecordResponse) XXX_DiscardUnknown()
- func (m *QueryAllStreamRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllStreamRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllStreamRecordResponse) XXX_Size() int
- func (m *QueryAllStreamRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDynamicBalanceRequest
- func (*QueryDynamicBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryDynamicBalanceRequest) GetAccount() string
- func (m *QueryDynamicBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDynamicBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDynamicBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDynamicBalanceRequest) ProtoMessage()
- func (m *QueryDynamicBalanceRequest) Reset()
- func (m *QueryDynamicBalanceRequest) Size() (n int)
- func (m *QueryDynamicBalanceRequest) String() string
- func (m *QueryDynamicBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDynamicBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryDynamicBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDynamicBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryDynamicBalanceRequest) XXX_Size() int
- func (m *QueryDynamicBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryDynamicBalanceResponse
- func (*QueryDynamicBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryDynamicBalanceResponse) GetCurrentTimestamp() int64
- func (m *QueryDynamicBalanceResponse) GetStreamRecord() StreamRecord
- func (m *QueryDynamicBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDynamicBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDynamicBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDynamicBalanceResponse) ProtoMessage()
- func (m *QueryDynamicBalanceResponse) Reset()
- func (m *QueryDynamicBalanceResponse) Size() (n int)
- func (m *QueryDynamicBalanceResponse) String() string
- func (m *QueryDynamicBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDynamicBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryDynamicBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDynamicBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryDynamicBalanceResponse) XXX_Size() int
- func (m *QueryDynamicBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetAutoSettleRecordRequest
- func (*QueryGetAutoSettleRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAutoSettleRecordRequest) GetAddr() string
- func (m *QueryGetAutoSettleRecordRequest) GetTimestamp() int64
- func (m *QueryGetAutoSettleRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAutoSettleRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAutoSettleRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAutoSettleRecordRequest) ProtoMessage()
- func (m *QueryGetAutoSettleRecordRequest) Reset()
- func (m *QueryGetAutoSettleRecordRequest) Size() (n int)
- func (m *QueryGetAutoSettleRecordRequest) String() string
- func (m *QueryGetAutoSettleRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAutoSettleRecordRequest) XXX_DiscardUnknown()
- func (m *QueryGetAutoSettleRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAutoSettleRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAutoSettleRecordRequest) XXX_Size() int
- func (m *QueryGetAutoSettleRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAutoSettleRecordResponse
- func (*QueryGetAutoSettleRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAutoSettleRecordResponse) GetAutoSettleRecord() AutoSettleRecord
- func (m *QueryGetAutoSettleRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAutoSettleRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAutoSettleRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAutoSettleRecordResponse) ProtoMessage()
- func (m *QueryGetAutoSettleRecordResponse) Reset()
- func (m *QueryGetAutoSettleRecordResponse) Size() (n int)
- func (m *QueryGetAutoSettleRecordResponse) String() string
- func (m *QueryGetAutoSettleRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAutoSettleRecordResponse) XXX_DiscardUnknown()
- func (m *QueryGetAutoSettleRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAutoSettleRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAutoSettleRecordResponse) XXX_Size() int
- func (m *QueryGetAutoSettleRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountCountRequest
- func (*QueryGetPaymentAccountCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountCountRequest) GetOwner() string
- func (m *QueryGetPaymentAccountCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountCountRequest) ProtoMessage()
- func (m *QueryGetPaymentAccountCountRequest) Reset()
- func (m *QueryGetPaymentAccountCountRequest) Size() (n int)
- func (m *QueryGetPaymentAccountCountRequest) String() string
- func (m *QueryGetPaymentAccountCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountCountRequest) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountCountRequest) XXX_Size() int
- func (m *QueryGetPaymentAccountCountRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountCountResponse
- func (*QueryGetPaymentAccountCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountCountResponse) GetPaymentAccountCount() PaymentAccountCount
- func (m *QueryGetPaymentAccountCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountCountResponse) ProtoMessage()
- func (m *QueryGetPaymentAccountCountResponse) Reset()
- func (m *QueryGetPaymentAccountCountResponse) Size() (n int)
- func (m *QueryGetPaymentAccountCountResponse) String() string
- func (m *QueryGetPaymentAccountCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountCountResponse) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountCountResponse) XXX_Size() int
- func (m *QueryGetPaymentAccountCountResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountRequest
- func (*QueryGetPaymentAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountRequest) GetAddr() string
- func (m *QueryGetPaymentAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountRequest) ProtoMessage()
- func (m *QueryGetPaymentAccountRequest) Reset()
- func (m *QueryGetPaymentAccountRequest) Size() (n int)
- func (m *QueryGetPaymentAccountRequest) String() string
- func (m *QueryGetPaymentAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountRequest) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountRequest) XXX_Size() int
- func (m *QueryGetPaymentAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountResponse
- func (*QueryGetPaymentAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountResponse) GetPaymentAccount() PaymentAccount
- func (m *QueryGetPaymentAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountResponse) ProtoMessage()
- func (m *QueryGetPaymentAccountResponse) Reset()
- func (m *QueryGetPaymentAccountResponse) Size() (n int)
- func (m *QueryGetPaymentAccountResponse) String() string
- func (m *QueryGetPaymentAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountResponse) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountResponse) XXX_Size() int
- func (m *QueryGetPaymentAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountsByOwnerRequest
- func (*QueryGetPaymentAccountsByOwnerRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountsByOwnerRequest) GetOwner() string
- func (m *QueryGetPaymentAccountsByOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountsByOwnerRequest) ProtoMessage()
- func (m *QueryGetPaymentAccountsByOwnerRequest) Reset()
- func (m *QueryGetPaymentAccountsByOwnerRequest) Size() (n int)
- func (m *QueryGetPaymentAccountsByOwnerRequest) String() string
- func (m *QueryGetPaymentAccountsByOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Size() int
- func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPaymentAccountsByOwnerResponse
- func (*QueryGetPaymentAccountsByOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPaymentAccountsByOwnerResponse) GetPaymentAccounts() []string
- func (m *QueryGetPaymentAccountsByOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPaymentAccountsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPaymentAccountsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPaymentAccountsByOwnerResponse) ProtoMessage()
- func (m *QueryGetPaymentAccountsByOwnerResponse) Reset()
- func (m *QueryGetPaymentAccountsByOwnerResponse) Size() (n int)
- func (m *QueryGetPaymentAccountsByOwnerResponse) String() string
- func (m *QueryGetPaymentAccountsByOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Size() int
- func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStreamRecordRequest
- func (*QueryGetStreamRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStreamRecordRequest) GetAccount() string
- func (m *QueryGetStreamRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStreamRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStreamRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStreamRecordRequest) ProtoMessage()
- func (m *QueryGetStreamRecordRequest) Reset()
- func (m *QueryGetStreamRecordRequest) Size() (n int)
- func (m *QueryGetStreamRecordRequest) String() string
- func (m *QueryGetStreamRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStreamRecordRequest) XXX_DiscardUnknown()
- func (m *QueryGetStreamRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStreamRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStreamRecordRequest) XXX_Size() int
- func (m *QueryGetStreamRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStreamRecordResponse
- func (*QueryGetStreamRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStreamRecordResponse) GetStreamRecord() StreamRecord
- func (m *QueryGetStreamRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStreamRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStreamRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStreamRecordResponse) ProtoMessage()
- func (m *QueryGetStreamRecordResponse) Reset()
- func (m *QueryGetStreamRecordResponse) Size() (n int)
- func (m *QueryGetStreamRecordResponse) String() string
- func (m *QueryGetStreamRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStreamRecordResponse) XXX_DiscardUnknown()
- func (m *QueryGetStreamRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStreamRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStreamRecordResponse) XXX_Size() int
- func (m *QueryGetStreamRecordResponse) 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 SpKeeper
- type StoragePrice
- type StoragePriceParams
- type StreamAccountStatus
- type StreamRecord
- func (*StreamRecord) Descriptor() ([]byte, []int)
- func (m *StreamRecord) GetAccount() string
- func (m *StreamRecord) GetCrudTimestamp() int64
- func (m *StreamRecord) GetOutFlows() []OutFlow
- func (m *StreamRecord) GetSettleTimestamp() int64
- func (m *StreamRecord) GetStatus() StreamAccountStatus
- func (m *StreamRecord) Marshal() (dAtA []byte, err error)
- func (m *StreamRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamRecord) ProtoMessage()
- func (m *StreamRecord) Reset()
- func (m *StreamRecord) Size() (n int)
- func (m *StreamRecord) String() string
- func (m *StreamRecord) Unmarshal(dAtA []byte) error
- func (m *StreamRecord) XXX_DiscardUnknown()
- func (m *StreamRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamRecord) XXX_Merge(src proto.Message)
- func (m *StreamRecord) XXX_Size() int
- func (m *StreamRecord) XXX_Unmarshal(b []byte) error
- type StreamRecordChange
- func (change *StreamRecordChange) WithLockBalanceChange(lockBalanceChange sdkmath.Int) *StreamRecordChange
- func (change *StreamRecordChange) WithRateChange(rateChange sdkmath.Int) *StreamRecordChange
- func (change *StreamRecordChange) WithStaticBalanceChange(staticBalanceChange sdkmath.Int) *StreamRecordChange
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreatePaymentAccount(ctx context.Context, req *MsgCreatePaymentAccount) (*MsgCreatePaymentAccountResponse, error)
- func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
- func (*UnimplementedMsgServer) DisableRefund(ctx context.Context, req *MsgDisableRefund) (*MsgDisableRefundResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AutoSettleRecord(ctx context.Context, req *QueryGetAutoSettleRecordRequest) (*QueryGetAutoSettleRecordResponse, error)
- func (*UnimplementedQueryServer) AutoSettleRecordAll(ctx context.Context, req *QueryAllAutoSettleRecordRequest) (*QueryAllAutoSettleRecordResponse, error)
- func (*UnimplementedQueryServer) DynamicBalance(ctx context.Context, req *QueryDynamicBalanceRequest) (*QueryDynamicBalanceResponse, error)
- func (*UnimplementedQueryServer) GetPaymentAccountsByOwner(ctx context.Context, req *QueryGetPaymentAccountsByOwnerRequest) (*QueryGetPaymentAccountsByOwnerResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) PaymentAccount(ctx context.Context, req *QueryGetPaymentAccountRequest) (*QueryGetPaymentAccountResponse, error)
- func (*UnimplementedQueryServer) PaymentAccountAll(ctx context.Context, req *QueryAllPaymentAccountRequest) (*QueryAllPaymentAccountResponse, error)
- func (*UnimplementedQueryServer) PaymentAccountCount(ctx context.Context, req *QueryGetPaymentAccountCountRequest) (*QueryGetPaymentAccountCountResponse, error)
- func (*UnimplementedQueryServer) PaymentAccountCountAll(ctx context.Context, req *QueryAllPaymentAccountCountRequest) (*QueryAllPaymentAccountCountResponse, error)
- func (*UnimplementedQueryServer) StreamRecord(ctx context.Context, req *QueryGetStreamRecordRequest) (*QueryGetStreamRecordResponse, error)
- func (*UnimplementedQueryServer) StreamRecordAll(ctx context.Context, req *QueryAllStreamRecordRequest) (*QueryAllStreamRecordResponse, error)
- type UserFlows
Constants ¶
const ( // ModuleName defines the module name ModuleName = "payment" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_payment" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgCreatePaymentAccount = "create_payment_account"
const TypeMsgDeposit = "deposit"
const TypeMsgDisableRefund = "disable_refund"
const TypeMsgWithdraw = "withdraw"
Variables ¶
var ( ErrInvalidLengthAutoSettleRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAutoSettleRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAutoSettleRecord = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthBase = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBase = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBase = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrReachPaymentAccountLimit = errorsmod.Register(ModuleName, 1200, "reach payment account count limit") ErrInvalidState = errorsmod.Register(ModuleName, 1201, "invalid state") ErrPaymentAccountNotFound = errorsmod.Register(ModuleName, 1202, "payment account not found") ErrStreamRecordNotFound = errorsmod.Register(ModuleName, 1203, "stream record not found") ErrNotPaymentAccountOwner = errorsmod.Register(ModuleName, 1204, "not payment account owner") ErrPaymentAccountAlreadyNonRefundable = errorsmod.Register(ModuleName, 1205, "payment account has already be set as non-refundable") ErrInsufficientBalance = errorsmod.Register(ModuleName, 1206, "insufficient balance") ErrReceiveAccountNotExist = errorsmod.Register(ModuleName, 1207, "receive account not exist") ErrInvalidStreamAccountStatus = errorsmod.Register(ModuleName, 1208, "invalid stream account status") )
x/payment module sentinel errors
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = 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 ( // GovernanceAddress used to receive fee of storage system, and pay for the potential debt from late forced settlement GovernanceAddress = sdk.AccAddress(address.Module(ModuleName, []byte("governance"))[:sdk.EthAddressLength]) AutoSettleRecordKeyPrefix = []byte{0x01} StreamRecordKeyPrefix = []byte{0x02} PaymentAccountCountKeyPrefix = []byte{0x03} PaymentAccountKeyPrefix = []byte{0x04} )
var ( KeyReserveTime = []byte("ReserveTime") KeyForcedSettleTime = []byte("ForcedSettleTime") KeyPaymentAccountCountLimit = []byte("PaymentAccountCountLimit") KeyMaxAutoForceSettleNum = []byte("MaxAutoForceSettleNum") KeyFeeDenom = []byte("FeeDenom") DefaultReserveTime uint64 = 180 * 24 * 60 * 60 // 180 days DefaultForcedSettleTime uint64 = 24 * 60 * 60 // 1 day DefaultPaymentAccountCountLimit uint64 = 200 DefaultMaxAutoForceSettleNum uint64 = 100 DefaultFeeDenom string = "BNB" )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPaymentAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPaymentAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPaymentAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPaymentAccountCount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPaymentAccountCount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPaymentAccountCount = 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 ( ErrInvalidLengthStreamRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStreamRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStreamRecord = 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 StreamAccountStatus_name = map[int32]string{
0: "STREAM_ACCOUNT_STATUS_ACTIVE",
1: "STREAM_ACCOUNT_STATUS_FROZEN",
}
var StreamAccountStatus_value = map[string]int32{
"STREAM_ACCOUNT_STATUS_ACTIVE": 0,
"STREAM_ACCOUNT_STATUS_FROZEN": 1,
}
Functions ¶
func AutoSettleRecordKey ¶
func AutoSettleRecordKey( timestamp int64, addr sdk.AccAddress, ) []byte
AutoSettleRecordKey returns the store key to retrieve a AutoSettleRecord from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func PaymentAccountCountKey ¶
func PaymentAccountCountKey( owner sdk.AccAddress, ) []byte
PaymentAccountCountKey returns the store key to retrieve a PaymentAccountCount from the index fields
func PaymentAccountKey ¶
func PaymentAccountKey( addr sdk.AccAddress, ) []byte
PaymentAccountKey returns the store key to retrieve a PaymentAccount from the index fields
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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)
func StreamRecordKey ¶
func StreamRecordKey( account sdk.AccAddress, ) []byte
StreamRecordKey returns the store key to retrieve a StreamRecord from the index fields
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI SetModuleAccount(sdk.Context, authtypes.ModuleAccountI) }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AutoSettleRecord ¶
type AutoSettleRecord struct { // timestamp is the unix timestamp when the stream account will be settled. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // A stream account address Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` }
AutoSettleRecord is the record keeps the auto settle information. The EndBlocker of payment module will scan the list of AutoSettleRecord and settle the stream account if the timestamp is less than the current time.
func ParseAutoSettleRecordKey ¶
func ParseAutoSettleRecordKey(key []byte) (res AutoSettleRecord)
func (*AutoSettleRecord) Descriptor ¶
func (*AutoSettleRecord) Descriptor() ([]byte, []int)
func (*AutoSettleRecord) GetAddr ¶
func (m *AutoSettleRecord) GetAddr() string
func (*AutoSettleRecord) GetTimestamp ¶
func (m *AutoSettleRecord) GetTimestamp() int64
func (*AutoSettleRecord) Marshal ¶
func (m *AutoSettleRecord) Marshal() (dAtA []byte, err error)
func (*AutoSettleRecord) MarshalToSizedBuffer ¶
func (m *AutoSettleRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AutoSettleRecord) ProtoMessage ¶
func (*AutoSettleRecord) ProtoMessage()
func (*AutoSettleRecord) Reset ¶
func (m *AutoSettleRecord) Reset()
func (*AutoSettleRecord) Size ¶
func (m *AutoSettleRecord) Size() (n int)
func (*AutoSettleRecord) String ¶
func (m *AutoSettleRecord) String() string
func (*AutoSettleRecord) Unmarshal ¶
func (m *AutoSettleRecord) Unmarshal(dAtA []byte) error
func (*AutoSettleRecord) XXX_DiscardUnknown ¶
func (m *AutoSettleRecord) XXX_DiscardUnknown()
func (*AutoSettleRecord) XXX_Marshal ¶
func (m *AutoSettleRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutoSettleRecord) XXX_Merge ¶
func (m *AutoSettleRecord) XXX_Merge(src proto.Message)
func (*AutoSettleRecord) XXX_Size ¶
func (m *AutoSettleRecord) XXX_Size() int
func (*AutoSettleRecord) XXX_Unmarshal ¶
func (m *AutoSettleRecord) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type EventDeposit ¶ added in v0.0.7
type EventDeposit struct { // from is the the address of the account to deposit from From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // to is the address of the stream account to deposit to To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // amount is the amount to deposit Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*EventDeposit) Descriptor ¶ added in v0.0.7
func (*EventDeposit) Descriptor() ([]byte, []int)
func (*EventDeposit) GetFrom ¶ added in v0.0.7
func (m *EventDeposit) GetFrom() string
func (*EventDeposit) GetTo ¶ added in v0.0.7
func (m *EventDeposit) GetTo() string
func (*EventDeposit) Marshal ¶ added in v0.0.7
func (m *EventDeposit) Marshal() (dAtA []byte, err error)
func (*EventDeposit) MarshalTo ¶ added in v0.0.7
func (m *EventDeposit) MarshalTo(dAtA []byte) (int, error)
func (*EventDeposit) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EventDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeposit) ProtoMessage ¶ added in v0.0.7
func (*EventDeposit) ProtoMessage()
func (*EventDeposit) Reset ¶ added in v0.0.7
func (m *EventDeposit) Reset()
func (*EventDeposit) Size ¶ added in v0.0.7
func (m *EventDeposit) Size() (n int)
func (*EventDeposit) String ¶ added in v0.0.7
func (m *EventDeposit) String() string
func (*EventDeposit) Unmarshal ¶ added in v0.0.7
func (m *EventDeposit) Unmarshal(dAtA []byte) error
func (*EventDeposit) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EventDeposit) XXX_DiscardUnknown()
func (*EventDeposit) XXX_Marshal ¶ added in v0.0.7
func (m *EventDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeposit) XXX_Merge ¶ added in v0.0.7
func (m *EventDeposit) XXX_Merge(src proto.Message)
func (*EventDeposit) XXX_Size ¶ added in v0.0.7
func (m *EventDeposit) XXX_Size() int
func (*EventDeposit) XXX_Unmarshal ¶ added in v0.0.7
func (m *EventDeposit) XXX_Unmarshal(b []byte) error
type EventForceSettle ¶
type EventForceSettle struct { // address of the payment account Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // left balance of the payment account after force settlement // if the balance is positive, it will go to the governance stream account // if the balance is negative, it's the debt of the system, which will be paid by the governance stream account SettledBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ }
EventForceSettle may be emitted on all Msgs and EndBlocker when a payment account's balance or net outflow rate is changed
func (*EventForceSettle) Descriptor ¶
func (*EventForceSettle) Descriptor() ([]byte, []int)
func (*EventForceSettle) GetAddr ¶
func (m *EventForceSettle) GetAddr() string
func (*EventForceSettle) Marshal ¶
func (m *EventForceSettle) Marshal() (dAtA []byte, err error)
func (*EventForceSettle) MarshalToSizedBuffer ¶
func (m *EventForceSettle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventForceSettle) ProtoMessage ¶
func (*EventForceSettle) ProtoMessage()
func (*EventForceSettle) Reset ¶
func (m *EventForceSettle) Reset()
func (*EventForceSettle) Size ¶
func (m *EventForceSettle) Size() (n int)
func (*EventForceSettle) String ¶
func (m *EventForceSettle) String() string
func (*EventForceSettle) Unmarshal ¶
func (m *EventForceSettle) Unmarshal(dAtA []byte) error
func (*EventForceSettle) XXX_DiscardUnknown ¶
func (m *EventForceSettle) XXX_DiscardUnknown()
func (*EventForceSettle) XXX_Marshal ¶
func (m *EventForceSettle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventForceSettle) XXX_Merge ¶
func (m *EventForceSettle) XXX_Merge(src proto.Message)
func (*EventForceSettle) XXX_Size ¶
func (m *EventForceSettle) XXX_Size() int
func (*EventForceSettle) XXX_Unmarshal ¶
func (m *EventForceSettle) XXX_Unmarshal(b []byte) error
type EventPaymentAccountUpdate ¶ added in v0.0.7
type EventPaymentAccountUpdate struct { // address of the payment account Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // owner address of the payment account Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // whether the payment account is refundable Refundable bool `protobuf:"varint,3,opt,name=refundable,proto3" json:"refundable,omitempty"` }
func (*EventPaymentAccountUpdate) Descriptor ¶ added in v0.0.7
func (*EventPaymentAccountUpdate) Descriptor() ([]byte, []int)
func (*EventPaymentAccountUpdate) GetAddr ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) GetAddr() string
func (*EventPaymentAccountUpdate) GetOwner ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) GetOwner() string
func (*EventPaymentAccountUpdate) GetRefundable ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) GetRefundable() bool
func (*EventPaymentAccountUpdate) Marshal ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) Marshal() (dAtA []byte, err error)
func (*EventPaymentAccountUpdate) MarshalTo ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) MarshalTo(dAtA []byte) (int, error)
func (*EventPaymentAccountUpdate) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPaymentAccountUpdate) ProtoMessage ¶ added in v0.0.7
func (*EventPaymentAccountUpdate) ProtoMessage()
func (*EventPaymentAccountUpdate) Reset ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) Reset()
func (*EventPaymentAccountUpdate) Size ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) Size() (n int)
func (*EventPaymentAccountUpdate) String ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) String() string
func (*EventPaymentAccountUpdate) Unmarshal ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) Unmarshal(dAtA []byte) error
func (*EventPaymentAccountUpdate) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) XXX_DiscardUnknown()
func (*EventPaymentAccountUpdate) XXX_Marshal ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPaymentAccountUpdate) XXX_Merge ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) XXX_Merge(src proto.Message)
func (*EventPaymentAccountUpdate) XXX_Size ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) XXX_Size() int
func (*EventPaymentAccountUpdate) XXX_Unmarshal ¶ added in v0.0.7
func (m *EventPaymentAccountUpdate) XXX_Unmarshal(b []byte) error
type EventStreamRecordUpdate ¶ added in v0.0.7
type EventStreamRecordUpdate struct { // account address Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // latest update timestamp of the stream record CrudTimestamp int64 `protobuf:"varint,2,opt,name=crud_timestamp,json=crudTimestamp,proto3" json:"crud_timestamp,omitempty"` // The per-second rate that an account's balance is changing. // It is the sum of the account's inbound and outbound flow rates. NetflowRate github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ // The balance of the stream account at the latest CRUD timestamp. StaticBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // reserved balance of the stream account // If the netflow rate is negative, the reserved balance is `netflow_rate * reserve_time` BufferBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // the locked balance of the stream account after it puts a new object and before the object is sealed LockBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ // the status of the stream account Status StreamAccountStatus `protobuf:"varint,7,opt,name=status,proto3,enum=bnbchain.greenfield.payment.StreamAccountStatus" json:"status,omitempty"` // the unix timestamp when the stream account will be settled SettleTimestamp int64 `protobuf:"varint,8,opt,name=settle_timestamp,json=settleTimestamp,proto3" json:"settle_timestamp,omitempty"` // the accumulated outflow rates of the stream account OutFlows []OutFlow `protobuf:"bytes,9,rep,name=out_flows,json=outFlows,proto3" json:"out_flows"` }
Stream Payment Record of a stream account
func (*EventStreamRecordUpdate) Descriptor ¶ added in v0.0.7
func (*EventStreamRecordUpdate) Descriptor() ([]byte, []int)
func (*EventStreamRecordUpdate) GetAccount ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) GetAccount() string
func (*EventStreamRecordUpdate) GetCrudTimestamp ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) GetCrudTimestamp() int64
func (*EventStreamRecordUpdate) GetOutFlows ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) GetOutFlows() []OutFlow
func (*EventStreamRecordUpdate) GetSettleTimestamp ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) GetSettleTimestamp() int64
func (*EventStreamRecordUpdate) GetStatus ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) GetStatus() StreamAccountStatus
func (*EventStreamRecordUpdate) Marshal ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) Marshal() (dAtA []byte, err error)
func (*EventStreamRecordUpdate) MarshalTo ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) MarshalTo(dAtA []byte) (int, error)
func (*EventStreamRecordUpdate) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStreamRecordUpdate) ProtoMessage ¶ added in v0.0.7
func (*EventStreamRecordUpdate) ProtoMessage()
func (*EventStreamRecordUpdate) Reset ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) Reset()
func (*EventStreamRecordUpdate) Size ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) Size() (n int)
func (*EventStreamRecordUpdate) String ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) String() string
func (*EventStreamRecordUpdate) Unmarshal ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) Unmarshal(dAtA []byte) error
func (*EventStreamRecordUpdate) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) XXX_DiscardUnknown()
func (*EventStreamRecordUpdate) XXX_Marshal ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStreamRecordUpdate) XXX_Merge ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) XXX_Merge(src proto.Message)
func (*EventStreamRecordUpdate) XXX_Size ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) XXX_Size() int
func (*EventStreamRecordUpdate) XXX_Unmarshal ¶ added in v0.0.7
func (m *EventStreamRecordUpdate) XXX_Unmarshal(b []byte) error
type EventWithdraw ¶ added in v0.0.7
type EventWithdraw struct { // to the address of the receive account To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` // from is the address of the stream account to withdraw from From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // amount is the amount to withdraw Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*EventWithdraw) Descriptor ¶ added in v0.0.7
func (*EventWithdraw) Descriptor() ([]byte, []int)
func (*EventWithdraw) GetFrom ¶ added in v0.0.7
func (m *EventWithdraw) GetFrom() string
func (*EventWithdraw) GetTo ¶ added in v0.0.7
func (m *EventWithdraw) GetTo() string
func (*EventWithdraw) Marshal ¶ added in v0.0.7
func (m *EventWithdraw) Marshal() (dAtA []byte, err error)
func (*EventWithdraw) MarshalTo ¶ added in v0.0.7
func (m *EventWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*EventWithdraw) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EventWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventWithdraw) ProtoMessage ¶ added in v0.0.7
func (*EventWithdraw) ProtoMessage()
func (*EventWithdraw) Reset ¶ added in v0.0.7
func (m *EventWithdraw) Reset()
func (*EventWithdraw) Size ¶ added in v0.0.7
func (m *EventWithdraw) Size() (n int)
func (*EventWithdraw) String ¶ added in v0.0.7
func (m *EventWithdraw) String() string
func (*EventWithdraw) Unmarshal ¶ added in v0.0.7
func (m *EventWithdraw) Unmarshal(dAtA []byte) error
func (*EventWithdraw) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EventWithdraw) XXX_DiscardUnknown()
func (*EventWithdraw) XXX_Marshal ¶ added in v0.0.7
func (m *EventWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventWithdraw) XXX_Merge ¶ added in v0.0.7
func (m *EventWithdraw) XXX_Merge(src proto.Message)
func (*EventWithdraw) XXX_Size ¶ added in v0.0.7
func (m *EventWithdraw) XXX_Size() int
func (*EventWithdraw) XXX_Unmarshal ¶ added in v0.0.7
func (m *EventWithdraw) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` StreamRecordList []StreamRecord `protobuf:"bytes,2,rep,name=stream_record_list,json=streamRecordList,proto3" json:"stream_record_list"` PaymentAccountCountList []PaymentAccountCount `protobuf:"bytes,3,rep,name=payment_account_count_list,json=paymentAccountCountList,proto3" json:"payment_account_count_list"` PaymentAccountList []PaymentAccount `protobuf:"bytes,4,rep,name=payment_account_list,json=paymentAccountList,proto3" json:"payment_account_list"` AutoSettleRecordList []AutoSettleRecord `protobuf:"bytes,5,rep,name=auto_settle_record_list,json=autoSettleRecordList,proto3" json:"auto_settle_record_list"` }
GenesisState defines the payment module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAutoSettleRecordList ¶
func (m *GenesisState) GetAutoSettleRecordList() []AutoSettleRecord
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPaymentAccountCountList ¶
func (m *GenesisState) GetPaymentAccountCountList() []PaymentAccountCount
func (*GenesisState) GetPaymentAccountList ¶
func (m *GenesisState) GetPaymentAccountList() []PaymentAccount
func (*GenesisState) GetStreamRecordList ¶
func (m *GenesisState) GetStreamRecordList() []StreamRecord
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 { CreatePaymentAccount(ctx context.Context, in *MsgCreatePaymentAccount, opts ...grpc.CallOption) (*MsgCreatePaymentAccountResponse, error) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) DisableRefund(ctx context.Context, in *MsgDisableRefund, opts ...grpc.CallOption) (*MsgDisableRefundResponse, 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 MsgCreatePaymentAccount ¶
type MsgCreatePaymentAccount struct { // creator is the address of the stream account that created the payment account Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgCreatePaymentAccount ¶
func NewMsgCreatePaymentAccount(creator string) *MsgCreatePaymentAccount
func (*MsgCreatePaymentAccount) Descriptor ¶
func (*MsgCreatePaymentAccount) Descriptor() ([]byte, []int)
func (*MsgCreatePaymentAccount) GetCreator ¶
func (m *MsgCreatePaymentAccount) GetCreator() string
func (*MsgCreatePaymentAccount) GetSignBytes ¶
func (msg *MsgCreatePaymentAccount) GetSignBytes() []byte
func (*MsgCreatePaymentAccount) GetSigners ¶
func (msg *MsgCreatePaymentAccount) GetSigners() []sdk.AccAddress
func (*MsgCreatePaymentAccount) Marshal ¶
func (m *MsgCreatePaymentAccount) Marshal() (dAtA []byte, err error)
func (*MsgCreatePaymentAccount) MarshalTo ¶
func (m *MsgCreatePaymentAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePaymentAccount) MarshalToSizedBuffer ¶
func (m *MsgCreatePaymentAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePaymentAccount) ProtoMessage ¶
func (*MsgCreatePaymentAccount) ProtoMessage()
func (*MsgCreatePaymentAccount) Reset ¶
func (m *MsgCreatePaymentAccount) Reset()
func (*MsgCreatePaymentAccount) Route ¶
func (msg *MsgCreatePaymentAccount) Route() string
func (*MsgCreatePaymentAccount) Size ¶
func (m *MsgCreatePaymentAccount) Size() (n int)
func (*MsgCreatePaymentAccount) String ¶
func (m *MsgCreatePaymentAccount) String() string
func (*MsgCreatePaymentAccount) Type ¶
func (msg *MsgCreatePaymentAccount) Type() string
func (*MsgCreatePaymentAccount) Unmarshal ¶
func (m *MsgCreatePaymentAccount) Unmarshal(dAtA []byte) error
func (*MsgCreatePaymentAccount) ValidateBasic ¶
func (msg *MsgCreatePaymentAccount) ValidateBasic() error
func (*MsgCreatePaymentAccount) XXX_DiscardUnknown ¶
func (m *MsgCreatePaymentAccount) XXX_DiscardUnknown()
func (*MsgCreatePaymentAccount) XXX_Marshal ¶
func (m *MsgCreatePaymentAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePaymentAccount) XXX_Merge ¶
func (m *MsgCreatePaymentAccount) XXX_Merge(src proto.Message)
func (*MsgCreatePaymentAccount) XXX_Size ¶
func (m *MsgCreatePaymentAccount) XXX_Size() int
func (*MsgCreatePaymentAccount) XXX_Unmarshal ¶
func (m *MsgCreatePaymentAccount) XXX_Unmarshal(b []byte) error
type MsgCreatePaymentAccountResponse ¶
type MsgCreatePaymentAccountResponse struct { }
func (*MsgCreatePaymentAccountResponse) Descriptor ¶
func (*MsgCreatePaymentAccountResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePaymentAccountResponse) Marshal ¶
func (m *MsgCreatePaymentAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePaymentAccountResponse) MarshalTo ¶
func (m *MsgCreatePaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePaymentAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePaymentAccountResponse) ProtoMessage ¶
func (*MsgCreatePaymentAccountResponse) ProtoMessage()
func (*MsgCreatePaymentAccountResponse) Reset ¶
func (m *MsgCreatePaymentAccountResponse) Reset()
func (*MsgCreatePaymentAccountResponse) Size ¶
func (m *MsgCreatePaymentAccountResponse) Size() (n int)
func (*MsgCreatePaymentAccountResponse) String ¶
func (m *MsgCreatePaymentAccountResponse) String() string
func (*MsgCreatePaymentAccountResponse) Unmarshal ¶
func (m *MsgCreatePaymentAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePaymentAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePaymentAccountResponse) XXX_DiscardUnknown()
func (*MsgCreatePaymentAccountResponse) XXX_Marshal ¶
func (m *MsgCreatePaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePaymentAccountResponse) XXX_Merge ¶
func (m *MsgCreatePaymentAccountResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePaymentAccountResponse) XXX_Size ¶
func (m *MsgCreatePaymentAccountResponse) XXX_Size() int
func (*MsgCreatePaymentAccountResponse) XXX_Unmarshal ¶
func (m *MsgCreatePaymentAccountResponse) XXX_Unmarshal(b []byte) error
type MsgDeposit ¶
type MsgDeposit struct { // creator is the message signer for MsgDeposit and the address of the account to deposit from Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // to is the address of the account to deposit to To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // amount is the amount to deposit Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func NewMsgDeposit ¶
func NewMsgDeposit(creator string, to string, amount sdkmath.Int) *MsgDeposit
func (*MsgDeposit) Descriptor ¶
func (*MsgDeposit) Descriptor() ([]byte, []int)
func (*MsgDeposit) GetCreator ¶
func (m *MsgDeposit) GetCreator() string
func (*MsgDeposit) GetSignBytes ¶
func (msg *MsgDeposit) GetSignBytes() []byte
func (*MsgDeposit) GetSigners ¶
func (msg *MsgDeposit) GetSigners() []sdk.AccAddress
func (*MsgDeposit) GetTo ¶
func (m *MsgDeposit) GetTo() string
func (*MsgDeposit) Marshal ¶
func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
func (*MsgDeposit) MarshalToSizedBuffer ¶
func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeposit) ProtoMessage ¶
func (*MsgDeposit) ProtoMessage()
func (*MsgDeposit) Reset ¶
func (m *MsgDeposit) Reset()
func (*MsgDeposit) Route ¶
func (msg *MsgDeposit) Route() string
func (*MsgDeposit) Size ¶
func (m *MsgDeposit) Size() (n int)
func (*MsgDeposit) String ¶
func (m *MsgDeposit) String() string
func (*MsgDeposit) Type ¶
func (msg *MsgDeposit) Type() string
func (*MsgDeposit) Unmarshal ¶
func (m *MsgDeposit) Unmarshal(dAtA []byte) error
func (*MsgDeposit) ValidateBasic ¶
func (msg *MsgDeposit) ValidateBasic() error
func (*MsgDeposit) XXX_DiscardUnknown ¶
func (m *MsgDeposit) XXX_DiscardUnknown()
func (*MsgDeposit) XXX_Marshal ¶
func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeposit) XXX_Merge ¶
func (m *MsgDeposit) XXX_Merge(src proto.Message)
func (*MsgDeposit) XXX_Size ¶
func (m *MsgDeposit) XXX_Size() int
func (*MsgDeposit) XXX_Unmarshal ¶
func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
type MsgDepositResponse ¶
type MsgDepositResponse struct { }
func (*MsgDepositResponse) Descriptor ¶
func (*MsgDepositResponse) Descriptor() ([]byte, []int)
func (*MsgDepositResponse) Marshal ¶
func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositResponse) MarshalTo ¶
func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositResponse) ProtoMessage ¶
func (*MsgDepositResponse) ProtoMessage()
func (*MsgDepositResponse) Reset ¶
func (m *MsgDepositResponse) Reset()
func (*MsgDepositResponse) Size ¶
func (m *MsgDepositResponse) Size() (n int)
func (*MsgDepositResponse) String ¶
func (m *MsgDepositResponse) String() string
func (*MsgDepositResponse) Unmarshal ¶
func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositResponse) XXX_DiscardUnknown()
func (*MsgDepositResponse) XXX_Marshal ¶
func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositResponse) XXX_Merge ¶
func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
func (*MsgDepositResponse) XXX_Size ¶
func (m *MsgDepositResponse) XXX_Size() int
func (*MsgDepositResponse) XXX_Unmarshal ¶
func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
type MsgDisableRefund ¶
type MsgDisableRefund struct { // owner is the message signer for MsgDisableRefund and the address of the payment account owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // addr is the address of the payment account to disable refund Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` }
func NewMsgDisableRefund ¶
func NewMsgDisableRefund(owner string, addr string) *MsgDisableRefund
func (*MsgDisableRefund) Descriptor ¶
func (*MsgDisableRefund) Descriptor() ([]byte, []int)
func (*MsgDisableRefund) GetAddr ¶
func (m *MsgDisableRefund) GetAddr() string
func (*MsgDisableRefund) GetOwner ¶
func (m *MsgDisableRefund) GetOwner() string
func (*MsgDisableRefund) GetSignBytes ¶
func (msg *MsgDisableRefund) GetSignBytes() []byte
func (*MsgDisableRefund) GetSigners ¶
func (msg *MsgDisableRefund) GetSigners() []sdk.AccAddress
func (*MsgDisableRefund) Marshal ¶
func (m *MsgDisableRefund) Marshal() (dAtA []byte, err error)
func (*MsgDisableRefund) MarshalToSizedBuffer ¶
func (m *MsgDisableRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDisableRefund) ProtoMessage ¶
func (*MsgDisableRefund) ProtoMessage()
func (*MsgDisableRefund) Reset ¶
func (m *MsgDisableRefund) Reset()
func (*MsgDisableRefund) Route ¶
func (msg *MsgDisableRefund) Route() string
func (*MsgDisableRefund) Size ¶
func (m *MsgDisableRefund) Size() (n int)
func (*MsgDisableRefund) String ¶
func (m *MsgDisableRefund) String() string
func (*MsgDisableRefund) Type ¶
func (msg *MsgDisableRefund) Type() string
func (*MsgDisableRefund) Unmarshal ¶
func (m *MsgDisableRefund) Unmarshal(dAtA []byte) error
func (*MsgDisableRefund) ValidateBasic ¶
func (msg *MsgDisableRefund) ValidateBasic() error
func (*MsgDisableRefund) XXX_DiscardUnknown ¶
func (m *MsgDisableRefund) XXX_DiscardUnknown()
func (*MsgDisableRefund) XXX_Marshal ¶
func (m *MsgDisableRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDisableRefund) XXX_Merge ¶
func (m *MsgDisableRefund) XXX_Merge(src proto.Message)
func (*MsgDisableRefund) XXX_Size ¶
func (m *MsgDisableRefund) XXX_Size() int
func (*MsgDisableRefund) XXX_Unmarshal ¶
func (m *MsgDisableRefund) XXX_Unmarshal(b []byte) error
type MsgDisableRefundResponse ¶
type MsgDisableRefundResponse struct { }
func (*MsgDisableRefundResponse) Descriptor ¶
func (*MsgDisableRefundResponse) Descriptor() ([]byte, []int)
func (*MsgDisableRefundResponse) Marshal ¶
func (m *MsgDisableRefundResponse) Marshal() (dAtA []byte, err error)
func (*MsgDisableRefundResponse) MarshalTo ¶
func (m *MsgDisableRefundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDisableRefundResponse) MarshalToSizedBuffer ¶
func (m *MsgDisableRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDisableRefundResponse) ProtoMessage ¶
func (*MsgDisableRefundResponse) ProtoMessage()
func (*MsgDisableRefundResponse) Reset ¶
func (m *MsgDisableRefundResponse) Reset()
func (*MsgDisableRefundResponse) Size ¶
func (m *MsgDisableRefundResponse) Size() (n int)
func (*MsgDisableRefundResponse) String ¶
func (m *MsgDisableRefundResponse) String() string
func (*MsgDisableRefundResponse) Unmarshal ¶
func (m *MsgDisableRefundResponse) Unmarshal(dAtA []byte) error
func (*MsgDisableRefundResponse) XXX_DiscardUnknown ¶
func (m *MsgDisableRefundResponse) XXX_DiscardUnknown()
func (*MsgDisableRefundResponse) XXX_Marshal ¶
func (m *MsgDisableRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDisableRefundResponse) XXX_Merge ¶
func (m *MsgDisableRefundResponse) XXX_Merge(src proto.Message)
func (*MsgDisableRefundResponse) XXX_Size ¶
func (m *MsgDisableRefundResponse) XXX_Size() int
func (*MsgDisableRefundResponse) XXX_Unmarshal ¶
func (m *MsgDisableRefundResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreatePaymentAccount(context.Context, *MsgCreatePaymentAccount) (*MsgCreatePaymentAccountResponse, error) Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) DisableRefund(context.Context, *MsgDisableRefund) (*MsgDisableRefundResponse, error) }
MsgServer is the server API for Msg service.
type MsgWithdraw ¶
type MsgWithdraw struct { // creator is the message signer for MsgWithdraw and the address of the receive account Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // from is the address of the account to withdraw from From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // amount is the amount to withdraw Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func NewMsgWithdraw ¶
func NewMsgWithdraw(creator string, from string, amount sdkmath.Int) *MsgWithdraw
func (*MsgWithdraw) Descriptor ¶
func (*MsgWithdraw) Descriptor() ([]byte, []int)
func (*MsgWithdraw) GetCreator ¶
func (m *MsgWithdraw) GetCreator() string
func (*MsgWithdraw) GetFrom ¶
func (m *MsgWithdraw) GetFrom() string
func (*MsgWithdraw) GetSignBytes ¶
func (msg *MsgWithdraw) GetSignBytes() []byte
func (*MsgWithdraw) GetSigners ¶
func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) Reset ¶
func (m *MsgWithdraw) Reset()
func (*MsgWithdraw) Route ¶
func (msg *MsgWithdraw) Route() string
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) String ¶
func (m *MsgWithdraw) String() string
func (*MsgWithdraw) Type ¶
func (msg *MsgWithdraw) Type() string
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
func (*MsgWithdraw) ValidateBasic ¶
func (msg *MsgWithdraw) ValidateBasic() error
func (*MsgWithdraw) XXX_DiscardUnknown ¶
func (m *MsgWithdraw) XXX_DiscardUnknown()
func (*MsgWithdraw) XXX_Marshal ¶
func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdraw) XXX_Merge ¶
func (m *MsgWithdraw) XXX_Merge(src proto.Message)
func (*MsgWithdraw) XXX_Size ¶
func (m *MsgWithdraw) XXX_Size() int
func (*MsgWithdraw) XXX_Unmarshal ¶
func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct { }
func (*MsgWithdrawResponse) Descriptor ¶
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawResponse) Marshal ¶
func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawResponse) MarshalTo ¶
func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) Reset ¶
func (m *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) Size ¶
func (m *MsgWithdrawResponse) Size() (n int)
func (*MsgWithdrawResponse) String ¶
func (m *MsgWithdrawResponse) String() string
func (*MsgWithdrawResponse) Unmarshal ¶
func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
func (*MsgWithdrawResponse) XXX_Marshal ¶
func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawResponse) XXX_Merge ¶
func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawResponse) XXX_Size ¶
func (m *MsgWithdrawResponse) XXX_Size() int
func (*MsgWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
type OutFlow ¶ added in v0.0.7
type OutFlow struct { // stream account address who receives the flow, usually SP(service provider) ToAddress string `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // flow rate Rate github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rate"` }
OutFlow defines the accumulative outflow stream rate in BNB from a stream account or a bucket to a SP
func (*OutFlow) Descriptor ¶ added in v0.0.7
func (*OutFlow) GetToAddress ¶ added in v0.0.7
func (*OutFlow) MarshalToSizedBuffer ¶ added in v0.0.7
func (*OutFlow) ProtoMessage ¶ added in v0.0.7
func (*OutFlow) ProtoMessage()
func (*OutFlow) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *OutFlow) XXX_DiscardUnknown()
func (*OutFlow) XXX_Marshal ¶ added in v0.0.7
func (*OutFlow) XXX_Unmarshal ¶ added in v0.0.7
type Params ¶
type Params struct { // Time duration which the buffer balance need to be reserved for NetOutFlow e.g. 6 month ReserveTime uint64 `protobuf:"varint,1,opt,name=reserve_time,json=reserveTime,proto3" json:"reserve_time,omitempty" yaml:"reserve_time"` // The maximum number of payment accounts that can be created by one user PaymentAccountCountLimit uint64 `` /* 173-byte string literal not displayed */ // Time duration threshold of forced settlement. // If dynamic balance is less than NetOutFlowRate * forcedSettleTime, the account can be forced settled. ForcedSettleTime uint64 `` /* 138-byte string literal not displayed */ // the maximum number of accounts that will be forced settled in one block MaxAutoForceSettleNum uint64 `` /* 164-byte string literal not displayed */ // The denom of fee charged in payment module FeeDenom string `protobuf:"bytes,5,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty" yaml:"fee_denom"` }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( reserveTime uint64, forcedSettleTime uint64, paymentAccountCountLimit uint64, maxAutoForceSettleNum uint64, feeDenom string, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetFeeDenom ¶
func (*Params) GetForcedSettleTime ¶
func (*Params) GetMaxAutoForceSettleNum ¶
func (*Params) GetPaymentAccountCountLimit ¶
func (*Params) GetReserveTime ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PaymentAccount ¶
type PaymentAccount struct { // the address of the payment account Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // the owner address of the payment account Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // whether the payment account is refundable Refundable bool `protobuf:"varint,3,opt,name=refundable,proto3" json:"refundable,omitempty"` }
PaymentAccount defines a payment account
func (*PaymentAccount) Descriptor ¶
func (*PaymentAccount) Descriptor() ([]byte, []int)
func (*PaymentAccount) GetAddr ¶
func (m *PaymentAccount) GetAddr() string
func (*PaymentAccount) GetOwner ¶
func (m *PaymentAccount) GetOwner() string
func (*PaymentAccount) GetRefundable ¶
func (m *PaymentAccount) GetRefundable() bool
func (*PaymentAccount) Marshal ¶
func (m *PaymentAccount) Marshal() (dAtA []byte, err error)
func (*PaymentAccount) MarshalToSizedBuffer ¶
func (m *PaymentAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PaymentAccount) ProtoMessage ¶
func (*PaymentAccount) ProtoMessage()
func (*PaymentAccount) Reset ¶
func (m *PaymentAccount) Reset()
func (*PaymentAccount) Size ¶
func (m *PaymentAccount) Size() (n int)
func (*PaymentAccount) String ¶
func (m *PaymentAccount) String() string
func (*PaymentAccount) Unmarshal ¶
func (m *PaymentAccount) Unmarshal(dAtA []byte) error
func (*PaymentAccount) XXX_DiscardUnknown ¶
func (m *PaymentAccount) XXX_DiscardUnknown()
func (*PaymentAccount) XXX_Marshal ¶
func (m *PaymentAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaymentAccount) XXX_Merge ¶
func (m *PaymentAccount) XXX_Merge(src proto.Message)
func (*PaymentAccount) XXX_Size ¶
func (m *PaymentAccount) XXX_Size() int
func (*PaymentAccount) XXX_Unmarshal ¶
func (m *PaymentAccount) XXX_Unmarshal(b []byte) error
type PaymentAccountCount ¶
type PaymentAccountCount struct { // owner is the account address Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // count is the number of payment accounts for the account Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` }
PaymentAccountCount defines the state struct which stores the number of payment accounts for an account
func (*PaymentAccountCount) Descriptor ¶
func (*PaymentAccountCount) Descriptor() ([]byte, []int)
func (*PaymentAccountCount) GetCount ¶
func (m *PaymentAccountCount) GetCount() uint64
func (*PaymentAccountCount) GetOwner ¶
func (m *PaymentAccountCount) GetOwner() string
func (*PaymentAccountCount) Marshal ¶
func (m *PaymentAccountCount) Marshal() (dAtA []byte, err error)
func (*PaymentAccountCount) MarshalTo ¶
func (m *PaymentAccountCount) MarshalTo(dAtA []byte) (int, error)
func (*PaymentAccountCount) MarshalToSizedBuffer ¶
func (m *PaymentAccountCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PaymentAccountCount) ProtoMessage ¶
func (*PaymentAccountCount) ProtoMessage()
func (*PaymentAccountCount) Reset ¶
func (m *PaymentAccountCount) Reset()
func (*PaymentAccountCount) Size ¶
func (m *PaymentAccountCount) Size() (n int)
func (*PaymentAccountCount) String ¶
func (m *PaymentAccountCount) String() string
func (*PaymentAccountCount) Unmarshal ¶
func (m *PaymentAccountCount) Unmarshal(dAtA []byte) error
func (*PaymentAccountCount) XXX_DiscardUnknown ¶
func (m *PaymentAccountCount) XXX_DiscardUnknown()
func (*PaymentAccountCount) XXX_Marshal ¶
func (m *PaymentAccountCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaymentAccountCount) XXX_Merge ¶
func (m *PaymentAccountCount) XXX_Merge(src proto.Message)
func (*PaymentAccountCount) XXX_Size ¶
func (m *PaymentAccountCount) XXX_Size() int
func (*PaymentAccountCount) XXX_Unmarshal ¶
func (m *PaymentAccountCount) XXX_Unmarshal(b []byte) error
type QueryAllAutoSettleRecordRequest ¶
type QueryAllAutoSettleRecordRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllAutoSettleRecordRequest) Descriptor ¶
func (*QueryAllAutoSettleRecordRequest) Descriptor() ([]byte, []int)
func (*QueryAllAutoSettleRecordRequest) GetPagination ¶
func (m *QueryAllAutoSettleRecordRequest) GetPagination() *query.PageRequest
func (*QueryAllAutoSettleRecordRequest) Marshal ¶
func (m *QueryAllAutoSettleRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllAutoSettleRecordRequest) MarshalTo ¶
func (m *QueryAllAutoSettleRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAutoSettleRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryAllAutoSettleRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAutoSettleRecordRequest) ProtoMessage ¶
func (*QueryAllAutoSettleRecordRequest) ProtoMessage()
func (*QueryAllAutoSettleRecordRequest) Reset ¶
func (m *QueryAllAutoSettleRecordRequest) Reset()
func (*QueryAllAutoSettleRecordRequest) Size ¶
func (m *QueryAllAutoSettleRecordRequest) Size() (n int)
func (*QueryAllAutoSettleRecordRequest) String ¶
func (m *QueryAllAutoSettleRecordRequest) String() string
func (*QueryAllAutoSettleRecordRequest) Unmarshal ¶
func (m *QueryAllAutoSettleRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryAllAutoSettleRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryAllAutoSettleRecordRequest) XXX_DiscardUnknown()
func (*QueryAllAutoSettleRecordRequest) XXX_Marshal ¶
func (m *QueryAllAutoSettleRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAutoSettleRecordRequest) XXX_Merge ¶
func (m *QueryAllAutoSettleRecordRequest) XXX_Merge(src proto.Message)
func (*QueryAllAutoSettleRecordRequest) XXX_Size ¶
func (m *QueryAllAutoSettleRecordRequest) XXX_Size() int
func (*QueryAllAutoSettleRecordRequest) XXX_Unmarshal ¶
func (m *QueryAllAutoSettleRecordRequest) XXX_Unmarshal(b []byte) error
type QueryAllAutoSettleRecordResponse ¶
type QueryAllAutoSettleRecordResponse struct { AutoSettleRecord []AutoSettleRecord `protobuf:"bytes,1,rep,name=auto_settle_record,json=autoSettleRecord,proto3" json:"auto_settle_record"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllAutoSettleRecordResponse) Descriptor ¶
func (*QueryAllAutoSettleRecordResponse) Descriptor() ([]byte, []int)
func (*QueryAllAutoSettleRecordResponse) GetAutoSettleRecord ¶
func (m *QueryAllAutoSettleRecordResponse) GetAutoSettleRecord() []AutoSettleRecord
func (*QueryAllAutoSettleRecordResponse) GetPagination ¶
func (m *QueryAllAutoSettleRecordResponse) GetPagination() *query.PageResponse
func (*QueryAllAutoSettleRecordResponse) Marshal ¶
func (m *QueryAllAutoSettleRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllAutoSettleRecordResponse) MarshalTo ¶
func (m *QueryAllAutoSettleRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAutoSettleRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryAllAutoSettleRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAutoSettleRecordResponse) ProtoMessage ¶
func (*QueryAllAutoSettleRecordResponse) ProtoMessage()
func (*QueryAllAutoSettleRecordResponse) Reset ¶
func (m *QueryAllAutoSettleRecordResponse) Reset()
func (*QueryAllAutoSettleRecordResponse) Size ¶
func (m *QueryAllAutoSettleRecordResponse) Size() (n int)
func (*QueryAllAutoSettleRecordResponse) String ¶
func (m *QueryAllAutoSettleRecordResponse) String() string
func (*QueryAllAutoSettleRecordResponse) Unmarshal ¶
func (m *QueryAllAutoSettleRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryAllAutoSettleRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryAllAutoSettleRecordResponse) XXX_DiscardUnknown()
func (*QueryAllAutoSettleRecordResponse) XXX_Marshal ¶
func (m *QueryAllAutoSettleRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAutoSettleRecordResponse) XXX_Merge ¶
func (m *QueryAllAutoSettleRecordResponse) XXX_Merge(src proto.Message)
func (*QueryAllAutoSettleRecordResponse) XXX_Size ¶
func (m *QueryAllAutoSettleRecordResponse) XXX_Size() int
func (*QueryAllAutoSettleRecordResponse) XXX_Unmarshal ¶
func (m *QueryAllAutoSettleRecordResponse) XXX_Unmarshal(b []byte) error
type QueryAllPaymentAccountCountRequest ¶
type QueryAllPaymentAccountCountRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPaymentAccountCountRequest) Descriptor ¶
func (*QueryAllPaymentAccountCountRequest) Descriptor() ([]byte, []int)
func (*QueryAllPaymentAccountCountRequest) GetPagination ¶
func (m *QueryAllPaymentAccountCountRequest) GetPagination() *query.PageRequest
func (*QueryAllPaymentAccountCountRequest) Marshal ¶
func (m *QueryAllPaymentAccountCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPaymentAccountCountRequest) MarshalTo ¶
func (m *QueryAllPaymentAccountCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountCountRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPaymentAccountCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountCountRequest) ProtoMessage ¶
func (*QueryAllPaymentAccountCountRequest) ProtoMessage()
func (*QueryAllPaymentAccountCountRequest) Reset ¶
func (m *QueryAllPaymentAccountCountRequest) Reset()
func (*QueryAllPaymentAccountCountRequest) Size ¶
func (m *QueryAllPaymentAccountCountRequest) Size() (n int)
func (*QueryAllPaymentAccountCountRequest) String ¶
func (m *QueryAllPaymentAccountCountRequest) String() string
func (*QueryAllPaymentAccountCountRequest) Unmarshal ¶
func (m *QueryAllPaymentAccountCountRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPaymentAccountCountRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPaymentAccountCountRequest) XXX_DiscardUnknown()
func (*QueryAllPaymentAccountCountRequest) XXX_Marshal ¶
func (m *QueryAllPaymentAccountCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPaymentAccountCountRequest) XXX_Merge ¶
func (m *QueryAllPaymentAccountCountRequest) XXX_Merge(src proto.Message)
func (*QueryAllPaymentAccountCountRequest) XXX_Size ¶
func (m *QueryAllPaymentAccountCountRequest) XXX_Size() int
func (*QueryAllPaymentAccountCountRequest) XXX_Unmarshal ¶
func (m *QueryAllPaymentAccountCountRequest) XXX_Unmarshal(b []byte) error
type QueryAllPaymentAccountCountResponse ¶
type QueryAllPaymentAccountCountResponse struct { PaymentAccountCount []PaymentAccountCount `protobuf:"bytes,1,rep,name=payment_account_count,json=paymentAccountCount,proto3" json:"payment_account_count"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPaymentAccountCountResponse) Descriptor ¶
func (*QueryAllPaymentAccountCountResponse) Descriptor() ([]byte, []int)
func (*QueryAllPaymentAccountCountResponse) GetPagination ¶
func (m *QueryAllPaymentAccountCountResponse) GetPagination() *query.PageResponse
func (*QueryAllPaymentAccountCountResponse) GetPaymentAccountCount ¶
func (m *QueryAllPaymentAccountCountResponse) GetPaymentAccountCount() []PaymentAccountCount
func (*QueryAllPaymentAccountCountResponse) Marshal ¶
func (m *QueryAllPaymentAccountCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPaymentAccountCountResponse) MarshalTo ¶
func (m *QueryAllPaymentAccountCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountCountResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPaymentAccountCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountCountResponse) ProtoMessage ¶
func (*QueryAllPaymentAccountCountResponse) ProtoMessage()
func (*QueryAllPaymentAccountCountResponse) Reset ¶
func (m *QueryAllPaymentAccountCountResponse) Reset()
func (*QueryAllPaymentAccountCountResponse) Size ¶
func (m *QueryAllPaymentAccountCountResponse) Size() (n int)
func (*QueryAllPaymentAccountCountResponse) String ¶
func (m *QueryAllPaymentAccountCountResponse) String() string
func (*QueryAllPaymentAccountCountResponse) Unmarshal ¶
func (m *QueryAllPaymentAccountCountResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPaymentAccountCountResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPaymentAccountCountResponse) XXX_DiscardUnknown()
func (*QueryAllPaymentAccountCountResponse) XXX_Marshal ¶
func (m *QueryAllPaymentAccountCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPaymentAccountCountResponse) XXX_Merge ¶
func (m *QueryAllPaymentAccountCountResponse) XXX_Merge(src proto.Message)
func (*QueryAllPaymentAccountCountResponse) XXX_Size ¶
func (m *QueryAllPaymentAccountCountResponse) XXX_Size() int
func (*QueryAllPaymentAccountCountResponse) XXX_Unmarshal ¶
func (m *QueryAllPaymentAccountCountResponse) XXX_Unmarshal(b []byte) error
type QueryAllPaymentAccountRequest ¶
type QueryAllPaymentAccountRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPaymentAccountRequest) Descriptor ¶
func (*QueryAllPaymentAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAllPaymentAccountRequest) GetPagination ¶
func (m *QueryAllPaymentAccountRequest) GetPagination() *query.PageRequest
func (*QueryAllPaymentAccountRequest) Marshal ¶
func (m *QueryAllPaymentAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPaymentAccountRequest) MarshalTo ¶
func (m *QueryAllPaymentAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPaymentAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountRequest) ProtoMessage ¶
func (*QueryAllPaymentAccountRequest) ProtoMessage()
func (*QueryAllPaymentAccountRequest) Reset ¶
func (m *QueryAllPaymentAccountRequest) Reset()
func (*QueryAllPaymentAccountRequest) Size ¶
func (m *QueryAllPaymentAccountRequest) Size() (n int)
func (*QueryAllPaymentAccountRequest) String ¶
func (m *QueryAllPaymentAccountRequest) String() string
func (*QueryAllPaymentAccountRequest) Unmarshal ¶
func (m *QueryAllPaymentAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPaymentAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPaymentAccountRequest) XXX_DiscardUnknown()
func (*QueryAllPaymentAccountRequest) XXX_Marshal ¶
func (m *QueryAllPaymentAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPaymentAccountRequest) XXX_Merge ¶
func (m *QueryAllPaymentAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAllPaymentAccountRequest) XXX_Size ¶
func (m *QueryAllPaymentAccountRequest) XXX_Size() int
func (*QueryAllPaymentAccountRequest) XXX_Unmarshal ¶
func (m *QueryAllPaymentAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAllPaymentAccountResponse ¶
type QueryAllPaymentAccountResponse struct { PaymentAccount []PaymentAccount `protobuf:"bytes,1,rep,name=payment_account,json=paymentAccount,proto3" json:"payment_account"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPaymentAccountResponse) Descriptor ¶
func (*QueryAllPaymentAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAllPaymentAccountResponse) GetPagination ¶
func (m *QueryAllPaymentAccountResponse) GetPagination() *query.PageResponse
func (*QueryAllPaymentAccountResponse) GetPaymentAccount ¶
func (m *QueryAllPaymentAccountResponse) GetPaymentAccount() []PaymentAccount
func (*QueryAllPaymentAccountResponse) Marshal ¶
func (m *QueryAllPaymentAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPaymentAccountResponse) MarshalTo ¶
func (m *QueryAllPaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPaymentAccountResponse) ProtoMessage ¶
func (*QueryAllPaymentAccountResponse) ProtoMessage()
func (*QueryAllPaymentAccountResponse) Reset ¶
func (m *QueryAllPaymentAccountResponse) Reset()
func (*QueryAllPaymentAccountResponse) Size ¶
func (m *QueryAllPaymentAccountResponse) Size() (n int)
func (*QueryAllPaymentAccountResponse) String ¶
func (m *QueryAllPaymentAccountResponse) String() string
func (*QueryAllPaymentAccountResponse) Unmarshal ¶
func (m *QueryAllPaymentAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPaymentAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPaymentAccountResponse) XXX_DiscardUnknown()
func (*QueryAllPaymentAccountResponse) XXX_Marshal ¶
func (m *QueryAllPaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPaymentAccountResponse) XXX_Merge ¶
func (m *QueryAllPaymentAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAllPaymentAccountResponse) XXX_Size ¶
func (m *QueryAllPaymentAccountResponse) XXX_Size() int
func (*QueryAllPaymentAccountResponse) XXX_Unmarshal ¶
func (m *QueryAllPaymentAccountResponse) XXX_Unmarshal(b []byte) error
type QueryAllStreamRecordRequest ¶
type QueryAllStreamRecordRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllStreamRecordRequest) Descriptor ¶
func (*QueryAllStreamRecordRequest) Descriptor() ([]byte, []int)
func (*QueryAllStreamRecordRequest) GetPagination ¶
func (m *QueryAllStreamRecordRequest) GetPagination() *query.PageRequest
func (*QueryAllStreamRecordRequest) Marshal ¶
func (m *QueryAllStreamRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllStreamRecordRequest) MarshalTo ¶
func (m *QueryAllStreamRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllStreamRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryAllStreamRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllStreamRecordRequest) ProtoMessage ¶
func (*QueryAllStreamRecordRequest) ProtoMessage()
func (*QueryAllStreamRecordRequest) Reset ¶
func (m *QueryAllStreamRecordRequest) Reset()
func (*QueryAllStreamRecordRequest) Size ¶
func (m *QueryAllStreamRecordRequest) Size() (n int)
func (*QueryAllStreamRecordRequest) String ¶
func (m *QueryAllStreamRecordRequest) String() string
func (*QueryAllStreamRecordRequest) Unmarshal ¶
func (m *QueryAllStreamRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryAllStreamRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryAllStreamRecordRequest) XXX_DiscardUnknown()
func (*QueryAllStreamRecordRequest) XXX_Marshal ¶
func (m *QueryAllStreamRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllStreamRecordRequest) XXX_Merge ¶
func (m *QueryAllStreamRecordRequest) XXX_Merge(src proto.Message)
func (*QueryAllStreamRecordRequest) XXX_Size ¶
func (m *QueryAllStreamRecordRequest) XXX_Size() int
func (*QueryAllStreamRecordRequest) XXX_Unmarshal ¶
func (m *QueryAllStreamRecordRequest) XXX_Unmarshal(b []byte) error
type QueryAllStreamRecordResponse ¶
type QueryAllStreamRecordResponse struct { StreamRecord []StreamRecord `protobuf:"bytes,1,rep,name=stream_record,json=streamRecord,proto3" json:"stream_record"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllStreamRecordResponse) Descriptor ¶
func (*QueryAllStreamRecordResponse) Descriptor() ([]byte, []int)
func (*QueryAllStreamRecordResponse) GetPagination ¶
func (m *QueryAllStreamRecordResponse) GetPagination() *query.PageResponse
func (*QueryAllStreamRecordResponse) GetStreamRecord ¶
func (m *QueryAllStreamRecordResponse) GetStreamRecord() []StreamRecord
func (*QueryAllStreamRecordResponse) Marshal ¶
func (m *QueryAllStreamRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllStreamRecordResponse) MarshalTo ¶
func (m *QueryAllStreamRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllStreamRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryAllStreamRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllStreamRecordResponse) ProtoMessage ¶
func (*QueryAllStreamRecordResponse) ProtoMessage()
func (*QueryAllStreamRecordResponse) Reset ¶
func (m *QueryAllStreamRecordResponse) Reset()
func (*QueryAllStreamRecordResponse) Size ¶
func (m *QueryAllStreamRecordResponse) Size() (n int)
func (*QueryAllStreamRecordResponse) String ¶
func (m *QueryAllStreamRecordResponse) String() string
func (*QueryAllStreamRecordResponse) Unmarshal ¶
func (m *QueryAllStreamRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryAllStreamRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryAllStreamRecordResponse) XXX_DiscardUnknown()
func (*QueryAllStreamRecordResponse) XXX_Marshal ¶
func (m *QueryAllStreamRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllStreamRecordResponse) XXX_Merge ¶
func (m *QueryAllStreamRecordResponse) XXX_Merge(src proto.Message)
func (*QueryAllStreamRecordResponse) XXX_Size ¶
func (m *QueryAllStreamRecordResponse) XXX_Size() int
func (*QueryAllStreamRecordResponse) XXX_Unmarshal ¶
func (m *QueryAllStreamRecordResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a StreamRecord by index. StreamRecord(ctx context.Context, in *QueryGetStreamRecordRequest, opts ...grpc.CallOption) (*QueryGetStreamRecordResponse, error) // Queries a list of StreamRecord items. StreamRecordAll(ctx context.Context, in *QueryAllStreamRecordRequest, opts ...grpc.CallOption) (*QueryAllStreamRecordResponse, error) // Queries a PaymentAccountCount by index. PaymentAccountCount(ctx context.Context, in *QueryGetPaymentAccountCountRequest, opts ...grpc.CallOption) (*QueryGetPaymentAccountCountResponse, error) // Queries a list of PaymentAccountCount items. PaymentAccountCountAll(ctx context.Context, in *QueryAllPaymentAccountCountRequest, opts ...grpc.CallOption) (*QueryAllPaymentAccountCountResponse, error) // Queries a PaymentAccount by index. PaymentAccount(ctx context.Context, in *QueryGetPaymentAccountRequest, opts ...grpc.CallOption) (*QueryGetPaymentAccountResponse, error) // Queries a list of PaymentAccount items. PaymentAccountAll(ctx context.Context, in *QueryAllPaymentAccountRequest, opts ...grpc.CallOption) (*QueryAllPaymentAccountResponse, error) // Queries a list of DynamicBalance items. DynamicBalance(ctx context.Context, in *QueryDynamicBalanceRequest, opts ...grpc.CallOption) (*QueryDynamicBalanceResponse, error) // Queries a list of GetPaymentAccountsByOwner items. GetPaymentAccountsByOwner(ctx context.Context, in *QueryGetPaymentAccountsByOwnerRequest, opts ...grpc.CallOption) (*QueryGetPaymentAccountsByOwnerResponse, error) // Queries a list of AutoSettleRecord items. AutoSettleRecord(ctx context.Context, in *QueryGetAutoSettleRecordRequest, opts ...grpc.CallOption) (*QueryGetAutoSettleRecordResponse, error) AutoSettleRecordAll(ctx context.Context, in *QueryAllAutoSettleRecordRequest, opts ...grpc.CallOption) (*QueryAllAutoSettleRecordResponse, 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 QueryDynamicBalanceRequest ¶
type QueryDynamicBalanceRequest struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}
func (*QueryDynamicBalanceRequest) Descriptor ¶
func (*QueryDynamicBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryDynamicBalanceRequest) GetAccount ¶
func (m *QueryDynamicBalanceRequest) GetAccount() string
func (*QueryDynamicBalanceRequest) Marshal ¶
func (m *QueryDynamicBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryDynamicBalanceRequest) MarshalTo ¶
func (m *QueryDynamicBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDynamicBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryDynamicBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDynamicBalanceRequest) ProtoMessage ¶
func (*QueryDynamicBalanceRequest) ProtoMessage()
func (*QueryDynamicBalanceRequest) Reset ¶
func (m *QueryDynamicBalanceRequest) Reset()
func (*QueryDynamicBalanceRequest) Size ¶
func (m *QueryDynamicBalanceRequest) Size() (n int)
func (*QueryDynamicBalanceRequest) String ¶
func (m *QueryDynamicBalanceRequest) String() string
func (*QueryDynamicBalanceRequest) Unmarshal ¶
func (m *QueryDynamicBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryDynamicBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryDynamicBalanceRequest) XXX_DiscardUnknown()
func (*QueryDynamicBalanceRequest) XXX_Marshal ¶
func (m *QueryDynamicBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDynamicBalanceRequest) XXX_Merge ¶
func (m *QueryDynamicBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryDynamicBalanceRequest) XXX_Size ¶
func (m *QueryDynamicBalanceRequest) XXX_Size() int
func (*QueryDynamicBalanceRequest) XXX_Unmarshal ¶
func (m *QueryDynamicBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryDynamicBalanceResponse ¶
type QueryDynamicBalanceResponse struct { DynamicBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ StreamRecord StreamRecord `protobuf:"bytes,2,opt,name=stream_record,json=streamRecord,proto3" json:"stream_record"` CurrentTimestamp int64 `protobuf:"varint,3,opt,name=current_timestamp,json=currentTimestamp,proto3" json:"current_timestamp,omitempty"` }
func (*QueryDynamicBalanceResponse) Descriptor ¶
func (*QueryDynamicBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryDynamicBalanceResponse) GetCurrentTimestamp ¶
func (m *QueryDynamicBalanceResponse) GetCurrentTimestamp() int64
func (*QueryDynamicBalanceResponse) GetStreamRecord ¶
func (m *QueryDynamicBalanceResponse) GetStreamRecord() StreamRecord
func (*QueryDynamicBalanceResponse) Marshal ¶
func (m *QueryDynamicBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryDynamicBalanceResponse) MarshalTo ¶
func (m *QueryDynamicBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDynamicBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryDynamicBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDynamicBalanceResponse) ProtoMessage ¶
func (*QueryDynamicBalanceResponse) ProtoMessage()
func (*QueryDynamicBalanceResponse) Reset ¶
func (m *QueryDynamicBalanceResponse) Reset()
func (*QueryDynamicBalanceResponse) Size ¶
func (m *QueryDynamicBalanceResponse) Size() (n int)
func (*QueryDynamicBalanceResponse) String ¶
func (m *QueryDynamicBalanceResponse) String() string
func (*QueryDynamicBalanceResponse) Unmarshal ¶
func (m *QueryDynamicBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryDynamicBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryDynamicBalanceResponse) XXX_DiscardUnknown()
func (*QueryDynamicBalanceResponse) XXX_Marshal ¶
func (m *QueryDynamicBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDynamicBalanceResponse) XXX_Merge ¶
func (m *QueryDynamicBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryDynamicBalanceResponse) XXX_Size ¶
func (m *QueryDynamicBalanceResponse) XXX_Size() int
func (*QueryDynamicBalanceResponse) XXX_Unmarshal ¶
func (m *QueryDynamicBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryGetAutoSettleRecordRequest ¶
type QueryGetAutoSettleRecordRequest struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` }
func (*QueryGetAutoSettleRecordRequest) Descriptor ¶
func (*QueryGetAutoSettleRecordRequest) Descriptor() ([]byte, []int)
func (*QueryGetAutoSettleRecordRequest) GetAddr ¶
func (m *QueryGetAutoSettleRecordRequest) GetAddr() string
func (*QueryGetAutoSettleRecordRequest) GetTimestamp ¶
func (m *QueryGetAutoSettleRecordRequest) GetTimestamp() int64
func (*QueryGetAutoSettleRecordRequest) Marshal ¶
func (m *QueryGetAutoSettleRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAutoSettleRecordRequest) MarshalTo ¶
func (m *QueryGetAutoSettleRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAutoSettleRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAutoSettleRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAutoSettleRecordRequest) ProtoMessage ¶
func (*QueryGetAutoSettleRecordRequest) ProtoMessage()
func (*QueryGetAutoSettleRecordRequest) Reset ¶
func (m *QueryGetAutoSettleRecordRequest) Reset()
func (*QueryGetAutoSettleRecordRequest) Size ¶
func (m *QueryGetAutoSettleRecordRequest) Size() (n int)
func (*QueryGetAutoSettleRecordRequest) String ¶
func (m *QueryGetAutoSettleRecordRequest) String() string
func (*QueryGetAutoSettleRecordRequest) Unmarshal ¶
func (m *QueryGetAutoSettleRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAutoSettleRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAutoSettleRecordRequest) XXX_DiscardUnknown()
func (*QueryGetAutoSettleRecordRequest) XXX_Marshal ¶
func (m *QueryGetAutoSettleRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAutoSettleRecordRequest) XXX_Merge ¶
func (m *QueryGetAutoSettleRecordRequest) XXX_Merge(src proto.Message)
func (*QueryGetAutoSettleRecordRequest) XXX_Size ¶
func (m *QueryGetAutoSettleRecordRequest) XXX_Size() int
func (*QueryGetAutoSettleRecordRequest) XXX_Unmarshal ¶
func (m *QueryGetAutoSettleRecordRequest) XXX_Unmarshal(b []byte) error
type QueryGetAutoSettleRecordResponse ¶
type QueryGetAutoSettleRecordResponse struct {
AutoSettleRecord AutoSettleRecord `protobuf:"bytes,1,opt,name=auto_settle_record,json=autoSettleRecord,proto3" json:"auto_settle_record"`
}
func (*QueryGetAutoSettleRecordResponse) Descriptor ¶
func (*QueryGetAutoSettleRecordResponse) Descriptor() ([]byte, []int)
func (*QueryGetAutoSettleRecordResponse) GetAutoSettleRecord ¶
func (m *QueryGetAutoSettleRecordResponse) GetAutoSettleRecord() AutoSettleRecord
func (*QueryGetAutoSettleRecordResponse) Marshal ¶
func (m *QueryGetAutoSettleRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAutoSettleRecordResponse) MarshalTo ¶
func (m *QueryGetAutoSettleRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAutoSettleRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAutoSettleRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAutoSettleRecordResponse) ProtoMessage ¶
func (*QueryGetAutoSettleRecordResponse) ProtoMessage()
func (*QueryGetAutoSettleRecordResponse) Reset ¶
func (m *QueryGetAutoSettleRecordResponse) Reset()
func (*QueryGetAutoSettleRecordResponse) Size ¶
func (m *QueryGetAutoSettleRecordResponse) Size() (n int)
func (*QueryGetAutoSettleRecordResponse) String ¶
func (m *QueryGetAutoSettleRecordResponse) String() string
func (*QueryGetAutoSettleRecordResponse) Unmarshal ¶
func (m *QueryGetAutoSettleRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAutoSettleRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAutoSettleRecordResponse) XXX_DiscardUnknown()
func (*QueryGetAutoSettleRecordResponse) XXX_Marshal ¶
func (m *QueryGetAutoSettleRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAutoSettleRecordResponse) XXX_Merge ¶
func (m *QueryGetAutoSettleRecordResponse) XXX_Merge(src proto.Message)
func (*QueryGetAutoSettleRecordResponse) XXX_Size ¶
func (m *QueryGetAutoSettleRecordResponse) XXX_Size() int
func (*QueryGetAutoSettleRecordResponse) XXX_Unmarshal ¶
func (m *QueryGetAutoSettleRecordResponse) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountCountRequest ¶
type QueryGetPaymentAccountCountRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
func (*QueryGetPaymentAccountCountRequest) Descriptor ¶
func (*QueryGetPaymentAccountCountRequest) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountCountRequest) GetOwner ¶
func (m *QueryGetPaymentAccountCountRequest) GetOwner() string
func (*QueryGetPaymentAccountCountRequest) Marshal ¶
func (m *QueryGetPaymentAccountCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountCountRequest) MarshalTo ¶
func (m *QueryGetPaymentAccountCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountCountRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountCountRequest) ProtoMessage ¶
func (*QueryGetPaymentAccountCountRequest) ProtoMessage()
func (*QueryGetPaymentAccountCountRequest) Reset ¶
func (m *QueryGetPaymentAccountCountRequest) Reset()
func (*QueryGetPaymentAccountCountRequest) Size ¶
func (m *QueryGetPaymentAccountCountRequest) Size() (n int)
func (*QueryGetPaymentAccountCountRequest) String ¶
func (m *QueryGetPaymentAccountCountRequest) String() string
func (*QueryGetPaymentAccountCountRequest) Unmarshal ¶
func (m *QueryGetPaymentAccountCountRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountCountRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountCountRequest) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountCountRequest) XXX_Marshal ¶
func (m *QueryGetPaymentAccountCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountCountRequest) XXX_Merge ¶
func (m *QueryGetPaymentAccountCountRequest) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountCountRequest) XXX_Size ¶
func (m *QueryGetPaymentAccountCountRequest) XXX_Size() int
func (*QueryGetPaymentAccountCountRequest) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountCountRequest) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountCountResponse ¶
type QueryGetPaymentAccountCountResponse struct {
PaymentAccountCount PaymentAccountCount `protobuf:"bytes,1,opt,name=payment_account_count,json=paymentAccountCount,proto3" json:"payment_account_count"`
}
func (*QueryGetPaymentAccountCountResponse) Descriptor ¶
func (*QueryGetPaymentAccountCountResponse) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountCountResponse) GetPaymentAccountCount ¶
func (m *QueryGetPaymentAccountCountResponse) GetPaymentAccountCount() PaymentAccountCount
func (*QueryGetPaymentAccountCountResponse) Marshal ¶
func (m *QueryGetPaymentAccountCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountCountResponse) MarshalTo ¶
func (m *QueryGetPaymentAccountCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountCountResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountCountResponse) ProtoMessage ¶
func (*QueryGetPaymentAccountCountResponse) ProtoMessage()
func (*QueryGetPaymentAccountCountResponse) Reset ¶
func (m *QueryGetPaymentAccountCountResponse) Reset()
func (*QueryGetPaymentAccountCountResponse) Size ¶
func (m *QueryGetPaymentAccountCountResponse) Size() (n int)
func (*QueryGetPaymentAccountCountResponse) String ¶
func (m *QueryGetPaymentAccountCountResponse) String() string
func (*QueryGetPaymentAccountCountResponse) Unmarshal ¶
func (m *QueryGetPaymentAccountCountResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountCountResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountCountResponse) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountCountResponse) XXX_Marshal ¶
func (m *QueryGetPaymentAccountCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountCountResponse) XXX_Merge ¶
func (m *QueryGetPaymentAccountCountResponse) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountCountResponse) XXX_Size ¶
func (m *QueryGetPaymentAccountCountResponse) XXX_Size() int
func (*QueryGetPaymentAccountCountResponse) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountCountResponse) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountRequest ¶
type QueryGetPaymentAccountRequest struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
}
func (*QueryGetPaymentAccountRequest) Descriptor ¶
func (*QueryGetPaymentAccountRequest) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountRequest) GetAddr ¶
func (m *QueryGetPaymentAccountRequest) GetAddr() string
func (*QueryGetPaymentAccountRequest) Marshal ¶
func (m *QueryGetPaymentAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountRequest) MarshalTo ¶
func (m *QueryGetPaymentAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountRequest) ProtoMessage ¶
func (*QueryGetPaymentAccountRequest) ProtoMessage()
func (*QueryGetPaymentAccountRequest) Reset ¶
func (m *QueryGetPaymentAccountRequest) Reset()
func (*QueryGetPaymentAccountRequest) Size ¶
func (m *QueryGetPaymentAccountRequest) Size() (n int)
func (*QueryGetPaymentAccountRequest) String ¶
func (m *QueryGetPaymentAccountRequest) String() string
func (*QueryGetPaymentAccountRequest) Unmarshal ¶
func (m *QueryGetPaymentAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountRequest) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountRequest) XXX_Marshal ¶
func (m *QueryGetPaymentAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountRequest) XXX_Merge ¶
func (m *QueryGetPaymentAccountRequest) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountRequest) XXX_Size ¶
func (m *QueryGetPaymentAccountRequest) XXX_Size() int
func (*QueryGetPaymentAccountRequest) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountRequest) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountResponse ¶
type QueryGetPaymentAccountResponse struct {
PaymentAccount PaymentAccount `protobuf:"bytes,1,opt,name=payment_account,json=paymentAccount,proto3" json:"payment_account"`
}
func (*QueryGetPaymentAccountResponse) Descriptor ¶
func (*QueryGetPaymentAccountResponse) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountResponse) GetPaymentAccount ¶
func (m *QueryGetPaymentAccountResponse) GetPaymentAccount() PaymentAccount
func (*QueryGetPaymentAccountResponse) Marshal ¶
func (m *QueryGetPaymentAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountResponse) MarshalTo ¶
func (m *QueryGetPaymentAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountResponse) ProtoMessage ¶
func (*QueryGetPaymentAccountResponse) ProtoMessage()
func (*QueryGetPaymentAccountResponse) Reset ¶
func (m *QueryGetPaymentAccountResponse) Reset()
func (*QueryGetPaymentAccountResponse) Size ¶
func (m *QueryGetPaymentAccountResponse) Size() (n int)
func (*QueryGetPaymentAccountResponse) String ¶
func (m *QueryGetPaymentAccountResponse) String() string
func (*QueryGetPaymentAccountResponse) Unmarshal ¶
func (m *QueryGetPaymentAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountResponse) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountResponse) XXX_Marshal ¶
func (m *QueryGetPaymentAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountResponse) XXX_Merge ¶
func (m *QueryGetPaymentAccountResponse) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountResponse) XXX_Size ¶
func (m *QueryGetPaymentAccountResponse) XXX_Size() int
func (*QueryGetPaymentAccountResponse) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountResponse) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountsByOwnerRequest ¶
type QueryGetPaymentAccountsByOwnerRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
func (*QueryGetPaymentAccountsByOwnerRequest) Descriptor ¶
func (*QueryGetPaymentAccountsByOwnerRequest) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountsByOwnerRequest) GetOwner ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) GetOwner() string
func (*QueryGetPaymentAccountsByOwnerRequest) Marshal ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountsByOwnerRequest) MarshalTo ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountsByOwnerRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountsByOwnerRequest) ProtoMessage ¶
func (*QueryGetPaymentAccountsByOwnerRequest) ProtoMessage()
func (*QueryGetPaymentAccountsByOwnerRequest) Reset ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) Reset()
func (*QueryGetPaymentAccountsByOwnerRequest) Size ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) Size() (n int)
func (*QueryGetPaymentAccountsByOwnerRequest) String ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) String() string
func (*QueryGetPaymentAccountsByOwnerRequest) Unmarshal ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountsByOwnerRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountsByOwnerRequest) XXX_Marshal ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountsByOwnerRequest) XXX_Merge ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountsByOwnerRequest) XXX_Size ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Size() int
func (*QueryGetPaymentAccountsByOwnerRequest) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountsByOwnerRequest) XXX_Unmarshal(b []byte) error
type QueryGetPaymentAccountsByOwnerResponse ¶
type QueryGetPaymentAccountsByOwnerResponse struct {
PaymentAccounts []string `protobuf:"bytes,1,rep,name=paymentAccounts,proto3" json:"paymentAccounts,omitempty"`
}
func (*QueryGetPaymentAccountsByOwnerResponse) Descriptor ¶
func (*QueryGetPaymentAccountsByOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryGetPaymentAccountsByOwnerResponse) GetPaymentAccounts ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) GetPaymentAccounts() []string
func (*QueryGetPaymentAccountsByOwnerResponse) Marshal ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPaymentAccountsByOwnerResponse) MarshalTo ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountsByOwnerResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPaymentAccountsByOwnerResponse) ProtoMessage ¶
func (*QueryGetPaymentAccountsByOwnerResponse) ProtoMessage()
func (*QueryGetPaymentAccountsByOwnerResponse) Reset ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) Reset()
func (*QueryGetPaymentAccountsByOwnerResponse) Size ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) Size() (n int)
func (*QueryGetPaymentAccountsByOwnerResponse) String ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) String() string
func (*QueryGetPaymentAccountsByOwnerResponse) Unmarshal ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPaymentAccountsByOwnerResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_DiscardUnknown()
func (*QueryGetPaymentAccountsByOwnerResponse) XXX_Marshal ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPaymentAccountsByOwnerResponse) XXX_Merge ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryGetPaymentAccountsByOwnerResponse) XXX_Size ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Size() int
func (*QueryGetPaymentAccountsByOwnerResponse) XXX_Unmarshal ¶
func (m *QueryGetPaymentAccountsByOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryGetStreamRecordRequest ¶
type QueryGetStreamRecordRequest struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}
func (*QueryGetStreamRecordRequest) Descriptor ¶
func (*QueryGetStreamRecordRequest) Descriptor() ([]byte, []int)
func (*QueryGetStreamRecordRequest) GetAccount ¶
func (m *QueryGetStreamRecordRequest) GetAccount() string
func (*QueryGetStreamRecordRequest) Marshal ¶
func (m *QueryGetStreamRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStreamRecordRequest) MarshalTo ¶
func (m *QueryGetStreamRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStreamRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStreamRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStreamRecordRequest) ProtoMessage ¶
func (*QueryGetStreamRecordRequest) ProtoMessage()
func (*QueryGetStreamRecordRequest) Reset ¶
func (m *QueryGetStreamRecordRequest) Reset()
func (*QueryGetStreamRecordRequest) Size ¶
func (m *QueryGetStreamRecordRequest) Size() (n int)
func (*QueryGetStreamRecordRequest) String ¶
func (m *QueryGetStreamRecordRequest) String() string
func (*QueryGetStreamRecordRequest) Unmarshal ¶
func (m *QueryGetStreamRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStreamRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStreamRecordRequest) XXX_DiscardUnknown()
func (*QueryGetStreamRecordRequest) XXX_Marshal ¶
func (m *QueryGetStreamRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStreamRecordRequest) XXX_Merge ¶
func (m *QueryGetStreamRecordRequest) XXX_Merge(src proto.Message)
func (*QueryGetStreamRecordRequest) XXX_Size ¶
func (m *QueryGetStreamRecordRequest) XXX_Size() int
func (*QueryGetStreamRecordRequest) XXX_Unmarshal ¶
func (m *QueryGetStreamRecordRequest) XXX_Unmarshal(b []byte) error
type QueryGetStreamRecordResponse ¶
type QueryGetStreamRecordResponse struct {
StreamRecord StreamRecord `protobuf:"bytes,1,opt,name=stream_record,json=streamRecord,proto3" json:"stream_record"`
}
func (*QueryGetStreamRecordResponse) Descriptor ¶
func (*QueryGetStreamRecordResponse) Descriptor() ([]byte, []int)
func (*QueryGetStreamRecordResponse) GetStreamRecord ¶
func (m *QueryGetStreamRecordResponse) GetStreamRecord() StreamRecord
func (*QueryGetStreamRecordResponse) Marshal ¶
func (m *QueryGetStreamRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStreamRecordResponse) MarshalTo ¶
func (m *QueryGetStreamRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStreamRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStreamRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStreamRecordResponse) ProtoMessage ¶
func (*QueryGetStreamRecordResponse) ProtoMessage()
func (*QueryGetStreamRecordResponse) Reset ¶
func (m *QueryGetStreamRecordResponse) Reset()
func (*QueryGetStreamRecordResponse) Size ¶
func (m *QueryGetStreamRecordResponse) Size() (n int)
func (*QueryGetStreamRecordResponse) String ¶
func (m *QueryGetStreamRecordResponse) String() string
func (*QueryGetStreamRecordResponse) Unmarshal ¶
func (m *QueryGetStreamRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStreamRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStreamRecordResponse) XXX_DiscardUnknown()
func (*QueryGetStreamRecordResponse) XXX_Marshal ¶
func (m *QueryGetStreamRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStreamRecordResponse) XXX_Merge ¶
func (m *QueryGetStreamRecordResponse) XXX_Merge(src proto.Message)
func (*QueryGetStreamRecordResponse) XXX_Size ¶
func (m *QueryGetStreamRecordResponse) XXX_Size() int
func (*QueryGetStreamRecordResponse) XXX_Unmarshal ¶
func (m *QueryGetStreamRecordResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is 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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is 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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a StreamRecord by index. StreamRecord(context.Context, *QueryGetStreamRecordRequest) (*QueryGetStreamRecordResponse, error) // Queries a list of StreamRecord items. StreamRecordAll(context.Context, *QueryAllStreamRecordRequest) (*QueryAllStreamRecordResponse, error) // Queries a PaymentAccountCount by index. PaymentAccountCount(context.Context, *QueryGetPaymentAccountCountRequest) (*QueryGetPaymentAccountCountResponse, error) // Queries a list of PaymentAccountCount items. PaymentAccountCountAll(context.Context, *QueryAllPaymentAccountCountRequest) (*QueryAllPaymentAccountCountResponse, error) // Queries a PaymentAccount by index. PaymentAccount(context.Context, *QueryGetPaymentAccountRequest) (*QueryGetPaymentAccountResponse, error) // Queries a list of PaymentAccount items. PaymentAccountAll(context.Context, *QueryAllPaymentAccountRequest) (*QueryAllPaymentAccountResponse, error) // Queries a list of DynamicBalance items. DynamicBalance(context.Context, *QueryDynamicBalanceRequest) (*QueryDynamicBalanceResponse, error) // Queries a list of GetPaymentAccountsByOwner items. GetPaymentAccountsByOwner(context.Context, *QueryGetPaymentAccountsByOwnerRequest) (*QueryGetPaymentAccountsByOwnerResponse, error) // Queries a list of AutoSettleRecord items. AutoSettleRecord(context.Context, *QueryGetAutoSettleRecordRequest) (*QueryGetAutoSettleRecordResponse, error) AutoSettleRecordAll(context.Context, *QueryAllAutoSettleRecordRequest) (*QueryAllAutoSettleRecordResponse, error) }
QueryServer is the server API for Query service.
type SpKeeper ¶ added in v0.0.7
type SpKeeper interface { GetSpStoragePriceByTime(ctx sdk.Context, spAddr string, time int64) (val sptypes.SpStoragePrice, err error) GetSecondarySpStorePriceByTime(ctx sdk.Context, time int64) (val sptypes.SecondarySpStorePrice, err error) }
SpKeeper defines the expected interface needed to retrieve storage provider.
type StoragePrice ¶ added in v0.0.7
type StoragePriceParams ¶ added in v0.0.7
type StreamAccountStatus ¶ added in v0.0.7
type StreamAccountStatus int32
const ( STREAM_ACCOUNT_STATUS_ACTIVE StreamAccountStatus = 0 STREAM_ACCOUNT_STATUS_FROZEN StreamAccountStatus = 1 )
func (StreamAccountStatus) EnumDescriptor ¶ added in v0.0.7
func (StreamAccountStatus) EnumDescriptor() ([]byte, []int)
func (StreamAccountStatus) String ¶ added in v0.0.7
func (x StreamAccountStatus) String() string
type StreamRecord ¶
type StreamRecord struct { // account address Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // latest update timestamp of the stream record CrudTimestamp int64 `protobuf:"varint,2,opt,name=crud_timestamp,json=crudTimestamp,proto3" json:"crud_timestamp,omitempty"` // The per-second rate that an account's balance is changing. // It is the sum of the account's inbound and outbound flow rates. NetflowRate github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ // The balance of the stream account at the latest CRUD timestamp. StaticBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // reserved balance of the stream account // If the netflow rate is negative, the reserved balance is `netflow_rate * reserve_time` BufferBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // the locked balance of the stream account after it puts a new object and before the object is sealed LockBalance github_com_cosmos_cosmos_sdk_types.Int `` /* 134-byte string literal not displayed */ // the status of the stream account Status StreamAccountStatus `protobuf:"varint,7,opt,name=status,proto3,enum=bnbchain.greenfield.payment.StreamAccountStatus" json:"status,omitempty"` // the unix timestamp when the stream account will be settled SettleTimestamp int64 `protobuf:"varint,8,opt,name=settle_timestamp,json=settleTimestamp,proto3" json:"settle_timestamp,omitempty"` // the accumulated outflow rates of the stream account OutFlows []OutFlow `protobuf:"bytes,9,rep,name=out_flows,json=outFlows,proto3" json:"out_flows"` }
Stream Payment Record of a stream account
func NewStreamRecord ¶
func NewStreamRecord(account sdk.AccAddress, crudTimestamp int64) *StreamRecord
func (*StreamRecord) Descriptor ¶
func (*StreamRecord) Descriptor() ([]byte, []int)
func (*StreamRecord) GetAccount ¶
func (m *StreamRecord) GetAccount() string
func (*StreamRecord) GetCrudTimestamp ¶
func (m *StreamRecord) GetCrudTimestamp() int64
func (*StreamRecord) GetOutFlows ¶ added in v0.0.7
func (m *StreamRecord) GetOutFlows() []OutFlow
func (*StreamRecord) GetSettleTimestamp ¶
func (m *StreamRecord) GetSettleTimestamp() int64
func (*StreamRecord) GetStatus ¶
func (m *StreamRecord) GetStatus() StreamAccountStatus
func (*StreamRecord) Marshal ¶
func (m *StreamRecord) Marshal() (dAtA []byte, err error)
func (*StreamRecord) MarshalToSizedBuffer ¶
func (m *StreamRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamRecord) ProtoMessage ¶
func (*StreamRecord) ProtoMessage()
func (*StreamRecord) Reset ¶
func (m *StreamRecord) Reset()
func (*StreamRecord) Size ¶
func (m *StreamRecord) Size() (n int)
func (*StreamRecord) String ¶
func (m *StreamRecord) String() string
func (*StreamRecord) Unmarshal ¶
func (m *StreamRecord) Unmarshal(dAtA []byte) error
func (*StreamRecord) XXX_DiscardUnknown ¶
func (m *StreamRecord) XXX_DiscardUnknown()
func (*StreamRecord) XXX_Marshal ¶
func (m *StreamRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamRecord) XXX_Merge ¶
func (m *StreamRecord) XXX_Merge(src proto.Message)
func (*StreamRecord) XXX_Size ¶
func (m *StreamRecord) XXX_Size() int
func (*StreamRecord) XXX_Unmarshal ¶
func (m *StreamRecord) XXX_Unmarshal(b []byte) error
type StreamRecordChange ¶
type StreamRecordChange struct { Addr sdk.AccAddress RateChange sdkmath.Int StaticBalanceChange sdkmath.Int LockBalanceChange sdkmath.Int }
func NewDefaultStreamRecordChangeWithAddr ¶
func NewDefaultStreamRecordChangeWithAddr(addr sdk.AccAddress) *StreamRecordChange
func (*StreamRecordChange) WithLockBalanceChange ¶
func (change *StreamRecordChange) WithLockBalanceChange(lockBalanceChange sdkmath.Int) *StreamRecordChange
func (*StreamRecordChange) WithRateChange ¶
func (change *StreamRecordChange) WithRateChange(rateChange sdkmath.Int) *StreamRecordChange
func (*StreamRecordChange) WithStaticBalanceChange ¶
func (change *StreamRecordChange) WithStaticBalanceChange(staticBalanceChange sdkmath.Int) *StreamRecordChange
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreatePaymentAccount ¶
func (*UnimplementedMsgServer) CreatePaymentAccount(ctx context.Context, req *MsgCreatePaymentAccount) (*MsgCreatePaymentAccountResponse, error)
func (*UnimplementedMsgServer) Deposit ¶
func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
func (*UnimplementedMsgServer) DisableRefund ¶
func (*UnimplementedMsgServer) DisableRefund(ctx context.Context, req *MsgDisableRefund) (*MsgDisableRefundResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AutoSettleRecord ¶
func (*UnimplementedQueryServer) AutoSettleRecord(ctx context.Context, req *QueryGetAutoSettleRecordRequest) (*QueryGetAutoSettleRecordResponse, error)
func (*UnimplementedQueryServer) AutoSettleRecordAll ¶
func (*UnimplementedQueryServer) AutoSettleRecordAll(ctx context.Context, req *QueryAllAutoSettleRecordRequest) (*QueryAllAutoSettleRecordResponse, error)
func (*UnimplementedQueryServer) DynamicBalance ¶
func (*UnimplementedQueryServer) DynamicBalance(ctx context.Context, req *QueryDynamicBalanceRequest) (*QueryDynamicBalanceResponse, error)
func (*UnimplementedQueryServer) GetPaymentAccountsByOwner ¶
func (*UnimplementedQueryServer) GetPaymentAccountsByOwner(ctx context.Context, req *QueryGetPaymentAccountsByOwnerRequest) (*QueryGetPaymentAccountsByOwnerResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) PaymentAccount ¶
func (*UnimplementedQueryServer) PaymentAccount(ctx context.Context, req *QueryGetPaymentAccountRequest) (*QueryGetPaymentAccountResponse, error)
func (*UnimplementedQueryServer) PaymentAccountAll ¶
func (*UnimplementedQueryServer) PaymentAccountAll(ctx context.Context, req *QueryAllPaymentAccountRequest) (*QueryAllPaymentAccountResponse, error)
func (*UnimplementedQueryServer) PaymentAccountCount ¶
func (*UnimplementedQueryServer) PaymentAccountCount(ctx context.Context, req *QueryGetPaymentAccountCountRequest) (*QueryGetPaymentAccountCountResponse, error)
func (*UnimplementedQueryServer) PaymentAccountCountAll ¶
func (*UnimplementedQueryServer) PaymentAccountCountAll(ctx context.Context, req *QueryAllPaymentAccountCountRequest) (*QueryAllPaymentAccountCountResponse, error)
func (*UnimplementedQueryServer) StreamRecord ¶
func (*UnimplementedQueryServer) StreamRecord(ctx context.Context, req *QueryGetStreamRecordRequest) (*QueryGetStreamRecordResponse, error)
func (*UnimplementedQueryServer) StreamRecordAll ¶
func (*UnimplementedQueryServer) StreamRecordAll(ctx context.Context, req *QueryAllStreamRecordRequest) (*QueryAllStreamRecordResponse, error)
type UserFlows ¶ added in v0.0.7
type UserFlows struct { From sdk.AccAddress Flows []OutFlow }
Source Files ¶
- auto_settle_record.pb.go
- base.pb.go
- codec.go
- errors.go
- events.pb.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_create_payment_account.go
- message_deposit.go
- message_disable_refund.go
- message_withdraw.go
- params.go
- params.pb.go
- payment_account.pb.go
- payment_account_count.pb.go
- price.go
- query.pb.go
- query.pb.gw.go
- stream_record.go
- stream_record.pb.go
- tx.pb.go
- types.go