Documentation ¶
Index ¶
- Variables
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSwaps() []Swap
- 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 (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 Hash
- type MsgClient
- type MsgHTLT
- func (*MsgHTLT) Descriptor() ([]byte, []int)
- func (m *MsgHTLT) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgHTLT) GetFrom() string
- func (m *MsgHTLT) GetRecipient() string
- func (m *MsgHTLT) GetSecret() []byte
- func (m *MsgHTLT) GetTransferType() TransferType
- func (m *MsgHTLT) Marshal() (dAtA []byte, err error)
- func (m *MsgHTLT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgHTLT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgHTLT) ProtoMessage()
- func (m *MsgHTLT) Reset()
- func (m *MsgHTLT) Size() (n int)
- func (m *MsgHTLT) String() string
- func (m *MsgHTLT) Unmarshal(dAtA []byte) error
- func (m *MsgHTLT) XXX_DiscardUnknown()
- func (m *MsgHTLT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgHTLT) XXX_Merge(src proto.Message)
- func (m *MsgHTLT) XXX_Size() int
- func (m *MsgHTLT) XXX_Unmarshal(b []byte) error
- type MsgHTLTResponse
- func (*MsgHTLTResponse) Descriptor() ([]byte, []int)
- func (m *MsgHTLTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgHTLTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgHTLTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgHTLTResponse) ProtoMessage()
- func (m *MsgHTLTResponse) Reset()
- func (m *MsgHTLTResponse) Size() (n int)
- func (m *MsgHTLTResponse) String() string
- func (m *MsgHTLTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgHTLTResponse) XXX_DiscardUnknown()
- func (m *MsgHTLTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgHTLTResponse) XXX_Merge(src proto.Message)
- func (m *MsgHTLTResponse) XXX_Size() int
- func (m *MsgHTLTResponse) XXX_Unmarshal(b []byte) error
- type MsgRedeem
- func (*MsgRedeem) Descriptor() ([]byte, []int)
- func (m *MsgRedeem) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeem) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeem) ProtoMessage()
- func (m *MsgRedeem) Reset()
- func (m *MsgRedeem) Size() (n int)
- func (m *MsgRedeem) String() string
- func (m *MsgRedeem) Unmarshal(dAtA []byte) error
- func (m *MsgRedeem) XXX_DiscardUnknown()
- func (m *MsgRedeem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeem) XXX_Merge(src proto.Message)
- func (m *MsgRedeem) XXX_Size() int
- func (m *MsgRedeem) XXX_Unmarshal(b []byte) error
- type MsgRedeemResponse
- func (*MsgRedeemResponse) Descriptor() ([]byte, []int)
- func (m *MsgRedeemResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRedeemResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRedeemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRedeemResponse) ProtoMessage()
- func (m *MsgRedeemResponse) Reset()
- func (m *MsgRedeemResponse) Size() (n int)
- func (m *MsgRedeemResponse) String() string
- func (m *MsgRedeemResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRedeemResponse) XXX_DiscardUnknown()
- func (m *MsgRedeemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRedeemResponse) XXX_Merge(src proto.Message)
- func (m *MsgRedeemResponse) XXX_Size() int
- func (m *MsgRedeemResponse) XXX_Unmarshal(b []byte) error
- type MsgRefund
- func (*MsgRefund) Descriptor() ([]byte, []int)
- func (m *MsgRefund) Marshal() (dAtA []byte, err error)
- func (m *MsgRefund) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRefund) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRefund) ProtoMessage()
- func (m *MsgRefund) Reset()
- func (m *MsgRefund) Size() (n int)
- func (m *MsgRefund) String() string
- func (m *MsgRefund) Unmarshal(dAtA []byte) error
- func (m *MsgRefund) XXX_DiscardUnknown()
- func (m *MsgRefund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRefund) XXX_Merge(src proto.Message)
- func (m *MsgRefund) XXX_Size() int
- func (m *MsgRefund) XXX_Unmarshal(b []byte) error
- type MsgRefundResponse
- func (*MsgRefundResponse) Descriptor() ([]byte, []int)
- func (m *MsgRefundResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRefundResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRefundResponse) ProtoMessage()
- func (m *MsgRefundResponse) Reset()
- func (m *MsgRefundResponse) Size() (n int)
- func (m *MsgRefundResponse) String() string
- func (m *MsgRefundResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRefundResponse) XXX_DiscardUnknown()
- func (m *MsgRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRefundResponse) XXX_Merge(src proto.Message)
- func (m *MsgRefundResponse) XXX_Size() int
- func (m *MsgRefundResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetLockedTimeIn() time.Duration
- func (m *Params) GetLockedTimeOut() time.Duration
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Secret
- type Swap
- func (*Swap) Descriptor() ([]byte, []int)
- func (m *Swap) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Swap) GetFrom() string
- func (m *Swap) GetRecipient() string
- func (m *Swap) GetRedeemed() bool
- func (m *Swap) GetRefunded() bool
- func (m *Swap) GetTimestamp() uint64
- func (m *Swap) GetTransferType() TransferType
- func (m *Swap) Marshal() (dAtA []byte, err error)
- func (m *Swap) MarshalTo(dAtA []byte) (int, error)
- func (m *Swap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Swap) ProtoMessage()
- func (m *Swap) Reset()
- func (m *Swap) Size() (n int)
- func (m *Swap) String() string
- func (m *Swap) Unmarshal(dAtA []byte) error
- func (m *Swap) XXX_DiscardUnknown()
- func (m *Swap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Swap) XXX_Merge(src proto.Message)
- func (m *Swap) XXX_Size() int
- func (m *Swap) XXX_Unmarshal(b []byte) error
- type TransferType
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) HTLT(ctx context.Context, req *MsgHTLT) (*MsgHTLTResponse, error)
- func (*UnimplementedMsgServer) Redeem(ctx context.Context, req *MsgRedeem) (*MsgRedeemResponse, error)
- func (*UnimplementedMsgServer) Refund(ctx context.Context, req *MsgRefund) (*MsgRefundResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthSwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSwap = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
View Source
var TransferType_name = map[int32]string{
0: "TransferTypeOut",
1: "TransferTypeIn",
}
View Source
var TransferType_value = map[string]int32{
"TransferTypeOut": 0,
"TransferTypeIn": 1,
}
Functions ¶
func RegisterMsgServer ¶
Types ¶
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of related to deposit. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` // swaps defines the swaps active at genesis. Swaps []Swap `protobuf:"bytes,2,rep,name=swaps,proto3" json:"swaps" yaml:"swaps"` }
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSwaps ¶
func (m *GenesisState) GetSwaps() []Swap
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) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { HTLT(ctx context.Context, in *MsgHTLT, opts ...grpc.CallOption) (*MsgHTLTResponse, error) Redeem(ctx context.Context, in *MsgRedeem, opts ...grpc.CallOption) (*MsgRedeemResponse, error) Refund(ctx context.Context, in *MsgRefund, opts ...grpc.CallOption) (*MsgRefundResponse, 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 MsgHTLT ¶
type MsgHTLT struct { TransferType TransferType `` /* 153-byte string literal not displayed */ From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty" yaml:"recipient"` HashedSecret Hash `protobuf:"bytes,4,opt,name=hashed_secret,json=hashedSecret,proto3,customtype=Hash" json:"hashed_secret" yaml:"hashed_secret"` Secret []byte `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty" yaml:"secret"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` }
func (*MsgHTLT) Descriptor ¶
func (*MsgHTLT) GetAmount ¶
func (m *MsgHTLT) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgHTLT) GetRecipient ¶
func (*MsgHTLT) GetTransferType ¶
func (m *MsgHTLT) GetTransferType() TransferType
func (*MsgHTLT) MarshalToSizedBuffer ¶
func (*MsgHTLT) ProtoMessage ¶
func (*MsgHTLT) ProtoMessage()
func (*MsgHTLT) XXX_DiscardUnknown ¶
func (m *MsgHTLT) XXX_DiscardUnknown()
func (*MsgHTLT) XXX_Marshal ¶
func (*MsgHTLT) XXX_Unmarshal ¶
type MsgHTLTResponse ¶
type MsgHTLTResponse struct { }
func (*MsgHTLTResponse) Descriptor ¶
func (*MsgHTLTResponse) Descriptor() ([]byte, []int)
func (*MsgHTLTResponse) Marshal ¶
func (m *MsgHTLTResponse) Marshal() (dAtA []byte, err error)
func (*MsgHTLTResponse) MarshalToSizedBuffer ¶
func (m *MsgHTLTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgHTLTResponse) ProtoMessage ¶
func (*MsgHTLTResponse) ProtoMessage()
func (*MsgHTLTResponse) Reset ¶
func (m *MsgHTLTResponse) Reset()
func (*MsgHTLTResponse) Size ¶
func (m *MsgHTLTResponse) Size() (n int)
func (*MsgHTLTResponse) String ¶
func (m *MsgHTLTResponse) String() string
func (*MsgHTLTResponse) Unmarshal ¶
func (m *MsgHTLTResponse) Unmarshal(dAtA []byte) error
func (*MsgHTLTResponse) XXX_DiscardUnknown ¶
func (m *MsgHTLTResponse) XXX_DiscardUnknown()
func (*MsgHTLTResponse) XXX_Marshal ¶
func (m *MsgHTLTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgHTLTResponse) XXX_Merge ¶
func (m *MsgHTLTResponse) XXX_Merge(src proto.Message)
func (*MsgHTLTResponse) XXX_Size ¶
func (m *MsgHTLTResponse) XXX_Size() int
func (*MsgHTLTResponse) XXX_Unmarshal ¶
func (m *MsgHTLTResponse) XXX_Unmarshal(b []byte) error
type MsgRedeem ¶
type MsgRedeem struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` }
func (*MsgRedeem) Descriptor ¶
func (*MsgRedeem) MarshalToSizedBuffer ¶
func (*MsgRedeem) ProtoMessage ¶
func (*MsgRedeem) ProtoMessage()
func (*MsgRedeem) XXX_DiscardUnknown ¶
func (m *MsgRedeem) XXX_DiscardUnknown()
func (*MsgRedeem) XXX_Marshal ¶
func (*MsgRedeem) XXX_Unmarshal ¶
type MsgRedeemResponse ¶
type MsgRedeemResponse struct { }
func (*MsgRedeemResponse) Descriptor ¶
func (*MsgRedeemResponse) Descriptor() ([]byte, []int)
func (*MsgRedeemResponse) Marshal ¶
func (m *MsgRedeemResponse) Marshal() (dAtA []byte, err error)
func (*MsgRedeemResponse) MarshalTo ¶
func (m *MsgRedeemResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRedeemResponse) MarshalToSizedBuffer ¶
func (m *MsgRedeemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRedeemResponse) ProtoMessage ¶
func (*MsgRedeemResponse) ProtoMessage()
func (*MsgRedeemResponse) Reset ¶
func (m *MsgRedeemResponse) Reset()
func (*MsgRedeemResponse) Size ¶
func (m *MsgRedeemResponse) Size() (n int)
func (*MsgRedeemResponse) String ¶
func (m *MsgRedeemResponse) String() string
func (*MsgRedeemResponse) Unmarshal ¶
func (m *MsgRedeemResponse) Unmarshal(dAtA []byte) error
func (*MsgRedeemResponse) XXX_DiscardUnknown ¶
func (m *MsgRedeemResponse) XXX_DiscardUnknown()
func (*MsgRedeemResponse) XXX_Marshal ¶
func (m *MsgRedeemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRedeemResponse) XXX_Merge ¶
func (m *MsgRedeemResponse) XXX_Merge(src proto.Message)
func (*MsgRedeemResponse) XXX_Size ¶
func (m *MsgRedeemResponse) XXX_Size() int
func (*MsgRedeemResponse) XXX_Unmarshal ¶
func (m *MsgRedeemResponse) XXX_Unmarshal(b []byte) error
type MsgRefund ¶
type MsgRefund struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty" yaml:"from"` HashedSecret Hash `protobuf:"bytes,2,opt,name=hashed_secret,json=hashedSecret,proto3,customtype=Hash" json:"hashed_secret"` }
func (*MsgRefund) Descriptor ¶
func (*MsgRefund) MarshalToSizedBuffer ¶
func (*MsgRefund) ProtoMessage ¶
func (*MsgRefund) ProtoMessage()
func (*MsgRefund) XXX_DiscardUnknown ¶
func (m *MsgRefund) XXX_DiscardUnknown()
func (*MsgRefund) XXX_Marshal ¶
func (*MsgRefund) XXX_Unmarshal ¶
type MsgRefundResponse ¶
type MsgRefundResponse struct { }
func (*MsgRefundResponse) Descriptor ¶
func (*MsgRefundResponse) Descriptor() ([]byte, []int)
func (*MsgRefundResponse) Marshal ¶
func (m *MsgRefundResponse) Marshal() (dAtA []byte, err error)
func (*MsgRefundResponse) MarshalTo ¶
func (m *MsgRefundResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRefundResponse) MarshalToSizedBuffer ¶
func (m *MsgRefundResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRefundResponse) ProtoMessage ¶
func (*MsgRefundResponse) ProtoMessage()
func (*MsgRefundResponse) Reset ¶
func (m *MsgRefundResponse) Reset()
func (*MsgRefundResponse) Size ¶
func (m *MsgRefundResponse) Size() (n int)
func (*MsgRefundResponse) String ¶
func (m *MsgRefundResponse) String() string
func (*MsgRefundResponse) Unmarshal ¶
func (m *MsgRefundResponse) Unmarshal(dAtA []byte) error
func (*MsgRefundResponse) XXX_DiscardUnknown ¶
func (m *MsgRefundResponse) XXX_DiscardUnknown()
func (*MsgRefundResponse) XXX_Marshal ¶
func (m *MsgRefundResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRefundResponse) XXX_Merge ¶
func (m *MsgRefundResponse) XXX_Merge(src proto.Message)
func (*MsgRefundResponse) XXX_Size ¶
func (m *MsgRefundResponse) XXX_Size() int
func (*MsgRefundResponse) XXX_Unmarshal ¶
func (m *MsgRefundResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { HTLT(context.Context, *MsgHTLT) (*MsgHTLTResponse, error) Redeem(context.Context, *MsgRedeem) (*MsgRedeemResponse, error) Refund(context.Context, *MsgRefund) (*MsgRefundResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { LockedTimeOut time.Duration `` /* 126-byte string literal not displayed */ LockedTimeIn time.Duration `protobuf:"varint,2,opt,name=locked_time_in,json=lockedTimeIn,proto3,casttype=time.Duration" json:"locked_time_in,omitempty"` }
func (*Params) Descriptor ¶
func (*Params) GetLockedTimeIn ¶
func (*Params) GetLockedTimeOut ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Swap ¶
type Swap struct { TransferType TransferType `protobuf:"varint,1,opt,name=transfer_type,json=transferType,proto3,enum=decimal.swap.v1.TransferType" json:"transfer_type"` HashedSecret *Hash `protobuf:"bytes,2,opt,name=hashed_secret,json=hashedSecret,proto3,customtype=Hash" json:"hashed_secret,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` Timestamp uint64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Redeemed bool `protobuf:"varint,7,opt,name=redeemed,proto3" json:"redeemed,omitempty"` Refunded bool `protobuf:"varint,8,opt,name=refunded,proto3" json:"refunded,omitempty"` }
func (*Swap) Descriptor ¶
func (*Swap) GetAmount ¶
func (m *Swap) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Swap) GetRecipient ¶
func (*Swap) GetRedeemed ¶
func (*Swap) GetRefunded ¶
func (*Swap) GetTimestamp ¶
func (*Swap) GetTransferType ¶
func (m *Swap) GetTransferType() TransferType
func (*Swap) ProtoMessage ¶
func (*Swap) ProtoMessage()
func (*Swap) XXX_DiscardUnknown ¶
func (m *Swap) XXX_DiscardUnknown()
func (*Swap) XXX_Unmarshal ¶
type TransferType ¶
type TransferType int32
const ( TransferType_TransferTypeOut TransferType = 0 TransferType_TransferTypeIn TransferType = 1 )
func (TransferType) EnumDescriptor ¶
func (TransferType) EnumDescriptor() ([]byte, []int)
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) HTLT ¶
func (*UnimplementedMsgServer) HTLT(ctx context.Context, req *MsgHTLT) (*MsgHTLTResponse, error)
func (*UnimplementedMsgServer) Redeem ¶
func (*UnimplementedMsgServer) Redeem(ctx context.Context, req *MsgRedeem) (*MsgRedeemResponse, error)
func (*UnimplementedMsgServer) Refund ¶
func (*UnimplementedMsgServer) Refund(ctx context.Context, req *MsgRefund) (*MsgRefundResponse, error)
Click to show internal directories.
Click to hide internal directories.