looprpc

package module
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 17 Imported by: 7

Documentation

Overview

Package looprpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressType_name = map[int32]string{
		0: "ADDRESS_TYPE_UNKNOWN",
		1: "TAPROOT_PUBKEY",
	}
	AddressType_value = map[string]int32{
		"ADDRESS_TYPE_UNKNOWN": 0,
		"TAPROOT_PUBKEY":       1,
	}
)

Enum value maps for AddressType.

View Source
var (
	SwapType_name = map[int32]string{
		0: "LOOP_OUT",
		1: "LOOP_IN",
	}
	SwapType_value = map[string]int32{
		"LOOP_OUT": 0,
		"LOOP_IN":  1,
	}
)

Enum value maps for SwapType.

View Source
var (
	SwapState_name = map[int32]string{
		0: "INITIATED",
		1: "PREIMAGE_REVEALED",
		2: "HTLC_PUBLISHED",
		3: "SUCCESS",
		4: "FAILED",
		5: "INVOICE_SETTLED",
	}
	SwapState_value = map[string]int32{
		"INITIATED":         0,
		"PREIMAGE_REVEALED": 1,
		"HTLC_PUBLISHED":    2,
		"SUCCESS":           3,
		"FAILED":            4,
		"INVOICE_SETTLED":   5,
	}
)

Enum value maps for SwapState.

View Source
var (
	FailureReason_name = map[int32]string{
		0: "FAILURE_REASON_NONE",
		1: "FAILURE_REASON_OFFCHAIN",
		2: "FAILURE_REASON_TIMEOUT",
		3: "FAILURE_REASON_SWEEP_TIMEOUT",
		4: "FAILURE_REASON_INSUFFICIENT_VALUE",
		5: "FAILURE_REASON_TEMPORARY",
		6: "FAILURE_REASON_INCORRECT_AMOUNT",
		7: "FAILURE_REASON_ABANDONED",
		8: "FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE",
		9: "FAILURE_REASON_INCORRECT_HTLC_AMT_SWEPT",
	}
	FailureReason_value = map[string]int32{
		"FAILURE_REASON_NONE":                           0,
		"FAILURE_REASON_OFFCHAIN":                       1,
		"FAILURE_REASON_TIMEOUT":                        2,
		"FAILURE_REASON_SWEEP_TIMEOUT":                  3,
		"FAILURE_REASON_INSUFFICIENT_VALUE":             4,
		"FAILURE_REASON_TEMPORARY":                      5,
		"FAILURE_REASON_INCORRECT_AMOUNT":               6,
		"FAILURE_REASON_ABANDONED":                      7,
		"FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE": 8,
		"FAILURE_REASON_INCORRECT_HTLC_AMT_SWEPT":       9,
	}
)

Enum value maps for FailureReason.

View Source
var (
	LiquidityRuleType_name = map[int32]string{
		0: "UNKNOWN",
		1: "THRESHOLD",
	}
	LiquidityRuleType_value = map[string]int32{
		"UNKNOWN":   0,
		"THRESHOLD": 1,
	}
)

Enum value maps for LiquidityRuleType.

View Source
var (
	AutoReason_name = map[int32]string{
		0:  "AUTO_REASON_UNKNOWN",
		1:  "AUTO_REASON_BUDGET_NOT_STARTED",
		2:  "AUTO_REASON_SWEEP_FEES",
		3:  "AUTO_REASON_BUDGET_ELAPSED",
		4:  "AUTO_REASON_IN_FLIGHT",
		5:  "AUTO_REASON_SWAP_FEE",
		6:  "AUTO_REASON_MINER_FEE",
		7:  "AUTO_REASON_PREPAY",
		8:  "AUTO_REASON_FAILURE_BACKOFF",
		9:  "AUTO_REASON_LOOP_OUT",
		10: "AUTO_REASON_LOOP_IN",
		11: "AUTO_REASON_LIQUIDITY_OK",
		12: "AUTO_REASON_BUDGET_INSUFFICIENT",
		13: "AUTO_REASON_FEE_INSUFFICIENT",
	}
	AutoReason_value = map[string]int32{
		"AUTO_REASON_UNKNOWN":             0,
		"AUTO_REASON_BUDGET_NOT_STARTED":  1,
		"AUTO_REASON_SWEEP_FEES":          2,
		"AUTO_REASON_BUDGET_ELAPSED":      3,
		"AUTO_REASON_IN_FLIGHT":           4,
		"AUTO_REASON_SWAP_FEE":            5,
		"AUTO_REASON_MINER_FEE":           6,
		"AUTO_REASON_PREPAY":              7,
		"AUTO_REASON_FAILURE_BACKOFF":     8,
		"AUTO_REASON_LOOP_OUT":            9,
		"AUTO_REASON_LOOP_IN":             10,
		"AUTO_REASON_LIQUIDITY_OK":        11,
		"AUTO_REASON_BUDGET_INSUFFICIENT": 12,
		"AUTO_REASON_FEE_INSUFFICIENT":    13,
	}
)

Enum value maps for AutoReason.

View Source
var (
	DepositState_name = map[int32]string{
		0:  "UNKNOWN_STATE",
		1:  "DEPOSITED",
		2:  "WITHDRAWING",
		3:  "WITHDRAWN",
		4:  "LOOPING_IN",
		5:  "LOOPED_IN",
		6:  "SWEEP_HTLC_TIMEOUT",
		7:  "HTLC_TIMEOUT_SWEPT",
		8:  "PUBLISH_EXPIRED",
		9:  "WAIT_FOR_EXPIRY_SWEEP",
		10: "EXPIRED",
	}
	DepositState_value = map[string]int32{
		"UNKNOWN_STATE":         0,
		"DEPOSITED":             1,
		"WITHDRAWING":           2,
		"WITHDRAWN":             3,
		"LOOPING_IN":            4,
		"LOOPED_IN":             5,
		"SWEEP_HTLC_TIMEOUT":    6,
		"HTLC_TIMEOUT_SWEPT":    7,
		"PUBLISH_EXPIRED":       8,
		"WAIT_FOR_EXPIRY_SWEEP": 9,
		"EXPIRED":               10,
	}
)

Enum value maps for DepositState.

View Source
var (
	StaticAddressLoopInSwapState_name = map[int32]string{
		0:  "UNKNOWN_STATIC_ADDRESS_SWAP_STATE",
		1:  "INIT_HTLC",
		2:  "SIGN_HTLC_TX",
		3:  "MONITOR_INVOICE_HTLC_TX",
		4:  "PAYMENT_RECEIVED",
		5:  "SWEEP_STATIC_ADDRESS_HTLC_TIMEOUT",
		6:  "MONITOR_HTLC_TIMEOUT_SWEEP",
		7:  "HTLC_STATIC_ADDRESS_TIMEOUT_SWEPT",
		8:  "SUCCEEDED",
		9:  "SUCCEEDED_TRANSITIONING_FAILED",
		10: "UNLOCK_DEPOSITS",
		11: "FAILED_STATIC_ADDRESS_SWAP",
	}
	StaticAddressLoopInSwapState_value = map[string]int32{
		"UNKNOWN_STATIC_ADDRESS_SWAP_STATE": 0,
		"INIT_HTLC":                         1,
		"SIGN_HTLC_TX":                      2,
		"MONITOR_INVOICE_HTLC_TX":           3,
		"PAYMENT_RECEIVED":                  4,
		"SWEEP_STATIC_ADDRESS_HTLC_TIMEOUT": 5,
		"MONITOR_HTLC_TIMEOUT_SWEEP":        6,
		"HTLC_STATIC_ADDRESS_TIMEOUT_SWEPT": 7,
		"SUCCEEDED":                         8,
		"SUCCEEDED_TRANSITIONING_FAILED":    9,
		"UNLOCK_DEPOSITS":                   10,
		"FAILED_STATIC_ADDRESS_SWAP":        11,
	}
)

Enum value maps for StaticAddressLoopInSwapState.

View Source
var (
	ListSwapsFilter_SwapTypeFilter_name = map[int32]string{
		0: "ANY",
		1: "LOOP_OUT",
		2: "LOOP_IN",
	}
	ListSwapsFilter_SwapTypeFilter_value = map[string]int32{
		"ANY":      0,
		"LOOP_OUT": 1,
		"LOOP_IN":  2,
	}
)

Enum value maps for ListSwapsFilter_SwapTypeFilter.

View Source
var Debug_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "looprpc.Debug",
	HandlerType: (*DebugServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ForceAutoLoop",
			Handler:    _Debug_ForceAutoLoop_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "debug.proto",
}

Debug_ServiceDesc is the grpc.ServiceDesc for Debug service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_client_proto protoreflect.FileDescriptor
View Source
var File_debug_proto protoreflect.FileDescriptor
View Source
var SwapClient_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "looprpc.SwapClient",
	HandlerType: (*SwapClientServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoopOut",
			Handler:    _SwapClient_LoopOut_Handler,
		},
		{
			MethodName: "LoopIn",
			Handler:    _SwapClient_LoopIn_Handler,
		},
		{
			MethodName: "ListSwaps",
			Handler:    _SwapClient_ListSwaps_Handler,
		},
		{
			MethodName: "SwapInfo",
			Handler:    _SwapClient_SwapInfo_Handler,
		},
		{
			MethodName: "AbandonSwap",
			Handler:    _SwapClient_AbandonSwap_Handler,
		},
		{
			MethodName: "LoopOutTerms",
			Handler:    _SwapClient_LoopOutTerms_Handler,
		},
		{
			MethodName: "LoopOutQuote",
			Handler:    _SwapClient_LoopOutQuote_Handler,
		},
		{
			MethodName: "GetLoopInTerms",
			Handler:    _SwapClient_GetLoopInTerms_Handler,
		},
		{
			MethodName: "GetLoopInQuote",
			Handler:    _SwapClient_GetLoopInQuote_Handler,
		},
		{
			MethodName: "Probe",
			Handler:    _SwapClient_Probe_Handler,
		},
		{
			MethodName: "GetL402Tokens",
			Handler:    _SwapClient_GetL402Tokens_Handler,
		},
		{
			MethodName: "GetLsatTokens",
			Handler:    _SwapClient_GetLsatTokens_Handler,
		},
		{
			MethodName: "FetchL402Token",
			Handler:    _SwapClient_FetchL402Token_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _SwapClient_GetInfo_Handler,
		},
		{
			MethodName: "GetLiquidityParams",
			Handler:    _SwapClient_GetLiquidityParams_Handler,
		},
		{
			MethodName: "SetLiquidityParams",
			Handler:    _SwapClient_SetLiquidityParams_Handler,
		},
		{
			MethodName: "SuggestSwaps",
			Handler:    _SwapClient_SuggestSwaps_Handler,
		},
		{
			MethodName: "ListReservations",
			Handler:    _SwapClient_ListReservations_Handler,
		},
		{
			MethodName: "InstantOut",
			Handler:    _SwapClient_InstantOut_Handler,
		},
		{
			MethodName: "InstantOutQuote",
			Handler:    _SwapClient_InstantOutQuote_Handler,
		},
		{
			MethodName: "ListInstantOuts",
			Handler:    _SwapClient_ListInstantOuts_Handler,
		},
		{
			MethodName: "NewStaticAddress",
			Handler:    _SwapClient_NewStaticAddress_Handler,
		},
		{
			MethodName: "ListUnspentDeposits",
			Handler:    _SwapClient_ListUnspentDeposits_Handler,
		},
		{
			MethodName: "WithdrawDeposits",
			Handler:    _SwapClient_WithdrawDeposits_Handler,
		},
		{
			MethodName: "ListStaticAddressDeposits",
			Handler:    _SwapClient_ListStaticAddressDeposits_Handler,
		},
		{
			MethodName: "ListStaticAddressSwaps",
			Handler:    _SwapClient_ListStaticAddressSwaps_Handler,
		},
		{
			MethodName: "GetStaticAddressSummary",
			Handler:    _SwapClient_GetStaticAddressSummary_Handler,
		},
		{
			MethodName: "StaticAddressLoopIn",
			Handler:    _SwapClient_StaticAddressLoopIn_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Monitor",
			Handler:       _SwapClient_Monitor_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "client.proto",
}

SwapClient_ServiceDesc is the grpc.ServiceDesc for SwapClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterDebugServer

func RegisterDebugServer(s grpc.ServiceRegistrar, srv DebugServer)

func RegisterSwapClientHandler

func RegisterSwapClientHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSwapClientHandler registers the http handlers for service SwapClient to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSwapClientHandlerClient

func RegisterSwapClientHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SwapClientClient) error

RegisterSwapClientHandlerClient registers the http handlers for service SwapClient to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SwapClientClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SwapClientClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SwapClientClient" to call the correct interceptors.

func RegisterSwapClientHandlerFromEndpoint

func RegisterSwapClientHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSwapClientHandlerFromEndpoint is same as RegisterSwapClientHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSwapClientHandlerServer

func RegisterSwapClientHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SwapClientServer) error

RegisterSwapClientHandlerServer registers the http handlers for service SwapClient to "mux". UnaryRPC :call SwapClientServer 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 RegisterSwapClientHandlerFromEndpoint instead.

func RegisterSwapClientJSONCallbacks

func RegisterSwapClientJSONCallbacks(registry map[string]func(ctx context.Context,
	conn *grpc.ClientConn, reqJSON string, callback func(string, error)))

func RegisterSwapClientServer

func RegisterSwapClientServer(s grpc.ServiceRegistrar, srv SwapClientServer)

Types

type AbandonSwapRequest

type AbandonSwapRequest struct {

	// The swap identifier which currently is the hash that locks the HTLCs. When
	// using REST, this field must be encoded as URL safe base64.
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A flag that tries to ensure that the client understands that they are
	// risking loss of funds by abandoning a swap. This could happen if an
	// abandoned swap would wait on a timeout sweep by the client.
	IKnowWhatIAmDoing bool `protobuf:"varint,2,opt,name=i_know_what_i_am_doing,json=iKnowWhatIAmDoing,proto3" json:"i_know_what_i_am_doing,omitempty"`
	// contains filtered or unexported fields
}

func (*AbandonSwapRequest) Descriptor deprecated

func (*AbandonSwapRequest) Descriptor() ([]byte, []int)

Deprecated: Use AbandonSwapRequest.ProtoReflect.Descriptor instead.

func (*AbandonSwapRequest) GetIKnowWhatIAmDoing

func (x *AbandonSwapRequest) GetIKnowWhatIAmDoing() bool

func (*AbandonSwapRequest) GetId

func (x *AbandonSwapRequest) GetId() []byte

func (*AbandonSwapRequest) ProtoMessage

func (*AbandonSwapRequest) ProtoMessage()

func (*AbandonSwapRequest) ProtoReflect

func (x *AbandonSwapRequest) ProtoReflect() protoreflect.Message

func (*AbandonSwapRequest) Reset

func (x *AbandonSwapRequest) Reset()

func (*AbandonSwapRequest) String

func (x *AbandonSwapRequest) String() string

type AbandonSwapResponse

type AbandonSwapResponse struct {
	// contains filtered or unexported fields
}

func (*AbandonSwapResponse) Descriptor deprecated

func (*AbandonSwapResponse) Descriptor() ([]byte, []int)

Deprecated: Use AbandonSwapResponse.ProtoReflect.Descriptor instead.

func (*AbandonSwapResponse) ProtoMessage

func (*AbandonSwapResponse) ProtoMessage()

func (*AbandonSwapResponse) ProtoReflect

func (x *AbandonSwapResponse) ProtoReflect() protoreflect.Message

func (*AbandonSwapResponse) Reset

func (x *AbandonSwapResponse) Reset()

func (*AbandonSwapResponse) String

func (x *AbandonSwapResponse) String() string

type AddressType

type AddressType int32

`AddressType` has to be one of:

- `unknown`: Unknown address type - `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 1)

const (
	AddressType_ADDRESS_TYPE_UNKNOWN AddressType = 0
	AddressType_TAPROOT_PUBKEY       AddressType = 1
)

func (AddressType) Descriptor

func (AddressType) Enum

func (x AddressType) Enum() *AddressType

func (AddressType) EnumDescriptor deprecated

func (AddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressType.Descriptor instead.

func (AddressType) Number

func (x AddressType) Number() protoreflect.EnumNumber

func (AddressType) String

func (x AddressType) String() string

func (AddressType) Type

type AssetLoopOutInfo added in v1.0.4

type AssetLoopOutInfo struct {

	// The asset id that was used to pay for the swap invoice.
	AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The human readable name of the asset.
	AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
	// The total asset offchain cost of the swap.
	AssetCostOffchain uint64 `protobuf:"varint,3,opt,name=asset_cost_offchain,json=assetCostOffchain,proto3" json:"asset_cost_offchain,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetLoopOutInfo) Descriptor deprecated added in v1.0.4

func (*AssetLoopOutInfo) Descriptor() ([]byte, []int)

Deprecated: Use AssetLoopOutInfo.ProtoReflect.Descriptor instead.

func (*AssetLoopOutInfo) GetAssetCostOffchain added in v1.0.4

func (x *AssetLoopOutInfo) GetAssetCostOffchain() uint64

func (*AssetLoopOutInfo) GetAssetId added in v1.0.4

func (x *AssetLoopOutInfo) GetAssetId() string

func (*AssetLoopOutInfo) GetAssetName added in v1.0.4

func (x *AssetLoopOutInfo) GetAssetName() string

func (*AssetLoopOutInfo) ProtoMessage added in v1.0.4

func (*AssetLoopOutInfo) ProtoMessage()

func (*AssetLoopOutInfo) ProtoReflect added in v1.0.4

func (x *AssetLoopOutInfo) ProtoReflect() protoreflect.Message

func (*AssetLoopOutInfo) Reset added in v1.0.4

func (x *AssetLoopOutInfo) Reset()

func (*AssetLoopOutInfo) String added in v1.0.4

func (x *AssetLoopOutInfo) String() string

type AssetLoopOutRequest added in v1.0.4

type AssetLoopOutRequest struct {

	// The asset id to use to pay for the swap invoice. If set an
	// asset client is needed to set to be able to pay the invoice.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The node identity public key of the peer to ask for a quote for sending out
	// the assets and converting them to satoshis. This must be specified if
	// an asset id is set.
	AssetEdgeNode []byte `protobuf:"bytes,2,opt,name=asset_edge_node,json=assetEdgeNode,proto3" json:"asset_edge_node,omitempty"`
	// An optional maximum multiplier for the rfq rate. If not set, the default
	// will be 1.1. This means if we request a loop out quote for 1 BTC, the off
	// chain cost will be at most 1.1 BTC.
	MaxLimitMultiplier float64 `protobuf:"fixed64,3,opt,name=max_limit_multiplier,json=maxLimitMultiplier,proto3" json:"max_limit_multiplier,omitempty"`
	// An optional expiry unix timestamp for when the rfq quote should expire.
	Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetLoopOutRequest) Descriptor deprecated added in v1.0.4

func (*AssetLoopOutRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssetLoopOutRequest.ProtoReflect.Descriptor instead.

func (*AssetLoopOutRequest) GetAssetEdgeNode added in v1.0.4

func (x *AssetLoopOutRequest) GetAssetEdgeNode() []byte

func (*AssetLoopOutRequest) GetAssetId added in v1.0.4

func (x *AssetLoopOutRequest) GetAssetId() []byte

func (*AssetLoopOutRequest) GetExpiry added in v1.0.4

func (x *AssetLoopOutRequest) GetExpiry() int64

func (*AssetLoopOutRequest) GetMaxLimitMultiplier added in v1.0.4

func (x *AssetLoopOutRequest) GetMaxLimitMultiplier() float64

func (*AssetLoopOutRequest) ProtoMessage added in v1.0.4

func (*AssetLoopOutRequest) ProtoMessage()

func (*AssetLoopOutRequest) ProtoReflect added in v1.0.4

func (x *AssetLoopOutRequest) ProtoReflect() protoreflect.Message

func (*AssetLoopOutRequest) Reset added in v1.0.4

func (x *AssetLoopOutRequest) Reset()

func (*AssetLoopOutRequest) String added in v1.0.4

func (x *AssetLoopOutRequest) String() string

type AssetRfqInfo added in v1.0.4

type AssetRfqInfo struct {

	// The Prepay RFQ ID to use to pay for the prepay invoice.
	PrepayRfqId []byte `protobuf:"bytes,1,opt,name=prepay_rfq_id,json=prepayRfqId,proto3" json:"prepay_rfq_id,omitempty"`
	// The maximum asset amt we'll pay for the prepay payment. This includes the
	// max limit multiplier that was set in the request.
	MaxPrepayAssetAmt uint64 `protobuf:"varint,2,opt,name=max_prepay_asset_amt,json=maxPrepayAssetAmt,proto3" json:"max_prepay_asset_amt,omitempty"`
	// The asset to BTC conversion rate for the prepay invoice.
	PrepayAssetRate *FixedPoint `protobuf:"bytes,6,opt,name=prepay_asset_rate,json=prepayAssetRate,proto3" json:"prepay_asset_rate,omitempty"`
	// The Swap RFQ ID to use to pay for the swap invoice.
	SwapRfqId []byte `protobuf:"bytes,3,opt,name=swap_rfq_id,json=swapRfqId,proto3" json:"swap_rfq_id,omitempty"`
	// The maximum asset amt we'll pay for the swap payment. This includes the
	// max limit multiplier that was set in the request.
	MaxSwapAssetAmt uint64 `protobuf:"varint,4,opt,name=max_swap_asset_amt,json=maxSwapAssetAmt,proto3" json:"max_swap_asset_amt,omitempty"`
	// The asset to BTC conversion rate for the swap invoice.
	SwapAssetRate *FixedPoint `protobuf:"bytes,7,opt,name=swap_asset_rate,json=swapAssetRate,proto3" json:"swap_asset_rate,omitempty"`
	// The name of the asset to swap.
	AssetName string `protobuf:"bytes,5,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetRfqInfo) Descriptor deprecated added in v1.0.4

func (*AssetRfqInfo) Descriptor() ([]byte, []int)

Deprecated: Use AssetRfqInfo.ProtoReflect.Descriptor instead.

func (*AssetRfqInfo) GetAssetName added in v1.0.4

func (x *AssetRfqInfo) GetAssetName() string

func (*AssetRfqInfo) GetMaxPrepayAssetAmt added in v1.0.4

func (x *AssetRfqInfo) GetMaxPrepayAssetAmt() uint64

func (*AssetRfqInfo) GetMaxSwapAssetAmt added in v1.0.4

func (x *AssetRfqInfo) GetMaxSwapAssetAmt() uint64

func (*AssetRfqInfo) GetPrepayAssetRate added in v1.0.4

func (x *AssetRfqInfo) GetPrepayAssetRate() *FixedPoint

func (*AssetRfqInfo) GetPrepayRfqId added in v1.0.4

func (x *AssetRfqInfo) GetPrepayRfqId() []byte

func (*AssetRfqInfo) GetSwapAssetRate added in v1.0.4

func (x *AssetRfqInfo) GetSwapAssetRate() *FixedPoint

func (*AssetRfqInfo) GetSwapRfqId added in v1.0.4

func (x *AssetRfqInfo) GetSwapRfqId() []byte

func (*AssetRfqInfo) ProtoMessage added in v1.0.4

func (*AssetRfqInfo) ProtoMessage()

func (*AssetRfqInfo) ProtoReflect added in v1.0.4

func (x *AssetRfqInfo) ProtoReflect() protoreflect.Message

func (*AssetRfqInfo) Reset added in v1.0.4

func (x *AssetRfqInfo) Reset()

func (*AssetRfqInfo) String added in v1.0.4

func (x *AssetRfqInfo) String() string

type AutoReason

type AutoReason int32
const (
	AutoReason_AUTO_REASON_UNKNOWN AutoReason = 0
	// Budget not started indicates that we do not recommend any swaps because
	// the start time for our budget has not arrived yet.
	AutoReason_AUTO_REASON_BUDGET_NOT_STARTED AutoReason = 1
	// Sweep fees indicates that the estimated fees to sweep swaps are too high
	// right now.
	AutoReason_AUTO_REASON_SWEEP_FEES AutoReason = 2
	// Budget elapsed indicates that the autoloop budget for the period has been
	// elapsed.
	AutoReason_AUTO_REASON_BUDGET_ELAPSED AutoReason = 3
	// In flight indicates that the limit on in-flight automatically dispatched
	// swaps has already been reached.
	AutoReason_AUTO_REASON_IN_FLIGHT AutoReason = 4
	// Swap fee indicates that the server fee for a specific swap is too high.
	AutoReason_AUTO_REASON_SWAP_FEE AutoReason = 5
	// Miner fee indicates that the miner fee for a specific swap is to high.
	AutoReason_AUTO_REASON_MINER_FEE AutoReason = 6
	// Prepay indicates that the prepay fee for a specific swap is too high.
	AutoReason_AUTO_REASON_PREPAY AutoReason = 7
	// Failure backoff indicates that a swap has recently failed for this target,
	// and the backoff period has not yet passed.
	AutoReason_AUTO_REASON_FAILURE_BACKOFF AutoReason = 8
	// Loop out indicates that a loop out swap is currently utilizing the channel,
	// so it is not eligible.
	AutoReason_AUTO_REASON_LOOP_OUT AutoReason = 9
	// Loop In indicates that a loop in swap is currently in flight for the peer,
	// so it is not eligible.
	AutoReason_AUTO_REASON_LOOP_IN AutoReason = 10
	// Liquidity ok indicates that a target meets the liquidity balance expressed
	// in its rule, so no swap is needed.
	AutoReason_AUTO_REASON_LIQUIDITY_OK AutoReason = 11
	// Budget insufficient indicates that we cannot perform a swap because we do
	// not have enough pending budget available. This differs from budget elapsed,
	// because we still have some budget available, but we have allocated it to
	// other swaps.
	AutoReason_AUTO_REASON_BUDGET_INSUFFICIENT AutoReason = 12
	// Fee insufficient indicates that the fee estimate for a swap is higher than
	// the portion of total swap amount that we allow fees to consume.
	AutoReason_AUTO_REASON_FEE_INSUFFICIENT AutoReason = 13
)

func (AutoReason) Descriptor

func (AutoReason) Descriptor() protoreflect.EnumDescriptor

func (AutoReason) Enum

func (x AutoReason) Enum() *AutoReason

func (AutoReason) EnumDescriptor deprecated

func (AutoReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutoReason.Descriptor instead.

func (AutoReason) Number

func (x AutoReason) Number() protoreflect.EnumNumber

func (AutoReason) String

func (x AutoReason) String() string

func (AutoReason) Type

type ClientReservation

type ClientReservation struct {

	// The reservation id that identifies this reservation.
	ReservationId []byte `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
	// The state the reservation is in.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The amount that the reservation is for.
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// The transaction id of the reservation.
	TxId string `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// The vout of the reservation.
	Vout uint32 `protobuf:"varint,5,opt,name=vout,proto3" json:"vout,omitempty"`
	// The expiry of the reservation.
	Expiry uint32 `protobuf:"varint,6,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientReservation) Descriptor deprecated

func (*ClientReservation) Descriptor() ([]byte, []int)

Deprecated: Use ClientReservation.ProtoReflect.Descriptor instead.

func (*ClientReservation) GetAmount

func (x *ClientReservation) GetAmount() uint64

func (*ClientReservation) GetExpiry

func (x *ClientReservation) GetExpiry() uint32

func (*ClientReservation) GetReservationId

func (x *ClientReservation) GetReservationId() []byte

func (*ClientReservation) GetState

func (x *ClientReservation) GetState() string

func (*ClientReservation) GetTxId

func (x *ClientReservation) GetTxId() string

func (*ClientReservation) GetVout

func (x *ClientReservation) GetVout() uint32

func (*ClientReservation) ProtoMessage

func (*ClientReservation) ProtoMessage()

func (*ClientReservation) ProtoReflect

func (x *ClientReservation) ProtoReflect() protoreflect.Message

func (*ClientReservation) Reset

func (x *ClientReservation) Reset()

func (*ClientReservation) String

func (x *ClientReservation) String() string

type DebugClient

type DebugClient interface {
	// ForceAutoLoop is intended for *testing purposes only* and will not work on
	// mainnet. This endpoint ticks our autoloop timer, triggering automated
	// dispatch of a swap if one is suggested.
	ForceAutoLoop(ctx context.Context, in *ForceAutoLoopRequest, opts ...grpc.CallOption) (*ForceAutoLoopResponse, error)
}

DebugClient is the client API for Debug service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDebugClient

func NewDebugClient(cc grpc.ClientConnInterface) DebugClient

type DebugServer

type DebugServer interface {
	// ForceAutoLoop is intended for *testing purposes only* and will not work on
	// mainnet. This endpoint ticks our autoloop timer, triggering automated
	// dispatch of a swap if one is suggested.
	ForceAutoLoop(context.Context, *ForceAutoLoopRequest) (*ForceAutoLoopResponse, error)
	// contains filtered or unexported methods
}

DebugServer is the server API for Debug service. All implementations must embed UnimplementedDebugServer for forward compatibility

type Deposit added in v1.0.2

type Deposit struct {

	// The identifier of the deposit.
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The state of the deposit.
	State DepositState `protobuf:"varint,2,opt,name=state,proto3,enum=looprpc.DepositState" json:"state,omitempty"`
	// The outpoint of the deposit in format txid:index.
	Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The value of the deposit in satoshis.
	Value int64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"`
	// The block height at which the deposit was confirmed.
	ConfirmationHeight int64 `protobuf:"varint,5,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,omitempty"`
	// The number of blocks that are left until the deposit cannot be used for a
	// loop-in swap anymore.
	BlocksUntilExpiry int64 `protobuf:"varint,6,opt,name=blocks_until_expiry,json=blocksUntilExpiry,proto3" json:"blocks_until_expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*Deposit) Descriptor deprecated added in v1.0.2

func (*Deposit) Descriptor() ([]byte, []int)

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetBlocksUntilExpiry added in v1.0.2

func (x *Deposit) GetBlocksUntilExpiry() int64

func (*Deposit) GetConfirmationHeight added in v1.0.2

func (x *Deposit) GetConfirmationHeight() int64

func (*Deposit) GetId added in v1.0.2

func (x *Deposit) GetId() []byte

func (*Deposit) GetOutpoint added in v1.0.2

func (x *Deposit) GetOutpoint() string

func (*Deposit) GetState added in v1.0.2

func (x *Deposit) GetState() DepositState

func (*Deposit) GetValue added in v1.0.2

func (x *Deposit) GetValue() int64

func (*Deposit) ProtoMessage added in v1.0.2

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect added in v1.0.2

func (x *Deposit) ProtoReflect() protoreflect.Message

func (*Deposit) Reset added in v1.0.2

func (x *Deposit) Reset()

func (*Deposit) String added in v1.0.2

func (x *Deposit) String() string

type DepositState added in v1.0.2

type DepositState int32
const (
	// UNKNOWN_STATE is the default state of a deposit.
	DepositState_UNKNOWN_STATE DepositState = 0
	// DEPOSITED indicates that the deposit has been sufficiently confirmed on
	// chain.
	DepositState_DEPOSITED DepositState = 1
	// WITHDRAWING indicates that the deposit is currently being withdrawn. It
	// flips to WITHDRAWN once the withdrawal transaction has been sufficiently
	// confirmed.
	DepositState_WITHDRAWING DepositState = 2
	// WITHDRAWN indicates that the deposit has been withdrawn.
	DepositState_WITHDRAWN DepositState = 3
	// LOOPING_IN indicates that the deposit is currently being used in a static
	// address loop-in swap.
	DepositState_LOOPING_IN DepositState = 4
	// LOOPED_IN indicates that the deposit was used in a static address loop-in
	// swap.
	DepositState_LOOPED_IN DepositState = 5
	// SWEEP_HTLC_TIMEOUT indicates that the deposit is part of an active loop-in
	// of which the respective htlc was published by the server and the timeout
	// path has opened up for the client to sweep.
	DepositState_SWEEP_HTLC_TIMEOUT DepositState = 6
	// HTLC_TIMEOUT_SWEPT indicates that the timeout path of the htlc has been
	// swept by the client.
	DepositState_HTLC_TIMEOUT_SWEPT DepositState = 7
	// PUBLISH_EXPIRED indicates that the deposit has expired and the sweep
	// transaction has been published.
	DepositState_PUBLISH_EXPIRED DepositState = 8
	// WAIT_FOR_EXPIRY_SWEEP indicates that the deposit has expired and the sweep
	// transaction has not yet been sufficiently confirmed.
	DepositState_WAIT_FOR_EXPIRY_SWEEP DepositState = 9
	// EXPIRED indicates that the deposit has expired and the sweep transaction
	// has been sufficiently confirmed.
	DepositState_EXPIRED DepositState = 10
)

func (DepositState) Descriptor added in v1.0.2

func (DepositState) Enum added in v1.0.2

func (x DepositState) Enum() *DepositState

func (DepositState) EnumDescriptor deprecated added in v1.0.2

func (DepositState) EnumDescriptor() ([]byte, []int)

Deprecated: Use DepositState.Descriptor instead.

func (DepositState) Number added in v1.0.2

func (DepositState) String added in v1.0.2

func (x DepositState) String() string

func (DepositState) Type added in v1.0.2

type Disqualified

type Disqualified struct {

	// The short channel ID of the channel that was excluded from our suggestions.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The public key of the peer that was excluded from our suggestions.
	Pubkey []byte `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The reason that we excluded the channel from the our suggestions.
	Reason AutoReason `protobuf:"varint,2,opt,name=reason,proto3,enum=looprpc.AutoReason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Disqualified) Descriptor deprecated

func (*Disqualified) Descriptor() ([]byte, []int)

Deprecated: Use Disqualified.ProtoReflect.Descriptor instead.

func (*Disqualified) GetChannelId

func (x *Disqualified) GetChannelId() uint64

func (*Disqualified) GetPubkey

func (x *Disqualified) GetPubkey() []byte

func (*Disqualified) GetReason

func (x *Disqualified) GetReason() AutoReason

func (*Disqualified) ProtoMessage

func (*Disqualified) ProtoMessage()

func (*Disqualified) ProtoReflect

func (x *Disqualified) ProtoReflect() protoreflect.Message

func (*Disqualified) Reset

func (x *Disqualified) Reset()

func (*Disqualified) String

func (x *Disqualified) String() string

type EasyAssetAutoloopParams added in v1.0.4

type EasyAssetAutoloopParams struct {

	// Set to true to enable easy autoloop for this asset. If set the client will
	// automatically dispatch swaps in order to meet the configured local balance
	// target size. Currently only loop out is supported, meaning that easy
	// autoloop can only reduce the funds that are held as balance in channels.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The local balance target size, expressed in the asset's base units. This is
	// used by easy autoloop to determine how much liquidity should be maintained
	// in channels.
	LocalTargetAssetAmt uint64 `protobuf:"varint,2,opt,name=local_target_asset_amt,json=localTargetAssetAmt,proto3" json:"local_target_asset_amt,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyAssetAutoloopParams) Descriptor deprecated added in v1.0.4

func (*EasyAssetAutoloopParams) Descriptor() ([]byte, []int)

Deprecated: Use EasyAssetAutoloopParams.ProtoReflect.Descriptor instead.

func (*EasyAssetAutoloopParams) GetEnabled added in v1.0.4

func (x *EasyAssetAutoloopParams) GetEnabled() bool

func (*EasyAssetAutoloopParams) GetLocalTargetAssetAmt added in v1.0.4

func (x *EasyAssetAutoloopParams) GetLocalTargetAssetAmt() uint64

func (*EasyAssetAutoloopParams) ProtoMessage added in v1.0.4

func (*EasyAssetAutoloopParams) ProtoMessage()

func (*EasyAssetAutoloopParams) ProtoReflect added in v1.0.4

func (x *EasyAssetAutoloopParams) ProtoReflect() protoreflect.Message

func (*EasyAssetAutoloopParams) Reset added in v1.0.4

func (x *EasyAssetAutoloopParams) Reset()

func (*EasyAssetAutoloopParams) String added in v1.0.4

func (x *EasyAssetAutoloopParams) String() string

type FailureReason

type FailureReason int32
const (
	// FAILURE_REASON_NONE is set when the swap did not fail, it is either in
	// progress or succeeded.
	FailureReason_FAILURE_REASON_NONE FailureReason = 0
	// FAILURE_REASON_OFFCHAIN indicates that a loop out failed because it wasn't
	// possible to find a route for one or both off chain payments that met the fee
	// and timelock limits required.
	FailureReason_FAILURE_REASON_OFFCHAIN FailureReason = 1
	// FAILURE_REASON_TIMEOUT indicates that the swap failed because on chain htlc
	// did not confirm before its expiry, or it confirmed too late for us to reveal
	// our preimage and claim.
	FailureReason_FAILURE_REASON_TIMEOUT FailureReason = 2
	// FAILURE_REASON_SWEEP_TIMEOUT indicates that a loop out permanently failed
	// because the on chain htlc wasn't swept before the server revoked the
	// htlc.
	FailureReason_FAILURE_REASON_SWEEP_TIMEOUT FailureReason = 3
	// FAILURE_REASON_INSUFFICIENT_VALUE indicates that a loop out has failed
	// because the on chain htlc had a lower value than requested.
	FailureReason_FAILURE_REASON_INSUFFICIENT_VALUE FailureReason = 4
	// FAILURE_REASON_TEMPORARY indicates that a swap cannot continue due to an
	// internal error. Manual intervention such as a restart is required.
	FailureReason_FAILURE_REASON_TEMPORARY FailureReason = 5
	// FAILURE_REASON_INCORRECT_AMOUNT indicates that a loop in permanently failed
	// because the amount extended by an external loop in htlc is insufficient.
	FailureReason_FAILURE_REASON_INCORRECT_AMOUNT FailureReason = 6
	// FAILURE_REASON_ABANDONED indicates that a swap permanently failed because
	// the client manually abandoned the swap.
	FailureReason_FAILURE_REASON_ABANDONED FailureReason = 7
	// FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE indicates that a swap
	// wasn't published due to insufficient confirmed balance.
	FailureReason_FAILURE_REASON_INSUFFICIENT_CONFIRMED_BALANCE FailureReason = 8
	// FAILURE_REASON_INCORRECT_HTLC_AMT_SWEPT indicates that a swap
	// wasn't published due to insufficient confirmed balance.
	FailureReason_FAILURE_REASON_INCORRECT_HTLC_AMT_SWEPT FailureReason = 9
)

func (FailureReason) Descriptor

func (FailureReason) Enum

func (x FailureReason) Enum() *FailureReason

func (FailureReason) EnumDescriptor deprecated

func (FailureReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use FailureReason.Descriptor instead.

func (FailureReason) Number

func (FailureReason) String

func (x FailureReason) String() string

func (FailureReason) Type

type FetchL402TokenRequest added in v1.0.1

type FetchL402TokenRequest struct {
	// contains filtered or unexported fields
}

func (*FetchL402TokenRequest) Descriptor deprecated added in v1.0.1

func (*FetchL402TokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchL402TokenRequest.ProtoReflect.Descriptor instead.

func (*FetchL402TokenRequest) ProtoMessage added in v1.0.1

func (*FetchL402TokenRequest) ProtoMessage()

func (*FetchL402TokenRequest) ProtoReflect added in v1.0.1

func (x *FetchL402TokenRequest) ProtoReflect() protoreflect.Message

func (*FetchL402TokenRequest) Reset added in v1.0.1

func (x *FetchL402TokenRequest) Reset()

func (*FetchL402TokenRequest) String added in v1.0.1

func (x *FetchL402TokenRequest) String() string

type FetchL402TokenResponse added in v1.0.1

type FetchL402TokenResponse struct {
	// contains filtered or unexported fields
}

func (*FetchL402TokenResponse) Descriptor deprecated added in v1.0.1

func (*FetchL402TokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchL402TokenResponse.ProtoReflect.Descriptor instead.

func (*FetchL402TokenResponse) ProtoMessage added in v1.0.1

func (*FetchL402TokenResponse) ProtoMessage()

func (*FetchL402TokenResponse) ProtoReflect added in v1.0.1

func (x *FetchL402TokenResponse) ProtoReflect() protoreflect.Message

func (*FetchL402TokenResponse) Reset added in v1.0.1

func (x *FetchL402TokenResponse) Reset()

func (*FetchL402TokenResponse) String added in v1.0.1

func (x *FetchL402TokenResponse) String() string

type FixedPoint added in v1.0.4

type FixedPoint struct {

	// The coefficient is the fractional value scaled-up as an integer. This
	// integer is represented as a string as it may be too large to fit in a
	// uint64.
	Coefficient string `protobuf:"bytes,1,opt,name=coefficient,proto3" json:"coefficient,omitempty"`
	// The scale is the component that determines how many decimal places
	// the coefficient should be divided by to obtain the fractional value.
	Scale uint32 `protobuf:"varint,2,opt,name=scale,proto3" json:"scale,omitempty"`
	// contains filtered or unexported fields
}

FixedPoint is a scaled integer representation of a fractional number.

This type consists of two integer fields: a coefficient and a scale. Using this format enables precise and consistent representation of fractional numbers while avoiding floating-point data types, which are prone to precision errors.

The relationship between the fractional representation and its fixed-point representation is expressed as: ``` V = F_c / (10^F_s) ``` where:

* `V` is the fractional value.

  • `F_c` is the coefficient component of the fixed-point representation. It is the scaled-up fractional value represented as an integer.

  • `F_s` is the scale component. It is an integer specifying how many decimal places `F_c` should be divided by to obtain the fractional representation.

func (*FixedPoint) Descriptor deprecated added in v1.0.4

func (*FixedPoint) Descriptor() ([]byte, []int)

Deprecated: Use FixedPoint.ProtoReflect.Descriptor instead.

func (*FixedPoint) GetCoefficient added in v1.0.4

func (x *FixedPoint) GetCoefficient() string

func (*FixedPoint) GetScale added in v1.0.4

func (x *FixedPoint) GetScale() uint32

func (*FixedPoint) ProtoMessage added in v1.0.4

func (*FixedPoint) ProtoMessage()

func (*FixedPoint) ProtoReflect added in v1.0.4

func (x *FixedPoint) ProtoReflect() protoreflect.Message

func (*FixedPoint) Reset added in v1.0.4

func (x *FixedPoint) Reset()

func (*FixedPoint) String added in v1.0.4

func (x *FixedPoint) String() string

type ForceAutoLoopRequest

type ForceAutoLoopRequest struct {
	// contains filtered or unexported fields
}

func (*ForceAutoLoopRequest) Descriptor deprecated

func (*ForceAutoLoopRequest) Descriptor() ([]byte, []int)

Deprecated: Use ForceAutoLoopRequest.ProtoReflect.Descriptor instead.

func (*ForceAutoLoopRequest) ProtoMessage

func (*ForceAutoLoopRequest) ProtoMessage()

func (*ForceAutoLoopRequest) ProtoReflect

func (x *ForceAutoLoopRequest) ProtoReflect() protoreflect.Message

func (*ForceAutoLoopRequest) Reset

func (x *ForceAutoLoopRequest) Reset()

func (*ForceAutoLoopRequest) String

func (x *ForceAutoLoopRequest) String() string

type ForceAutoLoopResponse

type ForceAutoLoopResponse struct {
	// contains filtered or unexported fields
}

func (*ForceAutoLoopResponse) Descriptor deprecated

func (*ForceAutoLoopResponse) Descriptor() ([]byte, []int)

Deprecated: Use ForceAutoLoopResponse.ProtoReflect.Descriptor instead.

func (*ForceAutoLoopResponse) ProtoMessage

func (*ForceAutoLoopResponse) ProtoMessage()

func (*ForceAutoLoopResponse) ProtoReflect

func (x *ForceAutoLoopResponse) ProtoReflect() protoreflect.Message

func (*ForceAutoLoopResponse) Reset

func (x *ForceAutoLoopResponse) Reset()

func (*ForceAutoLoopResponse) String

func (x *ForceAutoLoopResponse) String() string

type GetInfoRequest

type GetInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetInfoRequest) Descriptor deprecated

func (*GetInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect

func (x *GetInfoRequest) ProtoReflect() protoreflect.Message

func (*GetInfoRequest) Reset

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (x *GetInfoRequest) String() string

type GetInfoResponse

type GetInfoResponse struct {

	// The current daemon version.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The network the daemon is running on.
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// Host and port of the loopd grpc server.
	RpcListen string `protobuf:"bytes,3,opt,name=rpc_listen,json=rpcListen,proto3" json:"rpc_listen,omitempty"`
	// Host and port of the loopd rest server.
	RestListen string `protobuf:"bytes,4,opt,name=rest_listen,json=restListen,proto3" json:"rest_listen,omitempty"`
	// Loop's macaroon path that clients use to talk to the daemon.
	MacaroonPath string `protobuf:"bytes,5,opt,name=macaroon_path,json=macaroonPath,proto3" json:"macaroon_path,omitempty"`
	// Loop's tls cert path
	TlsCertPath string `protobuf:"bytes,6,opt,name=tls_cert_path,json=tlsCertPath,proto3" json:"tls_cert_path,omitempty"`
	// Statistics about loop outs.
	LoopOutStats *LoopStats `protobuf:"bytes,7,opt,name=loop_out_stats,json=loopOutStats,proto3" json:"loop_out_stats,omitempty"`
	// Statistics about loop ins.
	LoopInStats *LoopStats `protobuf:"bytes,8,opt,name=loop_in_stats,json=loopInStats,proto3" json:"loop_in_stats,omitempty"`
	// The git commit hash of the loopd binary.
	CommitHash string `protobuf:"bytes,9,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoResponse) Descriptor deprecated

func (*GetInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetInfoResponse) GetCommitHash added in v1.0.5

func (x *GetInfoResponse) GetCommitHash() string

func (*GetInfoResponse) GetLoopInStats

func (x *GetInfoResponse) GetLoopInStats() *LoopStats

func (*GetInfoResponse) GetLoopOutStats

func (x *GetInfoResponse) GetLoopOutStats() *LoopStats

func (*GetInfoResponse) GetMacaroonPath

func (x *GetInfoResponse) GetMacaroonPath() string

func (*GetInfoResponse) GetNetwork

func (x *GetInfoResponse) GetNetwork() string

func (*GetInfoResponse) GetRestListen

func (x *GetInfoResponse) GetRestListen() string

func (*GetInfoResponse) GetRpcListen

func (x *GetInfoResponse) GetRpcListen() string

func (*GetInfoResponse) GetTlsCertPath

func (x *GetInfoResponse) GetTlsCertPath() string

func (*GetInfoResponse) GetVersion

func (x *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) ProtoReflect

func (x *GetInfoResponse) ProtoReflect() protoreflect.Message

func (*GetInfoResponse) Reset

func (x *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (x *GetInfoResponse) String() string

type GetLiquidityParamsRequest

type GetLiquidityParamsRequest struct {
	// contains filtered or unexported fields
}

func (*GetLiquidityParamsRequest) Descriptor deprecated

func (*GetLiquidityParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLiquidityParamsRequest.ProtoReflect.Descriptor instead.

func (*GetLiquidityParamsRequest) ProtoMessage

func (*GetLiquidityParamsRequest) ProtoMessage()

func (*GetLiquidityParamsRequest) ProtoReflect

func (*GetLiquidityParamsRequest) Reset

func (x *GetLiquidityParamsRequest) Reset()

func (*GetLiquidityParamsRequest) String

func (x *GetLiquidityParamsRequest) String() string

type InQuoteResponse

type InQuoteResponse struct {

	// The fee that the swap server is charging for the swap.
	SwapFeeSat int64 `protobuf:"varint,1,opt,name=swap_fee_sat,json=swapFeeSat,proto3" json:"swap_fee_sat,omitempty"`
	// An estimate of the on-chain fee that needs to be paid to publish the HTLC
	// If a miner fee of 0 is returned, it means the external_htlc flag was set for
	// a loop in and the fee estimation was skipped. If a miner fee of -1 is
	// returned, it means lnd's wallet tried to estimate the fee but was unable to
	// create a sample estimation transaction because not enough funds are
	// available. An information message should be shown to the user in this case.
	HtlcPublishFeeSat int64 `protobuf:"varint,3,opt,name=htlc_publish_fee_sat,json=htlcPublishFeeSat,proto3" json:"htlc_publish_fee_sat,omitempty"`
	// On-chain cltv expiry delta
	CltvDelta int32 `protobuf:"varint,5,opt,name=cltv_delta,json=cltvDelta,proto3" json:"cltv_delta,omitempty"`
	// The confirmation target to be used to publish the on-chain HTLC.
	ConfTarget int32 `protobuf:"varint,6,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
	// contains filtered or unexported fields
}

func (*InQuoteResponse) Descriptor deprecated

func (*InQuoteResponse) Descriptor() ([]byte, []int)

Deprecated: Use InQuoteResponse.ProtoReflect.Descriptor instead.

func (*InQuoteResponse) GetCltvDelta

func (x *InQuoteResponse) GetCltvDelta() int32

func (*InQuoteResponse) GetConfTarget

func (x *InQuoteResponse) GetConfTarget() int32

func (*InQuoteResponse) GetHtlcPublishFeeSat

func (x *InQuoteResponse) GetHtlcPublishFeeSat() int64

func (*InQuoteResponse) GetSwapFeeSat

func (x *InQuoteResponse) GetSwapFeeSat() int64

func (*InQuoteResponse) ProtoMessage

func (*InQuoteResponse) ProtoMessage()

func (*InQuoteResponse) ProtoReflect

func (x *InQuoteResponse) ProtoReflect() protoreflect.Message

func (*InQuoteResponse) Reset

func (x *InQuoteResponse) Reset()

func (*InQuoteResponse) String

func (x *InQuoteResponse) String() string

type InTermsResponse

type InTermsResponse struct {

	// Minimum swap amount (sat)
	MinSwapAmount int64 `protobuf:"varint,5,opt,name=min_swap_amount,json=minSwapAmount,proto3" json:"min_swap_amount,omitempty"`
	// Maximum swap amount (sat)
	MaxSwapAmount int64 `protobuf:"varint,6,opt,name=max_swap_amount,json=maxSwapAmount,proto3" json:"max_swap_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*InTermsResponse) Descriptor deprecated

func (*InTermsResponse) Descriptor() ([]byte, []int)

Deprecated: Use InTermsResponse.ProtoReflect.Descriptor instead.

func (*InTermsResponse) GetMaxSwapAmount

func (x *InTermsResponse) GetMaxSwapAmount() int64

func (*InTermsResponse) GetMinSwapAmount

func (x *InTermsResponse) GetMinSwapAmount() int64

func (*InTermsResponse) ProtoMessage

func (*InTermsResponse) ProtoMessage()

func (*InTermsResponse) ProtoReflect

func (x *InTermsResponse) ProtoReflect() protoreflect.Message

func (*InTermsResponse) Reset

func (x *InTermsResponse) Reset()

func (*InTermsResponse) String

func (x *InTermsResponse) String() string

type InstantOut

type InstantOut struct {

	// The swap hash that identifies this swap.
	SwapHash []byte `protobuf:"bytes,1,opt,name=swap_hash,json=swapHash,proto3" json:"swap_hash,omitempty"`
	// The state the swap is in.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The amount of the swap.
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// The used reservations for the swap.
	ReservationIds [][]byte `protobuf:"bytes,4,rep,name=reservation_ids,json=reservationIds,proto3" json:"reservation_ids,omitempty"`
	// The sweep transaction id of the swap.
	SweepTxId string `protobuf:"bytes,5,opt,name=sweep_tx_id,json=sweepTxId,proto3" json:"sweep_tx_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InstantOut) Descriptor deprecated

func (*InstantOut) Descriptor() ([]byte, []int)

Deprecated: Use InstantOut.ProtoReflect.Descriptor instead.

func (*InstantOut) GetAmount

func (x *InstantOut) GetAmount() uint64

func (*InstantOut) GetReservationIds

func (x *InstantOut) GetReservationIds() [][]byte

func (*InstantOut) GetState

func (x *InstantOut) GetState() string

func (*InstantOut) GetSwapHash

func (x *InstantOut) GetSwapHash() []byte

func (*InstantOut) GetSweepTxId

func (x *InstantOut) GetSweepTxId() string

func (*InstantOut) ProtoMessage

func (*InstantOut) ProtoMessage()

func (*InstantOut) ProtoReflect

func (x *InstantOut) ProtoReflect() protoreflect.Message

func (*InstantOut) Reset

func (x *InstantOut) Reset()

func (*InstantOut) String

func (x *InstantOut) String() string

type InstantOutQuoteRequest

type InstantOutQuoteRequest struct {

	// The amount to swap in satoshis.
	Amt uint64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// The amount of reservations to use for the swap.
	NumReservations int32 `protobuf:"varint,2,opt,name=num_reservations,json=numReservations,proto3" json:"num_reservations,omitempty"`
	// contains filtered or unexported fields
}

func (*InstantOutQuoteRequest) Descriptor deprecated

func (*InstantOutQuoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use InstantOutQuoteRequest.ProtoReflect.Descriptor instead.

func (*InstantOutQuoteRequest) GetAmt

func (x *InstantOutQuoteRequest) GetAmt() uint64

func (*InstantOutQuoteRequest) GetNumReservations

func (x *InstantOutQuoteRequest) GetNumReservations() int32

func (*InstantOutQuoteRequest) ProtoMessage

func (*InstantOutQuoteRequest) ProtoMessage()

func (*InstantOutQuoteRequest) ProtoReflect

func (x *InstantOutQuoteRequest) ProtoReflect() protoreflect.Message

func (*InstantOutQuoteRequest) Reset

func (x *InstantOutQuoteRequest) Reset()

func (*InstantOutQuoteRequest) String

func (x *InstantOutQuoteRequest) String() string

type InstantOutQuoteResponse

type InstantOutQuoteResponse struct {

	// The fee that the swap service is charging for the swap.
	ServiceFeeSat int64 `protobuf:"varint,1,opt,name=service_fee_sat,json=serviceFeeSat,proto3" json:"service_fee_sat,omitempty"`
	// The estimated on-chain fee that needs to be paid to publish the Sweepless
	// Sweep.
	SweepFeeSat int64 `protobuf:"varint,2,opt,name=sweep_fee_sat,json=sweepFeeSat,proto3" json:"sweep_fee_sat,omitempty"`
	// contains filtered or unexported fields
}

func (*InstantOutQuoteResponse) Descriptor deprecated

func (*InstantOutQuoteResponse) Descriptor() ([]byte, []int)

Deprecated: Use InstantOutQuoteResponse.ProtoReflect.Descriptor instead.

func (*InstantOutQuoteResponse) GetServiceFeeSat

func (x *InstantOutQuoteResponse) GetServiceFeeSat() int64

func (*InstantOutQuoteResponse) GetSweepFeeSat

func (x *InstantOutQuoteResponse) GetSweepFeeSat() int64

func (*InstantOutQuoteResponse) ProtoMessage

func (*InstantOutQuoteResponse) ProtoMessage()

func (*InstantOutQuoteResponse) ProtoReflect

func (x *InstantOutQuoteResponse) ProtoReflect() protoreflect.Message

func (*InstantOutQuoteResponse) Reset

func (x *InstantOutQuoteResponse) Reset()

func (*InstantOutQuoteResponse) String

func (x *InstantOutQuoteResponse) String() string

type InstantOutRequest

type InstantOutRequest struct {

	// The reservations to use for the swap.
	ReservationIds [][]byte `protobuf:"bytes,1,rep,name=reservation_ids,json=reservationIds,proto3" json:"reservation_ids,omitempty"`
	// A restriction on the channel set that may be used to loop out. The actual
	// channel(s) that will be used are selected based on the lowest routing fee
	// for the swap payment to the server.
	OutgoingChanSet []uint64 `protobuf:"varint,2,rep,packed,name=outgoing_chan_set,json=outgoingChanSet,proto3" json:"outgoing_chan_set,omitempty"`
	// An optional address to sweep the onchain funds to. If not set, the funds
	// will be swept to the wallet's internal address.
	DestAddr string `protobuf:"bytes,3,opt,name=dest_addr,json=destAddr,proto3" json:"dest_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*InstantOutRequest) Descriptor deprecated

func (*InstantOutRequest) Descriptor() ([]byte, []int)

Deprecated: Use InstantOutRequest.ProtoReflect.Descriptor instead.

func (*InstantOutRequest) GetDestAddr

func (x *InstantOutRequest) GetDestAddr() string

func (*InstantOutRequest) GetOutgoingChanSet

func (x *InstantOutRequest) GetOutgoingChanSet() []uint64

func (*InstantOutRequest) GetReservationIds

func (x *InstantOutRequest) GetReservationIds() [][]byte

func (*InstantOutRequest) ProtoMessage

func (*InstantOutRequest) ProtoMessage()

func (*InstantOutRequest) ProtoReflect

func (x *InstantOutRequest) ProtoReflect() protoreflect.Message

func (*InstantOutRequest) Reset

func (x *InstantOutRequest) Reset()

func (*InstantOutRequest) String

func (x *InstantOutRequest) String() string

type InstantOutResponse

type InstantOutResponse struct {

	// The hash of the swap preimage.
	InstantOutHash []byte `protobuf:"bytes,1,opt,name=instant_out_hash,json=instantOutHash,proto3" json:"instant_out_hash,omitempty"`
	// The transaction id of the sweep transaction.
	SweepTxId string `protobuf:"bytes,2,opt,name=sweep_tx_id,json=sweepTxId,proto3" json:"sweep_tx_id,omitempty"`
	// The state of the swap.
	State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*InstantOutResponse) Descriptor deprecated

func (*InstantOutResponse) Descriptor() ([]byte, []int)

Deprecated: Use InstantOutResponse.ProtoReflect.Descriptor instead.

func (*InstantOutResponse) GetInstantOutHash

func (x *InstantOutResponse) GetInstantOutHash() []byte

func (*InstantOutResponse) GetState

func (x *InstantOutResponse) GetState() string

func (*InstantOutResponse) GetSweepTxId

func (x *InstantOutResponse) GetSweepTxId() string

func (*InstantOutResponse) ProtoMessage

func (*InstantOutResponse) ProtoMessage()

func (*InstantOutResponse) ProtoReflect

func (x *InstantOutResponse) ProtoReflect() protoreflect.Message

func (*InstantOutResponse) Reset

func (x *InstantOutResponse) Reset()

func (*InstantOutResponse) String

func (x *InstantOutResponse) String() string

type L402Token

type L402Token struct {

	// The base macaroon that was baked by the auth server.
	BaseMacaroon []byte `protobuf:"bytes,1,opt,name=base_macaroon,json=baseMacaroon,proto3" json:"base_macaroon,omitempty"`
	// The payment hash of the payment that was paid to obtain the token.
	PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	// The preimage of the payment hash, knowledge of this is proof that the
	// payment has been paid. If the preimage is set to all zeros, this means the
	// payment is still pending and the token is not yet fully valid.
	PaymentPreimage []byte `protobuf:"bytes,3,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	// The amount of millisatoshis that was paid to get the token.
	AmountPaidMsat int64 `protobuf:"varint,4,opt,name=amount_paid_msat,json=amountPaidMsat,proto3" json:"amount_paid_msat,omitempty"`
	// The amount of millisatoshis paid in routing fee to pay for the token.
	RoutingFeePaidMsat int64 `protobuf:"varint,5,opt,name=routing_fee_paid_msat,json=routingFeePaidMsat,proto3" json:"routing_fee_paid_msat,omitempty"`
	// The creation time of the token as UNIX timestamp in seconds.
	TimeCreated int64 `protobuf:"varint,6,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// Indicates whether the token is expired or still valid.
	Expired bool `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
	// Identifying attribute of this token in the store. Currently represents the
	// file name of the token where it's stored on the file system.
	StorageName string `protobuf:"bytes,8,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	// The l402 ID of the token.
	Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*L402Token) Descriptor deprecated

func (*L402Token) Descriptor() ([]byte, []int)

Deprecated: Use L402Token.ProtoReflect.Descriptor instead.

func (*L402Token) GetAmountPaidMsat

func (x *L402Token) GetAmountPaidMsat() int64

func (*L402Token) GetBaseMacaroon

func (x *L402Token) GetBaseMacaroon() []byte

func (*L402Token) GetExpired

func (x *L402Token) GetExpired() bool

func (*L402Token) GetId

func (x *L402Token) GetId() string

func (*L402Token) GetPaymentHash

func (x *L402Token) GetPaymentHash() []byte

func (*L402Token) GetPaymentPreimage

func (x *L402Token) GetPaymentPreimage() []byte

func (*L402Token) GetRoutingFeePaidMsat

func (x *L402Token) GetRoutingFeePaidMsat() int64

func (*L402Token) GetStorageName

func (x *L402Token) GetStorageName() string

func (*L402Token) GetTimeCreated

func (x *L402Token) GetTimeCreated() int64

func (*L402Token) ProtoMessage

func (*L402Token) ProtoMessage()

func (*L402Token) ProtoReflect

func (x *L402Token) ProtoReflect() protoreflect.Message

func (*L402Token) Reset

func (x *L402Token) Reset()

func (*L402Token) String

func (x *L402Token) String() string

type LiquidityParameters

type LiquidityParameters struct {

	// A set of liquidity rules that describe the desired liquidity balance.
	Rules []*LiquidityRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// The parts per million of swap amount that is allowed to be allocated to swap
	// fees. This value is applied across swap categories and may not be set in
	// conjunction with sweep fee rate, swap fee ppm, routing fee ppm, prepay
	// routing, max prepay and max miner fee.
	FeePpm uint64 `protobuf:"varint,16,opt,name=fee_ppm,json=feePpm,proto3" json:"fee_ppm,omitempty"`
	// The limit we place on our estimated sweep cost for a swap in sat/vByte. If
	// the estimated fee for our sweep transaction within the specified
	// confirmation target is above this value, we will not suggest any swaps.
	SweepFeeRateSatPerVbyte uint64 `` /* 139-byte string literal not displayed */
	// The maximum fee paid to the server for facilitating the swap, expressed
	// as parts per million of the swap volume.
	MaxSwapFeePpm uint64 `protobuf:"varint,3,opt,name=max_swap_fee_ppm,json=maxSwapFeePpm,proto3" json:"max_swap_fee_ppm,omitempty"`
	// The maximum fee paid to route the swap invoice off chain, expressed as
	// parts per million of the volume being routed.
	MaxRoutingFeePpm uint64 `protobuf:"varint,4,opt,name=max_routing_fee_ppm,json=maxRoutingFeePpm,proto3" json:"max_routing_fee_ppm,omitempty"`
	// The maximum fee paid to route the prepay invoice off chain, expressed as
	// parts per million of the volume being routed.
	MaxPrepayRoutingFeePpm uint64 `` /* 134-byte string literal not displayed */
	// The maximum no-show penalty in satoshis paid for a swap.
	MaxPrepaySat uint64 `protobuf:"varint,6,opt,name=max_prepay_sat,json=maxPrepaySat,proto3" json:"max_prepay_sat,omitempty"`
	// The maximum miner fee we will pay to sweep the swap on chain. Note that we
	// will not suggest a swap if the estimate is above the sweep limit set by
	// these parameters, and we use the current fee estimate to sweep on chain so
	// this value is only a cap placed on the amount we spend on fees in the case
	// where the swap needs to be claimed on chain, but fees have suddenly spiked.
	MaxMinerFeeSat uint64 `protobuf:"varint,7,opt,name=max_miner_fee_sat,json=maxMinerFeeSat,proto3" json:"max_miner_fee_sat,omitempty"`
	// The number of blocks from the on-chain HTLC's confirmation height that it
	// should be swept within.
	SweepConfTarget int32 `protobuf:"varint,8,opt,name=sweep_conf_target,json=sweepConfTarget,proto3" json:"sweep_conf_target,omitempty"`
	// The amount of time we require pass since a channel was part of a failed
	// swap due to off chain payment failure until it will be considered for swap
	// suggestions again, expressed in seconds.
	FailureBackoffSec uint64 `protobuf:"varint,9,opt,name=failure_backoff_sec,json=failureBackoffSec,proto3" json:"failure_backoff_sec,omitempty"`
	// Set to true to enable automatic dispatch of swaps. All swaps will be limited
	// to the fee categories set by these parameters, and total expenditure will
	// be limited to the autoloop budget.
	Autoloop bool `protobuf:"varint,10,opt,name=autoloop,proto3" json:"autoloop,omitempty"`
	// The total budget for automatically dispatched swaps since the budget start
	// time, expressed in satoshis.
	AutoloopBudgetSat uint64 `protobuf:"varint,11,opt,name=autoloop_budget_sat,json=autoloopBudgetSat,proto3" json:"autoloop_budget_sat,omitempty"`
	// Deprecated, use autoloop_budget_refresh_period_sec. The start time for
	// autoloop budget, expressed as a unix timestamp in seconds. If this value is
	// 0, the budget will be applied for all automatically dispatched swaps. Swaps
	// that were completed before this date will not be included in budget
	// calculations.
	//
	// Deprecated: Marked as deprecated in client.proto.
	AutoloopBudgetStartSec uint64 `` /* 133-byte string literal not displayed */
	// The maximum number of automatically dispatched swaps that we allow to be in
	// flight at any point in time.
	AutoMaxInFlight uint64 `protobuf:"varint,13,opt,name=auto_max_in_flight,json=autoMaxInFlight,proto3" json:"auto_max_in_flight,omitempty"`
	// The minimum amount, expressed in satoshis, that the autoloop client will
	// dispatch a swap for. This value is subject to the server-side limits
	// specified by the LoopOutTerms endpoint.
	MinSwapAmount uint64 `protobuf:"varint,14,opt,name=min_swap_amount,json=minSwapAmount,proto3" json:"min_swap_amount,omitempty"`
	// The maximum amount, expressed in satoshis, that the autoloop client will
	// dispatch a swap for. This value is subject to the server-side limits
	// specified by the LoopOutTerms endpoint.
	MaxSwapAmount uint64 `protobuf:"varint,15,opt,name=max_swap_amount,json=maxSwapAmount,proto3" json:"max_swap_amount,omitempty"`
	// The confirmation target for loop in on-chain htlcs.
	HtlcConfTarget int32 `protobuf:"varint,17,opt,name=htlc_conf_target,json=htlcConfTarget,proto3" json:"htlc_conf_target,omitempty"`
	// The destination address to use for autoloop loop outs. Set to "default" in
	// order to revert to default behavior.
	AutoloopDestAddress string `protobuf:"bytes,18,opt,name=autoloop_dest_address,json=autoloopDestAddress,proto3" json:"autoloop_dest_address,omitempty"`
	// The period over which the autoloop budget is refreshed, expressed in
	// seconds.
	AutoloopBudgetRefreshPeriodSec uint64 `` /* 159-byte string literal not displayed */
	// The time at which the autoloop budget was last refreshed, expressed as a
	// UNIX timestamp in seconds.
	AutoloopBudgetLastRefresh uint64 `` /* 142-byte string literal not displayed */
	// Set to true to enable easy autoloop. If set, all channel/peer rules will be
	// overridden and the client will automatically dispatch swaps in order to meet
	// the configured local balance target size. Currently only loop out is
	// supported, meaning that easy autoloop can only reduce the funds that are
	// held as balance in channels.
	EasyAutoloop bool `protobuf:"varint,21,opt,name=easy_autoloop,json=easyAutoloop,proto3" json:"easy_autoloop,omitempty"`
	// The local balance target size, expressed in satoshis. This is used by easy
	// autoloop to determine how much liquidity should be maintained in channels.
	EasyAutoloopLocalTargetSat uint64 `` /* 147-byte string literal not displayed */
	// An alternative destination address source for the swap. This field
	// represents the name of the account in the backing lnd instance.
	// Refer to lnd's wallet import functions for reference.
	Account string `protobuf:"bytes,23,opt,name=account,proto3" json:"account,omitempty"`
	// The address type of the account specified in the account field.
	AccountAddrType AddressType `` /* 135-byte string literal not displayed */
	// A map of asset parameters to use for swaps. The key is the asset id and the
	// value is the parameters to use for swaps in that asset.
	EasyAssetParams map[string]*EasyAssetAutoloopParams `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LiquidityParameters) Descriptor deprecated

func (*LiquidityParameters) Descriptor() ([]byte, []int)

Deprecated: Use LiquidityParameters.ProtoReflect.Descriptor instead.

func (*LiquidityParameters) GetAccount

func (x *LiquidityParameters) GetAccount() string

func (*LiquidityParameters) GetAccountAddrType

func (x *LiquidityParameters) GetAccountAddrType() AddressType

func (*LiquidityParameters) GetAutoMaxInFlight

func (x *LiquidityParameters) GetAutoMaxInFlight() uint64

func (*LiquidityParameters) GetAutoloop

func (x *LiquidityParameters) GetAutoloop() bool

func (*LiquidityParameters) GetAutoloopBudgetLastRefresh

func (x *LiquidityParameters) GetAutoloopBudgetLastRefresh() uint64

func (*LiquidityParameters) GetAutoloopBudgetRefreshPeriodSec

func (x *LiquidityParameters) GetAutoloopBudgetRefreshPeriodSec() uint64

func (*LiquidityParameters) GetAutoloopBudgetSat

func (x *LiquidityParameters) GetAutoloopBudgetSat() uint64

func (*LiquidityParameters) GetAutoloopBudgetStartSec deprecated

func (x *LiquidityParameters) GetAutoloopBudgetStartSec() uint64

Deprecated: Marked as deprecated in client.proto.

func (*LiquidityParameters) GetAutoloopDestAddress

func (x *LiquidityParameters) GetAutoloopDestAddress() string

func (*LiquidityParameters) GetEasyAssetParams added in v1.0.4

func (x *LiquidityParameters) GetEasyAssetParams() map[string]*EasyAssetAutoloopParams

func (*LiquidityParameters) GetEasyAutoloop

func (x *LiquidityParameters) GetEasyAutoloop() bool

func (*LiquidityParameters) GetEasyAutoloopLocalTargetSat

func (x *LiquidityParameters) GetEasyAutoloopLocalTargetSat() uint64

func (*LiquidityParameters) GetFailureBackoffSec

func (x *LiquidityParameters) GetFailureBackoffSec() uint64

func (*LiquidityParameters) GetFeePpm

func (x *LiquidityParameters) GetFeePpm() uint64

func (*LiquidityParameters) GetHtlcConfTarget

func (x *LiquidityParameters) GetHtlcConfTarget() int32

func (*LiquidityParameters) GetMaxMinerFeeSat

func (x *LiquidityParameters) GetMaxMinerFeeSat() uint64

func (*LiquidityParameters) GetMaxPrepayRoutingFeePpm

func (x *LiquidityParameters) GetMaxPrepayRoutingFeePpm() uint64

func (*LiquidityParameters) GetMaxPrepaySat

func (x *LiquidityParameters) GetMaxPrepaySat() uint64

func (*LiquidityParameters) GetMaxRoutingFeePpm

func (x *LiquidityParameters) GetMaxRoutingFeePpm() uint64

func (*LiquidityParameters) GetMaxSwapAmount

func (x *LiquidityParameters) GetMaxSwapAmount() uint64

func (*LiquidityParameters) GetMaxSwapFeePpm

func (x *LiquidityParameters) GetMaxSwapFeePpm() uint64

func (*LiquidityParameters) GetMinSwapAmount

func (x *LiquidityParameters) GetMinSwapAmount() uint64

func (*LiquidityParameters) GetRules

func (x *LiquidityParameters) GetRules() []*LiquidityRule

func (*LiquidityParameters) GetSweepConfTarget

func (x *LiquidityParameters) GetSweepConfTarget() int32

func (*LiquidityParameters) GetSweepFeeRateSatPerVbyte

func (x *LiquidityParameters) GetSweepFeeRateSatPerVbyte() uint64

func (*LiquidityParameters) ProtoMessage

func (*LiquidityParameters) ProtoMessage()

func (*LiquidityParameters) ProtoReflect

func (x *LiquidityParameters) ProtoReflect() protoreflect.Message

func (*LiquidityParameters) Reset

func (x *LiquidityParameters) Reset()

func (*LiquidityParameters) String

func (x *LiquidityParameters) String() string

type LiquidityRule

type LiquidityRule struct {

	// The short channel ID of the channel that this rule should be applied to.
	// This field may not be set when the pubkey field is set.
	ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// The type of swap that will be dispatched for this rule.
	SwapType SwapType `protobuf:"varint,6,opt,name=swap_type,json=swapType,proto3,enum=looprpc.SwapType" json:"swap_type,omitempty"`
	// The public key of the peer that this rule should be applied to. This field
	// may not be set when the channel id field is set.
	Pubkey []byte `protobuf:"bytes,5,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// Type indicates the type of rule that this message rule represents. Setting
	// this value will determine which fields are used in the message. The comments
	// on each field in this message will be prefixed with the LiquidityRuleType
	// they belong to.
	Type LiquidityRuleType `protobuf:"varint,2,opt,name=type,proto3,enum=looprpc.LiquidityRuleType" json:"type,omitempty"`
	// THRESHOLD: The percentage of total capacity that incoming capacity should
	// not drop beneath.
	IncomingThreshold uint32 `protobuf:"varint,3,opt,name=incoming_threshold,json=incomingThreshold,proto3" json:"incoming_threshold,omitempty"`
	// THRESHOLD: The percentage of total capacity that outgoing capacity should
	// not drop beneath.
	OutgoingThreshold uint32 `protobuf:"varint,4,opt,name=outgoing_threshold,json=outgoingThreshold,proto3" json:"outgoing_threshold,omitempty"`
	// contains filtered or unexported fields
}

func (*LiquidityRule) Descriptor deprecated

func (*LiquidityRule) Descriptor() ([]byte, []int)

Deprecated: Use LiquidityRule.ProtoReflect.Descriptor instead.

func (*LiquidityRule) GetChannelId

func (x *LiquidityRule) GetChannelId() uint64

func (*LiquidityRule) GetIncomingThreshold

func (x *LiquidityRule) GetIncomingThreshold() uint32

func (*LiquidityRule) GetOutgoingThreshold

func (x *LiquidityRule) GetOutgoingThreshold() uint32

func (*LiquidityRule) GetPubkey

func (x *LiquidityRule) GetPubkey() []byte

func (*LiquidityRule) GetSwapType

func (x *LiquidityRule) GetSwapType() SwapType

func (*LiquidityRule) GetType

func (x *LiquidityRule) GetType() LiquidityRuleType

func (*LiquidityRule) ProtoMessage

func (*LiquidityRule) ProtoMessage()

func (*LiquidityRule) ProtoReflect

func (x *LiquidityRule) ProtoReflect() protoreflect.Message

func (*LiquidityRule) Reset

func (x *LiquidityRule) Reset()

func (*LiquidityRule) String

func (x *LiquidityRule) String() string

type LiquidityRuleType

type LiquidityRuleType int32
const (
	LiquidityRuleType_UNKNOWN   LiquidityRuleType = 0
	LiquidityRuleType_THRESHOLD LiquidityRuleType = 1
)

func (LiquidityRuleType) Descriptor

func (LiquidityRuleType) Enum

func (LiquidityRuleType) EnumDescriptor deprecated

func (LiquidityRuleType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LiquidityRuleType.Descriptor instead.

func (LiquidityRuleType) Number

func (LiquidityRuleType) String

func (x LiquidityRuleType) String() string

func (LiquidityRuleType) Type

type ListInstantOutsRequest

type ListInstantOutsRequest struct {
	// contains filtered or unexported fields
}

func (*ListInstantOutsRequest) Descriptor deprecated

func (*ListInstantOutsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInstantOutsRequest.ProtoReflect.Descriptor instead.

func (*ListInstantOutsRequest) ProtoMessage

func (*ListInstantOutsRequest) ProtoMessage()

func (*ListInstantOutsRequest) ProtoReflect

func (x *ListInstantOutsRequest) ProtoReflect() protoreflect.Message

func (*ListInstantOutsRequest) Reset

func (x *ListInstantOutsRequest) Reset()

func (*ListInstantOutsRequest) String

func (x *ListInstantOutsRequest) String() string

type ListInstantOutsResponse

type ListInstantOutsResponse struct {

	// The list of all currently known instant out swaps and their status.
	Swaps []*InstantOut `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInstantOutsResponse) Descriptor deprecated

func (*ListInstantOutsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInstantOutsResponse.ProtoReflect.Descriptor instead.

func (*ListInstantOutsResponse) GetSwaps

func (x *ListInstantOutsResponse) GetSwaps() []*InstantOut

func (*ListInstantOutsResponse) ProtoMessage

func (*ListInstantOutsResponse) ProtoMessage()

func (*ListInstantOutsResponse) ProtoReflect

func (x *ListInstantOutsResponse) ProtoReflect() protoreflect.Message

func (*ListInstantOutsResponse) Reset

func (x *ListInstantOutsResponse) Reset()

func (*ListInstantOutsResponse) String

func (x *ListInstantOutsResponse) String() string

type ListReservationsRequest

type ListReservationsRequest struct {
	// contains filtered or unexported fields
}

func (*ListReservationsRequest) Descriptor deprecated

func (*ListReservationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListReservationsRequest.ProtoReflect.Descriptor instead.

func (*ListReservationsRequest) ProtoMessage

func (*ListReservationsRequest) ProtoMessage()

func (*ListReservationsRequest) ProtoReflect

func (x *ListReservationsRequest) ProtoReflect() protoreflect.Message

func (*ListReservationsRequest) Reset

func (x *ListReservationsRequest) Reset()

func (*ListReservationsRequest) String

func (x *ListReservationsRequest) String() string

type ListReservationsResponse

type ListReservationsResponse struct {

	// The list of all currently known reservations and their status.
	Reservations []*ClientReservation `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReservationsResponse) Descriptor deprecated

func (*ListReservationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListReservationsResponse.ProtoReflect.Descriptor instead.

func (*ListReservationsResponse) GetReservations

func (x *ListReservationsResponse) GetReservations() []*ClientReservation

func (*ListReservationsResponse) ProtoMessage

func (*ListReservationsResponse) ProtoMessage()

func (*ListReservationsResponse) ProtoReflect

func (x *ListReservationsResponse) ProtoReflect() protoreflect.Message

func (*ListReservationsResponse) Reset

func (x *ListReservationsResponse) Reset()

func (*ListReservationsResponse) String

func (x *ListReservationsResponse) String() string

type ListStaticAddressDepositsRequest added in v1.0.2

type ListStaticAddressDepositsRequest struct {

	// Filters the list of all stored deposits by deposit state.
	StateFilter DepositState `protobuf:"varint,1,opt,name=state_filter,json=stateFilter,proto3,enum=looprpc.DepositState" json:"state_filter,omitempty"`
	// Filters the list of all stored deposits by the outpoint.
	Outpoints []string `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStaticAddressDepositsRequest) Descriptor deprecated added in v1.0.2

func (*ListStaticAddressDepositsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListStaticAddressDepositsRequest.ProtoReflect.Descriptor instead.

func (*ListStaticAddressDepositsRequest) GetOutpoints added in v1.0.2

func (x *ListStaticAddressDepositsRequest) GetOutpoints() []string

func (*ListStaticAddressDepositsRequest) GetStateFilter added in v1.0.2

func (x *ListStaticAddressDepositsRequest) GetStateFilter() DepositState

func (*ListStaticAddressDepositsRequest) ProtoMessage added in v1.0.2

func (*ListStaticAddressDepositsRequest) ProtoMessage()

func (*ListStaticAddressDepositsRequest) ProtoReflect added in v1.0.2

func (*ListStaticAddressDepositsRequest) Reset added in v1.0.2

func (*ListStaticAddressDepositsRequest) String added in v1.0.2

type ListStaticAddressDepositsResponse added in v1.0.2

type ListStaticAddressDepositsResponse struct {

	// A list of all deposits that match the filtered state.
	FilteredDeposits []*Deposit `protobuf:"bytes,1,rep,name=filtered_deposits,json=filteredDeposits,proto3" json:"filtered_deposits,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStaticAddressDepositsResponse) Descriptor deprecated added in v1.0.2

func (*ListStaticAddressDepositsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListStaticAddressDepositsResponse.ProtoReflect.Descriptor instead.

func (*ListStaticAddressDepositsResponse) GetFilteredDeposits added in v1.0.2

func (x *ListStaticAddressDepositsResponse) GetFilteredDeposits() []*Deposit

func (*ListStaticAddressDepositsResponse) ProtoMessage added in v1.0.2

func (*ListStaticAddressDepositsResponse) ProtoMessage()

func (*ListStaticAddressDepositsResponse) ProtoReflect added in v1.0.2

func (*ListStaticAddressDepositsResponse) Reset added in v1.0.2

func (*ListStaticAddressDepositsResponse) String added in v1.0.2

type ListStaticAddressSwapsRequest added in v1.0.2

type ListStaticAddressSwapsRequest struct {
	// contains filtered or unexported fields
}

func (*ListStaticAddressSwapsRequest) Descriptor deprecated added in v1.0.2

func (*ListStaticAddressSwapsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListStaticAddressSwapsRequest.ProtoReflect.Descriptor instead.

func (*ListStaticAddressSwapsRequest) ProtoMessage added in v1.0.2

func (*ListStaticAddressSwapsRequest) ProtoMessage()

func (*ListStaticAddressSwapsRequest) ProtoReflect added in v1.0.2

func (*ListStaticAddressSwapsRequest) Reset added in v1.0.2

func (x *ListStaticAddressSwapsRequest) Reset()

func (*ListStaticAddressSwapsRequest) String added in v1.0.2

type ListStaticAddressSwapsResponse added in v1.0.2

type ListStaticAddressSwapsResponse struct {

	// A list of all swaps known static address loop-in swaps.
	Swaps []*StaticAddressLoopInSwap `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStaticAddressSwapsResponse) Descriptor deprecated added in v1.0.2

func (*ListStaticAddressSwapsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListStaticAddressSwapsResponse.ProtoReflect.Descriptor instead.

func (*ListStaticAddressSwapsResponse) GetSwaps added in v1.0.2

func (*ListStaticAddressSwapsResponse) ProtoMessage added in v1.0.2

func (*ListStaticAddressSwapsResponse) ProtoMessage()

func (*ListStaticAddressSwapsResponse) ProtoReflect added in v1.0.2

func (*ListStaticAddressSwapsResponse) Reset added in v1.0.2

func (x *ListStaticAddressSwapsResponse) Reset()

func (*ListStaticAddressSwapsResponse) String added in v1.0.2

type ListSwapsFilter

type ListSwapsFilter struct {

	// The type of the swap.
	SwapType ListSwapsFilter_SwapTypeFilter `` /* 130-byte string literal not displayed */
	// If set, only pending swaps are returned.
	PendingOnly bool `protobuf:"varint,2,opt,name=pending_only,json=pendingOnly,proto3" json:"pending_only,omitempty"`
	// If specified on creation, the outgoing channel set of the swap.
	OutgoingChanSet []uint64 `protobuf:"varint,3,rep,packed,name=outgoing_chan_set,json=outgoingChanSet,proto3" json:"outgoing_chan_set,omitempty"`
	// Label of swap to filter for.
	Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// If specified on creation, the last hop of the swap.
	LoopInLastHop []byte `protobuf:"bytes,5,opt,name=loop_in_last_hop,json=loopInLastHop,proto3" json:"loop_in_last_hop,omitempty"`
	// If specified, only returns asset swaps.
	AssetSwapOnly bool `protobuf:"varint,6,opt,name=asset_swap_only,json=assetSwapOnly,proto3" json:"asset_swap_only,omitempty"`
	// If specified, returns swaps initiated after this Unix (ns) timestamp.
	StartTimestampNs int64 `protobuf:"varint,7,opt,name=start_timestamp_ns,json=startTimestampNs,proto3" json:"start_timestamp_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSwapsFilter) Descriptor deprecated

func (*ListSwapsFilter) Descriptor() ([]byte, []int)

Deprecated: Use ListSwapsFilter.ProtoReflect.Descriptor instead.

func (*ListSwapsFilter) GetAssetSwapOnly added in v1.0.4

func (x *ListSwapsFilter) GetAssetSwapOnly() bool

func (*ListSwapsFilter) GetLabel

func (x *ListSwapsFilter) GetLabel() string

func (*ListSwapsFilter) GetLoopInLastHop

func (x *ListSwapsFilter) GetLoopInLastHop() []byte

func (*ListSwapsFilter) GetOutgoingChanSet

func (x *ListSwapsFilter) GetOutgoingChanSet() []uint64

func (*ListSwapsFilter) GetPendingOnly

func (x *ListSwapsFilter) GetPendingOnly() bool

func (*ListSwapsFilter) GetStartTimestampNs added in v1.0.5

func (x *ListSwapsFilter) GetStartTimestampNs() int64

func (*ListSwapsFilter) GetSwapType

func (*ListSwapsFilter) ProtoMessage

func (*ListSwapsFilter) ProtoMessage()

func (*ListSwapsFilter) ProtoReflect

func (x *ListSwapsFilter) ProtoReflect() protoreflect.Message

func (*ListSwapsFilter) Reset

func (x *ListSwapsFilter) Reset()

func (*ListSwapsFilter) String

func (x *ListSwapsFilter) String() string

type ListSwapsFilter_SwapTypeFilter

type ListSwapsFilter_SwapTypeFilter int32
const (
	// ANY indicates that no filter is applied.
	ListSwapsFilter_ANY ListSwapsFilter_SwapTypeFilter = 0
	// LOOP_OUT indicates an loop out swap (off-chain to on-chain).
	ListSwapsFilter_LOOP_OUT ListSwapsFilter_SwapTypeFilter = 1
	// LOOP_IN indicates a loop in swap (on-chain to off-chain).
	ListSwapsFilter_LOOP_IN ListSwapsFilter_SwapTypeFilter = 2
)

func (ListSwapsFilter_SwapTypeFilter) Descriptor

func (ListSwapsFilter_SwapTypeFilter) Enum

func (ListSwapsFilter_SwapTypeFilter) EnumDescriptor deprecated

func (ListSwapsFilter_SwapTypeFilter) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListSwapsFilter_SwapTypeFilter.Descriptor instead.

func (ListSwapsFilter_SwapTypeFilter) Number

func (ListSwapsFilter_SwapTypeFilter) String

func (ListSwapsFilter_SwapTypeFilter) Type

type ListSwapsRequest

type ListSwapsRequest struct {

	// Optional filter to only return swaps that match the filter.
	ListSwapFilter *ListSwapsFilter `protobuf:"bytes,1,opt,name=list_swap_filter,json=listSwapFilter,proto3" json:"list_swap_filter,omitempty"`
	// Set a maximum number of swaps to return in the response.
	MaxSwaps uint64 `protobuf:"varint,2,opt,name=max_swaps,json=maxSwaps,proto3" json:"max_swaps,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSwapsRequest) Descriptor deprecated

func (*ListSwapsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSwapsRequest.ProtoReflect.Descriptor instead.

func (*ListSwapsRequest) GetListSwapFilter

func (x *ListSwapsRequest) GetListSwapFilter() *ListSwapsFilter

func (*ListSwapsRequest) GetMaxSwaps added in v1.0.5

func (x *ListSwapsRequest) GetMaxSwaps() uint64

func (*ListSwapsRequest) ProtoMessage

func (*ListSwapsRequest) ProtoMessage()

func (*ListSwapsRequest) ProtoReflect

func (x *ListSwapsRequest) ProtoReflect() protoreflect.Message

func (*ListSwapsRequest) Reset

func (x *ListSwapsRequest) Reset()

func (*ListSwapsRequest) String

func (x *ListSwapsRequest) String() string

type ListSwapsResponse

type ListSwapsResponse struct {

	// The list of all currently known swaps and their status.
	Swaps []*SwapStatus `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
	// Timestamp to use for paging start_timestamp_ns.
	NextStartTime int64 `protobuf:"varint,2,opt,name=next_start_time,json=nextStartTime,proto3" json:"next_start_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSwapsResponse) Descriptor deprecated

func (*ListSwapsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSwapsResponse.ProtoReflect.Descriptor instead.

func (*ListSwapsResponse) GetNextStartTime added in v1.0.5

func (x *ListSwapsResponse) GetNextStartTime() int64

func (*ListSwapsResponse) GetSwaps

func (x *ListSwapsResponse) GetSwaps() []*SwapStatus

func (*ListSwapsResponse) ProtoMessage

func (*ListSwapsResponse) ProtoMessage()

func (*ListSwapsResponse) ProtoReflect

func (x *ListSwapsResponse) ProtoReflect() protoreflect.Message

func (*ListSwapsResponse) Reset

func (x *ListSwapsResponse) Reset()

func (*ListSwapsResponse) String

func (x *ListSwapsResponse) String() string

type ListUnspentDepositsRequest added in v1.0.2

type ListUnspentDepositsRequest struct {

	// The number of minimum confirmations a utxo must have to be listed.
	MinConfs int32 `protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
	// The number of maximum confirmations a utxo may have to be listed. A zero
	// value indicates that there is no maximum.
	MaxConfs int32 `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnspentDepositsRequest) Descriptor deprecated added in v1.0.2

func (*ListUnspentDepositsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUnspentDepositsRequest.ProtoReflect.Descriptor instead.

func (*ListUnspentDepositsRequest) GetMaxConfs added in v1.0.2

func (x *ListUnspentDepositsRequest) GetMaxConfs() int32

func (*ListUnspentDepositsRequest) GetMinConfs added in v1.0.2

func (x *ListUnspentDepositsRequest) GetMinConfs() int32

func (*ListUnspentDepositsRequest) ProtoMessage added in v1.0.2

func (*ListUnspentDepositsRequest) ProtoMessage()

func (*ListUnspentDepositsRequest) ProtoReflect added in v1.0.2

func (*ListUnspentDepositsRequest) Reset added in v1.0.2

func (x *ListUnspentDepositsRequest) Reset()

func (*ListUnspentDepositsRequest) String added in v1.0.2

func (x *ListUnspentDepositsRequest) String() string

type ListUnspentDepositsResponse added in v1.0.2

type ListUnspentDepositsResponse struct {

	// A list of utxos behind the static address.
	Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUnspentDepositsResponse) Descriptor deprecated added in v1.0.2

func (*ListUnspentDepositsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUnspentDepositsResponse.ProtoReflect.Descriptor instead.

func (*ListUnspentDepositsResponse) GetUtxos added in v1.0.2

func (x *ListUnspentDepositsResponse) GetUtxos() []*Utxo

func (*ListUnspentDepositsResponse) ProtoMessage added in v1.0.2

func (*ListUnspentDepositsResponse) ProtoMessage()

func (*ListUnspentDepositsResponse) ProtoReflect added in v1.0.2

func (*ListUnspentDepositsResponse) Reset added in v1.0.2

func (x *ListUnspentDepositsResponse) Reset()

func (*ListUnspentDepositsResponse) String added in v1.0.2

func (x *ListUnspentDepositsResponse) String() string

type LoopInRequest

type LoopInRequest struct {

	// Requested swap amount in sat. This does not include the swap and miner
	// fee.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// Maximum we are willing to pay the server for the swap. This value is not
	// disclosed in the swap initiation call, but if the server asks for a
	// higher fee, we abort the swap. Typically this value is taken from the
	// response of the GetQuote call.
	MaxSwapFee int64 `protobuf:"varint,2,opt,name=max_swap_fee,json=maxSwapFee,proto3" json:"max_swap_fee,omitempty"`
	// Maximum in on-chain fees that we are willing to spend. If we want to
	// publish the on-chain htlc and the fee estimate turns out higher than this
	// value, we cancel the swap.
	//
	// max_miner_fee is typically taken from the response of the GetQuote call.
	MaxMinerFee int64 `protobuf:"varint,3,opt,name=max_miner_fee,json=maxMinerFee,proto3" json:"max_miner_fee,omitempty"`
	// The last hop to use for the loop in swap. If empty, the last hop is selected
	// based on the lowest routing fee for the swap payment from the server.
	LastHop []byte `protobuf:"bytes,4,opt,name=last_hop,json=lastHop,proto3" json:"last_hop,omitempty"`
	// If external_htlc is true, we expect the htlc to be published by an external
	// actor.
	ExternalHtlc bool `protobuf:"varint,5,opt,name=external_htlc,json=externalHtlc,proto3" json:"external_htlc,omitempty"`
	// The number of blocks that the on chain htlc should confirm within.
	HtlcConfTarget int32 `protobuf:"varint,6,opt,name=htlc_conf_target,json=htlcConfTarget,proto3" json:"htlc_conf_target,omitempty"`
	// An optional label for this swap. This field is limited to 500 characters
	// and may not be one of the reserved values in loop/labels Reserved list.
	Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
	// An optional identification string that will be appended to the user agent
	// string sent to the server to give information about the usage of loop. This
	// initiator part is meant for user interfaces to add their name to give the
	// full picture of the binary used (loopd, LiT) and the method used for
	// triggering the swap (loop CLI, autolooper, LiT UI, other 3rd party UI).
	Initiator string `protobuf:"bytes,8,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// Optional route hints to reach the destination through private channels.
	RouteHints []*swapserverrpc.RouteHint `protobuf:"bytes,9,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	// Private indicates whether the destination node should be considered
	// private. In which case, loop will generate hophints to assist with
	// probing and payment.
	Private bool `protobuf:"varint,10,opt,name=private,proto3" json:"private,omitempty"`
	// contains filtered or unexported fields
}

func (*LoopInRequest) Descriptor deprecated

func (*LoopInRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoopInRequest.ProtoReflect.Descriptor instead.

func (*LoopInRequest) GetAmt

func (x *LoopInRequest) GetAmt() int64

func (*LoopInRequest) GetExternalHtlc

func (x *LoopInRequest) GetExternalHtlc() bool

func (*LoopInRequest) GetHtlcConfTarget

func (x *LoopInRequest) GetHtlcConfTarget() int32

func (*LoopInRequest) GetInitiator

func (x *LoopInRequest) GetInitiator() string

func (*LoopInRequest) GetLabel

func (x *LoopInRequest) GetLabel() string

func (*LoopInRequest) GetLastHop

func (x *LoopInRequest) GetLastHop() []byte

func (*LoopInRequest) GetMaxMinerFee

func (x *LoopInRequest) GetMaxMinerFee() int64

func (*LoopInRequest) GetMaxSwapFee

func (x *LoopInRequest) GetMaxSwapFee() int64

func (*LoopInRequest) GetPrivate

func (x *LoopInRequest) GetPrivate() bool

func (*LoopInRequest) GetRouteHints

func (x *LoopInRequest) GetRouteHints() []*swapserverrpc.RouteHint

func (*LoopInRequest) ProtoMessage

func (*LoopInRequest) ProtoMessage()

func (*LoopInRequest) ProtoReflect

func (x *LoopInRequest) ProtoReflect() protoreflect.Message

func (*LoopInRequest) Reset

func (x *LoopInRequest) Reset()

func (*LoopInRequest) String

func (x *LoopInRequest) String() string

type LoopOutRequest

type LoopOutRequest struct {

	// Requested swap amount in sat. This does not include the swap and miner fee.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// Base58 encoded destination address for the swap.
	Dest string `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
	// Maximum off-chain fee in sat that may be paid for swap payment to the
	// server. This limit is applied during path finding. Typically this value is
	// taken from the response of the GetQuote call.
	MaxSwapRoutingFee int64 `protobuf:"varint,3,opt,name=max_swap_routing_fee,json=maxSwapRoutingFee,proto3" json:"max_swap_routing_fee,omitempty"`
	// Maximum off-chain fee in sat that may be paid for the prepay to the server.
	// This limit is applied during path finding. Typically this value is taken
	// from the response of the GetQuote call.
	MaxPrepayRoutingFee int64 `protobuf:"varint,4,opt,name=max_prepay_routing_fee,json=maxPrepayRoutingFee,proto3" json:"max_prepay_routing_fee,omitempty"`
	// Maximum we are willing to pay the server for the swap. This value is not
	// disclosed in the swap initiation call, but if the server asks for a
	// higher fee, we abort the swap. Typically this value is taken from the
	// response of the GetQuote call. It includes the prepay amount.
	MaxSwapFee int64 `protobuf:"varint,5,opt,name=max_swap_fee,json=maxSwapFee,proto3" json:"max_swap_fee,omitempty"`
	// Maximum amount of the swap fee that may be charged as a prepayment.
	MaxPrepayAmt int64 `protobuf:"varint,6,opt,name=max_prepay_amt,json=maxPrepayAmt,proto3" json:"max_prepay_amt,omitempty"`
	// Maximum in on-chain fees that we are willing to spend. If we want to
	// sweep the on-chain htlc and the fee estimate turns out higher than this
	// value, we cancel the swap. If the fee estimate is lower, we publish the
	// sweep tx.
	//
	// If the sweep tx is not confirmed, we are forced to ratchet up fees until it
	// is swept. Possibly even exceeding max_miner_fee if we get close to the htlc
	// timeout. Because the initial publication revealed the preimage, we have no
	// other choice. The server may already have pulled the off-chain htlc. Only
	// when the fee becomes higher than the swap amount, we can only wait for fees
	// to come down and hope - if we are past the timeout - that the server is not
	// publishing the revocation.
	//
	// max_miner_fee is typically taken from the response of the GetQuote call.
	MaxMinerFee int64 `protobuf:"varint,7,opt,name=max_miner_fee,json=maxMinerFee,proto3" json:"max_miner_fee,omitempty"`
	// Deprecated, use outgoing_chan_set. The channel to loop out, the channel
	// to loop out is selected based on the lowest routing fee for the swap
	// payment to the server.
	//
	// Deprecated: Marked as deprecated in client.proto.
	LoopOutChannel uint64 `protobuf:"varint,8,opt,name=loop_out_channel,json=loopOutChannel,proto3" json:"loop_out_channel,omitempty"`
	// A restriction on the channel set that may be used to loop out. The actual
	// channel(s) that will be used are selected based on the lowest routing fee
	// for the swap payment to the server.
	OutgoingChanSet []uint64 `protobuf:"varint,11,rep,packed,name=outgoing_chan_set,json=outgoingChanSet,proto3" json:"outgoing_chan_set,omitempty"`
	// The number of blocks from the on-chain HTLC's confirmation height that it
	// should be swept within.
	SweepConfTarget int32 `protobuf:"varint,9,opt,name=sweep_conf_target,json=sweepConfTarget,proto3" json:"sweep_conf_target,omitempty"`
	// The number of confirmations that we require for the on chain htlc that will
	// be published by the server before we reveal the preimage.
	HtlcConfirmations int32 `protobuf:"varint,13,opt,name=htlc_confirmations,json=htlcConfirmations,proto3" json:"htlc_confirmations,omitempty"`
	// The latest time (in unix seconds) we allow the server to wait before
	// publishing the HTLC on chain. Setting this to a larger value will give the
	// server the opportunity to batch multiple swaps together, and wait for
	// low-fee periods before publishing the HTLC, potentially resulting in a
	// lower total swap fee.
	SwapPublicationDeadline uint64 `` /* 134-byte string literal not displayed */
	// An optional label for this swap. This field is limited to 500 characters
	// and may not start with the prefix [reserved], which is used to tag labels
	// produced by the daemon.
	Label string `protobuf:"bytes,12,opt,name=label,proto3" json:"label,omitempty"`
	// An optional identification string that will be appended to the user agent
	// string sent to the server to give information about the usage of loop. This
	// initiator part is meant for user interfaces to add their name to give the
	// full picture of the binary used (loopd, LiT) and the method used for
	// triggering the swap (loop CLI, autolooper, LiT UI, other 3rd party UI).
	Initiator string `protobuf:"bytes,14,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// An alternative destination address source for the swap. This field
	// represents the name of the account in the backing lnd instance.
	// Refer to lnd's wallet import functions for reference.
	Account string `protobuf:"bytes,15,opt,name=account,proto3" json:"account,omitempty"`
	// The address type of the account specified in the account field.
	AccountAddrType AddressType `` /* 135-byte string literal not displayed */
	// A flag indicating whether the defined destination address does not belong to
	// the wallet. This is used to flag whether this loop out swap could have its
	// associated sweep batched.
	IsExternalAddr bool `protobuf:"varint,17,opt,name=is_external_addr,json=isExternalAddr,proto3" json:"is_external_addr,omitempty"`
	// The reservations to use for the swap. If this field is set, loop will try
	// to use the instant out flow using the given reservations. If the
	// reservations are not sufficient, the swap will fail. The swap amount must
	// be equal to the sum of the amounts of the reservations.
	ReservationIds [][]byte `protobuf:"bytes,18,rep,name=reservation_ids,json=reservationIds,proto3" json:"reservation_ids,omitempty"`
	// The timeout in seconds to use for off-chain payments. Note that the swap
	// payment is attempted multiple times where each attempt will set this value
	// as the timeout for the payment.
	PaymentTimeout uint32 `protobuf:"varint,19,opt,name=payment_timeout,json=paymentTimeout,proto3" json:"payment_timeout,omitempty"`
	// The optional asset information to use for the swap. If set, the swap will
	// be paid in the specified asset using the provided edge node. An Asset client
	// must be connected to the loop client to use this feature.
	AssetInfo *AssetLoopOutRequest `protobuf:"bytes,20,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info,omitempty"`
	// The optional RFQ information to use for the swap. If set, the swap will
	// use the provided RFQs to pay for the swap invoice.
	AssetRfqInfo *AssetRfqInfo `protobuf:"bytes,21,opt,name=asset_rfq_info,json=assetRfqInfo,proto3" json:"asset_rfq_info,omitempty"`
	// contains filtered or unexported fields
}

func (*LoopOutRequest) Descriptor deprecated

func (*LoopOutRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoopOutRequest.ProtoReflect.Descriptor instead.

func (*LoopOutRequest) GetAccount

func (x *LoopOutRequest) GetAccount() string

func (*LoopOutRequest) GetAccountAddrType

func (x *LoopOutRequest) GetAccountAddrType() AddressType

func (*LoopOutRequest) GetAmt

func (x *LoopOutRequest) GetAmt() int64

func (*LoopOutRequest) GetAssetInfo added in v1.0.4

func (x *LoopOutRequest) GetAssetInfo() *AssetLoopOutRequest

func (*LoopOutRequest) GetAssetRfqInfo added in v1.0.4

func (x *LoopOutRequest) GetAssetRfqInfo() *AssetRfqInfo

func (*LoopOutRequest) GetDest

func (x *LoopOutRequest) GetDest() string

func (*LoopOutRequest) GetHtlcConfirmations

func (x *LoopOutRequest) GetHtlcConfirmations() int32

func (*LoopOutRequest) GetInitiator

func (x *LoopOutRequest) GetInitiator() string

func (*LoopOutRequest) GetIsExternalAddr

func (x *LoopOutRequest) GetIsExternalAddr() bool

func (*LoopOutRequest) GetLabel

func (x *LoopOutRequest) GetLabel() string

func (*LoopOutRequest) GetLoopOutChannel deprecated

func (x *LoopOutRequest) GetLoopOutChannel() uint64

Deprecated: Marked as deprecated in client.proto.

func (*LoopOutRequest) GetMaxMinerFee

func (x *LoopOutRequest) GetMaxMinerFee() int64

func (*LoopOutRequest) GetMaxPrepayAmt

func (x *LoopOutRequest) GetMaxPrepayAmt() int64

func (*LoopOutRequest) GetMaxPrepayRoutingFee

func (x *LoopOutRequest) GetMaxPrepayRoutingFee() int64

func (*LoopOutRequest) GetMaxSwapFee

func (x *LoopOutRequest) GetMaxSwapFee() int64

func (*LoopOutRequest) GetMaxSwapRoutingFee

func (x *LoopOutRequest) GetMaxSwapRoutingFee() int64

func (*LoopOutRequest) GetOutgoingChanSet

func (x *LoopOutRequest) GetOutgoingChanSet() []uint64

func (*LoopOutRequest) GetPaymentTimeout

func (x *LoopOutRequest) GetPaymentTimeout() uint32

func (*LoopOutRequest) GetReservationIds

func (x *LoopOutRequest) GetReservationIds() [][]byte

func (*LoopOutRequest) GetSwapPublicationDeadline

func (x *LoopOutRequest) GetSwapPublicationDeadline() uint64

func (*LoopOutRequest) GetSweepConfTarget

func (x *LoopOutRequest) GetSweepConfTarget() int32

func (*LoopOutRequest) ProtoMessage

func (*LoopOutRequest) ProtoMessage()

func (*LoopOutRequest) ProtoReflect

func (x *LoopOutRequest) ProtoReflect() protoreflect.Message

func (*LoopOutRequest) Reset

func (x *LoopOutRequest) Reset()

func (*LoopOutRequest) String

func (x *LoopOutRequest) String() string

type LoopStats

type LoopStats struct {

	// Number of currently pending swaps.
	PendingCount uint64 `protobuf:"varint,1,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"`
	// Number of succeeded swaps.
	SuccessCount uint64 `protobuf:"varint,2,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
	// Number failed swaps.
	FailCount uint64 `protobuf:"varint,3,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"`
	// The sum of all pending swap amounts.
	SumPendingAmt int64 `protobuf:"varint,4,opt,name=sum_pending_amt,json=sumPendingAmt,proto3" json:"sum_pending_amt,omitempty"`
	// The sum of all succeeded swap amounts.
	SumSucceededAmt int64 `protobuf:"varint,5,opt,name=sum_succeeded_amt,json=sumSucceededAmt,proto3" json:"sum_succeeded_amt,omitempty"`
	// contains filtered or unexported fields
}

func (*LoopStats) Descriptor deprecated

func (*LoopStats) Descriptor() ([]byte, []int)

Deprecated: Use LoopStats.ProtoReflect.Descriptor instead.

func (*LoopStats) GetFailCount

func (x *LoopStats) GetFailCount() uint64

func (*LoopStats) GetPendingCount

func (x *LoopStats) GetPendingCount() uint64

func (*LoopStats) GetSuccessCount

func (x *LoopStats) GetSuccessCount() uint64

func (*LoopStats) GetSumPendingAmt

func (x *LoopStats) GetSumPendingAmt() int64

func (*LoopStats) GetSumSucceededAmt

func (x *LoopStats) GetSumSucceededAmt() int64

func (*LoopStats) ProtoMessage

func (*LoopStats) ProtoMessage()

func (*LoopStats) ProtoReflect

func (x *LoopStats) ProtoReflect() protoreflect.Message

func (*LoopStats) Reset

func (x *LoopStats) Reset()

func (*LoopStats) String

func (x *LoopStats) String() string

type MonitorRequest

type MonitorRequest struct {
	// contains filtered or unexported fields
}

func (*MonitorRequest) Descriptor deprecated

func (*MonitorRequest) Descriptor() ([]byte, []int)

Deprecated: Use MonitorRequest.ProtoReflect.Descriptor instead.

func (*MonitorRequest) ProtoMessage

func (*MonitorRequest) ProtoMessage()

func (*MonitorRequest) ProtoReflect

func (x *MonitorRequest) ProtoReflect() protoreflect.Message

func (*MonitorRequest) Reset

func (x *MonitorRequest) Reset()

func (*MonitorRequest) String

func (x *MonitorRequest) String() string

type NewStaticAddressRequest added in v1.0.2

type NewStaticAddressRequest struct {

	// The client's public key for the 2-of-2 MuSig2 taproot static address.
	ClientKey []byte `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// contains filtered or unexported fields
}

func (*NewStaticAddressRequest) Descriptor deprecated added in v1.0.2

func (*NewStaticAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use NewStaticAddressRequest.ProtoReflect.Descriptor instead.

func (*NewStaticAddressRequest) GetClientKey added in v1.0.2

func (x *NewStaticAddressRequest) GetClientKey() []byte

func (*NewStaticAddressRequest) ProtoMessage added in v1.0.2

func (*NewStaticAddressRequest) ProtoMessage()

func (*NewStaticAddressRequest) ProtoReflect added in v1.0.2

func (x *NewStaticAddressRequest) ProtoReflect() protoreflect.Message

func (*NewStaticAddressRequest) Reset added in v1.0.2

func (x *NewStaticAddressRequest) Reset()

func (*NewStaticAddressRequest) String added in v1.0.2

func (x *NewStaticAddressRequest) String() string

type NewStaticAddressResponse added in v1.0.2

type NewStaticAddressResponse struct {

	// The taproot static address.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The CSV expiry of the static address.
	Expiry uint32 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*NewStaticAddressResponse) Descriptor deprecated added in v1.0.2

func (*NewStaticAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use NewStaticAddressResponse.ProtoReflect.Descriptor instead.

func (*NewStaticAddressResponse) GetAddress added in v1.0.2

func (x *NewStaticAddressResponse) GetAddress() string

func (*NewStaticAddressResponse) GetExpiry added in v1.0.2

func (x *NewStaticAddressResponse) GetExpiry() uint32

func (*NewStaticAddressResponse) ProtoMessage added in v1.0.2

func (*NewStaticAddressResponse) ProtoMessage()

func (*NewStaticAddressResponse) ProtoReflect added in v1.0.2

func (x *NewStaticAddressResponse) ProtoReflect() protoreflect.Message

func (*NewStaticAddressResponse) Reset added in v1.0.2

func (x *NewStaticAddressResponse) Reset()

func (*NewStaticAddressResponse) String added in v1.0.2

func (x *NewStaticAddressResponse) String() string

type OutPoint added in v1.0.2

type OutPoint struct {

	// Raw bytes representing the transaction id.
	TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,json=txidBytes,proto3" json:"txid_bytes,omitempty"`
	// Reversed, hex-encoded string representing the transaction id.
	TxidStr string `protobuf:"bytes,2,opt,name=txid_str,json=txidStr,proto3" json:"txid_str,omitempty"`
	// The index of the output on the transaction.
	OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	// contains filtered or unexported fields
}

func (*OutPoint) Descriptor deprecated added in v1.0.2

func (*OutPoint) Descriptor() ([]byte, []int)

Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.

func (*OutPoint) GetOutputIndex added in v1.0.2

func (x *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxidBytes added in v1.0.2

func (x *OutPoint) GetTxidBytes() []byte

func (*OutPoint) GetTxidStr added in v1.0.2

func (x *OutPoint) GetTxidStr() string

func (*OutPoint) ProtoMessage added in v1.0.2

func (*OutPoint) ProtoMessage()

func (*OutPoint) ProtoReflect added in v1.0.2

func (x *OutPoint) ProtoReflect() protoreflect.Message

func (*OutPoint) Reset added in v1.0.2

func (x *OutPoint) Reset()

func (*OutPoint) String added in v1.0.2

func (x *OutPoint) String() string

type OutQuoteResponse

type OutQuoteResponse struct {

	// The fee that the swap server is charging for the swap.
	SwapFeeSat int64 `protobuf:"varint,1,opt,name=swap_fee_sat,json=swapFeeSat,proto3" json:"swap_fee_sat,omitempty"`
	// The part of the swap fee that is requested as a prepayment.
	PrepayAmtSat int64 `protobuf:"varint,2,opt,name=prepay_amt_sat,json=prepayAmtSat,proto3" json:"prepay_amt_sat,omitempty"`
	// An estimate of the on-chain fee that needs to be paid to sweep the HTLC for
	// a loop out.
	HtlcSweepFeeSat int64 `protobuf:"varint,3,opt,name=htlc_sweep_fee_sat,json=htlcSweepFeeSat,proto3" json:"htlc_sweep_fee_sat,omitempty"`
	// The node pubkey where the swap payment needs to be paid
	// to. This can be used to test connectivity before initiating the swap.
	SwapPaymentDest []byte `protobuf:"bytes,4,opt,name=swap_payment_dest,json=swapPaymentDest,proto3" json:"swap_payment_dest,omitempty"`
	// On-chain cltv expiry delta
	CltvDelta int32 `protobuf:"varint,5,opt,name=cltv_delta,json=cltvDelta,proto3" json:"cltv_delta,omitempty"`
	// The confirmation target to be used for the sweep of the on-chain HTLC.
	ConfTarget int32 `protobuf:"varint,6,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
	// If the request was for an asset swap, the quote will return the rfq ids
	// that will be used to pay for the swap and prepay invoices.
	AssetRfqInfo *AssetRfqInfo `protobuf:"bytes,7,opt,name=asset_rfq_info,json=assetRfqInfo,proto3" json:"asset_rfq_info,omitempty"`
	// contains filtered or unexported fields
}

func (*OutQuoteResponse) Descriptor deprecated

func (*OutQuoteResponse) Descriptor() ([]byte, []int)

Deprecated: Use OutQuoteResponse.ProtoReflect.Descriptor instead.

func (*OutQuoteResponse) GetAssetRfqInfo added in v1.0.4

func (x *OutQuoteResponse) GetAssetRfqInfo() *AssetRfqInfo

func (*OutQuoteResponse) GetCltvDelta

func (x *OutQuoteResponse) GetCltvDelta() int32

func (*OutQuoteResponse) GetConfTarget

func (x *OutQuoteResponse) GetConfTarget() int32

func (*OutQuoteResponse) GetHtlcSweepFeeSat

func (x *OutQuoteResponse) GetHtlcSweepFeeSat() int64

func (*OutQuoteResponse) GetPrepayAmtSat

func (x *OutQuoteResponse) GetPrepayAmtSat() int64

func (*OutQuoteResponse) GetSwapFeeSat

func (x *OutQuoteResponse) GetSwapFeeSat() int64

func (*OutQuoteResponse) GetSwapPaymentDest

func (x *OutQuoteResponse) GetSwapPaymentDest() []byte

func (*OutQuoteResponse) ProtoMessage

func (*OutQuoteResponse) ProtoMessage()

func (*OutQuoteResponse) ProtoReflect

func (x *OutQuoteResponse) ProtoReflect() protoreflect.Message

func (*OutQuoteResponse) Reset

func (x *OutQuoteResponse) Reset()

func (*OutQuoteResponse) String

func (x *OutQuoteResponse) String() string

type OutTermsResponse

type OutTermsResponse struct {

	// Minimum swap amount (sat)
	MinSwapAmount int64 `protobuf:"varint,5,opt,name=min_swap_amount,json=minSwapAmount,proto3" json:"min_swap_amount,omitempty"`
	// Maximum swap amount (sat)
	MaxSwapAmount int64 `protobuf:"varint,6,opt,name=max_swap_amount,json=maxSwapAmount,proto3" json:"max_swap_amount,omitempty"`
	// The minimally accepted cltv delta of the on-chain htlc.
	MinCltvDelta int32 `protobuf:"varint,8,opt,name=min_cltv_delta,json=minCltvDelta,proto3" json:"min_cltv_delta,omitempty"`
	// The maximally accepted cltv delta of the on-chain htlc.
	MaxCltvDelta int32 `protobuf:"varint,9,opt,name=max_cltv_delta,json=maxCltvDelta,proto3" json:"max_cltv_delta,omitempty"`
	// contains filtered or unexported fields
}

func (*OutTermsResponse) Descriptor deprecated

func (*OutTermsResponse) Descriptor() ([]byte, []int)

Deprecated: Use OutTermsResponse.ProtoReflect.Descriptor instead.

func (*OutTermsResponse) GetMaxCltvDelta

func (x *OutTermsResponse) GetMaxCltvDelta() int32

func (*OutTermsResponse) GetMaxSwapAmount

func (x *OutTermsResponse) GetMaxSwapAmount() int64

func (*OutTermsResponse) GetMinCltvDelta

func (x *OutTermsResponse) GetMinCltvDelta() int32

func (*OutTermsResponse) GetMinSwapAmount

func (x *OutTermsResponse) GetMinSwapAmount() int64

func (*OutTermsResponse) ProtoMessage

func (*OutTermsResponse) ProtoMessage()

func (*OutTermsResponse) ProtoReflect

func (x *OutTermsResponse) ProtoReflect() protoreflect.Message

func (*OutTermsResponse) Reset

func (x *OutTermsResponse) Reset()

func (*OutTermsResponse) String

func (x *OutTermsResponse) String() string

type ProbeRequest

type ProbeRequest struct {

	// The amount to probe.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// Optional last hop of the route to probe.
	LastHop []byte `protobuf:"bytes,2,opt,name=last_hop,json=lastHop,proto3" json:"last_hop,omitempty"`
	// Optional route hints to reach the destination through private channels.
	RouteHints []*swapserverrpc.RouteHint `protobuf:"bytes,3,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeRequest) Descriptor deprecated

func (*ProbeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.

func (*ProbeRequest) GetAmt

func (x *ProbeRequest) GetAmt() int64

func (*ProbeRequest) GetLastHop

func (x *ProbeRequest) GetLastHop() []byte

func (*ProbeRequest) GetRouteHints

func (x *ProbeRequest) GetRouteHints() []*swapserverrpc.RouteHint

func (*ProbeRequest) ProtoMessage

func (*ProbeRequest) ProtoMessage()

func (*ProbeRequest) ProtoReflect

func (x *ProbeRequest) ProtoReflect() protoreflect.Message

func (*ProbeRequest) Reset

func (x *ProbeRequest) Reset()

func (*ProbeRequest) String

func (x *ProbeRequest) String() string

type ProbeResponse

type ProbeResponse struct {
	// contains filtered or unexported fields
}

func (*ProbeResponse) Descriptor deprecated

func (*ProbeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.

func (*ProbeResponse) ProtoMessage

func (*ProbeResponse) ProtoMessage()

func (*ProbeResponse) ProtoReflect

func (x *ProbeResponse) ProtoReflect() protoreflect.Message

func (*ProbeResponse) Reset

func (x *ProbeResponse) Reset()

func (*ProbeResponse) String

func (x *ProbeResponse) String() string

type QuoteRequest

type QuoteRequest struct {

	// The amount to swap in satoshis.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// The confirmation target that should be used either for the sweep of the
	// on-chain HTLC broadcast by the swap server in the case of a Loop Out, or for
	// the confirmation of the on-chain HTLC broadcast by the swap client in the
	// case of a Loop In.
	ConfTarget int32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
	// If external_htlc is true, we expect the htlc to be published by an external
	// actor.
	ExternalHtlc bool `protobuf:"varint,3,opt,name=external_htlc,json=externalHtlc,proto3" json:"external_htlc,omitempty"`
	// The latest time (in unix seconds) we allow the server to wait before
	// publishing the HTLC on chain. Setting this to a larger value will give the
	// server the opportunity to batch multiple swaps together, and wait for
	// low-fee periods before publishing the HTLC, potentially resulting in a
	// lower total swap fee. This only has an effect on loop out quotes.
	SwapPublicationDeadline uint64 `` /* 133-byte string literal not displayed */
	// Optionally the client can specify the last hop pubkey when requesting a
	// loop-in quote. This is useful to get better off-chain routing fee from the
	// server.
	LoopInLastHop []byte `protobuf:"bytes,5,opt,name=loop_in_last_hop,json=loopInLastHop,proto3" json:"loop_in_last_hop,omitempty"`
	// Optional route hints to reach the destination through private channels.
	LoopInRouteHints []*swapserverrpc.RouteHint `protobuf:"bytes,6,rep,name=loop_in_route_hints,json=loopInRouteHints,proto3" json:"loop_in_route_hints,omitempty"`
	// Private indicates whether the destination node should be considered
	// private. In which case, loop will generate hophints to assist with
	// probing and payment.
	Private bool `protobuf:"varint,7,opt,name=private,proto3" json:"private,omitempty"`
	// Static address deposit outpoints that will be quoted for. This option only
	// pertains to loop in swaps. Either this or the amt parameter can be set at
	// the same time.
	DepositOutpoints []string `protobuf:"bytes,8,rep,name=deposit_outpoints,json=depositOutpoints,proto3" json:"deposit_outpoints,omitempty"`
	// The optional asset information to use for the swap. If set, the quote will
	// be returned in the specified asset.
	AssetInfo *AssetLoopOutRequest `protobuf:"bytes,9,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info,omitempty"`
	// contains filtered or unexported fields
}

func (*QuoteRequest) Descriptor deprecated

func (*QuoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use QuoteRequest.ProtoReflect.Descriptor instead.

func (*QuoteRequest) GetAmt

func (x *QuoteRequest) GetAmt() int64

func (*QuoteRequest) GetAssetInfo added in v1.0.4

func (x *QuoteRequest) GetAssetInfo() *AssetLoopOutRequest

func (*QuoteRequest) GetConfTarget

func (x *QuoteRequest) GetConfTarget() int32

func (*QuoteRequest) GetDepositOutpoints added in v1.0.2

func (x *QuoteRequest) GetDepositOutpoints() []string

func (*QuoteRequest) GetExternalHtlc

func (x *QuoteRequest) GetExternalHtlc() bool

func (*QuoteRequest) GetLoopInLastHop

func (x *QuoteRequest) GetLoopInLastHop() []byte

func (*QuoteRequest) GetLoopInRouteHints

func (x *QuoteRequest) GetLoopInRouteHints() []*swapserverrpc.RouteHint

func (*QuoteRequest) GetPrivate

func (x *QuoteRequest) GetPrivate() bool

func (*QuoteRequest) GetSwapPublicationDeadline

func (x *QuoteRequest) GetSwapPublicationDeadline() uint64

func (*QuoteRequest) ProtoMessage

func (*QuoteRequest) ProtoMessage()

func (*QuoteRequest) ProtoReflect

func (x *QuoteRequest) ProtoReflect() protoreflect.Message

func (*QuoteRequest) Reset

func (x *QuoteRequest) Reset()

func (*QuoteRequest) String

func (x *QuoteRequest) String() string

type SetLiquidityParamsRequest

type SetLiquidityParamsRequest struct {

	// Parameters is the desired new set of parameters for the liquidity management
	// subsystem. Note that the current set of parameters will be completely
	// overwritten by the parameters provided (if they are valid), so the full set
	// of parameters should be provided for each call.
	Parameters *LiquidityParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*SetLiquidityParamsRequest) Descriptor deprecated

func (*SetLiquidityParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLiquidityParamsRequest.ProtoReflect.Descriptor instead.

func (*SetLiquidityParamsRequest) GetParameters

func (x *SetLiquidityParamsRequest) GetParameters() *LiquidityParameters

func (*SetLiquidityParamsRequest) ProtoMessage

func (*SetLiquidityParamsRequest) ProtoMessage()

func (*SetLiquidityParamsRequest) ProtoReflect

func (*SetLiquidityParamsRequest) Reset

func (x *SetLiquidityParamsRequest) Reset()

func (*SetLiquidityParamsRequest) String

func (x *SetLiquidityParamsRequest) String() string

type SetLiquidityParamsResponse

type SetLiquidityParamsResponse struct {
	// contains filtered or unexported fields
}

func (*SetLiquidityParamsResponse) Descriptor deprecated

func (*SetLiquidityParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetLiquidityParamsResponse.ProtoReflect.Descriptor instead.

func (*SetLiquidityParamsResponse) ProtoMessage

func (*SetLiquidityParamsResponse) ProtoMessage()

func (*SetLiquidityParamsResponse) ProtoReflect

func (*SetLiquidityParamsResponse) Reset

func (x *SetLiquidityParamsResponse) Reset()

func (*SetLiquidityParamsResponse) String

func (x *SetLiquidityParamsResponse) String() string

type StaticAddressLoopInRequest added in v1.0.2

type StaticAddressLoopInRequest struct {

	// The outpoints of the deposits to loop-in.
	Outpoints []string `protobuf:"bytes,1,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// Maximum satoshis we are willing to pay the server for the swap. This value
	// is not disclosed in the swap initiation call, but if the server asks for a
	// higher fee, we abort the swap. Typically this value is taken from the
	// response of the GetQuote call.
	MaxSwapFeeSatoshis int64 `protobuf:"varint,2,opt,name=max_swap_fee_satoshis,json=maxSwapFeeSatoshis,proto3" json:"max_swap_fee_satoshis,omitempty"`
	// Optionally the client can specify the last hop pubkey when requesting a
	// loop-in quote. This is useful to get better off-chain routing fee from the
	// server.
	LastHop []byte `protobuf:"bytes,3,opt,name=last_hop,json=lastHop,proto3" json:"last_hop,omitempty"`
	// An optional label for this swap. This field is limited to 500 characters and
	// may not be one of the reserved values in loop/labels Reserved list.
	Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// An optional identification string that will be appended to the user agent
	// string sent to the server to give information about the usage of loop. This
	// initiator part is meant for user interfaces to add their name to give the
	// full picture of the binary used (loopd, LiT) and the method used for
	// triggering the swap (loop CLI, autolooper, LiT UI, other 3rd party UI).
	Initiator string `protobuf:"bytes,5,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// Optional route hints to reach the destination through private channels.
	RouteHints []*swapserverrpc.RouteHint `protobuf:"bytes,6,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
	// Private indicates whether the destination node should be considered private.
	// In which case, loop will generate hop hints to assist with probing and
	// payment.
	Private bool `protobuf:"varint,7,opt,name=private,proto3" json:"private,omitempty"`
	// The swap payment timeout allows the user to specify an upper limit for the
	// amount of time the server is allowed to take to fulfill the off-chain swap
	// payment. If the timeout is reached the swap will be aborted on the server
	// side and the client can retry the swap with different parameters.
	PaymentTimeoutSeconds uint32 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StaticAddressLoopInRequest) Descriptor deprecated added in v1.0.2

func (*StaticAddressLoopInRequest) Descriptor() ([]byte, []int)

Deprecated: Use StaticAddressLoopInRequest.ProtoReflect.Descriptor instead.

func (*StaticAddressLoopInRequest) GetInitiator added in v1.0.2

func (x *StaticAddressLoopInRequest) GetInitiator() string

func (*StaticAddressLoopInRequest) GetLabel added in v1.0.2

func (x *StaticAddressLoopInRequest) GetLabel() string

func (*StaticAddressLoopInRequest) GetLastHop added in v1.0.2

func (x *StaticAddressLoopInRequest) GetLastHop() []byte

func (*StaticAddressLoopInRequest) GetMaxSwapFeeSatoshis added in v1.0.2

func (x *StaticAddressLoopInRequest) GetMaxSwapFeeSatoshis() int64

func (*StaticAddressLoopInRequest) GetOutpoints added in v1.0.2

func (x *StaticAddressLoopInRequest) GetOutpoints() []string

func (*StaticAddressLoopInRequest) GetPaymentTimeoutSeconds added in v1.0.2

func (x *StaticAddressLoopInRequest) GetPaymentTimeoutSeconds() uint32

func (*StaticAddressLoopInRequest) GetPrivate added in v1.0.2

func (x *StaticAddressLoopInRequest) GetPrivate() bool

func (*StaticAddressLoopInRequest) GetRouteHints added in v1.0.2

func (x *StaticAddressLoopInRequest) GetRouteHints() []*swapserverrpc.RouteHint

func (*StaticAddressLoopInRequest) ProtoMessage added in v1.0.2

func (*StaticAddressLoopInRequest) ProtoMessage()

func (*StaticAddressLoopInRequest) ProtoReflect added in v1.0.2

func (*StaticAddressLoopInRequest) Reset added in v1.0.2

func (x *StaticAddressLoopInRequest) Reset()

func (*StaticAddressLoopInRequest) String added in v1.0.2

func (x *StaticAddressLoopInRequest) String() string

type StaticAddressLoopInResponse added in v1.0.2

type StaticAddressLoopInResponse struct {

	// The swap hash that identifies this swap.
	SwapHash []byte `protobuf:"bytes,1,opt,name=swap_hash,json=swapHash,proto3" json:"swap_hash,omitempty"`
	// The state the swap is in.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The amount of the swap.
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// The htlc cltv expiry height of the swap.
	HtlcCltv int32 `protobuf:"varint,4,opt,name=htlc_cltv,json=htlcCltv,proto3" json:"htlc_cltv,omitempty"`
	// The quoted swap fee in satoshis.
	QuotedSwapFeeSatoshis int64 `` /* 129-byte string literal not displayed */
	// The maximum total swap fee the client is willing to pay for the swap.
	MaxSwapFeeSatoshis int64 `protobuf:"varint,6,opt,name=max_swap_fee_satoshis,json=maxSwapFeeSatoshis,proto3" json:"max_swap_fee_satoshis,omitempty"`
	// The block height at which the swap was initiated.
	InitiationHeight uint32 `protobuf:"varint,7,opt,name=initiation_height,json=initiationHeight,proto3" json:"initiation_height,omitempty"`
	// The static address protocol version.
	ProtocolVersion string `protobuf:"bytes,8,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	// An optional label for this swap.
	Label string `protobuf:"bytes,9,opt,name=label,proto3" json:"label,omitempty"`
	// An optional identification string that will be appended to the user agent
	// string sent to the server to give information about the usage of loop. This
	// initiator part is meant for user interfaces to add their name to give the
	// full picture of the binary used (loopd, LiT) and the method used for
	// triggering the swap (loop CLI, autolooper, LiT UI, other 3rd party UI).
	Initiator string `protobuf:"bytes,10,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// The swap payment timeout allows the user to specify an upper limit for the
	// amount of time the server is allowed to take to fulfill the off-chain swap
	// payment. If the timeout is reached the swap will be aborted on the server
	// side and the client can retry the swap with different parameters.
	PaymentTimeoutSeconds uint32 `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StaticAddressLoopInResponse) Descriptor deprecated added in v1.0.2

func (*StaticAddressLoopInResponse) Descriptor() ([]byte, []int)

Deprecated: Use StaticAddressLoopInResponse.ProtoReflect.Descriptor instead.

func (*StaticAddressLoopInResponse) GetAmount added in v1.0.2

func (x *StaticAddressLoopInResponse) GetAmount() uint64

func (*StaticAddressLoopInResponse) GetHtlcCltv added in v1.0.2

func (x *StaticAddressLoopInResponse) GetHtlcCltv() int32

func (*StaticAddressLoopInResponse) GetInitiationHeight added in v1.0.2

func (x *StaticAddressLoopInResponse) GetInitiationHeight() uint32

func (*StaticAddressLoopInResponse) GetInitiator added in v1.0.2

func (x *StaticAddressLoopInResponse) GetInitiator() string

func (*StaticAddressLoopInResponse) GetLabel added in v1.0.2

func (x *StaticAddressLoopInResponse) GetLabel() string

func (*StaticAddressLoopInResponse) GetMaxSwapFeeSatoshis added in v1.0.2

func (x *StaticAddressLoopInResponse) GetMaxSwapFeeSatoshis() int64

func (*StaticAddressLoopInResponse) GetPaymentTimeoutSeconds added in v1.0.2

func (x *StaticAddressLoopInResponse) GetPaymentTimeoutSeconds() uint32

func (*StaticAddressLoopInResponse) GetProtocolVersion added in v1.0.2

func (x *StaticAddressLoopInResponse) GetProtocolVersion() string

func (*StaticAddressLoopInResponse) GetQuotedSwapFeeSatoshis added in v1.0.2

func (x *StaticAddressLoopInResponse) GetQuotedSwapFeeSatoshis() int64

func (*StaticAddressLoopInResponse) GetState added in v1.0.2

func (x *StaticAddressLoopInResponse) GetState() string

func (*StaticAddressLoopInResponse) GetSwapHash added in v1.0.2

func (x *StaticAddressLoopInResponse) GetSwapHash() []byte

func (*StaticAddressLoopInResponse) ProtoMessage added in v1.0.2

func (*StaticAddressLoopInResponse) ProtoMessage()

func (*StaticAddressLoopInResponse) ProtoReflect added in v1.0.2

func (*StaticAddressLoopInResponse) Reset added in v1.0.2

func (x *StaticAddressLoopInResponse) Reset()

func (*StaticAddressLoopInResponse) String added in v1.0.2

func (x *StaticAddressLoopInResponse) String() string

type StaticAddressLoopInSwap added in v1.0.2

type StaticAddressLoopInSwap struct {

	// The swap hash of the swap. It represents the unique identifier of the swap.
	SwapHash         []byte                       `protobuf:"bytes,1,opt,name=swap_hash,json=swapHash,proto3" json:"swap_hash,omitempty"`
	DepositOutpoints []string                     `protobuf:"bytes,2,rep,name=deposit_outpoints,json=depositOutpoints,proto3" json:"deposit_outpoints,omitempty"`
	State            StaticAddressLoopInSwapState `protobuf:"varint,3,opt,name=state,proto3,enum=looprpc.StaticAddressLoopInSwapState" json:"state,omitempty"`
	// The swap amount of the swap. It is the sum of the values of the deposit
	// outpoints that were used for this swap.
	SwapAmountSatoshis int64 `protobuf:"varint,4,opt,name=swap_amount_satoshis,json=swapAmountSatoshis,proto3" json:"swap_amount_satoshis,omitempty"`
	// The invoiced swap amount. It is the swap amount minus the quoted server
	// fees.
	PaymentRequestAmountSatoshis int64 `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StaticAddressLoopInSwap) Descriptor deprecated added in v1.0.2

func (*StaticAddressLoopInSwap) Descriptor() ([]byte, []int)

Deprecated: Use StaticAddressLoopInSwap.ProtoReflect.Descriptor instead.

func (*StaticAddressLoopInSwap) GetDepositOutpoints added in v1.0.2

func (x *StaticAddressLoopInSwap) GetDepositOutpoints() []string

func (*StaticAddressLoopInSwap) GetPaymentRequestAmountSatoshis added in v1.0.2

func (x *StaticAddressLoopInSwap) GetPaymentRequestAmountSatoshis() int64

func (*StaticAddressLoopInSwap) GetState added in v1.0.2

func (*StaticAddressLoopInSwap) GetSwapAmountSatoshis added in v1.0.2

func (x *StaticAddressLoopInSwap) GetSwapAmountSatoshis() int64

func (*StaticAddressLoopInSwap) GetSwapHash added in v1.0.2

func (x *StaticAddressLoopInSwap) GetSwapHash() []byte

func (*StaticAddressLoopInSwap) ProtoMessage added in v1.0.2

func (*StaticAddressLoopInSwap) ProtoMessage()

func (*StaticAddressLoopInSwap) ProtoReflect added in v1.0.2

func (x *StaticAddressLoopInSwap) ProtoReflect() protoreflect.Message

func (*StaticAddressLoopInSwap) Reset added in v1.0.2

func (x *StaticAddressLoopInSwap) Reset()

func (*StaticAddressLoopInSwap) String added in v1.0.2

func (x *StaticAddressLoopInSwap) String() string

type StaticAddressLoopInSwapState added in v1.0.2

type StaticAddressLoopInSwapState int32
const (
	StaticAddressLoopInSwapState_UNKNOWN_STATIC_ADDRESS_SWAP_STATE StaticAddressLoopInSwapState = 0
	StaticAddressLoopInSwapState_INIT_HTLC                         StaticAddressLoopInSwapState = 1
	StaticAddressLoopInSwapState_SIGN_HTLC_TX                      StaticAddressLoopInSwapState = 2
	StaticAddressLoopInSwapState_MONITOR_INVOICE_HTLC_TX           StaticAddressLoopInSwapState = 3
	StaticAddressLoopInSwapState_PAYMENT_RECEIVED                  StaticAddressLoopInSwapState = 4
	StaticAddressLoopInSwapState_SWEEP_STATIC_ADDRESS_HTLC_TIMEOUT StaticAddressLoopInSwapState = 5
	StaticAddressLoopInSwapState_MONITOR_HTLC_TIMEOUT_SWEEP        StaticAddressLoopInSwapState = 6
	StaticAddressLoopInSwapState_HTLC_STATIC_ADDRESS_TIMEOUT_SWEPT StaticAddressLoopInSwapState = 7
	StaticAddressLoopInSwapState_SUCCEEDED                         StaticAddressLoopInSwapState = 8
	StaticAddressLoopInSwapState_SUCCEEDED_TRANSITIONING_FAILED    StaticAddressLoopInSwapState = 9
	StaticAddressLoopInSwapState_UNLOCK_DEPOSITS                   StaticAddressLoopInSwapState = 10
	StaticAddressLoopInSwapState_FAILED_STATIC_ADDRESS_SWAP        StaticAddressLoopInSwapState = 11
)

func (StaticAddressLoopInSwapState) Descriptor added in v1.0.2

func (StaticAddressLoopInSwapState) Enum added in v1.0.2

func (StaticAddressLoopInSwapState) EnumDescriptor deprecated added in v1.0.2

func (StaticAddressLoopInSwapState) EnumDescriptor() ([]byte, []int)

Deprecated: Use StaticAddressLoopInSwapState.Descriptor instead.

func (StaticAddressLoopInSwapState) Number added in v1.0.2

func (StaticAddressLoopInSwapState) String added in v1.0.2

func (StaticAddressLoopInSwapState) Type added in v1.0.2

type StaticAddressSummaryRequest added in v1.0.2

type StaticAddressSummaryRequest struct {
	// contains filtered or unexported fields
}

func (*StaticAddressSummaryRequest) Descriptor deprecated added in v1.0.2

func (*StaticAddressSummaryRequest) Descriptor() ([]byte, []int)

Deprecated: Use StaticAddressSummaryRequest.ProtoReflect.Descriptor instead.

func (*StaticAddressSummaryRequest) ProtoMessage added in v1.0.2

func (*StaticAddressSummaryRequest) ProtoMessage()

func (*StaticAddressSummaryRequest) ProtoReflect added in v1.0.2

func (*StaticAddressSummaryRequest) Reset added in v1.0.2

func (x *StaticAddressSummaryRequest) Reset()

func (*StaticAddressSummaryRequest) String added in v1.0.2

func (x *StaticAddressSummaryRequest) String() string

type StaticAddressSummaryResponse added in v1.0.2

type StaticAddressSummaryResponse struct {

	// The static address of the client.
	StaticAddress string `protobuf:"bytes,1,opt,name=static_address,json=staticAddress,proto3" json:"static_address,omitempty"`
	// The CSV expiry of the static address.
	RelativeExpiryBlocks uint64 `protobuf:"varint,2,opt,name=relative_expiry_blocks,json=relativeExpiryBlocks,proto3" json:"relative_expiry_blocks,omitempty"`
	// The total number of deposits.
	TotalNumDeposits uint32 `protobuf:"varint,3,opt,name=total_num_deposits,json=totalNumDeposits,proto3" json:"total_num_deposits,omitempty"`
	// The total value of unconfirmed deposits.
	ValueUnconfirmedSatoshis int64 `` /* 136-byte string literal not displayed */
	// The total value of confirmed deposits.
	ValueDepositedSatoshis int64 `` /* 130-byte string literal not displayed */
	// The total value of all expired deposits.
	ValueExpiredSatoshis int64 `protobuf:"varint,6,opt,name=value_expired_satoshis,json=valueExpiredSatoshis,proto3" json:"value_expired_satoshis,omitempty"`
	// The total value of all deposits that have been withdrawn.
	ValueWithdrawnSatoshis int64 `` /* 130-byte string literal not displayed */
	// The total value of all loop-ins that have been finalized.
	ValueLoopedInSatoshis int64 `` /* 129-byte string literal not displayed */
	// The total value of all htlc timeout sweeps that the client swept.
	ValueHtlcTimeoutSweepsSatoshis int64 `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StaticAddressSummaryResponse) Descriptor deprecated added in v1.0.2

func (*StaticAddressSummaryResponse) Descriptor() ([]byte, []int)

Deprecated: Use StaticAddressSummaryResponse.ProtoReflect.Descriptor instead.

func (*StaticAddressSummaryResponse) GetRelativeExpiryBlocks added in v1.0.2

func (x *StaticAddressSummaryResponse) GetRelativeExpiryBlocks() uint64

func (*StaticAddressSummaryResponse) GetStaticAddress added in v1.0.2

func (x *StaticAddressSummaryResponse) GetStaticAddress() string

func (*StaticAddressSummaryResponse) GetTotalNumDeposits added in v1.0.2

func (x *StaticAddressSummaryResponse) GetTotalNumDeposits() uint32

func (*StaticAddressSummaryResponse) GetValueDepositedSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueDepositedSatoshis() int64

func (*StaticAddressSummaryResponse) GetValueExpiredSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueExpiredSatoshis() int64

func (*StaticAddressSummaryResponse) GetValueHtlcTimeoutSweepsSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueHtlcTimeoutSweepsSatoshis() int64

func (*StaticAddressSummaryResponse) GetValueLoopedInSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueLoopedInSatoshis() int64

func (*StaticAddressSummaryResponse) GetValueUnconfirmedSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueUnconfirmedSatoshis() int64

func (*StaticAddressSummaryResponse) GetValueWithdrawnSatoshis added in v1.0.2

func (x *StaticAddressSummaryResponse) GetValueWithdrawnSatoshis() int64

func (*StaticAddressSummaryResponse) ProtoMessage added in v1.0.2

func (*StaticAddressSummaryResponse) ProtoMessage()

func (*StaticAddressSummaryResponse) ProtoReflect added in v1.0.2

func (*StaticAddressSummaryResponse) Reset added in v1.0.2

func (x *StaticAddressSummaryResponse) Reset()

func (*StaticAddressSummaryResponse) String added in v1.0.2

type SuggestSwapsRequest

type SuggestSwapsRequest struct {
	// contains filtered or unexported fields
}

func (*SuggestSwapsRequest) Descriptor deprecated

func (*SuggestSwapsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SuggestSwapsRequest.ProtoReflect.Descriptor instead.

func (*SuggestSwapsRequest) ProtoMessage

func (*SuggestSwapsRequest) ProtoMessage()

func (*SuggestSwapsRequest) ProtoReflect

func (x *SuggestSwapsRequest) ProtoReflect() protoreflect.Message

func (*SuggestSwapsRequest) Reset

func (x *SuggestSwapsRequest) Reset()

func (*SuggestSwapsRequest) String

func (x *SuggestSwapsRequest) String() string

type SuggestSwapsResponse

type SuggestSwapsResponse struct {

	// The set of recommended loop outs.
	LoopOut []*LoopOutRequest `protobuf:"bytes,1,rep,name=loop_out,json=loopOut,proto3" json:"loop_out,omitempty"`
	// The set of recommended loop in swaps
	LoopIn []*LoopInRequest `protobuf:"bytes,3,rep,name=loop_in,json=loopIn,proto3" json:"loop_in,omitempty"`
	// Disqualified contains the set of channels that swaps are not recommended
	// for.
	Disqualified []*Disqualified `protobuf:"bytes,2,rep,name=disqualified,proto3" json:"disqualified,omitempty"`
	// contains filtered or unexported fields
}

func (*SuggestSwapsResponse) Descriptor deprecated

func (*SuggestSwapsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SuggestSwapsResponse.ProtoReflect.Descriptor instead.

func (*SuggestSwapsResponse) GetDisqualified

func (x *SuggestSwapsResponse) GetDisqualified() []*Disqualified

func (*SuggestSwapsResponse) GetLoopIn

func (x *SuggestSwapsResponse) GetLoopIn() []*LoopInRequest

func (*SuggestSwapsResponse) GetLoopOut

func (x *SuggestSwapsResponse) GetLoopOut() []*LoopOutRequest

func (*SuggestSwapsResponse) ProtoMessage

func (*SuggestSwapsResponse) ProtoMessage()

func (*SuggestSwapsResponse) ProtoReflect

func (x *SuggestSwapsResponse) ProtoReflect() protoreflect.Message

func (*SuggestSwapsResponse) Reset

func (x *SuggestSwapsResponse) Reset()

func (*SuggestSwapsResponse) String

func (x *SuggestSwapsResponse) String() string

type SwapClientClient

type SwapClientClient interface {
	// loop: `out`
	// LoopOut initiates an loop out swap with the given parameters. The call
	// returns after the swap has been set up with the swap server. From that
	// point onwards, progress can be tracked via the SwapStatus stream that is
	// returned from Monitor().
	LoopOut(ctx context.Context, in *LoopOutRequest, opts ...grpc.CallOption) (*SwapResponse, error)
	// loop: `in`
	// LoopIn initiates a loop in swap with the given parameters. The call
	// returns after the swap has been set up with the swap server. From that
	// point onwards, progress can be tracked via the SwapStatus stream
	// that is returned from Monitor().
	LoopIn(ctx context.Context, in *LoopInRequest, opts ...grpc.CallOption) (*SwapResponse, error)
	// loop: `monitor`
	// Monitor will return a stream of swap updates for currently active swaps.
	Monitor(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (SwapClient_MonitorClient, error)
	// loop: `listswaps`
	// ListSwaps returns a list of all currently known swaps and their current
	// status.
	ListSwaps(ctx context.Context, in *ListSwapsRequest, opts ...grpc.CallOption) (*ListSwapsResponse, error)
	// loop: `swapinfo`
	// SwapInfo returns all known details about a single swap.
	SwapInfo(ctx context.Context, in *SwapInfoRequest, opts ...grpc.CallOption) (*SwapStatus, error)
	// loop: `abandonswap`
	// AbandonSwap allows the client to abandon a swap.
	AbandonSwap(ctx context.Context, in *AbandonSwapRequest, opts ...grpc.CallOption) (*AbandonSwapResponse, error)
	// loop: `terms`
	// LoopOutTerms returns the terms that the server enforces for a loop out swap.
	LoopOutTerms(ctx context.Context, in *TermsRequest, opts ...grpc.CallOption) (*OutTermsResponse, error)
	// loop: `quote`
	// LoopOutQuote returns a quote for a loop out swap with the provided
	// parameters.
	LoopOutQuote(ctx context.Context, in *QuoteRequest, opts ...grpc.CallOption) (*OutQuoteResponse, error)
	// loop: `terms`
	// GetTerms returns the terms that the server enforces for swaps.
	GetLoopInTerms(ctx context.Context, in *TermsRequest, opts ...grpc.CallOption) (*InTermsResponse, error)
	// loop: `quote`
	// GetQuote returns a quote for a swap with the provided parameters.
	GetLoopInQuote(ctx context.Context, in *QuoteRequest, opts ...grpc.CallOption) (*InQuoteResponse, error)
	// Probe asks he sever to probe the route to us to have a better upfront
	// estimate about routing fees when loopin-in.
	Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeResponse, error)
	// loop: `listauth`
	// GetL402Tokens returns all L402 tokens the daemon ever paid for.
	GetL402Tokens(ctx context.Context, in *TokensRequest, opts ...grpc.CallOption) (*TokensResponse, error)
	// Deprecated: use GetL402Tokens.
	// This API is provided to maintain backward compatibility with gRPC clients
	// (e.g. `loop listauth`, Terminal Web, RTL).
	// Type LsatToken used by GetLsatTokens in the past was renamed to L402Token,
	// but this does not affect binary encoding, so we can use type L402Token here.
	GetLsatTokens(ctx context.Context, in *TokensRequest, opts ...grpc.CallOption) (*TokensResponse, error)
	// loop: `fetchl402`
	// FetchL402Token fetches an L402 token from the server, this is required in
	// order to receive reservation notifications from the server.
	FetchL402Token(ctx context.Context, in *FetchL402TokenRequest, opts ...grpc.CallOption) (*FetchL402TokenResponse, error)
	// loop: `getinfo`
	// GetInfo gets basic information about the loop daemon.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	// loop: `getparams`
	// GetLiquidityParams gets the parameters that the daemon's liquidity manager
	// is currently configured with. This may be nil if nothing is configured.
	// [EXPERIMENTAL]: endpoint is subject to change.
	GetLiquidityParams(ctx context.Context, in *GetLiquidityParamsRequest, opts ...grpc.CallOption) (*LiquidityParameters, error)
	// loop: `setparams`
	// SetLiquidityParams sets a new set of parameters for the daemon's liquidity
	// manager. Note that the full set of parameters must be provided, because
	// this call fully overwrites our existing parameters.
	// [EXPERIMENTAL]: endpoint is subject to change.
	SetLiquidityParams(ctx context.Context, in *SetLiquidityParamsRequest, opts ...grpc.CallOption) (*SetLiquidityParamsResponse, error)
	// loop: `suggestswaps`
	// SuggestSwaps returns a list of recommended swaps based on the current
	// state of your node's channels and it's liquidity manager parameters.
	// Note that only loop out suggestions are currently supported.
	// [EXPERIMENTAL]: endpoint is subject to change.
	SuggestSwaps(ctx context.Context, in *SuggestSwapsRequest, opts ...grpc.CallOption) (*SuggestSwapsResponse, error)
	// loop: `listreservations`
	// ListReservations returns a list of all reservations the server opened to us.
	ListReservations(ctx context.Context, in *ListReservationsRequest, opts ...grpc.CallOption) (*ListReservationsResponse, error)
	// loop: `instantout`
	// InstantOut initiates an instant out swap with the given parameters.
	InstantOut(ctx context.Context, in *InstantOutRequest, opts ...grpc.CallOption) (*InstantOutResponse, error)
	// loop: `instantoutquote`
	// InstantOutQuote returns a quote for an instant out swap with the provided
	// parameters.
	InstantOutQuote(ctx context.Context, in *InstantOutQuoteRequest, opts ...grpc.CallOption) (*InstantOutQuoteResponse, error)
	// loop: `listinstantouts`
	// ListInstantOuts returns a list of all currently known instant out swaps and
	// their current status.
	ListInstantOuts(ctx context.Context, in *ListInstantOutsRequest, opts ...grpc.CallOption) (*ListInstantOutsResponse, error)
	// loop: `static newstaticaddress`
	// NewStaticAddress requests a new static address for loop-ins from the server.
	NewStaticAddress(ctx context.Context, in *NewStaticAddressRequest, opts ...grpc.CallOption) (*NewStaticAddressResponse, error)
	// loop: `static listunspentdeposits`
	// ListUnspentDeposits returns a list of utxos deposited at a static address.
	ListUnspentDeposits(ctx context.Context, in *ListUnspentDepositsRequest, opts ...grpc.CallOption) (*ListUnspentDepositsResponse, error)
	// loop:`static withdraw`
	// WithdrawDeposits withdraws a selection or all deposits of a static address.
	WithdrawDeposits(ctx context.Context, in *WithdrawDepositsRequest, opts ...grpc.CallOption) (*WithdrawDepositsResponse, error)
	// loop:`listdeposits`
	// ListStaticAddressDeposits returns a list of filtered static address
	// deposits.
	ListStaticAddressDeposits(ctx context.Context, in *ListStaticAddressDepositsRequest, opts ...grpc.CallOption) (*ListStaticAddressDepositsResponse, error)
	// loop:`listswaps`
	// ListStaticAddressSwaps returns a list of filtered static address
	// swaps.
	ListStaticAddressSwaps(ctx context.Context, in *ListStaticAddressSwapsRequest, opts ...grpc.CallOption) (*ListStaticAddressSwapsResponse, error)
	// loop:`static summary`
	// GetStaticAddressSummary returns a summary of static address related
	// statistics.
	GetStaticAddressSummary(ctx context.Context, in *StaticAddressSummaryRequest, opts ...grpc.CallOption) (*StaticAddressSummaryResponse, error)
	// loop:`static`
	// StaticAddressLoopIn initiates a static address loop-in swap.
	StaticAddressLoopIn(ctx context.Context, in *StaticAddressLoopInRequest, opts ...grpc.CallOption) (*StaticAddressLoopInResponse, error)
}

SwapClientClient is the client API for SwapClient service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSwapClientClient

func NewSwapClientClient(cc grpc.ClientConnInterface) SwapClientClient

type SwapClientServer

type SwapClientServer interface {
	// loop: `out`
	// LoopOut initiates an loop out swap with the given parameters. The call
	// returns after the swap has been set up with the swap server. From that
	// point onwards, progress can be tracked via the SwapStatus stream that is
	// returned from Monitor().
	LoopOut(context.Context, *LoopOutRequest) (*SwapResponse, error)
	// loop: `in`
	// LoopIn initiates a loop in swap with the given parameters. The call
	// returns after the swap has been set up with the swap server. From that
	// point onwards, progress can be tracked via the SwapStatus stream
	// that is returned from Monitor().
	LoopIn(context.Context, *LoopInRequest) (*SwapResponse, error)
	// loop: `monitor`
	// Monitor will return a stream of swap updates for currently active swaps.
	Monitor(*MonitorRequest, SwapClient_MonitorServer) error
	// loop: `listswaps`
	// ListSwaps returns a list of all currently known swaps and their current
	// status.
	ListSwaps(context.Context, *ListSwapsRequest) (*ListSwapsResponse, error)
	// loop: `swapinfo`
	// SwapInfo returns all known details about a single swap.
	SwapInfo(context.Context, *SwapInfoRequest) (*SwapStatus, error)
	// loop: `abandonswap`
	// AbandonSwap allows the client to abandon a swap.
	AbandonSwap(context.Context, *AbandonSwapRequest) (*AbandonSwapResponse, error)
	// loop: `terms`
	// LoopOutTerms returns the terms that the server enforces for a loop out swap.
	LoopOutTerms(context.Context, *TermsRequest) (*OutTermsResponse, error)
	// loop: `quote`
	// LoopOutQuote returns a quote for a loop out swap with the provided
	// parameters.
	LoopOutQuote(context.Context, *QuoteRequest) (*OutQuoteResponse, error)
	// loop: `terms`
	// GetTerms returns the terms that the server enforces for swaps.
	GetLoopInTerms(context.Context, *TermsRequest) (*InTermsResponse, error)
	// loop: `quote`
	// GetQuote returns a quote for a swap with the provided parameters.
	GetLoopInQuote(context.Context, *QuoteRequest) (*InQuoteResponse, error)
	// Probe asks he sever to probe the route to us to have a better upfront
	// estimate about routing fees when loopin-in.
	Probe(context.Context, *ProbeRequest) (*ProbeResponse, error)
	// loop: `listauth`
	// GetL402Tokens returns all L402 tokens the daemon ever paid for.
	GetL402Tokens(context.Context, *TokensRequest) (*TokensResponse, error)
	// Deprecated: use GetL402Tokens.
	// This API is provided to maintain backward compatibility with gRPC clients
	// (e.g. `loop listauth`, Terminal Web, RTL).
	// Type LsatToken used by GetLsatTokens in the past was renamed to L402Token,
	// but this does not affect binary encoding, so we can use type L402Token here.
	GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error)
	// loop: `fetchl402`
	// FetchL402Token fetches an L402 token from the server, this is required in
	// order to receive reservation notifications from the server.
	FetchL402Token(context.Context, *FetchL402TokenRequest) (*FetchL402TokenResponse, error)
	// loop: `getinfo`
	// GetInfo gets basic information about the loop daemon.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// loop: `getparams`
	// GetLiquidityParams gets the parameters that the daemon's liquidity manager
	// is currently configured with. This may be nil if nothing is configured.
	// [EXPERIMENTAL]: endpoint is subject to change.
	GetLiquidityParams(context.Context, *GetLiquidityParamsRequest) (*LiquidityParameters, error)
	// loop: `setparams`
	// SetLiquidityParams sets a new set of parameters for the daemon's liquidity
	// manager. Note that the full set of parameters must be provided, because
	// this call fully overwrites our existing parameters.
	// [EXPERIMENTAL]: endpoint is subject to change.
	SetLiquidityParams(context.Context, *SetLiquidityParamsRequest) (*SetLiquidityParamsResponse, error)
	// loop: `suggestswaps`
	// SuggestSwaps returns a list of recommended swaps based on the current
	// state of your node's channels and it's liquidity manager parameters.
	// Note that only loop out suggestions are currently supported.
	// [EXPERIMENTAL]: endpoint is subject to change.
	SuggestSwaps(context.Context, *SuggestSwapsRequest) (*SuggestSwapsResponse, error)
	// loop: `listreservations`
	// ListReservations returns a list of all reservations the server opened to us.
	ListReservations(context.Context, *ListReservationsRequest) (*ListReservationsResponse, error)
	// loop: `instantout`
	// InstantOut initiates an instant out swap with the given parameters.
	InstantOut(context.Context, *InstantOutRequest) (*InstantOutResponse, error)
	// loop: `instantoutquote`
	// InstantOutQuote returns a quote for an instant out swap with the provided
	// parameters.
	InstantOutQuote(context.Context, *InstantOutQuoteRequest) (*InstantOutQuoteResponse, error)
	// loop: `listinstantouts`
	// ListInstantOuts returns a list of all currently known instant out swaps and
	// their current status.
	ListInstantOuts(context.Context, *ListInstantOutsRequest) (*ListInstantOutsResponse, error)
	// loop: `static newstaticaddress`
	// NewStaticAddress requests a new static address for loop-ins from the server.
	NewStaticAddress(context.Context, *NewStaticAddressRequest) (*NewStaticAddressResponse, error)
	// loop: `static listunspentdeposits`
	// ListUnspentDeposits returns a list of utxos deposited at a static address.
	ListUnspentDeposits(context.Context, *ListUnspentDepositsRequest) (*ListUnspentDepositsResponse, error)
	// loop:`static withdraw`
	// WithdrawDeposits withdraws a selection or all deposits of a static address.
	WithdrawDeposits(context.Context, *WithdrawDepositsRequest) (*WithdrawDepositsResponse, error)
	// loop:`listdeposits`
	// ListStaticAddressDeposits returns a list of filtered static address
	// deposits.
	ListStaticAddressDeposits(context.Context, *ListStaticAddressDepositsRequest) (*ListStaticAddressDepositsResponse, error)
	// loop:`listswaps`
	// ListStaticAddressSwaps returns a list of filtered static address
	// swaps.
	ListStaticAddressSwaps(context.Context, *ListStaticAddressSwapsRequest) (*ListStaticAddressSwapsResponse, error)
	// loop:`static summary`
	// GetStaticAddressSummary returns a summary of static address related
	// statistics.
	GetStaticAddressSummary(context.Context, *StaticAddressSummaryRequest) (*StaticAddressSummaryResponse, error)
	// loop:`static`
	// StaticAddressLoopIn initiates a static address loop-in swap.
	StaticAddressLoopIn(context.Context, *StaticAddressLoopInRequest) (*StaticAddressLoopInResponse, error)
	// contains filtered or unexported methods
}

SwapClientServer is the server API for SwapClient service. All implementations must embed UnimplementedSwapClientServer for forward compatibility

type SwapClient_MonitorClient

type SwapClient_MonitorClient interface {
	Recv() (*SwapStatus, error)
	grpc.ClientStream
}

type SwapClient_MonitorServer

type SwapClient_MonitorServer interface {
	Send(*SwapStatus) error
	grpc.ServerStream
}

type SwapInfoRequest

type SwapInfoRequest struct {

	// The swap identifier which currently is the hash that locks the HTLCs. When
	// using REST, this field must be encoded as URL safe base64.
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapInfoRequest) Descriptor deprecated

func (*SwapInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use SwapInfoRequest.ProtoReflect.Descriptor instead.

func (*SwapInfoRequest) GetId

func (x *SwapInfoRequest) GetId() []byte

func (*SwapInfoRequest) ProtoMessage

func (*SwapInfoRequest) ProtoMessage()

func (*SwapInfoRequest) ProtoReflect

func (x *SwapInfoRequest) ProtoReflect() protoreflect.Message

func (*SwapInfoRequest) Reset

func (x *SwapInfoRequest) Reset()

func (*SwapInfoRequest) String

func (x *SwapInfoRequest) String() string

type SwapResponse

type SwapResponse struct {

	// Swap identifier to track status in the update stream that is returned from
	// the Start() call. Currently this is the hash that locks the htlcs.
	// DEPRECATED: To make the API more consistent, this field is deprecated in
	// favor of id_bytes and will be removed in a future release.
	//
	// Deprecated: Marked as deprecated in client.proto.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Swap identifier to track status in the update stream that is returned from
	// the Start() call. Currently this is the hash that locks the htlcs.
	IdBytes []byte `protobuf:"bytes,3,opt,name=id_bytes,json=idBytes,proto3" json:"id_bytes,omitempty"`
	// DEPRECATED. This field stores the address of the onchain htlc, but
	// depending on the request, the semantics are different.
	// - For internal loop-in htlc_address contains the address of the
	// native segwit (P2WSH) htlc.
	// /    - For loop-out htlc_address always contains the native segwit (P2WSH)
	// htlc address.
	//
	// Deprecated: Marked as deprecated in client.proto.
	HtlcAddress string `protobuf:"bytes,2,opt,name=htlc_address,json=htlcAddress,proto3" json:"htlc_address,omitempty"`
	// The native segwit address of the on-chain htlc.
	// Used for both loop-in and loop-out.
	HtlcAddressP2Wsh string `protobuf:"bytes,5,opt,name=htlc_address_p2wsh,json=htlcAddressP2wsh,proto3" json:"htlc_address_p2wsh,omitempty"`
	// The address of the v3 (taproot) htlc. Used for both loop-in and loop-out.
	HtlcAddressP2Tr string `protobuf:"bytes,7,opt,name=htlc_address_p2tr,json=htlcAddressP2tr,proto3" json:"htlc_address_p2tr,omitempty"`
	// A human-readable message received from the loop server.
	ServerMessage string `protobuf:"bytes,6,opt,name=server_message,json=serverMessage,proto3" json:"server_message,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapResponse) Descriptor deprecated

func (*SwapResponse) Descriptor() ([]byte, []int)

Deprecated: Use SwapResponse.ProtoReflect.Descriptor instead.

func (*SwapResponse) GetHtlcAddress deprecated

func (x *SwapResponse) GetHtlcAddress() string

Deprecated: Marked as deprecated in client.proto.

func (*SwapResponse) GetHtlcAddressP2Tr

func (x *SwapResponse) GetHtlcAddressP2Tr() string

func (*SwapResponse) GetHtlcAddressP2Wsh

func (x *SwapResponse) GetHtlcAddressP2Wsh() string

func (*SwapResponse) GetId deprecated

func (x *SwapResponse) GetId() string

Deprecated: Marked as deprecated in client.proto.

func (*SwapResponse) GetIdBytes

func (x *SwapResponse) GetIdBytes() []byte

func (*SwapResponse) GetServerMessage

func (x *SwapResponse) GetServerMessage() string

func (*SwapResponse) ProtoMessage

func (*SwapResponse) ProtoMessage()

func (*SwapResponse) ProtoReflect

func (x *SwapResponse) ProtoReflect() protoreflect.Message

func (*SwapResponse) Reset

func (x *SwapResponse) Reset()

func (*SwapResponse) String

func (x *SwapResponse) String() string

type SwapState

type SwapState int32
const (
	// INITIATED is the initial state of a swap. At that point, the initiation
	// call to the server has been made and the payment process has been started
	// for the swap and prepayment invoices.
	SwapState_INITIATED SwapState = 0
	// PREIMAGE_REVEALED is reached when the sweep tx publication is first
	// attempted. From that point on, we should consider the preimage to no
	// longer be secret and we need to do all we can to get the sweep confirmed.
	// This state will mostly coalesce with StateHtlcConfirmed, except in the
	// case where we wait for fees to come down before we sweep.
	SwapState_PREIMAGE_REVEALED SwapState = 1
	// HTLC_PUBLISHED is reached when the htlc tx has been published in a loop in
	// swap.
	SwapState_HTLC_PUBLISHED SwapState = 2
	// SUCCESS is the final swap state that is reached when the sweep tx has
	// the required confirmation depth.
	SwapState_SUCCESS SwapState = 3
	// FAILED is the final swap state for a failed swap with or without loss of
	// the swap amount.
	SwapState_FAILED SwapState = 4
	// INVOICE_SETTLED is reached when the swap invoice in a loop in swap has been
	// paid, but we are still waiting for the htlc spend to confirm.
	SwapState_INVOICE_SETTLED SwapState = 5
)

func (SwapState) Descriptor

func (SwapState) Descriptor() protoreflect.EnumDescriptor

func (SwapState) Enum

func (x SwapState) Enum() *SwapState

func (SwapState) EnumDescriptor deprecated

func (SwapState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SwapState.Descriptor instead.

func (SwapState) Number

func (x SwapState) Number() protoreflect.EnumNumber

func (SwapState) String

func (x SwapState) String() string

func (SwapState) Type

type SwapStatus

type SwapStatus struct {

	// Requested swap amount in sat. This does not include the swap and miner
	// fee.
	Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
	// Swap identifier to track status in the update stream that is returned from
	// the Start() call. Currently this is the hash that locks the htlcs.
	// DEPRECATED: To make the API more consistent, this field is deprecated in
	// favor of id_bytes and will be removed in a future release.
	//
	// Deprecated: Marked as deprecated in client.proto.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Swap identifier to track status in the update stream that is returned from
	// the Start() call. Currently this is the hash that locks the htlcs.
	IdBytes []byte `protobuf:"bytes,11,opt,name=id_bytes,json=idBytes,proto3" json:"id_bytes,omitempty"`
	// The type of the swap.
	Type SwapType `protobuf:"varint,3,opt,name=type,proto3,enum=looprpc.SwapType" json:"type,omitempty"`
	// State the swap is currently in, see State enum.
	State SwapState `protobuf:"varint,4,opt,name=state,proto3,enum=looprpc.SwapState" json:"state,omitempty"`
	// A failure reason for the swap, only set if the swap has failed.
	FailureReason FailureReason `` /* 129-byte string literal not displayed */
	// Initiation time of the swap.
	InitiationTime int64 `protobuf:"varint,5,opt,name=initiation_time,json=initiationTime,proto3" json:"initiation_time,omitempty"`
	// Initiation time of the swap.
	LastUpdateTime int64 `protobuf:"varint,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// DEPRECATED:  This field stores the address of the onchain htlc.
	// - For internal loop-in htlc_address contains the address of the
	// native segwit (P2WSH) htlc.
	// - For loop-out htlc_address always contains the native segwit (P2WSH)
	// htlc address.
	//
	// Deprecated: Marked as deprecated in client.proto.
	HtlcAddress string `protobuf:"bytes,7,opt,name=htlc_address,json=htlcAddress,proto3" json:"htlc_address,omitempty"`
	// HTLC address (native segwit), used in loop-in and loop-out swaps.
	HtlcAddressP2Wsh string `protobuf:"bytes,12,opt,name=htlc_address_p2wsh,json=htlcAddressP2wsh,proto3" json:"htlc_address_p2wsh,omitempty"`
	// The address of the v3 (taproot) htlc. Used for both loop-in and loop-out.
	HtlcAddressP2Tr string `protobuf:"bytes,18,opt,name=htlc_address_p2tr,json=htlcAddressP2tr,proto3" json:"htlc_address_p2tr,omitempty"`
	// Swap server cost
	CostServer int64 `protobuf:"varint,8,opt,name=cost_server,json=costServer,proto3" json:"cost_server,omitempty"`
	// On-chain transaction cost
	CostOnchain int64 `protobuf:"varint,9,opt,name=cost_onchain,json=costOnchain,proto3" json:"cost_onchain,omitempty"`
	// Off-chain routing fees
	CostOffchain int64 `protobuf:"varint,10,opt,name=cost_offchain,json=costOffchain,proto3" json:"cost_offchain,omitempty"`
	// Optional last hop if provided in the loop in request.
	LastHop []byte `protobuf:"bytes,16,opt,name=last_hop,json=lastHop,proto3" json:"last_hop,omitempty"`
	// Optional outgoing channel set if provided in the loop out request.
	OutgoingChanSet []uint64 `protobuf:"varint,17,rep,packed,name=outgoing_chan_set,json=outgoingChanSet,proto3" json:"outgoing_chan_set,omitempty"`
	// An optional label given to the swap on creation.
	Label string `protobuf:"bytes,15,opt,name=label,proto3" json:"label,omitempty"`
	// If the swap was an asset swap, the asset information will be returned.
	AssetInfo *AssetLoopOutInfo `protobuf:"bytes,19,opt,name=asset_info,json=assetInfo,proto3" json:"asset_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapStatus) Descriptor deprecated

func (*SwapStatus) Descriptor() ([]byte, []int)

Deprecated: Use SwapStatus.ProtoReflect.Descriptor instead.

func (*SwapStatus) GetAmt

func (x *SwapStatus) GetAmt() int64

func (*SwapStatus) GetAssetInfo added in v1.0.4

func (x *SwapStatus) GetAssetInfo() *AssetLoopOutInfo

func (*SwapStatus) GetCostOffchain

func (x *SwapStatus) GetCostOffchain() int64

func (*SwapStatus) GetCostOnchain

func (x *SwapStatus) GetCostOnchain() int64

func (*SwapStatus) GetCostServer

func (x *SwapStatus) GetCostServer() int64

func (*SwapStatus) GetFailureReason

func (x *SwapStatus) GetFailureReason() FailureReason

func (*SwapStatus) GetHtlcAddress deprecated

func (x *SwapStatus) GetHtlcAddress() string

Deprecated: Marked as deprecated in client.proto.

func (*SwapStatus) GetHtlcAddressP2Tr

func (x *SwapStatus) GetHtlcAddressP2Tr() string

func (*SwapStatus) GetHtlcAddressP2Wsh

func (x *SwapStatus) GetHtlcAddressP2Wsh() string

func (*SwapStatus) GetId deprecated

func (x *SwapStatus) GetId() string

Deprecated: Marked as deprecated in client.proto.

func (*SwapStatus) GetIdBytes

func (x *SwapStatus) GetIdBytes() []byte

func (*SwapStatus) GetInitiationTime

func (x *SwapStatus) GetInitiationTime() int64

func (*SwapStatus) GetLabel

func (x *SwapStatus) GetLabel() string

func (*SwapStatus) GetLastHop

func (x *SwapStatus) GetLastHop() []byte

func (*SwapStatus) GetLastUpdateTime

func (x *SwapStatus) GetLastUpdateTime() int64

func (*SwapStatus) GetOutgoingChanSet

func (x *SwapStatus) GetOutgoingChanSet() []uint64

func (*SwapStatus) GetState

func (x *SwapStatus) GetState() SwapState

func (*SwapStatus) GetType

func (x *SwapStatus) GetType() SwapType

func (*SwapStatus) ProtoMessage

func (*SwapStatus) ProtoMessage()

func (*SwapStatus) ProtoReflect

func (x *SwapStatus) ProtoReflect() protoreflect.Message

func (*SwapStatus) Reset

func (x *SwapStatus) Reset()

func (*SwapStatus) String

func (x *SwapStatus) String() string

type SwapType

type SwapType int32
const (
	// LOOP_OUT indicates an loop out swap (off-chain to on-chain)
	SwapType_LOOP_OUT SwapType = 0
	// LOOP_IN indicates a loop in swap (on-chain to off-chain)
	SwapType_LOOP_IN SwapType = 1
)

func (SwapType) Descriptor

func (SwapType) Descriptor() protoreflect.EnumDescriptor

func (SwapType) Enum

func (x SwapType) Enum() *SwapType

func (SwapType) EnumDescriptor deprecated

func (SwapType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SwapType.Descriptor instead.

func (SwapType) Number

func (x SwapType) Number() protoreflect.EnumNumber

func (SwapType) String

func (x SwapType) String() string

func (SwapType) Type

type TermsRequest

type TermsRequest struct {
	// contains filtered or unexported fields
}

func (*TermsRequest) Descriptor deprecated

func (*TermsRequest) Descriptor() ([]byte, []int)

Deprecated: Use TermsRequest.ProtoReflect.Descriptor instead.

func (*TermsRequest) ProtoMessage

func (*TermsRequest) ProtoMessage()

func (*TermsRequest) ProtoReflect

func (x *TermsRequest) ProtoReflect() protoreflect.Message

func (*TermsRequest) Reset

func (x *TermsRequest) Reset()

func (*TermsRequest) String

func (x *TermsRequest) String() string

type TokensRequest

type TokensRequest struct {
	// contains filtered or unexported fields
}

func (*TokensRequest) Descriptor deprecated

func (*TokensRequest) Descriptor() ([]byte, []int)

Deprecated: Use TokensRequest.ProtoReflect.Descriptor instead.

func (*TokensRequest) ProtoMessage

func (*TokensRequest) ProtoMessage()

func (*TokensRequest) ProtoReflect

func (x *TokensRequest) ProtoReflect() protoreflect.Message

func (*TokensRequest) Reset

func (x *TokensRequest) Reset()

func (*TokensRequest) String

func (x *TokensRequest) String() string

type TokensResponse

type TokensResponse struct {

	// List of all tokens the daemon knows of, including old/expired tokens.
	Tokens []*L402Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*TokensResponse) Descriptor deprecated

func (*TokensResponse) Descriptor() ([]byte, []int)

Deprecated: Use TokensResponse.ProtoReflect.Descriptor instead.

func (*TokensResponse) GetTokens

func (x *TokensResponse) GetTokens() []*L402Token

func (*TokensResponse) ProtoMessage

func (*TokensResponse) ProtoMessage()

func (*TokensResponse) ProtoReflect

func (x *TokensResponse) ProtoReflect() protoreflect.Message

func (*TokensResponse) Reset

func (x *TokensResponse) Reset()

func (*TokensResponse) String

func (x *TokensResponse) String() string

type UnimplementedDebugServer

type UnimplementedDebugServer struct {
}

UnimplementedDebugServer must be embedded to have forward compatible implementations.

func (UnimplementedDebugServer) ForceAutoLoop

type UnimplementedSwapClientServer

type UnimplementedSwapClientServer struct {
}

UnimplementedSwapClientServer must be embedded to have forward compatible implementations.

func (UnimplementedSwapClientServer) AbandonSwap

func (UnimplementedSwapClientServer) FetchL402Token added in v1.0.1

func (UnimplementedSwapClientServer) GetInfo

func (UnimplementedSwapClientServer) GetL402Tokens

func (UnimplementedSwapClientServer) GetLiquidityParams

func (UnimplementedSwapClientServer) GetLoopInQuote

func (UnimplementedSwapClientServer) GetLoopInTerms

func (UnimplementedSwapClientServer) GetLsatTokens

func (UnimplementedSwapClientServer) GetStaticAddressSummary added in v1.0.2

func (UnimplementedSwapClientServer) InstantOut

func (UnimplementedSwapClientServer) InstantOutQuote

func (UnimplementedSwapClientServer) ListInstantOuts

func (UnimplementedSwapClientServer) ListReservations

func (UnimplementedSwapClientServer) ListStaticAddressDeposits added in v1.0.2

func (UnimplementedSwapClientServer) ListStaticAddressSwaps added in v1.0.2

func (UnimplementedSwapClientServer) ListSwaps

func (UnimplementedSwapClientServer) ListUnspentDeposits added in v1.0.2

func (UnimplementedSwapClientServer) LoopIn

func (UnimplementedSwapClientServer) LoopOut

func (UnimplementedSwapClientServer) LoopOutQuote

func (UnimplementedSwapClientServer) LoopOutTerms

func (UnimplementedSwapClientServer) Monitor

func (UnimplementedSwapClientServer) NewStaticAddress added in v1.0.2

func (UnimplementedSwapClientServer) Probe

func (UnimplementedSwapClientServer) StaticAddressLoopIn added in v1.0.2

func (UnimplementedSwapClientServer) SuggestSwaps

func (UnimplementedSwapClientServer) SwapInfo

func (UnimplementedSwapClientServer) WithdrawDeposits added in v1.0.2

type UnsafeDebugServer

type UnsafeDebugServer interface {
	// contains filtered or unexported methods
}

UnsafeDebugServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugServer will result in compilation errors.

type UnsafeSwapClientServer

type UnsafeSwapClientServer interface {
	// contains filtered or unexported methods
}

UnsafeSwapClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SwapClientServer will result in compilation errors.

type Utxo added in v1.0.2

type Utxo struct {

	// The static address of the utxo.
	StaticAddress string `protobuf:"bytes,1,opt,name=static_address,json=staticAddress,proto3" json:"static_address,omitempty"`
	// The value of the unspent coin in satoshis.
	AmountSat int64 `protobuf:"varint,2,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
	// The outpoint in the form txid:index.
	Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The number of confirmations for the Utxo.
	Confirmations int64 `protobuf:"varint,4,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	// contains filtered or unexported fields
}

func (*Utxo) Descriptor deprecated added in v1.0.2

func (*Utxo) Descriptor() ([]byte, []int)

Deprecated: Use Utxo.ProtoReflect.Descriptor instead.

func (*Utxo) GetAmountSat added in v1.0.2

func (x *Utxo) GetAmountSat() int64

func (*Utxo) GetConfirmations added in v1.0.2

func (x *Utxo) GetConfirmations() int64

func (*Utxo) GetOutpoint added in v1.0.2

func (x *Utxo) GetOutpoint() string

func (*Utxo) GetStaticAddress added in v1.0.2

func (x *Utxo) GetStaticAddress() string

func (*Utxo) ProtoMessage added in v1.0.2

func (*Utxo) ProtoMessage()

func (*Utxo) ProtoReflect added in v1.0.2

func (x *Utxo) ProtoReflect() protoreflect.Message

func (*Utxo) Reset added in v1.0.2

func (x *Utxo) Reset()

func (*Utxo) String added in v1.0.2

func (x *Utxo) String() string

type WithdrawDepositsRequest added in v1.0.2

type WithdrawDepositsRequest struct {

	// The outpoints of the deposits to withdraw.
	Outpoints []*OutPoint `protobuf:"bytes,1,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// If set to true, all deposits will be withdrawn.
	All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"`
	// The address to withdraw the funds to.
	DestAddr string `protobuf:"bytes,3,opt,name=dest_addr,json=destAddr,proto3" json:"dest_addr,omitempty"`
	// The fee rate in sat/vbyte to use for the withdrawal transaction.
	SatPerVbyte int64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
	// The amount in satoshis that should be withdrawn from the selected deposits.
	// If there is change, it will be sent back to the static address. The fees for
	// the transaction are taken from the change output. If the change is below
	// the dust limit, there won't be a change output and the dust goes towards
	// fees.
	Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawDepositsRequest) Descriptor deprecated added in v1.0.2

func (*WithdrawDepositsRequest) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawDepositsRequest.ProtoReflect.Descriptor instead.

func (*WithdrawDepositsRequest) GetAll added in v1.0.2

func (x *WithdrawDepositsRequest) GetAll() bool

func (*WithdrawDepositsRequest) GetAmount added in v1.0.4

func (x *WithdrawDepositsRequest) GetAmount() int64

func (*WithdrawDepositsRequest) GetDestAddr added in v1.0.2

func (x *WithdrawDepositsRequest) GetDestAddr() string

func (*WithdrawDepositsRequest) GetOutpoints added in v1.0.2

func (x *WithdrawDepositsRequest) GetOutpoints() []*OutPoint

func (*WithdrawDepositsRequest) GetSatPerVbyte added in v1.0.2

func (x *WithdrawDepositsRequest) GetSatPerVbyte() int64

func (*WithdrawDepositsRequest) ProtoMessage added in v1.0.2

func (*WithdrawDepositsRequest) ProtoMessage()

func (*WithdrawDepositsRequest) ProtoReflect added in v1.0.2

func (x *WithdrawDepositsRequest) ProtoReflect() protoreflect.Message

func (*WithdrawDepositsRequest) Reset added in v1.0.2

func (x *WithdrawDepositsRequest) Reset()

func (*WithdrawDepositsRequest) String added in v1.0.2

func (x *WithdrawDepositsRequest) String() string

type WithdrawDepositsResponse added in v1.0.2

type WithdrawDepositsResponse struct {

	// The transaction hash of the withdrawal transaction.
	WithdrawalTxHash string `protobuf:"bytes,1,opt,name=withdrawal_tx_hash,json=withdrawalTxHash,proto3" json:"withdrawal_tx_hash,omitempty"`
	// The destination address of the withdrawal transaction.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawDepositsResponse) Descriptor deprecated added in v1.0.2

func (*WithdrawDepositsResponse) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawDepositsResponse.ProtoReflect.Descriptor instead.

func (*WithdrawDepositsResponse) GetAddress added in v1.0.6

func (x *WithdrawDepositsResponse) GetAddress() string

func (*WithdrawDepositsResponse) GetWithdrawalTxHash added in v1.0.2

func (x *WithdrawDepositsResponse) GetWithdrawalTxHash() string

func (*WithdrawDepositsResponse) ProtoMessage added in v1.0.2

func (*WithdrawDepositsResponse) ProtoMessage()

func (*WithdrawDepositsResponse) ProtoReflect added in v1.0.2

func (x *WithdrawDepositsResponse) ProtoReflect() protoreflect.Message

func (*WithdrawDepositsResponse) Reset added in v1.0.2

func (x *WithdrawDepositsResponse) Reset()

func (*WithdrawDepositsResponse) String added in v1.0.2

func (x *WithdrawDepositsResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL