mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Update the output of the `commit_hash` field in the GetInfoResponse. The `commit_hash` field will contain the most recent commit_hash that the build was based on. If the build had uncommitted changes, this field will contain the most recent commit hash, suffixed by "-dirty". Note that this change also changes the output of `commit` field in the `--version` command. The `Commit` field will now contain most recent git commit tag.
8029 lines
308 KiB
Go
8029 lines
308 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.34.2
|
|
// protoc v3.21.12
|
|
// source: client.proto
|
|
|
|
package looprpc
|
|
|
|
import (
|
|
swapserverrpc "github.com/lightninglabs/loop/swapserverrpc"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// `AddressType` has to be one of:
|
|
//
|
|
// - `unknown`: Unknown address type
|
|
// - `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 1)
|
|
type AddressType int32
|
|
|
|
const (
|
|
AddressType_ADDRESS_TYPE_UNKNOWN AddressType = 0
|
|
AddressType_TAPROOT_PUBKEY AddressType = 1
|
|
)
|
|
|
|
// Enum value maps for AddressType.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x AddressType) Enum() *AddressType {
|
|
p := new(AddressType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AddressType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AddressType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (AddressType) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x AddressType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AddressType.Descriptor instead.
|
|
func (AddressType) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for SwapType.
|
|
var (
|
|
SwapType_name = map[int32]string{
|
|
0: "LOOP_OUT",
|
|
1: "LOOP_IN",
|
|
}
|
|
SwapType_value = map[string]int32{
|
|
"LOOP_OUT": 0,
|
|
"LOOP_IN": 1,
|
|
}
|
|
)
|
|
|
|
func (x SwapType) Enum() *SwapType {
|
|
p := new(SwapType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SwapType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SwapType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (SwapType) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x SwapType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SwapType.Descriptor instead.
|
|
func (SwapType) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for SwapState.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x SwapState) Enum() *SwapState {
|
|
p := new(SwapState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SwapState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SwapState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (SwapState) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x SwapState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SwapState.Descriptor instead.
|
|
func (SwapState) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for FailureReason.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x FailureReason) Enum() *FailureReason {
|
|
p := new(FailureReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FailureReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FailureReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (FailureReason) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x FailureReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FailureReason.Descriptor instead.
|
|
func (FailureReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type LiquidityRuleType int32
|
|
|
|
const (
|
|
LiquidityRuleType_UNKNOWN LiquidityRuleType = 0
|
|
LiquidityRuleType_THRESHOLD LiquidityRuleType = 1
|
|
)
|
|
|
|
// Enum value maps for LiquidityRuleType.
|
|
var (
|
|
LiquidityRuleType_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "THRESHOLD",
|
|
}
|
|
LiquidityRuleType_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"THRESHOLD": 1,
|
|
}
|
|
)
|
|
|
|
func (x LiquidityRuleType) Enum() *LiquidityRuleType {
|
|
p := new(LiquidityRuleType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x LiquidityRuleType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (LiquidityRuleType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (LiquidityRuleType) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x LiquidityRuleType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use LiquidityRuleType.Descriptor instead.
|
|
func (LiquidityRuleType) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for AutoReason.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x AutoReason) Enum() *AutoReason {
|
|
p := new(AutoReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AutoReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AutoReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (AutoReason) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x AutoReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AutoReason.Descriptor instead.
|
|
func (AutoReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for DepositState.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x DepositState) Enum() *DepositState {
|
|
p := new(DepositState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DepositState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DepositState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (DepositState) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x DepositState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DepositState.Descriptor instead.
|
|
func (DepositState) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for StaticAddressLoopInSwapState.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x StaticAddressLoopInSwapState) Enum() *StaticAddressLoopInSwapState {
|
|
p := new(StaticAddressLoopInSwapState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x StaticAddressLoopInSwapState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (StaticAddressLoopInSwapState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (StaticAddressLoopInSwapState) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x StaticAddressLoopInSwapState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressLoopInSwapState.Descriptor instead.
|
|
func (StaticAddressLoopInSwapState) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
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
|
|
)
|
|
|
|
// Enum value maps for ListSwapsFilter_SwapTypeFilter.
|
|
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,
|
|
}
|
|
)
|
|
|
|
func (x ListSwapsFilter_SwapTypeFilter) Enum() *ListSwapsFilter_SwapTypeFilter {
|
|
p := new(ListSwapsFilter_SwapTypeFilter)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ListSwapsFilter_SwapTypeFilter) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ListSwapsFilter_SwapTypeFilter) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_client_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (ListSwapsFilter_SwapTypeFilter) Type() protoreflect.EnumType {
|
|
return &file_client_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x ListSwapsFilter_SwapTypeFilter) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSwapsFilter_SwapTypeFilter.Descriptor instead.
|
|
func (ListSwapsFilter_SwapTypeFilter) EnumDescriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{6, 0}
|
|
}
|
|
|
|
type LoopOutRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,10,opt,name=swap_publication_deadline,json=swapPublicationDeadline,proto3" json:"swap_publication_deadline,omitempty"`
|
|
// 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 `protobuf:"varint,16,opt,name=account_addr_type,json=accountAddrType,proto3,enum=looprpc.AddressType" json:"account_addr_type,omitempty"`
|
|
// 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"`
|
|
}
|
|
|
|
func (x *LoopOutRequest) Reset() {
|
|
*x = LoopOutRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LoopOutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoopOutRequest) ProtoMessage() {}
|
|
|
|
func (x *LoopOutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoopOutRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoopOutRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetDest() string {
|
|
if x != nil {
|
|
return x.Dest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetMaxSwapRoutingFee() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapRoutingFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetMaxPrepayRoutingFee() int64 {
|
|
if x != nil {
|
|
return x.MaxPrepayRoutingFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetMaxSwapFee() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetMaxPrepayAmt() int64 {
|
|
if x != nil {
|
|
return x.MaxPrepayAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetMaxMinerFee() int64 {
|
|
if x != nil {
|
|
return x.MaxMinerFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *LoopOutRequest) GetLoopOutChannel() uint64 {
|
|
if x != nil {
|
|
return x.LoopOutChannel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetOutgoingChanSet() []uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetSweepConfTarget() int32 {
|
|
if x != nil {
|
|
return x.SweepConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetHtlcConfirmations() int32 {
|
|
if x != nil {
|
|
return x.HtlcConfirmations
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetSwapPublicationDeadline() uint64 {
|
|
if x != nil {
|
|
return x.SwapPublicationDeadline
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetInitiator() string {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetAccountAddrType() AddressType {
|
|
if x != nil {
|
|
return x.AccountAddrType
|
|
}
|
|
return AddressType_ADDRESS_TYPE_UNKNOWN
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetIsExternalAddr() bool {
|
|
if x != nil {
|
|
return x.IsExternalAddr
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetReservationIds() [][]byte {
|
|
if x != nil {
|
|
return x.ReservationIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetPaymentTimeout() uint32 {
|
|
if x != nil {
|
|
return x.PaymentTimeout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetAssetInfo() *AssetLoopOutRequest {
|
|
if x != nil {
|
|
return x.AssetInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoopOutRequest) GetAssetRfqInfo() *AssetRfqInfo {
|
|
if x != nil {
|
|
return x.AssetRfqInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LoopInRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *LoopInRequest) Reset() {
|
|
*x = LoopInRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LoopInRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoopInRequest) ProtoMessage() {}
|
|
|
|
func (x *LoopInRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoopInRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoopInRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LoopInRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopInRequest) GetMaxSwapFee() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopInRequest) GetMaxMinerFee() int64 {
|
|
if x != nil {
|
|
return x.MaxMinerFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopInRequest) GetLastHop() []byte {
|
|
if x != nil {
|
|
return x.LastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoopInRequest) GetExternalHtlc() bool {
|
|
if x != nil {
|
|
return x.ExternalHtlc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LoopInRequest) GetHtlcConfTarget() int32 {
|
|
if x != nil {
|
|
return x.HtlcConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopInRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopInRequest) GetInitiator() string {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoopInRequest) GetRouteHints() []*swapserverrpc.RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoopInRequest) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SwapResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *SwapResponse) Reset() {
|
|
*x = SwapResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SwapResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SwapResponse) ProtoMessage() {}
|
|
|
|
func (x *SwapResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SwapResponse.ProtoReflect.Descriptor instead.
|
|
func (*SwapResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *SwapResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapResponse) GetIdBytes() []byte {
|
|
if x != nil {
|
|
return x.IdBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *SwapResponse) GetHtlcAddress() string {
|
|
if x != nil {
|
|
return x.HtlcAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapResponse) GetHtlcAddressP2Wsh() string {
|
|
if x != nil {
|
|
return x.HtlcAddressP2Wsh
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapResponse) GetHtlcAddressP2Tr() string {
|
|
if x != nil {
|
|
return x.HtlcAddressP2Tr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapResponse) GetServerMessage() string {
|
|
if x != nil {
|
|
return x.ServerMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MonitorRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MonitorRequest) Reset() {
|
|
*x = MonitorRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MonitorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MonitorRequest) ProtoMessage() {}
|
|
|
|
func (x *MonitorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MonitorRequest.ProtoReflect.Descriptor instead.
|
|
func (*MonitorRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type SwapStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,14,opt,name=failure_reason,json=failureReason,proto3,enum=looprpc.FailureReason" json:"failure_reason,omitempty"`
|
|
// 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"`
|
|
}
|
|
|
|
func (x *SwapStatus) Reset() {
|
|
*x = SwapStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SwapStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SwapStatus) ProtoMessage() {}
|
|
|
|
func (x *SwapStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SwapStatus.ProtoReflect.Descriptor instead.
|
|
func (*SwapStatus) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SwapStatus) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *SwapStatus) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapStatus) GetIdBytes() []byte {
|
|
if x != nil {
|
|
return x.IdBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SwapStatus) GetType() SwapType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return SwapType_LOOP_OUT
|
|
}
|
|
|
|
func (x *SwapStatus) GetState() SwapState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return SwapState_INITIATED
|
|
}
|
|
|
|
func (x *SwapStatus) GetFailureReason() FailureReason {
|
|
if x != nil {
|
|
return x.FailureReason
|
|
}
|
|
return FailureReason_FAILURE_REASON_NONE
|
|
}
|
|
|
|
func (x *SwapStatus) GetInitiationTime() int64 {
|
|
if x != nil {
|
|
return x.InitiationTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SwapStatus) GetLastUpdateTime() int64 {
|
|
if x != nil {
|
|
return x.LastUpdateTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *SwapStatus) GetHtlcAddress() string {
|
|
if x != nil {
|
|
return x.HtlcAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapStatus) GetHtlcAddressP2Wsh() string {
|
|
if x != nil {
|
|
return x.HtlcAddressP2Wsh
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapStatus) GetHtlcAddressP2Tr() string {
|
|
if x != nil {
|
|
return x.HtlcAddressP2Tr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapStatus) GetCostServer() int64 {
|
|
if x != nil {
|
|
return x.CostServer
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SwapStatus) GetCostOnchain() int64 {
|
|
if x != nil {
|
|
return x.CostOnchain
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SwapStatus) GetCostOffchain() int64 {
|
|
if x != nil {
|
|
return x.CostOffchain
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SwapStatus) GetLastHop() []byte {
|
|
if x != nil {
|
|
return x.LastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SwapStatus) GetOutgoingChanSet() []uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SwapStatus) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SwapStatus) GetAssetInfo() *AssetLoopOutInfo {
|
|
if x != nil {
|
|
return x.AssetInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListSwapsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListSwapsRequest) Reset() {
|
|
*x = ListSwapsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSwapsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSwapsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSwapsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSwapsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSwapsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListSwapsRequest) GetListSwapFilter() *ListSwapsFilter {
|
|
if x != nil {
|
|
return x.ListSwapFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSwapsRequest) GetMaxSwaps() uint64 {
|
|
if x != nil {
|
|
return x.MaxSwaps
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListSwapsFilter struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The type of the swap.
|
|
SwapType ListSwapsFilter_SwapTypeFilter `protobuf:"varint,1,opt,name=swap_type,json=swapType,proto3,enum=looprpc.ListSwapsFilter_SwapTypeFilter" json:"swap_type,omitempty"`
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListSwapsFilter) Reset() {
|
|
*x = ListSwapsFilter{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSwapsFilter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSwapsFilter) ProtoMessage() {}
|
|
|
|
func (x *ListSwapsFilter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSwapsFilter.ProtoReflect.Descriptor instead.
|
|
func (*ListSwapsFilter) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetSwapType() ListSwapsFilter_SwapTypeFilter {
|
|
if x != nil {
|
|
return x.SwapType
|
|
}
|
|
return ListSwapsFilter_ANY
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetPendingOnly() bool {
|
|
if x != nil {
|
|
return x.PendingOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetOutgoingChanSet() []uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetLoopInLastHop() []byte {
|
|
if x != nil {
|
|
return x.LoopInLastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetAssetSwapOnly() bool {
|
|
if x != nil {
|
|
return x.AssetSwapOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListSwapsFilter) GetStartTimestampNs() int64 {
|
|
if x != nil {
|
|
return x.StartTimestampNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListSwapsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListSwapsResponse) Reset() {
|
|
*x = ListSwapsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSwapsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSwapsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSwapsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSwapsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSwapsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListSwapsResponse) GetSwaps() []*SwapStatus {
|
|
if x != nil {
|
|
return x.Swaps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListSwapsResponse) GetNextStartTime() int64 {
|
|
if x != nil {
|
|
return x.NextStartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SwapInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *SwapInfoRequest) Reset() {
|
|
*x = SwapInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SwapInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SwapInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *SwapInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SwapInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*SwapInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *SwapInfoRequest) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TermsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TermsRequest) Reset() {
|
|
*x = TermsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TermsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TermsRequest) ProtoMessage() {}
|
|
|
|
func (x *TermsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TermsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TermsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type InTermsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InTermsResponse) Reset() {
|
|
*x = InTermsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InTermsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InTermsResponse) ProtoMessage() {}
|
|
|
|
func (x *InTermsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InTermsResponse.ProtoReflect.Descriptor instead.
|
|
func (*InTermsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *InTermsResponse) GetMinSwapAmount() int64 {
|
|
if x != nil {
|
|
return x.MinSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InTermsResponse) GetMaxSwapAmount() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OutTermsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *OutTermsResponse) Reset() {
|
|
*x = OutTermsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OutTermsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutTermsResponse) ProtoMessage() {}
|
|
|
|
func (x *OutTermsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutTermsResponse.ProtoReflect.Descriptor instead.
|
|
func (*OutTermsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *OutTermsResponse) GetMinSwapAmount() int64 {
|
|
if x != nil {
|
|
return x.MinSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutTermsResponse) GetMaxSwapAmount() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutTermsResponse) GetMinCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.MinCltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutTermsResponse) GetMaxCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.MaxCltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QuoteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,4,opt,name=swap_publication_deadline,json=swapPublicationDeadline,proto3" json:"swap_publication_deadline,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.
|
|
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"`
|
|
}
|
|
|
|
func (x *QuoteRequest) Reset() {
|
|
*x = QuoteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QuoteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QuoteRequest) ProtoMessage() {}
|
|
|
|
func (x *QuoteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QuoteRequest.ProtoReflect.Descriptor instead.
|
|
func (*QuoteRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *QuoteRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QuoteRequest) GetConfTarget() int32 {
|
|
if x != nil {
|
|
return x.ConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QuoteRequest) GetExternalHtlc() bool {
|
|
if x != nil {
|
|
return x.ExternalHtlc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QuoteRequest) GetSwapPublicationDeadline() uint64 {
|
|
if x != nil {
|
|
return x.SwapPublicationDeadline
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QuoteRequest) GetLoopInLastHop() []byte {
|
|
if x != nil {
|
|
return x.LoopInLastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QuoteRequest) GetLoopInRouteHints() []*swapserverrpc.RouteHint {
|
|
if x != nil {
|
|
return x.LoopInRouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QuoteRequest) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QuoteRequest) GetDepositOutpoints() []string {
|
|
if x != nil {
|
|
return x.DepositOutpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QuoteRequest) GetAssetInfo() *AssetLoopOutRequest {
|
|
if x != nil {
|
|
return x.AssetInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InQuoteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InQuoteResponse) Reset() {
|
|
*x = InQuoteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InQuoteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InQuoteResponse) ProtoMessage() {}
|
|
|
|
func (x *InQuoteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InQuoteResponse.ProtoReflect.Descriptor instead.
|
|
func (*InQuoteResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *InQuoteResponse) GetSwapFeeSat() int64 {
|
|
if x != nil {
|
|
return x.SwapFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InQuoteResponse) GetHtlcPublishFeeSat() int64 {
|
|
if x != nil {
|
|
return x.HtlcPublishFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InQuoteResponse) GetCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.CltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InQuoteResponse) GetConfTarget() int32 {
|
|
if x != nil {
|
|
return x.ConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OutQuoteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *OutQuoteResponse) Reset() {
|
|
*x = OutQuoteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OutQuoteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutQuoteResponse) ProtoMessage() {}
|
|
|
|
func (x *OutQuoteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutQuoteResponse.ProtoReflect.Descriptor instead.
|
|
func (*OutQuoteResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetSwapFeeSat() int64 {
|
|
if x != nil {
|
|
return x.SwapFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetPrepayAmtSat() int64 {
|
|
if x != nil {
|
|
return x.PrepayAmtSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetHtlcSweepFeeSat() int64 {
|
|
if x != nil {
|
|
return x.HtlcSweepFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetSwapPaymentDest() []byte {
|
|
if x != nil {
|
|
return x.SwapPaymentDest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.CltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetConfTarget() int32 {
|
|
if x != nil {
|
|
return x.ConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutQuoteResponse) GetAssetRfqInfo() *AssetRfqInfo {
|
|
if x != nil {
|
|
return x.AssetRfqInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProbeRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ProbeRequest) Reset() {
|
|
*x = ProbeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProbeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProbeRequest) ProtoMessage() {}
|
|
|
|
func (x *ProbeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProbeRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ProbeRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProbeRequest) GetLastHop() []byte {
|
|
if x != nil {
|
|
return x.LastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ProbeRequest) GetRouteHints() []*swapserverrpc.RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProbeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ProbeResponse) Reset() {
|
|
*x = ProbeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProbeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProbeResponse) ProtoMessage() {}
|
|
|
|
func (x *ProbeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProbeResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type TokensRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *TokensRequest) Reset() {
|
|
*x = TokensRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TokensRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TokensRequest) ProtoMessage() {}
|
|
|
|
func (x *TokensRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TokensRequest.ProtoReflect.Descriptor instead.
|
|
func (*TokensRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
type TokensResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// List of all tokens the daemon knows of, including old/expired tokens.
|
|
Tokens []*L402Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
|
|
}
|
|
|
|
func (x *TokensResponse) Reset() {
|
|
*x = TokensResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TokensResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TokensResponse) ProtoMessage() {}
|
|
|
|
func (x *TokensResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TokensResponse.ProtoReflect.Descriptor instead.
|
|
func (*TokensResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *TokensResponse) GetTokens() []*L402Token {
|
|
if x != nil {
|
|
return x.Tokens
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FetchL402TokenRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FetchL402TokenRequest) Reset() {
|
|
*x = FetchL402TokenRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FetchL402TokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchL402TokenRequest) ProtoMessage() {}
|
|
|
|
func (x *FetchL402TokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchL402TokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*FetchL402TokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
type FetchL402TokenResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FetchL402TokenResponse) Reset() {
|
|
*x = FetchL402TokenResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FetchL402TokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchL402TokenResponse) ProtoMessage() {}
|
|
|
|
func (x *FetchL402TokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchL402TokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*FetchL402TokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type L402Token struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *L402Token) Reset() {
|
|
*x = L402Token{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *L402Token) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*L402Token) ProtoMessage() {}
|
|
|
|
func (x *L402Token) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use L402Token.ProtoReflect.Descriptor instead.
|
|
func (*L402Token) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *L402Token) GetBaseMacaroon() []byte {
|
|
if x != nil {
|
|
return x.BaseMacaroon
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *L402Token) GetPaymentHash() []byte {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *L402Token) GetPaymentPreimage() []byte {
|
|
if x != nil {
|
|
return x.PaymentPreimage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *L402Token) GetAmountPaidMsat() int64 {
|
|
if x != nil {
|
|
return x.AmountPaidMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *L402Token) GetRoutingFeePaidMsat() int64 {
|
|
if x != nil {
|
|
return x.RoutingFeePaidMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *L402Token) GetTimeCreated() int64 {
|
|
if x != nil {
|
|
return x.TimeCreated
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *L402Token) GetExpired() bool {
|
|
if x != nil {
|
|
return x.Expired
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *L402Token) GetStorageName() string {
|
|
if x != nil {
|
|
return x.StorageName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *L402Token) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoopStats struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *LoopStats) Reset() {
|
|
*x = LoopStats{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LoopStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoopStats) ProtoMessage() {}
|
|
|
|
func (x *LoopStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoopStats.ProtoReflect.Descriptor instead.
|
|
func (*LoopStats) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *LoopStats) GetPendingCount() uint64 {
|
|
if x != nil {
|
|
return x.PendingCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopStats) GetSuccessCount() uint64 {
|
|
if x != nil {
|
|
return x.SuccessCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopStats) GetFailCount() uint64 {
|
|
if x != nil {
|
|
return x.FailCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopStats) GetSumPendingAmt() int64 {
|
|
if x != nil {
|
|
return x.SumPendingAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoopStats) GetSumSucceededAmt() int64 {
|
|
if x != nil {
|
|
return x.SumSucceededAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetInfoRequest) Reset() {
|
|
*x = GetInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type GetInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 the Loop binary build was based on. If the build had
|
|
// uncommited changes, this field will contain the most recent commit hash,
|
|
// suffixed by "-dirty".
|
|
CommitHash string `protobuf:"bytes,9,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
|
|
}
|
|
|
|
func (x *GetInfoResponse) Reset() {
|
|
*x = GetInfoResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[24]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetNetwork() string {
|
|
if x != nil {
|
|
return x.Network
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetRpcListen() string {
|
|
if x != nil {
|
|
return x.RpcListen
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetRestListen() string {
|
|
if x != nil {
|
|
return x.RestListen
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetMacaroonPath() string {
|
|
if x != nil {
|
|
return x.MacaroonPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetTlsCertPath() string {
|
|
if x != nil {
|
|
return x.TlsCertPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetLoopOutStats() *LoopStats {
|
|
if x != nil {
|
|
return x.LoopOutStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetLoopInStats() *LoopStats {
|
|
if x != nil {
|
|
return x.LoopInStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetCommitHash() string {
|
|
if x != nil {
|
|
return x.CommitHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLiquidityParamsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetLiquidityParamsRequest) Reset() {
|
|
*x = GetLiquidityParamsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetLiquidityParamsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLiquidityParamsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLiquidityParamsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLiquidityParamsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLiquidityParamsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
type LiquidityParameters struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,2,opt,name=sweep_fee_rate_sat_per_vbyte,json=sweepFeeRateSatPerVbyte,proto3" json:"sweep_fee_rate_sat_per_vbyte,omitempty"`
|
|
// 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 `protobuf:"varint,5,opt,name=max_prepay_routing_fee_ppm,json=maxPrepayRoutingFeePpm,proto3" json:"max_prepay_routing_fee_ppm,omitempty"`
|
|
// 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 `protobuf:"varint,12,opt,name=autoloop_budget_start_sec,json=autoloopBudgetStartSec,proto3" json:"autoloop_budget_start_sec,omitempty"`
|
|
// 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 `protobuf:"varint,19,opt,name=autoloop_budget_refresh_period_sec,json=autoloopBudgetRefreshPeriodSec,proto3" json:"autoloop_budget_refresh_period_sec,omitempty"`
|
|
// The time at which the autoloop budget was last refreshed, expressed as a
|
|
// UNIX timestamp in seconds.
|
|
AutoloopBudgetLastRefresh uint64 `protobuf:"varint,20,opt,name=autoloop_budget_last_refresh,json=autoloopBudgetLastRefresh,proto3" json:"autoloop_budget_last_refresh,omitempty"`
|
|
// 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 `protobuf:"varint,22,opt,name=easy_autoloop_local_target_sat,json=easyAutoloopLocalTargetSat,proto3" json:"easy_autoloop_local_target_sat,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,23,opt,name=account,proto3" json:"account,omitempty"`
|
|
// The address type of the account specified in the account field.
|
|
AccountAddrType AddressType `protobuf:"varint,24,opt,name=account_addr_type,json=accountAddrType,proto3,enum=looprpc.AddressType" json:"account_addr_type,omitempty"`
|
|
// 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 `protobuf:"bytes,25,rep,name=easy_asset_params,json=easyAssetParams,proto3" json:"easy_asset_params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Set to true to enable fast swap publication. If set, the server will
|
|
// publish the HTLC immediately after receiving the swap request. This
|
|
// setting has direct implications on the swap fees, as fast swaps may
|
|
// not be able to be batched with other swaps.
|
|
FastSwapPublication bool `protobuf:"varint,26,opt,name=fast_swap_publication,json=fastSwapPublication,proto3" json:"fast_swap_publication,omitempty"`
|
|
}
|
|
|
|
func (x *LiquidityParameters) Reset() {
|
|
*x = LiquidityParameters{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LiquidityParameters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LiquidityParameters) ProtoMessage() {}
|
|
|
|
func (x *LiquidityParameters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LiquidityParameters.ProtoReflect.Descriptor instead.
|
|
func (*LiquidityParameters) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetRules() []*LiquidityRule {
|
|
if x != nil {
|
|
return x.Rules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetFeePpm() uint64 {
|
|
if x != nil {
|
|
return x.FeePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetSweepFeeRateSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SweepFeeRateSatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxSwapFeePpm() uint64 {
|
|
if x != nil {
|
|
return x.MaxSwapFeePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxRoutingFeePpm() uint64 {
|
|
if x != nil {
|
|
return x.MaxRoutingFeePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxPrepayRoutingFeePpm() uint64 {
|
|
if x != nil {
|
|
return x.MaxPrepayRoutingFeePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxPrepaySat() uint64 {
|
|
if x != nil {
|
|
return x.MaxPrepaySat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxMinerFeeSat() uint64 {
|
|
if x != nil {
|
|
return x.MaxMinerFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetSweepConfTarget() int32 {
|
|
if x != nil {
|
|
return x.SweepConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetFailureBackoffSec() uint64 {
|
|
if x != nil {
|
|
return x.FailureBackoffSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoloop() bool {
|
|
if x != nil {
|
|
return x.Autoloop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoloopBudgetSat() uint64 {
|
|
if x != nil {
|
|
return x.AutoloopBudgetSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *LiquidityParameters) GetAutoloopBudgetStartSec() uint64 {
|
|
if x != nil {
|
|
return x.AutoloopBudgetStartSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoMaxInFlight() uint64 {
|
|
if x != nil {
|
|
return x.AutoMaxInFlight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMinSwapAmount() uint64 {
|
|
if x != nil {
|
|
return x.MinSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetMaxSwapAmount() uint64 {
|
|
if x != nil {
|
|
return x.MaxSwapAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetHtlcConfTarget() int32 {
|
|
if x != nil {
|
|
return x.HtlcConfTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoloopDestAddress() string {
|
|
if x != nil {
|
|
return x.AutoloopDestAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoloopBudgetRefreshPeriodSec() uint64 {
|
|
if x != nil {
|
|
return x.AutoloopBudgetRefreshPeriodSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAutoloopBudgetLastRefresh() uint64 {
|
|
if x != nil {
|
|
return x.AutoloopBudgetLastRefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetEasyAutoloop() bool {
|
|
if x != nil {
|
|
return x.EasyAutoloop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetEasyAutoloopLocalTargetSat() uint64 {
|
|
if x != nil {
|
|
return x.EasyAutoloopLocalTargetSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetAccountAddrType() AddressType {
|
|
if x != nil {
|
|
return x.AccountAddrType
|
|
}
|
|
return AddressType_ADDRESS_TYPE_UNKNOWN
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetEasyAssetParams() map[string]*EasyAssetAutoloopParams {
|
|
if x != nil {
|
|
return x.EasyAssetParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LiquidityParameters) GetFastSwapPublication() bool {
|
|
if x != nil {
|
|
return x.FastSwapPublication
|
|
}
|
|
return false
|
|
}
|
|
|
|
type EasyAssetAutoloopParams struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *EasyAssetAutoloopParams) Reset() {
|
|
*x = EasyAssetAutoloopParams{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EasyAssetAutoloopParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EasyAssetAutoloopParams) ProtoMessage() {}
|
|
|
|
func (x *EasyAssetAutoloopParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[27]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EasyAssetAutoloopParams.ProtoReflect.Descriptor instead.
|
|
func (*EasyAssetAutoloopParams) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *EasyAssetAutoloopParams) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EasyAssetAutoloopParams) GetLocalTargetAssetAmt() uint64 {
|
|
if x != nil {
|
|
return x.LocalTargetAssetAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LiquidityRule struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *LiquidityRule) Reset() {
|
|
*x = LiquidityRule{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LiquidityRule) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LiquidityRule) ProtoMessage() {}
|
|
|
|
func (x *LiquidityRule) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[28]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LiquidityRule.ProtoReflect.Descriptor instead.
|
|
func (*LiquidityRule) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *LiquidityRule) GetChannelId() uint64 {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityRule) GetSwapType() SwapType {
|
|
if x != nil {
|
|
return x.SwapType
|
|
}
|
|
return SwapType_LOOP_OUT
|
|
}
|
|
|
|
func (x *LiquidityRule) GetPubkey() []byte {
|
|
if x != nil {
|
|
return x.Pubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LiquidityRule) GetType() LiquidityRuleType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return LiquidityRuleType_UNKNOWN
|
|
}
|
|
|
|
func (x *LiquidityRule) GetIncomingThreshold() uint32 {
|
|
if x != nil {
|
|
return x.IncomingThreshold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LiquidityRule) GetOutgoingThreshold() uint32 {
|
|
if x != nil {
|
|
return x.OutgoingThreshold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetLiquidityParamsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *SetLiquidityParamsRequest) Reset() {
|
|
*x = SetLiquidityParamsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetLiquidityParamsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLiquidityParamsRequest) ProtoMessage() {}
|
|
|
|
func (x *SetLiquidityParamsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[29]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLiquidityParamsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetLiquidityParamsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *SetLiquidityParamsRequest) GetParameters() *LiquidityParameters {
|
|
if x != nil {
|
|
return x.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetLiquidityParamsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SetLiquidityParamsResponse) Reset() {
|
|
*x = SetLiquidityParamsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetLiquidityParamsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLiquidityParamsResponse) ProtoMessage() {}
|
|
|
|
func (x *SetLiquidityParamsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[30]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLiquidityParamsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetLiquidityParamsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
type SuggestSwapsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SuggestSwapsRequest) Reset() {
|
|
*x = SuggestSwapsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SuggestSwapsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SuggestSwapsRequest) ProtoMessage() {}
|
|
|
|
func (x *SuggestSwapsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[31]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SuggestSwapsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SuggestSwapsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
type Disqualified struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *Disqualified) Reset() {
|
|
*x = Disqualified{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Disqualified) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Disqualified) ProtoMessage() {}
|
|
|
|
func (x *Disqualified) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[32]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Disqualified.ProtoReflect.Descriptor instead.
|
|
func (*Disqualified) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *Disqualified) GetChannelId() uint64 {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Disqualified) GetPubkey() []byte {
|
|
if x != nil {
|
|
return x.Pubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Disqualified) GetReason() AutoReason {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return AutoReason_AUTO_REASON_UNKNOWN
|
|
}
|
|
|
|
type SuggestSwapsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *SuggestSwapsResponse) Reset() {
|
|
*x = SuggestSwapsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SuggestSwapsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SuggestSwapsResponse) ProtoMessage() {}
|
|
|
|
func (x *SuggestSwapsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[33]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SuggestSwapsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SuggestSwapsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *SuggestSwapsResponse) GetLoopOut() []*LoopOutRequest {
|
|
if x != nil {
|
|
return x.LoopOut
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SuggestSwapsResponse) GetLoopIn() []*LoopInRequest {
|
|
if x != nil {
|
|
return x.LoopIn
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SuggestSwapsResponse) GetDisqualified() []*Disqualified {
|
|
if x != nil {
|
|
return x.Disqualified
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AbandonSwapRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *AbandonSwapRequest) Reset() {
|
|
*x = AbandonSwapRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AbandonSwapRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AbandonSwapRequest) ProtoMessage() {}
|
|
|
|
func (x *AbandonSwapRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[34]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AbandonSwapRequest.ProtoReflect.Descriptor instead.
|
|
func (*AbandonSwapRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *AbandonSwapRequest) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AbandonSwapRequest) GetIKnowWhatIAmDoing() bool {
|
|
if x != nil {
|
|
return x.IKnowWhatIAmDoing
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AbandonSwapResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AbandonSwapResponse) Reset() {
|
|
*x = AbandonSwapResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AbandonSwapResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AbandonSwapResponse) ProtoMessage() {}
|
|
|
|
func (x *AbandonSwapResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[35]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AbandonSwapResponse.ProtoReflect.Descriptor instead.
|
|
func (*AbandonSwapResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
type ListReservationsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListReservationsRequest) Reset() {
|
|
*x = ListReservationsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListReservationsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListReservationsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListReservationsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[36]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListReservationsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListReservationsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
type ListReservationsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of all currently known reservations and their status.
|
|
Reservations []*ClientReservation `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"`
|
|
}
|
|
|
|
func (x *ListReservationsResponse) Reset() {
|
|
*x = ListReservationsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListReservationsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListReservationsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListReservationsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[37]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListReservationsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListReservationsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *ListReservationsResponse) GetReservations() []*ClientReservation {
|
|
if x != nil {
|
|
return x.Reservations
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClientReservation struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ClientReservation) Reset() {
|
|
*x = ClientReservation{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClientReservation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClientReservation) ProtoMessage() {}
|
|
|
|
func (x *ClientReservation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[38]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClientReservation.ProtoReflect.Descriptor instead.
|
|
func (*ClientReservation) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *ClientReservation) GetReservationId() []byte {
|
|
if x != nil {
|
|
return x.ReservationId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClientReservation) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientReservation) GetAmount() uint64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientReservation) GetTxId() string {
|
|
if x != nil {
|
|
return x.TxId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClientReservation) GetVout() uint32 {
|
|
if x != nil {
|
|
return x.Vout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClientReservation) GetExpiry() uint32 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InstantOutRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InstantOutRequest) Reset() {
|
|
*x = InstantOutRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantOutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantOutRequest) ProtoMessage() {}
|
|
|
|
func (x *InstantOutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[39]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstantOutRequest.ProtoReflect.Descriptor instead.
|
|
func (*InstantOutRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *InstantOutRequest) GetReservationIds() [][]byte {
|
|
if x != nil {
|
|
return x.ReservationIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstantOutRequest) GetOutgoingChanSet() []uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstantOutRequest) GetDestAddr() string {
|
|
if x != nil {
|
|
return x.DestAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InstantOutResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InstantOutResponse) Reset() {
|
|
*x = InstantOutResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantOutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantOutResponse) ProtoMessage() {}
|
|
|
|
func (x *InstantOutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[40]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstantOutResponse.ProtoReflect.Descriptor instead.
|
|
func (*InstantOutResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *InstantOutResponse) GetInstantOutHash() []byte {
|
|
if x != nil {
|
|
return x.InstantOutHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstantOutResponse) GetSweepTxId() string {
|
|
if x != nil {
|
|
return x.SweepTxId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstantOutResponse) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InstantOutQuoteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The amount to swap in satoshis.
|
|
Amt uint64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
|
|
// Deprecated: use 'reservation_ids' instead.
|
|
// The amount of reservations to use for the swap.
|
|
//
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
NumReservations int32 `protobuf:"varint,2,opt,name=num_reservations,json=numReservations,proto3" json:"num_reservations,omitempty"`
|
|
// The reservations to use for the swap.
|
|
ReservationIds [][]byte `protobuf:"bytes,3,rep,name=reservation_ids,json=reservationIds,proto3" json:"reservation_ids,omitempty"`
|
|
}
|
|
|
|
func (x *InstantOutQuoteRequest) Reset() {
|
|
*x = InstantOutQuoteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantOutQuoteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantOutQuoteRequest) ProtoMessage() {}
|
|
|
|
func (x *InstantOutQuoteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[41]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstantOutQuoteRequest.ProtoReflect.Descriptor instead.
|
|
func (*InstantOutQuoteRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *InstantOutQuoteRequest) GetAmt() uint64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in client.proto.
|
|
func (x *InstantOutQuoteRequest) GetNumReservations() int32 {
|
|
if x != nil {
|
|
return x.NumReservations
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InstantOutQuoteRequest) GetReservationIds() [][]byte {
|
|
if x != nil {
|
|
return x.ReservationIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InstantOutQuoteResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InstantOutQuoteResponse) Reset() {
|
|
*x = InstantOutQuoteResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantOutQuoteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantOutQuoteResponse) ProtoMessage() {}
|
|
|
|
func (x *InstantOutQuoteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[42]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstantOutQuoteResponse.ProtoReflect.Descriptor instead.
|
|
func (*InstantOutQuoteResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *InstantOutQuoteResponse) GetServiceFeeSat() int64 {
|
|
if x != nil {
|
|
return x.ServiceFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InstantOutQuoteResponse) GetSweepFeeSat() int64 {
|
|
if x != nil {
|
|
return x.SweepFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListInstantOutsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListInstantOutsRequest) Reset() {
|
|
*x = ListInstantOutsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListInstantOutsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInstantOutsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListInstantOutsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[43]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListInstantOutsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListInstantOutsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
type ListInstantOutsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of all currently known instant out swaps and their status.
|
|
Swaps []*InstantOut `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
|
|
}
|
|
|
|
func (x *ListInstantOutsResponse) Reset() {
|
|
*x = ListInstantOutsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListInstantOutsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInstantOutsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListInstantOutsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[44]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListInstantOutsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListInstantOutsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *ListInstantOutsResponse) GetSwaps() []*InstantOut {
|
|
if x != nil {
|
|
return x.Swaps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InstantOut struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *InstantOut) Reset() {
|
|
*x = InstantOut{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantOut) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantOut) ProtoMessage() {}
|
|
|
|
func (x *InstantOut) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[45]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstantOut.ProtoReflect.Descriptor instead.
|
|
func (*InstantOut) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *InstantOut) GetSwapHash() []byte {
|
|
if x != nil {
|
|
return x.SwapHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstantOut) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InstantOut) GetAmount() uint64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InstantOut) GetReservationIds() [][]byte {
|
|
if x != nil {
|
|
return x.ReservationIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InstantOut) GetSweepTxId() string {
|
|
if x != nil {
|
|
return x.SweepTxId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NewStaticAddressRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *NewStaticAddressRequest) Reset() {
|
|
*x = NewStaticAddressRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NewStaticAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NewStaticAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *NewStaticAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[46]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NewStaticAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*NewStaticAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *NewStaticAddressRequest) GetClientKey() []byte {
|
|
if x != nil {
|
|
return x.ClientKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NewStaticAddressResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *NewStaticAddressResponse) Reset() {
|
|
*x = NewStaticAddressResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NewStaticAddressResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NewStaticAddressResponse) ProtoMessage() {}
|
|
|
|
func (x *NewStaticAddressResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[47]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NewStaticAddressResponse.ProtoReflect.Descriptor instead.
|
|
func (*NewStaticAddressResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *NewStaticAddressResponse) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NewStaticAddressResponse) GetExpiry() uint32 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListUnspentDepositsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListUnspentDepositsRequest) Reset() {
|
|
*x = ListUnspentDepositsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListUnspentDepositsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListUnspentDepositsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListUnspentDepositsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[48]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListUnspentDepositsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListUnspentDepositsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *ListUnspentDepositsRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListUnspentDepositsRequest) GetMaxConfs() int32 {
|
|
if x != nil {
|
|
return x.MaxConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListUnspentDepositsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of utxos behind the static address.
|
|
Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
|
|
}
|
|
|
|
func (x *ListUnspentDepositsResponse) Reset() {
|
|
*x = ListUnspentDepositsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListUnspentDepositsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListUnspentDepositsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListUnspentDepositsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[49]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListUnspentDepositsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListUnspentDepositsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *ListUnspentDepositsResponse) GetUtxos() []*Utxo {
|
|
if x != nil {
|
|
return x.Utxos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Utxo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *Utxo) Reset() {
|
|
*x = Utxo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Utxo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Utxo) ProtoMessage() {}
|
|
|
|
func (x *Utxo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[50]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Utxo.ProtoReflect.Descriptor instead.
|
|
func (*Utxo) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *Utxo) GetStaticAddress() string {
|
|
if x != nil {
|
|
return x.StaticAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Utxo) GetAmountSat() int64 {
|
|
if x != nil {
|
|
return x.AmountSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Utxo) GetOutpoint() string {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Utxo) GetConfirmations() int64 {
|
|
if x != nil {
|
|
return x.Confirmations
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WithdrawDepositsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) Reset() {
|
|
*x = WithdrawDepositsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawDepositsRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawDepositsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[51]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawDepositsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawDepositsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) GetOutpoints() []*OutPoint {
|
|
if x != nil {
|
|
return x.Outpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) GetAll() bool {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) GetDestAddr() string {
|
|
if x != nil {
|
|
return x.DestAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) GetSatPerVbyte() int64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawDepositsRequest) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WithdrawDepositsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *WithdrawDepositsResponse) Reset() {
|
|
*x = WithdrawDepositsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WithdrawDepositsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawDepositsResponse) ProtoMessage() {}
|
|
|
|
func (x *WithdrawDepositsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[52]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WithdrawDepositsResponse.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawDepositsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *WithdrawDepositsResponse) GetWithdrawalTxHash() string {
|
|
if x != nil {
|
|
return x.WithdrawalTxHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawDepositsResponse) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OutPoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *OutPoint) Reset() {
|
|
*x = OutPoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OutPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutPoint) ProtoMessage() {}
|
|
|
|
func (x *OutPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[53]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.
|
|
func (*OutPoint) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *OutPoint) GetTxidBytes() []byte {
|
|
if x != nil {
|
|
return x.TxidBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OutPoint) GetTxidStr() string {
|
|
if x != nil {
|
|
return x.TxidStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OutPoint) GetOutputIndex() uint32 {
|
|
if x != nil {
|
|
return x.OutputIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListStaticAddressDepositsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsRequest) Reset() {
|
|
*x = ListStaticAddressDepositsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStaticAddressDepositsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListStaticAddressDepositsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[54]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStaticAddressDepositsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListStaticAddressDepositsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsRequest) GetStateFilter() DepositState {
|
|
if x != nil {
|
|
return x.StateFilter
|
|
}
|
|
return DepositState_UNKNOWN_STATE
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsRequest) GetOutpoints() []string {
|
|
if x != nil {
|
|
return x.Outpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListStaticAddressDepositsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsResponse) Reset() {
|
|
*x = ListStaticAddressDepositsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStaticAddressDepositsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListStaticAddressDepositsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[55]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStaticAddressDepositsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListStaticAddressDepositsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *ListStaticAddressDepositsResponse) GetFilteredDeposits() []*Deposit {
|
|
if x != nil {
|
|
return x.FilteredDeposits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListStaticAddressSwapsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListStaticAddressSwapsRequest) Reset() {
|
|
*x = ListStaticAddressSwapsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListStaticAddressSwapsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStaticAddressSwapsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListStaticAddressSwapsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[56]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStaticAddressSwapsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListStaticAddressSwapsRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
type ListStaticAddressSwapsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of all swaps known static address loop-in swaps.
|
|
Swaps []*StaticAddressLoopInSwap `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
|
|
}
|
|
|
|
func (x *ListStaticAddressSwapsResponse) Reset() {
|
|
*x = ListStaticAddressSwapsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListStaticAddressSwapsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStaticAddressSwapsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListStaticAddressSwapsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[57]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStaticAddressSwapsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListStaticAddressSwapsResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *ListStaticAddressSwapsResponse) GetSwaps() []*StaticAddressLoopInSwap {
|
|
if x != nil {
|
|
return x.Swaps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StaticAddressSummaryRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StaticAddressSummaryRequest) Reset() {
|
|
*x = StaticAddressSummaryRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticAddressSummaryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticAddressSummaryRequest) ProtoMessage() {}
|
|
|
|
func (x *StaticAddressSummaryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[58]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressSummaryRequest.ProtoReflect.Descriptor instead.
|
|
func (*StaticAddressSummaryRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
type StaticAddressSummaryResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,4,opt,name=value_unconfirmed_satoshis,json=valueUnconfirmedSatoshis,proto3" json:"value_unconfirmed_satoshis,omitempty"`
|
|
// The total value of confirmed deposits.
|
|
ValueDepositedSatoshis int64 `protobuf:"varint,5,opt,name=value_deposited_satoshis,json=valueDepositedSatoshis,proto3" json:"value_deposited_satoshis,omitempty"`
|
|
// 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 `protobuf:"varint,7,opt,name=value_withdrawn_satoshis,json=valueWithdrawnSatoshis,proto3" json:"value_withdrawn_satoshis,omitempty"`
|
|
// The total value of all loop-ins that have been finalized.
|
|
ValueLoopedInSatoshis int64 `protobuf:"varint,8,opt,name=value_looped_in_satoshis,json=valueLoopedInSatoshis,proto3" json:"value_looped_in_satoshis,omitempty"`
|
|
// The total value of all htlc timeout sweeps that the client swept.
|
|
ValueHtlcTimeoutSweepsSatoshis int64 `protobuf:"varint,9,opt,name=value_htlc_timeout_sweeps_satoshis,json=valueHtlcTimeoutSweepsSatoshis,proto3" json:"value_htlc_timeout_sweeps_satoshis,omitempty"`
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) Reset() {
|
|
*x = StaticAddressSummaryResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticAddressSummaryResponse) ProtoMessage() {}
|
|
|
|
func (x *StaticAddressSummaryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[59]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressSummaryResponse.ProtoReflect.Descriptor instead.
|
|
func (*StaticAddressSummaryResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetStaticAddress() string {
|
|
if x != nil {
|
|
return x.StaticAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetRelativeExpiryBlocks() uint64 {
|
|
if x != nil {
|
|
return x.RelativeExpiryBlocks
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetTotalNumDeposits() uint32 {
|
|
if x != nil {
|
|
return x.TotalNumDeposits
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueUnconfirmedSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueUnconfirmedSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueDepositedSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueDepositedSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueExpiredSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueExpiredSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueWithdrawnSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueWithdrawnSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueLoopedInSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueLoopedInSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressSummaryResponse) GetValueHtlcTimeoutSweepsSatoshis() int64 {
|
|
if x != nil {
|
|
return x.ValueHtlcTimeoutSweepsSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Deposit struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *Deposit) Reset() {
|
|
*x = Deposit{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Deposit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Deposit) ProtoMessage() {}
|
|
|
|
func (x *Deposit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[60]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Deposit.ProtoReflect.Descriptor instead.
|
|
func (*Deposit) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *Deposit) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Deposit) GetState() DepositState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return DepositState_UNKNOWN_STATE
|
|
}
|
|
|
|
func (x *Deposit) GetOutpoint() string {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Deposit) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Deposit) GetConfirmationHeight() int64 {
|
|
if x != nil {
|
|
return x.ConfirmationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Deposit) GetBlocksUntilExpiry() int64 {
|
|
if x != nil {
|
|
return x.BlocksUntilExpiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StaticAddressLoopInSwap struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,5,opt,name=payment_request_amount_satoshis,json=paymentRequestAmountSatoshis,proto3" json:"payment_request_amount_satoshis,omitempty"`
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) Reset() {
|
|
*x = StaticAddressLoopInSwap{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticAddressLoopInSwap) ProtoMessage() {}
|
|
|
|
func (x *StaticAddressLoopInSwap) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[61]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressLoopInSwap.ProtoReflect.Descriptor instead.
|
|
func (*StaticAddressLoopInSwap) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) GetSwapHash() []byte {
|
|
if x != nil {
|
|
return x.SwapHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) GetDepositOutpoints() []string {
|
|
if x != nil {
|
|
return x.DepositOutpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) GetState() StaticAddressLoopInSwapState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return StaticAddressLoopInSwapState_UNKNOWN_STATIC_ADDRESS_SWAP_STATE
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) GetSwapAmountSatoshis() int64 {
|
|
if x != nil {
|
|
return x.SwapAmountSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInSwap) GetPaymentRequestAmountSatoshis() int64 {
|
|
if x != nil {
|
|
return x.PaymentRequestAmountSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StaticAddressLoopInRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,8,opt,name=payment_timeout_seconds,json=paymentTimeoutSeconds,proto3" json:"payment_timeout_seconds,omitempty"`
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) Reset() {
|
|
*x = StaticAddressLoopInRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticAddressLoopInRequest) ProtoMessage() {}
|
|
|
|
func (x *StaticAddressLoopInRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[62]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressLoopInRequest.ProtoReflect.Descriptor instead.
|
|
func (*StaticAddressLoopInRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetOutpoints() []string {
|
|
if x != nil {
|
|
return x.Outpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetMaxSwapFeeSatoshis() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapFeeSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetLastHop() []byte {
|
|
if x != nil {
|
|
return x.LastHop
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetInitiator() string {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetRouteHints() []*swapserverrpc.RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StaticAddressLoopInRequest) GetPaymentTimeoutSeconds() uint32 {
|
|
if x != nil {
|
|
return x.PaymentTimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StaticAddressLoopInResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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 `protobuf:"varint,5,opt,name=quoted_swap_fee_satoshis,json=quotedSwapFeeSatoshis,proto3" json:"quoted_swap_fee_satoshis,omitempty"`
|
|
// 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 `protobuf:"varint,11,opt,name=payment_timeout_seconds,json=paymentTimeoutSeconds,proto3" json:"payment_timeout_seconds,omitempty"`
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) Reset() {
|
|
*x = StaticAddressLoopInResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticAddressLoopInResponse) ProtoMessage() {}
|
|
|
|
func (x *StaticAddressLoopInResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[63]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticAddressLoopInResponse.ProtoReflect.Descriptor instead.
|
|
func (*StaticAddressLoopInResponse) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetSwapHash() []byte {
|
|
if x != nil {
|
|
return x.SwapHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetAmount() uint64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetHtlcCltv() int32 {
|
|
if x != nil {
|
|
return x.HtlcCltv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetQuotedSwapFeeSatoshis() int64 {
|
|
if x != nil {
|
|
return x.QuotedSwapFeeSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetMaxSwapFeeSatoshis() int64 {
|
|
if x != nil {
|
|
return x.MaxSwapFeeSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetInitiationHeight() uint32 {
|
|
if x != nil {
|
|
return x.InitiationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetProtocolVersion() string {
|
|
if x != nil {
|
|
return x.ProtocolVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetInitiator() string {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StaticAddressLoopInResponse) GetPaymentTimeoutSeconds() uint32 {
|
|
if x != nil {
|
|
return x.PaymentTimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AssetLoopOutRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) Reset() {
|
|
*x = AssetLoopOutRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AssetLoopOutRequest) ProtoMessage() {}
|
|
|
|
func (x *AssetLoopOutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[64]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AssetLoopOutRequest.ProtoReflect.Descriptor instead.
|
|
func (*AssetLoopOutRequest) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) GetAssetId() []byte {
|
|
if x != nil {
|
|
return x.AssetId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) GetAssetEdgeNode() []byte {
|
|
if x != nil {
|
|
return x.AssetEdgeNode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) GetMaxLimitMultiplier() float64 {
|
|
if x != nil {
|
|
return x.MaxLimitMultiplier
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AssetLoopOutRequest) GetExpiry() int64 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AssetRfqInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *AssetRfqInfo) Reset() {
|
|
*x = AssetRfqInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AssetRfqInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AssetRfqInfo) ProtoMessage() {}
|
|
|
|
func (x *AssetRfqInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[65]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AssetRfqInfo.ProtoReflect.Descriptor instead.
|
|
func (*AssetRfqInfo) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetPrepayRfqId() []byte {
|
|
if x != nil {
|
|
return x.PrepayRfqId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetMaxPrepayAssetAmt() uint64 {
|
|
if x != nil {
|
|
return x.MaxPrepayAssetAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetPrepayAssetRate() *FixedPoint {
|
|
if x != nil {
|
|
return x.PrepayAssetRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetSwapRfqId() []byte {
|
|
if x != nil {
|
|
return x.SwapRfqId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetMaxSwapAssetAmt() uint64 {
|
|
if x != nil {
|
|
return x.MaxSwapAssetAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetSwapAssetRate() *FixedPoint {
|
|
if x != nil {
|
|
return x.SwapAssetRate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssetRfqInfo) GetAssetName() string {
|
|
if x != nil {
|
|
return x.AssetName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 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.
|
|
type FixedPoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *FixedPoint) Reset() {
|
|
*x = FixedPoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FixedPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FixedPoint) ProtoMessage() {}
|
|
|
|
func (x *FixedPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[66]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FixedPoint.ProtoReflect.Descriptor instead.
|
|
func (*FixedPoint) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *FixedPoint) GetCoefficient() string {
|
|
if x != nil {
|
|
return x.Coefficient
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FixedPoint) GetScale() uint32 {
|
|
if x != nil {
|
|
return x.Scale
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AssetLoopOutInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *AssetLoopOutInfo) Reset() {
|
|
*x = AssetLoopOutInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_client_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AssetLoopOutInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AssetLoopOutInfo) ProtoMessage() {}
|
|
|
|
func (x *AssetLoopOutInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_client_proto_msgTypes[67]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AssetLoopOutInfo.ProtoReflect.Descriptor instead.
|
|
func (*AssetLoopOutInfo) Descriptor() ([]byte, []int) {
|
|
return file_client_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *AssetLoopOutInfo) GetAssetId() string {
|
|
if x != nil {
|
|
return x.AssetId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AssetLoopOutInfo) GetAssetName() string {
|
|
if x != nil {
|
|
return x.AssetName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AssetLoopOutInfo) GetAssetCostOffchain() uint64 {
|
|
if x != nil {
|
|
return x.AssetCostOffchain
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_client_proto protoreflect.FileDescriptor
|
|
|
|
var file_client_proto_rawDesc = []byte{
|
|
0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07,
|
|
0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x1a, 0x1a, 0x73, 0x77, 0x61, 0x70, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x22, 0xff, 0x06, 0x0a, 0x0e, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x14,
|
|
0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x53,
|
|
0x77, 0x61, 0x70, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x33, 0x0a,
|
|
0x16, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x5f, 0x72, 0x6f, 0x75, 0x74,
|
|
0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6d,
|
|
0x61, 0x78, 0x50, 0x72, 0x65, 0x70, 0x61, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x46,
|
|
0x65, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66,
|
|
0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61,
|
|
0x70, 0x46, 0x65, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x70,
|
|
0x61, 0x79, 0x5f, 0x61, 0x6d, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61,
|
|
0x78, 0x50, 0x72, 0x65, 0x70, 0x61, 0x79, 0x41, 0x6d, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61,
|
|
0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x2c,
|
|
0x0a, 0x10, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x4f, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x11,
|
|
0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x73, 0x65,
|
|
0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e,
|
|
0x67, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x77, 0x65, 0x65,
|
|
0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x09, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x54, 0x61,
|
|
0x72, 0x67, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x11, 0x68, 0x74, 0x6c, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6c,
|
|
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65,
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x73, 0x77, 0x61, 0x70, 0x50, 0x75, 0x62, 0x6c,
|
|
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74,
|
|
0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61,
|
|
0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a,
|
|
0x11, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f,
|
|
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
0x28, 0x0a, 0x10, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61,
|
|
0x64, 0x64, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x45, 0x78, 0x74,
|
|
0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73,
|
|
0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, 0x20, 0x03,
|
|
0x28, 0x0c, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
|
0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69,
|
|
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x61,
|
|
0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c,
|
|
0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x09, 0x61,
|
|
0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0e, 0x61, 0x73, 0x73, 0x65,
|
|
0x74, 0x5f, 0x72, 0x66, 0x71, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74,
|
|
0x52, 0x66, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x52, 0x66,
|
|
0x71, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xd4, 0x02, 0x0a, 0x0d, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x78,
|
|
0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0a, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d,
|
|
0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12,
|
|
0x19, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78,
|
|
0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x48, 0x74, 0x6c, 0x63, 0x12,
|
|
0x28, 0x0a, 0x10, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72,
|
|
0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x68, 0x74, 0x6c, 0x63, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62,
|
|
0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x33, 0x0a,
|
|
0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75,
|
|
0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e,
|
|
0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0xeb, 0x01, 0x0a,
|
|
0x0c, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x02, 0x69,
|
|
0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x07, 0x69, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0c,
|
|
0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x68, 0x74, 0x6c, 0x63, 0x41, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x5f, 0x70, 0x32, 0x77, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x10, 0x68, 0x74, 0x6c, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x32, 0x77, 0x73,
|
|
0x68, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
0x73, 0x5f, 0x70, 0x32, 0x74, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x68, 0x74,
|
|
0x6c, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x32, 0x74, 0x72, 0x12, 0x25, 0x0a,
|
|
0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73,
|
|
0x73, 0x61, 0x67, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x10, 0x0a, 0x0e, 0x4d, 0x6f,
|
|
0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb1, 0x05, 0x0a,
|
|
0x0a, 0x53, 0x77, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61,
|
|
0x6d, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x12, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x02, 0x69,
|
|
0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x07, 0x69, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x04,
|
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61,
|
|
0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a,
|
|
0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
|
|
0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e,
|
|
0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0d, 0x66,
|
|
0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f,
|
|
0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
0x25, 0x0a, 0x0c, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x68, 0x74, 0x6c, 0x63, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x32, 0x77, 0x73, 0x68, 0x18, 0x0c, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x10, 0x68, 0x74, 0x6c, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50,
|
|
0x32, 0x77, 0x73, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x32, 0x74, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0f, 0x68, 0x74, 0x6c, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x32, 0x74, 0x72,
|
|
0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65,
|
|
0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x63, 0x68, 0x61, 0x69,
|
|
0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x4f, 0x6e, 0x63,
|
|
0x68, 0x61, 0x69, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x66, 0x66,
|
|
0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x73,
|
|
0x74, 0x4f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x61, 0x73,
|
|
0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6c, 0x61, 0x73,
|
|
0x74, 0x48, 0x6f, 0x70, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x11, 0x20, 0x03, 0x28, 0x04, 0x52,
|
|
0x0f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x65, 0x74,
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75,
|
|
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x22, 0x73, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x10, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x77, 0x61,
|
|
0x70, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18,
|
|
0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x61,
|
|
0x70, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x77,
|
|
0x61, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f,
|
|
0x73, 0x77, 0x61, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78,
|
|
0x53, 0x77, 0x61, 0x70, 0x73, 0x22, 0xf1, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77,
|
|
0x61, 0x70, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x09, 0x73, 0x77, 0x61,
|
|
0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73,
|
|
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x46,
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x08, 0x73, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x6e,
|
|
0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0f, 0x6f,
|
|
0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x65, 0x74, 0x12, 0x14,
|
|
0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
|
|
0x61, 0x62, 0x65, 0x6c, 0x12, 0x27, 0x0a, 0x10, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x5f,
|
|
0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d,
|
|
0x6c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x70, 0x12, 0x26, 0x0a,
|
|
0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x6f, 0x6e, 0x6c, 0x79,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x77, 0x61,
|
|
0x70, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
|
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x4e, 0x73, 0x22, 0x34, 0x0a, 0x0e, 0x53, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x46,
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x00, 0x12, 0x0c,
|
|
0x0a, 0x08, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
|
|
0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x49, 0x4e, 0x10, 0x02, 0x22, 0x66, 0x0a, 0x11, 0x4c, 0x69, 0x73,
|
|
0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29,
|
|
0x0a, 0x05, 0x73, 0x77, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
|
0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x52, 0x05, 0x73, 0x77, 0x61, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
|
|
0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
|
|
0x65, 0x22, 0x21, 0x0a, 0x0f, 0x53, 0x77, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x02, 0x69, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x22, 0x7f, 0x0a, 0x0f, 0x49, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73,
|
|
0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61,
|
|
0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08,
|
|
0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a,
|
|
0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0xcc, 0x01, 0x0a, 0x10, 0x4f, 0x75, 0x74, 0x54, 0x65, 0x72,
|
|
0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69,
|
|
0x6e, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61,
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78,
|
|
0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69,
|
|
0x6e, 0x5f, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x43, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74, 0x61,
|
|
0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x64, 0x65, 0x6c,
|
|
0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x43, 0x6c, 0x74,
|
|
0x76, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02,
|
|
0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04,
|
|
0x08, 0x07, 0x10, 0x08, 0x22, 0x92, 0x03, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x5f,
|
|
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65,
|
|
0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x48, 0x74, 0x6c, 0x63, 0x12, 0x3a, 0x0a,
|
|
0x19, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x17, 0x73, 0x77, 0x61, 0x70, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x27, 0x0a, 0x10, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x5f, 0x69, 0x6e, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x4c, 0x61, 0x73, 0x74, 0x48,
|
|
0x6f, 0x70, 0x12, 0x41, 0x0a, 0x13, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x5f, 0x72, 0x6f,
|
|
0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x48,
|
|
0x69, 0x6e, 0x74, 0x52, 0x10, 0x6c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
|
0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12,
|
|
0x2b, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6f,
|
|
0x73, 0x69, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0a,
|
|
0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74,
|
|
0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x09,
|
|
0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x49, 0x6e,
|
|
0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a,
|
|
0x0c, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12,
|
|
0x2f, 0x0a, 0x14, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f,
|
|
0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x68,
|
|
0x74, 0x6c, 0x63, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12,
|
|
0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
|
|
0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0xb0, 0x02, 0x0a,
|
|
0x10, 0x4f, 0x75, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65,
|
|
0x53, 0x61, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x5f, 0x61, 0x6d,
|
|
0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x72, 0x65,
|
|
0x70, 0x61, 0x79, 0x41, 0x6d, 0x74, 0x53, 0x61, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x68, 0x74, 0x6c,
|
|
0x63, 0x5f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x68, 0x74, 0x6c, 0x63, 0x53, 0x77, 0x65, 0x65, 0x70,
|
|
0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0f, 0x73, 0x77, 0x61, 0x70, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65,
|
|
0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74,
|
|
0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x66, 0x71, 0x5f,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x66, 0x71, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x52, 0x66, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x22,
|
|
0x70, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x10, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d,
|
|
0x74, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x70, 0x12, 0x33, 0x0a, 0x0b,
|
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74,
|
|
0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74,
|
|
0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x0e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e,
|
|
0x4c, 0x34, 0x30, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x73, 0x22, 0x17, 0x0a, 0x15, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4c, 0x34, 0x30, 0x32, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x46, 0x65,
|
|
0x74, 0x63, 0x68, 0x4c, 0x34, 0x30, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x09, 0x4c, 0x34, 0x30, 0x32, 0x54, 0x6f, 0x6b,
|
|
0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72,
|
|
0x6f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4d,
|
|
0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61,
|
|
0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65,
|
|
0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
|
|
0x70, 0x61, 0x69, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0e, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x69, 0x64, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x31, 0x0a, 0x15, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x70,
|
|
0x61, 0x69, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12,
|
|
0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x50, 0x61, 0x69, 0x64, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
0x69, 0x64, 0x22, 0xc8, 0x01, 0x0a, 0x09, 0x4c, 0x6f, 0x6f, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x75,
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61,
|
|
0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
|
|
0x66, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x75, 0x6d,
|
|
0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x74, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0d, 0x73, 0x75, 0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x6d,
|
|
0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x75, 0x6d, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64,
|
|
0x65, 0x64, 0x5f, 0x61, 0x6d, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x75,
|
|
0x6d, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x41, 0x6d, 0x74, 0x22, 0x10, 0x0a,
|
|
0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
0xe1, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
|
|
0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x63, 0x5f, 0x6c,
|
|
0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x63,
|
|
0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x6c,
|
|
0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73,
|
|
0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x63, 0x61, 0x72,
|
|
0x6f, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x22, 0x0a, 0x0d,
|
|
0x74, 0x6c, 0x73, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6c, 0x73, 0x43, 0x65, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68,
|
|
0x12, 0x38, 0x0a, 0x0e, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x74, 0x61,
|
|
0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0c, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x4f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x0d, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x70,
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0b, 0x6c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x53, 0x74, 0x61,
|
|
0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61, 0x73,
|
|
0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x48,
|
|
0x61, 0x73, 0x68, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64,
|
|
0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x22, 0x8d, 0x0b, 0x0a, 0x13, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61,
|
|
0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52,
|
|
0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x70,
|
|
0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x66, 0x65, 0x65, 0x50, 0x70, 0x6d, 0x12,
|
|
0x3d, 0x0a, 0x1c, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74,
|
|
0x65, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x73, 0x77, 0x65, 0x65, 0x70, 0x46, 0x65, 0x65, 0x52,
|
|
0x61, 0x74, 0x65, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x27,
|
|
0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x70,
|
|
0x70, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61,
|
|
0x70, 0x46, 0x65, 0x65, 0x50, 0x70, 0x6d, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x72,
|
|
0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x70, 0x6d, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
|
|
0x46, 0x65, 0x65, 0x50, 0x70, 0x6d, 0x12, 0x3a, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72,
|
|
0x65, 0x70, 0x61, 0x79, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65,
|
|
0x5f, 0x70, 0x70, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x50,
|
|
0x72, 0x65, 0x70, 0x61, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x50,
|
|
0x70, 0x6d, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79,
|
|
0x5f, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x50,
|
|
0x72, 0x65, 0x70, 0x61, 0x79, 0x53, 0x61, 0x74, 0x12, 0x29, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f,
|
|
0x6d, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x46, 0x65, 0x65,
|
|
0x53, 0x61, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f,
|
|
0x73, 0x77, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
|
|
0x2e, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x6f,
|
|
0x66, 0x66, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x66, 0x61,
|
|
0x69, 0x6c, 0x75, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x53, 0x65, 0x63, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x08, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x12, 0x2e, 0x0a, 0x13, 0x61,
|
|
0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73,
|
|
0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x53, 0x61, 0x74, 0x12, 0x3d, 0x0a, 0x19, 0x61,
|
|
0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02,
|
|
0x18, 0x01, 0x52, 0x16, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x42, 0x75, 0x64, 0x67,
|
|
0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x12, 0x61, 0x75,
|
|
0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74,
|
|
0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x4d, 0x61, 0x78, 0x49,
|
|
0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73,
|
|
0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61,
|
|
0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x68, 0x74, 0x6c, 0x63, 0x5f,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x0e, 0x68, 0x74, 0x6c, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65,
|
|
0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x64, 0x65,
|
|
0x73, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x44, 0x65, 0x73, 0x74, 0x41, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x22, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
|
|
0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x13, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x1e, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x42, 0x75, 0x64, 0x67, 0x65,
|
|
0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65,
|
|
0x63, 0x12, 0x3f, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x62, 0x75,
|
|
0x64, 0x67, 0x65, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73,
|
|
0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, 0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65,
|
|
0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x61, 0x73, 0x79, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x61, 0x73, 0x79, 0x41,
|
|
0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x12, 0x42, 0x0a, 0x1e, 0x65, 0x61, 0x73, 0x79, 0x5f,
|
|
0x61, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x74,
|
|
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x1a, 0x65, 0x61, 0x73, 0x79, 0x41, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x4c, 0x6f, 0x63,
|
|
0x61, 0x6c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61,
|
|
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x5f, 0x61, 0x64, 0x64, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x14, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
|
0x64, 0x64, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5d, 0x0a, 0x11, 0x65, 0x61, 0x73, 0x79, 0x5f,
|
|
0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x19, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71,
|
|
0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73,
|
|
0x2e, 0x45, 0x61, 0x73, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x65, 0x61, 0x73, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74,
|
|
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x73,
|
|
0x77, 0x61, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x66, 0x61, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x50,
|
|
0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x64, 0x0a, 0x14, 0x45, 0x61,
|
|
0x73, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x61,
|
|
0x73, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x75, 0x74, 0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
0x22, 0x68, 0x0a, 0x17, 0x45, 0x61, 0x73, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x75, 0x74,
|
|
0x6f, 0x6c, 0x6f, 0x6f, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x74,
|
|
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x6d, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x54, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x6d, 0x74, 0x22, 0x84, 0x02, 0x0a, 0x0d, 0x4c,
|
|
0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x09, 0x73,
|
|
0x77, 0x61, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11,
|
|
0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70,
|
|
0x65, 0x52, 0x08, 0x73, 0x77, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70,
|
|
0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62,
|
|
0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71, 0x75,
|
|
0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x11, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
|
|
0x6c, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x74,
|
|
0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11,
|
|
0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
|
|
0x64, 0x22, 0x59, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74,
|
|
0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c,
|
|
0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71,
|
|
0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73,
|
|
0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x1c, 0x0a, 0x1a,
|
|
0x53, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61,
|
|
0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x75,
|
|
0x67, 0x67, 0x65, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x22, 0x72, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65,
|
|
0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64,
|
|
0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
|
|
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72,
|
|
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xb6, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73,
|
|
0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32,
|
|
0x0a, 0x08, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x17, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x4f,
|
|
0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x6c, 0x6f, 0x6f, 0x70, 0x4f,
|
|
0x75, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x6c, 0x6f, 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f,
|
|
0x6f, 0x70, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x49, 0x6e, 0x12, 0x39, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66,
|
|
0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70,
|
|
0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64,
|
|
0x52, 0x0c, 0x64, 0x69, 0x73, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x22, 0x57,
|
|
0x0a, 0x12, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x16, 0x69, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x5f, 0x77,
|
|
0x68, 0x61, 0x74, 0x5f, 0x69, 0x5f, 0x61, 0x6d, 0x5f, 0x64, 0x6f, 0x69, 0x6e, 0x67, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x4b, 0x6e, 0x6f, 0x77, 0x57, 0x68, 0x61, 0x74, 0x49,
|
|
0x41, 0x6d, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x62, 0x61, 0x6e, 0x64,
|
|
0x6f, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19,
|
|
0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x18, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x65,
|
|
0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
|
0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x72,
|
|
0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x12, 0x13, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x74, 0x78, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70,
|
|
0x69, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72,
|
|
0x79, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x65, 0x72,
|
|
0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c,
|
|
0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73,
|
|
0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0f, 0x6f, 0x75, 0x74,
|
|
0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x64, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x64, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x22, 0x74, 0x0a, 0x12, 0x49, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x28, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x68,
|
|
0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x74, 0x4f, 0x75, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x77, 0x65,
|
|
0x65, 0x70, 0x5f, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x73, 0x77, 0x65, 0x65, 0x70, 0x54, 0x78, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22,
|
|
0x82, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x51, 0x75,
|
|
0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x2d, 0x0a, 0x10,
|
|
0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x52,
|
|
0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72,
|
|
0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03,
|
|
0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x64, 0x73, 0x22, 0x65, 0x0a, 0x17, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f,
|
|
0x75, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x26, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73,
|
|
0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x77, 0x65, 0x65, 0x70,
|
|
0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
|
0x73, 0x77, 0x65, 0x65, 0x70, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x4c,
|
|
0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x29, 0x0a, 0x05, 0x73, 0x77, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x74, 0x4f, 0x75, 0x74, 0x52, 0x05, 0x73, 0x77, 0x61, 0x70, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x0a,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x77,
|
|
0x61, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73,
|
|
0x77, 0x61, 0x70, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61,
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e,
|
|
0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x1e,
|
|
0x0a, 0x0b, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x77, 0x65, 0x65, 0x70, 0x54, 0x78, 0x49, 0x64, 0x22, 0x38,
|
|
0x0a, 0x17, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63,
|
|
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x4c, 0x0a, 0x18, 0x4e, 0x65, 0x77, 0x53,
|
|
0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16,
|
|
0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06,
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x22, 0x56, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e,
|
|
0x73, 0x70, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x22, 0x42,
|
|
0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a,
|
|
0x05, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x52, 0x05, 0x75, 0x74, 0x78,
|
|
0x6f, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x04, 0x55, 0x74, 0x78, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x73,
|
|
0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61,
|
|
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x24, 0x0a,
|
|
0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77,
|
|
0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x2f, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74,
|
|
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
|
|
0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61,
|
|
0x6c, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x12,
|
|
0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62,
|
|
0x79, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x62, 0x0a, 0x18, 0x57,
|
|
0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64,
|
|
0x72, 0x61, 0x77, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54,
|
|
0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22,
|
|
0x67, 0x0a, 0x08, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
|
|
0x78, 0x69, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x09, 0x74, 0x78, 0x69, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x78,
|
|
0x69, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x78,
|
|
0x69, 0x64, 0x53, 0x74, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f,
|
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x75, 0x74,
|
|
0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x7a, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74,
|
|
0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0c,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x73, 0x22, 0x62, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x11, 0x66, 0x69, 0x6c,
|
|
0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x44,
|
|
0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x65, 0x64,
|
|
0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74,
|
|
0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x77, 0x61,
|
|
0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x58, 0x0a, 0x1e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x77,
|
|
0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x73,
|
|
0x77, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x05, 0x73, 0x77,
|
|
0x61, 0x70, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x22, 0x96, 0x04, 0x0a, 0x1c, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x61, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61,
|
|
0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65,
|
|
0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x72, 0x65, 0x6c, 0x61,
|
|
0x74, 0x69, 0x76, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
|
|
0x12, 0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x64, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x74, 0x6f,
|
|
0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x3c,
|
|
0x0a, 0x1a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72,
|
|
0x6d, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x18, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x72, 0x6d, 0x65, 0x64, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x38, 0x0a, 0x18,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x5f,
|
|
0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x53, 0x61,
|
|
0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x78, 0x70,
|
|
0x69, 0x72, 0x65, 0x64, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x38, 0x0a, 0x18,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x6e, 0x5f,
|
|
0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x6e, 0x53, 0x61,
|
|
0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
|
0x6c, 0x6f, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68,
|
|
0x69, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4c,
|
|
0x6f, 0x6f, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12,
|
|
0x4a, 0x0a, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x74, 0x69,
|
|
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x73, 0x5f, 0x73, 0x61, 0x74,
|
|
0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x48, 0x74, 0x6c, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x77, 0x65,
|
|
0x65, 0x70, 0x73, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x22, 0xd9, 0x01, 0x0a, 0x07,
|
|
0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72,
|
|
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x55, 0x6e, 0x74, 0x69,
|
|
0x6c, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x22, 0x99, 0x02, 0x0a, 0x17, 0x53, 0x74, 0x61, 0x74,
|
|
0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x53,
|
|
0x77, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x68, 0x61, 0x73, 0x68,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x77, 0x61, 0x70, 0x48, 0x61, 0x73, 0x68,
|
|
0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x70,
|
|
0x6f, 0x73, 0x69, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x77,
|
|
0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68,
|
|
0x69, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x77, 0x61, 0x70, 0x41, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x45, 0x0a, 0x1f,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
|
|
0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61, 0x74, 0x6f, 0x73,
|
|
0x68, 0x69, 0x73, 0x22, 0xc3, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
|
|
0x12, 0x31, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65,
|
|
0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x12, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x6f, 0x73,
|
|
0x68, 0x69, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x70, 0x12, 0x14,
|
|
0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
|
|
0x61, 0x62, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f,
|
|
0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74,
|
|
0x6f, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74,
|
|
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72, 0x6f, 0x75,
|
|
0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61,
|
|
0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74,
|
|
0x65, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x15, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f,
|
|
0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xb5, 0x03, 0x0a, 0x1b, 0x53, 0x74,
|
|
0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x77, 0x61,
|
|
0x70, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x73, 0x77,
|
|
0x61, 0x70, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x63, 0x6c, 0x74,
|
|
0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x68, 0x74, 0x6c, 0x63, 0x43, 0x6c, 0x74,
|
|
0x76, 0x12, 0x37, 0x0a, 0x18, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x77, 0x61, 0x70,
|
|
0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x15, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46,
|
|
0x65, 0x65, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x61,
|
|
0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73,
|
|
0x68, 0x69, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x53, 0x77,
|
|
0x61, 0x70, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12, 0x2b, 0x0a,
|
|
0x11, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67,
|
|
0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x09,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
|
0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63,
|
|
0x6f, 0x6e, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
|
0x73, 0x22, 0xa2, 0x01, 0x0a, 0x13, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x6f, 0x6f, 0x70, 0x4f,
|
|
0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x73, 0x73,
|
|
0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x73, 0x73,
|
|
0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x64,
|
|
0x67, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61,
|
|
0x73, 0x73, 0x65, 0x74, 0x45, 0x64, 0x67, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14,
|
|
0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
|
|
0x6c, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x4c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x12, 0x16,
|
|
0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x22, 0xcd, 0x02, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74,
|
|
0x52, 0x66, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x70, 0x61,
|
|
0x79, 0x5f, 0x72, 0x66, 0x71, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b,
|
|
0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x52, 0x66, 0x71, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x6d,
|
|
0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
|
|
0x61, 0x6d, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x50, 0x72,
|
|
0x65, 0x70, 0x61, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x6d, 0x74, 0x12, 0x3f, 0x0a, 0x11,
|
|
0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x61, 0x74,
|
|
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0f, 0x70, 0x72,
|
|
0x65, 0x70, 0x61, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a,
|
|
0x0b, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x72, 0x66, 0x71, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x09, 0x73, 0x77, 0x61, 0x70, 0x52, 0x66, 0x71, 0x49, 0x64, 0x12, 0x2b, 0x0a,
|
|
0x12, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
|
|
0x61, 0x6d, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x53, 0x77,
|
|
0x61, 0x70, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x6d, 0x74, 0x12, 0x3b, 0x0a, 0x0f, 0x73, 0x77,
|
|
0x61, 0x70, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69,
|
|
0x78, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0d, 0x73, 0x77, 0x61, 0x70, 0x41, 0x73,
|
|
0x73, 0x65, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73,
|
|
0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0a, 0x46, 0x69, 0x78, 0x65, 0x64, 0x50,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69,
|
|
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x65, 0x66, 0x66,
|
|
0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x7c, 0x0a, 0x10,
|
|
0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x19, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
|
|
0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x73,
|
|
0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69,
|
|
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x61, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f,
|
|
0x73, 0x74, 0x4f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2a, 0x3b, 0x0a, 0x0b, 0x41, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x44, 0x44,
|
|
0x52, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
|
0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x41, 0x50, 0x52, 0x4f, 0x4f, 0x54, 0x5f, 0x50,
|
|
0x55, 0x42, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x08, 0x53, 0x77, 0x61, 0x70, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x4f, 0x55, 0x54, 0x10,
|
|
0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x2a, 0x73,
|
|
0x0a, 0x09, 0x53, 0x77, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x49,
|
|
0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52,
|
|
0x45, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x56, 0x45, 0x41, 0x4c, 0x45, 0x44, 0x10,
|
|
0x01, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53,
|
|
0x48, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53,
|
|
0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x13,
|
|
0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45,
|
|
0x44, 0x10, 0x05, 0x2a, 0xeb, 0x02, 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52,
|
|
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45,
|
|
0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b,
|
|
0x0a, 0x17, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e,
|
|
0x5f, 0x4f, 0x46, 0x46, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46,
|
|
0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x49,
|
|
0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x41, 0x49, 0x4c, 0x55,
|
|
0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x57, 0x45, 0x45, 0x50, 0x5f,
|
|
0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x46, 0x41, 0x49,
|
|
0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x53, 0x55,
|
|
0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x04,
|
|
0x12, 0x1c, 0x0a, 0x18, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53,
|
|
0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4f, 0x52, 0x41, 0x52, 0x59, 0x10, 0x05, 0x12, 0x23,
|
|
0x0a, 0x1f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e,
|
|
0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x4d, 0x4f, 0x55, 0x4e,
|
|
0x54, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52,
|
|
0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10,
|
|
0x07, 0x12, 0x31, 0x0a, 0x2d, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41,
|
|
0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54,
|
|
0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x52, 0x4d, 0x45, 0x44, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e,
|
|
0x43, 0x45, 0x10, 0x08, 0x12, 0x2b, 0x0a, 0x27, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f,
|
|
0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54,
|
|
0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x4d, 0x54, 0x5f, 0x53, 0x57, 0x45, 0x50, 0x54, 0x10,
|
|
0x09, 0x2a, 0x2f, 0x0a, 0x11, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x75,
|
|
0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
|
|
0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44,
|
|
0x10, 0x01, 0x2a, 0xa6, 0x03, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x61, 0x73, 0x6f,
|
|
0x6e, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e,
|
|
0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x55,
|
|
0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x55, 0x44, 0x47, 0x45, 0x54,
|
|
0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1a,
|
|
0x0a, 0x16, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x57,
|
|
0x45, 0x45, 0x50, 0x5f, 0x46, 0x45, 0x45, 0x53, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x55,
|
|
0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x55, 0x44, 0x47, 0x45, 0x54,
|
|
0x5f, 0x45, 0x4c, 0x41, 0x50, 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x55,
|
|
0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x46, 0x4c, 0x49,
|
|
0x47, 0x48, 0x54, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45,
|
|
0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x57, 0x41, 0x50, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x05, 0x12,
|
|
0x19, 0x0a, 0x15, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4d,
|
|
0x49, 0x4e, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55,
|
|
0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x50, 0x41, 0x59,
|
|
0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f,
|
|
0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x4f, 0x46,
|
|
0x46, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53,
|
|
0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x4f, 0x50, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x09, 0x12, 0x17, 0x0a,
|
|
0x13, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x4f,
|
|
0x50, 0x5f, 0x49, 0x4e, 0x10, 0x0a, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52,
|
|
0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x49, 0x51, 0x55, 0x49, 0x44, 0x49, 0x54, 0x59, 0x5f,
|
|
0x4f, 0x4b, 0x10, 0x0b, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x52, 0x45, 0x41,
|
|
0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x55, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x53, 0x55, 0x46,
|
|
0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x0c, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x55, 0x54,
|
|
0x4f, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x45, 0x45, 0x5f, 0x49, 0x4e, 0x53,
|
|
0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x0d, 0x2a, 0xdc, 0x01, 0x0a, 0x0c,
|
|
0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x11, 0x0a, 0x0d,
|
|
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12,
|
|
0x0d, 0x0a, 0x09, 0x44, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f,
|
|
0x0a, 0x0b, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 0x41, 0x57, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12,
|
|
0x0d, 0x0a, 0x09, 0x57, 0x49, 0x54, 0x48, 0x44, 0x52, 0x41, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x0e,
|
|
0x0a, 0x0a, 0x4c, 0x4f, 0x4f, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x10, 0x04, 0x12, 0x0d,
|
|
0x0a, 0x09, 0x4c, 0x4f, 0x4f, 0x50, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x10, 0x05, 0x12, 0x16, 0x0a,
|
|
0x12, 0x53, 0x57, 0x45, 0x45, 0x50, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x54, 0x49, 0x4d, 0x45,
|
|
0x4f, 0x55, 0x54, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x54, 0x49,
|
|
0x4d, 0x45, 0x4f, 0x55, 0x54, 0x5f, 0x53, 0x57, 0x45, 0x50, 0x54, 0x10, 0x07, 0x12, 0x13, 0x0a,
|
|
0x0f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44,
|
|
0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x45,
|
|
0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x53, 0x57, 0x45, 0x45, 0x50, 0x10, 0x09, 0x12, 0x0b, 0x0a,
|
|
0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0a, 0x2a, 0xef, 0x02, 0x0a, 0x1c, 0x53,
|
|
0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70,
|
|
0x49, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x55,
|
|
0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x41, 0x44,
|
|
0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x57, 0x41, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
|
|
0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x10,
|
|
0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x54,
|
|
0x58, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x4e, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x49,
|
|
0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x54, 0x58, 0x10, 0x03,
|
|
0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x43, 0x45,
|
|
0x49, 0x56, 0x45, 0x44, 0x10, 0x04, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x57, 0x45, 0x45, 0x50, 0x5f,
|
|
0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x48,
|
|
0x54, 0x4c, 0x43, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x05, 0x12, 0x1e, 0x0a,
|
|
0x1a, 0x4d, 0x4f, 0x4e, 0x49, 0x54, 0x4f, 0x52, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x54, 0x49,
|
|
0x4d, 0x45, 0x4f, 0x55, 0x54, 0x5f, 0x53, 0x57, 0x45, 0x45, 0x50, 0x10, 0x06, 0x12, 0x25, 0x0a,
|
|
0x21, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x41, 0x44, 0x44,
|
|
0x52, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x5f, 0x53, 0x57, 0x45,
|
|
0x50, 0x54, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45,
|
|
0x44, 0x10, 0x08, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44,
|
|
0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x46,
|
|
0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e, 0x4c, 0x4f, 0x43,
|
|
0x4b, 0x5f, 0x44, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x53, 0x10, 0x0a, 0x12, 0x1e, 0x0a, 0x1a,
|
|
0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x41, 0x44,
|
|
0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x57, 0x41, 0x50, 0x10, 0x0b, 0x32, 0xe8, 0x11, 0x0a,
|
|
0x0a, 0x53, 0x77, 0x61, 0x70, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x07, 0x4c,
|
|
0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x12, 0x17, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e,
|
|
0x12, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x70, 0x49,
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x39, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x17, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77,
|
|
0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x09, 0x4c, 0x69,
|
|
0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39,
|
|
0x0a, 0x08, 0x53, 0x77, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53,
|
|
0x77, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x41, 0x62, 0x61,
|
|
0x6e, 0x64, 0x6f, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x12, 0x1b, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e,
|
|
0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x65,
|
|
0x72, 0x6d, 0x73, 0x12, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65,
|
|
0x72, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x70, 0x4f, 0x75, 0x74,
|
|
0x51, 0x75, 0x6f, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e,
|
|
0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x6f,
|
|
0x6f, 0x70, 0x49, 0x6e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70,
|
|
0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x18, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x54, 0x65, 0x72,
|
|
0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x47, 0x65,
|
|
0x74, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e,
|
|
0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a,
|
|
0x05, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x15, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
|
|
0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4c, 0x34, 0x30, 0x32,
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,
|
|
0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4c, 0x73,
|
|
0x61, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x17, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x46, 0x65, 0x74,
|
|
0x63, 0x68, 0x4c, 0x34, 0x30, 0x32, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1e, 0x2e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4c, 0x34, 0x30, 0x32, 0x54,
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x4c, 0x34, 0x30, 0x32, 0x54,
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07,
|
|
0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x18, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x12, 0x47, 0x65,
|
|
0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x12, 0x22, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69,
|
|
0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c,
|
|
0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
|
|
0x72, 0x73, 0x12, 0x5d, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69,
|
|
0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64,
|
|
0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70,
|
|
0x73, 0x12, 0x1c, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x67, 0x67,
|
|
0x65, 0x73, 0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x1d, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73,
|
|
0x74, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57,
|
|
0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x12, 0x20, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c,
|
|
0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x74, 0x4f, 0x75, 0x74, 0x12, 0x1a, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54,
|
|
0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x51, 0x75, 0x6f, 0x74,
|
|
0x65, 0x12, 0x1f, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75, 0x74,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4f, 0x75,
|
|
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x4e, 0x65,
|
|
0x77, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20,
|
|
0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74,
|
|
0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x21, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74,
|
|
0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65,
|
|
0x6e, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x6c, 0x6f, 0x6f,
|
|
0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74,
|
|
0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x24, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e,
|
|
0x73, 0x70, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61,
|
|
0x77, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6c, 0x6f, 0x6f, 0x70,
|
|
0x72, 0x70, 0x63, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x44, 0x65, 0x70, 0x6f,
|
|
0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x44, 0x65,
|
|
0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72,
|
|
0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x29, 0x2e, 0x6c, 0x6f,
|
|
0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63,
|
|
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x69, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63,
|
|
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x77, 0x61, 0x70, 0x73, 0x12, 0x26, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69,
|
|
0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x4c,
|
|
0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x53, 0x77, 0x61, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a,
|
|
0x17, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72,
|
|
0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25,
|
|
0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x12, 0x23, 0x2e, 0x6c,
|
|
0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x41, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74,
|
|
0x69, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x6f, 0x70, 0x49, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75,
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6c,
|
|
0x61, 0x62, 0x73, 0x2f, 0x6c, 0x6f, 0x6f, 0x70, 0x2f, 0x6c, 0x6f, 0x6f, 0x70, 0x72, 0x70, 0x63,
|
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_client_proto_rawDescOnce sync.Once
|
|
file_client_proto_rawDescData = file_client_proto_rawDesc
|
|
)
|
|
|
|
func file_client_proto_rawDescGZIP() []byte {
|
|
file_client_proto_rawDescOnce.Do(func() {
|
|
file_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_client_proto_rawDescData)
|
|
})
|
|
return file_client_proto_rawDescData
|
|
}
|
|
|
|
var file_client_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
|
|
var file_client_proto_msgTypes = make([]protoimpl.MessageInfo, 69)
|
|
var file_client_proto_goTypes = []any{
|
|
(AddressType)(0), // 0: looprpc.AddressType
|
|
(SwapType)(0), // 1: looprpc.SwapType
|
|
(SwapState)(0), // 2: looprpc.SwapState
|
|
(FailureReason)(0), // 3: looprpc.FailureReason
|
|
(LiquidityRuleType)(0), // 4: looprpc.LiquidityRuleType
|
|
(AutoReason)(0), // 5: looprpc.AutoReason
|
|
(DepositState)(0), // 6: looprpc.DepositState
|
|
(StaticAddressLoopInSwapState)(0), // 7: looprpc.StaticAddressLoopInSwapState
|
|
(ListSwapsFilter_SwapTypeFilter)(0), // 8: looprpc.ListSwapsFilter.SwapTypeFilter
|
|
(*LoopOutRequest)(nil), // 9: looprpc.LoopOutRequest
|
|
(*LoopInRequest)(nil), // 10: looprpc.LoopInRequest
|
|
(*SwapResponse)(nil), // 11: looprpc.SwapResponse
|
|
(*MonitorRequest)(nil), // 12: looprpc.MonitorRequest
|
|
(*SwapStatus)(nil), // 13: looprpc.SwapStatus
|
|
(*ListSwapsRequest)(nil), // 14: looprpc.ListSwapsRequest
|
|
(*ListSwapsFilter)(nil), // 15: looprpc.ListSwapsFilter
|
|
(*ListSwapsResponse)(nil), // 16: looprpc.ListSwapsResponse
|
|
(*SwapInfoRequest)(nil), // 17: looprpc.SwapInfoRequest
|
|
(*TermsRequest)(nil), // 18: looprpc.TermsRequest
|
|
(*InTermsResponse)(nil), // 19: looprpc.InTermsResponse
|
|
(*OutTermsResponse)(nil), // 20: looprpc.OutTermsResponse
|
|
(*QuoteRequest)(nil), // 21: looprpc.QuoteRequest
|
|
(*InQuoteResponse)(nil), // 22: looprpc.InQuoteResponse
|
|
(*OutQuoteResponse)(nil), // 23: looprpc.OutQuoteResponse
|
|
(*ProbeRequest)(nil), // 24: looprpc.ProbeRequest
|
|
(*ProbeResponse)(nil), // 25: looprpc.ProbeResponse
|
|
(*TokensRequest)(nil), // 26: looprpc.TokensRequest
|
|
(*TokensResponse)(nil), // 27: looprpc.TokensResponse
|
|
(*FetchL402TokenRequest)(nil), // 28: looprpc.FetchL402TokenRequest
|
|
(*FetchL402TokenResponse)(nil), // 29: looprpc.FetchL402TokenResponse
|
|
(*L402Token)(nil), // 30: looprpc.L402Token
|
|
(*LoopStats)(nil), // 31: looprpc.LoopStats
|
|
(*GetInfoRequest)(nil), // 32: looprpc.GetInfoRequest
|
|
(*GetInfoResponse)(nil), // 33: looprpc.GetInfoResponse
|
|
(*GetLiquidityParamsRequest)(nil), // 34: looprpc.GetLiquidityParamsRequest
|
|
(*LiquidityParameters)(nil), // 35: looprpc.LiquidityParameters
|
|
(*EasyAssetAutoloopParams)(nil), // 36: looprpc.EasyAssetAutoloopParams
|
|
(*LiquidityRule)(nil), // 37: looprpc.LiquidityRule
|
|
(*SetLiquidityParamsRequest)(nil), // 38: looprpc.SetLiquidityParamsRequest
|
|
(*SetLiquidityParamsResponse)(nil), // 39: looprpc.SetLiquidityParamsResponse
|
|
(*SuggestSwapsRequest)(nil), // 40: looprpc.SuggestSwapsRequest
|
|
(*Disqualified)(nil), // 41: looprpc.Disqualified
|
|
(*SuggestSwapsResponse)(nil), // 42: looprpc.SuggestSwapsResponse
|
|
(*AbandonSwapRequest)(nil), // 43: looprpc.AbandonSwapRequest
|
|
(*AbandonSwapResponse)(nil), // 44: looprpc.AbandonSwapResponse
|
|
(*ListReservationsRequest)(nil), // 45: looprpc.ListReservationsRequest
|
|
(*ListReservationsResponse)(nil), // 46: looprpc.ListReservationsResponse
|
|
(*ClientReservation)(nil), // 47: looprpc.ClientReservation
|
|
(*InstantOutRequest)(nil), // 48: looprpc.InstantOutRequest
|
|
(*InstantOutResponse)(nil), // 49: looprpc.InstantOutResponse
|
|
(*InstantOutQuoteRequest)(nil), // 50: looprpc.InstantOutQuoteRequest
|
|
(*InstantOutQuoteResponse)(nil), // 51: looprpc.InstantOutQuoteResponse
|
|
(*ListInstantOutsRequest)(nil), // 52: looprpc.ListInstantOutsRequest
|
|
(*ListInstantOutsResponse)(nil), // 53: looprpc.ListInstantOutsResponse
|
|
(*InstantOut)(nil), // 54: looprpc.InstantOut
|
|
(*NewStaticAddressRequest)(nil), // 55: looprpc.NewStaticAddressRequest
|
|
(*NewStaticAddressResponse)(nil), // 56: looprpc.NewStaticAddressResponse
|
|
(*ListUnspentDepositsRequest)(nil), // 57: looprpc.ListUnspentDepositsRequest
|
|
(*ListUnspentDepositsResponse)(nil), // 58: looprpc.ListUnspentDepositsResponse
|
|
(*Utxo)(nil), // 59: looprpc.Utxo
|
|
(*WithdrawDepositsRequest)(nil), // 60: looprpc.WithdrawDepositsRequest
|
|
(*WithdrawDepositsResponse)(nil), // 61: looprpc.WithdrawDepositsResponse
|
|
(*OutPoint)(nil), // 62: looprpc.OutPoint
|
|
(*ListStaticAddressDepositsRequest)(nil), // 63: looprpc.ListStaticAddressDepositsRequest
|
|
(*ListStaticAddressDepositsResponse)(nil), // 64: looprpc.ListStaticAddressDepositsResponse
|
|
(*ListStaticAddressSwapsRequest)(nil), // 65: looprpc.ListStaticAddressSwapsRequest
|
|
(*ListStaticAddressSwapsResponse)(nil), // 66: looprpc.ListStaticAddressSwapsResponse
|
|
(*StaticAddressSummaryRequest)(nil), // 67: looprpc.StaticAddressSummaryRequest
|
|
(*StaticAddressSummaryResponse)(nil), // 68: looprpc.StaticAddressSummaryResponse
|
|
(*Deposit)(nil), // 69: looprpc.Deposit
|
|
(*StaticAddressLoopInSwap)(nil), // 70: looprpc.StaticAddressLoopInSwap
|
|
(*StaticAddressLoopInRequest)(nil), // 71: looprpc.StaticAddressLoopInRequest
|
|
(*StaticAddressLoopInResponse)(nil), // 72: looprpc.StaticAddressLoopInResponse
|
|
(*AssetLoopOutRequest)(nil), // 73: looprpc.AssetLoopOutRequest
|
|
(*AssetRfqInfo)(nil), // 74: looprpc.AssetRfqInfo
|
|
(*FixedPoint)(nil), // 75: looprpc.FixedPoint
|
|
(*AssetLoopOutInfo)(nil), // 76: looprpc.AssetLoopOutInfo
|
|
nil, // 77: looprpc.LiquidityParameters.EasyAssetParamsEntry
|
|
(*swapserverrpc.RouteHint)(nil), // 78: looprpc.RouteHint
|
|
}
|
|
var file_client_proto_depIdxs = []int32{
|
|
0, // 0: looprpc.LoopOutRequest.account_addr_type:type_name -> looprpc.AddressType
|
|
73, // 1: looprpc.LoopOutRequest.asset_info:type_name -> looprpc.AssetLoopOutRequest
|
|
74, // 2: looprpc.LoopOutRequest.asset_rfq_info:type_name -> looprpc.AssetRfqInfo
|
|
78, // 3: looprpc.LoopInRequest.route_hints:type_name -> looprpc.RouteHint
|
|
1, // 4: looprpc.SwapStatus.type:type_name -> looprpc.SwapType
|
|
2, // 5: looprpc.SwapStatus.state:type_name -> looprpc.SwapState
|
|
3, // 6: looprpc.SwapStatus.failure_reason:type_name -> looprpc.FailureReason
|
|
76, // 7: looprpc.SwapStatus.asset_info:type_name -> looprpc.AssetLoopOutInfo
|
|
15, // 8: looprpc.ListSwapsRequest.list_swap_filter:type_name -> looprpc.ListSwapsFilter
|
|
8, // 9: looprpc.ListSwapsFilter.swap_type:type_name -> looprpc.ListSwapsFilter.SwapTypeFilter
|
|
13, // 10: looprpc.ListSwapsResponse.swaps:type_name -> looprpc.SwapStatus
|
|
78, // 11: looprpc.QuoteRequest.loop_in_route_hints:type_name -> looprpc.RouteHint
|
|
73, // 12: looprpc.QuoteRequest.asset_info:type_name -> looprpc.AssetLoopOutRequest
|
|
74, // 13: looprpc.OutQuoteResponse.asset_rfq_info:type_name -> looprpc.AssetRfqInfo
|
|
78, // 14: looprpc.ProbeRequest.route_hints:type_name -> looprpc.RouteHint
|
|
30, // 15: looprpc.TokensResponse.tokens:type_name -> looprpc.L402Token
|
|
31, // 16: looprpc.GetInfoResponse.loop_out_stats:type_name -> looprpc.LoopStats
|
|
31, // 17: looprpc.GetInfoResponse.loop_in_stats:type_name -> looprpc.LoopStats
|
|
37, // 18: looprpc.LiquidityParameters.rules:type_name -> looprpc.LiquidityRule
|
|
0, // 19: looprpc.LiquidityParameters.account_addr_type:type_name -> looprpc.AddressType
|
|
77, // 20: looprpc.LiquidityParameters.easy_asset_params:type_name -> looprpc.LiquidityParameters.EasyAssetParamsEntry
|
|
1, // 21: looprpc.LiquidityRule.swap_type:type_name -> looprpc.SwapType
|
|
4, // 22: looprpc.LiquidityRule.type:type_name -> looprpc.LiquidityRuleType
|
|
35, // 23: looprpc.SetLiquidityParamsRequest.parameters:type_name -> looprpc.LiquidityParameters
|
|
5, // 24: looprpc.Disqualified.reason:type_name -> looprpc.AutoReason
|
|
9, // 25: looprpc.SuggestSwapsResponse.loop_out:type_name -> looprpc.LoopOutRequest
|
|
10, // 26: looprpc.SuggestSwapsResponse.loop_in:type_name -> looprpc.LoopInRequest
|
|
41, // 27: looprpc.SuggestSwapsResponse.disqualified:type_name -> looprpc.Disqualified
|
|
47, // 28: looprpc.ListReservationsResponse.reservations:type_name -> looprpc.ClientReservation
|
|
54, // 29: looprpc.ListInstantOutsResponse.swaps:type_name -> looprpc.InstantOut
|
|
59, // 30: looprpc.ListUnspentDepositsResponse.utxos:type_name -> looprpc.Utxo
|
|
62, // 31: looprpc.WithdrawDepositsRequest.outpoints:type_name -> looprpc.OutPoint
|
|
6, // 32: looprpc.ListStaticAddressDepositsRequest.state_filter:type_name -> looprpc.DepositState
|
|
69, // 33: looprpc.ListStaticAddressDepositsResponse.filtered_deposits:type_name -> looprpc.Deposit
|
|
70, // 34: looprpc.ListStaticAddressSwapsResponse.swaps:type_name -> looprpc.StaticAddressLoopInSwap
|
|
6, // 35: looprpc.Deposit.state:type_name -> looprpc.DepositState
|
|
7, // 36: looprpc.StaticAddressLoopInSwap.state:type_name -> looprpc.StaticAddressLoopInSwapState
|
|
78, // 37: looprpc.StaticAddressLoopInRequest.route_hints:type_name -> looprpc.RouteHint
|
|
75, // 38: looprpc.AssetRfqInfo.prepay_asset_rate:type_name -> looprpc.FixedPoint
|
|
75, // 39: looprpc.AssetRfqInfo.swap_asset_rate:type_name -> looprpc.FixedPoint
|
|
36, // 40: looprpc.LiquidityParameters.EasyAssetParamsEntry.value:type_name -> looprpc.EasyAssetAutoloopParams
|
|
9, // 41: looprpc.SwapClient.LoopOut:input_type -> looprpc.LoopOutRequest
|
|
10, // 42: looprpc.SwapClient.LoopIn:input_type -> looprpc.LoopInRequest
|
|
12, // 43: looprpc.SwapClient.Monitor:input_type -> looprpc.MonitorRequest
|
|
14, // 44: looprpc.SwapClient.ListSwaps:input_type -> looprpc.ListSwapsRequest
|
|
17, // 45: looprpc.SwapClient.SwapInfo:input_type -> looprpc.SwapInfoRequest
|
|
43, // 46: looprpc.SwapClient.AbandonSwap:input_type -> looprpc.AbandonSwapRequest
|
|
18, // 47: looprpc.SwapClient.LoopOutTerms:input_type -> looprpc.TermsRequest
|
|
21, // 48: looprpc.SwapClient.LoopOutQuote:input_type -> looprpc.QuoteRequest
|
|
18, // 49: looprpc.SwapClient.GetLoopInTerms:input_type -> looprpc.TermsRequest
|
|
21, // 50: looprpc.SwapClient.GetLoopInQuote:input_type -> looprpc.QuoteRequest
|
|
24, // 51: looprpc.SwapClient.Probe:input_type -> looprpc.ProbeRequest
|
|
26, // 52: looprpc.SwapClient.GetL402Tokens:input_type -> looprpc.TokensRequest
|
|
26, // 53: looprpc.SwapClient.GetLsatTokens:input_type -> looprpc.TokensRequest
|
|
28, // 54: looprpc.SwapClient.FetchL402Token:input_type -> looprpc.FetchL402TokenRequest
|
|
32, // 55: looprpc.SwapClient.GetInfo:input_type -> looprpc.GetInfoRequest
|
|
34, // 56: looprpc.SwapClient.GetLiquidityParams:input_type -> looprpc.GetLiquidityParamsRequest
|
|
38, // 57: looprpc.SwapClient.SetLiquidityParams:input_type -> looprpc.SetLiquidityParamsRequest
|
|
40, // 58: looprpc.SwapClient.SuggestSwaps:input_type -> looprpc.SuggestSwapsRequest
|
|
45, // 59: looprpc.SwapClient.ListReservations:input_type -> looprpc.ListReservationsRequest
|
|
48, // 60: looprpc.SwapClient.InstantOut:input_type -> looprpc.InstantOutRequest
|
|
50, // 61: looprpc.SwapClient.InstantOutQuote:input_type -> looprpc.InstantOutQuoteRequest
|
|
52, // 62: looprpc.SwapClient.ListInstantOuts:input_type -> looprpc.ListInstantOutsRequest
|
|
55, // 63: looprpc.SwapClient.NewStaticAddress:input_type -> looprpc.NewStaticAddressRequest
|
|
57, // 64: looprpc.SwapClient.ListUnspentDeposits:input_type -> looprpc.ListUnspentDepositsRequest
|
|
60, // 65: looprpc.SwapClient.WithdrawDeposits:input_type -> looprpc.WithdrawDepositsRequest
|
|
63, // 66: looprpc.SwapClient.ListStaticAddressDeposits:input_type -> looprpc.ListStaticAddressDepositsRequest
|
|
65, // 67: looprpc.SwapClient.ListStaticAddressSwaps:input_type -> looprpc.ListStaticAddressSwapsRequest
|
|
67, // 68: looprpc.SwapClient.GetStaticAddressSummary:input_type -> looprpc.StaticAddressSummaryRequest
|
|
71, // 69: looprpc.SwapClient.StaticAddressLoopIn:input_type -> looprpc.StaticAddressLoopInRequest
|
|
11, // 70: looprpc.SwapClient.LoopOut:output_type -> looprpc.SwapResponse
|
|
11, // 71: looprpc.SwapClient.LoopIn:output_type -> looprpc.SwapResponse
|
|
13, // 72: looprpc.SwapClient.Monitor:output_type -> looprpc.SwapStatus
|
|
16, // 73: looprpc.SwapClient.ListSwaps:output_type -> looprpc.ListSwapsResponse
|
|
13, // 74: looprpc.SwapClient.SwapInfo:output_type -> looprpc.SwapStatus
|
|
44, // 75: looprpc.SwapClient.AbandonSwap:output_type -> looprpc.AbandonSwapResponse
|
|
20, // 76: looprpc.SwapClient.LoopOutTerms:output_type -> looprpc.OutTermsResponse
|
|
23, // 77: looprpc.SwapClient.LoopOutQuote:output_type -> looprpc.OutQuoteResponse
|
|
19, // 78: looprpc.SwapClient.GetLoopInTerms:output_type -> looprpc.InTermsResponse
|
|
22, // 79: looprpc.SwapClient.GetLoopInQuote:output_type -> looprpc.InQuoteResponse
|
|
25, // 80: looprpc.SwapClient.Probe:output_type -> looprpc.ProbeResponse
|
|
27, // 81: looprpc.SwapClient.GetL402Tokens:output_type -> looprpc.TokensResponse
|
|
27, // 82: looprpc.SwapClient.GetLsatTokens:output_type -> looprpc.TokensResponse
|
|
29, // 83: looprpc.SwapClient.FetchL402Token:output_type -> looprpc.FetchL402TokenResponse
|
|
33, // 84: looprpc.SwapClient.GetInfo:output_type -> looprpc.GetInfoResponse
|
|
35, // 85: looprpc.SwapClient.GetLiquidityParams:output_type -> looprpc.LiquidityParameters
|
|
39, // 86: looprpc.SwapClient.SetLiquidityParams:output_type -> looprpc.SetLiquidityParamsResponse
|
|
42, // 87: looprpc.SwapClient.SuggestSwaps:output_type -> looprpc.SuggestSwapsResponse
|
|
46, // 88: looprpc.SwapClient.ListReservations:output_type -> looprpc.ListReservationsResponse
|
|
49, // 89: looprpc.SwapClient.InstantOut:output_type -> looprpc.InstantOutResponse
|
|
51, // 90: looprpc.SwapClient.InstantOutQuote:output_type -> looprpc.InstantOutQuoteResponse
|
|
53, // 91: looprpc.SwapClient.ListInstantOuts:output_type -> looprpc.ListInstantOutsResponse
|
|
56, // 92: looprpc.SwapClient.NewStaticAddress:output_type -> looprpc.NewStaticAddressResponse
|
|
58, // 93: looprpc.SwapClient.ListUnspentDeposits:output_type -> looprpc.ListUnspentDepositsResponse
|
|
61, // 94: looprpc.SwapClient.WithdrawDeposits:output_type -> looprpc.WithdrawDepositsResponse
|
|
64, // 95: looprpc.SwapClient.ListStaticAddressDeposits:output_type -> looprpc.ListStaticAddressDepositsResponse
|
|
66, // 96: looprpc.SwapClient.ListStaticAddressSwaps:output_type -> looprpc.ListStaticAddressSwapsResponse
|
|
68, // 97: looprpc.SwapClient.GetStaticAddressSummary:output_type -> looprpc.StaticAddressSummaryResponse
|
|
72, // 98: looprpc.SwapClient.StaticAddressLoopIn:output_type -> looprpc.StaticAddressLoopInResponse
|
|
70, // [70:99] is the sub-list for method output_type
|
|
41, // [41:70] is the sub-list for method input_type
|
|
41, // [41:41] is the sub-list for extension type_name
|
|
41, // [41:41] is the sub-list for extension extendee
|
|
0, // [0:41] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_client_proto_init() }
|
|
func file_client_proto_init() {
|
|
if File_client_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_client_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LoopOutRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LoopInRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SwapResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
switch v := v.(*MonitorRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SwapStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListSwapsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListSwapsFilter); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListSwapsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SwapInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
|
switch v := v.(*TermsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InTermsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
|
switch v := v.(*OutTermsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
|
switch v := v.(*QuoteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[13].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InQuoteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[14].Exporter = func(v any, i int) any {
|
|
switch v := v.(*OutQuoteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[15].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ProbeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[16].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ProbeResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[17].Exporter = func(v any, i int) any {
|
|
switch v := v.(*TokensRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[18].Exporter = func(v any, i int) any {
|
|
switch v := v.(*TokensResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[19].Exporter = func(v any, i int) any {
|
|
switch v := v.(*FetchL402TokenRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[20].Exporter = func(v any, i int) any {
|
|
switch v := v.(*FetchL402TokenResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[21].Exporter = func(v any, i int) any {
|
|
switch v := v.(*L402Token); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[22].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LoopStats); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[23].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[24].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetInfoResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[25].Exporter = func(v any, i int) any {
|
|
switch v := v.(*GetLiquidityParamsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[26].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LiquidityParameters); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[27].Exporter = func(v any, i int) any {
|
|
switch v := v.(*EasyAssetAutoloopParams); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[28].Exporter = func(v any, i int) any {
|
|
switch v := v.(*LiquidityRule); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[29].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SetLiquidityParamsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[30].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SetLiquidityParamsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[31].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SuggestSwapsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[32].Exporter = func(v any, i int) any {
|
|
switch v := v.(*Disqualified); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[33].Exporter = func(v any, i int) any {
|
|
switch v := v.(*SuggestSwapsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[34].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AbandonSwapRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[35].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AbandonSwapResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[36].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListReservationsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[37].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListReservationsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[38].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ClientReservation); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[39].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InstantOutRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[40].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InstantOutResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[41].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InstantOutQuoteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[42].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InstantOutQuoteResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[43].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListInstantOutsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[44].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListInstantOutsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[45].Exporter = func(v any, i int) any {
|
|
switch v := v.(*InstantOut); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[46].Exporter = func(v any, i int) any {
|
|
switch v := v.(*NewStaticAddressRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[47].Exporter = func(v any, i int) any {
|
|
switch v := v.(*NewStaticAddressResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[48].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListUnspentDepositsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[49].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListUnspentDepositsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[50].Exporter = func(v any, i int) any {
|
|
switch v := v.(*Utxo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[51].Exporter = func(v any, i int) any {
|
|
switch v := v.(*WithdrawDepositsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[52].Exporter = func(v any, i int) any {
|
|
switch v := v.(*WithdrawDepositsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[53].Exporter = func(v any, i int) any {
|
|
switch v := v.(*OutPoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[54].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListStaticAddressDepositsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[55].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListStaticAddressDepositsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[56].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListStaticAddressSwapsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[57].Exporter = func(v any, i int) any {
|
|
switch v := v.(*ListStaticAddressSwapsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[58].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StaticAddressSummaryRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[59].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StaticAddressSummaryResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[60].Exporter = func(v any, i int) any {
|
|
switch v := v.(*Deposit); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[61].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StaticAddressLoopInSwap); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[62].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StaticAddressLoopInRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[63].Exporter = func(v any, i int) any {
|
|
switch v := v.(*StaticAddressLoopInResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[64].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AssetLoopOutRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[65].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AssetRfqInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[66].Exporter = func(v any, i int) any {
|
|
switch v := v.(*FixedPoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_client_proto_msgTypes[67].Exporter = func(v any, i int) any {
|
|
switch v := v.(*AssetLoopOutInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_client_proto_rawDesc,
|
|
NumEnums: 9,
|
|
NumMessages: 69,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_client_proto_goTypes,
|
|
DependencyIndexes: file_client_proto_depIdxs,
|
|
EnumInfos: file_client_proto_enumTypes,
|
|
MessageInfos: file_client_proto_msgTypes,
|
|
}.Build()
|
|
File_client_proto = out.File
|
|
file_client_proto_rawDesc = nil
|
|
file_client_proto_goTypes = nil
|
|
file_client_proto_depIdxs = nil
|
|
}
|