tdex_daemonv2

package
v1.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 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_UNSPECIFIED",
		1: "STRATEGY_TYPE_PLUGGABLE",
		2: "STRATEGY_TYPE_BALANCED",
		3: "STRATEGY_TYPE_UNBALANCED",
	}
	StrategyType_value = map[string]int32{
		"STRATEGY_TYPE_UNSPECIFIED": 0,
		"STRATEGY_TYPE_PLUGGABLE":   1,
		"STRATEGY_TYPE_BALANCED":    2,
		"STRATEGY_TYPE_UNBALANCED":  3,
	}
)

Enum value maps for StrategyType.

View Source
var (
	TradeStatus_name = map[int32]string{
		0: "TRADE_STATUS_UNSPECIFIED",
		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_UNSPECIFIED": 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_UNSPECIFIED",
		1: "ACTION_TYPE_TRADE_SETTLED",
		2: "ACTION_TYPE_ACCOUNT_LOW_BALANCE",
		3: "ACTION_TYPE_ACCOUNT_WITHDRAW",
		4: "ACTION_TYPE_ALL_ACTIONS",
	}
	ActionType_value = map[string]int32{
		"ACTION_TYPE_UNSPECIFIED":         0,
		"ACTION_TYPE_TRADE_SETTLED":       1,
		"ACTION_TYPE_ACCOUNT_LOW_BALANCE": 2,
		"ACTION_TYPE_ACCOUNT_WITHDRAW":    3,
		"ACTION_TYPE_ALL_ACTIONS":         4,
	}
)

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_UNSPECIFIED",
		1: "TIME_FRAME_HOUR",
		2: "TIME_FRAME_FOUR_HOURS",
		3: "TIME_FRAME_DAY",
		4: "TIME_FRAME_WEEK",
		5: "TIME_FRAME_MONTH",
	}
	TimeFrame_value = map[string]int32{
		"TIME_FRAME_UNSPECIFIED": 0,
		"TIME_FRAME_HOUR":        1,
		"TIME_FRAME_FOUR_HOURS":  2,
		"TIME_FRAME_DAY":         3,
		"TIME_FRAME_WEEK":        4,
		"TIME_FRAME_MONTH":       5,
	}
)

Enum value maps for TimeFrame.

View Source
var File_tdex_daemon_v2_operator_proto protoreflect.FileDescriptor
View Source
var File_tdex_daemon_v2_types_proto protoreflect.FileDescriptor
View Source
var File_tdex_daemon_v2_wallet_proto protoreflect.FileDescriptor
View Source
var OperatorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tdex_daemon.v2.OperatorService",
	HandlerType: (*OperatorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeriveFeeAddresses",
			Handler:    _OperatorService_DeriveFeeAddresses_Handler,
		},
		{
			MethodName: "ListFeeAddresses",
			Handler:    _OperatorService_ListFeeAddresses_Handler,
		},
		{
			MethodName: "GetFeeBalance",
			Handler:    _OperatorService_GetFeeBalance_Handler,
		},
		{
			MethodName: "WithdrawFee",
			Handler:    _OperatorService_WithdrawFee_Handler,
		},
		{
			MethodName: "NewMarket",
			Handler:    _OperatorService_NewMarket_Handler,
		},
		{
			MethodName: "GetMarketInfo",
			Handler:    _OperatorService_GetMarketInfo_Handler,
		},
		{
			MethodName: "DeriveMarketAddresses",
			Handler:    _OperatorService_DeriveMarketAddresses_Handler,
		},
		{
			MethodName: "ListMarketAddresses",
			Handler:    _OperatorService_ListMarketAddresses_Handler,
		},
		{
			MethodName: "OpenMarket",
			Handler:    _OperatorService_OpenMarket_Handler,
		},
		{
			MethodName: "CloseMarket",
			Handler:    _OperatorService_CloseMarket_Handler,
		},
		{
			MethodName: "DropMarket",
			Handler:    _OperatorService_DropMarket_Handler,
		},
		{
			MethodName: "WithdrawMarket",
			Handler:    _OperatorService_WithdrawMarket_Handler,
		},
		{
			MethodName: "GetMarketReport",
			Handler:    _OperatorService_GetMarketReport_Handler,
		},
		{
			MethodName: "UpdateMarketPercentageFee",
			Handler:    _OperatorService_UpdateMarketPercentageFee_Handler,
		},
		{
			MethodName: "UpdateMarketFixedFee",
			Handler:    _OperatorService_UpdateMarketFixedFee_Handler,
		},
		{
			MethodName: "UpdateMarketPrice",
			Handler:    _OperatorService_UpdateMarketPrice_Handler,
		},
		{
			MethodName: "UpdateMarketStrategy",
			Handler:    _OperatorService_UpdateMarketStrategy_Handler,
		},
		{
			MethodName: "DeriveFeeFragmenterAddresses",
			Handler:    _OperatorService_DeriveFeeFragmenterAddresses_Handler,
		},
		{
			MethodName: "ListFeeFragmenterAddresses",
			Handler:    _OperatorService_ListFeeFragmenterAddresses_Handler,
		},
		{
			MethodName: "GetFeeFragmenterBalance",
			Handler:    _OperatorService_GetFeeFragmenterBalance_Handler,
		},
		{
			MethodName: "WithdrawFeeFragmenter",
			Handler:    _OperatorService_WithdrawFeeFragmenter_Handler,
		},
		{
			MethodName: "DeriveMarketFragmenterAddresses",
			Handler:    _OperatorService_DeriveMarketFragmenterAddresses_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: "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,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "FeeFragmenterSplitFunds",
			Handler:       _OperatorService_FeeFragmenterSplitFunds_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "MarketFragmenterSplitFunds",
			Handler:       _OperatorService_MarketFragmenterSplitFunds_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tdex-daemon/v2/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.v2.WalletService",
	HandlerType: (*WalletServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenSeed",
			Handler:    _WalletService_GenSeed_Handler,
		},
		{
			MethodName: "UnlockWallet",
			Handler:    _WalletService_UnlockWallet_Handler,
		},
		{
			MethodName: "LockWallet",
			Handler:    _WalletService_LockWallet_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _WalletService_ChangePassword_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _WalletService_GetStatus_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _WalletService_GetInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "InitWallet",
			Handler:       _WalletService_InitWallet_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tdex-daemon/v2/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)

Functions

func RegisterOperatorServiceServer

func RegisterOperatorServiceServer(s grpc.ServiceRegistrar, srv OperatorServiceServer)

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)

Types

type AccountInfo

type AccountInfo struct {

	// The name of the wallet account.
	AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// The full derivation path.
	DerivationPath string `protobuf:"bytes,3,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"`
	// The master public key.
	Xpubs []string `protobuf:"bytes,4,rep,name=xpubs,proto3" json:"xpubs,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfo) Descriptor deprecated

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

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetAccountName

func (x *AccountInfo) GetAccountName() string

func (*AccountInfo) GetDerivationPath

func (x *AccountInfo) GetDerivationPath() string

func (*AccountInfo) GetXpubs

func (x *AccountInfo) GetXpubs() []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_UNSPECIFIED         ActionType = 0
	ActionType_ACTION_TYPE_TRADE_SETTLED       ActionType = 1
	ActionType_ACTION_TYPE_ACCOUNT_LOW_BALANCE ActionType = 2
	ActionType_ACTION_TYPE_ACCOUNT_WITHDRAW    ActionType = 3
	ActionType_ACTION_TYPE_ALL_ACTIONS         ActionType = 4
)

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 type of action for which the webhook should be registered.
	Action ActionType `protobuf:"varint,2,opt,name=action,proto3,enum=tdex_daemon.v2.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 Balance

type Balance struct {

	// Spendable balance.
	ConfirmedBalance uint64 `protobuf:"varint,1,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
	// Not yet spendable balance.
	UnconfirmedBalance uint64 `protobuf:"varint,2,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"`
	// Not spendable balance.
	LockedBalance uint64 `protobuf:"varint,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"`
	// The balance of all unspents included those locked.
	TotalBalance uint64 `protobuf:"varint,4,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetConfirmedBalance

func (x *Balance) GetConfirmedBalance() uint64

func (*Balance) GetLockedBalance

func (x *Balance) GetLockedBalance() uint64

func (*Balance) GetTotalBalance

func (x *Balance) GetTotalBalance() uint64

func (*Balance) GetUnconfirmedBalance

func (x *Balance) GetUnconfirmedBalance() uint64

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

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

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) 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 unlocking password.
	CurrentPassword string `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	// New unlocking password.
	NewPassword string `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() string

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() string

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 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 DeriveFeeAddressesRequest

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

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

Deprecated: Use DeriveFeeAddressesRequest.ProtoReflect.Descriptor instead.

func (*DeriveFeeAddressesRequest) GetNumOfAddresses

func (x *DeriveFeeAddressesRequest) GetNumOfAddresses() int64

func (*DeriveFeeAddressesRequest) ProtoMessage

func (*DeriveFeeAddressesRequest) ProtoMessage()

func (*DeriveFeeAddressesRequest) ProtoReflect

func (*DeriveFeeAddressesRequest) Reset

func (x *DeriveFeeAddressesRequest) Reset()

func (*DeriveFeeAddressesRequest) String

func (x *DeriveFeeAddressesRequest) String() string

type DeriveFeeAddressesResponse

type DeriveFeeAddressesResponse struct {

	// The list of new confidential addresses.
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*DeriveFeeAddressesResponse) Descriptor deprecated

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

Deprecated: Use DeriveFeeAddressesResponse.ProtoReflect.Descriptor instead.

func (*DeriveFeeAddressesResponse) GetAddresses

func (x *DeriveFeeAddressesResponse) GetAddresses() []string

func (*DeriveFeeAddressesResponse) ProtoMessage

func (*DeriveFeeAddressesResponse) ProtoMessage()

func (*DeriveFeeAddressesResponse) ProtoReflect

func (*DeriveFeeAddressesResponse) Reset

func (x *DeriveFeeAddressesResponse) Reset()

func (*DeriveFeeAddressesResponse) String

func (x *DeriveFeeAddressesResponse) String() string

type DeriveFeeFragmenterAddressesRequest

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

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

Deprecated: Use DeriveFeeFragmenterAddressesRequest.ProtoReflect.Descriptor instead.

func (*DeriveFeeFragmenterAddressesRequest) GetNumOfAddresses

func (x *DeriveFeeFragmenterAddressesRequest) GetNumOfAddresses() int64

func (*DeriveFeeFragmenterAddressesRequest) ProtoMessage

func (*DeriveFeeFragmenterAddressesRequest) ProtoMessage()

func (*DeriveFeeFragmenterAddressesRequest) ProtoReflect

func (*DeriveFeeFragmenterAddressesRequest) Reset

func (*DeriveFeeFragmenterAddressesRequest) String

type DeriveFeeFragmenterAddressesResponse

type DeriveFeeFragmenterAddressesResponse struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*DeriveFeeFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use DeriveFeeFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*DeriveFeeFragmenterAddressesResponse) GetAddresses

func (x *DeriveFeeFragmenterAddressesResponse) GetAddresses() []string

func (*DeriveFeeFragmenterAddressesResponse) ProtoMessage

func (*DeriveFeeFragmenterAddressesResponse) ProtoMessage()

func (*DeriveFeeFragmenterAddressesResponse) ProtoReflect

func (*DeriveFeeFragmenterAddressesResponse) Reset

func (*DeriveFeeFragmenterAddressesResponse) String

type DeriveMarketAddressesRequest

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

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

Deprecated: Use DeriveMarketAddressesRequest.ProtoReflect.Descriptor instead.

func (*DeriveMarketAddressesRequest) GetMarket

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

func (*DeriveMarketAddressesRequest) GetNumOfAddresses

func (x *DeriveMarketAddressesRequest) GetNumOfAddresses() int64

func (*DeriveMarketAddressesRequest) ProtoMessage

func (*DeriveMarketAddressesRequest) ProtoMessage()

func (*DeriveMarketAddressesRequest) ProtoReflect

func (*DeriveMarketAddressesRequest) Reset

func (x *DeriveMarketAddressesRequest) Reset()

func (*DeriveMarketAddressesRequest) String

type DeriveMarketAddressesResponse

type DeriveMarketAddressesResponse struct {

	// The list of new confidential addresses.
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*DeriveMarketAddressesResponse) Descriptor deprecated

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

Deprecated: Use DeriveMarketAddressesResponse.ProtoReflect.Descriptor instead.

func (*DeriveMarketAddressesResponse) GetAddresses

func (x *DeriveMarketAddressesResponse) GetAddresses() []string

func (*DeriveMarketAddressesResponse) ProtoMessage

func (*DeriveMarketAddressesResponse) ProtoMessage()

func (*DeriveMarketAddressesResponse) ProtoReflect

func (*DeriveMarketAddressesResponse) Reset

func (x *DeriveMarketAddressesResponse) Reset()

func (*DeriveMarketAddressesResponse) String

type DeriveMarketFragmenterAddressesRequest

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

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

Deprecated: Use DeriveMarketFragmenterAddressesRequest.ProtoReflect.Descriptor instead.

func (*DeriveMarketFragmenterAddressesRequest) GetNumOfAddresses

func (x *DeriveMarketFragmenterAddressesRequest) GetNumOfAddresses() int64

func (*DeriveMarketFragmenterAddressesRequest) ProtoMessage

func (*DeriveMarketFragmenterAddressesRequest) ProtoReflect

func (*DeriveMarketFragmenterAddressesRequest) Reset

func (*DeriveMarketFragmenterAddressesRequest) String

type DeriveMarketFragmenterAddressesResponse

type DeriveMarketFragmenterAddressesResponse struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*DeriveMarketFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use DeriveMarketFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*DeriveMarketFragmenterAddressesResponse) GetAddresses

func (x *DeriveMarketFragmenterAddressesResponse) GetAddresses() []string

func (*DeriveMarketFragmenterAddressesResponse) ProtoMessage

func (*DeriveMarketFragmenterAddressesResponse) ProtoReflect

func (*DeriveMarketFragmenterAddressesResponse) Reset

func (*DeriveMarketFragmenterAddressesResponse) 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 float64 `protobuf:"fixed64,6,opt,name=market_price,json=marketPrice,proto3" json:"market_price,omitempty"`
	// The request date of the trade in RFC3339 format.
	RequestDate string `protobuf:"bytes,7,opt,name=request_date,json=requestDate,proto3" json:"request_date,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() float64

func (*FeeInfo) GetPercentageFeeAmount

func (x *FeeInfo) GetPercentageFeeAmount() uint64

func (*FeeInfo) GetRequestDate

func (x *FeeInfo) GetRequestDate() string

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 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 {
	Balance *Balance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeeBalanceResponse) Descriptor deprecated

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

Deprecated: Use GetFeeBalanceResponse.ProtoReflect.Descriptor instead.

func (*GetFeeBalanceResponse) GetBalance

func (x *GetFeeBalanceResponse) GetBalance() *Balance

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 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 {

	// Account balance grouped by asset.
	Balance map[string]*Balance `` /* 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]*Balance

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"`
	// 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) 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 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 {

	// Account balance grouped by asset
	Balance map[string]*Balance `` /* 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 (x *GetMarketFragmenterBalanceResponse) GetBalance() map[string]*Balance

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.v2.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 GetStatusRequest

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

func (*GetStatusRequest) Descriptor deprecated

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

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

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

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

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

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

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetInitialized

func (x *GetStatusResponse) GetInitialized() bool

func (*GetStatusResponse) GetSynced

func (x *GetStatusResponse) GetSynced() bool

func (*GetStatusResponse) GetUnlocked

func (x *GetStatusResponse) GetUnlocked() bool

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

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

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) 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/lock the daemon.
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"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) GetPassword

func (x *InitWalletRequest) GetPassword() string

func (*InitWalletRequest) GetRestore

func (x *InitWalletRequest) GetRestore() bool

func (*InitWalletRequest) GetSeedMnemonic

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

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 {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*InitWalletResponse) Descriptor deprecated

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

Deprecated: Use InitWalletResponse.ProtoReflect.Descriptor instead.

func (*InitWalletResponse) GetMessage

func (x *InitWalletResponse) GetMessage() string

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 ListDepositsRequest

type ListDepositsRequest struct {

	// The name of the wallet account for which listing the deposits.
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,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) GetAccountName

func (x *ListDepositsRequest) GetAccountName() string

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 name of the wallet account.
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// The list of info about the deposits.
	Deposits []*Transaction `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) GetAccountName

func (x *ListDepositsResponse) GetAccountName() string

func (*ListDepositsResponse) GetDeposits

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

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.
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFeeAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListFeeAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListFeeAddressesResponse) GetAddresses

func (x *ListFeeAddressesResponse) GetAddresses() []string

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 {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFeeFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListFeeFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListFeeFragmenterAddressesResponse) GetAddresses

func (x *ListFeeFragmenterAddressesResponse) GetAddresses() []string

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.
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMarketAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListMarketAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListMarketAddressesResponse) GetAddresses

func (x *ListMarketAddressesResponse) GetAddresses() []string

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 {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMarketFragmenterAddressesResponse) Descriptor deprecated

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

Deprecated: Use ListMarketFragmenterAddressesResponse.ProtoReflect.Descriptor instead.

func (*ListMarketFragmenterAddressesResponse) GetAddresses

func (x *ListMarketFragmenterAddressesResponse) GetAddresses() []string

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 {

	// Market for which listing trades.
	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 {

	// Name of the account for which listing utxos.
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,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) GetAccountName

func (x *ListUtxosRequest) GetAccountName() string

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 spendable utxos.
	SpendableUtxos []*UtxoInfo `protobuf:"bytes,1,rep,name=spendable_utxos,json=spendableUtxos,proto3" json:"spendable_utxos,omitempty"`
	// The list of all locked utxos.
	LockedUtxos []*UtxoInfo `protobuf:"bytes,2,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUtxosResponse) Descriptor deprecated

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

Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead.

func (*ListUtxosResponse) GetLockedUtxos

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

func (*ListUtxosResponse) GetSpendableUtxos

func (x *ListUtxosResponse) GetSpendableUtxos() []*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.v2.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 name of the wallet account for which listing the withdrawals.
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,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) GetAccountName

func (x *ListWithdrawalsRequest) GetAccountName() string

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 name of the wallet account.
	AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// The list of info about the withdrawals.
	Withdrawals []*Transaction `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) GetAccountName

func (x *ListWithdrawalsResponse) GetAccountName() string

func (*ListWithdrawalsResponse) GetWithdrawals

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

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 LockWalletRequest

type LockWalletRequest struct {

	// The unlocking password.
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LockWalletRequest) Descriptor deprecated

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

Deprecated: Use LockWalletRequest.ProtoReflect.Descriptor instead.

func (*LockWalletRequest) GetPassword

func (x *LockWalletRequest) GetPassword() string

func (*LockWalletRequest) ProtoMessage

func (*LockWalletRequest) ProtoMessage()

func (*LockWalletRequest) ProtoReflect

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

func (*LockWalletRequest) Reset

func (x *LockWalletRequest) Reset()

func (*LockWalletRequest) String

func (x *LockWalletRequest) String() string

type LockWalletResponse

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

func (*LockWalletResponse) Descriptor deprecated

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

Deprecated: Use LockWalletResponse.ProtoReflect.Descriptor instead.

func (*LockWalletResponse) ProtoMessage

func (*LockWalletResponse) ProtoMessage()

func (*LockWalletResponse) ProtoReflect

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

func (*LockWalletResponse) Reset

func (x *LockWalletResponse) Reset()

func (*LockWalletResponse) String

func (x *LockWalletResponse) 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"`
	FeesPerTrade []*FeeInfo `protobuf:"bytes,3,rep,name=fees_per_trade,json=feesPerTrade,proto3" json:"fees_per_trade,omitempty"`
	// start_date in RFC3339 format of the aggregated volume calculation
	StartDate string `protobuf:"bytes,4,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,5,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) GetFeesPerTrade

func (x *MarketCollectedFees) GetFeesPerTrade() []*FeeInfo

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 name of the wallet account.
	AccountName string `protobuf:"bytes,5,opt,name=account_name,json=accountName,proto3" json:"account_name,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 map[string]*Balance `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MarketInfo) Descriptor deprecated

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

Deprecated: Use MarketInfo.ProtoReflect.Descriptor instead.

func (*MarketInfo) GetAccountName

func (x *MarketInfo) GetAccountName() string

func (*MarketInfo) GetBalance

func (x *MarketInfo) GetBalance() map[string]*Balance

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) 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"`
	VolumesPerFrame    []*MarketVolume      `protobuf:"bytes,3,rep,name=volumes_per_frame,json=volumesPerFrame,proto3" json:"volumes_per_frame,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketReport) Descriptor deprecated

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

Deprecated: Use MarketReport.ProtoReflect.Descriptor instead.

func (*MarketReport) GetTotalCollectedFees

func (x *MarketReport) GetTotalCollectedFees() *MarketCollectedFees

func (*MarketReport) GetTotalVolume

func (x *MarketReport) GetTotalVolume() *MarketVolume

func (*MarketReport) GetVolumesPerFrame

func (x *MarketReport) GetVolumesPerFrame() []*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"`
	// contains filtered or unexported fields
}

func (*NewMarketRequest) Descriptor deprecated

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

Deprecated: Use NewMarketRequest.ProtoReflect.Descriptor instead.

func (*NewMarketRequest) GetMarket

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

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 {
	// Derives new addresses from the fee account.
	// This account is only used to deposit LBTC funds to subsidize network fees.
	DeriveFeeAddresses(ctx context.Context, in *DeriveFeeAddressesRequest, opts ...grpc.CallOption) (*DeriveFeeAddressesResponse, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(ctx context.Context, in *ListFeeAddressesRequest, opts ...grpc.CallOption) (*ListFeeAddressesResponse, error)
	// Returns the LBTC balance of the fee account.
	GetFeeBalance(ctx context.Context, in *GetFeeBalanceRequest, opts ...grpc.CallOption) (*GetFeeBalanceResponse, error)
	// Withdraws LBTC funds from the fee account.
	WithdrawFee(ctx context.Context, in *WithdrawFeeRequest, opts ...grpc.CallOption) (*WithdrawFeeResponse, error)
	// Creates a new market and the related wallet account.
	NewMarket(ctx context.Context, in *NewMarketRequest, opts ...grpc.CallOption) (*NewMarketResponse, error)
	// Returns info about the given market.
	GetMarketInfo(ctx context.Context, in *GetMarketInfoRequest, opts ...grpc.CallOption) (*GetMarketInfoResponse, error)
	// Derives new addresses for the market.
	DeriveMarketAddresses(ctx context.Context, in *DeriveMarketAddressesRequest, opts ...grpc.CallOption) (*DeriveMarketAddressesResponse, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(ctx context.Context, in *ListMarketAddressesRequest, opts ...grpc.CallOption) (*ListMarketAddressesResponse, 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)
	// Withdraw funds from the given market.
	WithdrawMarket(ctx context.Context, in *WithdrawMarketRequest, opts ...grpc.CallOption) (*WithdrawMarketResponse, error)
	// Returns a report with volume and collected fees for the given market in
	// the specified time range.
	GetMarketReport(ctx context.Context, in *GetMarketReportRequest, opts ...grpc.CallOption) (*GetMarketReportResponse, 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)
	// 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)
	// Derives new addresses for the fee fragmenter account.
	DeriveFeeFragmenterAddresses(ctx context.Context, in *DeriveFeeFragmenterAddressesRequest, opts ...grpc.CallOption) (*DeriveFeeFragmenterAddressesResponse, 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 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 are then deposited to the Fee account.
	FeeFragmenterSplitFunds(ctx context.Context, in *FeeFragmenterSplitFundsRequest, opts ...grpc.CallOption) (OperatorService_FeeFragmenterSplitFundsClient, error)
	// Withdraws funds from the fee fragmenter account.
	WithdrawFeeFragmenter(ctx context.Context, in *WithdrawFeeFragmenterRequest, opts ...grpc.CallOption) (*WithdrawFeeFragmenterResponse, error)
	// Derives new addresses for the market fragmenter account.
	DeriveMarketFragmenterAddresses(ctx context.Context, in *DeriveMarketFragmenterAddressesRequest, opts ...grpc.CallOption) (*DeriveMarketFragmenterAddressesResponse, 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 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 are then deposited to the given market.
	MarketFragmenterSplitFunds(ctx context.Context, in *MarketFragmenterSplitFundsRequest, opts ...grpc.CallOption) (OperatorService_MarketFragmenterSplitFundsClient, error)
	// Withdraws funds from the market fragmenter account.
	WithdrawMarketFragmenter(ctx context.Context, in *WithdrawMarketFragmenterRequest, opts ...grpc.CallOption) (*WithdrawMarketFragmenterResponse, error)
	// Get info about all markets.
	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)
	// 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)
}

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 {
	// Derives new addresses from the fee account.
	// This account is only used to deposit LBTC funds to subsidize network fees.
	DeriveFeeAddresses(context.Context, *DeriveFeeAddressesRequest) (*DeriveFeeAddressesResponse, error)
	// Returns the list of all derived addresses for the fee account.
	ListFeeAddresses(context.Context, *ListFeeAddressesRequest) (*ListFeeAddressesResponse, error)
	// Returns the LBTC balance of the fee account.
	GetFeeBalance(context.Context, *GetFeeBalanceRequest) (*GetFeeBalanceResponse, error)
	// Withdraws LBTC funds from the fee account.
	WithdrawFee(context.Context, *WithdrawFeeRequest) (*WithdrawFeeResponse, error)
	// Creates a new market and the related wallet account.
	NewMarket(context.Context, *NewMarketRequest) (*NewMarketResponse, error)
	// Returns info about the given market.
	GetMarketInfo(context.Context, *GetMarketInfoRequest) (*GetMarketInfoResponse, error)
	// Derives new addresses for the market.
	DeriveMarketAddresses(context.Context, *DeriveMarketAddressesRequest) (*DeriveMarketAddressesResponse, error)
	// Returns the list of all derived addresses for the given market.
	ListMarketAddresses(context.Context, *ListMarketAddressesRequest) (*ListMarketAddressesResponse, 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)
	// Withdraw funds from the given market.
	WithdrawMarket(context.Context, *WithdrawMarketRequest) (*WithdrawMarketResponse, error)
	// Returns a report with volume and collected fees for the given market in
	// the specified time range.
	GetMarketReport(context.Context, *GetMarketReportRequest) (*GetMarketReportResponse, 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)
	// 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)
	// Derives new addresses for the fee fragmenter account.
	DeriveFeeFragmenterAddresses(context.Context, *DeriveFeeFragmenterAddressesRequest) (*DeriveFeeFragmenterAddressesResponse, error)
	// Returns the list of all derived addresses for the fee fragmenter account.
	ListFeeFragmenterAddresses(context.Context, *ListFeeFragmenterAddressesRequest) (*ListFeeFragmenterAddressesResponse, error)
	// Returns 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 are then deposited to the Fee account.
	FeeFragmenterSplitFunds(*FeeFragmenterSplitFundsRequest, OperatorService_FeeFragmenterSplitFundsServer) error
	// Withdraws funds from the fee fragmenter account.
	WithdrawFeeFragmenter(context.Context, *WithdrawFeeFragmenterRequest) (*WithdrawFeeFragmenterResponse, error)
	// Derives new addresses for the market fragmenter account.
	DeriveMarketFragmenterAddresses(context.Context, *DeriveMarketFragmenterAddressesRequest) (*DeriveMarketFragmenterAddressesResponse, error)
	// Returns the list of all derived addresses for the market fragmenter account.
	ListMarketFragmenterAddresses(context.Context, *ListMarketFragmenterAddressesRequest) (*ListMarketFragmenterAddressesResponse, error)
	// Returns 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 are then deposited to the given market.
	MarketFragmenterSplitFunds(*MarketFragmenterSplitFundsRequest, OperatorService_MarketFragmenterSplitFundsServer) error
	// Withdraws funds from the market fragmenter account.
	WithdrawMarketFragmenter(context.Context, *WithdrawMarketFragmenterRequest) (*WithdrawMarketFragmenterResponse, error)
	// Get info about all markets.
	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)
	// 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)
}

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 uint32 `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() uint32

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.
	Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// The size of the page, ie the max length the returning list can have.
	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetNumber

func (x *Page) GetNumber() int64

func (*Page) GetSize

func (x *Page) GetSize() 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 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 StrategyType

type StrategyType int32
const (
	StrategyType_STRATEGY_TYPE_UNSPECIFIED StrategyType = 0
	StrategyType_STRATEGY_TYPE_PLUGGABLE   StrategyType = 1
	StrategyType_STRATEGY_TYPE_BALANCED    StrategyType = 2
	StrategyType_STRATEGY_TYPE_UNBALANCED  StrategyType = 3
)

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_UNSPECIFIED TimeFrame = 0
	TimeFrame_TIME_FRAME_HOUR        TimeFrame = 1
	TimeFrame_TIME_FRAME_FOUR_HOURS  TimeFrame = 2
	TimeFrame_TIME_FRAME_DAY         TimeFrame = 3
	TimeFrame_TIME_FRAME_WEEK        TimeFrame = 4
	TimeFrame_TIME_FRAME_MONTH       TimeFrame = 5
)

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 *v1.Price `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
	// The unix timestamp of the SwapRequest.
	RequestTimestamp int64 `protobuf:"varint,7,opt,name=request_timestamp,json=requestTimestamp,proto3" json:"request_timestamp,omitempty"`
	// The unix timestamp SwapAccept.
	AcceptTimestamp int64 `protobuf:"varint,8,opt,name=accept_timestamp,json=acceptTimestamp,proto3" json:"accept_timestamp,omitempty"`
	// The unix timestamp of the SwapComplete.
	CompleteTimestamp int64 `protobuf:"varint,9,opt,name=complete_timestamp,json=completeTimestamp,proto3" json:"complete_timestamp,omitempty"`
	// The unix timestamp of the settlement date.
	SettleTimestamp int64 `protobuf:"varint,10,opt,name=settle_timestamp,json=settleTimestamp,proto3" json:"settle_timestamp,omitempty"`
	// The unix timestamp of the expiration date.
	ExpiryTimestamp int64 `protobuf:"varint,11,opt,name=expiry_timestamp,json=expiryTimestamp,proto3" json:"expiry_timestamp,omitempty"`
	// The timestamp of the SwapRequest in RFC3339 format.
	RequestDate string `protobuf:"bytes,12,opt,name=request_date,json=requestDate,proto3" json:"request_date,omitempty"`
	// The timestamp of the SwapAccept in RFC3339 format.
	AcceptDate string `protobuf:"bytes,13,opt,name=accept_date,json=acceptDate,proto3" json:"accept_date,omitempty"`
	// The timestamp of the SwapComplete in RFC3339 format.
	CompleteDate string `protobuf:"bytes,14,opt,name=complete_date,json=completeDate,proto3" json:"complete_date,omitempty"`
	// The timestamp of the settlement date in RFC3339 format.
	SettleDate string `protobuf:"bytes,15,opt,name=settle_date,json=settleDate,proto3" json:"settle_date,omitempty"`
	// The timestamp of the expiration date in RFC3339 format.
	ExpiryDate string `protobuf:"bytes,16,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
	// contains filtered or unexported fields
}

func (*TradeInfo) Descriptor deprecated

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

Deprecated: Use TradeInfo.ProtoReflect.Descriptor instead.

func (*TradeInfo) GetAcceptDate

func (x *TradeInfo) GetAcceptDate() string

func (*TradeInfo) GetAcceptTimestamp

func (x *TradeInfo) GetAcceptTimestamp() int64

func (*TradeInfo) GetCompleteDate

func (x *TradeInfo) GetCompleteDate() string

func (*TradeInfo) GetCompleteTimestamp

func (x *TradeInfo) GetCompleteTimestamp() int64

func (*TradeInfo) GetExpiryDate

func (x *TradeInfo) GetExpiryDate() string

func (*TradeInfo) GetExpiryTimestamp

func (x *TradeInfo) GetExpiryTimestamp() int64

func (*TradeInfo) GetFailInfo

func (x *TradeInfo) GetFailInfo() *SwapFailInfo

func (*TradeInfo) GetMarketWithFee

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

func (*TradeInfo) GetPrice

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

func (*TradeInfo) GetRequestDate

func (x *TradeInfo) GetRequestDate() string

func (*TradeInfo) GetRequestTimestamp

func (x *TradeInfo) GetRequestTimestamp() int64

func (*TradeInfo) GetSettleDate

func (x *TradeInfo) GetSettleDate() string

func (*TradeInfo) GetSettleTimestamp

func (x *TradeInfo) GetSettleTimestamp() int64

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) 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 TradeStatus

type TradeStatus int32
const (
	TradeStatus_TRADE_STATUS_UNSPECIFIED 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.v2.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 Transaction

type Transaction struct {

	// The utxo deposited.
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// Total outputs amount per asset deposited.
	TotalAmountPerAsset map[string]uint64 `` /* 211-byte string literal not displayed */
	// The timestamp of the deposit transaction in Unix format.
	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The timestamp of the deposit transaction in RFC3339 format.
	Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetDate

func (x *Transaction) GetDate() string

func (*Transaction) GetTimestamp

func (x *Transaction) GetTimestamp() int64

func (*Transaction) GetTotalAmountPerAsset

func (x *Transaction) GetTotalAmountPerAsset() map[string]uint64

func (*Transaction) GetTxid

func (x *Transaction) GetTxid() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TxOutput

type TxOutput struct {

	// Asset hash.
	Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	// Spending amount.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// Destination output script.
	Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
	// Blinding key for confidential output.
	BlindingKey string `protobuf:"bytes,4,opt,name=blinding_key,json=blindingKey,proto3" json:"blinding_key,omitempty"`
	// contains filtered or unexported fields
}

func (*TxOutput) Descriptor deprecated

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

Deprecated: Use TxOutput.ProtoReflect.Descriptor instead.

func (*TxOutput) GetAmount

func (x *TxOutput) GetAmount() uint64

func (*TxOutput) GetAsset

func (x *TxOutput) GetAsset() string

func (*TxOutput) GetBlindingKey

func (x *TxOutput) GetBlindingKey() string

func (*TxOutput) GetScript

func (x *TxOutput) GetScript() string

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) CloseMarket

func (UnimplementedOperatorServiceServer) DeriveFeeAddresses

func (UnimplementedOperatorServiceServer) DropMarket

func (UnimplementedOperatorServiceServer) GetFeeBalance

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) RemoveWebhook

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) ChangePassword

func (UnimplementedWalletServiceServer) GenSeed

func (UnimplementedWalletServiceServer) GetInfo

func (UnimplementedWalletServiceServer) GetStatus

func (UnimplementedWalletServiceServer) InitWallet

func (UnimplementedWalletServiceServer) LockWallet

func (UnimplementedWalletServiceServer) UnlockWallet

type UnlockWalletRequest

type UnlockWalletRequest struct {

	// The unlocking password.
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlockWalletRequest) Descriptor deprecated

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

Deprecated: Use UnlockWalletRequest.ProtoReflect.Descriptor instead.

func (*UnlockWalletRequest) GetPassword

func (x *UnlockWalletRequest) GetPassword() string

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 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 uint32 `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() uint32

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 WalletServiceClient

type WalletServiceClient 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) (WalletService_InitWalletClient, error)
	// UnlockWallet is used at startup of tdexd to provide a password to unlock
	// the wallet.
	UnlockWallet(ctx context.Context, in *UnlockWalletRequest, opts ...grpc.CallOption) (*UnlockWalletResponse, error)
	// LockWallet can be used to lock tdexd and disable any operation but those
	// provided by this service.
	LockWallet(ctx context.Context, in *LockWalletRequest, opts ...grpc.CallOption) (*LockWalletResponse, 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)
	// GetStatus 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.
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// GetInfo returns info about the configuration and the internal wallet of tdexd.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, 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 {
	// 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, WalletService_InitWalletServer) error
	// UnlockWallet is used at startup of tdexd to provide a password to unlock
	// the wallet.
	UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
	// LockWallet can be used to lock tdexd and disable any operation but those
	// provided by this service.
	LockWallet(context.Context, *LockWalletRequest) (*LockWalletResponse, 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)
	// GetStatus 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.
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// GetInfo returns info about the configuration and the internal wallet of tdexd.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
}

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

type WalletService_InitWalletClient

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

type WalletService_InitWalletServer

type WalletService_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.v2.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

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 {

	// List of receivers.
	Outputs []*TxOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,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,3,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) GetMillisatsPerByte

func (x *WithdrawFeeFragmenterRequest) GetMillisatsPerByte() uint64

func (*WithdrawFeeFragmenterRequest) GetOutputs

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

func (*WithdrawFeeFragmenterRequest) GetPassword

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 {

	// List of receivers.
	Outputs []*TxOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,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,3,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) GetMillisatsPerByte

func (x *WithdrawFeeRequest) GetMillisatsPerByte() uint64

func (*WithdrawFeeRequest) GetOutputs

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

func (*WithdrawFeeRequest) GetPassword

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 {

	// List of receivers.
	Outputs []*TxOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,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,3,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) GetMillisatsPerByte

func (x *WithdrawMarketFragmenterRequest) GetMillisatsPerByte() uint64

func (*WithdrawMarketFragmenterRequest) GetOutputs

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

func (*WithdrawMarketFragmenterRequest) GetPassword

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"`
	// List of receivers.
	Outputs []*TxOutput `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// The number of millisatoshis per byte that should be paid for network fees.
	MillisatsPerByte uint64 `protobuf:"varint,3,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"`
	// The password that unlocks the internal wallet.
	Password string `protobuf:"bytes,4,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) GetMarket

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

func (*WithdrawMarketRequest) GetMillisatsPerByte

func (x *WithdrawMarketRequest) GetMillisatsPerByte() uint64

func (*WithdrawMarketRequest) GetOutputs

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

func (*WithdrawMarketRequest) GetPassword

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

Jump to

Keyboard shortcuts

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