Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ChannelKey(index string) []byte
- func CommitmentKey(index string) []byte
- func FwdcommitmentKey(index string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- 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)
- type AccountKeeper
- type BankKeeper
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)
- func (m *Channel) GetDenom() string
- func (m *Channel) GetIndex() string
- func (m *Channel) GetMultisigAddr() string
- func (m *Channel) GetPartA() string
- func (m *Channel) GetPartB() string
- func (m *Channel) GetSequence() string
- func (m *Channel) Marshal() (dAtA []byte, err error)
- func (m *Channel) MarshalTo(dAtA []byte) (int, error)
- func (m *Channel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Channel) ProtoMessage()
- func (m *Channel) Reset()
- func (m *Channel) Size() (n int)
- func (m *Channel) String() string
- func (m *Channel) Unmarshal(dAtA []byte) error
- func (m *Channel) XXX_DiscardUnknown()
- func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channel) XXX_Merge(src proto.Message)
- func (m *Channel) XXX_Size() int
- func (m *Channel) XXX_Unmarshal(b []byte) error
- type Commitment
- func (*Commitment) Descriptor() ([]byte, []int)
- func (m *Commitment) GetChannelid() string
- func (m *Commitment) GetCointocreator() *types.Coin
- func (m *Commitment) GetCointohtlc() *types.Coin
- func (m *Commitment) GetCreatoraddr() string
- func (m *Commitment) GetHashcode() string
- func (m *Commitment) GetIndex() string
- func (m *Commitment) GetMultisigAddr() string
- func (m *Commitment) GetNumblock() uint64
- func (m *Commitment) GetPartneraddr() string
- func (m *Commitment) Marshal() (dAtA []byte, err error)
- func (m *Commitment) MarshalTo(dAtA []byte) (int, error)
- func (m *Commitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Commitment) ProtoMessage()
- func (m *Commitment) Reset()
- func (m *Commitment) Size() (n int)
- func (m *Commitment) String() string
- func (m *Commitment) Unmarshal(dAtA []byte) error
- func (m *Commitment) XXX_DiscardUnknown()
- func (m *Commitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Commitment) XXX_Merge(src proto.Message)
- func (m *Commitment) XXX_Size() int
- func (m *Commitment) XXX_Unmarshal(b []byte) error
- type Fwdcommitment
- func (*Fwdcommitment) Descriptor() ([]byte, []int)
- func (m *Fwdcommitment) GetChannelid() string
- func (m *Fwdcommitment) GetCointransfer() *types.Coin
- func (m *Fwdcommitment) GetCreator() string
- func (m *Fwdcommitment) GetHashcodedest() string
- func (m *Fwdcommitment) GetHashcodehtlc() string
- func (m *Fwdcommitment) GetIndex() string
- func (m *Fwdcommitment) GetMultisigAddr() string
- func (m *Fwdcommitment) GetReceiverAddr() string
- func (m *Fwdcommitment) GetSenderAddr() string
- func (m *Fwdcommitment) GetTimelockreceiver() uint64
- func (m *Fwdcommitment) GetTimelocksender() uint64
- func (m *Fwdcommitment) Marshal() (dAtA []byte, err error)
- func (m *Fwdcommitment) MarshalTo(dAtA []byte) (int, error)
- func (m *Fwdcommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fwdcommitment) ProtoMessage()
- func (m *Fwdcommitment) Reset()
- func (m *Fwdcommitment) Size() (n int)
- func (m *Fwdcommitment) String() string
- func (m *Fwdcommitment) Unmarshal(dAtA []byte) error
- func (m *Fwdcommitment) XXX_DiscardUnknown()
- func (m *Fwdcommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fwdcommitment) XXX_Merge(src proto.Message)
- func (m *Fwdcommitment) XXX_Size() int
- func (m *Fwdcommitment) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChannelList() []Channel
- func (m *GenesisState) GetCommitmentList() []Commitment
- func (m *GenesisState) GetFwdcommitmentList() []Fwdcommitment
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAcceptfund
- func (*MsgAcceptfund) Descriptor() ([]byte, []int)
- func (m *MsgAcceptfund) GetChannelid() string
- func (m *MsgAcceptfund) GetCointoCreator() *types.Coin
- func (m *MsgAcceptfund) GetCreator() string
- func (m *MsgAcceptfund) GetCreatoraddr() string
- func (m *MsgAcceptfund) GetHashcode() string
- func (m *MsgAcceptfund) GetMultisigAddr() string
- func (m *MsgAcceptfund) GetNumblock() uint64
- func (msg *MsgAcceptfund) GetSignBytes() []byte
- func (msg *MsgAcceptfund) GetSigners() []sdk.AccAddress
- func (m *MsgAcceptfund) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptfund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptfund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptfund) ProtoMessage()
- func (m *MsgAcceptfund) Reset()
- func (msg *MsgAcceptfund) Route() string
- func (m *MsgAcceptfund) Size() (n int)
- func (m *MsgAcceptfund) String() string
- func (msg *MsgAcceptfund) Type() string
- func (m *MsgAcceptfund) Unmarshal(dAtA []byte) error
- func (msg *MsgAcceptfund) ValidateBasic() error
- func (m *MsgAcceptfund) XXX_DiscardUnknown()
- func (m *MsgAcceptfund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptfund) XXX_Merge(src proto.Message)
- func (m *MsgAcceptfund) XXX_Size() int
- func (m *MsgAcceptfund) XXX_Unmarshal(b []byte) error
- type MsgAcceptfundResponse
- func (*MsgAcceptfundResponse) Descriptor() ([]byte, []int)
- func (m *MsgAcceptfundResponse) GetId() string
- func (m *MsgAcceptfundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAcceptfundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAcceptfundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAcceptfundResponse) ProtoMessage()
- func (m *MsgAcceptfundResponse) Reset()
- func (m *MsgAcceptfundResponse) Size() (n int)
- func (m *MsgAcceptfundResponse) String() string
- func (m *MsgAcceptfundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAcceptfundResponse) XXX_DiscardUnknown()
- func (m *MsgAcceptfundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAcceptfundResponse) XXX_Merge(src proto.Message)
- func (m *MsgAcceptfundResponse) XXX_Size() int
- func (m *MsgAcceptfundResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgClosechannel
- func (*MsgClosechannel) Descriptor() ([]byte, []int)
- func (m *MsgClosechannel) GetChannelid() string
- func (m *MsgClosechannel) GetCoinA() *types.Coin
- func (m *MsgClosechannel) GetCoinB() *types.Coin
- func (m *MsgClosechannel) GetCreator() string
- func (m *MsgClosechannel) GetMultisigAddr() string
- func (m *MsgClosechannel) GetPartA() string
- func (m *MsgClosechannel) GetPartB() string
- func (msg *MsgClosechannel) GetSignBytes() []byte
- func (msg *MsgClosechannel) GetSigners() []sdk.AccAddress
- func (m *MsgClosechannel) Marshal() (dAtA []byte, err error)
- func (m *MsgClosechannel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClosechannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClosechannel) ProtoMessage()
- func (m *MsgClosechannel) Reset()
- func (msg *MsgClosechannel) Route() string
- func (m *MsgClosechannel) Size() (n int)
- func (m *MsgClosechannel) String() string
- func (msg *MsgClosechannel) Type() string
- func (m *MsgClosechannel) Unmarshal(dAtA []byte) error
- func (msg *MsgClosechannel) ValidateBasic() error
- func (m *MsgClosechannel) XXX_DiscardUnknown()
- func (m *MsgClosechannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClosechannel) XXX_Merge(src proto.Message)
- func (m *MsgClosechannel) XXX_Size() int
- func (m *MsgClosechannel) XXX_Unmarshal(b []byte) error
- type MsgClosechannelResponse
- func (*MsgClosechannelResponse) Descriptor() ([]byte, []int)
- func (m *MsgClosechannelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClosechannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClosechannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClosechannelResponse) ProtoMessage()
- func (m *MsgClosechannelResponse) Reset()
- func (m *MsgClosechannelResponse) Size() (n int)
- func (m *MsgClosechannelResponse) String() string
- func (m *MsgClosechannelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClosechannelResponse) XXX_DiscardUnknown()
- func (m *MsgClosechannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClosechannelResponse) XXX_Merge(src proto.Message)
- func (m *MsgClosechannelResponse) XXX_Size() int
- func (m *MsgClosechannelResponse) XXX_Unmarshal(b []byte) error
- type MsgCommitment
- func (*MsgCommitment) Descriptor() ([]byte, []int)
- func (m *MsgCommitment) GetChannelid() string
- func (m *MsgCommitment) GetCointocreator() *types.Coin
- func (m *MsgCommitment) GetCointohtlc() *types.Coin
- func (m *MsgCommitment) GetCreator() string
- func (m *MsgCommitment) GetCreatoraddr() string
- func (m *MsgCommitment) GetHashcode() string
- func (m *MsgCommitment) GetMultisigAddr() string
- func (m *MsgCommitment) GetNumblock() uint64
- func (m *MsgCommitment) GetPartneraddr() string
- func (msg *MsgCommitment) GetSignBytes() []byte
- func (msg *MsgCommitment) GetSigners() []sdk.AccAddress
- func (m *MsgCommitment) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitment) ProtoMessage()
- func (m *MsgCommitment) Reset()
- func (msg *MsgCommitment) Route() string
- func (m *MsgCommitment) Size() (n int)
- func (m *MsgCommitment) String() string
- func (msg *MsgCommitment) Type() string
- func (m *MsgCommitment) Unmarshal(dAtA []byte) error
- func (msg *MsgCommitment) ValidateBasic() error
- func (m *MsgCommitment) XXX_DiscardUnknown()
- func (m *MsgCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitment) XXX_Merge(src proto.Message)
- func (m *MsgCommitment) XXX_Size() int
- func (m *MsgCommitment) XXX_Unmarshal(b []byte) error
- type MsgCommitmentResponse
- func (*MsgCommitmentResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommitmentResponse) GetId() string
- func (m *MsgCommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitmentResponse) ProtoMessage()
- func (m *MsgCommitmentResponse) Reset()
- func (m *MsgCommitmentResponse) Size() (n int)
- func (m *MsgCommitmentResponse) String() string
- func (m *MsgCommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommitmentResponse) XXX_DiscardUnknown()
- func (m *MsgCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitmentResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommitmentResponse) XXX_Size() int
- func (m *MsgCommitmentResponse) XXX_Unmarshal(b []byte) error
- type MsgFund
- func (*MsgFund) Descriptor() ([]byte, []int)
- func (m *MsgFund) GetChannelid() string
- func (m *MsgFund) GetCointoPartner() *types.Coin
- func (m *MsgFund) GetCreator() string
- func (m *MsgFund) GetCreatoraddr() string
- func (m *MsgFund) GetHashcode() string
- func (m *MsgFund) GetMultisigAddr() string
- func (m *MsgFund) GetNumblock() uint64
- func (msg *MsgFund) GetSignBytes() []byte
- func (msg *MsgFund) GetSigners() []sdk.AccAddress
- func (m *MsgFund) Marshal() (dAtA []byte, err error)
- func (m *MsgFund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFund) ProtoMessage()
- func (m *MsgFund) Reset()
- func (msg *MsgFund) Route() string
- func (m *MsgFund) Size() (n int)
- func (m *MsgFund) String() string
- func (msg *MsgFund) Type() string
- func (m *MsgFund) Unmarshal(dAtA []byte) error
- func (msg *MsgFund) ValidateBasic() error
- func (m *MsgFund) XXX_DiscardUnknown()
- func (m *MsgFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFund) XXX_Merge(src proto.Message)
- func (m *MsgFund) XXX_Size() int
- func (m *MsgFund) XXX_Unmarshal(b []byte) error
- type MsgFundResponse
- func (*MsgFundResponse) Descriptor() ([]byte, []int)
- func (m *MsgFundResponse) GetId() string
- func (m *MsgFundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFundResponse) ProtoMessage()
- func (m *MsgFundResponse) Reset()
- func (m *MsgFundResponse) Size() (n int)
- func (m *MsgFundResponse) String() string
- func (m *MsgFundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFundResponse) XXX_DiscardUnknown()
- func (m *MsgFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFundResponse) XXX_Merge(src proto.Message)
- func (m *MsgFundResponse) XXX_Size() int
- func (m *MsgFundResponse) XXX_Unmarshal(b []byte) error
- type MsgOpenchannel
- func (*MsgOpenchannel) Descriptor() ([]byte, []int)
- func (m *MsgOpenchannel) GetCoinA() *types.Coin
- func (m *MsgOpenchannel) GetCoinB() *types.Coin
- func (m *MsgOpenchannel) GetCreator() string
- func (m *MsgOpenchannel) GetMultisigAddr() string
- func (m *MsgOpenchannel) GetPartA() string
- func (m *MsgOpenchannel) GetPartB() string
- func (m *MsgOpenchannel) GetSequence() string
- func (msg *MsgOpenchannel) GetSignBytes() []byte
- func (msg *MsgOpenchannel) GetSigners() []sdk.AccAddress
- func (m *MsgOpenchannel) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenchannel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenchannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenchannel) ProtoMessage()
- func (m *MsgOpenchannel) Reset()
- func (msg *MsgOpenchannel) Route() string
- func (m *MsgOpenchannel) Size() (n int)
- func (m *MsgOpenchannel) String() string
- func (msg *MsgOpenchannel) Type() string
- func (m *MsgOpenchannel) Unmarshal(dAtA []byte) error
- func (msg *MsgOpenchannel) ValidateBasic() error
- func (m *MsgOpenchannel) XXX_DiscardUnknown()
- func (m *MsgOpenchannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenchannel) XXX_Merge(src proto.Message)
- func (m *MsgOpenchannel) XXX_Size() int
- func (m *MsgOpenchannel) XXX_Unmarshal(b []byte) error
- type MsgOpenchannelResponse
- func (*MsgOpenchannelResponse) Descriptor() ([]byte, []int)
- func (m *MsgOpenchannelResponse) GetId() string
- func (m *MsgOpenchannelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenchannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenchannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenchannelResponse) ProtoMessage()
- func (m *MsgOpenchannelResponse) Reset()
- func (m *MsgOpenchannelResponse) Size() (n int)
- func (m *MsgOpenchannelResponse) String() string
- func (m *MsgOpenchannelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOpenchannelResponse) XXX_DiscardUnknown()
- func (m *MsgOpenchannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenchannelResponse) XXX_Merge(src proto.Message)
- func (m *MsgOpenchannelResponse) XXX_Size() int
- func (m *MsgOpenchannelResponse) XXX_Unmarshal(b []byte) error
- type MsgReceivercommit
- func (*MsgReceivercommit) Descriptor() ([]byte, []int)
- func (m *MsgReceivercommit) GetChannelid() string
- func (m *MsgReceivercommit) GetCointohtlc() *types.Coin
- func (m *MsgReceivercommit) GetCointoreceiver() *types.Coin
- func (m *MsgReceivercommit) GetCointransfer() *types.Coin
- func (m *MsgReceivercommit) GetCreator() string
- func (m *MsgReceivercommit) GetHashcodedest() string
- func (m *MsgReceivercommit) GetHashcodehtlc() string
- func (m *MsgReceivercommit) GetMultisigAddr() string
- func (m *MsgReceivercommit) GetReceiverAddr() string
- func (msg *MsgReceivercommit) GetSignBytes() []byte
- func (msg *MsgReceivercommit) GetSigners() []sdk.AccAddress
- func (m *MsgReceivercommit) GetTimelockhtlc() uint64
- func (m *MsgReceivercommit) GetTimelocksender() uint64
- func (m *MsgReceivercommit) Marshal() (dAtA []byte, err error)
- func (m *MsgReceivercommit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReceivercommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReceivercommit) ProtoMessage()
- func (m *MsgReceivercommit) Reset()
- func (msg *MsgReceivercommit) Route() string
- func (m *MsgReceivercommit) Size() (n int)
- func (m *MsgReceivercommit) String() string
- func (msg *MsgReceivercommit) Type() string
- func (m *MsgReceivercommit) Unmarshal(dAtA []byte) error
- func (msg *MsgReceivercommit) ValidateBasic() error
- func (m *MsgReceivercommit) XXX_DiscardUnknown()
- func (m *MsgReceivercommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReceivercommit) XXX_Merge(src proto.Message)
- func (m *MsgReceivercommit) XXX_Size() int
- func (m *MsgReceivercommit) XXX_Unmarshal(b []byte) error
- type MsgReceivercommitResponse
- func (*MsgReceivercommitResponse) Descriptor() ([]byte, []int)
- func (m *MsgReceivercommitResponse) GetHtlcIndex() string
- func (m *MsgReceivercommitResponse) GetTransferIndex() string
- func (m *MsgReceivercommitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReceivercommitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReceivercommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReceivercommitResponse) ProtoMessage()
- func (m *MsgReceivercommitResponse) Reset()
- func (m *MsgReceivercommitResponse) Size() (n int)
- func (m *MsgReceivercommitResponse) String() string
- func (m *MsgReceivercommitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReceivercommitResponse) XXX_DiscardUnknown()
- func (m *MsgReceivercommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReceivercommitResponse) XXX_Merge(src proto.Message)
- func (m *MsgReceivercommitResponse) XXX_Size() int
- func (m *MsgReceivercommitResponse) XXX_Unmarshal(b []byte) error
- type MsgReceiverwithdraw
- func (*MsgReceiverwithdraw) Descriptor() ([]byte, []int)
- func (m *MsgReceiverwithdraw) GetCreator() string
- func (m *MsgReceiverwithdraw) GetSecret() string
- func (msg *MsgReceiverwithdraw) GetSignBytes() []byte
- func (msg *MsgReceiverwithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgReceiverwithdraw) GetTo() string
- func (m *MsgReceiverwithdraw) GetTransferindex() string
- func (m *MsgReceiverwithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgReceiverwithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReceiverwithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReceiverwithdraw) ProtoMessage()
- func (m *MsgReceiverwithdraw) Reset()
- func (msg *MsgReceiverwithdraw) Route() string
- func (m *MsgReceiverwithdraw) Size() (n int)
- func (m *MsgReceiverwithdraw) String() string
- func (msg *MsgReceiverwithdraw) Type() string
- func (m *MsgReceiverwithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgReceiverwithdraw) ValidateBasic() error
- func (m *MsgReceiverwithdraw) XXX_DiscardUnknown()
- func (m *MsgReceiverwithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReceiverwithdraw) XXX_Merge(src proto.Message)
- func (m *MsgReceiverwithdraw) XXX_Size() int
- func (m *MsgReceiverwithdraw) XXX_Unmarshal(b []byte) error
- type MsgReceiverwithdrawResponse
- func (*MsgReceiverwithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgReceiverwithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReceiverwithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReceiverwithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReceiverwithdrawResponse) ProtoMessage()
- func (m *MsgReceiverwithdrawResponse) Reset()
- func (m *MsgReceiverwithdrawResponse) Size() (n int)
- func (m *MsgReceiverwithdrawResponse) String() string
- func (m *MsgReceiverwithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReceiverwithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgReceiverwithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReceiverwithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgReceiverwithdrawResponse) XXX_Size() int
- func (m *MsgReceiverwithdrawResponse) XXX_Unmarshal(b []byte) error
- type MsgSendercommit
- func (*MsgSendercommit) Descriptor() ([]byte, []int)
- func (m *MsgSendercommit) GetChannelid() string
- func (m *MsgSendercommit) GetCointohtlc() *types.Coin
- func (m *MsgSendercommit) GetCointosender() *types.Coin
- func (m *MsgSendercommit) GetCointransfer() *types.Coin
- func (m *MsgSendercommit) GetCreator() string
- func (m *MsgSendercommit) GetHashcodedest() string
- func (m *MsgSendercommit) GetHashcodehtlc() string
- func (m *MsgSendercommit) GetMultisigAddr() string
- func (m *MsgSendercommit) GetSenderAddr() string
- func (msg *MsgSendercommit) GetSignBytes() []byte
- func (msg *MsgSendercommit) GetSigners() []sdk.AccAddress
- func (m *MsgSendercommit) GetTimelockhtlc() uint64
- func (m *MsgSendercommit) GetTimelockreceiver() uint64
- func (m *MsgSendercommit) GetTimelocksender() uint64
- func (m *MsgSendercommit) Marshal() (dAtA []byte, err error)
- func (m *MsgSendercommit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendercommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendercommit) ProtoMessage()
- func (m *MsgSendercommit) Reset()
- func (msg *MsgSendercommit) Route() string
- func (m *MsgSendercommit) Size() (n int)
- func (m *MsgSendercommit) String() string
- func (msg *MsgSendercommit) Type() string
- func (m *MsgSendercommit) Unmarshal(dAtA []byte) error
- func (msg *MsgSendercommit) ValidateBasic() error
- func (m *MsgSendercommit) XXX_DiscardUnknown()
- func (m *MsgSendercommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendercommit) XXX_Merge(src proto.Message)
- func (m *MsgSendercommit) XXX_Size() int
- func (m *MsgSendercommit) XXX_Unmarshal(b []byte) error
- type MsgSendercommitResponse
- func (*MsgSendercommitResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendercommitResponse) GetHtlcIndex() string
- func (m *MsgSendercommitResponse) GetTransferIndex() string
- func (m *MsgSendercommitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendercommitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendercommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendercommitResponse) ProtoMessage()
- func (m *MsgSendercommitResponse) Reset()
- func (m *MsgSendercommitResponse) Size() (n int)
- func (m *MsgSendercommitResponse) String() string
- func (m *MsgSendercommitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendercommitResponse) XXX_DiscardUnknown()
- func (m *MsgSendercommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendercommitResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendercommitResponse) XXX_Size() int
- func (m *MsgSendercommitResponse) XXX_Unmarshal(b []byte) error
- type MsgSenderwithdrawhashlock
- func (*MsgSenderwithdrawhashlock) Descriptor() ([]byte, []int)
- func (m *MsgSenderwithdrawhashlock) GetCreator() string
- func (m *MsgSenderwithdrawhashlock) GetSecret() string
- func (msg *MsgSenderwithdrawhashlock) GetSignBytes() []byte
- func (msg *MsgSenderwithdrawhashlock) GetSigners() []sdk.AccAddress
- func (m *MsgSenderwithdrawhashlock) GetTo() string
- func (m *MsgSenderwithdrawhashlock) GetTransferindex() string
- func (m *MsgSenderwithdrawhashlock) Marshal() (dAtA []byte, err error)
- func (m *MsgSenderwithdrawhashlock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSenderwithdrawhashlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSenderwithdrawhashlock) ProtoMessage()
- func (m *MsgSenderwithdrawhashlock) Reset()
- func (msg *MsgSenderwithdrawhashlock) Route() string
- func (m *MsgSenderwithdrawhashlock) Size() (n int)
- func (m *MsgSenderwithdrawhashlock) String() string
- func (msg *MsgSenderwithdrawhashlock) Type() string
- func (m *MsgSenderwithdrawhashlock) Unmarshal(dAtA []byte) error
- func (msg *MsgSenderwithdrawhashlock) ValidateBasic() error
- func (m *MsgSenderwithdrawhashlock) XXX_DiscardUnknown()
- func (m *MsgSenderwithdrawhashlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSenderwithdrawhashlock) XXX_Merge(src proto.Message)
- func (m *MsgSenderwithdrawhashlock) XXX_Size() int
- func (m *MsgSenderwithdrawhashlock) XXX_Unmarshal(b []byte) error
- type MsgSenderwithdrawhashlockResponse
- func (*MsgSenderwithdrawhashlockResponse) Descriptor() ([]byte, []int)
- func (m *MsgSenderwithdrawhashlockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSenderwithdrawhashlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSenderwithdrawhashlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSenderwithdrawhashlockResponse) ProtoMessage()
- func (m *MsgSenderwithdrawhashlockResponse) Reset()
- func (m *MsgSenderwithdrawhashlockResponse) Size() (n int)
- func (m *MsgSenderwithdrawhashlockResponse) String() string
- func (m *MsgSenderwithdrawhashlockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSenderwithdrawhashlockResponse) XXX_DiscardUnknown()
- func (m *MsgSenderwithdrawhashlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSenderwithdrawhashlockResponse) XXX_Merge(src proto.Message)
- func (m *MsgSenderwithdrawhashlockResponse) XXX_Size() int
- func (m *MsgSenderwithdrawhashlockResponse) XXX_Unmarshal(b []byte) error
- type MsgSenderwithdrawtimelock
- func (*MsgSenderwithdrawtimelock) Descriptor() ([]byte, []int)
- func (m *MsgSenderwithdrawtimelock) GetCreator() string
- func (msg *MsgSenderwithdrawtimelock) GetSignBytes() []byte
- func (msg *MsgSenderwithdrawtimelock) GetSigners() []sdk.AccAddress
- func (m *MsgSenderwithdrawtimelock) GetTo() string
- func (m *MsgSenderwithdrawtimelock) GetTransferindex() string
- func (m *MsgSenderwithdrawtimelock) Marshal() (dAtA []byte, err error)
- func (m *MsgSenderwithdrawtimelock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSenderwithdrawtimelock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSenderwithdrawtimelock) ProtoMessage()
- func (m *MsgSenderwithdrawtimelock) Reset()
- func (msg *MsgSenderwithdrawtimelock) Route() string
- func (m *MsgSenderwithdrawtimelock) Size() (n int)
- func (m *MsgSenderwithdrawtimelock) String() string
- func (msg *MsgSenderwithdrawtimelock) Type() string
- func (m *MsgSenderwithdrawtimelock) Unmarshal(dAtA []byte) error
- func (msg *MsgSenderwithdrawtimelock) ValidateBasic() error
- func (m *MsgSenderwithdrawtimelock) XXX_DiscardUnknown()
- func (m *MsgSenderwithdrawtimelock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSenderwithdrawtimelock) XXX_Merge(src proto.Message)
- func (m *MsgSenderwithdrawtimelock) XXX_Size() int
- func (m *MsgSenderwithdrawtimelock) XXX_Unmarshal(b []byte) error
- type MsgSenderwithdrawtimelockResponse
- func (*MsgSenderwithdrawtimelockResponse) Descriptor() ([]byte, []int)
- func (m *MsgSenderwithdrawtimelockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSenderwithdrawtimelockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSenderwithdrawtimelockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSenderwithdrawtimelockResponse) ProtoMessage()
- func (m *MsgSenderwithdrawtimelockResponse) Reset()
- func (m *MsgSenderwithdrawtimelockResponse) Size() (n int)
- func (m *MsgSenderwithdrawtimelockResponse) String() string
- func (m *MsgSenderwithdrawtimelockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSenderwithdrawtimelockResponse) XXX_DiscardUnknown()
- func (m *MsgSenderwithdrawtimelockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSenderwithdrawtimelockResponse) XXX_Merge(src proto.Message)
- func (m *MsgSenderwithdrawtimelockResponse) XXX_Size() int
- func (m *MsgSenderwithdrawtimelockResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgWithdrawHashlock
- func (*MsgWithdrawHashlock) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawHashlock) GetCreator() string
- func (m *MsgWithdrawHashlock) GetIndex() string
- func (m *MsgWithdrawHashlock) GetSecret() string
- func (msg *MsgWithdrawHashlock) GetSignBytes() []byte
- func (msg *MsgWithdrawHashlock) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawHashlock) GetTo() string
- func (m *MsgWithdrawHashlock) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawHashlock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawHashlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawHashlock) ProtoMessage()
- func (m *MsgWithdrawHashlock) Reset()
- func (msg *MsgWithdrawHashlock) Route() string
- func (m *MsgWithdrawHashlock) Size() (n int)
- func (m *MsgWithdrawHashlock) String() string
- func (msg *MsgWithdrawHashlock) Type() string
- func (m *MsgWithdrawHashlock) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawHashlock) ValidateBasic() error
- func (m *MsgWithdrawHashlock) XXX_DiscardUnknown()
- func (m *MsgWithdrawHashlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawHashlock) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawHashlock) XXX_Size() int
- func (m *MsgWithdrawHashlock) XXX_Unmarshal(b []byte) error
- type MsgWithdrawHashlockResponse
- func (*MsgWithdrawHashlockResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawHashlockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawHashlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawHashlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawHashlockResponse) ProtoMessage()
- func (m *MsgWithdrawHashlockResponse) Reset()
- func (m *MsgWithdrawHashlockResponse) Size() (n int)
- func (m *MsgWithdrawHashlockResponse) String() string
- func (m *MsgWithdrawHashlockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawHashlockResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawHashlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawHashlockResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawHashlockResponse) XXX_Size() int
- func (m *MsgWithdrawHashlockResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTimelock
- func (*MsgWithdrawTimelock) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTimelock) GetCreator() string
- func (m *MsgWithdrawTimelock) GetIndex() string
- func (msg *MsgWithdrawTimelock) GetSignBytes() []byte
- func (msg *MsgWithdrawTimelock) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawTimelock) GetTo() string
- func (m *MsgWithdrawTimelock) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTimelock) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTimelock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTimelock) ProtoMessage()
- func (m *MsgWithdrawTimelock) Reset()
- func (msg *MsgWithdrawTimelock) Route() string
- func (m *MsgWithdrawTimelock) Size() (n int)
- func (m *MsgWithdrawTimelock) String() string
- func (msg *MsgWithdrawTimelock) Type() string
- func (m *MsgWithdrawTimelock) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawTimelock) ValidateBasic() error
- func (m *MsgWithdrawTimelock) XXX_DiscardUnknown()
- func (m *MsgWithdrawTimelock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTimelock) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTimelock) XXX_Size() int
- func (m *MsgWithdrawTimelock) XXX_Unmarshal(b []byte) error
- type MsgWithdrawTimelockResponse
- func (*MsgWithdrawTimelockResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawTimelockResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawTimelockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawTimelockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawTimelockResponse) ProtoMessage()
- func (m *MsgWithdrawTimelockResponse) Reset()
- func (m *MsgWithdrawTimelockResponse) Size() (n int)
- func (m *MsgWithdrawTimelockResponse) String() string
- func (m *MsgWithdrawTimelockResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawTimelockResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawTimelockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawTimelockResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawTimelockResponse) XXX_Size() int
- func (m *MsgWithdrawTimelockResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 QueryAllChannelRequest
- func (*QueryAllChannelRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllChannelRequest) GetPagination() *query.PageRequest
- func (m *QueryAllChannelRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChannelRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChannelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChannelRequest) ProtoMessage()
- func (m *QueryAllChannelRequest) Reset()
- func (m *QueryAllChannelRequest) Size() (n int)
- func (m *QueryAllChannelRequest) String() string
- func (m *QueryAllChannelRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllChannelRequest) XXX_DiscardUnknown()
- func (m *QueryAllChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChannelRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllChannelRequest) XXX_Size() int
- func (m *QueryAllChannelRequest) XXX_Unmarshal(b []byte) error
- type QueryAllChannelResponse
- func (*QueryAllChannelResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllChannelResponse) GetChannel() []Channel
- func (m *QueryAllChannelResponse) GetPagination() *query.PageResponse
- func (m *QueryAllChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChannelResponse) ProtoMessage()
- func (m *QueryAllChannelResponse) Reset()
- func (m *QueryAllChannelResponse) Size() (n int)
- func (m *QueryAllChannelResponse) String() string
- func (m *QueryAllChannelResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllChannelResponse) XXX_DiscardUnknown()
- func (m *QueryAllChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChannelResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllChannelResponse) XXX_Size() int
- func (m *QueryAllChannelResponse) XXX_Unmarshal(b []byte) error
- type QueryAllCommitmentRequest
- func (*QueryAllCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllCommitmentRequest) GetPagination() *query.PageRequest
- func (m *QueryAllCommitmentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCommitmentRequest) ProtoMessage()
- func (m *QueryAllCommitmentRequest) Reset()
- func (m *QueryAllCommitmentRequest) Size() (n int)
- func (m *QueryAllCommitmentRequest) String() string
- func (m *QueryAllCommitmentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllCommitmentRequest) XXX_DiscardUnknown()
- func (m *QueryAllCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllCommitmentRequest) XXX_Size() int
- func (m *QueryAllCommitmentRequest) XXX_Unmarshal(b []byte) error
- type QueryAllCommitmentResponse
- func (*QueryAllCommitmentResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllCommitmentResponse) GetCommitment() []Commitment
- func (m *QueryAllCommitmentResponse) GetPagination() *query.PageResponse
- func (m *QueryAllCommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllCommitmentResponse) ProtoMessage()
- func (m *QueryAllCommitmentResponse) Reset()
- func (m *QueryAllCommitmentResponse) Size() (n int)
- func (m *QueryAllCommitmentResponse) String() string
- func (m *QueryAllCommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllCommitmentResponse) XXX_DiscardUnknown()
- func (m *QueryAllCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllCommitmentResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllCommitmentResponse) XXX_Size() int
- func (m *QueryAllCommitmentResponse) XXX_Unmarshal(b []byte) error
- type QueryAllFwdcommitmentRequest
- func (*QueryAllFwdcommitmentRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllFwdcommitmentRequest) GetPagination() *query.PageRequest
- func (m *QueryAllFwdcommitmentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFwdcommitmentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFwdcommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFwdcommitmentRequest) ProtoMessage()
- func (m *QueryAllFwdcommitmentRequest) Reset()
- func (m *QueryAllFwdcommitmentRequest) Size() (n int)
- func (m *QueryAllFwdcommitmentRequest) String() string
- func (m *QueryAllFwdcommitmentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllFwdcommitmentRequest) XXX_DiscardUnknown()
- func (m *QueryAllFwdcommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFwdcommitmentRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllFwdcommitmentRequest) XXX_Size() int
- func (m *QueryAllFwdcommitmentRequest) XXX_Unmarshal(b []byte) error
- type QueryAllFwdcommitmentResponse
- func (*QueryAllFwdcommitmentResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllFwdcommitmentResponse) GetFwdcommitment() []Fwdcommitment
- func (m *QueryAllFwdcommitmentResponse) GetPagination() *query.PageResponse
- func (m *QueryAllFwdcommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllFwdcommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllFwdcommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllFwdcommitmentResponse) ProtoMessage()
- func (m *QueryAllFwdcommitmentResponse) Reset()
- func (m *QueryAllFwdcommitmentResponse) Size() (n int)
- func (m *QueryAllFwdcommitmentResponse) String() string
- func (m *QueryAllFwdcommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllFwdcommitmentResponse) XXX_DiscardUnknown()
- func (m *QueryAllFwdcommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllFwdcommitmentResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllFwdcommitmentResponse) XXX_Size() int
- func (m *QueryAllFwdcommitmentResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetChannelRequest
- func (*QueryGetChannelRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetChannelRequest) GetIndex() string
- func (m *QueryGetChannelRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChannelRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChannelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChannelRequest) ProtoMessage()
- func (m *QueryGetChannelRequest) Reset()
- func (m *QueryGetChannelRequest) Size() (n int)
- func (m *QueryGetChannelRequest) String() string
- func (m *QueryGetChannelRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetChannelRequest) XXX_DiscardUnknown()
- func (m *QueryGetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChannelRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetChannelRequest) XXX_Size() int
- func (m *QueryGetChannelRequest) XXX_Unmarshal(b []byte) error
- type QueryGetChannelResponse
- func (*QueryGetChannelResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetChannelResponse) GetChannel() Channel
- func (m *QueryGetChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChannelResponse) ProtoMessage()
- func (m *QueryGetChannelResponse) Reset()
- func (m *QueryGetChannelResponse) Size() (n int)
- func (m *QueryGetChannelResponse) String() string
- func (m *QueryGetChannelResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetChannelResponse) XXX_DiscardUnknown()
- func (m *QueryGetChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChannelResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetChannelResponse) XXX_Size() int
- func (m *QueryGetChannelResponse) XXX_Unmarshal(b []byte) error
- type QueryGetCommitmentRequest
- func (*QueryGetCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetCommitmentRequest) GetIndex() string
- func (m *QueryGetCommitmentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCommitmentRequest) ProtoMessage()
- func (m *QueryGetCommitmentRequest) Reset()
- func (m *QueryGetCommitmentRequest) Size() (n int)
- func (m *QueryGetCommitmentRequest) String() string
- func (m *QueryGetCommitmentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetCommitmentRequest) XXX_DiscardUnknown()
- func (m *QueryGetCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetCommitmentRequest) XXX_Size() int
- func (m *QueryGetCommitmentRequest) XXX_Unmarshal(b []byte) error
- type QueryGetCommitmentResponse
- func (*QueryGetCommitmentResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetCommitmentResponse) GetCommitment() Commitment
- func (m *QueryGetCommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetCommitmentResponse) ProtoMessage()
- func (m *QueryGetCommitmentResponse) Reset()
- func (m *QueryGetCommitmentResponse) Size() (n int)
- func (m *QueryGetCommitmentResponse) String() string
- func (m *QueryGetCommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetCommitmentResponse) XXX_DiscardUnknown()
- func (m *QueryGetCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetCommitmentResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetCommitmentResponse) XXX_Size() int
- func (m *QueryGetCommitmentResponse) XXX_Unmarshal(b []byte) error
- type QueryGetFwdcommitmentRequest
- func (*QueryGetFwdcommitmentRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetFwdcommitmentRequest) GetIndex() string
- func (m *QueryGetFwdcommitmentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetFwdcommitmentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetFwdcommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetFwdcommitmentRequest) ProtoMessage()
- func (m *QueryGetFwdcommitmentRequest) Reset()
- func (m *QueryGetFwdcommitmentRequest) Size() (n int)
- func (m *QueryGetFwdcommitmentRequest) String() string
- func (m *QueryGetFwdcommitmentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetFwdcommitmentRequest) XXX_DiscardUnknown()
- func (m *QueryGetFwdcommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetFwdcommitmentRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetFwdcommitmentRequest) XXX_Size() int
- func (m *QueryGetFwdcommitmentRequest) XXX_Unmarshal(b []byte) error
- type QueryGetFwdcommitmentResponse
- func (*QueryGetFwdcommitmentResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetFwdcommitmentResponse) GetFwdcommitment() Fwdcommitment
- func (m *QueryGetFwdcommitmentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetFwdcommitmentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetFwdcommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetFwdcommitmentResponse) ProtoMessage()
- func (m *QueryGetFwdcommitmentResponse) Reset()
- func (m *QueryGetFwdcommitmentResponse) Size() (n int)
- func (m *QueryGetFwdcommitmentResponse) String() string
- func (m *QueryGetFwdcommitmentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetFwdcommitmentResponse) XXX_DiscardUnknown()
- func (m *QueryGetFwdcommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetFwdcommitmentResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetFwdcommitmentResponse) XXX_Size() int
- func (m *QueryGetFwdcommitmentResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Acceptfund(ctx context.Context, req *MsgAcceptfund) (*MsgAcceptfundResponse, error)
- func (*UnimplementedMsgServer) Closechannel(ctx context.Context, req *MsgClosechannel) (*MsgClosechannelResponse, error)
- func (*UnimplementedMsgServer) Commitment(ctx context.Context, req *MsgCommitment) (*MsgCommitmentResponse, error)
- func (*UnimplementedMsgServer) Fund(ctx context.Context, req *MsgFund) (*MsgFundResponse, error)
- func (*UnimplementedMsgServer) Openchannel(ctx context.Context, req *MsgOpenchannel) (*MsgOpenchannelResponse, error)
- func (*UnimplementedMsgServer) Receivercommit(ctx context.Context, req *MsgReceivercommit) (*MsgReceivercommitResponse, error)
- func (*UnimplementedMsgServer) Receiverwithdraw(ctx context.Context, req *MsgReceiverwithdraw) (*MsgReceiverwithdrawResponse, error)
- func (*UnimplementedMsgServer) Sendercommit(ctx context.Context, req *MsgSendercommit) (*MsgSendercommitResponse, error)
- func (*UnimplementedMsgServer) Senderwithdrawhashlock(ctx context.Context, req *MsgSenderwithdrawhashlock) (*MsgSenderwithdrawhashlockResponse, error)
- func (*UnimplementedMsgServer) Senderwithdrawtimelock(ctx context.Context, req *MsgSenderwithdrawtimelock) (*MsgSenderwithdrawtimelockResponse, error)
- func (*UnimplementedMsgServer) WithdrawHashlock(ctx context.Context, req *MsgWithdrawHashlock) (*MsgWithdrawHashlockResponse, error)
- func (*UnimplementedMsgServer) WithdrawTimelock(ctx context.Context, req *MsgWithdrawTimelock) (*MsgWithdrawTimelockResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Channel(ctx context.Context, req *QueryGetChannelRequest) (*QueryGetChannelResponse, error)
- func (*UnimplementedQueryServer) ChannelAll(ctx context.Context, req *QueryAllChannelRequest) (*QueryAllChannelResponse, error)
- func (*UnimplementedQueryServer) Commitment(ctx context.Context, req *QueryGetCommitmentRequest) (*QueryGetCommitmentResponse, error)
- func (*UnimplementedQueryServer) CommitmentAll(ctx context.Context, req *QueryAllCommitmentRequest) (*QueryAllCommitmentResponse, error)
- func (*UnimplementedQueryServer) Fwdcommitment(ctx context.Context, req *QueryGetFwdcommitmentRequest) (*QueryGetFwdcommitmentResponse, error)
- func (*UnimplementedQueryServer) FwdcommitmentAll(ctx context.Context, req *QueryAllFwdcommitmentRequest) (*QueryAllFwdcommitmentResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "channel" // 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_channel" )
const (
// ChannelKeyPrefix is the prefix to retrieve all Channel
ChannelKeyPrefix = "Channel/value/"
)
const (
// CommitmentKeyPrefix is the prefix to retrieve all Commitment
CommitmentKeyPrefix = "Commitment/value/"
)
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// FwdcommitmentKeyPrefix is the prefix to retrieve all Fwdcommitment
FwdcommitmentKeyPrefix = "Fwdcommitment/value/"
)
const TypeMsgAcceptfund = "acceptfund"
const TypeMsgClosechannel = "closechannel"
const TypeMsgCommitment = "commitment"
const TypeMsgFund = "fund"
const TypeMsgOpenchannel = "openchannel"
const TypeMsgReceivercommit = "receivercommit"
const TypeMsgReceiverwithdraw = "receiverwithdraw"
const TypeMsgSendercommit = "sendercommit"
const TypeMsgSenderwithdrawhashlock = "senderwithdrawhashlock"
const TypeMsgSenderwithdrawtimelock = "senderwithdrawtimelock"
const TypeMsgWithdrawHashlock = "withdraw_hashlock"
const TypeMsgWithdrawTimelock = "withdraw_timelock"
Variables ¶
var ( ErrInvalidLengthChannel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChannel = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthCommitment = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommitment = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommitment = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthFwdcommitment = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFwdcommitment = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFwdcommitment = 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 ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/channel module sentinel errors
Functions ¶
func ChannelKey ¶
ChannelKey returns the store key to retrieve a Channel from the index fields
func CommitmentKey ¶
CommitmentKey returns the store key to retrieve a Commitment from the index fields
func FwdcommitmentKey ¶
FwdcommitmentKey returns the store key to retrieve a Fwdcommitment from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
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)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins // Methods imported from bank should be defined here IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error BlockedAddr(addr sdk.AccAddress) bool SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins // Methods imported from bank should be defined here SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type Channel ¶
type Channel struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` MultisigAddr string `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` PartA string `protobuf:"bytes,3,opt,name=partA,proto3" json:"partA,omitempty"` PartB string `protobuf:"bytes,4,opt,name=partB,proto3" json:"partB,omitempty"` Denom string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"` Sequence string `protobuf:"bytes,6,opt,name=sequence,proto3" json:"sequence,omitempty"` }
func (*Channel) Descriptor ¶
func (*Channel) GetMultisigAddr ¶
func (*Channel) GetSequence ¶
func (*Channel) MarshalToSizedBuffer ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) XXX_DiscardUnknown ¶
func (m *Channel) XXX_DiscardUnknown()
func (*Channel) XXX_Marshal ¶
func (*Channel) XXX_Unmarshal ¶
type Commitment ¶
type Commitment struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` MultisigAddr string `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` Creatoraddr string `protobuf:"bytes,3,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"` Partneraddr string `protobuf:"bytes,4,opt,name=partneraddr,proto3" json:"partneraddr,omitempty"` Hashcode string `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"` Numblock uint64 `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"` Cointocreator *types.Coin `protobuf:"bytes,7,opt,name=cointocreator,proto3" json:"cointocreator,omitempty"` Cointohtlc *types.Coin `protobuf:"bytes,8,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"` Channelid string `protobuf:"bytes,9,opt,name=channelid,proto3" json:"channelid,omitempty"` }
func (*Commitment) Descriptor ¶
func (*Commitment) Descriptor() ([]byte, []int)
func (*Commitment) GetChannelid ¶
func (m *Commitment) GetChannelid() string
func (*Commitment) GetCointocreator ¶
func (m *Commitment) GetCointocreator() *types.Coin
func (*Commitment) GetCointohtlc ¶
func (m *Commitment) GetCointohtlc() *types.Coin
func (*Commitment) GetCreatoraddr ¶
func (m *Commitment) GetCreatoraddr() string
func (*Commitment) GetHashcode ¶
func (m *Commitment) GetHashcode() string
func (*Commitment) GetIndex ¶
func (m *Commitment) GetIndex() string
func (*Commitment) GetMultisigAddr ¶
func (m *Commitment) GetMultisigAddr() string
func (*Commitment) GetNumblock ¶
func (m *Commitment) GetNumblock() uint64
func (*Commitment) GetPartneraddr ¶
func (m *Commitment) GetPartneraddr() string
func (*Commitment) Marshal ¶
func (m *Commitment) Marshal() (dAtA []byte, err error)
func (*Commitment) MarshalToSizedBuffer ¶
func (m *Commitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Commitment) ProtoMessage ¶
func (*Commitment) ProtoMessage()
func (*Commitment) Reset ¶
func (m *Commitment) Reset()
func (*Commitment) Size ¶
func (m *Commitment) Size() (n int)
func (*Commitment) String ¶
func (m *Commitment) String() string
func (*Commitment) Unmarshal ¶
func (m *Commitment) Unmarshal(dAtA []byte) error
func (*Commitment) XXX_DiscardUnknown ¶
func (m *Commitment) XXX_DiscardUnknown()
func (*Commitment) XXX_Marshal ¶
func (m *Commitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Commitment) XXX_Merge ¶
func (m *Commitment) XXX_Merge(src proto.Message)
func (*Commitment) XXX_Size ¶
func (m *Commitment) XXX_Size() int
func (*Commitment) XXX_Unmarshal ¶
func (m *Commitment) XXX_Unmarshal(b []byte) error
type Fwdcommitment ¶
type Fwdcommitment struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Channelid string `protobuf:"bytes,2,opt,name=channelid,proto3" json:"channelid,omitempty"` MultisigAddr string `protobuf:"bytes,3,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` SenderAddr string `protobuf:"bytes,4,opt,name=senderAddr,proto3" json:"senderAddr,omitempty"` ReceiverAddr string `protobuf:"bytes,5,opt,name=receiverAddr,proto3" json:"receiverAddr,omitempty"` Timelocksender uint64 `protobuf:"varint,6,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"` Timelockreceiver uint64 `protobuf:"varint,7,opt,name=timelockreceiver,proto3" json:"timelockreceiver,omitempty"` Hashcodehtlc string `protobuf:"bytes,8,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"` Hashcodedest string `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"` Cointransfer *types.Coin `protobuf:"bytes,10,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"` Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*Fwdcommitment) Descriptor ¶
func (*Fwdcommitment) Descriptor() ([]byte, []int)
func (*Fwdcommitment) GetChannelid ¶
func (m *Fwdcommitment) GetChannelid() string
func (*Fwdcommitment) GetCointransfer ¶
func (m *Fwdcommitment) GetCointransfer() *types.Coin
func (*Fwdcommitment) GetCreator ¶
func (m *Fwdcommitment) GetCreator() string
func (*Fwdcommitment) GetHashcodedest ¶
func (m *Fwdcommitment) GetHashcodedest() string
func (*Fwdcommitment) GetHashcodehtlc ¶
func (m *Fwdcommitment) GetHashcodehtlc() string
func (*Fwdcommitment) GetIndex ¶
func (m *Fwdcommitment) GetIndex() string
func (*Fwdcommitment) GetMultisigAddr ¶
func (m *Fwdcommitment) GetMultisigAddr() string
func (*Fwdcommitment) GetReceiverAddr ¶
func (m *Fwdcommitment) GetReceiverAddr() string
func (*Fwdcommitment) GetSenderAddr ¶
func (m *Fwdcommitment) GetSenderAddr() string
func (*Fwdcommitment) GetTimelockreceiver ¶
func (m *Fwdcommitment) GetTimelockreceiver() uint64
func (*Fwdcommitment) GetTimelocksender ¶
func (m *Fwdcommitment) GetTimelocksender() uint64
func (*Fwdcommitment) Marshal ¶
func (m *Fwdcommitment) Marshal() (dAtA []byte, err error)
func (*Fwdcommitment) MarshalToSizedBuffer ¶
func (m *Fwdcommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Fwdcommitment) ProtoMessage ¶
func (*Fwdcommitment) ProtoMessage()
func (*Fwdcommitment) Reset ¶
func (m *Fwdcommitment) Reset()
func (*Fwdcommitment) Size ¶
func (m *Fwdcommitment) Size() (n int)
func (*Fwdcommitment) String ¶
func (m *Fwdcommitment) String() string
func (*Fwdcommitment) Unmarshal ¶
func (m *Fwdcommitment) Unmarshal(dAtA []byte) error
func (*Fwdcommitment) XXX_DiscardUnknown ¶
func (m *Fwdcommitment) XXX_DiscardUnknown()
func (*Fwdcommitment) XXX_Marshal ¶
func (m *Fwdcommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Fwdcommitment) XXX_Merge ¶
func (m *Fwdcommitment) XXX_Merge(src proto.Message)
func (*Fwdcommitment) XXX_Size ¶
func (m *Fwdcommitment) XXX_Size() int
func (*Fwdcommitment) XXX_Unmarshal ¶
func (m *Fwdcommitment) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ChannelList []Channel `protobuf:"bytes,2,rep,name=channelList,proto3" json:"channelList"` CommitmentList []Commitment `protobuf:"bytes,3,rep,name=commitmentList,proto3" json:"commitmentList"` FwdcommitmentList []Fwdcommitment `protobuf:"bytes,4,rep,name=fwdcommitmentList,proto3" json:"fwdcommitmentList"` }
GenesisState defines the channel 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) GetChannelList ¶
func (m *GenesisState) GetChannelList() []Channel
func (*GenesisState) GetCommitmentList ¶
func (m *GenesisState) GetCommitmentList() []Commitment
func (*GenesisState) GetFwdcommitmentList ¶
func (m *GenesisState) GetFwdcommitmentList() []Fwdcommitment
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgAcceptfund ¶
type MsgAcceptfund struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Creatoraddr string `protobuf:"bytes,2,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"` Channelid string `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"` CointoCreator *types.Coin `protobuf:"bytes,4,opt,name=cointoCreator,proto3" json:"cointoCreator,omitempty"` Hashcode string `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"` Numblock uint64 `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"` MultisigAddr string `protobuf:"bytes,7,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` }
func NewMsgAcceptfund ¶
func (*MsgAcceptfund) Descriptor ¶
func (*MsgAcceptfund) Descriptor() ([]byte, []int)
func (*MsgAcceptfund) GetChannelid ¶
func (m *MsgAcceptfund) GetChannelid() string
func (*MsgAcceptfund) GetCointoCreator ¶
func (m *MsgAcceptfund) GetCointoCreator() *types.Coin
func (*MsgAcceptfund) GetCreator ¶
func (m *MsgAcceptfund) GetCreator() string
func (*MsgAcceptfund) GetCreatoraddr ¶
func (m *MsgAcceptfund) GetCreatoraddr() string
func (*MsgAcceptfund) GetHashcode ¶
func (m *MsgAcceptfund) GetHashcode() string
func (*MsgAcceptfund) GetMultisigAddr ¶
func (m *MsgAcceptfund) GetMultisigAddr() string
func (*MsgAcceptfund) GetNumblock ¶
func (m *MsgAcceptfund) GetNumblock() uint64
func (*MsgAcceptfund) GetSignBytes ¶
func (msg *MsgAcceptfund) GetSignBytes() []byte
func (*MsgAcceptfund) GetSigners ¶
func (msg *MsgAcceptfund) GetSigners() []sdk.AccAddress
func (*MsgAcceptfund) Marshal ¶
func (m *MsgAcceptfund) Marshal() (dAtA []byte, err error)
func (*MsgAcceptfund) MarshalToSizedBuffer ¶
func (m *MsgAcceptfund) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptfund) ProtoMessage ¶
func (*MsgAcceptfund) ProtoMessage()
func (*MsgAcceptfund) Reset ¶
func (m *MsgAcceptfund) Reset()
func (*MsgAcceptfund) Route ¶
func (msg *MsgAcceptfund) Route() string
func (*MsgAcceptfund) Size ¶
func (m *MsgAcceptfund) Size() (n int)
func (*MsgAcceptfund) String ¶
func (m *MsgAcceptfund) String() string
func (*MsgAcceptfund) Type ¶
func (msg *MsgAcceptfund) Type() string
func (*MsgAcceptfund) Unmarshal ¶
func (m *MsgAcceptfund) Unmarshal(dAtA []byte) error
func (*MsgAcceptfund) ValidateBasic ¶
func (msg *MsgAcceptfund) ValidateBasic() error
func (*MsgAcceptfund) XXX_DiscardUnknown ¶
func (m *MsgAcceptfund) XXX_DiscardUnknown()
func (*MsgAcceptfund) XXX_Marshal ¶
func (m *MsgAcceptfund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptfund) XXX_Merge ¶
func (m *MsgAcceptfund) XXX_Merge(src proto.Message)
func (*MsgAcceptfund) XXX_Size ¶
func (m *MsgAcceptfund) XXX_Size() int
func (*MsgAcceptfund) XXX_Unmarshal ¶
func (m *MsgAcceptfund) XXX_Unmarshal(b []byte) error
type MsgAcceptfundResponse ¶
type MsgAcceptfundResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgAcceptfundResponse) Descriptor ¶
func (*MsgAcceptfundResponse) Descriptor() ([]byte, []int)
func (*MsgAcceptfundResponse) GetId ¶
func (m *MsgAcceptfundResponse) GetId() string
func (*MsgAcceptfundResponse) Marshal ¶
func (m *MsgAcceptfundResponse) Marshal() (dAtA []byte, err error)
func (*MsgAcceptfundResponse) MarshalTo ¶
func (m *MsgAcceptfundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAcceptfundResponse) MarshalToSizedBuffer ¶
func (m *MsgAcceptfundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAcceptfundResponse) ProtoMessage ¶
func (*MsgAcceptfundResponse) ProtoMessage()
func (*MsgAcceptfundResponse) Reset ¶
func (m *MsgAcceptfundResponse) Reset()
func (*MsgAcceptfundResponse) Size ¶
func (m *MsgAcceptfundResponse) Size() (n int)
func (*MsgAcceptfundResponse) String ¶
func (m *MsgAcceptfundResponse) String() string
func (*MsgAcceptfundResponse) Unmarshal ¶
func (m *MsgAcceptfundResponse) Unmarshal(dAtA []byte) error
func (*MsgAcceptfundResponse) XXX_DiscardUnknown ¶
func (m *MsgAcceptfundResponse) XXX_DiscardUnknown()
func (*MsgAcceptfundResponse) XXX_Marshal ¶
func (m *MsgAcceptfundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAcceptfundResponse) XXX_Merge ¶
func (m *MsgAcceptfundResponse) XXX_Merge(src proto.Message)
func (*MsgAcceptfundResponse) XXX_Size ¶
func (m *MsgAcceptfundResponse) XXX_Size() int
func (*MsgAcceptfundResponse) XXX_Unmarshal ¶
func (m *MsgAcceptfundResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { Openchannel(ctx context.Context, in *MsgOpenchannel, opts ...grpc.CallOption) (*MsgOpenchannelResponse, error) Closechannel(ctx context.Context, in *MsgClosechannel, opts ...grpc.CallOption) (*MsgClosechannelResponse, error) Commitment(ctx context.Context, in *MsgCommitment, opts ...grpc.CallOption) (*MsgCommitmentResponse, error) WithdrawTimelock(ctx context.Context, in *MsgWithdrawTimelock, opts ...grpc.CallOption) (*MsgWithdrawTimelockResponse, error) WithdrawHashlock(ctx context.Context, in *MsgWithdrawHashlock, opts ...grpc.CallOption) (*MsgWithdrawHashlockResponse, error) Fund(ctx context.Context, in *MsgFund, opts ...grpc.CallOption) (*MsgFundResponse, error) Acceptfund(ctx context.Context, in *MsgAcceptfund, opts ...grpc.CallOption) (*MsgAcceptfundResponse, error) Sendercommit(ctx context.Context, in *MsgSendercommit, opts ...grpc.CallOption) (*MsgSendercommitResponse, error) Receivercommit(ctx context.Context, in *MsgReceivercommit, opts ...grpc.CallOption) (*MsgReceivercommitResponse, error) Senderwithdrawtimelock(ctx context.Context, in *MsgSenderwithdrawtimelock, opts ...grpc.CallOption) (*MsgSenderwithdrawtimelockResponse, error) Senderwithdrawhashlock(ctx context.Context, in *MsgSenderwithdrawhashlock, opts ...grpc.CallOption) (*MsgSenderwithdrawhashlockResponse, error) Receiverwithdraw(ctx context.Context, in *MsgReceiverwithdraw, opts ...grpc.CallOption) (*MsgReceiverwithdrawResponse, 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 MsgClosechannel ¶
type MsgClosechannel struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MultisigAddr string `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` PartA string `protobuf:"bytes,3,opt,name=partA,proto3" json:"partA,omitempty"` CoinA *types.Coin `protobuf:"bytes,4,opt,name=coinA,proto3" json:"coinA,omitempty"` PartB string `protobuf:"bytes,5,opt,name=partB,proto3" json:"partB,omitempty"` CoinB *types.Coin `protobuf:"bytes,6,opt,name=coinB,proto3" json:"coinB,omitempty"` Channelid string `protobuf:"bytes,7,opt,name=channelid,proto3" json:"channelid,omitempty"` }
func NewMsgClosechannel ¶
func (*MsgClosechannel) Descriptor ¶
func (*MsgClosechannel) Descriptor() ([]byte, []int)
func (*MsgClosechannel) GetChannelid ¶
func (m *MsgClosechannel) GetChannelid() string
func (*MsgClosechannel) GetCoinA ¶
func (m *MsgClosechannel) GetCoinA() *types.Coin
func (*MsgClosechannel) GetCoinB ¶
func (m *MsgClosechannel) GetCoinB() *types.Coin
func (*MsgClosechannel) GetCreator ¶
func (m *MsgClosechannel) GetCreator() string
func (*MsgClosechannel) GetMultisigAddr ¶
func (m *MsgClosechannel) GetMultisigAddr() string
func (*MsgClosechannel) GetPartA ¶
func (m *MsgClosechannel) GetPartA() string
func (*MsgClosechannel) GetPartB ¶
func (m *MsgClosechannel) GetPartB() string
func (*MsgClosechannel) GetSignBytes ¶
func (msg *MsgClosechannel) GetSignBytes() []byte
func (*MsgClosechannel) GetSigners ¶
func (msg *MsgClosechannel) GetSigners() []sdk.AccAddress
func (*MsgClosechannel) Marshal ¶
func (m *MsgClosechannel) Marshal() (dAtA []byte, err error)
func (*MsgClosechannel) MarshalToSizedBuffer ¶
func (m *MsgClosechannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClosechannel) ProtoMessage ¶
func (*MsgClosechannel) ProtoMessage()
func (*MsgClosechannel) Reset ¶
func (m *MsgClosechannel) Reset()
func (*MsgClosechannel) Route ¶
func (msg *MsgClosechannel) Route() string
func (*MsgClosechannel) Size ¶
func (m *MsgClosechannel) Size() (n int)
func (*MsgClosechannel) String ¶
func (m *MsgClosechannel) String() string
func (*MsgClosechannel) Type ¶
func (msg *MsgClosechannel) Type() string
func (*MsgClosechannel) Unmarshal ¶
func (m *MsgClosechannel) Unmarshal(dAtA []byte) error
func (*MsgClosechannel) ValidateBasic ¶
func (msg *MsgClosechannel) ValidateBasic() error
func (*MsgClosechannel) XXX_DiscardUnknown ¶
func (m *MsgClosechannel) XXX_DiscardUnknown()
func (*MsgClosechannel) XXX_Marshal ¶
func (m *MsgClosechannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClosechannel) XXX_Merge ¶
func (m *MsgClosechannel) XXX_Merge(src proto.Message)
func (*MsgClosechannel) XXX_Size ¶
func (m *MsgClosechannel) XXX_Size() int
func (*MsgClosechannel) XXX_Unmarshal ¶
func (m *MsgClosechannel) XXX_Unmarshal(b []byte) error
type MsgClosechannelResponse ¶
type MsgClosechannelResponse struct { }
func (*MsgClosechannelResponse) Descriptor ¶
func (*MsgClosechannelResponse) Descriptor() ([]byte, []int)
func (*MsgClosechannelResponse) Marshal ¶
func (m *MsgClosechannelResponse) Marshal() (dAtA []byte, err error)
func (*MsgClosechannelResponse) MarshalTo ¶
func (m *MsgClosechannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClosechannelResponse) MarshalToSizedBuffer ¶
func (m *MsgClosechannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClosechannelResponse) ProtoMessage ¶
func (*MsgClosechannelResponse) ProtoMessage()
func (*MsgClosechannelResponse) Reset ¶
func (m *MsgClosechannelResponse) Reset()
func (*MsgClosechannelResponse) Size ¶
func (m *MsgClosechannelResponse) Size() (n int)
func (*MsgClosechannelResponse) String ¶
func (m *MsgClosechannelResponse) String() string
func (*MsgClosechannelResponse) Unmarshal ¶
func (m *MsgClosechannelResponse) Unmarshal(dAtA []byte) error
func (*MsgClosechannelResponse) XXX_DiscardUnknown ¶
func (m *MsgClosechannelResponse) XXX_DiscardUnknown()
func (*MsgClosechannelResponse) XXX_Marshal ¶
func (m *MsgClosechannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClosechannelResponse) XXX_Merge ¶
func (m *MsgClosechannelResponse) XXX_Merge(src proto.Message)
func (*MsgClosechannelResponse) XXX_Size ¶
func (m *MsgClosechannelResponse) XXX_Size() int
func (*MsgClosechannelResponse) XXX_Unmarshal ¶
func (m *MsgClosechannelResponse) XXX_Unmarshal(b []byte) error
type MsgCommitment ¶
type MsgCommitment struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MultisigAddr string `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` Creatoraddr string `protobuf:"bytes,3,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"` Partneraddr string `protobuf:"bytes,4,opt,name=partneraddr,proto3" json:"partneraddr,omitempty"` Hashcode string `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"` Numblock uint64 `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"` Cointocreator *types.Coin `protobuf:"bytes,7,opt,name=cointocreator,proto3" json:"cointocreator,omitempty"` Cointohtlc *types.Coin `protobuf:"bytes,8,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"` Channelid string `protobuf:"bytes,9,opt,name=channelid,proto3" json:"channelid,omitempty"` }
func NewMsgCommitment ¶
func (*MsgCommitment) Descriptor ¶
func (*MsgCommitment) Descriptor() ([]byte, []int)
func (*MsgCommitment) GetChannelid ¶
func (m *MsgCommitment) GetChannelid() string
func (*MsgCommitment) GetCointocreator ¶
func (m *MsgCommitment) GetCointocreator() *types.Coin
func (*MsgCommitment) GetCointohtlc ¶
func (m *MsgCommitment) GetCointohtlc() *types.Coin
func (*MsgCommitment) GetCreator ¶
func (m *MsgCommitment) GetCreator() string
func (*MsgCommitment) GetCreatoraddr ¶
func (m *MsgCommitment) GetCreatoraddr() string
func (*MsgCommitment) GetHashcode ¶
func (m *MsgCommitment) GetHashcode() string
func (*MsgCommitment) GetMultisigAddr ¶
func (m *MsgCommitment) GetMultisigAddr() string
func (*MsgCommitment) GetNumblock ¶
func (m *MsgCommitment) GetNumblock() uint64
func (*MsgCommitment) GetPartneraddr ¶
func (m *MsgCommitment) GetPartneraddr() string
func (*MsgCommitment) GetSignBytes ¶
func (msg *MsgCommitment) GetSignBytes() []byte
func (*MsgCommitment) GetSigners ¶
func (msg *MsgCommitment) GetSigners() []sdk.AccAddress
func (*MsgCommitment) Marshal ¶
func (m *MsgCommitment) Marshal() (dAtA []byte, err error)
func (*MsgCommitment) MarshalToSizedBuffer ¶
func (m *MsgCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitment) ProtoMessage ¶
func (*MsgCommitment) ProtoMessage()
func (*MsgCommitment) Reset ¶
func (m *MsgCommitment) Reset()
func (*MsgCommitment) Route ¶
func (msg *MsgCommitment) Route() string
func (*MsgCommitment) Size ¶
func (m *MsgCommitment) Size() (n int)
func (*MsgCommitment) String ¶
func (m *MsgCommitment) String() string
func (*MsgCommitment) Type ¶
func (msg *MsgCommitment) Type() string
func (*MsgCommitment) Unmarshal ¶
func (m *MsgCommitment) Unmarshal(dAtA []byte) error
func (*MsgCommitment) ValidateBasic ¶
func (msg *MsgCommitment) ValidateBasic() error
func (*MsgCommitment) XXX_DiscardUnknown ¶
func (m *MsgCommitment) XXX_DiscardUnknown()
func (*MsgCommitment) XXX_Marshal ¶
func (m *MsgCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitment) XXX_Merge ¶
func (m *MsgCommitment) XXX_Merge(src proto.Message)
func (*MsgCommitment) XXX_Size ¶
func (m *MsgCommitment) XXX_Size() int
func (*MsgCommitment) XXX_Unmarshal ¶
func (m *MsgCommitment) XXX_Unmarshal(b []byte) error
type MsgCommitmentResponse ¶
type MsgCommitmentResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCommitmentResponse) Descriptor ¶
func (*MsgCommitmentResponse) Descriptor() ([]byte, []int)
func (*MsgCommitmentResponse) GetId ¶
func (m *MsgCommitmentResponse) GetId() string
func (*MsgCommitmentResponse) Marshal ¶
func (m *MsgCommitmentResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommitmentResponse) MarshalTo ¶
func (m *MsgCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitmentResponse) MarshalToSizedBuffer ¶
func (m *MsgCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitmentResponse) ProtoMessage ¶
func (*MsgCommitmentResponse) ProtoMessage()
func (*MsgCommitmentResponse) Reset ¶
func (m *MsgCommitmentResponse) Reset()
func (*MsgCommitmentResponse) Size ¶
func (m *MsgCommitmentResponse) Size() (n int)
func (*MsgCommitmentResponse) String ¶
func (m *MsgCommitmentResponse) String() string
func (*MsgCommitmentResponse) Unmarshal ¶
func (m *MsgCommitmentResponse) Unmarshal(dAtA []byte) error
func (*MsgCommitmentResponse) XXX_DiscardUnknown ¶
func (m *MsgCommitmentResponse) XXX_DiscardUnknown()
func (*MsgCommitmentResponse) XXX_Marshal ¶
func (m *MsgCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitmentResponse) XXX_Merge ¶
func (m *MsgCommitmentResponse) XXX_Merge(src proto.Message)
func (*MsgCommitmentResponse) XXX_Size ¶
func (m *MsgCommitmentResponse) XXX_Size() int
func (*MsgCommitmentResponse) XXX_Unmarshal ¶
func (m *MsgCommitmentResponse) XXX_Unmarshal(b []byte) error
type MsgFund ¶
type MsgFund struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Creatoraddr string `protobuf:"bytes,2,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"` Channelid string `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"` CointoPartner *types.Coin `protobuf:"bytes,4,opt,name=cointoPartner,proto3" json:"cointoPartner,omitempty"` Hashcode string `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"` Numblock uint64 `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"` MultisigAddr string `protobuf:"bytes,7,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` }
func NewMsgFund ¶
func (*MsgFund) Descriptor ¶
func (*MsgFund) GetChannelid ¶
func (*MsgFund) GetCointoPartner ¶
func (*MsgFund) GetCreator ¶
func (*MsgFund) GetCreatoraddr ¶
func (*MsgFund) GetHashcode ¶
func (*MsgFund) GetMultisigAddr ¶
func (*MsgFund) GetNumblock ¶
func (*MsgFund) GetSignBytes ¶
func (*MsgFund) GetSigners ¶
func (msg *MsgFund) GetSigners() []sdk.AccAddress
func (*MsgFund) MarshalToSizedBuffer ¶
func (*MsgFund) ProtoMessage ¶
func (*MsgFund) ProtoMessage()
func (*MsgFund) ValidateBasic ¶
func (*MsgFund) XXX_DiscardUnknown ¶
func (m *MsgFund) XXX_DiscardUnknown()
func (*MsgFund) XXX_Marshal ¶
func (*MsgFund) XXX_Unmarshal ¶
type MsgFundResponse ¶
type MsgFundResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgFundResponse) Descriptor ¶
func (*MsgFundResponse) Descriptor() ([]byte, []int)
func (*MsgFundResponse) GetId ¶
func (m *MsgFundResponse) GetId() string
func (*MsgFundResponse) Marshal ¶
func (m *MsgFundResponse) Marshal() (dAtA []byte, err error)
func (*MsgFundResponse) MarshalToSizedBuffer ¶
func (m *MsgFundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFundResponse) ProtoMessage ¶
func (*MsgFundResponse) ProtoMessage()
func (*MsgFundResponse) Reset ¶
func (m *MsgFundResponse) Reset()
func (*MsgFundResponse) Size ¶
func (m *MsgFundResponse) Size() (n int)
func (*MsgFundResponse) String ¶
func (m *MsgFundResponse) String() string
func (*MsgFundResponse) Unmarshal ¶
func (m *MsgFundResponse) Unmarshal(dAtA []byte) error
func (*MsgFundResponse) XXX_DiscardUnknown ¶
func (m *MsgFundResponse) XXX_DiscardUnknown()
func (*MsgFundResponse) XXX_Marshal ¶
func (m *MsgFundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFundResponse) XXX_Merge ¶
func (m *MsgFundResponse) XXX_Merge(src proto.Message)
func (*MsgFundResponse) XXX_Size ¶
func (m *MsgFundResponse) XXX_Size() int
func (*MsgFundResponse) XXX_Unmarshal ¶
func (m *MsgFundResponse) XXX_Unmarshal(b []byte) error
type MsgOpenchannel ¶
type MsgOpenchannel struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` PartA string `protobuf:"bytes,2,opt,name=partA,proto3" json:"partA,omitempty"` PartB string `protobuf:"bytes,3,opt,name=partB,proto3" json:"partB,omitempty"` CoinA *types.Coin `protobuf:"bytes,4,opt,name=coinA,proto3" json:"coinA,omitempty"` CoinB *types.Coin `protobuf:"bytes,5,opt,name=coinB,proto3" json:"coinB,omitempty"` MultisigAddr string `protobuf:"bytes,6,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` Sequence string `protobuf:"bytes,7,opt,name=sequence,proto3" json:"sequence,omitempty"` }
func NewMsgOpenchannel ¶
func (*MsgOpenchannel) Descriptor ¶
func (*MsgOpenchannel) Descriptor() ([]byte, []int)
func (*MsgOpenchannel) GetCoinA ¶
func (m *MsgOpenchannel) GetCoinA() *types.Coin
func (*MsgOpenchannel) GetCoinB ¶
func (m *MsgOpenchannel) GetCoinB() *types.Coin
func (*MsgOpenchannel) GetCreator ¶
func (m *MsgOpenchannel) GetCreator() string
func (*MsgOpenchannel) GetMultisigAddr ¶
func (m *MsgOpenchannel) GetMultisigAddr() string
func (*MsgOpenchannel) GetPartA ¶
func (m *MsgOpenchannel) GetPartA() string
func (*MsgOpenchannel) GetPartB ¶
func (m *MsgOpenchannel) GetPartB() string
func (*MsgOpenchannel) GetSequence ¶
func (m *MsgOpenchannel) GetSequence() string
func (*MsgOpenchannel) GetSignBytes ¶
func (msg *MsgOpenchannel) GetSignBytes() []byte
func (*MsgOpenchannel) GetSigners ¶
func (msg *MsgOpenchannel) GetSigners() []sdk.AccAddress
func (*MsgOpenchannel) Marshal ¶
func (m *MsgOpenchannel) Marshal() (dAtA []byte, err error)
func (*MsgOpenchannel) MarshalToSizedBuffer ¶
func (m *MsgOpenchannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenchannel) ProtoMessage ¶
func (*MsgOpenchannel) ProtoMessage()
func (*MsgOpenchannel) Reset ¶
func (m *MsgOpenchannel) Reset()
func (*MsgOpenchannel) Route ¶
func (msg *MsgOpenchannel) Route() string
func (*MsgOpenchannel) Size ¶
func (m *MsgOpenchannel) Size() (n int)
func (*MsgOpenchannel) String ¶
func (m *MsgOpenchannel) String() string
func (*MsgOpenchannel) Type ¶
func (msg *MsgOpenchannel) Type() string
func (*MsgOpenchannel) Unmarshal ¶
func (m *MsgOpenchannel) Unmarshal(dAtA []byte) error
func (*MsgOpenchannel) ValidateBasic ¶
func (msg *MsgOpenchannel) ValidateBasic() error
func (*MsgOpenchannel) XXX_DiscardUnknown ¶
func (m *MsgOpenchannel) XXX_DiscardUnknown()
func (*MsgOpenchannel) XXX_Marshal ¶
func (m *MsgOpenchannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenchannel) XXX_Merge ¶
func (m *MsgOpenchannel) XXX_Merge(src proto.Message)
func (*MsgOpenchannel) XXX_Size ¶
func (m *MsgOpenchannel) XXX_Size() int
func (*MsgOpenchannel) XXX_Unmarshal ¶
func (m *MsgOpenchannel) XXX_Unmarshal(b []byte) error
type MsgOpenchannelResponse ¶
type MsgOpenchannelResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgOpenchannelResponse) Descriptor ¶
func (*MsgOpenchannelResponse) Descriptor() ([]byte, []int)
func (*MsgOpenchannelResponse) GetId ¶
func (m *MsgOpenchannelResponse) GetId() string
func (*MsgOpenchannelResponse) Marshal ¶
func (m *MsgOpenchannelResponse) Marshal() (dAtA []byte, err error)
func (*MsgOpenchannelResponse) MarshalTo ¶
func (m *MsgOpenchannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOpenchannelResponse) MarshalToSizedBuffer ¶
func (m *MsgOpenchannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenchannelResponse) ProtoMessage ¶
func (*MsgOpenchannelResponse) ProtoMessage()
func (*MsgOpenchannelResponse) Reset ¶
func (m *MsgOpenchannelResponse) Reset()
func (*MsgOpenchannelResponse) Size ¶
func (m *MsgOpenchannelResponse) Size() (n int)
func (*MsgOpenchannelResponse) String ¶
func (m *MsgOpenchannelResponse) String() string
func (*MsgOpenchannelResponse) Unmarshal ¶
func (m *MsgOpenchannelResponse) Unmarshal(dAtA []byte) error
func (*MsgOpenchannelResponse) XXX_DiscardUnknown ¶
func (m *MsgOpenchannelResponse) XXX_DiscardUnknown()
func (*MsgOpenchannelResponse) XXX_Marshal ¶
func (m *MsgOpenchannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenchannelResponse) XXX_Merge ¶
func (m *MsgOpenchannelResponse) XXX_Merge(src proto.Message)
func (*MsgOpenchannelResponse) XXX_Size ¶
func (m *MsgOpenchannelResponse) XXX_Size() int
func (*MsgOpenchannelResponse) XXX_Unmarshal ¶
func (m *MsgOpenchannelResponse) XXX_Unmarshal(b []byte) error
type MsgReceivercommit ¶
type MsgReceivercommit struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ReceiverAddr string `protobuf:"bytes,2,opt,name=receiverAddr,proto3" json:"receiverAddr,omitempty"` Channelid string `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"` Cointoreceiver *types.Coin `protobuf:"bytes,4,opt,name=cointoreceiver,proto3" json:"cointoreceiver,omitempty"` Cointohtlc *types.Coin `protobuf:"bytes,5,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"` Cointransfer *types.Coin `protobuf:"bytes,6,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"` Hashcodehtlc string `protobuf:"bytes,7,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"` Timelockhtlc uint64 `protobuf:"varint,8,opt,name=timelockhtlc,proto3" json:"timelockhtlc,omitempty"` Hashcodedest string `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"` Timelocksender uint64 `protobuf:"varint,10,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"` MultisigAddr string `protobuf:"bytes,11,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` }
func NewMsgReceivercommit ¶
func (*MsgReceivercommit) Descriptor ¶
func (*MsgReceivercommit) Descriptor() ([]byte, []int)
func (*MsgReceivercommit) GetChannelid ¶
func (m *MsgReceivercommit) GetChannelid() string
func (*MsgReceivercommit) GetCointohtlc ¶
func (m *MsgReceivercommit) GetCointohtlc() *types.Coin
func (*MsgReceivercommit) GetCointoreceiver ¶
func (m *MsgReceivercommit) GetCointoreceiver() *types.Coin
func (*MsgReceivercommit) GetCointransfer ¶
func (m *MsgReceivercommit) GetCointransfer() *types.Coin
func (*MsgReceivercommit) GetCreator ¶
func (m *MsgReceivercommit) GetCreator() string
func (*MsgReceivercommit) GetHashcodedest ¶
func (m *MsgReceivercommit) GetHashcodedest() string
func (*MsgReceivercommit) GetHashcodehtlc ¶
func (m *MsgReceivercommit) GetHashcodehtlc() string
func (*MsgReceivercommit) GetMultisigAddr ¶
func (m *MsgReceivercommit) GetMultisigAddr() string
func (*MsgReceivercommit) GetReceiverAddr ¶
func (m *MsgReceivercommit) GetReceiverAddr() string
func (*MsgReceivercommit) GetSignBytes ¶
func (msg *MsgReceivercommit) GetSignBytes() []byte
func (*MsgReceivercommit) GetSigners ¶
func (msg *MsgReceivercommit) GetSigners() []sdk.AccAddress
func (*MsgReceivercommit) GetTimelockhtlc ¶
func (m *MsgReceivercommit) GetTimelockhtlc() uint64
func (*MsgReceivercommit) GetTimelocksender ¶
func (m *MsgReceivercommit) GetTimelocksender() uint64
func (*MsgReceivercommit) Marshal ¶
func (m *MsgReceivercommit) Marshal() (dAtA []byte, err error)
func (*MsgReceivercommit) MarshalTo ¶
func (m *MsgReceivercommit) MarshalTo(dAtA []byte) (int, error)
func (*MsgReceivercommit) MarshalToSizedBuffer ¶
func (m *MsgReceivercommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReceivercommit) ProtoMessage ¶
func (*MsgReceivercommit) ProtoMessage()
func (*MsgReceivercommit) Reset ¶
func (m *MsgReceivercommit) Reset()
func (*MsgReceivercommit) Route ¶
func (msg *MsgReceivercommit) Route() string
func (*MsgReceivercommit) Size ¶
func (m *MsgReceivercommit) Size() (n int)
func (*MsgReceivercommit) String ¶
func (m *MsgReceivercommit) String() string
func (*MsgReceivercommit) Type ¶
func (msg *MsgReceivercommit) Type() string
func (*MsgReceivercommit) Unmarshal ¶
func (m *MsgReceivercommit) Unmarshal(dAtA []byte) error
func (*MsgReceivercommit) ValidateBasic ¶
func (msg *MsgReceivercommit) ValidateBasic() error
func (*MsgReceivercommit) XXX_DiscardUnknown ¶
func (m *MsgReceivercommit) XXX_DiscardUnknown()
func (*MsgReceivercommit) XXX_Marshal ¶
func (m *MsgReceivercommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReceivercommit) XXX_Merge ¶
func (m *MsgReceivercommit) XXX_Merge(src proto.Message)
func (*MsgReceivercommit) XXX_Size ¶
func (m *MsgReceivercommit) XXX_Size() int
func (*MsgReceivercommit) XXX_Unmarshal ¶
func (m *MsgReceivercommit) XXX_Unmarshal(b []byte) error
type MsgReceivercommitResponse ¶
type MsgReceivercommitResponse struct { HtlcIndex string `protobuf:"bytes,1,opt,name=htlcIndex,proto3" json:"htlcIndex,omitempty"` TransferIndex string `protobuf:"bytes,2,opt,name=transferIndex,proto3" json:"transferIndex,omitempty"` }
func (*MsgReceivercommitResponse) Descriptor ¶
func (*MsgReceivercommitResponse) Descriptor() ([]byte, []int)
func (*MsgReceivercommitResponse) GetHtlcIndex ¶
func (m *MsgReceivercommitResponse) GetHtlcIndex() string
func (*MsgReceivercommitResponse) GetTransferIndex ¶
func (m *MsgReceivercommitResponse) GetTransferIndex() string
func (*MsgReceivercommitResponse) Marshal ¶
func (m *MsgReceivercommitResponse) Marshal() (dAtA []byte, err error)
func (*MsgReceivercommitResponse) MarshalTo ¶
func (m *MsgReceivercommitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReceivercommitResponse) MarshalToSizedBuffer ¶
func (m *MsgReceivercommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReceivercommitResponse) ProtoMessage ¶
func (*MsgReceivercommitResponse) ProtoMessage()
func (*MsgReceivercommitResponse) Reset ¶
func (m *MsgReceivercommitResponse) Reset()
func (*MsgReceivercommitResponse) Size ¶
func (m *MsgReceivercommitResponse) Size() (n int)
func (*MsgReceivercommitResponse) String ¶
func (m *MsgReceivercommitResponse) String() string
func (*MsgReceivercommitResponse) Unmarshal ¶
func (m *MsgReceivercommitResponse) Unmarshal(dAtA []byte) error
func (*MsgReceivercommitResponse) XXX_DiscardUnknown ¶
func (m *MsgReceivercommitResponse) XXX_DiscardUnknown()
func (*MsgReceivercommitResponse) XXX_Marshal ¶
func (m *MsgReceivercommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReceivercommitResponse) XXX_Merge ¶
func (m *MsgReceivercommitResponse) XXX_Merge(src proto.Message)
func (*MsgReceivercommitResponse) XXX_Size ¶
func (m *MsgReceivercommitResponse) XXX_Size() int
func (*MsgReceivercommitResponse) XXX_Unmarshal ¶
func (m *MsgReceivercommitResponse) XXX_Unmarshal(b []byte) error
type MsgReceiverwithdraw ¶
type MsgReceiverwithdraw struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` }
func NewMsgReceiverwithdraw ¶
func NewMsgReceiverwithdraw(creator string, transferindex string, to string, secret string) *MsgReceiverwithdraw
func (*MsgReceiverwithdraw) Descriptor ¶
func (*MsgReceiverwithdraw) Descriptor() ([]byte, []int)
func (*MsgReceiverwithdraw) GetCreator ¶
func (m *MsgReceiverwithdraw) GetCreator() string
func (*MsgReceiverwithdraw) GetSecret ¶
func (m *MsgReceiverwithdraw) GetSecret() string
func (*MsgReceiverwithdraw) GetSignBytes ¶
func (msg *MsgReceiverwithdraw) GetSignBytes() []byte
func (*MsgReceiverwithdraw) GetSigners ¶
func (msg *MsgReceiverwithdraw) GetSigners() []sdk.AccAddress
func (*MsgReceiverwithdraw) GetTo ¶
func (m *MsgReceiverwithdraw) GetTo() string
func (*MsgReceiverwithdraw) GetTransferindex ¶
func (m *MsgReceiverwithdraw) GetTransferindex() string
func (*MsgReceiverwithdraw) Marshal ¶
func (m *MsgReceiverwithdraw) Marshal() (dAtA []byte, err error)
func (*MsgReceiverwithdraw) MarshalTo ¶
func (m *MsgReceiverwithdraw) MarshalTo(dAtA []byte) (int, error)
func (*MsgReceiverwithdraw) MarshalToSizedBuffer ¶
func (m *MsgReceiverwithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReceiverwithdraw) ProtoMessage ¶
func (*MsgReceiverwithdraw) ProtoMessage()
func (*MsgReceiverwithdraw) Reset ¶
func (m *MsgReceiverwithdraw) Reset()
func (*MsgReceiverwithdraw) Route ¶
func (msg *MsgReceiverwithdraw) Route() string
func (*MsgReceiverwithdraw) Size ¶
func (m *MsgReceiverwithdraw) Size() (n int)
func (*MsgReceiverwithdraw) String ¶
func (m *MsgReceiverwithdraw) String() string
func (*MsgReceiverwithdraw) Type ¶
func (msg *MsgReceiverwithdraw) Type() string
func (*MsgReceiverwithdraw) Unmarshal ¶
func (m *MsgReceiverwithdraw) Unmarshal(dAtA []byte) error
func (*MsgReceiverwithdraw) ValidateBasic ¶
func (msg *MsgReceiverwithdraw) ValidateBasic() error
func (*MsgReceiverwithdraw) XXX_DiscardUnknown ¶
func (m *MsgReceiverwithdraw) XXX_DiscardUnknown()
func (*MsgReceiverwithdraw) XXX_Marshal ¶
func (m *MsgReceiverwithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReceiverwithdraw) XXX_Merge ¶
func (m *MsgReceiverwithdraw) XXX_Merge(src proto.Message)
func (*MsgReceiverwithdraw) XXX_Size ¶
func (m *MsgReceiverwithdraw) XXX_Size() int
func (*MsgReceiverwithdraw) XXX_Unmarshal ¶
func (m *MsgReceiverwithdraw) XXX_Unmarshal(b []byte) error
type MsgReceiverwithdrawResponse ¶
type MsgReceiverwithdrawResponse struct { }
func (*MsgReceiverwithdrawResponse) Descriptor ¶
func (*MsgReceiverwithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgReceiverwithdrawResponse) Marshal ¶
func (m *MsgReceiverwithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgReceiverwithdrawResponse) MarshalTo ¶
func (m *MsgReceiverwithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReceiverwithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgReceiverwithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReceiverwithdrawResponse) ProtoMessage ¶
func (*MsgReceiverwithdrawResponse) ProtoMessage()
func (*MsgReceiverwithdrawResponse) Reset ¶
func (m *MsgReceiverwithdrawResponse) Reset()
func (*MsgReceiverwithdrawResponse) Size ¶
func (m *MsgReceiverwithdrawResponse) Size() (n int)
func (*MsgReceiverwithdrawResponse) String ¶
func (m *MsgReceiverwithdrawResponse) String() string
func (*MsgReceiverwithdrawResponse) Unmarshal ¶
func (m *MsgReceiverwithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgReceiverwithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgReceiverwithdrawResponse) XXX_DiscardUnknown()
func (*MsgReceiverwithdrawResponse) XXX_Marshal ¶
func (m *MsgReceiverwithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReceiverwithdrawResponse) XXX_Merge ¶
func (m *MsgReceiverwithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgReceiverwithdrawResponse) XXX_Size ¶
func (m *MsgReceiverwithdrawResponse) XXX_Size() int
func (*MsgReceiverwithdrawResponse) XXX_Unmarshal ¶
func (m *MsgReceiverwithdrawResponse) XXX_Unmarshal(b []byte) error
type MsgSendercommit ¶
type MsgSendercommit struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SenderAddr string `protobuf:"bytes,2,opt,name=senderAddr,proto3" json:"senderAddr,omitempty"` Channelid string `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"` Cointosender *types.Coin `protobuf:"bytes,4,opt,name=cointosender,proto3" json:"cointosender,omitempty"` Cointohtlc *types.Coin `protobuf:"bytes,5,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"` Cointransfer *types.Coin `protobuf:"bytes,6,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"` Hashcodehtlc string `protobuf:"bytes,7,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"` Timelockhtlc uint64 `protobuf:"varint,8,opt,name=timelockhtlc,proto3" json:"timelockhtlc,omitempty"` Hashcodedest string `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"` Timelockreceiver uint64 `protobuf:"varint,10,opt,name=timelockreceiver,proto3" json:"timelockreceiver,omitempty"` Timelocksender uint64 `protobuf:"varint,11,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"` MultisigAddr string `protobuf:"bytes,12,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"` }
func NewMsgSendercommit ¶
func (*MsgSendercommit) Descriptor ¶
func (*MsgSendercommit) Descriptor() ([]byte, []int)
func (*MsgSendercommit) GetChannelid ¶
func (m *MsgSendercommit) GetChannelid() string
func (*MsgSendercommit) GetCointohtlc ¶
func (m *MsgSendercommit) GetCointohtlc() *types.Coin
func (*MsgSendercommit) GetCointosender ¶
func (m *MsgSendercommit) GetCointosender() *types.Coin
func (*MsgSendercommit) GetCointransfer ¶
func (m *MsgSendercommit) GetCointransfer() *types.Coin
func (*MsgSendercommit) GetCreator ¶
func (m *MsgSendercommit) GetCreator() string
func (*MsgSendercommit) GetHashcodedest ¶
func (m *MsgSendercommit) GetHashcodedest() string
func (*MsgSendercommit) GetHashcodehtlc ¶
func (m *MsgSendercommit) GetHashcodehtlc() string
func (*MsgSendercommit) GetMultisigAddr ¶
func (m *MsgSendercommit) GetMultisigAddr() string
func (*MsgSendercommit) GetSenderAddr ¶
func (m *MsgSendercommit) GetSenderAddr() string
func (*MsgSendercommit) GetSignBytes ¶
func (msg *MsgSendercommit) GetSignBytes() []byte
func (*MsgSendercommit) GetSigners ¶
func (msg *MsgSendercommit) GetSigners() []sdk.AccAddress
func (*MsgSendercommit) GetTimelockhtlc ¶
func (m *MsgSendercommit) GetTimelockhtlc() uint64
func (*MsgSendercommit) GetTimelockreceiver ¶
func (m *MsgSendercommit) GetTimelockreceiver() uint64
func (*MsgSendercommit) GetTimelocksender ¶
func (m *MsgSendercommit) GetTimelocksender() uint64
func (*MsgSendercommit) Marshal ¶
func (m *MsgSendercommit) Marshal() (dAtA []byte, err error)
func (*MsgSendercommit) MarshalToSizedBuffer ¶
func (m *MsgSendercommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendercommit) ProtoMessage ¶
func (*MsgSendercommit) ProtoMessage()
func (*MsgSendercommit) Reset ¶
func (m *MsgSendercommit) Reset()
func (*MsgSendercommit) Route ¶
func (msg *MsgSendercommit) Route() string
func (*MsgSendercommit) Size ¶
func (m *MsgSendercommit) Size() (n int)
func (*MsgSendercommit) String ¶
func (m *MsgSendercommit) String() string
func (*MsgSendercommit) Type ¶
func (msg *MsgSendercommit) Type() string
func (*MsgSendercommit) Unmarshal ¶
func (m *MsgSendercommit) Unmarshal(dAtA []byte) error
func (*MsgSendercommit) ValidateBasic ¶
func (msg *MsgSendercommit) ValidateBasic() error
func (*MsgSendercommit) XXX_DiscardUnknown ¶
func (m *MsgSendercommit) XXX_DiscardUnknown()
func (*MsgSendercommit) XXX_Marshal ¶
func (m *MsgSendercommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendercommit) XXX_Merge ¶
func (m *MsgSendercommit) XXX_Merge(src proto.Message)
func (*MsgSendercommit) XXX_Size ¶
func (m *MsgSendercommit) XXX_Size() int
func (*MsgSendercommit) XXX_Unmarshal ¶
func (m *MsgSendercommit) XXX_Unmarshal(b []byte) error
type MsgSendercommitResponse ¶
type MsgSendercommitResponse struct { HtlcIndex string `protobuf:"bytes,1,opt,name=htlcIndex,proto3" json:"htlcIndex,omitempty"` TransferIndex string `protobuf:"bytes,2,opt,name=transferIndex,proto3" json:"transferIndex,omitempty"` }
func (*MsgSendercommitResponse) Descriptor ¶
func (*MsgSendercommitResponse) Descriptor() ([]byte, []int)
func (*MsgSendercommitResponse) GetHtlcIndex ¶
func (m *MsgSendercommitResponse) GetHtlcIndex() string
func (*MsgSendercommitResponse) GetTransferIndex ¶
func (m *MsgSendercommitResponse) GetTransferIndex() string
func (*MsgSendercommitResponse) Marshal ¶
func (m *MsgSendercommitResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendercommitResponse) MarshalTo ¶
func (m *MsgSendercommitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendercommitResponse) MarshalToSizedBuffer ¶
func (m *MsgSendercommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendercommitResponse) ProtoMessage ¶
func (*MsgSendercommitResponse) ProtoMessage()
func (*MsgSendercommitResponse) Reset ¶
func (m *MsgSendercommitResponse) Reset()
func (*MsgSendercommitResponse) Size ¶
func (m *MsgSendercommitResponse) Size() (n int)
func (*MsgSendercommitResponse) String ¶
func (m *MsgSendercommitResponse) String() string
func (*MsgSendercommitResponse) Unmarshal ¶
func (m *MsgSendercommitResponse) Unmarshal(dAtA []byte) error
func (*MsgSendercommitResponse) XXX_DiscardUnknown ¶
func (m *MsgSendercommitResponse) XXX_DiscardUnknown()
func (*MsgSendercommitResponse) XXX_Marshal ¶
func (m *MsgSendercommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendercommitResponse) XXX_Merge ¶
func (m *MsgSendercommitResponse) XXX_Merge(src proto.Message)
func (*MsgSendercommitResponse) XXX_Size ¶
func (m *MsgSendercommitResponse) XXX_Size() int
func (*MsgSendercommitResponse) XXX_Unmarshal ¶
func (m *MsgSendercommitResponse) XXX_Unmarshal(b []byte) error
type MsgSenderwithdrawhashlock ¶
type MsgSenderwithdrawhashlock struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` }
func NewMsgSenderwithdrawhashlock ¶
func NewMsgSenderwithdrawhashlock(creator string, transferindex string, to string, secret string) *MsgSenderwithdrawhashlock
func (*MsgSenderwithdrawhashlock) Descriptor ¶
func (*MsgSenderwithdrawhashlock) Descriptor() ([]byte, []int)
func (*MsgSenderwithdrawhashlock) GetCreator ¶
func (m *MsgSenderwithdrawhashlock) GetCreator() string
func (*MsgSenderwithdrawhashlock) GetSecret ¶
func (m *MsgSenderwithdrawhashlock) GetSecret() string
func (*MsgSenderwithdrawhashlock) GetSignBytes ¶
func (msg *MsgSenderwithdrawhashlock) GetSignBytes() []byte
func (*MsgSenderwithdrawhashlock) GetSigners ¶
func (msg *MsgSenderwithdrawhashlock) GetSigners() []sdk.AccAddress
func (*MsgSenderwithdrawhashlock) GetTo ¶
func (m *MsgSenderwithdrawhashlock) GetTo() string
func (*MsgSenderwithdrawhashlock) GetTransferindex ¶
func (m *MsgSenderwithdrawhashlock) GetTransferindex() string
func (*MsgSenderwithdrawhashlock) Marshal ¶
func (m *MsgSenderwithdrawhashlock) Marshal() (dAtA []byte, err error)
func (*MsgSenderwithdrawhashlock) MarshalTo ¶
func (m *MsgSenderwithdrawhashlock) MarshalTo(dAtA []byte) (int, error)
func (*MsgSenderwithdrawhashlock) MarshalToSizedBuffer ¶
func (m *MsgSenderwithdrawhashlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSenderwithdrawhashlock) ProtoMessage ¶
func (*MsgSenderwithdrawhashlock) ProtoMessage()
func (*MsgSenderwithdrawhashlock) Reset ¶
func (m *MsgSenderwithdrawhashlock) Reset()
func (*MsgSenderwithdrawhashlock) Route ¶
func (msg *MsgSenderwithdrawhashlock) Route() string
func (*MsgSenderwithdrawhashlock) Size ¶
func (m *MsgSenderwithdrawhashlock) Size() (n int)
func (*MsgSenderwithdrawhashlock) String ¶
func (m *MsgSenderwithdrawhashlock) String() string
func (*MsgSenderwithdrawhashlock) Type ¶
func (msg *MsgSenderwithdrawhashlock) Type() string
func (*MsgSenderwithdrawhashlock) Unmarshal ¶
func (m *MsgSenderwithdrawhashlock) Unmarshal(dAtA []byte) error
func (*MsgSenderwithdrawhashlock) ValidateBasic ¶
func (msg *MsgSenderwithdrawhashlock) ValidateBasic() error
func (*MsgSenderwithdrawhashlock) XXX_DiscardUnknown ¶
func (m *MsgSenderwithdrawhashlock) XXX_DiscardUnknown()
func (*MsgSenderwithdrawhashlock) XXX_Marshal ¶
func (m *MsgSenderwithdrawhashlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSenderwithdrawhashlock) XXX_Merge ¶
func (m *MsgSenderwithdrawhashlock) XXX_Merge(src proto.Message)
func (*MsgSenderwithdrawhashlock) XXX_Size ¶
func (m *MsgSenderwithdrawhashlock) XXX_Size() int
func (*MsgSenderwithdrawhashlock) XXX_Unmarshal ¶
func (m *MsgSenderwithdrawhashlock) XXX_Unmarshal(b []byte) error
type MsgSenderwithdrawhashlockResponse ¶
type MsgSenderwithdrawhashlockResponse struct { }
func (*MsgSenderwithdrawhashlockResponse) Descriptor ¶
func (*MsgSenderwithdrawhashlockResponse) Descriptor() ([]byte, []int)
func (*MsgSenderwithdrawhashlockResponse) Marshal ¶
func (m *MsgSenderwithdrawhashlockResponse) Marshal() (dAtA []byte, err error)
func (*MsgSenderwithdrawhashlockResponse) MarshalTo ¶
func (m *MsgSenderwithdrawhashlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSenderwithdrawhashlockResponse) MarshalToSizedBuffer ¶
func (m *MsgSenderwithdrawhashlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSenderwithdrawhashlockResponse) ProtoMessage ¶
func (*MsgSenderwithdrawhashlockResponse) ProtoMessage()
func (*MsgSenderwithdrawhashlockResponse) Reset ¶
func (m *MsgSenderwithdrawhashlockResponse) Reset()
func (*MsgSenderwithdrawhashlockResponse) Size ¶
func (m *MsgSenderwithdrawhashlockResponse) Size() (n int)
func (*MsgSenderwithdrawhashlockResponse) String ¶
func (m *MsgSenderwithdrawhashlockResponse) String() string
func (*MsgSenderwithdrawhashlockResponse) Unmarshal ¶
func (m *MsgSenderwithdrawhashlockResponse) Unmarshal(dAtA []byte) error
func (*MsgSenderwithdrawhashlockResponse) XXX_DiscardUnknown ¶
func (m *MsgSenderwithdrawhashlockResponse) XXX_DiscardUnknown()
func (*MsgSenderwithdrawhashlockResponse) XXX_Marshal ¶
func (m *MsgSenderwithdrawhashlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSenderwithdrawhashlockResponse) XXX_Merge ¶
func (m *MsgSenderwithdrawhashlockResponse) XXX_Merge(src proto.Message)
func (*MsgSenderwithdrawhashlockResponse) XXX_Size ¶
func (m *MsgSenderwithdrawhashlockResponse) XXX_Size() int
func (*MsgSenderwithdrawhashlockResponse) XXX_Unmarshal ¶
func (m *MsgSenderwithdrawhashlockResponse) XXX_Unmarshal(b []byte) error
type MsgSenderwithdrawtimelock ¶
type MsgSenderwithdrawtimelock struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` }
func NewMsgSenderwithdrawtimelock ¶
func NewMsgSenderwithdrawtimelock(creator string, transferindex string, to string) *MsgSenderwithdrawtimelock
func (*MsgSenderwithdrawtimelock) Descriptor ¶
func (*MsgSenderwithdrawtimelock) Descriptor() ([]byte, []int)
func (*MsgSenderwithdrawtimelock) GetCreator ¶
func (m *MsgSenderwithdrawtimelock) GetCreator() string
func (*MsgSenderwithdrawtimelock) GetSignBytes ¶
func (msg *MsgSenderwithdrawtimelock) GetSignBytes() []byte
func (*MsgSenderwithdrawtimelock) GetSigners ¶
func (msg *MsgSenderwithdrawtimelock) GetSigners() []sdk.AccAddress
func (*MsgSenderwithdrawtimelock) GetTo ¶
func (m *MsgSenderwithdrawtimelock) GetTo() string
func (*MsgSenderwithdrawtimelock) GetTransferindex ¶
func (m *MsgSenderwithdrawtimelock) GetTransferindex() string
func (*MsgSenderwithdrawtimelock) Marshal ¶
func (m *MsgSenderwithdrawtimelock) Marshal() (dAtA []byte, err error)
func (*MsgSenderwithdrawtimelock) MarshalTo ¶
func (m *MsgSenderwithdrawtimelock) MarshalTo(dAtA []byte) (int, error)
func (*MsgSenderwithdrawtimelock) MarshalToSizedBuffer ¶
func (m *MsgSenderwithdrawtimelock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSenderwithdrawtimelock) ProtoMessage ¶
func (*MsgSenderwithdrawtimelock) ProtoMessage()
func (*MsgSenderwithdrawtimelock) Reset ¶
func (m *MsgSenderwithdrawtimelock) Reset()
func (*MsgSenderwithdrawtimelock) Route ¶
func (msg *MsgSenderwithdrawtimelock) Route() string
func (*MsgSenderwithdrawtimelock) Size ¶
func (m *MsgSenderwithdrawtimelock) Size() (n int)
func (*MsgSenderwithdrawtimelock) String ¶
func (m *MsgSenderwithdrawtimelock) String() string
func (*MsgSenderwithdrawtimelock) Type ¶
func (msg *MsgSenderwithdrawtimelock) Type() string
func (*MsgSenderwithdrawtimelock) Unmarshal ¶
func (m *MsgSenderwithdrawtimelock) Unmarshal(dAtA []byte) error
func (*MsgSenderwithdrawtimelock) ValidateBasic ¶
func (msg *MsgSenderwithdrawtimelock) ValidateBasic() error
func (*MsgSenderwithdrawtimelock) XXX_DiscardUnknown ¶
func (m *MsgSenderwithdrawtimelock) XXX_DiscardUnknown()
func (*MsgSenderwithdrawtimelock) XXX_Marshal ¶
func (m *MsgSenderwithdrawtimelock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSenderwithdrawtimelock) XXX_Merge ¶
func (m *MsgSenderwithdrawtimelock) XXX_Merge(src proto.Message)
func (*MsgSenderwithdrawtimelock) XXX_Size ¶
func (m *MsgSenderwithdrawtimelock) XXX_Size() int
func (*MsgSenderwithdrawtimelock) XXX_Unmarshal ¶
func (m *MsgSenderwithdrawtimelock) XXX_Unmarshal(b []byte) error
type MsgSenderwithdrawtimelockResponse ¶
type MsgSenderwithdrawtimelockResponse struct { }
func (*MsgSenderwithdrawtimelockResponse) Descriptor ¶
func (*MsgSenderwithdrawtimelockResponse) Descriptor() ([]byte, []int)
func (*MsgSenderwithdrawtimelockResponse) Marshal ¶
func (m *MsgSenderwithdrawtimelockResponse) Marshal() (dAtA []byte, err error)
func (*MsgSenderwithdrawtimelockResponse) MarshalTo ¶
func (m *MsgSenderwithdrawtimelockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSenderwithdrawtimelockResponse) MarshalToSizedBuffer ¶
func (m *MsgSenderwithdrawtimelockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSenderwithdrawtimelockResponse) ProtoMessage ¶
func (*MsgSenderwithdrawtimelockResponse) ProtoMessage()
func (*MsgSenderwithdrawtimelockResponse) Reset ¶
func (m *MsgSenderwithdrawtimelockResponse) Reset()
func (*MsgSenderwithdrawtimelockResponse) Size ¶
func (m *MsgSenderwithdrawtimelockResponse) Size() (n int)
func (*MsgSenderwithdrawtimelockResponse) String ¶
func (m *MsgSenderwithdrawtimelockResponse) String() string
func (*MsgSenderwithdrawtimelockResponse) Unmarshal ¶
func (m *MsgSenderwithdrawtimelockResponse) Unmarshal(dAtA []byte) error
func (*MsgSenderwithdrawtimelockResponse) XXX_DiscardUnknown ¶
func (m *MsgSenderwithdrawtimelockResponse) XXX_DiscardUnknown()
func (*MsgSenderwithdrawtimelockResponse) XXX_Marshal ¶
func (m *MsgSenderwithdrawtimelockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSenderwithdrawtimelockResponse) XXX_Merge ¶
func (m *MsgSenderwithdrawtimelockResponse) XXX_Merge(src proto.Message)
func (*MsgSenderwithdrawtimelockResponse) XXX_Size ¶
func (m *MsgSenderwithdrawtimelockResponse) XXX_Size() int
func (*MsgSenderwithdrawtimelockResponse) XXX_Unmarshal ¶
func (m *MsgSenderwithdrawtimelockResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Openchannel(context.Context, *MsgOpenchannel) (*MsgOpenchannelResponse, error) Closechannel(context.Context, *MsgClosechannel) (*MsgClosechannelResponse, error) Commitment(context.Context, *MsgCommitment) (*MsgCommitmentResponse, error) WithdrawTimelock(context.Context, *MsgWithdrawTimelock) (*MsgWithdrawTimelockResponse, error) WithdrawHashlock(context.Context, *MsgWithdrawHashlock) (*MsgWithdrawHashlockResponse, error) Fund(context.Context, *MsgFund) (*MsgFundResponse, error) Acceptfund(context.Context, *MsgAcceptfund) (*MsgAcceptfundResponse, error) Sendercommit(context.Context, *MsgSendercommit) (*MsgSendercommitResponse, error) Receivercommit(context.Context, *MsgReceivercommit) (*MsgReceivercommitResponse, error) Senderwithdrawtimelock(context.Context, *MsgSenderwithdrawtimelock) (*MsgSenderwithdrawtimelockResponse, error) Senderwithdrawhashlock(context.Context, *MsgSenderwithdrawhashlock) (*MsgSenderwithdrawhashlockResponse, error) Receiverwithdraw(context.Context, *MsgReceiverwithdraw) (*MsgReceiverwithdrawResponse, error) }
MsgServer is the server API for Msg service.
type MsgWithdrawHashlock ¶
type MsgWithdrawHashlock struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` }
func NewMsgWithdrawHashlock ¶
func NewMsgWithdrawHashlock(creator string, to string, index string, secret string) *MsgWithdrawHashlock
func (*MsgWithdrawHashlock) Descriptor ¶
func (*MsgWithdrawHashlock) Descriptor() ([]byte, []int)
func (*MsgWithdrawHashlock) GetCreator ¶
func (m *MsgWithdrawHashlock) GetCreator() string
func (*MsgWithdrawHashlock) GetIndex ¶
func (m *MsgWithdrawHashlock) GetIndex() string
func (*MsgWithdrawHashlock) GetSecret ¶
func (m *MsgWithdrawHashlock) GetSecret() string
func (*MsgWithdrawHashlock) GetSignBytes ¶
func (msg *MsgWithdrawHashlock) GetSignBytes() []byte
func (*MsgWithdrawHashlock) GetSigners ¶
func (msg *MsgWithdrawHashlock) GetSigners() []sdk.AccAddress
func (*MsgWithdrawHashlock) GetTo ¶
func (m *MsgWithdrawHashlock) GetTo() string
func (*MsgWithdrawHashlock) Marshal ¶
func (m *MsgWithdrawHashlock) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawHashlock) MarshalTo ¶
func (m *MsgWithdrawHashlock) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawHashlock) MarshalToSizedBuffer ¶
func (m *MsgWithdrawHashlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawHashlock) ProtoMessage ¶
func (*MsgWithdrawHashlock) ProtoMessage()
func (*MsgWithdrawHashlock) Reset ¶
func (m *MsgWithdrawHashlock) Reset()
func (*MsgWithdrawHashlock) Route ¶
func (msg *MsgWithdrawHashlock) Route() string
func (*MsgWithdrawHashlock) Size ¶
func (m *MsgWithdrawHashlock) Size() (n int)
func (*MsgWithdrawHashlock) String ¶
func (m *MsgWithdrawHashlock) String() string
func (*MsgWithdrawHashlock) Type ¶
func (msg *MsgWithdrawHashlock) Type() string
func (*MsgWithdrawHashlock) Unmarshal ¶
func (m *MsgWithdrawHashlock) Unmarshal(dAtA []byte) error
func (*MsgWithdrawHashlock) ValidateBasic ¶
func (msg *MsgWithdrawHashlock) ValidateBasic() error
func (*MsgWithdrawHashlock) XXX_DiscardUnknown ¶
func (m *MsgWithdrawHashlock) XXX_DiscardUnknown()
func (*MsgWithdrawHashlock) XXX_Marshal ¶
func (m *MsgWithdrawHashlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawHashlock) XXX_Merge ¶
func (m *MsgWithdrawHashlock) XXX_Merge(src proto.Message)
func (*MsgWithdrawHashlock) XXX_Size ¶
func (m *MsgWithdrawHashlock) XXX_Size() int
func (*MsgWithdrawHashlock) XXX_Unmarshal ¶
func (m *MsgWithdrawHashlock) XXX_Unmarshal(b []byte) error
type MsgWithdrawHashlockResponse ¶
type MsgWithdrawHashlockResponse struct { }
func (*MsgWithdrawHashlockResponse) Descriptor ¶
func (*MsgWithdrawHashlockResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawHashlockResponse) Marshal ¶
func (m *MsgWithdrawHashlockResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawHashlockResponse) MarshalTo ¶
func (m *MsgWithdrawHashlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawHashlockResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawHashlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawHashlockResponse) ProtoMessage ¶
func (*MsgWithdrawHashlockResponse) ProtoMessage()
func (*MsgWithdrawHashlockResponse) Reset ¶
func (m *MsgWithdrawHashlockResponse) Reset()
func (*MsgWithdrawHashlockResponse) Size ¶
func (m *MsgWithdrawHashlockResponse) Size() (n int)
func (*MsgWithdrawHashlockResponse) String ¶
func (m *MsgWithdrawHashlockResponse) String() string
func (*MsgWithdrawHashlockResponse) Unmarshal ¶
func (m *MsgWithdrawHashlockResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawHashlockResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawHashlockResponse) XXX_DiscardUnknown()
func (*MsgWithdrawHashlockResponse) XXX_Marshal ¶
func (m *MsgWithdrawHashlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawHashlockResponse) XXX_Merge ¶
func (m *MsgWithdrawHashlockResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawHashlockResponse) XXX_Size ¶
func (m *MsgWithdrawHashlockResponse) XXX_Size() int
func (*MsgWithdrawHashlockResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawHashlockResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawTimelock ¶
type MsgWithdrawTimelock struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` }
func NewMsgWithdrawTimelock ¶
func NewMsgWithdrawTimelock(creator string, to string, index string) *MsgWithdrawTimelock
func (*MsgWithdrawTimelock) Descriptor ¶
func (*MsgWithdrawTimelock) Descriptor() ([]byte, []int)
func (*MsgWithdrawTimelock) GetCreator ¶
func (m *MsgWithdrawTimelock) GetCreator() string
func (*MsgWithdrawTimelock) GetIndex ¶
func (m *MsgWithdrawTimelock) GetIndex() string
func (*MsgWithdrawTimelock) GetSignBytes ¶
func (msg *MsgWithdrawTimelock) GetSignBytes() []byte
func (*MsgWithdrawTimelock) GetSigners ¶
func (msg *MsgWithdrawTimelock) GetSigners() []sdk.AccAddress
func (*MsgWithdrawTimelock) GetTo ¶
func (m *MsgWithdrawTimelock) GetTo() string
func (*MsgWithdrawTimelock) Marshal ¶
func (m *MsgWithdrawTimelock) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTimelock) MarshalTo ¶
func (m *MsgWithdrawTimelock) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawTimelock) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTimelock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTimelock) ProtoMessage ¶
func (*MsgWithdrawTimelock) ProtoMessage()
func (*MsgWithdrawTimelock) Reset ¶
func (m *MsgWithdrawTimelock) Reset()
func (*MsgWithdrawTimelock) Route ¶
func (msg *MsgWithdrawTimelock) Route() string
func (*MsgWithdrawTimelock) Size ¶
func (m *MsgWithdrawTimelock) Size() (n int)
func (*MsgWithdrawTimelock) String ¶
func (m *MsgWithdrawTimelock) String() string
func (*MsgWithdrawTimelock) Type ¶
func (msg *MsgWithdrawTimelock) Type() string
func (*MsgWithdrawTimelock) Unmarshal ¶
func (m *MsgWithdrawTimelock) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTimelock) ValidateBasic ¶
func (msg *MsgWithdrawTimelock) ValidateBasic() error
func (*MsgWithdrawTimelock) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTimelock) XXX_DiscardUnknown()
func (*MsgWithdrawTimelock) XXX_Marshal ¶
func (m *MsgWithdrawTimelock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTimelock) XXX_Merge ¶
func (m *MsgWithdrawTimelock) XXX_Merge(src proto.Message)
func (*MsgWithdrawTimelock) XXX_Size ¶
func (m *MsgWithdrawTimelock) XXX_Size() int
func (*MsgWithdrawTimelock) XXX_Unmarshal ¶
func (m *MsgWithdrawTimelock) XXX_Unmarshal(b []byte) error
type MsgWithdrawTimelockResponse ¶
type MsgWithdrawTimelockResponse struct { }
func (*MsgWithdrawTimelockResponse) Descriptor ¶
func (*MsgWithdrawTimelockResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawTimelockResponse) Marshal ¶
func (m *MsgWithdrawTimelockResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawTimelockResponse) MarshalTo ¶
func (m *MsgWithdrawTimelockResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawTimelockResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawTimelockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawTimelockResponse) ProtoMessage ¶
func (*MsgWithdrawTimelockResponse) ProtoMessage()
func (*MsgWithdrawTimelockResponse) Reset ¶
func (m *MsgWithdrawTimelockResponse) Reset()
func (*MsgWithdrawTimelockResponse) Size ¶
func (m *MsgWithdrawTimelockResponse) Size() (n int)
func (*MsgWithdrawTimelockResponse) String ¶
func (m *MsgWithdrawTimelockResponse) String() string
func (*MsgWithdrawTimelockResponse) Unmarshal ¶
func (m *MsgWithdrawTimelockResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawTimelockResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawTimelockResponse) XXX_DiscardUnknown()
func (*MsgWithdrawTimelockResponse) XXX_Marshal ¶
func (m *MsgWithdrawTimelockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawTimelockResponse) XXX_Merge ¶
func (m *MsgWithdrawTimelockResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawTimelockResponse) XXX_Size ¶
func (m *MsgWithdrawTimelockResponse) XXX_Size() int
func (*MsgWithdrawTimelockResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawTimelockResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
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 QueryAllChannelRequest ¶
type QueryAllChannelRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllChannelRequest) Descriptor ¶
func (*QueryAllChannelRequest) Descriptor() ([]byte, []int)
func (*QueryAllChannelRequest) GetPagination ¶
func (m *QueryAllChannelRequest) GetPagination() *query.PageRequest
func (*QueryAllChannelRequest) Marshal ¶
func (m *QueryAllChannelRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllChannelRequest) MarshalTo ¶
func (m *QueryAllChannelRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllChannelRequest) MarshalToSizedBuffer ¶
func (m *QueryAllChannelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllChannelRequest) ProtoMessage ¶
func (*QueryAllChannelRequest) ProtoMessage()
func (*QueryAllChannelRequest) Reset ¶
func (m *QueryAllChannelRequest) Reset()
func (*QueryAllChannelRequest) Size ¶
func (m *QueryAllChannelRequest) Size() (n int)
func (*QueryAllChannelRequest) String ¶
func (m *QueryAllChannelRequest) String() string
func (*QueryAllChannelRequest) Unmarshal ¶
func (m *QueryAllChannelRequest) Unmarshal(dAtA []byte) error
func (*QueryAllChannelRequest) XXX_DiscardUnknown ¶
func (m *QueryAllChannelRequest) XXX_DiscardUnknown()
func (*QueryAllChannelRequest) XXX_Marshal ¶
func (m *QueryAllChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllChannelRequest) XXX_Merge ¶
func (m *QueryAllChannelRequest) XXX_Merge(src proto.Message)
func (*QueryAllChannelRequest) XXX_Size ¶
func (m *QueryAllChannelRequest) XXX_Size() int
func (*QueryAllChannelRequest) XXX_Unmarshal ¶
func (m *QueryAllChannelRequest) XXX_Unmarshal(b []byte) error
type QueryAllChannelResponse ¶
type QueryAllChannelResponse struct { Channel []Channel `protobuf:"bytes,1,rep,name=channel,proto3" json:"channel"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllChannelResponse) Descriptor ¶
func (*QueryAllChannelResponse) Descriptor() ([]byte, []int)
func (*QueryAllChannelResponse) GetChannel ¶
func (m *QueryAllChannelResponse) GetChannel() []Channel
func (*QueryAllChannelResponse) GetPagination ¶
func (m *QueryAllChannelResponse) GetPagination() *query.PageResponse
func (*QueryAllChannelResponse) Marshal ¶
func (m *QueryAllChannelResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllChannelResponse) MarshalTo ¶
func (m *QueryAllChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllChannelResponse) MarshalToSizedBuffer ¶
func (m *QueryAllChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllChannelResponse) ProtoMessage ¶
func (*QueryAllChannelResponse) ProtoMessage()
func (*QueryAllChannelResponse) Reset ¶
func (m *QueryAllChannelResponse) Reset()
func (*QueryAllChannelResponse) Size ¶
func (m *QueryAllChannelResponse) Size() (n int)
func (*QueryAllChannelResponse) String ¶
func (m *QueryAllChannelResponse) String() string
func (*QueryAllChannelResponse) Unmarshal ¶
func (m *QueryAllChannelResponse) Unmarshal(dAtA []byte) error
func (*QueryAllChannelResponse) XXX_DiscardUnknown ¶
func (m *QueryAllChannelResponse) XXX_DiscardUnknown()
func (*QueryAllChannelResponse) XXX_Marshal ¶
func (m *QueryAllChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllChannelResponse) XXX_Merge ¶
func (m *QueryAllChannelResponse) XXX_Merge(src proto.Message)
func (*QueryAllChannelResponse) XXX_Size ¶
func (m *QueryAllChannelResponse) XXX_Size() int
func (*QueryAllChannelResponse) XXX_Unmarshal ¶
func (m *QueryAllChannelResponse) XXX_Unmarshal(b []byte) error
type QueryAllCommitmentRequest ¶
type QueryAllCommitmentRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllCommitmentRequest) Descriptor ¶
func (*QueryAllCommitmentRequest) Descriptor() ([]byte, []int)
func (*QueryAllCommitmentRequest) GetPagination ¶
func (m *QueryAllCommitmentRequest) GetPagination() *query.PageRequest
func (*QueryAllCommitmentRequest) Marshal ¶
func (m *QueryAllCommitmentRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllCommitmentRequest) MarshalTo ¶
func (m *QueryAllCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCommitmentRequest) MarshalToSizedBuffer ¶
func (m *QueryAllCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCommitmentRequest) ProtoMessage ¶
func (*QueryAllCommitmentRequest) ProtoMessage()
func (*QueryAllCommitmentRequest) Reset ¶
func (m *QueryAllCommitmentRequest) Reset()
func (*QueryAllCommitmentRequest) Size ¶
func (m *QueryAllCommitmentRequest) Size() (n int)
func (*QueryAllCommitmentRequest) String ¶
func (m *QueryAllCommitmentRequest) String() string
func (*QueryAllCommitmentRequest) Unmarshal ¶
func (m *QueryAllCommitmentRequest) Unmarshal(dAtA []byte) error
func (*QueryAllCommitmentRequest) XXX_DiscardUnknown ¶
func (m *QueryAllCommitmentRequest) XXX_DiscardUnknown()
func (*QueryAllCommitmentRequest) XXX_Marshal ¶
func (m *QueryAllCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCommitmentRequest) XXX_Merge ¶
func (m *QueryAllCommitmentRequest) XXX_Merge(src proto.Message)
func (*QueryAllCommitmentRequest) XXX_Size ¶
func (m *QueryAllCommitmentRequest) XXX_Size() int
func (*QueryAllCommitmentRequest) XXX_Unmarshal ¶
func (m *QueryAllCommitmentRequest) XXX_Unmarshal(b []byte) error
type QueryAllCommitmentResponse ¶
type QueryAllCommitmentResponse struct { Commitment []Commitment `protobuf:"bytes,1,rep,name=commitment,proto3" json:"commitment"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllCommitmentResponse) Descriptor ¶
func (*QueryAllCommitmentResponse) Descriptor() ([]byte, []int)
func (*QueryAllCommitmentResponse) GetCommitment ¶
func (m *QueryAllCommitmentResponse) GetCommitment() []Commitment
func (*QueryAllCommitmentResponse) GetPagination ¶
func (m *QueryAllCommitmentResponse) GetPagination() *query.PageResponse
func (*QueryAllCommitmentResponse) Marshal ¶
func (m *QueryAllCommitmentResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllCommitmentResponse) MarshalTo ¶
func (m *QueryAllCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllCommitmentResponse) MarshalToSizedBuffer ¶
func (m *QueryAllCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllCommitmentResponse) ProtoMessage ¶
func (*QueryAllCommitmentResponse) ProtoMessage()
func (*QueryAllCommitmentResponse) Reset ¶
func (m *QueryAllCommitmentResponse) Reset()
func (*QueryAllCommitmentResponse) Size ¶
func (m *QueryAllCommitmentResponse) Size() (n int)
func (*QueryAllCommitmentResponse) String ¶
func (m *QueryAllCommitmentResponse) String() string
func (*QueryAllCommitmentResponse) Unmarshal ¶
func (m *QueryAllCommitmentResponse) Unmarshal(dAtA []byte) error
func (*QueryAllCommitmentResponse) XXX_DiscardUnknown ¶
func (m *QueryAllCommitmentResponse) XXX_DiscardUnknown()
func (*QueryAllCommitmentResponse) XXX_Marshal ¶
func (m *QueryAllCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllCommitmentResponse) XXX_Merge ¶
func (m *QueryAllCommitmentResponse) XXX_Merge(src proto.Message)
func (*QueryAllCommitmentResponse) XXX_Size ¶
func (m *QueryAllCommitmentResponse) XXX_Size() int
func (*QueryAllCommitmentResponse) XXX_Unmarshal ¶
func (m *QueryAllCommitmentResponse) XXX_Unmarshal(b []byte) error
type QueryAllFwdcommitmentRequest ¶
type QueryAllFwdcommitmentRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllFwdcommitmentRequest) Descriptor ¶
func (*QueryAllFwdcommitmentRequest) Descriptor() ([]byte, []int)
func (*QueryAllFwdcommitmentRequest) GetPagination ¶
func (m *QueryAllFwdcommitmentRequest) GetPagination() *query.PageRequest
func (*QueryAllFwdcommitmentRequest) Marshal ¶
func (m *QueryAllFwdcommitmentRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllFwdcommitmentRequest) MarshalTo ¶
func (m *QueryAllFwdcommitmentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFwdcommitmentRequest) MarshalToSizedBuffer ¶
func (m *QueryAllFwdcommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFwdcommitmentRequest) ProtoMessage ¶
func (*QueryAllFwdcommitmentRequest) ProtoMessage()
func (*QueryAllFwdcommitmentRequest) Reset ¶
func (m *QueryAllFwdcommitmentRequest) Reset()
func (*QueryAllFwdcommitmentRequest) Size ¶
func (m *QueryAllFwdcommitmentRequest) Size() (n int)
func (*QueryAllFwdcommitmentRequest) String ¶
func (m *QueryAllFwdcommitmentRequest) String() string
func (*QueryAllFwdcommitmentRequest) Unmarshal ¶
func (m *QueryAllFwdcommitmentRequest) Unmarshal(dAtA []byte) error
func (*QueryAllFwdcommitmentRequest) XXX_DiscardUnknown ¶
func (m *QueryAllFwdcommitmentRequest) XXX_DiscardUnknown()
func (*QueryAllFwdcommitmentRequest) XXX_Marshal ¶
func (m *QueryAllFwdcommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFwdcommitmentRequest) XXX_Merge ¶
func (m *QueryAllFwdcommitmentRequest) XXX_Merge(src proto.Message)
func (*QueryAllFwdcommitmentRequest) XXX_Size ¶
func (m *QueryAllFwdcommitmentRequest) XXX_Size() int
func (*QueryAllFwdcommitmentRequest) XXX_Unmarshal ¶
func (m *QueryAllFwdcommitmentRequest) XXX_Unmarshal(b []byte) error
type QueryAllFwdcommitmentResponse ¶
type QueryAllFwdcommitmentResponse struct { Fwdcommitment []Fwdcommitment `protobuf:"bytes,1,rep,name=fwdcommitment,proto3" json:"fwdcommitment"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllFwdcommitmentResponse) Descriptor ¶
func (*QueryAllFwdcommitmentResponse) Descriptor() ([]byte, []int)
func (*QueryAllFwdcommitmentResponse) GetFwdcommitment ¶
func (m *QueryAllFwdcommitmentResponse) GetFwdcommitment() []Fwdcommitment
func (*QueryAllFwdcommitmentResponse) GetPagination ¶
func (m *QueryAllFwdcommitmentResponse) GetPagination() *query.PageResponse
func (*QueryAllFwdcommitmentResponse) Marshal ¶
func (m *QueryAllFwdcommitmentResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllFwdcommitmentResponse) MarshalTo ¶
func (m *QueryAllFwdcommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllFwdcommitmentResponse) MarshalToSizedBuffer ¶
func (m *QueryAllFwdcommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllFwdcommitmentResponse) ProtoMessage ¶
func (*QueryAllFwdcommitmentResponse) ProtoMessage()
func (*QueryAllFwdcommitmentResponse) Reset ¶
func (m *QueryAllFwdcommitmentResponse) Reset()
func (*QueryAllFwdcommitmentResponse) Size ¶
func (m *QueryAllFwdcommitmentResponse) Size() (n int)
func (*QueryAllFwdcommitmentResponse) String ¶
func (m *QueryAllFwdcommitmentResponse) String() string
func (*QueryAllFwdcommitmentResponse) Unmarshal ¶
func (m *QueryAllFwdcommitmentResponse) Unmarshal(dAtA []byte) error
func (*QueryAllFwdcommitmentResponse) XXX_DiscardUnknown ¶
func (m *QueryAllFwdcommitmentResponse) XXX_DiscardUnknown()
func (*QueryAllFwdcommitmentResponse) XXX_Marshal ¶
func (m *QueryAllFwdcommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllFwdcommitmentResponse) XXX_Merge ¶
func (m *QueryAllFwdcommitmentResponse) XXX_Merge(src proto.Message)
func (*QueryAllFwdcommitmentResponse) XXX_Size ¶
func (m *QueryAllFwdcommitmentResponse) XXX_Size() int
func (*QueryAllFwdcommitmentResponse) XXX_Unmarshal ¶
func (m *QueryAllFwdcommitmentResponse) 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 list of Channel items. Channel(ctx context.Context, in *QueryGetChannelRequest, opts ...grpc.CallOption) (*QueryGetChannelResponse, error) ChannelAll(ctx context.Context, in *QueryAllChannelRequest, opts ...grpc.CallOption) (*QueryAllChannelResponse, error) // Queries a list of Commitment items. Commitment(ctx context.Context, in *QueryGetCommitmentRequest, opts ...grpc.CallOption) (*QueryGetCommitmentResponse, error) CommitmentAll(ctx context.Context, in *QueryAllCommitmentRequest, opts ...grpc.CallOption) (*QueryAllCommitmentResponse, error) // Queries a list of Fwdcommitment items. Fwdcommitment(ctx context.Context, in *QueryGetFwdcommitmentRequest, opts ...grpc.CallOption) (*QueryGetFwdcommitmentResponse, error) FwdcommitmentAll(ctx context.Context, in *QueryAllFwdcommitmentRequest, opts ...grpc.CallOption) (*QueryAllFwdcommitmentResponse, 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 QueryGetChannelRequest ¶
type QueryGetChannelRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetChannelRequest) Descriptor ¶
func (*QueryGetChannelRequest) Descriptor() ([]byte, []int)
func (*QueryGetChannelRequest) GetIndex ¶
func (m *QueryGetChannelRequest) GetIndex() string
func (*QueryGetChannelRequest) Marshal ¶
func (m *QueryGetChannelRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetChannelRequest) MarshalTo ¶
func (m *QueryGetChannelRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetChannelRequest) MarshalToSizedBuffer ¶
func (m *QueryGetChannelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetChannelRequest) ProtoMessage ¶
func (*QueryGetChannelRequest) ProtoMessage()
func (*QueryGetChannelRequest) Reset ¶
func (m *QueryGetChannelRequest) Reset()
func (*QueryGetChannelRequest) Size ¶
func (m *QueryGetChannelRequest) Size() (n int)
func (*QueryGetChannelRequest) String ¶
func (m *QueryGetChannelRequest) String() string
func (*QueryGetChannelRequest) Unmarshal ¶
func (m *QueryGetChannelRequest) Unmarshal(dAtA []byte) error
func (*QueryGetChannelRequest) XXX_DiscardUnknown ¶
func (m *QueryGetChannelRequest) XXX_DiscardUnknown()
func (*QueryGetChannelRequest) XXX_Marshal ¶
func (m *QueryGetChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetChannelRequest) XXX_Merge ¶
func (m *QueryGetChannelRequest) XXX_Merge(src proto.Message)
func (*QueryGetChannelRequest) XXX_Size ¶
func (m *QueryGetChannelRequest) XXX_Size() int
func (*QueryGetChannelRequest) XXX_Unmarshal ¶
func (m *QueryGetChannelRequest) XXX_Unmarshal(b []byte) error
type QueryGetChannelResponse ¶
type QueryGetChannelResponse struct {
Channel Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel"`
}
func (*QueryGetChannelResponse) Descriptor ¶
func (*QueryGetChannelResponse) Descriptor() ([]byte, []int)
func (*QueryGetChannelResponse) GetChannel ¶
func (m *QueryGetChannelResponse) GetChannel() Channel
func (*QueryGetChannelResponse) Marshal ¶
func (m *QueryGetChannelResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetChannelResponse) MarshalTo ¶
func (m *QueryGetChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetChannelResponse) MarshalToSizedBuffer ¶
func (m *QueryGetChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetChannelResponse) ProtoMessage ¶
func (*QueryGetChannelResponse) ProtoMessage()
func (*QueryGetChannelResponse) Reset ¶
func (m *QueryGetChannelResponse) Reset()
func (*QueryGetChannelResponse) Size ¶
func (m *QueryGetChannelResponse) Size() (n int)
func (*QueryGetChannelResponse) String ¶
func (m *QueryGetChannelResponse) String() string
func (*QueryGetChannelResponse) Unmarshal ¶
func (m *QueryGetChannelResponse) Unmarshal(dAtA []byte) error
func (*QueryGetChannelResponse) XXX_DiscardUnknown ¶
func (m *QueryGetChannelResponse) XXX_DiscardUnknown()
func (*QueryGetChannelResponse) XXX_Marshal ¶
func (m *QueryGetChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetChannelResponse) XXX_Merge ¶
func (m *QueryGetChannelResponse) XXX_Merge(src proto.Message)
func (*QueryGetChannelResponse) XXX_Size ¶
func (m *QueryGetChannelResponse) XXX_Size() int
func (*QueryGetChannelResponse) XXX_Unmarshal ¶
func (m *QueryGetChannelResponse) XXX_Unmarshal(b []byte) error
type QueryGetCommitmentRequest ¶
type QueryGetCommitmentRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetCommitmentRequest) Descriptor ¶
func (*QueryGetCommitmentRequest) Descriptor() ([]byte, []int)
func (*QueryGetCommitmentRequest) GetIndex ¶
func (m *QueryGetCommitmentRequest) GetIndex() string
func (*QueryGetCommitmentRequest) Marshal ¶
func (m *QueryGetCommitmentRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetCommitmentRequest) MarshalTo ¶
func (m *QueryGetCommitmentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCommitmentRequest) MarshalToSizedBuffer ¶
func (m *QueryGetCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCommitmentRequest) ProtoMessage ¶
func (*QueryGetCommitmentRequest) ProtoMessage()
func (*QueryGetCommitmentRequest) Reset ¶
func (m *QueryGetCommitmentRequest) Reset()
func (*QueryGetCommitmentRequest) Size ¶
func (m *QueryGetCommitmentRequest) Size() (n int)
func (*QueryGetCommitmentRequest) String ¶
func (m *QueryGetCommitmentRequest) String() string
func (*QueryGetCommitmentRequest) Unmarshal ¶
func (m *QueryGetCommitmentRequest) Unmarshal(dAtA []byte) error
func (*QueryGetCommitmentRequest) XXX_DiscardUnknown ¶
func (m *QueryGetCommitmentRequest) XXX_DiscardUnknown()
func (*QueryGetCommitmentRequest) XXX_Marshal ¶
func (m *QueryGetCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCommitmentRequest) XXX_Merge ¶
func (m *QueryGetCommitmentRequest) XXX_Merge(src proto.Message)
func (*QueryGetCommitmentRequest) XXX_Size ¶
func (m *QueryGetCommitmentRequest) XXX_Size() int
func (*QueryGetCommitmentRequest) XXX_Unmarshal ¶
func (m *QueryGetCommitmentRequest) XXX_Unmarshal(b []byte) error
type QueryGetCommitmentResponse ¶
type QueryGetCommitmentResponse struct {
Commitment Commitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment"`
}
func (*QueryGetCommitmentResponse) Descriptor ¶
func (*QueryGetCommitmentResponse) Descriptor() ([]byte, []int)
func (*QueryGetCommitmentResponse) GetCommitment ¶
func (m *QueryGetCommitmentResponse) GetCommitment() Commitment
func (*QueryGetCommitmentResponse) Marshal ¶
func (m *QueryGetCommitmentResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetCommitmentResponse) MarshalTo ¶
func (m *QueryGetCommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetCommitmentResponse) MarshalToSizedBuffer ¶
func (m *QueryGetCommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetCommitmentResponse) ProtoMessage ¶
func (*QueryGetCommitmentResponse) ProtoMessage()
func (*QueryGetCommitmentResponse) Reset ¶
func (m *QueryGetCommitmentResponse) Reset()
func (*QueryGetCommitmentResponse) Size ¶
func (m *QueryGetCommitmentResponse) Size() (n int)
func (*QueryGetCommitmentResponse) String ¶
func (m *QueryGetCommitmentResponse) String() string
func (*QueryGetCommitmentResponse) Unmarshal ¶
func (m *QueryGetCommitmentResponse) Unmarshal(dAtA []byte) error
func (*QueryGetCommitmentResponse) XXX_DiscardUnknown ¶
func (m *QueryGetCommitmentResponse) XXX_DiscardUnknown()
func (*QueryGetCommitmentResponse) XXX_Marshal ¶
func (m *QueryGetCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetCommitmentResponse) XXX_Merge ¶
func (m *QueryGetCommitmentResponse) XXX_Merge(src proto.Message)
func (*QueryGetCommitmentResponse) XXX_Size ¶
func (m *QueryGetCommitmentResponse) XXX_Size() int
func (*QueryGetCommitmentResponse) XXX_Unmarshal ¶
func (m *QueryGetCommitmentResponse) XXX_Unmarshal(b []byte) error
type QueryGetFwdcommitmentRequest ¶
type QueryGetFwdcommitmentRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetFwdcommitmentRequest) Descriptor ¶
func (*QueryGetFwdcommitmentRequest) Descriptor() ([]byte, []int)
func (*QueryGetFwdcommitmentRequest) GetIndex ¶
func (m *QueryGetFwdcommitmentRequest) GetIndex() string
func (*QueryGetFwdcommitmentRequest) Marshal ¶
func (m *QueryGetFwdcommitmentRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetFwdcommitmentRequest) MarshalTo ¶
func (m *QueryGetFwdcommitmentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetFwdcommitmentRequest) MarshalToSizedBuffer ¶
func (m *QueryGetFwdcommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetFwdcommitmentRequest) ProtoMessage ¶
func (*QueryGetFwdcommitmentRequest) ProtoMessage()
func (*QueryGetFwdcommitmentRequest) Reset ¶
func (m *QueryGetFwdcommitmentRequest) Reset()
func (*QueryGetFwdcommitmentRequest) Size ¶
func (m *QueryGetFwdcommitmentRequest) Size() (n int)
func (*QueryGetFwdcommitmentRequest) String ¶
func (m *QueryGetFwdcommitmentRequest) String() string
func (*QueryGetFwdcommitmentRequest) Unmarshal ¶
func (m *QueryGetFwdcommitmentRequest) Unmarshal(dAtA []byte) error
func (*QueryGetFwdcommitmentRequest) XXX_DiscardUnknown ¶
func (m *QueryGetFwdcommitmentRequest) XXX_DiscardUnknown()
func (*QueryGetFwdcommitmentRequest) XXX_Marshal ¶
func (m *QueryGetFwdcommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetFwdcommitmentRequest) XXX_Merge ¶
func (m *QueryGetFwdcommitmentRequest) XXX_Merge(src proto.Message)
func (*QueryGetFwdcommitmentRequest) XXX_Size ¶
func (m *QueryGetFwdcommitmentRequest) XXX_Size() int
func (*QueryGetFwdcommitmentRequest) XXX_Unmarshal ¶
func (m *QueryGetFwdcommitmentRequest) XXX_Unmarshal(b []byte) error
type QueryGetFwdcommitmentResponse ¶
type QueryGetFwdcommitmentResponse struct {
Fwdcommitment Fwdcommitment `protobuf:"bytes,1,opt,name=fwdcommitment,proto3" json:"fwdcommitment"`
}
func (*QueryGetFwdcommitmentResponse) Descriptor ¶
func (*QueryGetFwdcommitmentResponse) Descriptor() ([]byte, []int)
func (*QueryGetFwdcommitmentResponse) GetFwdcommitment ¶
func (m *QueryGetFwdcommitmentResponse) GetFwdcommitment() Fwdcommitment
func (*QueryGetFwdcommitmentResponse) Marshal ¶
func (m *QueryGetFwdcommitmentResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetFwdcommitmentResponse) MarshalTo ¶
func (m *QueryGetFwdcommitmentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetFwdcommitmentResponse) MarshalToSizedBuffer ¶
func (m *QueryGetFwdcommitmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetFwdcommitmentResponse) ProtoMessage ¶
func (*QueryGetFwdcommitmentResponse) ProtoMessage()
func (*QueryGetFwdcommitmentResponse) Reset ¶
func (m *QueryGetFwdcommitmentResponse) Reset()
func (*QueryGetFwdcommitmentResponse) Size ¶
func (m *QueryGetFwdcommitmentResponse) Size() (n int)
func (*QueryGetFwdcommitmentResponse) String ¶
func (m *QueryGetFwdcommitmentResponse) String() string
func (*QueryGetFwdcommitmentResponse) Unmarshal ¶
func (m *QueryGetFwdcommitmentResponse) Unmarshal(dAtA []byte) error
func (*QueryGetFwdcommitmentResponse) XXX_DiscardUnknown ¶
func (m *QueryGetFwdcommitmentResponse) XXX_DiscardUnknown()
func (*QueryGetFwdcommitmentResponse) XXX_Marshal ¶
func (m *QueryGetFwdcommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetFwdcommitmentResponse) XXX_Merge ¶
func (m *QueryGetFwdcommitmentResponse) XXX_Merge(src proto.Message)
func (*QueryGetFwdcommitmentResponse) XXX_Size ¶
func (m *QueryGetFwdcommitmentResponse) XXX_Size() int
func (*QueryGetFwdcommitmentResponse) XXX_Unmarshal ¶
func (m *QueryGetFwdcommitmentResponse) 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 list of Channel items. Channel(context.Context, *QueryGetChannelRequest) (*QueryGetChannelResponse, error) ChannelAll(context.Context, *QueryAllChannelRequest) (*QueryAllChannelResponse, error) // Queries a list of Commitment items. Commitment(context.Context, *QueryGetCommitmentRequest) (*QueryGetCommitmentResponse, error) CommitmentAll(context.Context, *QueryAllCommitmentRequest) (*QueryAllCommitmentResponse, error) // Queries a list of Fwdcommitment items. Fwdcommitment(context.Context, *QueryGetFwdcommitmentRequest) (*QueryGetFwdcommitmentResponse, error) FwdcommitmentAll(context.Context, *QueryAllFwdcommitmentRequest) (*QueryAllFwdcommitmentResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Acceptfund ¶
func (*UnimplementedMsgServer) Acceptfund(ctx context.Context, req *MsgAcceptfund) (*MsgAcceptfundResponse, error)
func (*UnimplementedMsgServer) Closechannel ¶
func (*UnimplementedMsgServer) Closechannel(ctx context.Context, req *MsgClosechannel) (*MsgClosechannelResponse, error)
func (*UnimplementedMsgServer) Commitment ¶
func (*UnimplementedMsgServer) Commitment(ctx context.Context, req *MsgCommitment) (*MsgCommitmentResponse, error)
func (*UnimplementedMsgServer) Fund ¶
func (*UnimplementedMsgServer) Fund(ctx context.Context, req *MsgFund) (*MsgFundResponse, error)
func (*UnimplementedMsgServer) Openchannel ¶
func (*UnimplementedMsgServer) Openchannel(ctx context.Context, req *MsgOpenchannel) (*MsgOpenchannelResponse, error)
func (*UnimplementedMsgServer) Receivercommit ¶
func (*UnimplementedMsgServer) Receivercommit(ctx context.Context, req *MsgReceivercommit) (*MsgReceivercommitResponse, error)
func (*UnimplementedMsgServer) Receiverwithdraw ¶
func (*UnimplementedMsgServer) Receiverwithdraw(ctx context.Context, req *MsgReceiverwithdraw) (*MsgReceiverwithdrawResponse, error)
func (*UnimplementedMsgServer) Sendercommit ¶
func (*UnimplementedMsgServer) Sendercommit(ctx context.Context, req *MsgSendercommit) (*MsgSendercommitResponse, error)
func (*UnimplementedMsgServer) Senderwithdrawhashlock ¶
func (*UnimplementedMsgServer) Senderwithdrawhashlock(ctx context.Context, req *MsgSenderwithdrawhashlock) (*MsgSenderwithdrawhashlockResponse, error)
func (*UnimplementedMsgServer) Senderwithdrawtimelock ¶
func (*UnimplementedMsgServer) Senderwithdrawtimelock(ctx context.Context, req *MsgSenderwithdrawtimelock) (*MsgSenderwithdrawtimelockResponse, error)
func (*UnimplementedMsgServer) WithdrawHashlock ¶
func (*UnimplementedMsgServer) WithdrawHashlock(ctx context.Context, req *MsgWithdrawHashlock) (*MsgWithdrawHashlockResponse, error)
func (*UnimplementedMsgServer) WithdrawTimelock ¶
func (*UnimplementedMsgServer) WithdrawTimelock(ctx context.Context, req *MsgWithdrawTimelock) (*MsgWithdrawTimelockResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Channel ¶
func (*UnimplementedQueryServer) Channel(ctx context.Context, req *QueryGetChannelRequest) (*QueryGetChannelResponse, error)
func (*UnimplementedQueryServer) ChannelAll ¶
func (*UnimplementedQueryServer) ChannelAll(ctx context.Context, req *QueryAllChannelRequest) (*QueryAllChannelResponse, error)
func (*UnimplementedQueryServer) Commitment ¶
func (*UnimplementedQueryServer) Commitment(ctx context.Context, req *QueryGetCommitmentRequest) (*QueryGetCommitmentResponse, error)
func (*UnimplementedQueryServer) CommitmentAll ¶
func (*UnimplementedQueryServer) CommitmentAll(ctx context.Context, req *QueryAllCommitmentRequest) (*QueryAllCommitmentResponse, error)
func (*UnimplementedQueryServer) Fwdcommitment ¶
func (*UnimplementedQueryServer) Fwdcommitment(ctx context.Context, req *QueryGetFwdcommitmentRequest) (*QueryGetFwdcommitmentResponse, error)
func (*UnimplementedQueryServer) FwdcommitmentAll ¶
func (*UnimplementedQueryServer) FwdcommitmentAll(ctx context.Context, req *QueryAllFwdcommitmentRequest) (*QueryAllFwdcommitmentResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- channel.pb.go
- codec.go
- commitment.pb.go
- errors.go
- expected_keepers.go
- fwdcommitment.pb.go
- genesis.go
- genesis.pb.go
- key_channel.go
- key_commitment.go
- key_fwdcommitment.go
- keys.go
- message_acceptfund.go
- message_closechannel.go
- message_commitment.go
- message_fund.go
- message_openchannel.go
- message_receivercommit.go
- message_receiverwithdraw.go
- message_sendercommit.go
- message_senderwithdrawhashlock.go
- message_senderwithdrawtimelock.go
- message_withdraw_hashlock.go
- message_withdraw_timelock.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go