tdex_daemonv1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StrategyType_name = map[int32]string{
		0: "STRATEGY_TYPE_PLUGGABLE",
		1: "STRATEGY_TYPE_BALANCED",
		2: "STRATEGY_TYPE_UNBALANCED",
	}
	StrategyType_value = map[string]int32{
		"STRATEGY_TYPE_PLUGGABLE":  0,
		"STRATEGY_TYPE_BALANCED":   1,
		"STRATEGY_TYPE_UNBALANCED": 2,
	}
)

Enum value maps for StrategyType.

View Source
var (
	TradeStatus_name = map[int32]string{
		0: "TRADE_STATUS_UNDEFINED",
		1: "TRADE_STATUS_REQUEST",
		2: "TRADE_STATUS_ACCEPT",
		3: "TRADE_STATUS_COMPLETE",
		4: "TRADE_STATUS_SETTLED",
		5: "TRADE_STATUS_EXPIRED",
	}
	TradeStatus_value = map[string]int32{
		"TRADE_STATUS_UNDEFINED": 0,
		"TRADE_STATUS_REQUEST":   1,
		"TRADE_STATUS_ACCEPT":    2,
		"TRADE_STATUS_COMPLETE":  3,
		"TRADE_STATUS_SETTLED":   4,
		"TRADE_STATUS_EXPIRED":   5,
	}
)

Enum value maps for TradeStatus.

View Source
var (
	ActionType_name = map[int32]string{
		0: "ACTION_TYPE_TRADE_SETTLED",
		1: "ACTION_TYPE_ACCOUNT_LOW_BALANCE",
		2: "ACTION_TYPE_ACCOUNT_WITHDRAW",
		3: "ACTION_TYPE_ALL_ACTIONS",
	}
	ActionType_value = map[string]int32{
		"ACTION_TYPE_TRADE_SETTLED":       0,
		"ACTION_TYPE_ACCOUNT_LOW_BALANCE": 1,
		"ACTION_TYPE_ACCOUNT_WITHDRAW":    2,
		"ACTION_TYPE_ALL_ACTIONS":         3,
	}
)

Enum value maps for ActionType.

View Source
var (
	PredefinedPeriod_name = map[int32]string{
		0: "PREDEFINED_PERIOD_UNSPECIFIED",
		1: "PREDEFINED_PERIOD_LAST_HOUR",
		2: "PREDEFINED_PERIOD_LAST_DAY",
		3: "PREDEFINED_PERIOD_LAST_WEEK",
		4: "PREDEFINED_PERIOD_LAST_MONTH",
		5: "PREDEFINED_PERIOD_LAST_THREE_MONTHS",
		6: "PREDEFINED_PERIOD_YEAR_TO_DATE",
		7: "PREDEFINED_PERIOD_LAST_YEAR",
		8: "PREDEFINED_PERIOD_ALL",
	}
	PredefinedPeriod_value = map[string]int32{
		"PREDEFINED_PERIOD_UNSPECIFIED":       0,
		"PREDEFINED_PERIOD_LAST_HOUR":         1,
		"PREDEFINED_PERIOD_LAST_DAY":          2,
		"PREDEFINED_PERIOD_LAST_WEEK":         3,
		"PREDEFINED_PERIOD_LAST_MONTH":        4,
		"PREDEFINED_PERIOD_LAST_THREE_MONTHS": 5,
		"PREDEFINED_PERIOD_YEAR_TO_DATE":      6,
		"PREDEFINED_PERIOD_LAST_YEAR":         7,
		"PREDEFINED_PERIOD_ALL":               8,
	}
)

Enum value maps for PredefinedPeriod.

View Source
var (
	TimeFrame_name = map[int32]string{
		0: "TIME_FRAME_HOUR",
		1: "TIME_FRAME_FOUR_HOURS",
		2: "TIME_FRAME_DAY",
		3: "TIME_FRAME_WEEK",
		4: "TIME_FRAME_MONTH",
	}
	TimeFrame_value = map[string]int32{
		"TIME_FRAME_HOUR":       0,
		"TIME_FRAME_FOUR_HOURS": 1,
		"TIME_FRAME_DAY":        2,
		"TIME_FRAME_WEEK":       3,
		"TIME_FRAME_MONTH":      4,
	}
)

Enum value maps for TimeFrame.

View Source
var (
	InitWalletResponse_Status_name = map[int32]string{
		0: "STATUS_PROCESSING",
		1: "STATUS_DONE",
	}
	InitWalletResponse_Status_value = map[string]int32{
		"STATUS_PROCESSING": 0,
		"STATUS_DONE":       1,
	}
)

Enum value maps for InitWalletResponse_Status.

View Source
var File_tdex_daemon_v1_operator_proto protoreflect.FileDescriptor
View Source
var File_tdex_daemon_v1_types_proto protoreflect.FileDescriptor
View Source
var File_tdex_daemon_v1_wallet_proto protoreflect.FileDescriptor
View Source
var File_tdex_daemon_v1_walletunlocker_proto protoreflect.FileDescriptor
View Source
var OperatorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tdex_daemon.v1.OperatorService",
	HandlerType: (*OperatorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInfo",
			Handler:    _OperatorService_GetInfo_Handler,
		},
		{
			MethodName: "GetFeeAddress",
			Handler:    _OperatorService_GetFeeAddress_Handler,
		},
		{
			MethodName: "ListFeeAddresses",
			Handler:    _OperatorService_ListFeeAddresses_Handler,
		},
		{
			MethodName: "GetFeeBalance",
			Handler:    _OperatorService_GetFeeBalance_Handler,
		},
		{
			MethodName: "ClaimFeeDeposits",
			Handler:    _OperatorService_ClaimFeeDeposits_Handler,
		},
		{
			MethodName: "WithdrawFee",
			Handler:    _OperatorService_WithdrawFee_Handler,
		},
		{
			MethodName: "NewMarket",
			Handler:    _OperatorService_NewMarket_Handler,
		},
		{
			MethodName: "GetMarketInfo",
			Handler:    _OperatorService_GetMarketInfo_Handler,
		},
		{
			MethodName: "GetMarketAddress",
			Handler:    _OperatorService_GetMarketAddress_Handler,
		},
		{
			MethodName: "ListMarketAddresses",
			Handler:    _OperatorService_ListMarketAddresses_Handler,
		},
		{
			MethodName: "GetMarketBalance",
			Handler:    _OperatorService_GetMarketBalance_Handler,
		},
		{
			MethodName: "ClaimMarketDeposits",
			Handler:    _OperatorService_ClaimMarketDeposits_Handler,
		},
		{
			MethodName: "OpenMarket",
			Handler:    _OperatorService_OpenMarket_Handler,
		},
		{
			MethodName: "CloseMarket",
			Handler:    _OperatorService_CloseMarket_Handler,
		},
		{
			MethodName: "DropMarket",
			Handler:    _OperatorService_DropMarket_Handler,
		},
		{
			MethodName: "GetMarketCollectedSwapFees",
			Handler:    _OperatorService_GetMarketCollectedSwapFees_Handler,
		},
		{
			MethodName: "WithdrawMarket",
			Handler:    _OperatorService_WithdrawMarket_Handler,
		},
		{
			MethodName: "UpdateMarketPercentageFee",
			Handler:    _OperatorService_UpdateMarketPercentageFee_Handler,
		},
		{
			MethodName: "UpdateMarketFixedFee",
			Handler:    _OperatorService_UpdateMarketFixedFee_Handler,
		},
		{
			MethodName: "UpdateMarketAssetsPrecision",
			Handler:    _OperatorService_UpdateMarketAssetsPrecision_Handler,
		},
		{
			MethodName: "UpdateMarketPrice",
			Handler:    _OperatorService_UpdateMarketPrice_Handler,
		},
		{
			MethodName: "UpdateMarketStrategy",
			Handler:    _OperatorService_UpdateMarketStrategy_Handler,
		},
		{
			MethodName: "GetFeeFragmenterAddress",
			Handler:    _OperatorService_GetFeeFragmenterAddress_Handler,
		},
		{
			MethodName: "ListFeeFragmenterAddresses",
			Handler:    _OperatorService_ListFeeFragmenterAddresses_Handler,
		},
		{
			MethodName: "GetFeeFragmenterBalance",
			Handler:    _OperatorService_GetFeeFragmenterBalance_Handler,
		},
		{
			MethodName: "WithdrawFeeFragmenter",
			Handler:    _OperatorService_WithdrawFeeFragmenter_Handler,
		},
		{
			MethodName: "GetMarketFragmenterAddress",
			Handler:    _OperatorService_GetMarketFragmenterAddress_Handler,
		},
		{
			MethodName: "ListMarketFragmenterAddresses",
			Handler:    _OperatorService_ListMarketFragmenterAddresses_Handler,
		},
		{
			MethodName: "GetMarketFragmenterBalance",
			Handler:    _OperatorService_GetMarketFragmenterBalance_Handler,
		},
		{
			MethodName: "WithdrawMarketFragmenter",
			Handler:    _OperatorService_WithdrawMarketFragmenter_Handler,
		},
		{
			MethodName: "ListMarkets",
			Handler:    _OperatorService_ListMarkets_Handler,
		},
		{
			MethodName: "ListTrades",
			Handler:    _OperatorService_ListTrades_Handler,
		},
		{
			MethodName: "ReloadUtxos",
			Handler:    _OperatorService_ReloadUtxos_Handler,
		},
		{
			MethodName: "ListUtxos",
			Handler:    _OperatorService_ListUtxos_Handler,
		},
		{
			MethodName: "AddWebhook",
			Handler:    _OperatorService_AddWebhook_Handler,
		},
		{
			MethodName: "RemoveWebhook",
			Handler:    _OperatorService_RemoveWebhook_Handler,
		},
		{
			MethodName: "ListWebhooks",
			Handler:    _OperatorService_ListWebhooks_Handler,
		},
		{
			MethodName: "ListDeposits",
			Handler:    _OperatorService_ListDeposits_Handler,
		},
		{
			MethodName: "ListWithdrawals",
			Handler:    _OperatorService_ListWithdrawals_Handler,
		},
		{
			MethodName: "GetMarketReport",
			Handler:    _OperatorService_GetMarketReport_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "FeeFragmenterSplitFunds",
			Handler:       _OperatorService_FeeFragmenterSplitFunds_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "MarketFragmenterSplitFunds",
			Handler:       _OperatorService_MarketFragmenterSplitFunds_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tdex-daemon/v1/operator.proto",
}

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

View Source
var WalletService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tdex_daemon.v1.WalletService",
	HandlerType: (*WalletServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "WalletAddress",
			Handler:    _WalletService_WalletAddress_Handler,
		},
		{
			MethodName: "WalletBalance",
			Handler:    _WalletService_WalletBalance_Handler,
		},
		{
			MethodName: "SendToMany",
			Handler:    _WalletService_SendToMany_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tdex-daemon/v1/wallet.proto",
}

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

View Source
var WalletUnlockerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tdex_daemon.v1.WalletUnlockerService",
	HandlerType: (*WalletUnlockerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenSeed",
			Handler:    _WalletUnlockerService_GenSeed_Handler,
		},
		{
			MethodName: "UnlockWallet",
			Handler:    _WalletUnlockerService_UnlockWallet_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _WalletUnlockerService_ChangePassword_Handler,
		},
		{
			MethodName: "IsReady",
			Handler:    _WalletUnlockerService_IsReady_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "InitWallet",
			Handler:       _WalletUnlockerService_InitWallet_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tdex-daemon/v1/walletunlocker.proto",
}

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

Functions

func RegisterOperatorServiceServer

func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)

func RegisterWalletUnlockerServiceServer

func RegisterWalletUnlockerServiceServer(s grpc.ServiceRegistrar, srv WalletUnlockerServiceServer)

Types

type AccountInfo

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

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

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetAccountIndex

func (x *AccountInfo) GetAccountIndex() uint32

func (*AccountInfo) GetDerivationPath

func (x *AccountInfo) GetDerivationPath() string

func (*AccountInfo) GetLastExternalDerived

func (x *AccountInfo) GetLastExternalDerived() uint32

func (*AccountInfo) GetLastInternalDerived

func (x *AccountInfo) GetLastInternalDerived() uint32

func (*AccountInfo) GetXpub

func (x *AccountInfo) GetXpub() string

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect

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

func (*AccountInfo) Reset

func (x *AccountInfo) Reset()

func (*AccountInfo) String

func (x *AccountInfo) String() string

type ActionType

type ActionType int32
const (
	ActionType_ACTION_TYPE_TRADE_SETTLED       ActionType = 0
	ActionType_ACTION_TYPE_ACCOUNT_LOW_BALANCE ActionType = 1
	ActionType_ACTION_TYPE_ACCOUNT_WITHDRAW    ActionType = 2
	ActionType_ACTION_TYPE_ALL_ACTIONS         ActionType = 3
)

func (ActionType) Descriptor

func (ActionType) Descriptor() protoreflect.EnumDescriptor

func (ActionType) Enum

func (x ActionType) Enum() *ActionType

func (ActionType) EnumDescriptor deprecated

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

Deprecated: Use ActionType.Descriptor instead.

func (ActionType) Number

func (x ActionType) Number() protoreflect.EnumNumber

func (ActionType) String

func (x ActionType) String() string

func (ActionType) Type

type AddWebhookRequest

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=tdex_daemon.v1.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

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

Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead.

func (*AddWebhookRequest) GetAction

func (x *AddWebhookRequest) GetAction() ActionType

func (*AddWebhookRequest) GetEndpoint

func (x *AddWebhookRequest) GetEndpoint() string

func (*AddWebhookRequest) GetSecret

func (x *AddWebhookRequest) GetSecret() string

func (*AddWebhookRequest) ProtoMessage

func (*AddWebhookRequest) ProtoMessage()

func (*AddWebhookRequest) ProtoReflect

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

func (*AddWebhookRequest) Reset

func (x *AddWebhookRequest) Reset()

func (*AddWebhookRequest) String

func (x *AddWebhookRequest) String() string

type AddWebhookResponse

type AddWebhookResponse 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 (*AddWebhookResponse) Descriptor deprecated

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

Deprecated: Use AddWebhookResponse.ProtoReflect.Descriptor instead.

func (*AddWebhookResponse) GetId

func (x *AddWebhookResponse) GetId() string

func (*AddWebhookResponse) ProtoMessage

func (*AddWebhookResponse) ProtoMessage()

func (*AddWebhookResponse) ProtoReflect

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

func (*AddWebhookResponse) Reset

func (x *AddWebhookResponse) Reset()

func (*AddWebhookResponse) String

func (x *AddWebhookResponse) String() string

type AddressWithBlindingKey

type AddressWithBlindingKey struct {

	// The confidential address encoded using a blech32 format.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The blinding private key for the given address encoded in hex format
	Blinding string `protobuf:"bytes,2,opt,name=blinding,proto3" json:"blinding,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressWithBlindingKey) Descriptor deprecated

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

Deprecated: Use AddressWithBlindingKey.ProtoReflect.Descriptor instead.

func (*AddressWithBlindingKey) GetAddress

func (x *AddressWithBlindingKey) GetAddress() string

func (*AddressWithBlindingKey) GetBlinding

func (x *AddressWithBlindingKey) GetBlinding() string

func (*AddressWithBlindingKey) ProtoMessage

func (*AddressWithBlindingKey) ProtoMessage()

func (*AddressWithBlindingKey) ProtoReflect

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

func (*AddressWithBlindingKey) Reset

func (x *AddressWithBlindingKey) Reset()

func (*AddressWithBlindingKey) String

func (x *AddressWithBlindingKey) String() string

type BalanceInfo

type BalanceInfo struct {

	// The balance of the wallet
	TotalBalance uint64 `protobuf:"varint,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// The confirmed balance of a wallet(with >= 1 confirmations)
	ConfirmedBalance uint64 `protobuf:"varint,2,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
	// The unconfirmed balance of a wallet(with 0 confirmations)
	UnconfirmedBalance uint64 `protobuf:"varint,3,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceInfo) Descriptor deprecated

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

Deprecated: Use BalanceInfo.ProtoReflect.Descriptor instead.

func (*BalanceInfo) GetConfirmedBalance

func (x *BalanceInfo) GetConfirmedBalance() uint64

func (*BalanceInfo) GetTotalBalance

func (x *BalanceInfo) GetTotalBalance() uint64

func (*BalanceInfo) GetUnconfirmedBalance

func (x *BalanceInfo) GetUnconfirmedBalance() uint64

func (*BalanceInfo) ProtoMessage

func (*BalanceInfo) ProtoMessage()

func (*BalanceInfo) ProtoReflect

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

func (*BalanceInfo) Reset

func (x *BalanceInfo) Reset()

func (*BalanceInfo) String

func (x *BalanceInfo) String() string

type BuildInfo

type BuildInfo struct {

	// Version
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Commit
	Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	// Date
	Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildInfo) Descriptor deprecated

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetCommit

func (x *BuildInfo) GetCommit() string

func (*BuildInfo) GetDate

func (x *BuildInfo) GetDate() string

func (*BuildInfo) GetVersion

func (x *BuildInfo) GetVersion() string

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

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

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

type ChangePasswordRequest

type ChangePasswordRequest struct {

	// current_password should be the current valid passphrase used to unlock the
	// daemon.
	CurrentPassword []byte `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	// new_password should be the new passphrase that will be needed to unlock the
	// daemon.
	NewPassword []byte `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetCurrentPassword

func (x *ChangePasswordRequest) GetCurrentPassword() []byte

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() []byte

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

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

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

type ChangePasswordResponse

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

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type ClaimFeeDepositsRequest

type ClaimFeeDepositsRequest struct {

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

func (*ClaimFeeDepositsRequest) Descriptor deprecated

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

Deprecated: Use ClaimFeeDepositsRequest.ProtoReflect.Descriptor instead.

func (*ClaimFeeDepositsRequest) GetOutpoints

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

func (*ClaimFeeDepositsRequest) ProtoMessage

func (*ClaimFeeDepositsRequest) ProtoMessage()

func (*ClaimFeeDepositsRequest) ProtoReflect

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

func (*ClaimFeeDepositsRequest) Reset

func (x *ClaimFeeDepositsRequest) Reset()

func (*ClaimFeeDepositsRequest) String

func (x *ClaimFeeDepositsRequest) String() string

type ClaimFeeDepositsResponse

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

func (*ClaimFeeDepositsResponse) Descriptor deprecated

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

Deprecated: Use ClaimFeeDepositsResponse.ProtoReflect.Descriptor instead.

func (*ClaimFeeDepositsResponse) ProtoMessage

func (*ClaimFeeDepositsResponse) ProtoMessage()

func (*ClaimFeeDepositsResponse) ProtoReflect

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

func (*ClaimFeeDepositsResponse) Reset

func (x *ClaimFeeDepositsResponse) Reset()

func (*ClaimFeeDepositsResponse) String

func (x *ClaimFeeDepositsResponse) String() string

type ClaimMarketDepositsRequest

type ClaimMarketDepositsRequest struct {

	// The market for which claiming the deposits.
	Market *v1.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 []*Outpoint `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimMarketDepositsRequest) Descriptor deprecated

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

Deprecated: Use ClaimMarketDepositsRequest.ProtoReflect.Descriptor instead.

func (*ClaimMarketDepositsRequest) GetMarket

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

func (*ClaimMarketDepositsRequest) GetOutpoints

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

func (*ClaimMarketDepositsRequest) ProtoMessage

func (*ClaimMarketDepositsRequest) ProtoMessage()

func (*ClaimMarketDepositsRequest) ProtoReflect

func (*ClaimMarketDepositsRequest) Reset

func (x *ClaimMarketDepositsRequest) Reset()

func (*ClaimMarketDepositsRequest) String

func (x *ClaimMarketDepositsRequest) String() string

type ClaimMarketDepositsResponse

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

func (*ClaimMarketDepositsResponse) Descriptor deprecated

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

Deprecated: Use ClaimMarketDepositsResponse.ProtoReflect.Descriptor instead.

func (*ClaimMarketDepositsResponse) ProtoMessage

func (*ClaimMarketDepositsResponse) ProtoMessage()

func (*ClaimMarketDepositsResponse) ProtoReflect

func (*ClaimMarketDepositsResponse) Reset

func (x *ClaimMarketDepositsResponse) Reset()

func (*ClaimMarketDepositsResponse) String

func (x *ClaimMarketDepositsResponse) String() string

type CloseMarketRequest

type CloseMarketRequest struct {

	// The market to be made not tradable.
	Market *v1.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() *v1.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 CloseMarketResponse

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

func (*CloseMarketResponse) Descriptor deprecated

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

Deprecated: Use CloseMarketResponse.ProtoReflect.Descriptor instead.

func (*CloseMarketResponse) ProtoMessage

func (*CloseMarketResponse) ProtoMessage()

func (*CloseMarketResponse) ProtoReflect

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

func (*CloseMarketResponse) Reset

func (x *CloseMarketResponse) Reset()

func (*CloseMarketResponse) String

func (x *CloseMarketResponse) String() string

type CustomPeriod

type CustomPeriod struct {

	// start_date in RFC3339 format
	StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// end_date in RFC3339 format
	EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomPeriod) Descriptor deprecated

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

Deprecated: Use CustomPeriod.ProtoReflect.Descriptor instead.

func (*CustomPeriod) GetEndDate

func (x *CustomPeriod) GetEndDate() string

func (*CustomPeriod) GetStartDate

func (x *CustomPeriod) GetStartDate() string

func (*CustomPeriod) ProtoMessage

func (*CustomPeriod) ProtoMessage()

func (*CustomPeriod) ProtoReflect

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

func (*CustomPeriod) Reset

func (x *CustomPeriod) Reset()

func (*CustomPeriod) String

func (x *CustomPeriod) String() string

type Deposit

type Deposit struct {

	// The utxo deposited.
	Utxo *UtxoInfo `protobuf:"bytes,1,opt,name=utxo,proto3" json:"utxo,omitempty"`
	// The timestamp of the deposit transaction in Unix format.
	TimestampUnix uint64 `protobuf:"varint,2,opt,name=timestamp_unix,json=timestampUnix,proto3" json:"timestamp_unix,omitempty"`
	// The timestamp of the deposit transaction in UTC format.
	TimestampUtc string `protobuf:"bytes,5,opt,name=timestamp_utc,json=timestampUtc,proto3" json:"timestamp_utc,omitempty"`
	// contains filtered or unexported fields
}

func (*Deposit) Descriptor deprecated

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

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetTimestampUnix

func (x *Deposit) GetTimestampUnix() uint64

func (*Deposit) GetTimestampUtc

func (x *Deposit) GetTimestampUtc() string

func (*Deposit) GetUtxo

func (x *Deposit) GetUtxo() *UtxoInfo

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect

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

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) String

func (x *Deposit) String() string

type DropMarketRequest

type DropMarketRequest struct {
	Market *v1.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

func (x *DropMarketRequest) GetMarket() *v1.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 DropMarketResponse

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

func (*DropMarketResponse) Descriptor deprecated

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

Deprecated: Use DropMarketResponse.ProtoReflect.Descriptor instead.

func (*DropMarketResponse) ProtoMessage

func (*DropMarketResponse) ProtoMessage()

func (*DropMarketResponse) ProtoReflect

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

func (*DropMarketResponse) Reset

func (x *DropMarketResponse) Reset()

func (*DropMarketResponse) String

func (x *DropMarketResponse) String() string

type FeeFragmenterSplitFundsRequest

type FeeFragmenterSplitFundsRequest struct {

	// The max number of fragments the fragmenter can generate when splitting
	// its funds.
	MaxFragments     uint32 `protobuf:"varint,1,opt,name=max_fragments,json=maxFragments,proto3" json:"max_fragments,omitempty"`
	MillisatsPerByte uint64 `protobuf:"varint,2,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"`
	// contains filtered or unexported fields
}

func (*FeeFragmenterSplitFundsRequest) Descriptor deprecated

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

Deprecated: Use FeeFragmenterSplitFundsRequest.ProtoReflect.Descriptor instead.

func (*FeeFragmenterSplitFundsRequest) GetMaxFragments

func (x *FeeFragmenterSplitFundsRequest) GetMaxFragments() uint32

func (*FeeFragmenterSplitFundsRequest) GetMillisatsPerByte

func (x *FeeFragmenterSplitFundsRequest) GetMillisatsPerByte() uint64

func (*FeeFragmenterSplitFundsRequest) ProtoMessage

func (*FeeFragmenterSplitFundsRequest) ProtoMessage()

func (*FeeFragmenterSplitFundsRequest) ProtoReflect

func (*FeeFragmenterSplitFundsRequest) Reset

func (x *FeeFragmenterSplitFundsRequest) Reset()

func (*FeeFragmenterSplitFundsRequest) String

type FeeFragmenterSplitFundsResponse

type FeeFragmenterSplitFundsResponse 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 (*FeeFragmenterSplitFundsResponse) Descriptor deprecated

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

Deprecated: Use FeeFragmenterSplitFundsResponse.ProtoReflect.Descriptor instead.

func (*FeeFragmenterSplitFundsResponse) GetMessage

func (x *FeeFragmenterSplitFundsResponse) GetMessage() string

func (*FeeFragmenterSplitFundsResponse) ProtoMessage

func (*FeeFragmenterSplitFundsResponse) ProtoMessage()

func (*FeeFragmenterSplitFundsResponse) ProtoReflect

func (*FeeFragmenterSplitFundsResponse) Reset

func (*FeeFragmenterSplitFundsResponse) 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

func (x *FeeInfo) GetFixedFeeAmount() uint64

func (*FeeInfo) GetMarketPrice

func (x *FeeInfo) GetMarketPrice() float32

func (*FeeInfo) GetPercentageFeeAmount

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 GenSeedRequest

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

func (*GenSeedRequest) Descriptor deprecated

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

Deprecated: Use GenSeedRequest.ProtoReflect.Descriptor instead.

func (*GenSeedRequest) ProtoMessage

func (*GenSeedRequest) ProtoMessage()

func (*GenSeedRequest) ProtoReflect

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

func (*GenSeedRequest) Reset

func (x *GenSeedRequest) Reset()

func (*GenSeedRequest) String

func (x *GenSeedRequest) String() string

type GenSeedResponse

type GenSeedResponse struct {
	SeedMnemonic []string `protobuf:"bytes,1,rep,name=seed_mnemonic,json=seedMnemonic,proto3" json:"seed_mnemonic,omitempty"`
	// contains filtered or unexported fields
}

func (*GenSeedResponse) Descriptor deprecated

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

Deprecated: Use GenSeedResponse.ProtoReflect.Descriptor instead.

func (*GenSeedResponse) GetSeedMnemonic

func (x *GenSeedResponse) GetSeedMnemonic() []string

func (*GenSeedResponse) ProtoMessage

func (*GenSeedResponse) ProtoMessage()

func (*GenSeedResponse) ProtoReflect

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

func (*GenSeedResponse) Reset

func (x *GenSeedResponse) Reset()

func (*GenSeedResponse) String

func (x *GenSeedResponse) String() string

type GetFeeAddressRequest

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

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

Deprecated: Use GetFeeAddressRequest.ProtoReflect.Descriptor instead.

func (*GetFeeAddressRequest) GetNumOfAddresses

func (x *GetFeeAddressRequest) GetNumOfAddresses() int64

func (*GetFeeAddressRequest) ProtoMessage

func (*GetFeeAddressRequest) ProtoMessage()

func (*GetFeeAddressRequest) ProtoReflect

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

func (*GetFeeAddressRequest) Reset

func (x *GetFeeAddressRequest) Reset()

func (*GetFeeAddressRequest) String

func (x *GetFeeAddressRequest) String() string

type GetFeeAddressResponse

type GetFeeAddressResponse struct {

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

func (*GetFeeAddressResponse) Descriptor deprecated

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

Deprecated: Use GetFeeAddressResponse.ProtoReflect.Descriptor instead.

func (*GetFeeAddressResponse) GetAddressWithBlindingKey

func (x *GetFeeAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*GetFeeAddressResponse) ProtoMessage

func (*GetFeeAddressResponse) ProtoMessage()

func (*GetFeeAddressResponse) ProtoReflect

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

func (*GetFeeAddressResponse) Reset

func (x *GetFeeAddressResponse) Reset()

func (*GetFeeAddressResponse) String

func (x *GetFeeAddressResponse) String() string

type GetFeeBalanceRequest

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

func (*GetFeeBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetFeeBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetFeeBalanceRequest) ProtoMessage

func (*GetFeeBalanceRequest) ProtoMessage()

func (*GetFeeBalanceRequest) ProtoReflect

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

func (*GetFeeBalanceRequest) Reset

func (x *GetFeeBalanceRequest) Reset()

func (*GetFeeBalanceRequest) String

func (x *GetFeeBalanceRequest) String() string

type GetFeeBalanceResponse

type GetFeeBalanceResponse 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 (*GetFeeBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetFeeBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetFeeBalanceResponse) GetAvailableBalance

func (x *GetFeeBalanceResponse) GetAvailableBalance() uint64

func (*GetFeeBalanceResponse) GetTotalBalance

func (x *GetFeeBalanceResponse) GetTotalBalance() uint64

func (*GetFeeBalanceResponse) ProtoMessage

func (*GetFeeBalanceResponse) ProtoMessage()

func (*GetFeeBalanceResponse) ProtoReflect

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

func (*GetFeeBalanceResponse) Reset

func (x *GetFeeBalanceResponse) Reset()

func (*GetFeeBalanceResponse) String

func (x *GetFeeBalanceResponse) String() string

type GetFeeFragmenterAddressRequest

type GetFeeFragmenterAddressRequest struct {
	NumOfAddresses int64 `protobuf:"varint,1,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeFragmenterAddressRequest) Descriptor deprecated

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

Deprecated: Use GetFeeFragmenterAddressRequest.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterAddressRequest) GetNumOfAddresses

func (x *GetFeeFragmenterAddressRequest) GetNumOfAddresses() int64

func (*GetFeeFragmenterAddressRequest) ProtoMessage

func (*GetFeeFragmenterAddressRequest) ProtoMessage()

func (*GetFeeFragmenterAddressRequest) ProtoReflect

func (*GetFeeFragmenterAddressRequest) Reset

func (x *GetFeeFragmenterAddressRequest) Reset()

func (*GetFeeFragmenterAddressRequest) String

type GetFeeFragmenterAddressResponse

type GetFeeFragmenterAddressResponse struct {
	AddressWithBlindingKey []*AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetFeeFragmenterAddressResponse) Descriptor deprecated

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

Deprecated: Use GetFeeFragmenterAddressResponse.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterAddressResponse) GetAddressWithBlindingKey

func (x *GetFeeFragmenterAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*GetFeeFragmenterAddressResponse) ProtoMessage

func (*GetFeeFragmenterAddressResponse) ProtoMessage()

func (*GetFeeFragmenterAddressResponse) ProtoReflect

func (*GetFeeFragmenterAddressResponse) Reset

func (*GetFeeFragmenterAddressResponse) String

type GetFeeFragmenterBalanceRequest

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

func (*GetFeeFragmenterBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetFeeFragmenterBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterBalanceRequest) ProtoMessage

func (*GetFeeFragmenterBalanceRequest) ProtoMessage()

func (*GetFeeFragmenterBalanceRequest) ProtoReflect

func (*GetFeeFragmenterBalanceRequest) Reset

func (x *GetFeeFragmenterBalanceRequest) Reset()

func (*GetFeeFragmenterBalanceRequest) String

type GetFeeFragmenterBalanceResponse

type GetFeeFragmenterBalanceResponse struct {

	// The balance info (total, confirmed, unconfirmed) of the account grouped by
	// asset.
	Balance map[string]*BalanceInfo `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetFeeFragmenterBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetFeeFragmenterBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetFeeFragmenterBalanceResponse) GetBalance

func (x *GetFeeFragmenterBalanceResponse) GetBalance() map[string]*BalanceInfo

func (*GetFeeFragmenterBalanceResponse) ProtoMessage

func (*GetFeeFragmenterBalanceResponse) ProtoMessage()

func (*GetFeeFragmenterBalanceResponse) ProtoReflect

func (*GetFeeFragmenterBalanceResponse) Reset

func (*GetFeeFragmenterBalanceResponse) String

type GetInfoRequest

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

func (*GetInfoRequest) Descriptor deprecated

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

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect

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

func (*GetInfoRequest) Reset

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (x *GetInfoRequest) String() string

type GetInfoResponse

type GetInfoResponse struct {

	// The 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"`
	// Network daemon running on
	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// Daemon build information
	BuildData *BuildInfo `protobuf:"bytes,5,opt,name=build_data,json=buildData,proto3" json:"build_data,omitempty"`
	// Fixed base asset
	FixedBaseAsset string `protobuf:"bytes,6,opt,name=fixed_base_asset,json=fixedBaseAsset,proto3" json:"fixed_base_asset,omitempty"`
	// Fixed quote asset
	FixedQuoteAsset string `protobuf:"bytes,7,opt,name=fixed_quote_asset,json=fixedQuoteAsset,proto3" json:"fixed_quote_asset,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoResponse) Descriptor deprecated

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

Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetInfoResponse) GetAccountInfo

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

func (*GetInfoResponse) GetBuildData

func (x *GetInfoResponse) GetBuildData() *BuildInfo

func (*GetInfoResponse) GetFixedBaseAsset

func (x *GetInfoResponse) GetFixedBaseAsset() string

func (*GetInfoResponse) GetFixedQuoteAsset

func (x *GetInfoResponse) GetFixedQuoteAsset() string

func (*GetInfoResponse) GetMasterBlindingKey

func (x *GetInfoResponse) GetMasterBlindingKey() string

func (*GetInfoResponse) GetNetwork

func (x *GetInfoResponse) GetNetwork() string

func (*GetInfoResponse) GetRootPath

func (x *GetInfoResponse) GetRootPath() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) ProtoReflect

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

func (*GetInfoResponse) Reset

func (x *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (x *GetInfoResponse) String() string

type GetMarketAddressRequest

type GetMarketAddressRequest struct {

	// The market for which deriving new addresses.
	Market *v1.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

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

Deprecated: Use GetMarketAddressRequest.ProtoReflect.Descriptor instead.

func (*GetMarketAddressRequest) GetMarket

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

func (*GetMarketAddressRequest) GetNumOfAddresses

func (x *GetMarketAddressRequest) GetNumOfAddresses() int64

func (*GetMarketAddressRequest) ProtoMessage

func (*GetMarketAddressRequest) ProtoMessage()

func (*GetMarketAddressRequest) ProtoReflect

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

func (*GetMarketAddressRequest) Reset

func (x *GetMarketAddressRequest) Reset()

func (*GetMarketAddressRequest) String

func (x *GetMarketAddressRequest) String() string

type GetMarketAddressResponse

type GetMarketAddressResponse struct {

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

func (*GetMarketAddressResponse) Descriptor deprecated

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

Deprecated: Use GetMarketAddressResponse.ProtoReflect.Descriptor instead.

func (*GetMarketAddressResponse) GetAddressWithBlindingKey

func (x *GetMarketAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*GetMarketAddressResponse) ProtoMessage

func (*GetMarketAddressResponse) ProtoMessage()

func (*GetMarketAddressResponse) ProtoReflect

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

func (*GetMarketAddressResponse) Reset

func (x *GetMarketAddressResponse) Reset()

func (*GetMarketAddressResponse) String

func (x *GetMarketAddressResponse) String() string

type GetMarketBalanceRequest

type GetMarketBalanceRequest struct {

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

func (*GetMarketBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetMarketBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetMarketBalanceRequest) GetMarket

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

func (*GetMarketBalanceRequest) ProtoMessage

func (*GetMarketBalanceRequest) ProtoMessage()

func (*GetMarketBalanceRequest) ProtoReflect

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

func (*GetMarketBalanceRequest) Reset

func (x *GetMarketBalanceRequest) Reset()

func (*GetMarketBalanceRequest) String

func (x *GetMarketBalanceRequest) String() string

type GetMarketBalanceResponse

type GetMarketBalanceResponse struct {

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

func (*GetMarketBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetMarketBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetMarketBalanceResponse) GetAvailableBalance

func (x *GetMarketBalanceResponse) GetAvailableBalance() *v1.Balance

func (*GetMarketBalanceResponse) GetTotalBalance

func (x *GetMarketBalanceResponse) GetTotalBalance() *v1.Balance

func (*GetMarketBalanceResponse) ProtoMessage

func (*GetMarketBalanceResponse) ProtoMessage()

func (*GetMarketBalanceResponse) ProtoReflect

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

func (*GetMarketBalanceResponse) Reset

func (x *GetMarketBalanceResponse) Reset()

func (*GetMarketBalanceResponse) String

func (x *GetMarketBalanceResponse) String() string

type GetMarketCollectedSwapFeesRequest

type GetMarketCollectedSwapFeesRequest struct {

	// The marker for which returning the report of collected fees.
	Market *v1.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

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

Deprecated: Use GetMarketCollectedSwapFeesRequest.ProtoReflect.Descriptor instead.

func (*GetMarketCollectedSwapFeesRequest) GetMarket

func (*GetMarketCollectedSwapFeesRequest) GetPage

func (*GetMarketCollectedSwapFeesRequest) ProtoMessage

func (*GetMarketCollectedSwapFeesRequest) ProtoMessage()

func (*GetMarketCollectedSwapFeesRequest) ProtoReflect

func (*GetMarketCollectedSwapFeesRequest) Reset

func (*GetMarketCollectedSwapFeesRequest) String

type GetMarketCollectedSwapFeesResponse

type GetMarketCollectedSwapFeesResponse 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 (*GetMarketCollectedSwapFeesResponse) Descriptor deprecated

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

Deprecated: Use GetMarketCollectedSwapFeesResponse.ProtoReflect.Descriptor instead.

func (*GetMarketCollectedSwapFeesResponse) GetCollectedFees

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

func (*GetMarketCollectedSwapFeesResponse) GetTotalCollectedFeesPerAsset

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

func (*GetMarketCollectedSwapFeesResponse) ProtoMessage

func (*GetMarketCollectedSwapFeesResponse) ProtoMessage()

func (*GetMarketCollectedSwapFeesResponse) ProtoReflect

func (*GetMarketCollectedSwapFeesResponse) Reset

func (*GetMarketCollectedSwapFeesResponse) String

type GetMarketFragmenterAddressRequest

type GetMarketFragmenterAddressRequest struct {
	NumOfAddresses int64 `protobuf:"varint,1,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketFragmenterAddressRequest) Descriptor deprecated

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

Deprecated: Use GetMarketFragmenterAddressRequest.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterAddressRequest) GetNumOfAddresses

func (x *GetMarketFragmenterAddressRequest) GetNumOfAddresses() int64

func (*GetMarketFragmenterAddressRequest) ProtoMessage

func (*GetMarketFragmenterAddressRequest) ProtoMessage()

func (*GetMarketFragmenterAddressRequest) ProtoReflect

func (*GetMarketFragmenterAddressRequest) Reset

func (*GetMarketFragmenterAddressRequest) String

type GetMarketFragmenterAddressResponse

type GetMarketFragmenterAddressResponse struct {
	AddressWithBlindingKey []*AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMarketFragmenterAddressResponse) Descriptor deprecated

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

Deprecated: Use GetMarketFragmenterAddressResponse.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterAddressResponse) GetAddressWithBlindingKey

func (x *GetMarketFragmenterAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*GetMarketFragmenterAddressResponse) ProtoMessage

func (*GetMarketFragmenterAddressResponse) ProtoMessage()

func (*GetMarketFragmenterAddressResponse) ProtoReflect

func (*GetMarketFragmenterAddressResponse) Reset

func (*GetMarketFragmenterAddressResponse) String

type GetMarketFragmenterBalanceRequest

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

func (*GetMarketFragmenterBalanceRequest) Descriptor deprecated

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

Deprecated: Use GetMarketFragmenterBalanceRequest.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterBalanceRequest) ProtoMessage

func (*GetMarketFragmenterBalanceRequest) ProtoMessage()

func (*GetMarketFragmenterBalanceRequest) ProtoReflect

func (*GetMarketFragmenterBalanceRequest) Reset

func (*GetMarketFragmenterBalanceRequest) String

type GetMarketFragmenterBalanceResponse

type GetMarketFragmenterBalanceResponse struct {

	// The balance info (total, confirmed, unconfirmed) of the account grouped by
	// asset.
	Balance map[string]*BalanceInfo `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMarketFragmenterBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetMarketFragmenterBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetMarketFragmenterBalanceResponse) GetBalance

func (*GetMarketFragmenterBalanceResponse) ProtoMessage

func (*GetMarketFragmenterBalanceResponse) ProtoMessage()

func (*GetMarketFragmenterBalanceResponse) ProtoReflect

func (*GetMarketFragmenterBalanceResponse) Reset

func (*GetMarketFragmenterBalanceResponse) String

type GetMarketInfoRequest

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

func (*GetMarketInfoRequest) Descriptor deprecated

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

Deprecated: Use GetMarketInfoRequest.ProtoReflect.Descriptor instead.

func (*GetMarketInfoRequest) GetMarket

func (x *GetMarketInfoRequest) GetMarket() *v1.Market

func (*GetMarketInfoRequest) ProtoMessage

func (*GetMarketInfoRequest) ProtoMessage()

func (*GetMarketInfoRequest) ProtoReflect

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

func (*GetMarketInfoRequest) Reset

func (x *GetMarketInfoRequest) Reset()

func (*GetMarketInfoRequest) String

func (x *GetMarketInfoRequest) String() string

type GetMarketInfoResponse

type GetMarketInfoResponse struct {
	Info *MarketInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketInfoResponse) Descriptor deprecated

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

Deprecated: Use GetMarketInfoResponse.ProtoReflect.Descriptor instead.

func (*GetMarketInfoResponse) GetInfo

func (x *GetMarketInfoResponse) GetInfo() *MarketInfo

func (*GetMarketInfoResponse) ProtoMessage

func (*GetMarketInfoResponse) ProtoMessage()

func (*GetMarketInfoResponse) ProtoReflect

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

func (*GetMarketInfoResponse) Reset

func (x *GetMarketInfoResponse) Reset()

func (*GetMarketInfoResponse) String

func (x *GetMarketInfoResponse) String() string

type GetMarketReportRequest

type GetMarketReportRequest struct {

	// The market for which returning the report of collected fees.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// time_range fetch market report from time range
	TimeRange *TimeRange `protobuf:"bytes,2,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
	// used to group volume by time_frame for the specified time_range
	TimeFrame TimeFrame `protobuf:"varint,3,opt,name=time_frame,json=timeFrame,proto3,enum=tdex_daemon.v1.TimeFrame" json:"time_frame,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketReportRequest) Descriptor deprecated

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

Deprecated: Use GetMarketReportRequest.ProtoReflect.Descriptor instead.

func (*GetMarketReportRequest) GetMarket

func (x *GetMarketReportRequest) GetMarket() *v1.Market

func (*GetMarketReportRequest) GetTimeFrame

func (x *GetMarketReportRequest) GetTimeFrame() TimeFrame

func (*GetMarketReportRequest) GetTimeRange

func (x *GetMarketReportRequest) GetTimeRange() *TimeRange

func (*GetMarketReportRequest) ProtoMessage

func (*GetMarketReportRequest) ProtoMessage()

func (*GetMarketReportRequest) ProtoReflect

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

func (*GetMarketReportRequest) Reset

func (x *GetMarketReportRequest) Reset()

func (*GetMarketReportRequest) String

func (x *GetMarketReportRequest) String() string

type GetMarketReportResponse

type GetMarketReportResponse struct {

	// MarketReport holds info about volume and collected fees
	Report *MarketReport `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMarketReportResponse) Descriptor deprecated

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

Deprecated: Use GetMarketReportResponse.ProtoReflect.Descriptor instead.

func (*GetMarketReportResponse) GetReport

func (x *GetMarketReportResponse) GetReport() *MarketReport

func (*GetMarketReportResponse) ProtoMessage

func (*GetMarketReportResponse) ProtoMessage()

func (*GetMarketReportResponse) ProtoReflect

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

func (*GetMarketReportResponse) Reset

func (x *GetMarketReportResponse) Reset()

func (*GetMarketReportResponse) String

func (x *GetMarketReportResponse) String() string

type InitWalletRequest

type InitWalletRequest struct {

	// wallet_password is the passphrase that should be used to encrypt the
	// wallet. This MUST be at least 8 chars in length. After creation, this
	// password is required to unlock the daemon.
	WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"`
	// seed_mnemonic is a 24-word mnemonic that encodes a prior seed obtained by the
	// user. This MUST be a generated by the GenSeed method
	SeedMnemonic []string `protobuf:"bytes,2,rep,name=seed_mnemonic,json=seedMnemonic,proto3" json:"seed_mnemonic,omitempty"`
	// the flag to let the daemon restore existing funds for the wallet.
	Restore bool `protobuf:"varint,3,opt,name=restore,proto3" json:"restore,omitempty"`
	// contains filtered or unexported fields
}

func (*InitWalletRequest) Descriptor deprecated

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

Deprecated: Use InitWalletRequest.ProtoReflect.Descriptor instead.

func (*InitWalletRequest) GetRestore

func (x *InitWalletRequest) GetRestore() bool

func (*InitWalletRequest) GetSeedMnemonic

func (x *InitWalletRequest) GetSeedMnemonic() []string

func (*InitWalletRequest) GetWalletPassword

func (x *InitWalletRequest) GetWalletPassword() []byte

func (*InitWalletRequest) ProtoMessage

func (*InitWalletRequest) ProtoMessage()

func (*InitWalletRequest) ProtoReflect

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

func (*InitWalletRequest) Reset

func (x *InitWalletRequest) Reset()

func (*InitWalletRequest) String

func (x *InitWalletRequest) String() string

type InitWalletResponse

type InitWalletResponse struct {
	Account int32                     `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"`
	Status  InitWalletResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=tdex_daemon.v1.InitWalletResponse_Status" json:"status,omitempty"`
	Data    string                    `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*InitWalletResponse) Descriptor deprecated

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

Deprecated: Use InitWalletResponse.ProtoReflect.Descriptor instead.

func (*InitWalletResponse) GetAccount

func (x *InitWalletResponse) GetAccount() int32

func (*InitWalletResponse) GetData

func (x *InitWalletResponse) GetData() string

func (*InitWalletResponse) GetStatus

func (*InitWalletResponse) ProtoMessage

func (*InitWalletResponse) ProtoMessage()

func (*InitWalletResponse) ProtoReflect

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

func (*InitWalletResponse) Reset

func (x *InitWalletResponse) Reset()

func (*InitWalletResponse) String

func (x *InitWalletResponse) String() string

type InitWalletResponse_Status

type InitWalletResponse_Status int32
const (
	InitWalletResponse_STATUS_PROCESSING InitWalletResponse_Status = 0
	InitWalletResponse_STATUS_DONE       InitWalletResponse_Status = 1
)

func (InitWalletResponse_Status) Descriptor

func (InitWalletResponse_Status) Enum

func (InitWalletResponse_Status) EnumDescriptor deprecated

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

Deprecated: Use InitWalletResponse_Status.Descriptor instead.

func (InitWalletResponse_Status) Number

func (InitWalletResponse_Status) String

func (x InitWalletResponse_Status) String() string

func (InitWalletResponse_Status) Type

type IsReadyRequest

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

func (*IsReadyRequest) Descriptor deprecated

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

Deprecated: Use IsReadyRequest.ProtoReflect.Descriptor instead.

func (*IsReadyRequest) ProtoMessage

func (*IsReadyRequest) ProtoMessage()

func (*IsReadyRequest) ProtoReflect

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

func (*IsReadyRequest) Reset

func (x *IsReadyRequest) Reset()

func (*IsReadyRequest) String

func (x *IsReadyRequest) String() string

type IsReadyResponse

type IsReadyResponse struct {

	// whether the daemon is initialized with an HD wallet.
	Initialized bool `protobuf:"varint,1,opt,name=initialized,proto3" json:"initialized,omitempty"`
	// whether the daemon's wallet is unlocked.
	Unlocked bool `protobuf:"varint,2,opt,name=unlocked,proto3" json:"unlocked,omitempty"`
	// whether the daemon's wallet utxo set is up-to-date'.
	Synced bool `protobuf:"varint,3,opt,name=synced,proto3" json:"synced,omitempty"`
	// contains filtered or unexported fields
}

func (*IsReadyResponse) Descriptor deprecated

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

Deprecated: Use IsReadyResponse.ProtoReflect.Descriptor instead.

func (*IsReadyResponse) GetInitialized

func (x *IsReadyResponse) GetInitialized() bool

func (*IsReadyResponse) GetSynced

func (x *IsReadyResponse) GetSynced() bool

func (*IsReadyResponse) GetUnlocked

func (x *IsReadyResponse) GetUnlocked() bool

func (*IsReadyResponse) ProtoMessage

func (*IsReadyResponse) ProtoMessage()

func (*IsReadyResponse) ProtoReflect

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

func (*IsReadyResponse) Reset

func (x *IsReadyResponse) Reset()

func (*IsReadyResponse) String

func (x *IsReadyResponse) String() string

type ListDepositsRequest

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

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

Deprecated: Use ListDepositsRequest.ProtoReflect.Descriptor instead.

func (*ListDepositsRequest) GetAccountIndex

func (x *ListDepositsRequest) GetAccountIndex() int64

func (*ListDepositsRequest) GetPage

func (x *ListDepositsRequest) GetPage() *Page

func (*ListDepositsRequest) ProtoMessage

func (*ListDepositsRequest) ProtoMessage()

func (*ListDepositsRequest) ProtoReflect

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

func (*ListDepositsRequest) Reset

func (x *ListDepositsRequest) Reset()

func (*ListDepositsRequest) String

func (x *ListDepositsRequest) String() string

type ListDepositsResponse

type ListDepositsResponse 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 []*Deposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDepositsResponse) Descriptor deprecated

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

Deprecated: Use ListDepositsResponse.ProtoReflect.Descriptor instead.

func (*ListDepositsResponse) GetAccountIndex

func (x *ListDepositsResponse) GetAccountIndex() int64

func (*ListDepositsResponse) GetDeposits

func (x *ListDepositsResponse) GetDeposits() []*Deposit

func (*ListDepositsResponse) ProtoMessage

func (*ListDepositsResponse) ProtoMessage()

func (*ListDepositsResponse) ProtoReflect

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

func (*ListDepositsResponse) Reset

func (x *ListDepositsResponse) Reset()

func (*ListDepositsResponse) String

func (x *ListDepositsResponse) String() string

type ListFeeAddressesRequest

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

func (*ListFeeAddressesRequest) Descriptor deprecated

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

Deprecated: Use ListFeeAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListFeeAddressesRequest) ProtoMessage

func (*ListFeeAddressesRequest) ProtoMessage()

func (*ListFeeAddressesRequest) ProtoReflect

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

func (*ListFeeAddressesRequest) Reset

func (x *ListFeeAddressesRequest) Reset()

func (*ListFeeAddressesRequest) String

func (x *ListFeeAddressesRequest) String() string

type ListFeeAddressesResponse

type ListFeeAddressesResponse struct {

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

func (*ListFeeAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListFeeAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListFeeAddressesResponse) GetAddressWithBlindingKey

func (x *ListFeeAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*ListFeeAddressesResponse) ProtoMessage

func (*ListFeeAddressesResponse) ProtoMessage()

func (*ListFeeAddressesResponse) ProtoReflect

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

func (*ListFeeAddressesResponse) Reset

func (x *ListFeeAddressesResponse) Reset()

func (*ListFeeAddressesResponse) String

func (x *ListFeeAddressesResponse) String() string

type ListFeeFragmenterAddressesRequest

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

func (*ListFeeFragmenterAddressesRequest) Descriptor deprecated

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

Deprecated: Use ListFeeFragmenterAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListFeeFragmenterAddressesRequest) ProtoMessage

func (*ListFeeFragmenterAddressesRequest) ProtoMessage()

func (*ListFeeFragmenterAddressesRequest) ProtoReflect

func (*ListFeeFragmenterAddressesRequest) Reset

func (*ListFeeFragmenterAddressesRequest) String

type ListFeeFragmenterAddressesResponse

type ListFeeFragmenterAddressesResponse struct {
	AddressWithBlindingKey []*AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListFeeFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListFeeFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListFeeFragmenterAddressesResponse) GetAddressWithBlindingKey

func (x *ListFeeFragmenterAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*ListFeeFragmenterAddressesResponse) ProtoMessage

func (*ListFeeFragmenterAddressesResponse) ProtoMessage()

func (*ListFeeFragmenterAddressesResponse) ProtoReflect

func (*ListFeeFragmenterAddressesResponse) Reset

func (*ListFeeFragmenterAddressesResponse) String

type ListMarketAddressesRequest

type ListMarketAddressesRequest struct {

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

func (*ListMarketAddressesRequest) Descriptor deprecated

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

Deprecated: Use ListMarketAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListMarketAddressesRequest) GetMarket

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

func (*ListMarketAddressesRequest) ProtoMessage

func (*ListMarketAddressesRequest) ProtoMessage()

func (*ListMarketAddressesRequest) ProtoReflect

func (*ListMarketAddressesRequest) Reset

func (x *ListMarketAddressesRequest) Reset()

func (*ListMarketAddressesRequest) String

func (x *ListMarketAddressesRequest) String() string

type ListMarketAddressesResponse

type ListMarketAddressesResponse struct {

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

func (*ListMarketAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListMarketAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListMarketAddressesResponse) GetAddressWithBlindingKey

func (x *ListMarketAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*ListMarketAddressesResponse) ProtoMessage

func (*ListMarketAddressesResponse) ProtoMessage()

func (*ListMarketAddressesResponse) ProtoReflect

func (*ListMarketAddressesResponse) Reset

func (x *ListMarketAddressesResponse) Reset()

func (*ListMarketAddressesResponse) String

func (x *ListMarketAddressesResponse) String() string

type ListMarketFragmenterAddressesRequest

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

func (*ListMarketFragmenterAddressesRequest) Descriptor deprecated

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

Deprecated: Use ListMarketFragmenterAddressesRequest.ProtoReflect.Descriptor instead.

func (*ListMarketFragmenterAddressesRequest) ProtoMessage

func (*ListMarketFragmenterAddressesRequest) ProtoMessage()

func (*ListMarketFragmenterAddressesRequest) ProtoReflect

func (*ListMarketFragmenterAddressesRequest) Reset

func (*ListMarketFragmenterAddressesRequest) String

type ListMarketFragmenterAddressesResponse

type ListMarketFragmenterAddressesResponse struct {
	AddressWithBlindingKey []*AddressWithBlindingKey `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListMarketFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListMarketFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListMarketFragmenterAddressesResponse) GetAddressWithBlindingKey

func (x *ListMarketFragmenterAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey

func (*ListMarketFragmenterAddressesResponse) ProtoMessage

func (*ListMarketFragmenterAddressesResponse) ProtoMessage()

func (*ListMarketFragmenterAddressesResponse) ProtoReflect

func (*ListMarketFragmenterAddressesResponse) Reset

func (*ListMarketFragmenterAddressesResponse) String

type ListMarketsRequest

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

func (*ListMarketsRequest) Descriptor deprecated

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

Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead.

func (*ListMarketsRequest) ProtoMessage

func (*ListMarketsRequest) ProtoMessage()

func (*ListMarketsRequest) ProtoReflect

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

func (*ListMarketsRequest) Reset

func (x *ListMarketsRequest) Reset()

func (*ListMarketsRequest) String

func (x *ListMarketsRequest) String() string

type ListMarketsResponse

type ListMarketsResponse 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 (*ListMarketsResponse) Descriptor deprecated

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

Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead.

func (*ListMarketsResponse) GetMarkets

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

func (*ListMarketsResponse) ProtoMessage

func (*ListMarketsResponse) ProtoMessage()

func (*ListMarketsResponse) ProtoReflect

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

func (*ListMarketsResponse) Reset

func (x *ListMarketsResponse) Reset()

func (*ListMarketsResponse) String

func (x *ListMarketsResponse) String() string

type ListTradesRequest

type ListTradesRequest struct {

	// Optional: request all trades related to a specific market.
	Market *v1.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

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

func (*ListTradesRequest) GetPage

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 ListTradesResponse

type ListTradesResponse 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 (*ListTradesResponse) Descriptor deprecated

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

Deprecated: Use ListTradesResponse.ProtoReflect.Descriptor instead.

func (*ListTradesResponse) GetTrades

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

func (*ListTradesResponse) ProtoMessage

func (*ListTradesResponse) ProtoMessage()

func (*ListTradesResponse) ProtoReflect

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

func (*ListTradesResponse) Reset

func (x *ListTradesResponse) Reset()

func (*ListTradesResponse) String

func (x *ListTradesResponse) 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

func (x *ListUtxosRequest) GetAccountIndex() uint64

func (*ListUtxosRequest) GetPage

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 ListUtxosResponse

type ListUtxosResponse 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 (*ListUtxosResponse) Descriptor deprecated

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

Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead.

func (*ListUtxosResponse) GetLocks

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

func (*ListUtxosResponse) GetSpents

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

func (*ListUtxosResponse) GetUnspents

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

func (*ListUtxosResponse) ProtoMessage

func (*ListUtxosResponse) ProtoMessage()

func (*ListUtxosResponse) ProtoReflect

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

func (*ListUtxosResponse) Reset

func (x *ListUtxosResponse) Reset()

func (*ListUtxosResponse) String

func (x *ListUtxosResponse) String() string

type ListWebhooksRequest

type ListWebhooksRequest struct {

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

func (*ListWebhooksRequest) Descriptor deprecated

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

Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.

func (*ListWebhooksRequest) GetAction

func (x *ListWebhooksRequest) GetAction() ActionType

func (*ListWebhooksRequest) ProtoMessage

func (*ListWebhooksRequest) ProtoMessage()

func (*ListWebhooksRequest) ProtoReflect

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

func (*ListWebhooksRequest) Reset

func (x *ListWebhooksRequest) Reset()

func (*ListWebhooksRequest) String

func (x *ListWebhooksRequest) String() string

type ListWebhooksResponse

type ListWebhooksResponse 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 (*ListWebhooksResponse) Descriptor deprecated

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

Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.

func (*ListWebhooksResponse) GetWebhookInfo

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

func (*ListWebhooksResponse) ProtoMessage

func (*ListWebhooksResponse) ProtoMessage()

func (*ListWebhooksResponse) ProtoReflect

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

func (*ListWebhooksResponse) Reset

func (x *ListWebhooksResponse) Reset()

func (*ListWebhooksResponse) String

func (x *ListWebhooksResponse) String() string

type ListWithdrawalsRequest

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

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

Deprecated: Use ListWithdrawalsRequest.ProtoReflect.Descriptor instead.

func (*ListWithdrawalsRequest) GetAccountIndex

func (x *ListWithdrawalsRequest) GetAccountIndex() int64

func (*ListWithdrawalsRequest) GetPage

func (x *ListWithdrawalsRequest) GetPage() *Page

func (*ListWithdrawalsRequest) ProtoMessage

func (*ListWithdrawalsRequest) ProtoMessage()

func (*ListWithdrawalsRequest) ProtoReflect

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

func (*ListWithdrawalsRequest) Reset

func (x *ListWithdrawalsRequest) Reset()

func (*ListWithdrawalsRequest) String

func (x *ListWithdrawalsRequest) String() string

type ListWithdrawalsResponse

type ListWithdrawalsResponse 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 (*ListWithdrawalsResponse) Descriptor deprecated

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

Deprecated: Use ListWithdrawalsResponse.ProtoReflect.Descriptor instead.

func (*ListWithdrawalsResponse) GetAccountIndex

func (x *ListWithdrawalsResponse) GetAccountIndex() int64

func (*ListWithdrawalsResponse) GetWithdrawals

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

func (*ListWithdrawalsResponse) ProtoMessage

func (*ListWithdrawalsResponse) ProtoMessage()

func (*ListWithdrawalsResponse) ProtoReflect

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

func (*ListWithdrawalsResponse) Reset

func (x *ListWithdrawalsResponse) Reset()

func (*ListWithdrawalsResponse) String

func (x *ListWithdrawalsResponse) String() string

type MarketCollectedFees

type MarketCollectedFees struct {
	BaseAmount  uint64 `protobuf:"varint,1,opt,name=base_amount,json=baseAmount,proto3" json:"base_amount,omitempty"`
	QuoteAmount uint64 `protobuf:"varint,2,opt,name=quote_amount,json=quoteAmount,proto3" json:"quote_amount,omitempty"`
	// start_date in RFC3339 format of the aggregated volume calculation
	StartDate string `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// end_date in RFC3339 format of the aggregated volume calculation
	EndDate string `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketCollectedFees) Descriptor deprecated

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

Deprecated: Use MarketCollectedFees.ProtoReflect.Descriptor instead.

func (*MarketCollectedFees) GetBaseAmount

func (x *MarketCollectedFees) GetBaseAmount() uint64

func (*MarketCollectedFees) GetEndDate

func (x *MarketCollectedFees) GetEndDate() string

func (*MarketCollectedFees) GetQuoteAmount

func (x *MarketCollectedFees) GetQuoteAmount() uint64

func (*MarketCollectedFees) GetStartDate

func (x *MarketCollectedFees) GetStartDate() string

func (*MarketCollectedFees) ProtoMessage

func (*MarketCollectedFees) ProtoMessage()

func (*MarketCollectedFees) ProtoReflect

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

func (*MarketCollectedFees) Reset

func (x *MarketCollectedFees) Reset()

func (*MarketCollectedFees) String

func (x *MarketCollectedFees) String() string

type MarketFragmenterSplitFundsRequest

type MarketFragmenterSplitFundsRequest struct {

	// The market to which to deposit the fragmented funds owned by the market
	// fragmenter.
	Market           *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	MillisatsPerByte uint64     `protobuf:"varint,2,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketFragmenterSplitFundsRequest) Descriptor deprecated

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

Deprecated: Use MarketFragmenterSplitFundsRequest.ProtoReflect.Descriptor instead.

func (*MarketFragmenterSplitFundsRequest) GetMarket

func (*MarketFragmenterSplitFundsRequest) GetMillisatsPerByte

func (x *MarketFragmenterSplitFundsRequest) GetMillisatsPerByte() uint64

func (*MarketFragmenterSplitFundsRequest) ProtoMessage

func (*MarketFragmenterSplitFundsRequest) ProtoMessage()

func (*MarketFragmenterSplitFundsRequest) ProtoReflect

func (*MarketFragmenterSplitFundsRequest) Reset

func (*MarketFragmenterSplitFundsRequest) String

type MarketFragmenterSplitFundsResponse

type MarketFragmenterSplitFundsResponse 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 (*MarketFragmenterSplitFundsResponse) Descriptor deprecated

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

Deprecated: Use MarketFragmenterSplitFundsResponse.ProtoReflect.Descriptor instead.

func (*MarketFragmenterSplitFundsResponse) GetMessage

func (*MarketFragmenterSplitFundsResponse) ProtoMessage

func (*MarketFragmenterSplitFundsResponse) ProtoMessage()

func (*MarketFragmenterSplitFundsResponse) ProtoReflect

func (*MarketFragmenterSplitFundsResponse) Reset

func (*MarketFragmenterSplitFundsResponse) String

type MarketInfo

type MarketInfo struct {

	// The asset pair of the market
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The percentage and fixed fees
	Fee *v1.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 `` /* 131-byte string literal not displayed */
	// 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 *v1.Price `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	// The current unlocked balance.
	Balance *v1.Balance `protobuf:"bytes,7,opt,name=balance,proto3" json:"balance,omitempty"`
	// The precision of the base asset.
	BaseAssetPrecision uint32 `protobuf:"varint,8,opt,name=base_asset_precision,json=baseAssetPrecision,proto3" json:"base_asset_precision,omitempty"`
	// The precision of the quote asset.
	QuoteAssetPrecision uint32 `protobuf:"varint,9,opt,name=quote_asset_precision,json=quoteAssetPrecision,proto3" json:"quote_asset_precision,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

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

func (*MarketInfo) GetBaseAssetPrecision added in v0.9.0

func (x *MarketInfo) GetBaseAssetPrecision() uint32

func (*MarketInfo) GetFee

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

func (*MarketInfo) GetMarket

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

func (*MarketInfo) GetPrice

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

func (*MarketInfo) GetQuoteAssetPrecision added in v0.9.0

func (x *MarketInfo) GetQuoteAssetPrecision() uint32

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 MarketReport

type MarketReport struct {
	TotalCollectedFees *MarketCollectedFees `protobuf:"bytes,1,opt,name=total_collected_fees,json=totalCollectedFees,proto3" json:"total_collected_fees,omitempty"`
	TotalVolume        *MarketVolume        `protobuf:"bytes,2,opt,name=total_volume,json=totalVolume,proto3" json:"total_volume,omitempty"`
	GroupedVolume      []*MarketVolume      `protobuf:"bytes,3,rep,name=grouped_volume,json=groupedVolume,proto3" json:"grouped_volume,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketReport) Descriptor deprecated

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

Deprecated: Use MarketReport.ProtoReflect.Descriptor instead.

func (*MarketReport) GetGroupedVolume

func (x *MarketReport) GetGroupedVolume() []*MarketVolume

func (*MarketReport) GetTotalCollectedFees

func (x *MarketReport) GetTotalCollectedFees() *MarketCollectedFees

func (*MarketReport) GetTotalVolume

func (x *MarketReport) GetTotalVolume() *MarketVolume

func (*MarketReport) ProtoMessage

func (*MarketReport) ProtoMessage()

func (*MarketReport) ProtoReflect

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

func (*MarketReport) Reset

func (x *MarketReport) Reset()

func (*MarketReport) String

func (x *MarketReport) String() string

type MarketVolume

type MarketVolume struct {
	BaseVolume  uint64 `protobuf:"varint,1,opt,name=base_volume,json=baseVolume,proto3" json:"base_volume,omitempty"`
	QuoteVolume uint64 `protobuf:"varint,2,opt,name=quote_volume,json=quoteVolume,proto3" json:"quote_volume,omitempty"`
	// start_date in RFC3339 format of the aggregated volume calculation
	StartDate string `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// end_date in RFC3339 format of the aggregated volume calculation
	EndDate string `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketVolume) Descriptor deprecated

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

Deprecated: Use MarketVolume.ProtoReflect.Descriptor instead.

func (*MarketVolume) GetBaseVolume

func (x *MarketVolume) GetBaseVolume() uint64

func (*MarketVolume) GetEndDate

func (x *MarketVolume) GetEndDate() string

func (*MarketVolume) GetQuoteVolume

func (x *MarketVolume) GetQuoteVolume() uint64

func (*MarketVolume) GetStartDate

func (x *MarketVolume) GetStartDate() string

func (*MarketVolume) ProtoMessage

func (*MarketVolume) ProtoMessage()

func (*MarketVolume) ProtoReflect

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

func (*MarketVolume) Reset

func (x *MarketVolume) Reset()

func (*MarketVolume) String

func (x *MarketVolume) String() string

type NewMarketRequest

type NewMarketRequest struct {

	// The asset pair for which creating a new account in the daemon's wallet.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The precision of the base asset.
	BaseAssetPrecision uint32 `protobuf:"varint,2,opt,name=base_asset_precision,json=baseAssetPrecision,proto3" json:"base_asset_precision,omitempty"`
	// The precision of the quote asset.
	QuoteAssetPrecision uint32 `protobuf:"varint,3,opt,name=quote_asset_precision,json=quoteAssetPrecision,proto3" json:"quote_asset_precision,omitempty"`
	// contains filtered or unexported fields
}

func (*NewMarketRequest) Descriptor deprecated

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

Deprecated: Use NewMarketRequest.ProtoReflect.Descriptor instead.

func (*NewMarketRequest) GetBaseAssetPrecision added in v0.9.0

func (x *NewMarketRequest) GetBaseAssetPrecision() uint32

func (*NewMarketRequest) GetMarket

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

func (*NewMarketRequest) GetQuoteAssetPrecision added in v0.9.0

func (x *NewMarketRequest) GetQuoteAssetPrecision() uint32

func (*NewMarketRequest) ProtoMessage

func (*NewMarketRequest) ProtoMessage()

func (*NewMarketRequest) ProtoReflect

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

func (*NewMarketRequest) Reset

func (x *NewMarketRequest) Reset()

func (*NewMarketRequest) String

func (x *NewMarketRequest) String() string

type NewMarketResponse

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

func (*NewMarketResponse) Descriptor deprecated

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

Deprecated: Use NewMarketResponse.ProtoReflect.Descriptor instead.

func (*NewMarketResponse) ProtoMessage

func (*NewMarketResponse) ProtoMessage()

func (*NewMarketResponse) ProtoReflect

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

func (*NewMarketResponse) Reset

func (x *NewMarketResponse) Reset()

func (*NewMarketResponse) String

func (x *NewMarketResponse) String() string

type OpenMarketRequest

type OpenMarketRequest struct {

	// The market to be made tradable.
	Market *v1.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() *v1.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 OpenMarketResponse

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

func (*OpenMarketResponse) Descriptor deprecated

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

Deprecated: Use OpenMarketResponse.ProtoReflect.Descriptor instead.

func (*OpenMarketResponse) ProtoMessage

func (*OpenMarketResponse) ProtoMessage()

func (*OpenMarketResponse) ProtoReflect

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

func (*OpenMarketResponse) Reset

func (x *OpenMarketResponse) Reset()

func (*OpenMarketResponse) String

func (x *OpenMarketResponse) String() string

type OperatorServiceClient

type OperatorServiceClient interface {
	// Returns info about the internal wallet of the daemon.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, 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) (*GetFeeAddressResponse, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(ctx context.Context, in *ListFeeAddressesRequest, opts ...grpc.CallOption) (*ListFeeAddressesResponse, error)
	// Returns info about the balance of LBTC held in the fee account.
	GetFeeBalance(ctx context.Context, in *GetFeeBalanceRequest, opts ...grpc.CallOption) (*GetFeeBalanceResponse, 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) (*ClaimFeeDepositsResponse, error)
	// Allows to withdraw funds from the fee account to a given address.
	WithdrawFee(ctx context.Context, in *WithdrawFeeRequest, opts ...grpc.CallOption) (*WithdrawFeeResponse, error)
	// Creates a new market account in the daemon's wallet.
	NewMarket(ctx context.Context, in *NewMarketRequest, opts ...grpc.CallOption) (*NewMarketResponse, error)
	GetMarketInfo(ctx context.Context, in *GetMarketInfoRequest, opts ...grpc.CallOption) (*GetMarketInfoResponse, error)
	// Returns some new derived address(es) for the given market.
	GetMarketAddress(ctx context.Context, in *GetMarketAddressRequest, opts ...grpc.CallOption) (*GetMarketAddressResponse, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(ctx context.Context, in *ListMarketAddressesRequest, opts ...grpc.CallOption) (*ListMarketAddressesResponse, error)
	// Returns info about the balance of the given market.
	GetMarketBalance(ctx context.Context, in *GetMarketBalanceRequest, opts ...grpc.CallOption) (*GetMarketBalanceResponse, 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) (*ClaimMarketDepositsResponse, error)
	// Makes the given market tradable.
	OpenMarket(ctx context.Context, in *OpenMarketRequest, opts ...grpc.CallOption) (*OpenMarketResponse, error)
	// Makes the given market NOT tradabale.
	CloseMarket(ctx context.Context, in *CloseMarketRequest, opts ...grpc.CallOption) (*CloseMarketResponse, error)
	// Deletes a market.
	DropMarket(ctx context.Context, in *DropMarketRequest, opts ...grpc.CallOption) (*DropMarketResponse, error)
	// Displays a report of the colected fees for the given market.
	GetMarketCollectedSwapFees(ctx context.Context, in *GetMarketCollectedSwapFeesRequest, opts ...grpc.CallOption) (*GetMarketCollectedSwapFeesResponse, error)
	// Allows to withdraw funds from the given market to a given address.
	WithdrawMarket(ctx context.Context, in *WithdrawMarketRequest, opts ...grpc.CallOption) (*WithdrawMarketResponse, error)
	// Changes the Liquidity Provider percentage fee for the given market.
	UpdateMarketPercentageFee(ctx context.Context, in *UpdateMarketPercentageFeeRequest, opts ...grpc.CallOption) (*UpdateMarketPercentageFeeResponse, error)
	// Changes the Liquidity provider fixed fees for the given market.
	UpdateMarketFixedFee(ctx context.Context, in *UpdateMarketFixedFeeRequest, opts ...grpc.CallOption) (*UpdateMarketFixedFeeResponse, error)
	// Changes the Liquidity provider asset(s) precision for the given market.
	UpdateMarketAssetsPrecision(ctx context.Context, in *UpdateMarketAssetsPrecisionRequest, opts ...grpc.CallOption) (*UpdateMarketAssetsPrecisionResponse, error)
	// Updates the price for the given market.
	UpdateMarketPrice(ctx context.Context, in *UpdateMarketPriceRequest, opts ...grpc.CallOption) (*UpdateMarketPriceResponse, 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) (*UpdateMarketStrategyResponse, error)
	// Returns some new derived address(es) for the fee fragmenter account.
	GetFeeFragmenterAddress(ctx context.Context, in *GetFeeFragmenterAddressRequest, opts ...grpc.CallOption) (*GetFeeFragmenterAddressResponse, error)
	// Returns the list of all derived addresses for the fee fragmenter account.
	ListFeeFragmenterAddresses(ctx context.Context, in *ListFeeFragmenterAddressesRequest, opts ...grpc.CallOption) (*ListFeeFragmenterAddressesResponse, error)
	// Returns info about the balance of the fee fragmenter account.
	GetFeeFragmenterBalance(ctx context.Context, in *GetFeeFragmenterBalanceRequest, opts ...grpc.CallOption) (*GetFeeFragmenterBalanceResponse, error)
	// Splits the funds sent to the fee fragmenter account into multiple
	// fragments that then becomes deposits of the Fee account.
	FeeFragmenterSplitFunds(ctx context.Context, in *FeeFragmenterSplitFundsRequest, opts ...grpc.CallOption) (OperatorService_FeeFragmenterSplitFundsClient, error)
	// Allows to withdraw funds from the fee fragmenter account to a given address.
	WithdrawFeeFragmenter(ctx context.Context, in *WithdrawFeeFragmenterRequest, opts ...grpc.CallOption) (*WithdrawFeeFragmenterResponse, error)
	// Returns some new derived address(es) for the market fragmenter account.
	GetMarketFragmenterAddress(ctx context.Context, in *GetMarketFragmenterAddressRequest, opts ...grpc.CallOption) (*GetMarketFragmenterAddressResponse, error)
	// Returns the list of all derived addresses for the market fragmenter account.
	ListMarketFragmenterAddresses(ctx context.Context, in *ListMarketFragmenterAddressesRequest, opts ...grpc.CallOption) (*ListMarketFragmenterAddressesResponse, error)
	// Returns info about the balance of the market fragmenter account.
	GetMarketFragmenterBalance(ctx context.Context, in *GetMarketFragmenterBalanceRequest, opts ...grpc.CallOption) (*GetMarketFragmenterBalanceResponse, error)
	// Splits the funds sent to the market fragmenter account into multiple
	// fragments that then becomes deposits of the given market.
	MarketFragmenterSplitFunds(ctx context.Context, in *MarketFragmenterSplitFundsRequest, opts ...grpc.CallOption) (OperatorService_MarketFragmenterSplitFundsClient, error)
	// Allows to withdraw funds from the market fragmenter account to a given address.
	WithdrawMarketFragmenter(ctx context.Context, in *WithdrawMarketFragmenterRequest, opts ...grpc.CallOption) (*WithdrawMarketFragmenterResponse, error)
	// Get extended details for each market either open, closed or to be funded.
	ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, 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) (*ListTradesResponse, error)
	// Causes the daemon to re-sync the whole utxo set.
	ReloadUtxos(ctx context.Context, in *ReloadUtxosRequest, opts ...grpc.CallOption) (*ReloadUtxosResponse, error)
	// Returns all the utxos, whether unspents, spents or locked.
	ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error)
	// Adds a webhook registered for some kind of event.
	AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*AddWebhookResponse, error)
	// Removes some previously added webhook.
	RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*RemoveWebhookResponse, error)
	// Returns registered webhooks
	ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error)
	// Returns the list of all claimed deposits for the given account.
	ListDeposits(ctx context.Context, in *ListDepositsRequest, opts ...grpc.CallOption) (*ListDepositsResponse, error)
	// Returns the list of all withdrawals made for the given account.
	ListWithdrawals(ctx context.Context, in *ListWithdrawalsRequest, opts ...grpc.CallOption) (*ListWithdrawalsResponse, error)
	// Returns info about volume and collected fees for specific time range
	GetMarketReport(ctx context.Context, in *GetMarketReportRequest, opts ...grpc.CallOption) (*GetMarketReportResponse, error)
}

OperatorServiceClient is the client API for OperatorService 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.

type OperatorServiceServer

type OperatorServiceServer interface {
	// Returns info about the internal wallet of the daemon.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, 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) (*GetFeeAddressResponse, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(context.Context, *ListFeeAddressesRequest) (*ListFeeAddressesResponse, error)
	// Returns info about the balance of LBTC held in the fee account.
	GetFeeBalance(context.Context, *GetFeeBalanceRequest) (*GetFeeBalanceResponse, 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) (*ClaimFeeDepositsResponse, error)
	// Allows to withdraw funds from the fee account to a given address.
	WithdrawFee(context.Context, *WithdrawFeeRequest) (*WithdrawFeeResponse, error)
	// Creates a new market account in the daemon's wallet.
	NewMarket(context.Context, *NewMarketRequest) (*NewMarketResponse, error)
	GetMarketInfo(context.Context, *GetMarketInfoRequest) (*GetMarketInfoResponse, error)
	// Returns some new derived address(es) for the given market.
	GetMarketAddress(context.Context, *GetMarketAddressRequest) (*GetMarketAddressResponse, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(context.Context, *ListMarketAddressesRequest) (*ListMarketAddressesResponse, error)
	// Returns info about the balance of the given market.
	GetMarketBalance(context.Context, *GetMarketBalanceRequest) (*GetMarketBalanceResponse, 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) (*ClaimMarketDepositsResponse, error)
	// Makes the given market tradable.
	OpenMarket(context.Context, *OpenMarketRequest) (*OpenMarketResponse, error)
	// Makes the given market NOT tradabale.
	CloseMarket(context.Context, *CloseMarketRequest) (*CloseMarketResponse, error)
	// Deletes a market.
	DropMarket(context.Context, *DropMarketRequest) (*DropMarketResponse, error)
	// Displays a report of the colected fees for the given market.
	GetMarketCollectedSwapFees(context.Context, *GetMarketCollectedSwapFeesRequest) (*GetMarketCollectedSwapFeesResponse, error)
	// Allows to withdraw funds from the given market to a given address.
	WithdrawMarket(context.Context, *WithdrawMarketRequest) (*WithdrawMarketResponse, error)
	// Changes the Liquidity Provider percentage fee for the given market.
	UpdateMarketPercentageFee(context.Context, *UpdateMarketPercentageFeeRequest) (*UpdateMarketPercentageFeeResponse, error)
	// Changes the Liquidity provider fixed fees for the given market.
	UpdateMarketFixedFee(context.Context, *UpdateMarketFixedFeeRequest) (*UpdateMarketFixedFeeResponse, error)
	// Changes the Liquidity provider asset(s) precision for the given market.
	UpdateMarketAssetsPrecision(context.Context, *UpdateMarketAssetsPrecisionRequest) (*UpdateMarketAssetsPrecisionResponse, error)
	// Updates the price for the given market.
	UpdateMarketPrice(context.Context, *UpdateMarketPriceRequest) (*UpdateMarketPriceResponse, error)
	// Updates the current market making strategy, either using an automated
	// market making formula or a pluggable price feed.
	UpdateMarketStrategy(context.Context, *UpdateMarketStrategyRequest) (*UpdateMarketStrategyResponse, error)
	// Returns some new derived address(es) for the fee fragmenter account.
	GetFeeFragmenterAddress(context.Context, *GetFeeFragmenterAddressRequest) (*GetFeeFragmenterAddressResponse, error)
	// Returns the list of all derived addresses for the fee fragmenter account.
	ListFeeFragmenterAddresses(context.Context, *ListFeeFragmenterAddressesRequest) (*ListFeeFragmenterAddressesResponse, error)
	// Returns info about the balance of the fee fragmenter account.
	GetFeeFragmenterBalance(context.Context, *GetFeeFragmenterBalanceRequest) (*GetFeeFragmenterBalanceResponse, error)
	// Splits the funds sent to the fee fragmenter account into multiple
	// fragments that then becomes deposits of the Fee account.
	FeeFragmenterSplitFunds(*FeeFragmenterSplitFundsRequest, OperatorService_FeeFragmenterSplitFundsServer) error
	// Allows to withdraw funds from the fee fragmenter account to a given address.
	WithdrawFeeFragmenter(context.Context, *WithdrawFeeFragmenterRequest) (*WithdrawFeeFragmenterResponse, error)
	// Returns some new derived address(es) for the market fragmenter account.
	GetMarketFragmenterAddress(context.Context, *GetMarketFragmenterAddressRequest) (*GetMarketFragmenterAddressResponse, error)
	// Returns the list of all derived addresses for the market fragmenter account.
	ListMarketFragmenterAddresses(context.Context, *ListMarketFragmenterAddressesRequest) (*ListMarketFragmenterAddressesResponse, error)
	// Returns info about the balance of the market fragmenter account.
	GetMarketFragmenterBalance(context.Context, *GetMarketFragmenterBalanceRequest) (*GetMarketFragmenterBalanceResponse, error)
	// Splits the funds sent to the market fragmenter account into multiple
	// fragments that then becomes deposits of the given market.
	MarketFragmenterSplitFunds(*MarketFragmenterSplitFundsRequest, OperatorService_MarketFragmenterSplitFundsServer) error
	// Allows to withdraw funds from the market fragmenter account to a given address.
	WithdrawMarketFragmenter(context.Context, *WithdrawMarketFragmenterRequest) (*WithdrawMarketFragmenterResponse, error)
	// Get extended details for each market either open, closed or to be funded.
	ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error)
	// Returs all the trades processed by the daemon (ongoing, completed and
	// failed/rejected) or all those filtered by market.
	ListTrades(context.Context, *ListTradesRequest) (*ListTradesResponse, error)
	// Causes the daemon to re-sync the whole utxo set.
	ReloadUtxos(context.Context, *ReloadUtxosRequest) (*ReloadUtxosResponse, error)
	// Returns all the utxos, whether unspents, spents or locked.
	ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
	// Adds a webhook registered for some kind of event.
	AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error)
	// Removes some previously added webhook.
	RemoveWebhook(context.Context, *RemoveWebhookRequest) (*RemoveWebhookResponse, error)
	// Returns registered webhooks
	ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
	// Returns the list of all claimed deposits for the given account.
	ListDeposits(context.Context, *ListDepositsRequest) (*ListDepositsResponse, error)
	// Returns the list of all withdrawals made for the given account.
	ListWithdrawals(context.Context, *ListWithdrawalsRequest) (*ListWithdrawalsResponse, error)
	// Returns info about volume and collected fees for specific time range
	GetMarketReport(context.Context, *GetMarketReportRequest) (*GetMarketReportResponse, error)
}

OperatorServiceServer is the server API for OperatorService service. All implementations should embed UnimplementedOperatorServiceServer for forward compatibility

type OperatorService_FeeFragmenterSplitFundsClient

type OperatorService_FeeFragmenterSplitFundsClient interface {
	Recv() (*FeeFragmenterSplitFundsResponse, error)
	grpc.ClientStream
}

type OperatorService_FeeFragmenterSplitFundsServer

type OperatorService_FeeFragmenterSplitFundsServer interface {
	Send(*FeeFragmenterSplitFundsResponse) error
	grpc.ServerStream
}

type OperatorService_MarketFragmenterSplitFundsClient

type OperatorService_MarketFragmenterSplitFundsClient interface {
	Recv() (*MarketFragmenterSplitFundsResponse, error)
	grpc.ClientStream
}

type OperatorService_MarketFragmenterSplitFundsServer

type OperatorService_MarketFragmenterSplitFundsServer interface {
	Send(*MarketFragmenterSplitFundsResponse) error
	grpc.ServerStream
}

type Outpoint

type Outpoint 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 (*Outpoint) Descriptor deprecated

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

Deprecated: Use Outpoint.ProtoReflect.Descriptor instead.

func (*Outpoint) GetHash

func (x *Outpoint) GetHash() string

func (*Outpoint) GetIndex

func (x *Outpoint) GetIndex() int32

func (*Outpoint) ProtoMessage

func (*Outpoint) ProtoMessage()

func (*Outpoint) ProtoReflect

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

func (*Outpoint) Reset

func (x *Outpoint) Reset()

func (*Outpoint) String

func (x *Outpoint) String() string

type Page

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

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetPageNumber

func (x *Page) GetPageNumber() int64

func (*Page) GetPageSize

func (x *Page) GetPageSize() int64

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type PredefinedPeriod

type PredefinedPeriod int32
const (
	PredefinedPeriod_PREDEFINED_PERIOD_UNSPECIFIED       PredefinedPeriod = 0
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_HOUR         PredefinedPeriod = 1
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_DAY          PredefinedPeriod = 2
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_WEEK         PredefinedPeriod = 3
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_MONTH        PredefinedPeriod = 4
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_THREE_MONTHS PredefinedPeriod = 5
	PredefinedPeriod_PREDEFINED_PERIOD_YEAR_TO_DATE      PredefinedPeriod = 6
	PredefinedPeriod_PREDEFINED_PERIOD_LAST_YEAR         PredefinedPeriod = 7
	PredefinedPeriod_PREDEFINED_PERIOD_ALL               PredefinedPeriod = 8
)

func (PredefinedPeriod) Descriptor

func (PredefinedPeriod) Enum

func (PredefinedPeriod) EnumDescriptor deprecated

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

Deprecated: Use PredefinedPeriod.Descriptor instead.

func (PredefinedPeriod) Number

func (PredefinedPeriod) String

func (x PredefinedPeriod) String() string

func (PredefinedPeriod) Type

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 ReloadUtxosResponse

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

func (*ReloadUtxosResponse) Descriptor deprecated

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

Deprecated: Use ReloadUtxosResponse.ProtoReflect.Descriptor instead.

func (*ReloadUtxosResponse) ProtoMessage

func (*ReloadUtxosResponse) ProtoMessage()

func (*ReloadUtxosResponse) ProtoReflect

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

func (*ReloadUtxosResponse) Reset

func (x *ReloadUtxosResponse) Reset()

func (*ReloadUtxosResponse) String

func (x *ReloadUtxosResponse) String() string

type RemoveWebhookRequest

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

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

Deprecated: Use RemoveWebhookRequest.ProtoReflect.Descriptor instead.

func (*RemoveWebhookRequest) GetId

func (x *RemoveWebhookRequest) GetId() string

func (*RemoveWebhookRequest) ProtoMessage

func (*RemoveWebhookRequest) ProtoMessage()

func (*RemoveWebhookRequest) ProtoReflect

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

func (*RemoveWebhookRequest) Reset

func (x *RemoveWebhookRequest) Reset()

func (*RemoveWebhookRequest) String

func (x *RemoveWebhookRequest) String() string

type RemoveWebhookResponse

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

func (*RemoveWebhookResponse) Descriptor deprecated

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

Deprecated: Use RemoveWebhookResponse.ProtoReflect.Descriptor instead.

func (*RemoveWebhookResponse) ProtoMessage

func (*RemoveWebhookResponse) ProtoMessage()

func (*RemoveWebhookResponse) ProtoReflect

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

func (*RemoveWebhookResponse) Reset

func (x *RemoveWebhookResponse) Reset()

func (*RemoveWebhookResponse) String

func (x *RemoveWebhookResponse) String() string

type SendToManyRequest

type SendToManyRequest struct {

	// A slice of the outputs that should be created in the transaction produced.
	Outputs []*TxOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// The number of millisatoshis per byte that should be used when crafting
	// this transaction.
	MillisatPerByte int64 `protobuf:"varint,2,opt,name=millisat_per_byte,json=millisatPerByte,proto3" json:"millisat_per_byte,omitempty"`
	// contains filtered or unexported fields
}

func (*SendToManyRequest) Descriptor deprecated

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

Deprecated: Use SendToManyRequest.ProtoReflect.Descriptor instead.

func (*SendToManyRequest) GetMillisatPerByte

func (x *SendToManyRequest) GetMillisatPerByte() int64

func (*SendToManyRequest) GetOutputs

func (x *SendToManyRequest) GetOutputs() []*TxOutput

func (*SendToManyRequest) ProtoMessage

func (*SendToManyRequest) ProtoMessage()

func (*SendToManyRequest) ProtoReflect

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

func (*SendToManyRequest) Reset

func (x *SendToManyRequest) Reset()

func (*SendToManyRequest) String

func (x *SendToManyRequest) String() string

type SendToManyResponse

type SendToManyResponse struct {

	// The serialized transaction sent out on the network.
	RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
	// The id of the broadcasted transaction.
	Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`
	// contains filtered or unexported fields
}

func (*SendToManyResponse) Descriptor deprecated

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

Deprecated: Use SendToManyResponse.ProtoReflect.Descriptor instead.

func (*SendToManyResponse) GetRawTx

func (x *SendToManyResponse) GetRawTx() []byte

func (*SendToManyResponse) GetTxid

func (x *SendToManyResponse) GetTxid() []byte

func (*SendToManyResponse) ProtoMessage

func (*SendToManyResponse) ProtoMessage()

func (*SendToManyResponse) ProtoReflect

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

func (*SendToManyResponse) Reset

func (x *SendToManyResponse) Reset()

func (*SendToManyResponse) String

func (x *SendToManyResponse) String() string

type StrategyType

type StrategyType int32
const (
	StrategyType_STRATEGY_TYPE_PLUGGABLE  StrategyType = 0
	StrategyType_STRATEGY_TYPE_BALANCED   StrategyType = 1
	StrategyType_STRATEGY_TYPE_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 TimeFrame

type TimeFrame int32
const (
	TimeFrame_TIME_FRAME_HOUR       TimeFrame = 0
	TimeFrame_TIME_FRAME_FOUR_HOURS TimeFrame = 1
	TimeFrame_TIME_FRAME_DAY        TimeFrame = 2
	TimeFrame_TIME_FRAME_WEEK       TimeFrame = 3
	TimeFrame_TIME_FRAME_MONTH      TimeFrame = 4
)

func (TimeFrame) Descriptor

func (TimeFrame) Descriptor() protoreflect.EnumDescriptor

func (TimeFrame) Enum

func (x TimeFrame) Enum() *TimeFrame

func (TimeFrame) EnumDescriptor deprecated

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

Deprecated: Use TimeFrame.Descriptor instead.

func (TimeFrame) Number

func (x TimeFrame) Number() protoreflect.EnumNumber

func (TimeFrame) String

func (x TimeFrame) String() string

func (TimeFrame) Type

type TimeRange

type TimeRange struct {

	// predefined time_period till now
	PredefinedPeriod PredefinedPeriod `` /* 147-byte string literal not displayed */
	// custom time range
	CustomPeriod *CustomPeriod `protobuf:"bytes,2,opt,name=custom_period,json=customPeriod,proto3" json:"custom_period,omitempty"`
	// contains filtered or unexported fields
}

TimeRange is flexible type used to determine time span for which specific api will fetch data, either one of predefined_period or custom_period should be provided.

func (*TimeRange) Descriptor deprecated

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

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

func (*TimeRange) GetCustomPeriod

func (x *TimeRange) GetCustomPeriod() *CustomPeriod

func (*TimeRange) GetPredefinedPeriod

func (x *TimeRange) GetPredefinedPeriod() PredefinedPeriod

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) ProtoReflect

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

func (*TimeRange) Reset

func (x *TimeRange) Reset()

func (*TimeRange) String

func (x *TimeRange) 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 *v1.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() *v1.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_TRADE_STATUS_UNDEFINED TradeStatus = 0
	TradeStatus_TRADE_STATUS_REQUEST   TradeStatus = 1
	TradeStatus_TRADE_STATUS_ACCEPT    TradeStatus = 2
	TradeStatus_TRADE_STATUS_COMPLETE  TradeStatus = 3
	TradeStatus_TRADE_STATUS_SETTLED   TradeStatus = 4
	TradeStatus_TRADE_STATUS_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=tdex_daemon.v1.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 TxOutput

type TxOutput struct {

	// The asset being spent
	Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	// The value of the output being spent.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// The confidential address of the output being spent.
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*TxOutput) Descriptor deprecated

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

Deprecated: Use TxOutput.ProtoReflect.Descriptor instead.

func (*TxOutput) GetAddress

func (x *TxOutput) GetAddress() string

func (*TxOutput) GetAsset

func (x *TxOutput) GetAsset() string

func (*TxOutput) GetValue

func (x *TxOutput) GetValue() int64

func (*TxOutput) ProtoMessage

func (*TxOutput) ProtoMessage()

func (*TxOutput) ProtoReflect

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

func (*TxOutput) Reset

func (x *TxOutput) Reset()

func (*TxOutput) String

func (x *TxOutput) String() string

type UnimplementedOperatorServiceServer

type UnimplementedOperatorServiceServer struct {
}

UnimplementedOperatorServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOperatorServiceServer) AddWebhook

func (UnimplementedOperatorServiceServer) ClaimFeeDeposits

func (UnimplementedOperatorServiceServer) ClaimMarketDeposits

func (UnimplementedOperatorServiceServer) CloseMarket

func (UnimplementedOperatorServiceServer) DropMarket

func (UnimplementedOperatorServiceServer) GetFeeAddress

func (UnimplementedOperatorServiceServer) GetFeeBalance

func (UnimplementedOperatorServiceServer) GetInfo

func (UnimplementedOperatorServiceServer) GetMarketAddress

func (UnimplementedOperatorServiceServer) GetMarketBalance

func (UnimplementedOperatorServiceServer) GetMarketInfo

func (UnimplementedOperatorServiceServer) GetMarketReport

func (UnimplementedOperatorServiceServer) ListDeposits

func (UnimplementedOperatorServiceServer) ListFeeAddresses

func (UnimplementedOperatorServiceServer) ListMarketAddresses

func (UnimplementedOperatorServiceServer) ListMarkets

func (UnimplementedOperatorServiceServer) ListTrades

func (UnimplementedOperatorServiceServer) ListUtxos

func (UnimplementedOperatorServiceServer) ListWebhooks

func (UnimplementedOperatorServiceServer) ListWithdrawals

func (UnimplementedOperatorServiceServer) NewMarket

func (UnimplementedOperatorServiceServer) OpenMarket

func (UnimplementedOperatorServiceServer) ReloadUtxos

func (UnimplementedOperatorServiceServer) RemoveWebhook

func (UnimplementedOperatorServiceServer) UpdateMarketAssetsPrecision added in v0.9.0

func (UnimplementedOperatorServiceServer) UpdateMarketPrice

func (UnimplementedOperatorServiceServer) WithdrawFee

func (UnimplementedOperatorServiceServer) WithdrawMarket

type UnimplementedWalletServiceServer

type UnimplementedWalletServiceServer struct {
}

UnimplementedWalletServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedWalletServiceServer) SendToMany

func (UnimplementedWalletServiceServer) WalletAddress

func (UnimplementedWalletServiceServer) WalletBalance

type UnimplementedWalletUnlockerServiceServer

type UnimplementedWalletUnlockerServiceServer struct {
}

UnimplementedWalletUnlockerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedWalletUnlockerServiceServer) ChangePassword

func (UnimplementedWalletUnlockerServiceServer) GenSeed

func (UnimplementedWalletUnlockerServiceServer) InitWallet

func (UnimplementedWalletUnlockerServiceServer) IsReady

func (UnimplementedWalletUnlockerServiceServer) UnlockWallet

type UnlockWalletRequest

type UnlockWalletRequest struct {

	// wallet_password should be the current valid passphrase for the daemon. This
	// will be required to decrypt on-disk material that the daemon requires to
	// function properly.
	WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlockWalletRequest) Descriptor deprecated

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

Deprecated: Use UnlockWalletRequest.ProtoReflect.Descriptor instead.

func (*UnlockWalletRequest) GetWalletPassword

func (x *UnlockWalletRequest) GetWalletPassword() []byte

func (*UnlockWalletRequest) ProtoMessage

func (*UnlockWalletRequest) ProtoMessage()

func (*UnlockWalletRequest) ProtoReflect

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

func (*UnlockWalletRequest) Reset

func (x *UnlockWalletRequest) Reset()

func (*UnlockWalletRequest) String

func (x *UnlockWalletRequest) String() string

type UnlockWalletResponse

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

func (*UnlockWalletResponse) Descriptor deprecated

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

Deprecated: Use UnlockWalletResponse.ProtoReflect.Descriptor instead.

func (*UnlockWalletResponse) ProtoMessage

func (*UnlockWalletResponse) ProtoMessage()

func (*UnlockWalletResponse) ProtoReflect

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

func (*UnlockWalletResponse) Reset

func (x *UnlockWalletResponse) Reset()

func (*UnlockWalletResponse) String

func (x *UnlockWalletResponse) String() string

type UnsafeOperatorServiceServer

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

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

type UnsafeWalletServiceServer

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

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

type UnsafeWalletUnlockerServiceServer

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

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

type UpdateMarketAssetsPrecisionRequest added in v0.9.0

type UpdateMarketAssetsPrecisionRequest struct {

	// The market for which updating the fixed fee.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new base asset precision. A negative value is used to skip updating this field.
	BaseAssetPrecision int32 `protobuf:"varint,2,opt,name=base_asset_precision,json=baseAssetPrecision,proto3" json:"base_asset_precision,omitempty"`
	// The new quote asset precision. A negative value is used to skip updating this field.
	QuoteAssetPrecision int32 `protobuf:"varint,3,opt,name=quote_asset_precision,json=quoteAssetPrecision,proto3" json:"quote_asset_precision,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarketAssetsPrecisionRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use UpdateMarketAssetsPrecisionRequest.ProtoReflect.Descriptor instead.

func (*UpdateMarketAssetsPrecisionRequest) GetBaseAssetPrecision added in v0.9.0

func (x *UpdateMarketAssetsPrecisionRequest) GetBaseAssetPrecision() int32

func (*UpdateMarketAssetsPrecisionRequest) GetMarket added in v0.9.0

func (*UpdateMarketAssetsPrecisionRequest) GetQuoteAssetPrecision added in v0.9.0

func (x *UpdateMarketAssetsPrecisionRequest) GetQuoteAssetPrecision() int32

func (*UpdateMarketAssetsPrecisionRequest) ProtoMessage added in v0.9.0

func (*UpdateMarketAssetsPrecisionRequest) ProtoMessage()

func (*UpdateMarketAssetsPrecisionRequest) ProtoReflect added in v0.9.0

func (*UpdateMarketAssetsPrecisionRequest) Reset added in v0.9.0

func (*UpdateMarketAssetsPrecisionRequest) String added in v0.9.0

type UpdateMarketAssetsPrecisionResponse added in v0.9.0

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

func (*UpdateMarketAssetsPrecisionResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use UpdateMarketAssetsPrecisionResponse.ProtoReflect.Descriptor instead.

func (*UpdateMarketAssetsPrecisionResponse) ProtoMessage added in v0.9.0

func (*UpdateMarketAssetsPrecisionResponse) ProtoMessage()

func (*UpdateMarketAssetsPrecisionResponse) ProtoReflect added in v0.9.0

func (*UpdateMarketAssetsPrecisionResponse) Reset added in v0.9.0

func (*UpdateMarketAssetsPrecisionResponse) String added in v0.9.0

type UpdateMarketFixedFeeRequest

type UpdateMarketFixedFeeRequest struct {

	// The market for which updating the fixed fee.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new fixed fee for base and quote asset.
	Fixed *v1.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() *v1.Fixed

func (*UpdateMarketFixedFeeRequest) GetMarket

func (x *UpdateMarketFixedFeeRequest) GetMarket() *v1.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 UpdateMarketFixedFeeResponse

type UpdateMarketFixedFeeResponse struct {

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

func (*UpdateMarketFixedFeeResponse) Descriptor deprecated

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

Deprecated: Use UpdateMarketFixedFeeResponse.ProtoReflect.Descriptor instead.

func (*UpdateMarketFixedFeeResponse) GetMarketWithFee

func (x *UpdateMarketFixedFeeResponse) GetMarketWithFee() *v1.MarketWithFee

func (*UpdateMarketFixedFeeResponse) ProtoMessage

func (*UpdateMarketFixedFeeResponse) ProtoMessage()

func (*UpdateMarketFixedFeeResponse) ProtoReflect

func (*UpdateMarketFixedFeeResponse) Reset

func (x *UpdateMarketFixedFeeResponse) Reset()

func (*UpdateMarketFixedFeeResponse) String

type UpdateMarketPercentageFeeRequest

type UpdateMarketPercentageFeeRequest struct {

	// The market for which updating the percentage fee.
	Market *v1.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 (x *UpdateMarketPercentageFeeRequest) GetMarket() *v1.Market

func (*UpdateMarketPercentageFeeRequest) ProtoMessage

func (*UpdateMarketPercentageFeeRequest) ProtoMessage()

func (*UpdateMarketPercentageFeeRequest) ProtoReflect

func (*UpdateMarketPercentageFeeRequest) Reset

func (*UpdateMarketPercentageFeeRequest) String

type UpdateMarketPercentageFeeResponse

type UpdateMarketPercentageFeeResponse struct {

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

func (*UpdateMarketPercentageFeeResponse) Descriptor deprecated

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

Deprecated: Use UpdateMarketPercentageFeeResponse.ProtoReflect.Descriptor instead.

func (*UpdateMarketPercentageFeeResponse) GetMarketWithFee

func (x *UpdateMarketPercentageFeeResponse) GetMarketWithFee() *v1.MarketWithFee

func (*UpdateMarketPercentageFeeResponse) ProtoMessage

func (*UpdateMarketPercentageFeeResponse) ProtoMessage()

func (*UpdateMarketPercentageFeeResponse) ProtoReflect

func (*UpdateMarketPercentageFeeResponse) Reset

func (*UpdateMarketPercentageFeeResponse) String

type UpdateMarketPriceRequest

type UpdateMarketPriceRequest struct {

	// The arket for which updating the price.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new price for base and quote asset.
	Price *v1.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() *v1.Market

func (*UpdateMarketPriceRequest) GetPrice

func (x *UpdateMarketPriceRequest) GetPrice() *v1.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 UpdateMarketPriceResponse

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

func (*UpdateMarketPriceResponse) Descriptor deprecated

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

Deprecated: Use UpdateMarketPriceResponse.ProtoReflect.Descriptor instead.

func (*UpdateMarketPriceResponse) ProtoMessage

func (*UpdateMarketPriceResponse) ProtoMessage()

func (*UpdateMarketPriceResponse) ProtoReflect

func (*UpdateMarketPriceResponse) Reset

func (x *UpdateMarketPriceResponse) Reset()

func (*UpdateMarketPriceResponse) String

func (x *UpdateMarketPriceResponse) String() string

type UpdateMarketStrategyRequest

type UpdateMarketStrategyRequest struct {

	// The market for which changing the strategy.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The new making strategy to use.
	StrategyType StrategyType `` /* 131-byte string literal not displayed */
	// 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() *v1.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 UpdateMarketStrategyResponse

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

func (*UpdateMarketStrategyResponse) Descriptor deprecated

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

Deprecated: Use UpdateMarketStrategyResponse.ProtoReflect.Descriptor instead.

func (*UpdateMarketStrategyResponse) ProtoMessage

func (*UpdateMarketStrategyResponse) ProtoMessage()

func (*UpdateMarketStrategyResponse) ProtoReflect

func (*UpdateMarketStrategyResponse) Reset

func (x *UpdateMarketStrategyResponse) Reset()

func (*UpdateMarketStrategyResponse) String

type UtxoInfo

type UtxoInfo struct {

	// The outpoint <hash, index>
	Outpoint *Outpoint `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() *Outpoint

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 WalletAddressRequest

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

func (*WalletAddressRequest) Descriptor deprecated

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

Deprecated: Use WalletAddressRequest.ProtoReflect.Descriptor instead.

func (*WalletAddressRequest) ProtoMessage

func (*WalletAddressRequest) ProtoMessage()

func (*WalletAddressRequest) ProtoReflect

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

func (*WalletAddressRequest) Reset

func (x *WalletAddressRequest) Reset()

func (*WalletAddressRequest) String

func (x *WalletAddressRequest) String() string

type WalletAddressResponse

type WalletAddressResponse struct {

	// The confidential address encoded using a blech32 format.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The blinding private key for the given address encoded in hex format
	Blinding string `protobuf:"bytes,2,opt,name=blinding,proto3" json:"blinding,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletAddressResponse) Descriptor deprecated

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

Deprecated: Use WalletAddressResponse.ProtoReflect.Descriptor instead.

func (*WalletAddressResponse) GetAddress

func (x *WalletAddressResponse) GetAddress() string

func (*WalletAddressResponse) GetBlinding

func (x *WalletAddressResponse) GetBlinding() string

func (*WalletAddressResponse) ProtoMessage

func (*WalletAddressResponse) ProtoMessage()

func (*WalletAddressResponse) ProtoReflect

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

func (*WalletAddressResponse) Reset

func (x *WalletAddressResponse) Reset()

func (*WalletAddressResponse) String

func (x *WalletAddressResponse) String() string

type WalletBalanceRequest

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

func (*WalletBalanceRequest) Descriptor deprecated

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

Deprecated: Use WalletBalanceRequest.ProtoReflect.Descriptor instead.

func (*WalletBalanceRequest) ProtoMessage

func (*WalletBalanceRequest) ProtoMessage()

func (*WalletBalanceRequest) ProtoReflect

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

func (*WalletBalanceRequest) Reset

func (x *WalletBalanceRequest) Reset()

func (*WalletBalanceRequest) String

func (x *WalletBalanceRequest) String() string

type WalletBalanceResponse

type WalletBalanceResponse struct {

	// The balance info (total, confirmed, unconfirmed) of the wallet grouped by
	// asset
	Balance map[string]*BalanceInfo `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WalletBalanceResponse) Descriptor deprecated

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

Deprecated: Use WalletBalanceResponse.ProtoReflect.Descriptor instead.

func (*WalletBalanceResponse) GetBalance

func (x *WalletBalanceResponse) GetBalance() map[string]*BalanceInfo

func (*WalletBalanceResponse) ProtoMessage

func (*WalletBalanceResponse) ProtoMessage()

func (*WalletBalanceResponse) ProtoReflect

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

func (*WalletBalanceResponse) Reset

func (x *WalletBalanceResponse) Reset()

func (*WalletBalanceResponse) String

func (x *WalletBalanceResponse) String() string

type WalletServiceClient

type WalletServiceClient interface {
	// WalletAddress returns a Liquid confidential p2wpkh address (BLECH32)
	WalletAddress(ctx context.Context, in *WalletAddressRequest, opts ...grpc.CallOption) (*WalletAddressResponse, error)
	// WalletBalance returns total unspent outputs (confirmed and unconfirmed),
	// all confirmed unspent outputs and all unconfirmed unspent outputs under
	// controll of the wallet.
	WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error)
	// SendToMany sends funds to many outputs
	SendToMany(ctx context.Context, in *SendToManyRequest, opts ...grpc.CallOption) (*SendToManyResponse, error)
}

WalletServiceClient is the client API for WalletService 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.

type WalletServiceServer

type WalletServiceServer interface {
	// WalletAddress returns a Liquid confidential p2wpkh address (BLECH32)
	WalletAddress(context.Context, *WalletAddressRequest) (*WalletAddressResponse, error)
	// WalletBalance returns total unspent outputs (confirmed and unconfirmed),
	// all confirmed unspent outputs and all unconfirmed unspent outputs under
	// controll of the wallet.
	WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
	// SendToMany sends funds to many outputs
	SendToMany(context.Context, *SendToManyRequest) (*SendToManyResponse, error)
}

WalletServiceServer is the server API for WalletService service. All implementations should embed UnimplementedWalletServiceServer for forward compatibility

type WalletUnlockerServiceClient

type WalletUnlockerServiceClient interface {
	// GenSeed is the first method that should be used to instantiate a new tdexd
	// instance. This method allows a caller to generate a new HD Wallet.
	// Once the seed is obtained and verified by the user, the InitWallet
	// method should be used to commit the newly generated seed, and create the
	// wallet.
	GenSeed(ctx context.Context, in *GenSeedRequest, opts ...grpc.CallOption) (*GenSeedResponse, error)
	// InitWallet is used when tdexd is starting up for the first time to fully
	// initialize the daemon and its internal wallet.
	// The wallet in the tdexd context is a database file on the disk that can be
	// found in the configured data directory.
	// At the very least a mnemonic and a wallet password must be provided to this
	// RPC. The latter will be used to encrypt sensitive material on disk.
	// Once initialized the wallet is locked and since the password is never stored
	// on the disk, it's required to pass it into the Unlock RPC request to be able
	// to manage the daemon for operations like depositing funds or opening a market.
	InitWallet(ctx context.Context, in *InitWalletRequest, opts ...grpc.CallOption) (WalletUnlockerService_InitWalletClient, error)
	// UnlockWallet is used at startup of tdexd to provide a password to unlock
	// the wallet database. Once unlocked, the only way to lock the wallet again is
	// shutting it down.
	UnlockWallet(ctx context.Context, in *UnlockWalletRequest, opts ...grpc.CallOption) (*UnlockWalletResponse, error)
	// ChangePassword changes the password of the encrypted wallet. This RPC
	// requires the internal wallet to be locked. It doesn't change the wallet state
	// in any case, therefore, like after calling InitWallet, it is required to
	// unlock the walket with UnlockWallet RPC after this operation succeeds.
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
	// IsReady is useful for external applications interacting with tdexd to know
	// whether its ready, meaning that also the wallet, operator trade services
	// are able to serve requests.
	// Restarting tdexd or initiliazing it by restoring an existing wallet can be
	// time-expensive operations causing tdexd to not be ready until they haven't
	// finished.
	IsReady(ctx context.Context, in *IsReadyRequest, opts ...grpc.CallOption) (*IsReadyResponse, error)
}

WalletUnlockerServiceClient is the client API for WalletUnlockerService 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.

type WalletUnlockerServiceServer

type WalletUnlockerServiceServer interface {
	// GenSeed is the first method that should be used to instantiate a new tdexd
	// instance. This method allows a caller to generate a new HD Wallet.
	// Once the seed is obtained and verified by the user, the InitWallet
	// method should be used to commit the newly generated seed, and create the
	// wallet.
	GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error)
	// InitWallet is used when tdexd is starting up for the first time to fully
	// initialize the daemon and its internal wallet.
	// The wallet in the tdexd context is a database file on the disk that can be
	// found in the configured data directory.
	// At the very least a mnemonic and a wallet password must be provided to this
	// RPC. The latter will be used to encrypt sensitive material on disk.
	// Once initialized the wallet is locked and since the password is never stored
	// on the disk, it's required to pass it into the Unlock RPC request to be able
	// to manage the daemon for operations like depositing funds or opening a market.
	InitWallet(*InitWalletRequest, WalletUnlockerService_InitWalletServer) error
	// UnlockWallet is used at startup of tdexd to provide a password to unlock
	// the wallet database. Once unlocked, the only way to lock the wallet again is
	// shutting it down.
	UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
	// ChangePassword changes the password of the encrypted wallet. This RPC
	// requires the internal wallet to be locked. It doesn't change the wallet state
	// in any case, therefore, like after calling InitWallet, it is required to
	// unlock the walket with UnlockWallet RPC after this operation succeeds.
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
	// IsReady is useful for external applications interacting with tdexd to know
	// whether its ready, meaning that also the wallet, operator trade services
	// are able to serve requests.
	// Restarting tdexd or initiliazing it by restoring an existing wallet can be
	// time-expensive operations causing tdexd to not be ready until they haven't
	// finished.
	IsReady(context.Context, *IsReadyRequest) (*IsReadyResponse, error)
}

WalletUnlockerServiceServer is the server API for WalletUnlockerService service. All implementations should embed UnimplementedWalletUnlockerServiceServer for forward compatibility

type WalletUnlockerService_InitWalletClient

type WalletUnlockerService_InitWalletClient interface {
	Recv() (*InitWalletResponse, error)
	grpc.ClientStream
}

type WalletUnlockerService_InitWalletServer

type WalletUnlockerService_InitWalletServer interface {
	Send(*InitWalletResponse) error
	grpc.ServerStream
}

type WebhookInfo

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"`
	// The type of the action.
	ActionType ActionType `protobuf:"varint,4,opt,name=action_type,json=actionType,proto3,enum=tdex_daemon.v1.ActionType" json:"action_type,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookInfo) Descriptor deprecated

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

Deprecated: Use WebhookInfo.ProtoReflect.Descriptor instead.

func (*WebhookInfo) GetActionType added in v0.8.14

func (x *WebhookInfo) GetActionType() ActionType

func (*WebhookInfo) GetEndpoint

func (x *WebhookInfo) GetEndpoint() string

func (*WebhookInfo) GetId

func (x *WebhookInfo) GetId() string

func (*WebhookInfo) GetIsSecured

func (x *WebhookInfo) GetIsSecured() bool

func (*WebhookInfo) ProtoMessage

func (*WebhookInfo) ProtoMessage()

func (*WebhookInfo) ProtoReflect

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

func (*WebhookInfo) Reset

func (x *WebhookInfo) Reset()

func (*WebhookInfo) String

func (x *WebhookInfo) String() string

type WithdrawFeeFragmenterRequest

type WithdrawFeeFragmenterRequest struct {

	// The address to send the funds to.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,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 password that unlocks the internal wallet.
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawFeeFragmenterRequest) Descriptor deprecated

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

Deprecated: Use WithdrawFeeFragmenterRequest.ProtoReflect.Descriptor instead.

func (*WithdrawFeeFragmenterRequest) GetAddress

func (x *WithdrawFeeFragmenterRequest) GetAddress() string

func (*WithdrawFeeFragmenterRequest) GetMillisatsPerByte

func (x *WithdrawFeeFragmenterRequest) GetMillisatsPerByte() uint64

func (*WithdrawFeeFragmenterRequest) GetPassword added in v0.8.15

func (x *WithdrawFeeFragmenterRequest) GetPassword() string

func (*WithdrawFeeFragmenterRequest) ProtoMessage

func (*WithdrawFeeFragmenterRequest) ProtoMessage()

func (*WithdrawFeeFragmenterRequest) ProtoReflect

func (*WithdrawFeeFragmenterRequest) Reset

func (x *WithdrawFeeFragmenterRequest) Reset()

func (*WithdrawFeeFragmenterRequest) String

type WithdrawFeeFragmenterResponse

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

func (*WithdrawFeeFragmenterResponse) Descriptor deprecated

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

Deprecated: Use WithdrawFeeFragmenterResponse.ProtoReflect.Descriptor instead.

func (*WithdrawFeeFragmenterResponse) GetTxid

func (*WithdrawFeeFragmenterResponse) ProtoMessage

func (*WithdrawFeeFragmenterResponse) ProtoMessage()

func (*WithdrawFeeFragmenterResponse) ProtoReflect

func (*WithdrawFeeFragmenterResponse) Reset

func (x *WithdrawFeeFragmenterResponse) Reset()

func (*WithdrawFeeFragmenterResponse) String

type WithdrawFeeRequest

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"`
	// The password that unlocks the internal wallet.
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawFeeRequest) Descriptor deprecated

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

Deprecated: Use WithdrawFeeRequest.ProtoReflect.Descriptor instead.

func (*WithdrawFeeRequest) GetAddress

func (x *WithdrawFeeRequest) GetAddress() string

func (*WithdrawFeeRequest) GetAmount

func (x *WithdrawFeeRequest) GetAmount() uint64

func (*WithdrawFeeRequest) GetAsset

func (x *WithdrawFeeRequest) GetAsset() string

func (*WithdrawFeeRequest) GetMillisatsPerByte

func (x *WithdrawFeeRequest) GetMillisatsPerByte() uint64

func (*WithdrawFeeRequest) GetPassword added in v0.8.15

func (x *WithdrawFeeRequest) GetPassword() string

func (*WithdrawFeeRequest) ProtoMessage

func (*WithdrawFeeRequest) ProtoMessage()

func (*WithdrawFeeRequest) ProtoReflect

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

func (*WithdrawFeeRequest) Reset

func (x *WithdrawFeeRequest) Reset()

func (*WithdrawFeeRequest) String

func (x *WithdrawFeeRequest) String() string

type WithdrawFeeResponse

type WithdrawFeeResponse 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 (*WithdrawFeeResponse) Descriptor deprecated

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

Deprecated: Use WithdrawFeeResponse.ProtoReflect.Descriptor instead.

func (*WithdrawFeeResponse) GetTxid

func (x *WithdrawFeeResponse) GetTxid() string

func (*WithdrawFeeResponse) ProtoMessage

func (*WithdrawFeeResponse) ProtoMessage()

func (*WithdrawFeeResponse) ProtoReflect

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

func (*WithdrawFeeResponse) Reset

func (x *WithdrawFeeResponse) Reset()

func (*WithdrawFeeResponse) String

func (x *WithdrawFeeResponse) String() string

type WithdrawMarketFragmenterRequest

type WithdrawMarketFragmenterRequest struct {

	// The address to send the funds to.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,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 password that unlocks the internal wallet.
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawMarketFragmenterRequest) Descriptor deprecated

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

Deprecated: Use WithdrawMarketFragmenterRequest.ProtoReflect.Descriptor instead.

func (*WithdrawMarketFragmenterRequest) GetAddress

func (x *WithdrawMarketFragmenterRequest) GetAddress() string

func (*WithdrawMarketFragmenterRequest) GetMillisatsPerByte

func (x *WithdrawMarketFragmenterRequest) GetMillisatsPerByte() uint64

func (*WithdrawMarketFragmenterRequest) GetPassword added in v0.8.15

func (x *WithdrawMarketFragmenterRequest) GetPassword() string

func (*WithdrawMarketFragmenterRequest) ProtoMessage

func (*WithdrawMarketFragmenterRequest) ProtoMessage()

func (*WithdrawMarketFragmenterRequest) ProtoReflect

func (*WithdrawMarketFragmenterRequest) Reset

func (*WithdrawMarketFragmenterRequest) String

type WithdrawMarketFragmenterResponse

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

func (*WithdrawMarketFragmenterResponse) Descriptor deprecated

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

Deprecated: Use WithdrawMarketFragmenterResponse.ProtoReflect.Descriptor instead.

func (*WithdrawMarketFragmenterResponse) GetTxid

func (*WithdrawMarketFragmenterResponse) ProtoMessage

func (*WithdrawMarketFragmenterResponse) ProtoMessage()

func (*WithdrawMarketFragmenterResponse) ProtoReflect

func (*WithdrawMarketFragmenterResponse) Reset

func (*WithdrawMarketFragmenterResponse) String

type WithdrawMarketRequest

type WithdrawMarketRequest struct {

	// The market from which funds should be withdrawn.
	Market *v1.Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// The amount of base and quote asset to be withdrawn.
	BalanceToWithdraw *v1.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.
	MillisatsPerByte int64 `protobuf:"varint,3,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"`
	// The address to send the funds to.
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// The password that unlocks the internal wallet.
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,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() *v1.Balance

func (*WithdrawMarketRequest) GetMarket

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

func (*WithdrawMarketRequest) GetMillisatsPerByte

func (x *WithdrawMarketRequest) GetMillisatsPerByte() int64

func (*WithdrawMarketRequest) GetPassword added in v0.8.15

func (x *WithdrawMarketRequest) GetPassword() string

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 WithdrawMarketResponse

type WithdrawMarketResponse 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 (*WithdrawMarketResponse) Descriptor deprecated

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

Deprecated: Use WithdrawMarketResponse.ProtoReflect.Descriptor instead.

func (*WithdrawMarketResponse) GetTxid

func (x *WithdrawMarketResponse) GetTxid() string

func (*WithdrawMarketResponse) ProtoMessage

func (*WithdrawMarketResponse) ProtoMessage()

func (*WithdrawMarketResponse) ProtoReflect

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

func (*WithdrawMarketResponse) Reset

func (x *WithdrawMarketResponse) Reset()

func (*WithdrawMarketResponse) String

func (x *WithdrawMarketResponse) String() string

type Withdrawal

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 *v1.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"`
	// The timestamp of the withdrawal transaction in Unix format.
	TimestampUnix uint64 `protobuf:"varint,4,opt,name=timestamp_unix,json=timestampUnix,proto3" json:"timestamp_unix,omitempty"`
	// The timestamp of the withdrawal transaction in UTC format.
	TimestampUtc string `protobuf:"bytes,5,opt,name=timestamp_utc,json=timestampUtc,proto3" json:"timestamp_utc,omitempty"`
	// contains filtered or unexported fields
}

func (*Withdrawal) Descriptor deprecated

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

Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.

func (*Withdrawal) GetAddress

func (x *Withdrawal) GetAddress() string

func (*Withdrawal) GetBalance

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

func (*Withdrawal) GetTimestampUnix

func (x *Withdrawal) GetTimestampUnix() uint64

func (*Withdrawal) GetTimestampUtc

func (x *Withdrawal) GetTimestampUtc() string

func (*Withdrawal) GetTxId

func (x *Withdrawal) GetTxId() string

func (*Withdrawal) ProtoMessage

func (*Withdrawal) ProtoMessage()

func (*Withdrawal) ProtoReflect

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

func (*Withdrawal) Reset

func (x *Withdrawal) Reset()

func (*Withdrawal) String

func (x *Withdrawal) String() string

Jump to

Keyboard shortcuts

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