operator

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StrategyType_name = map[int32]string{
		0: "PLUGGABLE",
		1: "BALANCED",
		2: "UNBALANCED",
	}
	StrategyType_value = map[string]int32{
		"PLUGGABLE":  0,
		"BALANCED":   1,
		"UNBALANCED": 2,
	}
)

Enum value maps for StrategyType.

View Source
var (
	TradeStatus_name = map[int32]string{
		0: "UNDEFINED",
		1: "REQUEST",
		2: "ACCEPT",
		3: "COMPLETE",
		4: "SETTLED",
		5: "EXPIRED",
	}
	TradeStatus_value = map[string]int32{
		"UNDEFINED": 0,
		"REQUEST":   1,
		"ACCEPT":    2,
		"COMPLETE":  3,
		"SETTLED":   4,
		"EXPIRED":   5,
	}
)

Enum value maps for TradeStatus.

View Source
var (
	ActionType_name = map[int32]string{
		0: "TRADE_SETTLED",
		1: "ACCOUNT_LOW_BALANCE",
		2: "ACCOUNT_WITHDRAW",
		3: "ALL_ACTIONS",
	}
	ActionType_value = map[string]int32{
		"TRADE_SETTLED":       0,
		"ACCOUNT_LOW_BALANCE": 1,
		"ACCOUNT_WITHDRAW":    2,
		"ALL_ACTIONS":         3,
	}
)

Enum value maps for ActionType.

View Source
var File_operator_proto protoreflect.FileDescriptor
View Source
var Operator_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Operator",
	HandlerType: (*OperatorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInfo",
			Handler:    _Operator_GetInfo_Handler,
		},
		{
			MethodName: "GetFeeAddress",
			Handler:    _Operator_GetFeeAddress_Handler,
		},
		{
			MethodName: "ListFeeAddresses",
			Handler:    _Operator_ListFeeAddresses_Handler,
		},
		{
			MethodName: "GetFeeBalance",
			Handler:    _Operator_GetFeeBalance_Handler,
		},
		{
			MethodName: "ClaimFeeDeposits",
			Handler:    _Operator_ClaimFeeDeposits_Handler,
		},
		{
			MethodName: "GetFeeFragmenterAddress",
			Handler:    _Operator_GetFeeFragmenterAddress_Handler,
		},
		{
			MethodName: "WithdrawFee",
			Handler:    _Operator_WithdrawFee_Handler,
		},
		{
			MethodName: "NewMarket",
			Handler:    _Operator_NewMarket_Handler,
		},
		{
			MethodName: "GetMarketAddress",
			Handler:    _Operator_GetMarketAddress_Handler,
		},
		{
			MethodName: "ListMarketAddresses",
			Handler:    _Operator_ListMarketAddresses_Handler,
		},
		{
			MethodName: "GetMarketBalance",
			Handler:    _Operator_GetMarketBalance_Handler,
		},
		{
			MethodName: "ClaimMarketDeposits",
			Handler:    _Operator_ClaimMarketDeposits_Handler,
		},
		{
			MethodName: "OpenMarket",
			Handler:    _Operator_OpenMarket_Handler,
		},
		{
			MethodName: "CloseMarket",
			Handler:    _Operator_CloseMarket_Handler,
		},
		{
			MethodName: "DropMarket",
			Handler:    _Operator_DropMarket_Handler,
		},
		{
			MethodName: "GetMarketCollectedSwapFees",
			Handler:    _Operator_GetMarketCollectedSwapFees_Handler,
		},
		{
			MethodName: "GetMarketFragmenterAddress",
			Handler:    _Operator_GetMarketFragmenterAddress_Handler,
		},
		{
			MethodName: "WithdrawMarket",
			Handler:    _Operator_WithdrawMarket_Handler,
		},
		{
			MethodName: "UpdateMarketPercentageFee",
			Handler:    _Operator_UpdateMarketPercentageFee_Handler,
		},
		{
			MethodName: "UpdateMarketFixedFee",
			Handler:    _Operator_UpdateMarketFixedFee_Handler,
		},
		{
			MethodName: "UpdateMarketPrice",
			Handler:    _Operator_UpdateMarketPrice_Handler,
		},
		{
			MethodName: "UpdateMarketStrategy",
			Handler:    _Operator_UpdateMarketStrategy_Handler,
		},
		{
			MethodName: "ListMarkets",
			Handler:    _Operator_ListMarkets_Handler,
		},
		{
			MethodName: "ListTrades",
			Handler:    _Operator_ListTrades_Handler,
		},
		{
			MethodName: "ReloadUtxos",
			Handler:    _Operator_ReloadUtxos_Handler,
		},
		{
			MethodName: "ListUtxos",
			Handler:    _Operator_ListUtxos_Handler,
		},
		{
			MethodName: "AddWebhook",
			Handler:    _Operator_AddWebhook_Handler,
		},
		{
			MethodName: "RemoveWebhook",
			Handler:    _Operator_RemoveWebhook_Handler,
		},
		{
			MethodName: "ListWebhooks",
			Handler:    _Operator_ListWebhooks_Handler,
		},
		{
			MethodName: "ListDeposits",
			Handler:    _Operator_ListDeposits_Handler,
		},
		{
			MethodName: "ListWithdrawals",
			Handler:    _Operator_ListWithdrawals_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "FragmentFeeDeposits",
			Handler:       _Operator_FragmentFeeDeposits_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "FragmentMarketDeposits",
			Handler:       _Operator_FragmentMarketDeposits_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "operator.proto",
}

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

Functions

func RegisterOperatorServer

func RegisterOperatorServer(s grpc.ServiceRegistrar, srv OperatorServer)

Types

type AccountInfo added in v0.6.0

type AccountInfo struct {

	// The index of the wallet account.
	AccountIndex uint32 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The full derivation path.
	DerivationPath string `protobuf:"bytes,2,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"`
	// The master public key.
	Xpub string `protobuf:"bytes,3,opt,name=xpub,proto3" json:"xpub,omitempty"`
	// The index of the last external address derived.
	LastExternalDerived uint32 `protobuf:"varint,4,opt,name=last_external_derived,json=lastExternalDerived,proto3" json:"last_external_derived,omitempty"`
	// The index of the last internal address derived.
	LastInternalDerived uint32 `protobuf:"varint,5,opt,name=last_internal_derived,json=lastInternalDerived,proto3" json:"last_internal_derived,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfo) Descriptor deprecated added in v0.6.0

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

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetAccountIndex added in v0.6.0

func (x *AccountInfo) GetAccountIndex() uint32

func (*AccountInfo) GetDerivationPath added in v0.6.0

func (x *AccountInfo) GetDerivationPath() string

func (*AccountInfo) GetLastExternalDerived added in v0.6.0

func (x *AccountInfo) GetLastExternalDerived() uint32

func (*AccountInfo) GetLastInternalDerived added in v0.6.0

func (x *AccountInfo) GetLastInternalDerived() uint32

func (*AccountInfo) GetXpub added in v0.6.0

func (x *AccountInfo) GetXpub() string

func (*AccountInfo) ProtoMessage added in v0.6.0

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect added in v0.6.0

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

func (*AccountInfo) Reset added in v0.6.0

func (x *AccountInfo) Reset()

func (*AccountInfo) String added in v0.6.0

func (x *AccountInfo) String() string

type ActionType added in v0.3.11

type ActionType int32
const (
	ActionType_TRADE_SETTLED       ActionType = 0
	ActionType_ACCOUNT_LOW_BALANCE ActionType = 1
	ActionType_ACCOUNT_WITHDRAW    ActionType = 2
	ActionType_ALL_ACTIONS         ActionType = 3
)

func (ActionType) Descriptor added in v0.3.11

func (ActionType) Descriptor() protoreflect.EnumDescriptor

func (ActionType) Enum added in v0.3.11

func (x ActionType) Enum() *ActionType

func (ActionType) EnumDescriptor deprecated added in v0.3.11

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

Deprecated: Use ActionType.Descriptor instead.

func (ActionType) Number added in v0.3.11

func (x ActionType) Number() protoreflect.EnumNumber

func (ActionType) String added in v0.3.11

func (x ActionType) String() string

func (ActionType) Type added in v0.3.11

type AddWebhookReply added in v0.3.11

type AddWebhookReply struct {

	// The id of the new webhook.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddWebhookReply) Descriptor deprecated added in v0.3.11

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

Deprecated: Use AddWebhookReply.ProtoReflect.Descriptor instead.

func (*AddWebhookReply) GetId added in v0.3.11

func (x *AddWebhookReply) GetId() string

func (*AddWebhookReply) ProtoMessage added in v0.3.11

func (*AddWebhookReply) ProtoMessage()

func (*AddWebhookReply) ProtoReflect added in v0.3.11

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

func (*AddWebhookReply) Reset added in v0.3.11

func (x *AddWebhookReply) Reset()

func (*AddWebhookReply) String added in v0.3.11

func (x *AddWebhookReply) String() string

type AddWebhookRequest added in v0.3.11

type AddWebhookRequest struct {

	// The endpoint of the external service to reach.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The action for which the webhook should be registered.
	Action ActionType `protobuf:"varint,2,opt,name=action,proto3,enum=ActionType" json:"action,omitempty"`
	// The secret to use for signign a JWT token for an authenticated request
	// to the external service.
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AddWebhookRequest) Descriptor deprecated added in v0.3.11

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

Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead.

func (*AddWebhookRequest) GetAction added in v0.3.11

func (x *AddWebhookRequest) GetAction() ActionType

func (*AddWebhookRequest) GetEndpoint added in v0.3.11

func (x *AddWebhookRequest) GetEndpoint() string

func (*AddWebhookRequest) GetSecret added in v0.3.11

func (x *AddWebhookRequest) GetSecret() string

func (*AddWebhookRequest) ProtoMessage added in v0.3.11

func (*AddWebhookRequest) ProtoMessage()

func (*AddWebhookRequest) ProtoReflect added in v0.3.11

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

func (*AddWebhookRequest) Reset added in v0.3.11

func (x *AddWebhookRequest) Reset()

func (*AddWebhookRequest) String added in v0.3.11

func (x *AddWebhookRequest) String() string

type ClaimFeeDepositsReply added in v0.6.0

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

func (*ClaimFeeDepositsReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ClaimFeeDepositsReply.ProtoReflect.Descriptor instead.

func (*ClaimFeeDepositsReply) ProtoMessage added in v0.6.0

func (*ClaimFeeDepositsReply) ProtoMessage()

func (*ClaimFeeDepositsReply) ProtoReflect added in v0.6.0

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

func (*ClaimFeeDepositsReply) Reset added in v0.6.0

func (x *ClaimFeeDepositsReply) Reset()

func (*ClaimFeeDepositsReply) String added in v0.6.0

func (x *ClaimFeeDepositsReply) String() string

type ClaimFeeDepositsRequest added in v0.6.0

type ClaimFeeDepositsRequest struct {

	// The list of outpoints sent to the fee account address(es).
	// They all must be confirmed, ie. included in blockchain.
	Outpoints []*TxOutpoint `protobuf:"bytes,1,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimFeeDepositsRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ClaimFeeDepositsRequest.ProtoReflect.Descriptor instead.

func (*ClaimFeeDepositsRequest) GetOutpoints added in v0.6.0

func (x *ClaimFeeDepositsRequest) GetOutpoints() []*TxOutpoint

func (*ClaimFeeDepositsRequest) ProtoMessage added in v0.6.0

func (*ClaimFeeDepositsRequest) ProtoMessage()

func (*ClaimFeeDepositsRequest) ProtoReflect added in v0.6.0

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

func (*ClaimFeeDepositsRequest) Reset added in v0.6.0

func (x *ClaimFeeDepositsRequest) Reset()

func (*ClaimFeeDepositsRequest) String added in v0.6.0

func (x *ClaimFeeDepositsRequest) String() string

type ClaimMarketDepositsReply added in v0.6.0

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

func (*ClaimMarketDepositsReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ClaimMarketDepositsReply.ProtoReflect.Descriptor instead.

func (*ClaimMarketDepositsReply) ProtoMessage added in v0.6.0

func (*ClaimMarketDepositsReply) ProtoMessage()

func (*ClaimMarketDepositsReply) ProtoReflect added in v0.6.0

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

func (*ClaimMarketDepositsReply) Reset added in v0.6.0

func (x *ClaimMarketDepositsReply) Reset()

func (*ClaimMarketDepositsReply) String added in v0.6.0

func (x *ClaimMarketDepositsReply) String() string

type ClaimMarketDepositsRequest added in v0.6.0

type ClaimMarketDepositsRequest struct {

	// The market for which claiming the deposits.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The list of outpoints sent to the market address(es).
	// They all must be confirmed, ie. included in blockchain.
	Outpoints []*TxOutpoint `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimMarketDepositsRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ClaimMarketDepositsRequest.ProtoReflect.Descriptor instead.

func (*ClaimMarketDepositsRequest) GetMarket added in v0.6.0

func (x *ClaimMarketDepositsRequest) GetMarket() *types.Market

func (*ClaimMarketDepositsRequest) GetOutpoints added in v0.6.0

func (x *ClaimMarketDepositsRequest) GetOutpoints() []*TxOutpoint

func (*ClaimMarketDepositsRequest) ProtoMessage added in v0.6.0

func (*ClaimMarketDepositsRequest) ProtoMessage()

func (*ClaimMarketDepositsRequest) ProtoReflect added in v0.6.0

func (*ClaimMarketDepositsRequest) Reset added in v0.6.0

func (x *ClaimMarketDepositsRequest) Reset()

func (*ClaimMarketDepositsRequest) String added in v0.6.0

func (x *ClaimMarketDepositsRequest) String() string

type CloseMarketReply

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

func (*CloseMarketReply) Descriptor deprecated

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

Deprecated: Use CloseMarketReply.ProtoReflect.Descriptor instead.

func (*CloseMarketReply) ProtoMessage

func (*CloseMarketReply) ProtoMessage()

func (*CloseMarketReply) ProtoReflect

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

func (*CloseMarketReply) Reset

func (x *CloseMarketReply) Reset()

func (*CloseMarketReply) String

func (x *CloseMarketReply) String() string

type CloseMarketRequest

type CloseMarketRequest struct {

	// The market to be made not tradable.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*CloseMarketRequest) Descriptor deprecated

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

Deprecated: Use CloseMarketRequest.ProtoReflect.Descriptor instead.

func (*CloseMarketRequest) GetMarket

func (x *CloseMarketRequest) GetMarket() *types.Market

func (*CloseMarketRequest) ProtoMessage

func (*CloseMarketRequest) ProtoMessage()

func (*CloseMarketRequest) ProtoReflect

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

func (*CloseMarketRequest) Reset

func (x *CloseMarketRequest) Reset()

func (*CloseMarketRequest) String

func (x *CloseMarketRequest) String() string

type DropMarketReply

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

func (*DropMarketReply) Descriptor deprecated

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

Deprecated: Use DropMarketReply.ProtoReflect.Descriptor instead.

func (*DropMarketReply) ProtoMessage

func (*DropMarketReply) ProtoMessage()

func (*DropMarketReply) ProtoReflect

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

func (*DropMarketReply) Reset

func (x *DropMarketReply) Reset()

func (*DropMarketReply) String

func (x *DropMarketReply) String() string

type DropMarketRequest

type DropMarketRequest struct {
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*DropMarketRequest) Descriptor deprecated

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

Deprecated: Use DropMarketRequest.ProtoReflect.Descriptor instead.

func (*DropMarketRequest) GetMarket added in v0.6.0

func (x *DropMarketRequest) GetMarket() *types.Market

func (*DropMarketRequest) ProtoMessage

func (*DropMarketRequest) ProtoMessage()

func (*DropMarketRequest) ProtoReflect

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

func (*DropMarketRequest) Reset

func (x *DropMarketRequest) Reset()

func (*DropMarketRequest) String

func (x *DropMarketRequest) String() string

type FeeInfo

type FeeInfo struct {

	// The id of the trade.
	TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// The percentage fee applied to the trade.
	BasisPoint int64 `protobuf:"varint,2,opt,name=basis_point,json=basisPoint,proto3" json:"basis_point,omitempty"`
	// The asset in which fees are collected.
	Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	// The amount in satoshi of the percentage fee.
	PercentageFeeAmount uint64 `protobuf:"varint,4,opt,name=percentage_fee_amount,json=percentageFeeAmount,proto3" json:"percentage_fee_amount,omitempty"`
	// The amount in satoshi of the fixed fee.
	FixedFeeAmount uint64 `protobuf:"varint,5,opt,name=fixed_fee_amount,json=fixedFeeAmount,proto3" json:"fixed_fee_amount,omitempty"`
	// The market price when the trade propoal was accepted.
	MarketPrice float32 `protobuf:"fixed32,6,opt,name=market_price,json=marketPrice,proto3" json:"market_price,omitempty"`
	// contains filtered or unexported fields
}

func (*FeeInfo) Descriptor deprecated

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

Deprecated: Use FeeInfo.ProtoReflect.Descriptor instead.

func (*FeeInfo) GetAsset

func (x *FeeInfo) GetAsset() string

func (*FeeInfo) GetBasisPoint

func (x *FeeInfo) GetBasisPoint() int64

func (*FeeInfo) GetFixedFeeAmount added in v0.6.0

func (x *FeeInfo) GetFixedFeeAmount() uint64

func (*FeeInfo) GetMarketPrice

func (x *FeeInfo) GetMarketPrice() float32

func (*FeeInfo) GetPercentageFeeAmount added in v0.6.0

func (x *FeeInfo) GetPercentageFeeAmount() uint64

func (*FeeInfo) GetTradeId

func (x *FeeInfo) GetTradeId() string

func (*FeeInfo) ProtoMessage

func (*FeeInfo) ProtoMessage()

func (*FeeInfo) ProtoReflect

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

func (*FeeInfo) Reset

func (x *FeeInfo) Reset()

func (*FeeInfo) String

func (x *FeeInfo) String() string

type FragmentFeeDepositsReply added in v0.7.0

type FragmentFeeDepositsReply struct {

	// A sequence of string messages returned during the process.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*FragmentFeeDepositsReply) Descriptor deprecated added in v0.7.0

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

Deprecated: Use FragmentFeeDepositsReply.ProtoReflect.Descriptor instead.

func (*FragmentFeeDepositsReply) GetMessage added in v0.7.0

func (x *FragmentFeeDepositsReply) GetMessage() string

func (*FragmentFeeDepositsReply) ProtoMessage added in v0.7.0

func (*FragmentFeeDepositsReply) ProtoMessage()

func (*FragmentFeeDepositsReply) ProtoReflect added in v0.7.0

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

func (*FragmentFeeDepositsReply) Reset added in v0.7.0

func (x *FragmentFeeDepositsReply) Reset()

func (*FragmentFeeDepositsReply) String added in v0.7.0

func (x *FragmentFeeDepositsReply) String() string

type FragmentFeeDepositsRequest added in v0.7.0

type FragmentFeeDepositsRequest struct {

	// Optionally, a recover address where to send all the ephemeral wallet's
	// funds to for aborting the fragmentation.
	RecoverAddress string `protobuf:"bytes,1,opt,name=recover_address,json=recoverAddress,proto3" json:"recover_address,omitempty"`
	// The max number of fragments the fragmenter can generate when splitting
	// its funds.
	MaxFragments uint32 `protobuf:"varint,2,opt,name=max_fragments,json=maxFragments,proto3" json:"max_fragments,omitempty"`
	// contains filtered or unexported fields
}

func (*FragmentFeeDepositsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use FragmentFeeDepositsRequest.ProtoReflect.Descriptor instead.

func (*FragmentFeeDepositsRequest) GetMaxFragments added in v0.7.0

func (x *FragmentFeeDepositsRequest) GetMaxFragments() uint32

func (*FragmentFeeDepositsRequest) GetRecoverAddress added in v0.7.0

func (x *FragmentFeeDepositsRequest) GetRecoverAddress() string

func (*FragmentFeeDepositsRequest) ProtoMessage added in v0.7.0

func (*FragmentFeeDepositsRequest) ProtoMessage()

func (*FragmentFeeDepositsRequest) ProtoReflect added in v0.7.0

func (*FragmentFeeDepositsRequest) Reset added in v0.7.0

func (x *FragmentFeeDepositsRequest) Reset()

func (*FragmentFeeDepositsRequest) String added in v0.7.0

func (x *FragmentFeeDepositsRequest) String() string

type FragmentMarketDepositsReply added in v0.7.0

type FragmentMarketDepositsReply struct {

	// A sequence of string messages returned during the process.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*FragmentMarketDepositsReply) Descriptor deprecated added in v0.7.0

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

Deprecated: Use FragmentMarketDepositsReply.ProtoReflect.Descriptor instead.

func (*FragmentMarketDepositsReply) GetMessage added in v0.7.0

func (x *FragmentMarketDepositsReply) GetMessage() string

func (*FragmentMarketDepositsReply) ProtoMessage added in v0.7.0

func (*FragmentMarketDepositsReply) ProtoMessage()

func (*FragmentMarketDepositsReply) ProtoReflect added in v0.7.0

func (*FragmentMarketDepositsReply) Reset added in v0.7.0

func (x *FragmentMarketDepositsReply) Reset()

func (*FragmentMarketDepositsReply) String added in v0.7.0

func (x *FragmentMarketDepositsReply) String() string

type FragmentMarketDepositsRequest added in v0.7.0

type FragmentMarketDepositsRequest struct {

	// Optionally, a recover address where to send all the ephemeral wallet's
	// funds to for aborting the fragmentation.
	RecoverAddress string `protobuf:"bytes,1,opt,name=recover_address,json=recoverAddress,proto3" json:"recover_address,omitempty"`
	// The market for which computing/aborting the fragmentation.
	Market *types.Market `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*FragmentMarketDepositsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use FragmentMarketDepositsRequest.ProtoReflect.Descriptor instead.

func (*FragmentMarketDepositsRequest) GetMarket added in v0.7.0

func (x *FragmentMarketDepositsRequest) GetMarket() *types.Market

func (*FragmentMarketDepositsRequest) GetRecoverAddress added in v0.7.0

func (x *FragmentMarketDepositsRequest) GetRecoverAddress() string

func (*FragmentMarketDepositsRequest) ProtoMessage added in v0.7.0

func (*FragmentMarketDepositsRequest) ProtoMessage()

func (*FragmentMarketDepositsRequest) ProtoReflect added in v0.7.0

func (*FragmentMarketDepositsRequest) Reset added in v0.7.0

func (x *FragmentMarketDepositsRequest) Reset()

func (*FragmentMarketDepositsRequest) String added in v0.7.0

type GetFeeAddressReply added in v0.6.0

type GetFeeAddressReply struct {

	// The list of new confidential addresses and related private blinding keys.
	AddressWithBlindingKey []*types.AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetFeeAddressReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetFeeAddressReply.ProtoReflect.Descriptor instead.

func (*GetFeeAddressReply) GetAddressWithBlindingKey added in v0.6.0

func (x *GetFeeAddressReply) GetAddressWithBlindingKey() []*types.AddressWithBlindingKey

func (*GetFeeAddressReply) ProtoMessage added in v0.6.0

func (*GetFeeAddressReply) ProtoMessage()

func (*GetFeeAddressReply) ProtoReflect added in v0.6.0

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

func (*GetFeeAddressReply) Reset added in v0.6.0

func (x *GetFeeAddressReply) Reset()

func (*GetFeeAddressReply) String added in v0.6.0

func (x *GetFeeAddressReply) String() string

type GetFeeAddressRequest added in v0.6.0

type GetFeeAddressRequest struct {

	// The number of addresses to generate.
	NumOfAddresses int64 `protobuf:"varint,1,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeAddressRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetFeeAddressRequest.ProtoReflect.Descriptor instead.

func (*GetFeeAddressRequest) GetNumOfAddresses added in v0.6.0

func (x *GetFeeAddressRequest) GetNumOfAddresses() int64

func (*GetFeeAddressRequest) ProtoMessage added in v0.6.0

func (*GetFeeAddressRequest) ProtoMessage()

func (*GetFeeAddressRequest) ProtoReflect added in v0.6.0

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

func (*GetFeeAddressRequest) Reset added in v0.6.0

func (x *GetFeeAddressRequest) Reset()

func (*GetFeeAddressRequest) String added in v0.6.0

func (x *GetFeeAddressRequest) String() string

type GetFeeBalanceReply added in v0.6.0

type GetFeeBalanceReply struct {

	// The balance of all unlocked unspents.
	AvailableBalance uint64 `protobuf:"varint,1,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// The balance of all unspents included those locked.
	TotalBalance uint64 `protobuf:"varint,2,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeBalanceReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetFeeBalanceReply.ProtoReflect.Descriptor instead.

func (*GetFeeBalanceReply) GetAvailableBalance added in v0.6.0

func (x *GetFeeBalanceReply) GetAvailableBalance() uint64

func (*GetFeeBalanceReply) GetTotalBalance added in v0.6.0

func (x *GetFeeBalanceReply) GetTotalBalance() uint64

func (*GetFeeBalanceReply) ProtoMessage added in v0.6.0

func (*GetFeeBalanceReply) ProtoMessage()

func (*GetFeeBalanceReply) ProtoReflect added in v0.6.0

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

func (*GetFeeBalanceReply) Reset added in v0.6.0

func (x *GetFeeBalanceReply) Reset()

func (*GetFeeBalanceReply) String added in v0.6.0

func (x *GetFeeBalanceReply) String() string

type GetFeeBalanceRequest added in v0.6.0

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

func (*GetFeeBalanceRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetFeeBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetFeeBalanceRequest) ProtoMessage added in v0.6.0

func (*GetFeeBalanceRequest) ProtoMessage()

func (*GetFeeBalanceRequest) ProtoReflect added in v0.6.0

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

func (*GetFeeBalanceRequest) Reset added in v0.6.0

func (x *GetFeeBalanceRequest) Reset()

func (*GetFeeBalanceRequest) String added in v0.6.0

func (x *GetFeeBalanceRequest) String() string

type GetFeeFragmenterAddressReply added in v0.7.0

type GetFeeFragmenterAddressReply struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeFragmenterAddressReply) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetFeeFragmenterAddressReply.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterAddressReply) GetAddress added in v0.7.0

func (x *GetFeeFragmenterAddressReply) GetAddress() string

func (*GetFeeFragmenterAddressReply) ProtoMessage added in v0.7.0

func (*GetFeeFragmenterAddressReply) ProtoMessage()

func (*GetFeeFragmenterAddressReply) ProtoReflect added in v0.7.0

func (*GetFeeFragmenterAddressReply) Reset added in v0.7.0

func (x *GetFeeFragmenterAddressReply) Reset()

func (*GetFeeFragmenterAddressReply) String added in v0.7.0

type GetFeeFragmenterAddressRequest added in v0.7.0

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

func (*GetFeeFragmenterAddressRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetFeeFragmenterAddressRequest.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterAddressRequest) ProtoMessage added in v0.7.0

func (*GetFeeFragmenterAddressRequest) ProtoMessage()

func (*GetFeeFragmenterAddressRequest) ProtoReflect added in v0.7.0

func (*GetFeeFragmenterAddressRequest) Reset added in v0.7.0

func (x *GetFeeFragmenterAddressRequest) Reset()

func (*GetFeeFragmenterAddressRequest) String added in v0.7.0

type GetInfoReply added in v0.6.0

type GetInfoReply struct {

	// The root path of the wallet of the daemon.
	RootPath string `protobuf:"bytes,1,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
	// The SLIP-77 master blinding key from which every keypair is derived.
	MasterBlindingKey string `protobuf:"bytes,2,opt,name=master_blinding_key,json=masterBlindingKey,proto3" json:"master_blinding_key,omitempty"`
	// The list of info related to every account.
	AccountInfo []*AccountInfo `protobuf:"bytes,3,rep,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetInfoReply.ProtoReflect.Descriptor instead.

func (*GetInfoReply) GetAccountInfo added in v0.6.0

func (x *GetInfoReply) GetAccountInfo() []*AccountInfo

func (*GetInfoReply) GetMasterBlindingKey added in v0.6.0

func (x *GetInfoReply) GetMasterBlindingKey() string

func (*GetInfoReply) GetRootPath added in v0.6.0

func (x *GetInfoReply) GetRootPath() string

func (*GetInfoReply) ProtoMessage added in v0.6.0

func (*GetInfoReply) ProtoMessage()

func (*GetInfoReply) ProtoReflect added in v0.6.0

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

func (*GetInfoReply) Reset added in v0.6.0

func (x *GetInfoReply) Reset()

func (*GetInfoReply) String added in v0.6.0

func (x *GetInfoReply) String() string

type GetInfoRequest added in v0.6.0

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

func (*GetInfoRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage added in v0.6.0

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect added in v0.6.0

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

func (*GetInfoRequest) Reset added in v0.6.0

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String added in v0.6.0

func (x *GetInfoRequest) String() string

type GetMarketAddressReply added in v0.6.0

type GetMarketAddressReply struct {

	// The list of new confidential addresses and related private blinding keys.
	AddressWithBlindingKey []*types.AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMarketAddressReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketAddressReply.ProtoReflect.Descriptor instead.

func (*GetMarketAddressReply) GetAddressWithBlindingKey added in v0.6.0

func (x *GetMarketAddressReply) GetAddressWithBlindingKey() []*types.AddressWithBlindingKey

func (*GetMarketAddressReply) ProtoMessage added in v0.6.0

func (*GetMarketAddressReply) ProtoMessage()

func (*GetMarketAddressReply) ProtoReflect added in v0.6.0

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

func (*GetMarketAddressReply) Reset added in v0.6.0

func (x *GetMarketAddressReply) Reset()

func (*GetMarketAddressReply) String added in v0.6.0

func (x *GetMarketAddressReply) String() string

type GetMarketAddressRequest added in v0.6.0

type GetMarketAddressRequest struct {

	// The market for which deriving new addresses.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The number of addresses to generate.
	NumOfAddresses int64 `protobuf:"varint,2,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketAddressRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketAddressRequest.ProtoReflect.Descriptor instead.

func (*GetMarketAddressRequest) GetMarket added in v0.6.0

func (x *GetMarketAddressRequest) GetMarket() *types.Market

func (*GetMarketAddressRequest) GetNumOfAddresses added in v0.6.0

func (x *GetMarketAddressRequest) GetNumOfAddresses() int64

func (*GetMarketAddressRequest) ProtoMessage added in v0.6.0

func (*GetMarketAddressRequest) ProtoMessage()

func (*GetMarketAddressRequest) ProtoReflect added in v0.6.0

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

func (*GetMarketAddressRequest) Reset added in v0.6.0

func (x *GetMarketAddressRequest) Reset()

func (*GetMarketAddressRequest) String added in v0.6.0

func (x *GetMarketAddressRequest) String() string

type GetMarketBalanceReply added in v0.6.0

type GetMarketBalanceReply struct {

	// The balance of all unlocked unspents.
	AvailableBalance *types.Balance `protobuf:"bytes,1,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// The balance of all unspents included those locked.
	TotalBalance *types.Balance `protobuf:"bytes,2,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketBalanceReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketBalanceReply.ProtoReflect.Descriptor instead.

func (*GetMarketBalanceReply) GetAvailableBalance added in v0.6.0

func (x *GetMarketBalanceReply) GetAvailableBalance() *types.Balance

func (*GetMarketBalanceReply) GetTotalBalance added in v0.6.0

func (x *GetMarketBalanceReply) GetTotalBalance() *types.Balance

func (*GetMarketBalanceReply) ProtoMessage added in v0.6.0

func (*GetMarketBalanceReply) ProtoMessage()

func (*GetMarketBalanceReply) ProtoReflect added in v0.6.0

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

func (*GetMarketBalanceReply) Reset added in v0.6.0

func (x *GetMarketBalanceReply) Reset()

func (*GetMarketBalanceReply) String added in v0.6.0

func (x *GetMarketBalanceReply) String() string

type GetMarketBalanceRequest added in v0.6.0

type GetMarketBalanceRequest struct {

	// The market for which calculating the balance.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketBalanceRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetMarketBalanceRequest) GetMarket added in v0.6.0

func (x *GetMarketBalanceRequest) GetMarket() *types.Market

func (*GetMarketBalanceRequest) ProtoMessage added in v0.6.0

func (*GetMarketBalanceRequest) ProtoMessage()

func (*GetMarketBalanceRequest) ProtoReflect added in v0.6.0

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

func (*GetMarketBalanceRequest) Reset added in v0.6.0

func (x *GetMarketBalanceRequest) Reset()

func (*GetMarketBalanceRequest) String added in v0.6.0

func (x *GetMarketBalanceRequest) String() string

type GetMarketCollectedSwapFeesReply added in v0.6.0

type GetMarketCollectedSwapFeesReply struct {

	// The list of info about the collected fees per each trade.
	CollectedFees []*FeeInfo `protobuf:"bytes,1,rep,name=collected_fees,json=collectedFees,proto3" json:"collected_fees,omitempty"`
	// The map of total fees collected per asset.
	TotalCollectedFeesPerAsset map[string]int64 `` /* 234-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMarketCollectedSwapFeesReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketCollectedSwapFeesReply.ProtoReflect.Descriptor instead.

func (*GetMarketCollectedSwapFeesReply) GetCollectedFees added in v0.6.0

func (x *GetMarketCollectedSwapFeesReply) GetCollectedFees() []*FeeInfo

func (*GetMarketCollectedSwapFeesReply) GetTotalCollectedFeesPerAsset added in v0.6.0

func (x *GetMarketCollectedSwapFeesReply) GetTotalCollectedFeesPerAsset() map[string]int64

func (*GetMarketCollectedSwapFeesReply) ProtoMessage added in v0.6.0

func (*GetMarketCollectedSwapFeesReply) ProtoMessage()

func (*GetMarketCollectedSwapFeesReply) ProtoReflect added in v0.6.0

func (*GetMarketCollectedSwapFeesReply) Reset added in v0.6.0

func (*GetMarketCollectedSwapFeesReply) String added in v0.6.0

type GetMarketCollectedSwapFeesRequest added in v0.6.0

type GetMarketCollectedSwapFeesRequest struct {

	// The marker for which returning the report of collected fees.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The page for a paginated reply.
	Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketCollectedSwapFeesRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use GetMarketCollectedSwapFeesRequest.ProtoReflect.Descriptor instead.

func (*GetMarketCollectedSwapFeesRequest) GetMarket added in v0.6.0

func (*GetMarketCollectedSwapFeesRequest) GetPage added in v0.6.0

func (*GetMarketCollectedSwapFeesRequest) ProtoMessage added in v0.6.0

func (*GetMarketCollectedSwapFeesRequest) ProtoMessage()

func (*GetMarketCollectedSwapFeesRequest) ProtoReflect added in v0.6.0

func (*GetMarketCollectedSwapFeesRequest) Reset added in v0.6.0

func (*GetMarketCollectedSwapFeesRequest) String added in v0.6.0

type GetMarketFragmenterAddressReply added in v0.7.0

type GetMarketFragmenterAddressReply struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketFragmenterAddressReply) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetMarketFragmenterAddressReply.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterAddressReply) GetAddress added in v0.7.0

func (x *GetMarketFragmenterAddressReply) GetAddress() string

func (*GetMarketFragmenterAddressReply) ProtoMessage added in v0.7.0

func (*GetMarketFragmenterAddressReply) ProtoMessage()

func (*GetMarketFragmenterAddressReply) ProtoReflect added in v0.7.0

func (*GetMarketFragmenterAddressReply) Reset added in v0.7.0

func (*GetMarketFragmenterAddressReply) String added in v0.7.0

type GetMarketFragmenterAddressRequest added in v0.7.0

type GetMarketFragmenterAddressRequest struct {
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketFragmenterAddressRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetMarketFragmenterAddressRequest.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterAddressRequest) GetMarket added in v0.7.0

func (*GetMarketFragmenterAddressRequest) ProtoMessage added in v0.7.0

func (*GetMarketFragmenterAddressRequest) ProtoMessage()

func (*GetMarketFragmenterAddressRequest) ProtoReflect added in v0.7.0

func (*GetMarketFragmenterAddressRequest) Reset added in v0.7.0

func (*GetMarketFragmenterAddressRequest) String added in v0.7.0

type ListDepositsReply added in v0.6.0

type ListDepositsReply struct {

	// The index of the wallet account.
	AccountIndex int64 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The list of info about the deposits.
	Deposits []*UtxoInfo `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDepositsReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListDepositsReply.ProtoReflect.Descriptor instead.

func (*ListDepositsReply) GetAccountIndex added in v0.6.0

func (x *ListDepositsReply) GetAccountIndex() int64

func (*ListDepositsReply) GetDeposits added in v0.6.0

func (x *ListDepositsReply) GetDeposits() []*UtxoInfo

func (*ListDepositsReply) ProtoMessage added in v0.6.0

func (*ListDepositsReply) ProtoMessage()

func (*ListDepositsReply) ProtoReflect added in v0.6.0

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

func (*ListDepositsReply) Reset added in v0.6.0

func (x *ListDepositsReply) Reset()

func (*ListDepositsReply) String added in v0.6.0

func (x *ListDepositsReply) String() string

type ListDepositsRequest added in v0.6.0

type ListDepositsRequest struct {

	// The index of the wallet account for which listing the deposits.
	AccountIndex int64 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The page for a paginated reply.
	Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDepositsRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListDepositsRequest.ProtoReflect.Descriptor instead.

func (*ListDepositsRequest) GetAccountIndex added in v0.6.0

func (x *ListDepositsRequest) GetAccountIndex() int64

func (*ListDepositsRequest) GetPage added in v0.6.0

func (x *ListDepositsRequest) GetPage() *Page

func (*ListDepositsRequest) ProtoMessage added in v0.6.0

func (*ListDepositsRequest) ProtoMessage()

func (*ListDepositsRequest) ProtoReflect added in v0.6.0

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

func (*ListDepositsRequest) Reset added in v0.6.0

func (x *ListDepositsRequest) Reset()

func (*ListDepositsRequest) String added in v0.6.0

func (x *ListDepositsRequest) String() string

type ListFeeAddressesReply added in v0.6.0

type ListFeeAddressesReply struct {

	// The list of derived confidential addresses and related private blinding
	// keys.
	AddressWithBlinidngKey []*types.AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListFeeAddressesReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListFeeAddressesReply.ProtoReflect.Descriptor instead.

func (*ListFeeAddressesReply) GetAddressWithBlinidngKey added in v0.6.0

func (x *ListFeeAddressesReply) GetAddressWithBlinidngKey() []*types.AddressWithBlindingKey

func (*ListFeeAddressesReply) ProtoMessage added in v0.6.0

func (*ListFeeAddressesReply) ProtoMessage()

func (*ListFeeAddressesReply) ProtoReflect added in v0.6.0

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

func (*ListFeeAddressesReply) Reset added in v0.6.0

func (x *ListFeeAddressesReply) Reset()

func (*ListFeeAddressesReply) String added in v0.6.0

func (x *ListFeeAddressesReply) String() string

type ListFeeAddressesRequest added in v0.6.0

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

func (*ListFeeAddressesRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListFeeAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListFeeAddressesRequest) ProtoMessage added in v0.6.0

func (*ListFeeAddressesRequest) ProtoMessage()

func (*ListFeeAddressesRequest) ProtoReflect added in v0.6.0

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

func (*ListFeeAddressesRequest) Reset added in v0.6.0

func (x *ListFeeAddressesRequest) Reset()

func (*ListFeeAddressesRequest) String added in v0.6.0

func (x *ListFeeAddressesRequest) String() string

type ListMarketAddressesReply added in v0.6.0

type ListMarketAddressesReply struct {

	// The list of derived confidential addresses and related private blinding
	// keys.
	AddressWithBlinidngKey []*types.AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListMarketAddressesReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListMarketAddressesReply.ProtoReflect.Descriptor instead.

func (*ListMarketAddressesReply) GetAddressWithBlinidngKey added in v0.6.0

func (x *ListMarketAddressesReply) GetAddressWithBlinidngKey() []*types.AddressWithBlindingKey

func (*ListMarketAddressesReply) ProtoMessage added in v0.6.0

func (*ListMarketAddressesReply) ProtoMessage()

func (*ListMarketAddressesReply) ProtoReflect added in v0.6.0

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

func (*ListMarketAddressesReply) Reset added in v0.6.0

func (x *ListMarketAddressesReply) Reset()

func (*ListMarketAddressesReply) String added in v0.6.0

func (x *ListMarketAddressesReply) String() string

type ListMarketAddressesRequest added in v0.6.0

type ListMarketAddressesRequest struct {

	// The Market for which listing all derived addresses.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMarketAddressesRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListMarketAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListMarketAddressesRequest) GetMarket added in v0.6.0

func (x *ListMarketAddressesRequest) GetMarket() *types.Market

func (*ListMarketAddressesRequest) ProtoMessage added in v0.6.0

func (*ListMarketAddressesRequest) ProtoMessage()

func (*ListMarketAddressesRequest) ProtoReflect added in v0.6.0

func (*ListMarketAddressesRequest) Reset added in v0.6.0

func (x *ListMarketAddressesRequest) Reset()

func (*ListMarketAddressesRequest) String added in v0.6.0

func (x *ListMarketAddressesRequest) String() string

type ListMarketsReply added in v0.6.0

type ListMarketsReply struct {

	// The list of info about all the created markets.
	Markets []*MarketInfo `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMarketsReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListMarketsReply.ProtoReflect.Descriptor instead.

func (*ListMarketsReply) GetMarkets added in v0.6.0

func (x *ListMarketsReply) GetMarkets() []*MarketInfo

func (*ListMarketsReply) ProtoMessage added in v0.6.0

func (*ListMarketsReply) ProtoMessage()

func (*ListMarketsReply) ProtoReflect added in v0.6.0

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

func (*ListMarketsReply) Reset added in v0.6.0

func (x *ListMarketsReply) Reset()

func (*ListMarketsReply) String added in v0.6.0

func (x *ListMarketsReply) String() string

type ListMarketsRequest added in v0.6.0

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

func (*ListMarketsRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead.

func (*ListMarketsRequest) ProtoMessage added in v0.6.0

func (*ListMarketsRequest) ProtoMessage()

func (*ListMarketsRequest) ProtoReflect added in v0.6.0

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

func (*ListMarketsRequest) Reset added in v0.6.0

func (x *ListMarketsRequest) Reset()

func (*ListMarketsRequest) String added in v0.6.0

func (x *ListMarketsRequest) String() string

type ListTradesReply

type ListTradesReply struct {

	// The list of info about all trades or all trades for a market depending on
	// the request.
	Trades []*TradeInfo `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTradesReply) Descriptor deprecated

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

Deprecated: Use ListTradesReply.ProtoReflect.Descriptor instead.

func (*ListTradesReply) GetTrades

func (x *ListTradesReply) GetTrades() []*TradeInfo

func (*ListTradesReply) ProtoMessage

func (*ListTradesReply) ProtoMessage()

func (*ListTradesReply) ProtoReflect

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

func (*ListTradesReply) Reset

func (x *ListTradesReply) Reset()

func (*ListTradesReply) String

func (x *ListTradesReply) String() string

type ListTradesRequest

type ListTradesRequest struct {

	// Optional: request all trades related to a specific market.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The page for a paginated reply.
	Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTradesRequest) Descriptor deprecated

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

Deprecated: Use ListTradesRequest.ProtoReflect.Descriptor instead.

func (*ListTradesRequest) GetMarket added in v0.6.0

func (x *ListTradesRequest) GetMarket() *types.Market

func (*ListTradesRequest) GetPage added in v0.6.0

func (x *ListTradesRequest) GetPage() *Page

func (*ListTradesRequest) ProtoMessage

func (*ListTradesRequest) ProtoMessage()

func (*ListTradesRequest) ProtoReflect

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

func (*ListTradesRequest) Reset

func (x *ListTradesRequest) Reset()

func (*ListTradesRequest) String

func (x *ListTradesRequest) String() string

type ListUtxosReply

type ListUtxosReply struct {

	// The list of all unspent utxos.
	Unspents []*UtxoInfo `protobuf:"bytes,1,rep,name=unspents,proto3" json:"unspents,omitempty"`
	// The list of all spent utxos.
	Spents []*UtxoInfo `protobuf:"bytes,2,rep,name=spents,proto3" json:"spents,omitempty"`
	// The list of all currently locked utxos.
	Locks []*UtxoInfo `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUtxosReply) Descriptor deprecated

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

Deprecated: Use ListUtxosReply.ProtoReflect.Descriptor instead.

func (*ListUtxosReply) GetLocks added in v0.6.0

func (x *ListUtxosReply) GetLocks() []*UtxoInfo

func (*ListUtxosReply) GetSpents added in v0.6.0

func (x *ListUtxosReply) GetSpents() []*UtxoInfo

func (*ListUtxosReply) GetUnspents added in v0.6.0

func (x *ListUtxosReply) GetUnspents() []*UtxoInfo

func (*ListUtxosReply) ProtoMessage

func (*ListUtxosReply) ProtoMessage()

func (*ListUtxosReply) ProtoReflect

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

func (*ListUtxosReply) Reset

func (x *ListUtxosReply) Reset()

func (*ListUtxosReply) String

func (x *ListUtxosReply) String() string

type ListUtxosRequest

type ListUtxosRequest struct {

	// Optional: request all utxos owned by a specific wallet account.
	AccountIndex uint64 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The page for a paginated reply.
	Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUtxosRequest) Descriptor deprecated

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

Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead.

func (*ListUtxosRequest) GetAccountIndex added in v0.6.0

func (x *ListUtxosRequest) GetAccountIndex() uint64

func (*ListUtxosRequest) GetPage added in v0.6.0

func (x *ListUtxosRequest) GetPage() *Page

func (*ListUtxosRequest) ProtoMessage

func (*ListUtxosRequest) ProtoMessage()

func (*ListUtxosRequest) ProtoReflect

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

func (*ListUtxosRequest) Reset

func (x *ListUtxosRequest) Reset()

func (*ListUtxosRequest) String

func (x *ListUtxosRequest) String() string

type ListWebhooksReply added in v0.3.11

type ListWebhooksReply struct {

	// The list of info about the webhooks regitered for an action.
	WebhookInfo []*WebhookInfo `protobuf:"bytes,1,rep,name=webhook_info,json=webhookInfo,proto3" json:"webhook_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWebhooksReply) Descriptor deprecated added in v0.3.11

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

Deprecated: Use ListWebhooksReply.ProtoReflect.Descriptor instead.

func (*ListWebhooksReply) GetWebhookInfo added in v0.3.11

func (x *ListWebhooksReply) GetWebhookInfo() []*WebhookInfo

func (*ListWebhooksReply) ProtoMessage added in v0.3.11

func (*ListWebhooksReply) ProtoMessage()

func (*ListWebhooksReply) ProtoReflect added in v0.3.11

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

func (*ListWebhooksReply) Reset added in v0.3.11

func (x *ListWebhooksReply) Reset()

func (*ListWebhooksReply) String added in v0.3.11

func (x *ListWebhooksReply) String() string

type ListWebhooksRequest added in v0.3.11

type ListWebhooksRequest struct {

	// The action for which filtering the list of webhooks.
	Action ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=ActionType" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWebhooksRequest) Descriptor deprecated added in v0.3.11

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

Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.

func (*ListWebhooksRequest) GetAction added in v0.3.11

func (x *ListWebhooksRequest) GetAction() ActionType

func (*ListWebhooksRequest) ProtoMessage added in v0.3.11

func (*ListWebhooksRequest) ProtoMessage()

func (*ListWebhooksRequest) ProtoReflect added in v0.3.11

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

func (*ListWebhooksRequest) Reset added in v0.3.11

func (x *ListWebhooksRequest) Reset()

func (*ListWebhooksRequest) String added in v0.3.11

func (x *ListWebhooksRequest) String() string

type ListWithdrawalsReply added in v0.6.0

type ListWithdrawalsReply struct {

	// The index of the wallet account.
	AccountIndex int64 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The list of info about the withdrawals.
	Withdrawals []*Withdrawal `protobuf:"bytes,2,rep,name=withdrawals,proto3" json:"withdrawals,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWithdrawalsReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListWithdrawalsReply.ProtoReflect.Descriptor instead.

func (*ListWithdrawalsReply) GetAccountIndex added in v0.6.0

func (x *ListWithdrawalsReply) GetAccountIndex() int64

func (*ListWithdrawalsReply) GetWithdrawals added in v0.6.0

func (x *ListWithdrawalsReply) GetWithdrawals() []*Withdrawal

func (*ListWithdrawalsReply) ProtoMessage added in v0.6.0

func (*ListWithdrawalsReply) ProtoMessage()

func (*ListWithdrawalsReply) ProtoReflect added in v0.6.0

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

func (*ListWithdrawalsReply) Reset added in v0.6.0

func (x *ListWithdrawalsReply) Reset()

func (*ListWithdrawalsReply) String added in v0.6.0

func (x *ListWithdrawalsReply) String() string

type ListWithdrawalsRequest added in v0.6.0

type ListWithdrawalsRequest struct {

	// The index of the wallet account for which listing the withdrawals.
	AccountIndex int64 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The page for a paginated reply.
	Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWithdrawalsRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use ListWithdrawalsRequest.ProtoReflect.Descriptor instead.

func (*ListWithdrawalsRequest) GetAccountIndex added in v0.6.0

func (x *ListWithdrawalsRequest) GetAccountIndex() int64

func (*ListWithdrawalsRequest) GetPage added in v0.6.0

func (x *ListWithdrawalsRequest) GetPage() *Page

func (*ListWithdrawalsRequest) ProtoMessage added in v0.6.0

func (*ListWithdrawalsRequest) ProtoMessage()

func (*ListWithdrawalsRequest) ProtoReflect added in v0.6.0

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

func (*ListWithdrawalsRequest) Reset added in v0.6.0

func (x *ListWithdrawalsRequest) Reset()

func (*ListWithdrawalsRequest) String added in v0.6.0

func (x *ListWithdrawalsRequest) String() string

type MarketInfo

type MarketInfo struct {

	// The asset pair of the market
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The percentage and fixed fees
	Fee *types.Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// Whether the market is opened or closed.
	Tradable bool `protobuf:"varint,3,opt,name=tradable,proto3" json:"tradable,omitempty"`
	// The making strategy.
	StrategyType StrategyType `protobuf:"varint,4,opt,name=strategy_type,json=strategyType,proto3,enum=StrategyType" json:"strategy_type,omitempty"`
	// The index of the wallet account.
	AccountIndex uint64 `protobuf:"varint,5,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"`
	// The current price in case the strategy is PLUGGABLE.
	Price *types.Price `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	// The current unlocked balance.
	Balance *types.Balance `protobuf:"bytes,7,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketInfo) Descriptor deprecated

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

Deprecated: Use MarketInfo.ProtoReflect.Descriptor instead.

func (*MarketInfo) GetAccountIndex

func (x *MarketInfo) GetAccountIndex() uint64

func (*MarketInfo) GetBalance added in v0.6.0

func (x *MarketInfo) GetBalance() *types.Balance

func (*MarketInfo) GetFee

func (x *MarketInfo) GetFee() *types.Fee

func (*MarketInfo) GetMarket

func (x *MarketInfo) GetMarket() *types.Market

func (*MarketInfo) GetPrice

func (x *MarketInfo) GetPrice() *types.Price

func (*MarketInfo) GetStrategyType

func (x *MarketInfo) GetStrategyType() StrategyType

func (*MarketInfo) GetTradable

func (x *MarketInfo) GetTradable() bool

func (*MarketInfo) ProtoMessage

func (*MarketInfo) ProtoMessage()

func (*MarketInfo) ProtoReflect

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

func (*MarketInfo) Reset

func (x *MarketInfo) Reset()

func (*MarketInfo) String

func (x *MarketInfo) String() string

type NewMarketReply added in v0.6.0

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

func (*NewMarketReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use NewMarketReply.ProtoReflect.Descriptor instead.

func (*NewMarketReply) ProtoMessage added in v0.6.0

func (*NewMarketReply) ProtoMessage()

func (*NewMarketReply) ProtoReflect added in v0.6.0

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

func (*NewMarketReply) Reset added in v0.6.0

func (x *NewMarketReply) Reset()

func (*NewMarketReply) String added in v0.6.0

func (x *NewMarketReply) String() string

type NewMarketRequest added in v0.6.0

type NewMarketRequest struct {

	// The asset pair for which creating a new account in the daemon's wallet.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*NewMarketRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use NewMarketRequest.ProtoReflect.Descriptor instead.

func (*NewMarketRequest) GetMarket added in v0.6.0

func (x *NewMarketRequest) GetMarket() *types.Market

func (*NewMarketRequest) ProtoMessage added in v0.6.0

func (*NewMarketRequest) ProtoMessage()

func (*NewMarketRequest) ProtoReflect added in v0.6.0

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

func (*NewMarketRequest) Reset added in v0.6.0

func (x *NewMarketRequest) Reset()

func (*NewMarketRequest) String added in v0.6.0

func (x *NewMarketRequest) String() string

type OpenMarketReply

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

func (*OpenMarketReply) Descriptor deprecated

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

Deprecated: Use OpenMarketReply.ProtoReflect.Descriptor instead.

func (*OpenMarketReply) ProtoMessage

func (*OpenMarketReply) ProtoMessage()

func (*OpenMarketReply) ProtoReflect

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

func (*OpenMarketReply) Reset

func (x *OpenMarketReply) Reset()

func (*OpenMarketReply) String

func (x *OpenMarketReply) String() string

type OpenMarketRequest

type OpenMarketRequest struct {

	// The market to be made tradable.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenMarketRequest) Descriptor deprecated

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

Deprecated: Use OpenMarketRequest.ProtoReflect.Descriptor instead.

func (*OpenMarketRequest) GetMarket

func (x *OpenMarketRequest) GetMarket() *types.Market

func (*OpenMarketRequest) ProtoMessage

func (*OpenMarketRequest) ProtoMessage()

func (*OpenMarketRequest) ProtoReflect

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

func (*OpenMarketRequest) Reset

func (x *OpenMarketRequest) Reset()

func (*OpenMarketRequest) String

func (x *OpenMarketRequest) String() string

type OperatorClient

type OperatorClient interface {
	// Returns info about the internal wallet of the daemon.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoReply, error)
	// Returns some new derived address(es) from the fee account.
	// This is only used to deposit some LBTC to subsidize blockchain fees.
	GetFeeAddress(ctx context.Context, in *GetFeeAddressRequest, opts ...grpc.CallOption) (*GetFeeAddressReply, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(ctx context.Context, in *ListFeeAddressesRequest, opts ...grpc.CallOption) (*ListFeeAddressesReply, error)
	// Returns info about the balance of LBTC held in the fee account.
	GetFeeBalance(ctx context.Context, in *GetFeeBalanceRequest, opts ...grpc.CallOption) (*GetFeeBalanceReply, error)
	// Allows to provide transaction(s) outpoints of deposits made to fund the fee account.
	// The transaction(s) must be already included in blockchain.
	ClaimFeeDeposits(ctx context.Context, in *ClaimFeeDepositsRequest, opts ...grpc.CallOption) (*ClaimFeeDepositsReply, error)
	// Returns the address of an ephemeral single key wallet where to send the
	// funds to be splited and deposited into the fee account.
	GetFeeFragmenterAddress(ctx context.Context, in *GetFeeFragmenterAddressRequest, opts ...grpc.CallOption) (*GetFeeFragmenterAddressReply, error)
	// Splits the funds sent to the ephemeral wallet address into multiple
	// fragments that then becomes deposits of the Fee account.
	FragmentFeeDeposits(ctx context.Context, in *FragmentFeeDepositsRequest, opts ...grpc.CallOption) (Operator_FragmentFeeDepositsClient, error)
	// Allows to withdraw funds from the fee account to a given address.
	WithdrawFee(ctx context.Context, in *WithdrawFeeRequest, opts ...grpc.CallOption) (*WithdrawFeeReply, error)
	// Creates a new market account in the daemon's wallet.
	NewMarket(ctx context.Context, in *NewMarketRequest, opts ...grpc.CallOption) (*NewMarketReply, error)
	// Returns some new derived address(es) for the given market.
	GetMarketAddress(ctx context.Context, in *GetMarketAddressRequest, opts ...grpc.CallOption) (*GetMarketAddressReply, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(ctx context.Context, in *ListMarketAddressesRequest, opts ...grpc.CallOption) (*ListMarketAddressesReply, error)
	// Returns info about the balance of the given market.
	GetMarketBalance(ctx context.Context, in *GetMarketBalanceRequest, opts ...grpc.CallOption) (*GetMarketBalanceReply, error)
	// Allows to provide transaction(s) outpoints of deposits made to fund a market.
	// The transaction(s) provided must be already included in blockchain.
	ClaimMarketDeposits(ctx context.Context, in *ClaimMarketDepositsRequest, opts ...grpc.CallOption) (*ClaimMarketDepositsReply, error)
	// Makes the given market tradable.
	OpenMarket(ctx context.Context, in *OpenMarketRequest, opts ...grpc.CallOption) (*OpenMarketReply, error)
	// Makes the given market NOT tradabale.
	CloseMarket(ctx context.Context, in *CloseMarketRequest, opts ...grpc.CallOption) (*CloseMarketReply, error)
	// Deletes a market.
	DropMarket(ctx context.Context, in *DropMarketRequest, opts ...grpc.CallOption) (*DropMarketReply, error)
	// Displays a report of the colected fees for the given market.
	GetMarketCollectedSwapFees(ctx context.Context, in *GetMarketCollectedSwapFeesRequest, opts ...grpc.CallOption) (*GetMarketCollectedSwapFeesReply, error)
	// Returns the address of an ephemeral single key wallet where to send the
	// funds to be splited and deposited for a market.
	GetMarketFragmenterAddress(ctx context.Context, in *GetMarketFragmenterAddressRequest, opts ...grpc.CallOption) (*GetMarketFragmenterAddressReply, error)
	// Splits the funds sent to the ephemeral wallet address into multiple
	// fragments that then becomes deposits of the given market.
	FragmentMarketDeposits(ctx context.Context, in *FragmentMarketDepositsRequest, opts ...grpc.CallOption) (Operator_FragmentMarketDepositsClient, error)
	// Allows to withdraw funds from the given market to a given address.
	WithdrawMarket(ctx context.Context, in *WithdrawMarketRequest, opts ...grpc.CallOption) (*WithdrawMarketReply, error)
	// Changes the Liquidity Provider percentage fee for the given market.
	UpdateMarketPercentageFee(ctx context.Context, in *UpdateMarketPercentageFeeRequest, opts ...grpc.CallOption) (*UpdateMarketFeeReply, error)
	// Changes the Liquidity provider fixed fees for the given market.
	UpdateMarketFixedFee(ctx context.Context, in *UpdateMarketFixedFeeRequest, opts ...grpc.CallOption) (*UpdateMarketFeeReply, error)
	// Updates the price for the given market.
	UpdateMarketPrice(ctx context.Context, in *UpdateMarketPriceRequest, opts ...grpc.CallOption) (*UpdateMarketPriceReply, error)
	// Updates the current market making strategy, either using an automated
	// market making formula or a pluggable price feed.
	UpdateMarketStrategy(ctx context.Context, in *UpdateMarketStrategyRequest, opts ...grpc.CallOption) (*UpdateMarketStrategyReply, error)
	// Get extended details for each market either open, closed or to be funded.
	ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsReply, error)
	// Returs all the trades processed by the daemon (ongoing, completed and
	// failed/rejected) or all those filtered by market.
	ListTrades(ctx context.Context, in *ListTradesRequest, opts ...grpc.CallOption) (*ListTradesReply, error)
	// Causes the daemon to re-sync the whole utxo set.
	ReloadUtxos(ctx context.Context, in *ReloadUtxosRequest, opts ...grpc.CallOption) (*ReloadUtxosReply, error)
	// Returns all the utxos, whether unspents, spents or locked.
	ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosReply, error)
	// Adds a webhook registered for some kind of event.
	AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*AddWebhookReply, error)
	// Removes some previously added webhook.
	RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*RemoveWebhookReply, error)
	// Returns registered webhooks
	ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksReply, error)
	// Returns the list of all claimed deposits for the given account.
	ListDeposits(ctx context.Context, in *ListDepositsRequest, opts ...grpc.CallOption) (*ListDepositsReply, error)
	// Returns the list of all withdrawals made for the given account.
	ListWithdrawals(ctx context.Context, in *ListWithdrawalsRequest, opts ...grpc.CallOption) (*ListWithdrawalsReply, error)
}

OperatorClient is the client API for Operator service.

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

func NewOperatorClient

func NewOperatorClient(cc grpc.ClientConnInterface) OperatorClient

type OperatorServer

type OperatorServer interface {
	// Returns info about the internal wallet of the daemon.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoReply, error)
	// Returns some new derived address(es) from the fee account.
	// This is only used to deposit some LBTC to subsidize blockchain fees.
	GetFeeAddress(context.Context, *GetFeeAddressRequest) (*GetFeeAddressReply, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(context.Context, *ListFeeAddressesRequest) (*ListFeeAddressesReply, error)
	// Returns info about the balance of LBTC held in the fee account.
	GetFeeBalance(context.Context, *GetFeeBalanceRequest) (*GetFeeBalanceReply, error)
	// Allows to provide transaction(s) outpoints of deposits made to fund the fee account.
	// The transaction(s) must be already included in blockchain.
	ClaimFeeDeposits(context.Context, *ClaimFeeDepositsRequest) (*ClaimFeeDepositsReply, error)
	// Returns the address of an ephemeral single key wallet where to send the
	// funds to be splited and deposited into the fee account.
	GetFeeFragmenterAddress(context.Context, *GetFeeFragmenterAddressRequest) (*GetFeeFragmenterAddressReply, error)
	// Splits the funds sent to the ephemeral wallet address into multiple
	// fragments that then becomes deposits of the Fee account.
	FragmentFeeDeposits(*FragmentFeeDepositsRequest, Operator_FragmentFeeDepositsServer) error
	// Allows to withdraw funds from the fee account to a given address.
	WithdrawFee(context.Context, *WithdrawFeeRequest) (*WithdrawFeeReply, error)
	// Creates a new market account in the daemon's wallet.
	NewMarket(context.Context, *NewMarketRequest) (*NewMarketReply, error)
	// Returns some new derived address(es) for the given market.
	GetMarketAddress(context.Context, *GetMarketAddressRequest) (*GetMarketAddressReply, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(context.Context, *ListMarketAddressesRequest) (*ListMarketAddressesReply, error)
	// Returns info about the balance of the given market.
	GetMarketBalance(context.Context, *GetMarketBalanceRequest) (*GetMarketBalanceReply, error)
	// Allows to provide transaction(s) outpoints of deposits made to fund a market.
	// The transaction(s) provided must be already included in blockchain.
	ClaimMarketDeposits(context.Context, *ClaimMarketDepositsRequest) (*ClaimMarketDepositsReply, error)
	// Makes the given market tradable.
	OpenMarket(context.Context, *OpenMarketRequest) (*OpenMarketReply, error)
	// Makes the given market NOT tradabale.
	CloseMarket(context.Context, *CloseMarketRequest) (*CloseMarketReply, error)
	// Deletes a market.
	DropMarket(context.Context, *DropMarketRequest) (*DropMarketReply, error)
	// Displays a report of the colected fees for the given market.
	GetMarketCollectedSwapFees(context.Context, *GetMarketCollectedSwapFeesRequest) (*GetMarketCollectedSwapFeesReply, error)
	// Returns the address of an ephemeral single key wallet where to send the
	// funds to be splited and deposited for a market.
	GetMarketFragmenterAddress(context.Context, *GetMarketFragmenterAddressRequest) (*GetMarketFragmenterAddressReply, error)
	// Splits the funds sent to the ephemeral wallet address into multiple
	// fragments that then becomes deposits of the given market.
	FragmentMarketDeposits(*FragmentMarketDepositsRequest, Operator_FragmentMarketDepositsServer) error
	// Allows to withdraw funds from the given market to a given address.
	WithdrawMarket(context.Context, *WithdrawMarketRequest) (*WithdrawMarketReply, error)
	// Changes the Liquidity Provider percentage fee for the given market.
	UpdateMarketPercentageFee(context.Context, *UpdateMarketPercentageFeeRequest) (*UpdateMarketFeeReply, error)
	// Changes the Liquidity provider fixed fees for the given market.
	UpdateMarketFixedFee(context.Context, *UpdateMarketFixedFeeRequest) (*UpdateMarketFeeReply, error)
	// Updates the price for the given market.
	UpdateMarketPrice(context.Context, *UpdateMarketPriceRequest) (*UpdateMarketPriceReply, error)
	// Updates the current market making strategy, either using an automated
	// market making formula or a pluggable price feed.
	UpdateMarketStrategy(context.Context, *UpdateMarketStrategyRequest) (*UpdateMarketStrategyReply, error)
	// Get extended details for each market either open, closed or to be funded.
	ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsReply, error)
	// Returs all the trades processed by the daemon (ongoing, completed and
	// failed/rejected) or all those filtered by market.
	ListTrades(context.Context, *ListTradesRequest) (*ListTradesReply, error)
	// Causes the daemon to re-sync the whole utxo set.
	ReloadUtxos(context.Context, *ReloadUtxosRequest) (*ReloadUtxosReply, error)
	// Returns all the utxos, whether unspents, spents or locked.
	ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosReply, error)
	// Adds a webhook registered for some kind of event.
	AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookReply, error)
	// Removes some previously added webhook.
	RemoveWebhook(context.Context, *RemoveWebhookRequest) (*RemoveWebhookReply, error)
	// Returns registered webhooks
	ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksReply, error)
	// Returns the list of all claimed deposits for the given account.
	ListDeposits(context.Context, *ListDepositsRequest) (*ListDepositsReply, error)
	// Returns the list of all withdrawals made for the given account.
	ListWithdrawals(context.Context, *ListWithdrawalsRequest) (*ListWithdrawalsReply, error)
	// contains filtered or unexported methods
}

OperatorServer is the server API for Operator service. All implementations must embed UnimplementedOperatorServer for forward compatibility

type Operator_FragmentFeeDepositsClient added in v0.7.0

type Operator_FragmentFeeDepositsClient interface {
	Recv() (*FragmentFeeDepositsReply, error)
	grpc.ClientStream
}

type Operator_FragmentFeeDepositsServer added in v0.7.0

type Operator_FragmentFeeDepositsServer interface {
	Send(*FragmentFeeDepositsReply) error
	grpc.ServerStream
}

type Operator_FragmentMarketDepositsClient added in v0.7.0

type Operator_FragmentMarketDepositsClient interface {
	Recv() (*FragmentMarketDepositsReply, error)
	grpc.ClientStream
}

type Operator_FragmentMarketDepositsServer added in v0.7.0

type Operator_FragmentMarketDepositsServer interface {
	Send(*FragmentMarketDepositsReply) error
	grpc.ServerStream
}

type Page added in v0.6.0

type Page struct {

	// The number of the page.
	PageNumber int64 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	// The size of the page, ie the max length the returning list can have.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetPageNumber added in v0.6.0

func (x *Page) GetPageNumber() int64

func (*Page) GetPageSize added in v0.6.0

func (x *Page) GetPageSize() int64

func (*Page) ProtoMessage added in v0.6.0

func (*Page) ProtoMessage()

func (*Page) ProtoReflect added in v0.6.0

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

func (*Page) Reset added in v0.6.0

func (x *Page) Reset()

func (*Page) String added in v0.6.0

func (x *Page) String() string

type ReloadUtxosReply

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

func (*ReloadUtxosReply) Descriptor deprecated

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

Deprecated: Use ReloadUtxosReply.ProtoReflect.Descriptor instead.

func (*ReloadUtxosReply) ProtoMessage

func (*ReloadUtxosReply) ProtoMessage()

func (*ReloadUtxosReply) ProtoReflect

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

func (*ReloadUtxosReply) Reset

func (x *ReloadUtxosReply) Reset()

func (*ReloadUtxosReply) String

func (x *ReloadUtxosReply) String() string

type ReloadUtxosRequest

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

func (*ReloadUtxosRequest) Descriptor deprecated

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

Deprecated: Use ReloadUtxosRequest.ProtoReflect.Descriptor instead.

func (*ReloadUtxosRequest) ProtoMessage

func (*ReloadUtxosRequest) ProtoMessage()

func (*ReloadUtxosRequest) ProtoReflect

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

func (*ReloadUtxosRequest) Reset

func (x *ReloadUtxosRequest) Reset()

func (*ReloadUtxosRequest) String

func (x *ReloadUtxosRequest) String() string

type RemoveWebhookReply added in v0.3.11

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

func (*RemoveWebhookReply) Descriptor deprecated added in v0.3.11

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

Deprecated: Use RemoveWebhookReply.ProtoReflect.Descriptor instead.

func (*RemoveWebhookReply) ProtoMessage added in v0.3.11

func (*RemoveWebhookReply) ProtoMessage()

func (*RemoveWebhookReply) ProtoReflect added in v0.3.11

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

func (*RemoveWebhookReply) Reset added in v0.3.11

func (x *RemoveWebhookReply) Reset()

func (*RemoveWebhookReply) String added in v0.3.11

func (x *RemoveWebhookReply) String() string

type RemoveWebhookRequest added in v0.3.11

type RemoveWebhookRequest struct {

	// The id of the webhook to remove.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveWebhookRequest) Descriptor deprecated added in v0.3.11

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

Deprecated: Use RemoveWebhookRequest.ProtoReflect.Descriptor instead.

func (*RemoveWebhookRequest) GetId added in v0.3.11

func (x *RemoveWebhookRequest) GetId() string

func (*RemoveWebhookRequest) ProtoMessage added in v0.3.11

func (*RemoveWebhookRequest) ProtoMessage()

func (*RemoveWebhookRequest) ProtoReflect added in v0.3.11

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

func (*RemoveWebhookRequest) Reset added in v0.3.11

func (x *RemoveWebhookRequest) Reset()

func (*RemoveWebhookRequest) String added in v0.3.11

func (x *RemoveWebhookRequest) String() string

type StrategyType

type StrategyType int32
const (
	StrategyType_PLUGGABLE  StrategyType = 0
	StrategyType_BALANCED   StrategyType = 1
	StrategyType_UNBALANCED StrategyType = 2
)

func (StrategyType) Descriptor

func (StrategyType) Enum

func (x StrategyType) Enum() *StrategyType

func (StrategyType) EnumDescriptor deprecated

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

Deprecated: Use StrategyType.Descriptor instead.

func (StrategyType) Number

func (StrategyType) String

func (x StrategyType) String() string

func (StrategyType) Type

type SwapFailInfo

type SwapFailInfo struct {

	// The error code.
	FailureCode uint32 `protobuf:"varint,1,opt,name=failure_code,json=failureCode,proto3" json:"failure_code,omitempty"`
	// The error message.
	FailureMessage string `protobuf:"bytes,2,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapFailInfo) Descriptor deprecated

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

Deprecated: Use SwapFailInfo.ProtoReflect.Descriptor instead.

func (*SwapFailInfo) GetFailureCode

func (x *SwapFailInfo) GetFailureCode() uint32

func (*SwapFailInfo) GetFailureMessage

func (x *SwapFailInfo) GetFailureMessage() string

func (*SwapFailInfo) ProtoMessage

func (*SwapFailInfo) ProtoMessage()

func (*SwapFailInfo) ProtoReflect

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

func (*SwapFailInfo) Reset

func (x *SwapFailInfo) Reset()

func (*SwapFailInfo) String

func (x *SwapFailInfo) String() string

type SwapInfo

type SwapInfo struct {

	// The proposer's quantity.
	AmountP uint64 `protobuf:"varint,1,opt,name=amount_p,json=amountP,proto3" json:"amount_p,omitempty"`
	// The proposer's asset hash.
	AssetP string `protobuf:"bytes,2,opt,name=asset_p,json=assetP,proto3" json:"asset_p,omitempty"`
	// The responder's quantity.
	AmountR uint64 `protobuf:"varint,3,opt,name=amount_r,json=amountR,proto3" json:"amount_r,omitempty"`
	// The responder's asset hash.
	AssetR string `protobuf:"bytes,4,opt,name=asset_r,json=assetR,proto3" json:"asset_r,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapInfo) Descriptor deprecated

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

Deprecated: Use SwapInfo.ProtoReflect.Descriptor instead.

func (*SwapInfo) GetAmountP

func (x *SwapInfo) GetAmountP() uint64

func (*SwapInfo) GetAmountR

func (x *SwapInfo) GetAmountR() uint64

func (*SwapInfo) GetAssetP

func (x *SwapInfo) GetAssetP() string

func (*SwapInfo) GetAssetR

func (x *SwapInfo) GetAssetR() string

func (*SwapInfo) ProtoMessage

func (*SwapInfo) ProtoMessage()

func (*SwapInfo) ProtoReflect

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

func (*SwapInfo) Reset

func (x *SwapInfo) Reset()

func (*SwapInfo) String

func (x *SwapInfo) String() string

type TradeInfo

type TradeInfo struct {

	// The id of the trade.
	TradeId string `protobuf:"bytes,1,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
	// The info about the status of the trade.
	Status *TradeStatusInfo `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// The info about the swap.
	SwapInfo *SwapInfo `protobuf:"bytes,3,opt,name=swap_info,json=swapInfo,proto3" json:"swap_info,omitempty"`
	// The info of an eventually failed swap.
	FailInfo *SwapFailInfo `protobuf:"bytes,4,opt,name=fail_info,json=failInfo,proto3" json:"fail_info,omitempty"`
	// The collected fee on the current swap.
	MarketWithFee *types.MarketWithFee `protobuf:"bytes,5,opt,name=market_with_fee,json=marketWithFee,proto3" json:"market_with_fee,omitempty"`
	// The prices of the trade at request time.
	Price *TradePrice `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	// The eventual tx url with blinders in case the trade is settled.
	TxUrl string `protobuf:"bytes,7,opt,name=tx_url,json=txUrl,proto3" json:"tx_url,omitempty"`
	// The unix timestamp of the SwapRequest.
	RequestTimeUnix uint64 `protobuf:"varint,8,opt,name=request_time_unix,json=requestTimeUnix,proto3" json:"request_time_unix,omitempty"`
	// The unix timestamp SwapAccept.
	AcceptTimeUnix uint64 `protobuf:"varint,9,opt,name=accept_time_unix,json=acceptTimeUnix,proto3" json:"accept_time_unix,omitempty"`
	// The unix timestamp of the SwapComplete.
	CompleteTimeUnix uint64 `protobuf:"varint,10,opt,name=complete_time_unix,json=completeTimeUnix,proto3" json:"complete_time_unix,omitempty"`
	// The unix timestamp of the settlement date.
	SettleTimeUnix uint64 `protobuf:"varint,11,opt,name=settle_time_unix,json=settleTimeUnix,proto3" json:"settle_time_unix,omitempty"`
	// The unix timestamp of the expiration date.
	ExpiryTimeUnix uint64 `protobuf:"varint,12,opt,name=expiry_time_unix,json=expiryTimeUnix,proto3" json:"expiry_time_unix,omitempty"`
	// The UTC timestamp of the SwapRequest.
	RequestTimeUtc string `protobuf:"bytes,13,opt,name=request_time_utc,json=requestTimeUtc,proto3" json:"request_time_utc,omitempty"`
	// The UTC timestamp of the SwapAccept.
	AcceptTimeUtc string `protobuf:"bytes,14,opt,name=accept_time_utc,json=acceptTimeUtc,proto3" json:"accept_time_utc,omitempty"`
	// The UTC timestamp of the SwapComplete.
	CompleteTimeUtc string `protobuf:"bytes,15,opt,name=complete_time_utc,json=completeTimeUtc,proto3" json:"complete_time_utc,omitempty"`
	// The UTC timestamp of the settlement date.
	SettleTimeUtc string `protobuf:"bytes,16,opt,name=settle_time_utc,json=settleTimeUtc,proto3" json:"settle_time_utc,omitempty"`
	// The UTC timestamp of the expiration date.
	ExpiryTimeUtc string `protobuf:"bytes,17,opt,name=expiry_time_utc,json=expiryTimeUtc,proto3" json:"expiry_time_utc,omitempty"`
	// contains filtered or unexported fields
}

func (*TradeInfo) Descriptor deprecated

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

Deprecated: Use TradeInfo.ProtoReflect.Descriptor instead.

func (*TradeInfo) GetAcceptTimeUnix

func (x *TradeInfo) GetAcceptTimeUnix() uint64

func (*TradeInfo) GetAcceptTimeUtc

func (x *TradeInfo) GetAcceptTimeUtc() string

func (*TradeInfo) GetCompleteTimeUnix

func (x *TradeInfo) GetCompleteTimeUnix() uint64

func (*TradeInfo) GetCompleteTimeUtc

func (x *TradeInfo) GetCompleteTimeUtc() string

func (*TradeInfo) GetExpiryTimeUnix

func (x *TradeInfo) GetExpiryTimeUnix() uint64

func (*TradeInfo) GetExpiryTimeUtc

func (x *TradeInfo) GetExpiryTimeUtc() string

func (*TradeInfo) GetFailInfo

func (x *TradeInfo) GetFailInfo() *SwapFailInfo

func (*TradeInfo) GetMarketWithFee

func (x *TradeInfo) GetMarketWithFee() *types.MarketWithFee

func (*TradeInfo) GetPrice

func (x *TradeInfo) GetPrice() *TradePrice

func (*TradeInfo) GetRequestTimeUnix

func (x *TradeInfo) GetRequestTimeUnix() uint64

func (*TradeInfo) GetRequestTimeUtc

func (x *TradeInfo) GetRequestTimeUtc() string

func (*TradeInfo) GetSettleTimeUnix

func (x *TradeInfo) GetSettleTimeUnix() uint64

func (*TradeInfo) GetSettleTimeUtc

func (x *TradeInfo) GetSettleTimeUtc() string

func (*TradeInfo) GetStatus

func (x *TradeInfo) GetStatus() *TradeStatusInfo

func (*TradeInfo) GetSwapInfo

func (x *TradeInfo) GetSwapInfo() *SwapInfo

func (*TradeInfo) GetTradeId

func (x *TradeInfo) GetTradeId() string

func (*TradeInfo) GetTxUrl

func (x *TradeInfo) GetTxUrl() string

func (*TradeInfo) ProtoMessage

func (*TradeInfo) ProtoMessage()

func (*TradeInfo) ProtoReflect

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

func (*TradeInfo) Reset

func (x *TradeInfo) Reset()

func (*TradeInfo) String

func (x *TradeInfo) String() string

type TradePrice

type TradePrice struct {
	BasePrice  float64 `protobuf:"fixed64,1,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty"`
	QuotePrice float64 `protobuf:"fixed64,2,opt,name=quote_price,json=quotePrice,proto3" json:"quote_price,omitempty"`
	// contains filtered or unexported fields
}

func (*TradePrice) Descriptor deprecated

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

Deprecated: Use TradePrice.ProtoReflect.Descriptor instead.

func (*TradePrice) GetBasePrice

func (x *TradePrice) GetBasePrice() float64

func (*TradePrice) GetQuotePrice

func (x *TradePrice) GetQuotePrice() float64

func (*TradePrice) ProtoMessage

func (*TradePrice) ProtoMessage()

func (*TradePrice) ProtoReflect

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

func (*TradePrice) Reset

func (x *TradePrice) Reset()

func (*TradePrice) String

func (x *TradePrice) String() string

type TradeStatus

type TradeStatus int32
const (
	TradeStatus_UNDEFINED TradeStatus = 0
	TradeStatus_REQUEST   TradeStatus = 1
	TradeStatus_ACCEPT    TradeStatus = 2
	TradeStatus_COMPLETE  TradeStatus = 3
	TradeStatus_SETTLED   TradeStatus = 4
	TradeStatus_EXPIRED   TradeStatus = 5
)

func (TradeStatus) Descriptor

func (TradeStatus) Enum

func (x TradeStatus) Enum() *TradeStatus

func (TradeStatus) EnumDescriptor deprecated

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

Deprecated: Use TradeStatus.Descriptor instead.

func (TradeStatus) Number

func (x TradeStatus) Number() protoreflect.EnumNumber

func (TradeStatus) String

func (x TradeStatus) String() string

func (TradeStatus) Type

type TradeStatusInfo

type TradeStatusInfo struct {

	// The status of the trade.
	Status TradeStatus `protobuf:"varint,1,opt,name=status,proto3,enum=TradeStatus" json:"status,omitempty"`
	// Whether it is failed in the current status.
	Failed bool `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
	// contains filtered or unexported fields
}

func (*TradeStatusInfo) Descriptor deprecated

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

Deprecated: Use TradeStatusInfo.ProtoReflect.Descriptor instead.

func (*TradeStatusInfo) GetFailed

func (x *TradeStatusInfo) GetFailed() bool

func (*TradeStatusInfo) GetStatus

func (x *TradeStatusInfo) GetStatus() TradeStatus

func (*TradeStatusInfo) ProtoMessage

func (*TradeStatusInfo) ProtoMessage()

func (*TradeStatusInfo) ProtoReflect

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

func (*TradeStatusInfo) Reset

func (x *TradeStatusInfo) Reset()

func (*TradeStatusInfo) String

func (x *TradeStatusInfo) String() string

type TxOutpoint

type TxOutpoint struct {

	// The hash of the transaction.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The index of the output.
	Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*TxOutpoint) Descriptor deprecated

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

Deprecated: Use TxOutpoint.ProtoReflect.Descriptor instead.

func (*TxOutpoint) GetHash

func (x *TxOutpoint) GetHash() string

func (*TxOutpoint) GetIndex

func (x *TxOutpoint) GetIndex() int32

func (*TxOutpoint) ProtoMessage

func (*TxOutpoint) ProtoMessage()

func (*TxOutpoint) ProtoReflect

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

func (*TxOutpoint) Reset

func (x *TxOutpoint) Reset()

func (*TxOutpoint) String

func (x *TxOutpoint) String() string

type UnimplementedOperatorServer

type UnimplementedOperatorServer struct {
}

UnimplementedOperatorServer must be embedded to have forward compatible implementations.

func (UnimplementedOperatorServer) AddWebhook added in v0.3.11

func (UnimplementedOperatorServer) ClaimFeeDeposits added in v0.6.0

func (UnimplementedOperatorServer) ClaimMarketDeposits added in v0.6.0

func (UnimplementedOperatorServer) CloseMarket

func (UnimplementedOperatorServer) DropMarket

func (UnimplementedOperatorServer) FragmentFeeDeposits added in v0.7.0

func (UnimplementedOperatorServer) FragmentMarketDeposits added in v0.7.0

func (UnimplementedOperatorServer) GetFeeAddress added in v0.6.0

func (UnimplementedOperatorServer) GetFeeBalance added in v0.6.0

func (UnimplementedOperatorServer) GetFeeFragmenterAddress added in v0.7.0

func (UnimplementedOperatorServer) GetInfo added in v0.6.0

func (UnimplementedOperatorServer) GetMarketAddress added in v0.6.0

func (UnimplementedOperatorServer) GetMarketBalance added in v0.6.0

func (UnimplementedOperatorServer) GetMarketCollectedSwapFees added in v0.6.0

func (UnimplementedOperatorServer) GetMarketFragmenterAddress added in v0.7.0

func (UnimplementedOperatorServer) ListDeposits added in v0.6.0

func (UnimplementedOperatorServer) ListFeeAddresses added in v0.6.0

func (UnimplementedOperatorServer) ListMarketAddresses added in v0.6.0

func (UnimplementedOperatorServer) ListMarkets added in v0.6.0

func (UnimplementedOperatorServer) ListTrades

func (UnimplementedOperatorServer) ListUtxos

func (UnimplementedOperatorServer) ListWebhooks added in v0.3.11

func (UnimplementedOperatorServer) ListWithdrawals added in v0.6.0

func (UnimplementedOperatorServer) NewMarket added in v0.6.0

func (UnimplementedOperatorServer) OpenMarket

func (UnimplementedOperatorServer) ReloadUtxos

func (UnimplementedOperatorServer) RemoveWebhook added in v0.3.11

func (UnimplementedOperatorServer) UpdateMarketFixedFee

func (UnimplementedOperatorServer) UpdateMarketPercentageFee

func (UnimplementedOperatorServer) UpdateMarketPrice

func (UnimplementedOperatorServer) WithdrawFee added in v0.6.0

func (UnimplementedOperatorServer) WithdrawMarket

type UnsafeOperatorServer

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

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

type UpdateMarketFeeReply

type UpdateMarketFeeReply struct {

	// The market with updated fees.
	MarketWithFee *types.MarketWithFee `protobuf:"bytes,1,opt,name=market_with_fee,json=marketWithFee,proto3" json:"market_with_fee,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketFeeReply) Descriptor deprecated

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

Deprecated: Use UpdateMarketFeeReply.ProtoReflect.Descriptor instead.

func (*UpdateMarketFeeReply) GetMarketWithFee

func (x *UpdateMarketFeeReply) GetMarketWithFee() *types.MarketWithFee

func (*UpdateMarketFeeReply) ProtoMessage

func (*UpdateMarketFeeReply) ProtoMessage()

func (*UpdateMarketFeeReply) ProtoReflect

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

func (*UpdateMarketFeeReply) Reset

func (x *UpdateMarketFeeReply) Reset()

func (*UpdateMarketFeeReply) String

func (x *UpdateMarketFeeReply) String() string

type UpdateMarketFixedFeeRequest

type UpdateMarketFixedFeeRequest struct {

	// The market for which updating the fixed fee.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new fixed fee for base and quote asset.
	Fixed *types.Fixed `protobuf:"bytes,2,opt,name=fixed,proto3" json:"fixed,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketFixedFeeRequest) Descriptor deprecated

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

Deprecated: Use UpdateMarketFixedFeeRequest.ProtoReflect.Descriptor instead.

func (*UpdateMarketFixedFeeRequest) GetFixed

func (x *UpdateMarketFixedFeeRequest) GetFixed() *types.Fixed

func (*UpdateMarketFixedFeeRequest) GetMarket

func (x *UpdateMarketFixedFeeRequest) GetMarket() *types.Market

func (*UpdateMarketFixedFeeRequest) ProtoMessage

func (*UpdateMarketFixedFeeRequest) ProtoMessage()

func (*UpdateMarketFixedFeeRequest) ProtoReflect

func (*UpdateMarketFixedFeeRequest) Reset

func (x *UpdateMarketFixedFeeRequest) Reset()

func (*UpdateMarketFixedFeeRequest) String

func (x *UpdateMarketFixedFeeRequest) String() string

type UpdateMarketPercentageFeeRequest

type UpdateMarketPercentageFeeRequest struct {

	// The market for which updating the percentage fee.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new percentage fee expresses in basis point.
	BasisPoint int64 `protobuf:"varint,2,opt,name=basis_point,json=basisPoint,proto3" json:"basis_point,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketPercentageFeeRequest) Descriptor deprecated

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

Deprecated: Use UpdateMarketPercentageFeeRequest.ProtoReflect.Descriptor instead.

func (*UpdateMarketPercentageFeeRequest) GetBasisPoint

func (x *UpdateMarketPercentageFeeRequest) GetBasisPoint() int64

func (*UpdateMarketPercentageFeeRequest) GetMarket

func (*UpdateMarketPercentageFeeRequest) ProtoMessage

func (*UpdateMarketPercentageFeeRequest) ProtoMessage()

func (*UpdateMarketPercentageFeeRequest) ProtoReflect

func (*UpdateMarketPercentageFeeRequest) Reset

func (*UpdateMarketPercentageFeeRequest) String

type UpdateMarketPriceReply

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

func (*UpdateMarketPriceReply) Descriptor deprecated

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

Deprecated: Use UpdateMarketPriceReply.ProtoReflect.Descriptor instead.

func (*UpdateMarketPriceReply) ProtoMessage

func (*UpdateMarketPriceReply) ProtoMessage()

func (*UpdateMarketPriceReply) ProtoReflect

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

func (*UpdateMarketPriceReply) Reset

func (x *UpdateMarketPriceReply) Reset()

func (*UpdateMarketPriceReply) String

func (x *UpdateMarketPriceReply) String() string

type UpdateMarketPriceRequest

type UpdateMarketPriceRequest struct {

	// The arket for which updating the price.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new price for base and quote asset.
	Price *types.Price `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketPriceRequest) Descriptor deprecated

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

Deprecated: Use UpdateMarketPriceRequest.ProtoReflect.Descriptor instead.

func (*UpdateMarketPriceRequest) GetMarket

func (x *UpdateMarketPriceRequest) GetMarket() *types.Market

func (*UpdateMarketPriceRequest) GetPrice

func (x *UpdateMarketPriceRequest) GetPrice() *types.Price

func (*UpdateMarketPriceRequest) ProtoMessage

func (*UpdateMarketPriceRequest) ProtoMessage()

func (*UpdateMarketPriceRequest) ProtoReflect

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

func (*UpdateMarketPriceRequest) Reset

func (x *UpdateMarketPriceRequest) Reset()

func (*UpdateMarketPriceRequest) String

func (x *UpdateMarketPriceRequest) String() string

type UpdateMarketStrategyReply

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

func (*UpdateMarketStrategyReply) Descriptor deprecated

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

Deprecated: Use UpdateMarketStrategyReply.ProtoReflect.Descriptor instead.

func (*UpdateMarketStrategyReply) ProtoMessage

func (*UpdateMarketStrategyReply) ProtoMessage()

func (*UpdateMarketStrategyReply) ProtoReflect

func (*UpdateMarketStrategyReply) Reset

func (x *UpdateMarketStrategyReply) Reset()

func (*UpdateMarketStrategyReply) String

func (x *UpdateMarketStrategyReply) String() string

type UpdateMarketStrategyRequest

type UpdateMarketStrategyRequest struct {

	// The market for which changing the strategy.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new making strategy to use.
	StrategyType StrategyType `protobuf:"varint,2,opt,name=strategy_type,json=strategyType,proto3,enum=StrategyType" json:"strategy_type,omitempty"`
	// The JSON string representing additional metadata about the new strategy.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketStrategyRequest) Descriptor deprecated

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

Deprecated: Use UpdateMarketStrategyRequest.ProtoReflect.Descriptor instead.

func (*UpdateMarketStrategyRequest) GetMarket

func (x *UpdateMarketStrategyRequest) GetMarket() *types.Market

func (*UpdateMarketStrategyRequest) GetMetadata

func (x *UpdateMarketStrategyRequest) GetMetadata() string

func (*UpdateMarketStrategyRequest) GetStrategyType

func (x *UpdateMarketStrategyRequest) GetStrategyType() StrategyType

func (*UpdateMarketStrategyRequest) ProtoMessage

func (*UpdateMarketStrategyRequest) ProtoMessage()

func (*UpdateMarketStrategyRequest) ProtoReflect

func (*UpdateMarketStrategyRequest) Reset

func (x *UpdateMarketStrategyRequest) Reset()

func (*UpdateMarketStrategyRequest) String

func (x *UpdateMarketStrategyRequest) String() string

type UtxoInfo

type UtxoInfo struct {

	// The outpoint <hash, index>
	Outpoint *TxOutpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The unblinded value.
	Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// The unblinded asset.
	Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoInfo) Descriptor deprecated

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

Deprecated: Use UtxoInfo.ProtoReflect.Descriptor instead.

func (*UtxoInfo) GetAsset

func (x *UtxoInfo) GetAsset() string

func (*UtxoInfo) GetOutpoint

func (x *UtxoInfo) GetOutpoint() *TxOutpoint

func (*UtxoInfo) GetValue

func (x *UtxoInfo) GetValue() uint64

func (*UtxoInfo) ProtoMessage

func (*UtxoInfo) ProtoMessage()

func (*UtxoInfo) ProtoReflect

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

func (*UtxoInfo) Reset

func (x *UtxoInfo) Reset()

func (*UtxoInfo) String

func (x *UtxoInfo) String() string

type WebhookInfo added in v0.3.11

type WebhookInfo struct {

	// The id of the webhook.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The endpoint of the external service to reach.
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Whether the outgoing requests are authenticated.
	IsSecured bool `protobuf:"varint,3,opt,name=is_secured,json=isSecured,proto3" json:"is_secured,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookInfo) Descriptor deprecated added in v0.3.11

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

Deprecated: Use WebhookInfo.ProtoReflect.Descriptor instead.

func (*WebhookInfo) GetEndpoint added in v0.3.11

func (x *WebhookInfo) GetEndpoint() string

func (*WebhookInfo) GetId added in v0.3.11

func (x *WebhookInfo) GetId() string

func (*WebhookInfo) GetIsSecured added in v0.3.11

func (x *WebhookInfo) GetIsSecured() bool

func (*WebhookInfo) ProtoMessage added in v0.3.11

func (*WebhookInfo) ProtoMessage()

func (*WebhookInfo) ProtoReflect added in v0.3.11

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

func (*WebhookInfo) Reset added in v0.3.11

func (x *WebhookInfo) Reset()

func (*WebhookInfo) String added in v0.3.11

func (x *WebhookInfo) String() string

type WithdrawFeeReply added in v0.6.0

type WithdrawFeeReply struct {

	// The transaction hash in mempool/blockchain.
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawFeeReply) Descriptor deprecated added in v0.6.0

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

Deprecated: Use WithdrawFeeReply.ProtoReflect.Descriptor instead.

func (*WithdrawFeeReply) GetTxid added in v0.6.0

func (x *WithdrawFeeReply) GetTxid() string

func (*WithdrawFeeReply) ProtoMessage added in v0.6.0

func (*WithdrawFeeReply) ProtoMessage()

func (*WithdrawFeeReply) ProtoReflect added in v0.6.0

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

func (*WithdrawFeeReply) Reset added in v0.6.0

func (x *WithdrawFeeReply) Reset()

func (*WithdrawFeeReply) String added in v0.6.0

func (x *WithdrawFeeReply) String() string

type WithdrawFeeRequest added in v0.6.0

type WithdrawFeeRequest struct {

	// The amount of L-BTC to widthdraw expressed in Satoshi.
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// The number of millisatoshis per byte that should be paid for network fees.
	MillisatsPerByte uint64 `protobuf:"varint,2,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"`
	// The address to send the funds to.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// The asset to withdraw. To leave blank for LBTC. This is aimed for
	// those cases where the operator deposits funds with assets diffent from LBTC
	// into the Fee account and than needs to withdraw'em.
	Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawFeeRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use WithdrawFeeRequest.ProtoReflect.Descriptor instead.

func (*WithdrawFeeRequest) GetAddress added in v0.6.0

func (x *WithdrawFeeRequest) GetAddress() string

func (*WithdrawFeeRequest) GetAmount added in v0.6.0

func (x *WithdrawFeeRequest) GetAmount() uint64

func (*WithdrawFeeRequest) GetAsset added in v0.6.0

func (x *WithdrawFeeRequest) GetAsset() string

func (*WithdrawFeeRequest) GetMillisatsPerByte added in v0.6.0

func (x *WithdrawFeeRequest) GetMillisatsPerByte() uint64

func (*WithdrawFeeRequest) ProtoMessage added in v0.6.0

func (*WithdrawFeeRequest) ProtoMessage()

func (*WithdrawFeeRequest) ProtoReflect added in v0.6.0

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

func (*WithdrawFeeRequest) Reset added in v0.6.0

func (x *WithdrawFeeRequest) Reset()

func (*WithdrawFeeRequest) String added in v0.6.0

func (x *WithdrawFeeRequest) String() string

type WithdrawMarketReply

type WithdrawMarketReply struct {

	// The transaction hash in mempool/blockchain.
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawMarketReply) Descriptor deprecated

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

Deprecated: Use WithdrawMarketReply.ProtoReflect.Descriptor instead.

func (*WithdrawMarketReply) GetTxid added in v0.6.0

func (x *WithdrawMarketReply) GetTxid() string

func (*WithdrawMarketReply) ProtoMessage

func (*WithdrawMarketReply) ProtoMessage()

func (*WithdrawMarketReply) ProtoReflect

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

func (*WithdrawMarketReply) Reset

func (x *WithdrawMarketReply) Reset()

func (*WithdrawMarketReply) String

func (x *WithdrawMarketReply) String() string

type WithdrawMarketRequest

type WithdrawMarketRequest struct {

	// The market from which funds should be withdrawn.
	Market *types.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The amount of base and quote asset to be withdrawn.
	BalanceToWithdraw *types.Balance `protobuf:"bytes,2,opt,name=balance_to_withdraw,json=balanceToWithdraw,proto3" json:"balance_to_withdraw,omitempty"`
	// The number of millisatoshis per byte that should be paid for network fees.
	MillisatPerByte int64 `protobuf:"varint,3,opt,name=millisat_per_byte,json=millisatPerByte,proto3" json:"millisat_per_byte,omitempty"`
	// The address to send the funds to.
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawMarketRequest) Descriptor deprecated

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

Deprecated: Use WithdrawMarketRequest.ProtoReflect.Descriptor instead.

func (*WithdrawMarketRequest) GetAddress

func (x *WithdrawMarketRequest) GetAddress() string

func (*WithdrawMarketRequest) GetBalanceToWithdraw

func (x *WithdrawMarketRequest) GetBalanceToWithdraw() *types.Balance

func (*WithdrawMarketRequest) GetMarket

func (x *WithdrawMarketRequest) GetMarket() *types.Market

func (*WithdrawMarketRequest) GetMillisatPerByte

func (x *WithdrawMarketRequest) GetMillisatPerByte() int64

func (*WithdrawMarketRequest) ProtoMessage

func (*WithdrawMarketRequest) ProtoMessage()

func (*WithdrawMarketRequest) ProtoReflect

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

func (*WithdrawMarketRequest) Reset

func (x *WithdrawMarketRequest) Reset()

func (*WithdrawMarketRequest) String

func (x *WithdrawMarketRequest) String() string

type Withdrawal added in v0.6.0

type Withdrawal struct {

	// The hash of the transaction included in mempool/blockchain.
	TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// The balance withdrawn from the wallet account.
	Balance *types.Balance `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// The address where the funds have been sent.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Withdrawal) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.

func (*Withdrawal) GetAddress added in v0.6.0

func (x *Withdrawal) GetAddress() string

func (*Withdrawal) GetBalance added in v0.6.0

func (x *Withdrawal) GetBalance() *types.Balance

func (*Withdrawal) GetTxId added in v0.6.0

func (x *Withdrawal) GetTxId() string

func (*Withdrawal) ProtoMessage added in v0.6.0

func (*Withdrawal) ProtoMessage()

func (*Withdrawal) ProtoReflect added in v0.6.0

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

func (*Withdrawal) Reset added in v0.6.0

func (x *Withdrawal) Reset()

func (*Withdrawal) String added in v0.6.0

func (x *Withdrawal) String() string

Jump to

Keyboard shortcuts

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