Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + const HTLCIDLength + const HashLockLength + const MaxLengthForAddressOnOtherChain + const MaxTimeLock + const MinTimeLock + const ModuleName + const SecretLength + var ErrIntOverflowHtlc = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthHtlc = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupHtlc = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var HTLCState_name = map[int32]string + var HTLCState_value = map[string]int32 + var ModuleCdc = codec.NewAminoCodec(amino) + var SwapDirection_name = map[int32]string + var SwapDirection_value = map[string]int32 + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AssetParam struct + Active bool + Denom string + DeputyAddress string + FixedFee github_com_irisnet_irishub_sdk_go_types.Int + MaxBlockLock uint64 + MaxSwapAmount github_com_irisnet_irishub_sdk_go_types.Int + MinBlockLock uint64 + MinSwapAmount github_com_irisnet_irishub_sdk_go_types.Int + SupplyLimit SupplyLimit + func (*AssetParam) Descriptor() ([]byte, []int) + func (*AssetParam) ProtoMessage() + func (m *AssetParam) Marshal() (dAtA []byte, err error) + func (m *AssetParam) MarshalTo(dAtA []byte) (int, error) + func (m *AssetParam) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AssetParam) Reset() + func (m *AssetParam) Size() (n int) + func (m *AssetParam) String() string + func (m *AssetParam) Unmarshal(dAtA []byte) error + func (m *AssetParam) XXX_DiscardUnknown() + func (m *AssetParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AssetParam) XXX_Merge(src proto.Message) + func (m *AssetParam) XXX_Size() int + func (m *AssetParam) XXX_Unmarshal(b []byte) error + func (this *AssetParam) Equal(that interface{}) bool + type AssetParamDto struct + Active bool + Denom string + DeputyAddress string + FixedFee uint64 + MaxBlockLock uint64 + MaxSwapAmount uint64 + MinBlockLock uint64 + MinSwapAmount uint64 + SupplyLimit SupplyLimitDto + type AssetSupply struct + CurrentSupply types.Coin + IncomingSupply types.Coin + OutgoingSupply types.Coin + TimeElapsed time.Duration + TimeLimitedCurrentSupply types.Coin + func (*AssetSupply) Descriptor() ([]byte, []int) + func (*AssetSupply) ProtoMessage() + func (m *AssetSupply) Marshal() (dAtA []byte, err error) + func (m *AssetSupply) MarshalTo(dAtA []byte) (int, error) + func (m *AssetSupply) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AssetSupply) Reset() + func (m *AssetSupply) Size() (n int) + func (m *AssetSupply) String() string + func (m *AssetSupply) Unmarshal(dAtA []byte) error + func (m *AssetSupply) XXX_DiscardUnknown() + func (m *AssetSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AssetSupply) XXX_Merge(src proto.Message) + func (m *AssetSupply) XXX_Size() int + func (m *AssetSupply) XXX_Unmarshal(b []byte) error + type Client interface + ClaimHTLC func(hashLock string, secret string, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + CreateHTLC func(request CreateHTLCRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + QueryHTLC func(hashLock string) (QueryHTLCResp, sdk.Error) + QueryParams func() (QueryParamsResp, sdk.Error) + func NewClient(baseClient sdk.BaseClient, marshaler codec.Marshaler) Client + type CreateHTLCRequest struct + Amount sdk.DecCoins + HashLock string + ReceiverOnOtherChain string + SenderOnOtherChain string + TimeLock uint64 + Timestamp uint64 + To string + Transfer bool + type HTLC struct + Amount github_com_irisnet_irishub_sdk_go_types.Coins + ClosedBlock uint64 + Direction SwapDirection + ExpirationHeight uint64 + HashLock string + Id string + ReceiverOnOtherChain string + Secret string + Sender string + SenderOnOtherChain string + State HTLCState + Timestamp uint64 + To string + Transfer bool + func (*HTLC) Descriptor() ([]byte, []int) + func (*HTLC) ProtoMessage() + func (h HTLC) Convert() interface{} + func (m *HTLC) Marshal() (dAtA []byte, err error) + func (m *HTLC) MarshalTo(dAtA []byte) (int, error) + func (m *HTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *HTLC) Reset() + func (m *HTLC) Size() (n int) + func (m *HTLC) String() string + func (m *HTLC) Unmarshal(dAtA []byte) error + func (m *HTLC) XXX_DiscardUnknown() + func (m *HTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HTLC) XXX_Merge(src proto.Message) + func (m *HTLC) XXX_Size() int + func (m *HTLC) XXX_Unmarshal(b []byte) error + func (this *HTLC) Equal(that interface{}) bool + type HTLCState int32 + const Completed + const Open + const Refunded + func (HTLCState) EnumDescriptor() ([]byte, []int) + func (x HTLCState) String() string + type MsgClaimHTLC struct + Id string + Secret string + Sender string + func (*MsgClaimHTLC) Descriptor() ([]byte, []int) + func (*MsgClaimHTLC) ProtoMessage() + func (m *MsgClaimHTLC) Marshal() (dAtA []byte, err error) + func (m *MsgClaimHTLC) MarshalTo(dAtA []byte) (int, error) + func (m *MsgClaimHTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgClaimHTLC) Reset() + func (m *MsgClaimHTLC) Size() (n int) + func (m *MsgClaimHTLC) String() string + func (m *MsgClaimHTLC) Unmarshal(dAtA []byte) error + func (m *MsgClaimHTLC) XXX_DiscardUnknown() + func (m *MsgClaimHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgClaimHTLC) XXX_Merge(src proto.Message) + func (m *MsgClaimHTLC) XXX_Size() int + func (m *MsgClaimHTLC) XXX_Unmarshal(b []byte) error + func (msg MsgClaimHTLC) GetSignBytes() []byte + func (msg MsgClaimHTLC) GetSigners() []sdk.AccAddress + func (msg MsgClaimHTLC) Route() string + func (msg MsgClaimHTLC) Type() string + func (msg MsgClaimHTLC) ValidateBasic() error + func (this *MsgClaimHTLC) Equal(that interface{}) bool + type MsgClaimHTLCResponse struct + func (*MsgClaimHTLCResponse) Descriptor() ([]byte, []int) + func (*MsgClaimHTLCResponse) ProtoMessage() + func (m *MsgClaimHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *MsgClaimHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgClaimHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgClaimHTLCResponse) Reset() + func (m *MsgClaimHTLCResponse) Size() (n int) + func (m *MsgClaimHTLCResponse) String() string + func (m *MsgClaimHTLCResponse) Unmarshal(dAtA []byte) error + func (m *MsgClaimHTLCResponse) XXX_DiscardUnknown() + func (m *MsgClaimHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgClaimHTLCResponse) XXX_Merge(src proto.Message) + func (m *MsgClaimHTLCResponse) XXX_Size() int + func (m *MsgClaimHTLCResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + ClaimHTLC func(ctx context.Context, in *MsgClaimHTLC, opts ...grpc.CallOption) (*MsgClaimHTLCResponse, error) + CreateHTLC func(ctx context.Context, in *MsgCreateHTLC, opts ...grpc.CallOption) (*MsgCreateHTLCResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateHTLC struct + Amount github_com_irisnet_irishub_sdk_go_types.Coins + HashLock string + ReceiverOnOtherChain string + Sender string + SenderOnOtherChain string + TimeLock uint64 + Timestamp uint64 + To string + Transfer bool + func (*MsgCreateHTLC) Descriptor() ([]byte, []int) + func (*MsgCreateHTLC) ProtoMessage() + func (m *MsgCreateHTLC) Marshal() (dAtA []byte, err error) + func (m *MsgCreateHTLC) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateHTLC) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateHTLC) Reset() + func (m *MsgCreateHTLC) Size() (n int) + func (m *MsgCreateHTLC) String() string + func (m *MsgCreateHTLC) Unmarshal(dAtA []byte) error + func (m *MsgCreateHTLC) XXX_DiscardUnknown() + func (m *MsgCreateHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateHTLC) XXX_Merge(src proto.Message) + func (m *MsgCreateHTLC) XXX_Size() int + func (m *MsgCreateHTLC) XXX_Unmarshal(b []byte) error + func (msg MsgCreateHTLC) GetSignBytes() []byte + func (msg MsgCreateHTLC) GetSigners() []sdk.AccAddress + func (msg MsgCreateHTLC) Route() string + func (msg MsgCreateHTLC) Type() string + func (msg MsgCreateHTLC) ValidateBasic() error + func (this *MsgCreateHTLC) Equal(that interface{}) bool + type MsgCreateHTLCResponse struct + func (*MsgCreateHTLCResponse) Descriptor() ([]byte, []int) + func (*MsgCreateHTLCResponse) ProtoMessage() + func (m *MsgCreateHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateHTLCResponse) Reset() + func (m *MsgCreateHTLCResponse) Size() (n int) + func (m *MsgCreateHTLCResponse) String() string + func (m *MsgCreateHTLCResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateHTLCResponse) XXX_DiscardUnknown() + func (m *MsgCreateHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateHTLCResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateHTLCResponse) XXX_Size() int + func (m *MsgCreateHTLCResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + ClaimHTLC func(context.Context, *MsgClaimHTLC) (*MsgClaimHTLCResponse, error) + CreateHTLC func(context.Context, *MsgCreateHTLC) (*MsgCreateHTLCResponse, error) + type Params struct + AssetParams []AssetParam + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (h Params) Convert() interface{} + 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 (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 + func (this *Params) Equal(that interface{}) bool + type QueryAssetSuppliesRequest struct + func (*QueryAssetSuppliesRequest) Descriptor() ([]byte, []int) + func (*QueryAssetSuppliesRequest) ProtoMessage() + func (m *QueryAssetSuppliesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSuppliesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesRequest) Reset() + func (m *QueryAssetSuppliesRequest) Size() (n int) + func (m *QueryAssetSuppliesRequest) String() string + func (m *QueryAssetSuppliesRequest) Unmarshal(dAtA []byte) error + func (m *QueryAssetSuppliesRequest) XXX_DiscardUnknown() + func (m *QueryAssetSuppliesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSuppliesRequest) XXX_Merge(src proto.Message) + func (m *QueryAssetSuppliesRequest) XXX_Size() int + func (m *QueryAssetSuppliesRequest) XXX_Unmarshal(b []byte) error + type QueryAssetSuppliesResponse struct + AssetSupplies []AssetSupply + func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int) + func (*QueryAssetSuppliesResponse) ProtoMessage() + func (m *QueryAssetSuppliesResponse) GetAssetSupplies() []AssetSupply + func (m *QueryAssetSuppliesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSuppliesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSuppliesResponse) Reset() + func (m *QueryAssetSuppliesResponse) Size() (n int) + func (m *QueryAssetSuppliesResponse) String() string + func (m *QueryAssetSuppliesResponse) Unmarshal(dAtA []byte) error + func (m *QueryAssetSuppliesResponse) XXX_DiscardUnknown() + func (m *QueryAssetSuppliesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSuppliesResponse) XXX_Merge(src proto.Message) + func (m *QueryAssetSuppliesResponse) XXX_Size() int + func (m *QueryAssetSuppliesResponse) XXX_Unmarshal(b []byte) error + type QueryAssetSupplyRequest struct + Denom string + func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int) + func (*QueryAssetSupplyRequest) ProtoMessage() + func (m *QueryAssetSupplyRequest) GetDenom() string + func (m *QueryAssetSupplyRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSupplyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSupplyRequest) Reset() + func (m *QueryAssetSupplyRequest) Size() (n int) + func (m *QueryAssetSupplyRequest) String() string + func (m *QueryAssetSupplyRequest) Unmarshal(dAtA []byte) error + func (m *QueryAssetSupplyRequest) XXX_DiscardUnknown() + func (m *QueryAssetSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSupplyRequest) XXX_Merge(src proto.Message) + func (m *QueryAssetSupplyRequest) XXX_Size() int + func (m *QueryAssetSupplyRequest) XXX_Unmarshal(b []byte) error + type QueryAssetSupplyResponse struct + AssetSupply *AssetSupply + func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int) + func (*QueryAssetSupplyResponse) ProtoMessage() + func (m *QueryAssetSupplyResponse) GetAssetSupply() *AssetSupply + func (m *QueryAssetSupplyResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAssetSupplyResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAssetSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAssetSupplyResponse) Reset() + func (m *QueryAssetSupplyResponse) Size() (n int) + func (m *QueryAssetSupplyResponse) String() string + func (m *QueryAssetSupplyResponse) Unmarshal(dAtA []byte) error + func (m *QueryAssetSupplyResponse) XXX_DiscardUnknown() + func (m *QueryAssetSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAssetSupplyResponse) XXX_Merge(src proto.Message) + func (m *QueryAssetSupplyResponse) XXX_Size() int + func (m *QueryAssetSupplyResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AssetSupplies func(ctx context.Context, in *QueryAssetSuppliesRequest, opts ...grpc.CallOption) (*QueryAssetSuppliesResponse, error) + AssetSupply func(ctx context.Context, in *QueryAssetSupplyRequest, opts ...grpc.CallOption) (*QueryAssetSupplyResponse, error) + HTLC func(ctx context.Context, in *QueryHTLCRequest, opts ...grpc.CallOption) (*QueryHTLCResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryHTLCRequest struct + Id string + func (*QueryHTLCRequest) Descriptor() ([]byte, []int) + func (*QueryHTLCRequest) ProtoMessage() + func (m *QueryHTLCRequest) GetId() string + func (m *QueryHTLCRequest) Marshal() (dAtA []byte, err error) + func (m *QueryHTLCRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryHTLCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryHTLCRequest) Reset() + func (m *QueryHTLCRequest) Size() (n int) + func (m *QueryHTLCRequest) String() string + func (m *QueryHTLCRequest) Unmarshal(dAtA []byte) error + func (m *QueryHTLCRequest) XXX_DiscardUnknown() + func (m *QueryHTLCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryHTLCRequest) XXX_Merge(src proto.Message) + func (m *QueryHTLCRequest) XXX_Size() int + func (m *QueryHTLCRequest) XXX_Unmarshal(b []byte) error + type QueryHTLCResp struct + Amount sdk.Coins + ExpirationHeight uint64 + ReceiverOnOtherChain string + Secret string + Sender string + SenderOnOtherChain string + State int32 + Timestamp uint64 + To string + Transfer bool + type QueryHTLCResponse struct + Htlc *HTLC + func (*QueryHTLCResponse) Descriptor() ([]byte, []int) + func (*QueryHTLCResponse) ProtoMessage() + func (m *QueryHTLCResponse) GetHtlc() *HTLC + func (m *QueryHTLCResponse) Marshal() (dAtA []byte, err error) + func (m *QueryHTLCResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryHTLCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryHTLCResponse) Reset() + func (m *QueryHTLCResponse) Size() (n int) + func (m *QueryHTLCResponse) String() string + func (m *QueryHTLCResponse) Unmarshal(dAtA []byte) error + func (m *QueryHTLCResponse) XXX_DiscardUnknown() + func (m *QueryHTLCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryHTLCResponse) XXX_Merge(src proto.Message) + func (m *QueryHTLCResponse) XXX_Size() int + func (m *QueryHTLCResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + 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 (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 QueryParamsResp struct + AssetParams []AssetParamDto + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + 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 (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 interface + AssetSupplies func(context.Context, *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error) + AssetSupply func(context.Context, *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error) + HTLC func(context.Context, *QueryHTLCRequest) (*QueryHTLCResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type SupplyLimit struct + Limit github_com_irisnet_irishub_sdk_go_types.Int + TimeBasedLimit github_com_irisnet_irishub_sdk_go_types.Int + TimeLimited bool + TimePeriod time.Duration + func (*SupplyLimit) Descriptor() ([]byte, []int) + func (*SupplyLimit) ProtoMessage() + func (m *SupplyLimit) Marshal() (dAtA []byte, err error) + func (m *SupplyLimit) MarshalTo(dAtA []byte) (int, error) + func (m *SupplyLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SupplyLimit) Reset() + func (m *SupplyLimit) Size() (n int) + func (m *SupplyLimit) String() string + func (m *SupplyLimit) Unmarshal(dAtA []byte) error + func (m *SupplyLimit) XXX_DiscardUnknown() + func (m *SupplyLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SupplyLimit) XXX_Merge(src proto.Message) + func (m *SupplyLimit) XXX_Size() int + func (m *SupplyLimit) XXX_Unmarshal(b []byte) error + func (this *SupplyLimit) Equal(that interface{}) bool + type SupplyLimitDto struct + Limit uint64 + TimeBasedLimit uint64 + TimeLimited bool + TimePeriod int64 + type SwapDirection int32 + const Incoming + const Invalid + const Outgoing + func (SwapDirection) EnumDescriptor() ([]byte, []int) + func (x SwapDirection) String() string + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) ClaimHTLC(ctx context.Context, req *MsgClaimHTLC) (*MsgClaimHTLCResponse, error) + func (*UnimplementedMsgServer) CreateHTLC(ctx context.Context, req *MsgCreateHTLC) (*MsgCreateHTLCResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AssetSupplies(ctx context.Context, req *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error) + func (*UnimplementedQueryServer) AssetSupply(ctx context.Context, req *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error) + func (*UnimplementedQueryServer) HTLC(ctx context.Context, req *QueryHTLCRequest) (*QueryHTLCResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)