proto

package
v0.0.0-...-5ff3e35 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FTaxes_SubmitTrade_FullMethodName      = "/FTaxesGrpc.FTaxes/SubmitTrade"
	FTaxes_SubmitTransfer_FullMethodName   = "/FTaxesGrpc.FTaxes/SubmitTransfer"
	FTaxes_SubmitGenericFee_FullMethodName = "/FTaxesGrpc.FTaxes/SubmitGenericFee"
	FTaxes_ShowJobProgress_FullMethodName  = "/FTaxesGrpc.FTaxes/ShowJobProgress"
	FTaxes_GetSettings_FullMethodName      = "/FTaxesGrpc.FTaxes/GetSettings"
	FTaxes_AppLog_FullMethodName           = "/FTaxesGrpc.FTaxes/AppLog"
	FTaxes_StreamRecords_FullMethodName    = "/FTaxesGrpc.FTaxes/StreamRecords"
)
View Source
const (
	PluginCtl_UpdateTrades_FullMethodName            = "/FTaxesGrpc.PluginCtl/UpdateTrades"
	PluginCtl_ConvertPricesInTrade_FullMethodName    = "/FTaxesGrpc.PluginCtl/ConvertPricesInTrade"
	PluginCtl_ConvertPricesInTransfer_FullMethodName = "/FTaxesGrpc.PluginCtl/ConvertPricesInTransfer"
)

Variables

View Source
var (
	TxAction_name = map[int32]string{
		0: "BUY",
		1: "SELL",
	}
	TxAction_value = map[string]int32{
		"BUY":  0,
		"SELL": 1,
	}
)

Enum value maps for TxAction.

View Source
var (
	TransferAction_name = map[int32]string{
		0: "DEPOSIT",
		1: "WITHDRAWAL",
	}
	TransferAction_value = map[string]int32{
		"DEPOSIT":    0,
		"WITHDRAWAL": 1,
	}
)

Enum value maps for TransferAction.

View Source
var (
	OrderType_name = map[int32]string{
		0: "TAKER",
		1: "MAKER",
	}
	OrderType_value = map[string]int32{
		"TAKER": 0,
		"MAKER": 1,
	}
)

Enum value maps for OrderType.

View Source
var (
	AssetType_name = map[int32]string{
		0: "SPOT",
		1: "SPOT_MARGIN",
		2: "FUTURES",
	}
	AssetType_value = map[string]int32{
		"SPOT":        0,
		"SPOT_MARGIN": 1,
		"FUTURES":     2,
	}
)

Enum value maps for AssetType.

View Source
var (
	LogLevel_name = map[int32]string{
		0: "INFO",
		1: "WARN",
		2: "ERR",
	}
	LogLevel_value = map[string]int32{
		"INFO": 0,
		"WARN": 1,
		"ERR":  2,
	}
)

Enum value maps for LogLevel.

View Source
var FTaxes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "FTaxesGrpc.FTaxes",
	HandlerType: (*FTaxesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitTrade",
			Handler:    _FTaxes_SubmitTrade_Handler,
		},
		{
			MethodName: "SubmitTransfer",
			Handler:    _FTaxes_SubmitTransfer_Handler,
		},
		{
			MethodName: "SubmitGenericFee",
			Handler:    _FTaxes_SubmitGenericFee_Handler,
		},
		{
			MethodName: "ShowJobProgress",
			Handler:    _FTaxes_ShowJobProgress_Handler,
		},
		{
			MethodName: "GetSettings",
			Handler:    _FTaxes_GetSettings_Handler,
		},
		{
			MethodName: "AppLog",
			Handler:    _FTaxes_AppLog_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamRecords",
			Handler:       _FTaxes_StreamRecords_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "f-taxes.proto",
}

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

View Source
var File_f_taxes_proto protoreflect.FileDescriptor
View Source
var PluginCtl_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "FTaxesGrpc.PluginCtl",
	HandlerType: (*PluginCtlServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateTrades",
			Handler:    _PluginCtl_UpdateTrades_Handler,
		},
		{
			MethodName: "ConvertPricesInTrade",
			Handler:    _PluginCtl_ConvertPricesInTrade_Handler,
		},
		{
			MethodName: "ConvertPricesInTransfer",
			Handler:    _PluginCtl_ConvertPricesInTransfer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "f-taxes.proto",
}

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

Functions

func RegisterFTaxesServer

func RegisterFTaxesServer(s grpc.ServiceRegistrar, srv FTaxesServer)

func RegisterPluginCtlServer

func RegisterPluginCtlServer(s grpc.ServiceRegistrar, srv PluginCtlServer)

Types

type AppLogMsg

type AppLogMsg struct {
	Level   LogLevel `protobuf:"varint,1,opt,name=Level,proto3,enum=FTaxesGrpc.LogLevel" json:"Level,omitempty"`
	Message string   `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
	Tags    []string `protobuf:"bytes,3,rep,name=Tags,proto3" json:"Tags,omitempty"`
	// contains filtered or unexported fields
}

func (*AppLogMsg) Descriptor deprecated

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

Deprecated: Use AppLogMsg.ProtoReflect.Descriptor instead.

func (*AppLogMsg) GetLevel

func (x *AppLogMsg) GetLevel() LogLevel

func (*AppLogMsg) GetMessage

func (x *AppLogMsg) GetMessage() string

func (*AppLogMsg) GetTags

func (x *AppLogMsg) GetTags() []string

func (*AppLogMsg) ProtoMessage

func (*AppLogMsg) ProtoMessage()

func (*AppLogMsg) ProtoReflect

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

func (*AppLogMsg) Reset

func (x *AppLogMsg) Reset()

func (*AppLogMsg) String

func (x *AppLogMsg) String() string

type AssetType

type AssetType int32
const (
	AssetType_SPOT        AssetType = 0
	AssetType_SPOT_MARGIN AssetType = 1
	AssetType_FUTURES     AssetType = 2
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

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

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type FTaxesClient

type FTaxesClient interface {
	SubmitTrade(ctx context.Context, in *Trade, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SubmitTransfer(ctx context.Context, in *Transfer, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SubmitGenericFee(ctx context.Context, in *SrcGenericFee, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ShowJobProgress(ctx context.Context, in *JobProgress, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Settings, error)
	AppLog(ctx context.Context, in *AppLogMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	StreamRecords(ctx context.Context, in *StreamRecordsJob, opts ...grpc.CallOption) (FTaxes_StreamRecordsClient, error)
}

FTaxesClient is the client API for FTaxes service.

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

func NewFTaxesClient

func NewFTaxesClient(cc grpc.ClientConnInterface) FTaxesClient

type FTaxesServer

type FTaxesServer interface {
	SubmitTrade(context.Context, *Trade) (*emptypb.Empty, error)
	SubmitTransfer(context.Context, *Transfer) (*emptypb.Empty, error)
	SubmitGenericFee(context.Context, *SrcGenericFee) (*emptypb.Empty, error)
	ShowJobProgress(context.Context, *JobProgress) (*emptypb.Empty, error)
	GetSettings(context.Context, *emptypb.Empty) (*Settings, error)
	AppLog(context.Context, *AppLogMsg) (*emptypb.Empty, error)
	StreamRecords(*StreamRecordsJob, FTaxes_StreamRecordsServer) error
	// contains filtered or unexported methods
}

FTaxesServer is the server API for FTaxes service. All implementations must embed UnimplementedFTaxesServer for forward compatibility

type FTaxes_StreamRecordsClient

type FTaxes_StreamRecordsClient interface {
	Recv() (*Record, error)
	grpc.ClientStream
}

type FTaxes_StreamRecordsServer

type FTaxes_StreamRecordsServer interface {
	Send(*Record) error
	grpc.ServerStream
}

type JobProgress

type JobProgress struct {
	ID       string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Label    string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"`
	Progress string `protobuf:"bytes,3,opt,name=Progress,proto3" json:"Progress,omitempty"`
	Plugin   string `protobuf:"bytes,4,opt,name=Plugin,proto3" json:"Plugin,omitempty"`
	// contains filtered or unexported fields
}

func (*JobProgress) Descriptor deprecated

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

Deprecated: Use JobProgress.ProtoReflect.Descriptor instead.

func (*JobProgress) GetID

func (x *JobProgress) GetID() string

func (*JobProgress) GetLabel

func (x *JobProgress) GetLabel() string

func (*JobProgress) GetPlugin

func (x *JobProgress) GetPlugin() string

func (*JobProgress) GetProgress

func (x *JobProgress) GetProgress() string

func (*JobProgress) ProtoMessage

func (*JobProgress) ProtoMessage()

func (*JobProgress) ProtoReflect

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

func (*JobProgress) Reset

func (x *JobProgress) Reset()

func (*JobProgress) String

func (x *JobProgress) String() string

type LogLevel

type LogLevel int32
const (
	LogLevel_INFO LogLevel = 0
	LogLevel_WARN LogLevel = 1
	LogLevel_ERR  LogLevel = 2
)

func (LogLevel) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type OrderType

type OrderType int32
const (
	OrderType_TAKER OrderType = 0
	OrderType_MAKER OrderType = 1
)

func (OrderType) Descriptor

func (OrderType) Descriptor() protoreflect.EnumDescriptor

func (OrderType) Enum

func (x OrderType) Enum() *OrderType

func (OrderType) EnumDescriptor deprecated

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

Deprecated: Use OrderType.Descriptor instead.

func (OrderType) Number

func (x OrderType) Number() protoreflect.EnumNumber

func (OrderType) String

func (x OrderType) String() string

func (OrderType) Type

type PluginCtlClient

type PluginCtlClient interface {
	UpdateTrades(ctx context.Context, in *TxUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ConvertPricesInTrade(ctx context.Context, in *TradeConversionJob, opts ...grpc.CallOption) (*Trade, error)
	ConvertPricesInTransfer(ctx context.Context, in *TransferConversionJob, opts ...grpc.CallOption) (*Transfer, error)
}

PluginCtlClient is the client API for PluginCtl service.

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

func NewPluginCtlClient

func NewPluginCtlClient(cc grpc.ClientConnInterface) PluginCtlClient

type PluginCtlServer

type PluginCtlServer interface {
	UpdateTrades(context.Context, *TxUpdate) (*emptypb.Empty, error)
	ConvertPricesInTrade(context.Context, *TradeConversionJob) (*Trade, error)
	ConvertPricesInTransfer(context.Context, *TransferConversionJob) (*Transfer, error)
	// contains filtered or unexported methods
}

PluginCtlServer is the server API for PluginCtl service. All implementations must embed UnimplementedPluginCtlServer for forward compatibility

type Record

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

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetTrade

func (x *Record) GetTrade() *Trade

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type Settings

type Settings struct {
	DateTimeFormat string `protobuf:"bytes,1,opt,name=DateTimeFormat,proto3" json:"DateTimeFormat,omitempty"`
	TimeZone       string `protobuf:"bytes,2,opt,name=TimeZone,proto3" json:"TimeZone,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetDateTimeFormat

func (x *Settings) GetDateTimeFormat() string

func (*Settings) GetTimeZone

func (x *Settings) GetTimeZone() string

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

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

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type SrcGenericFee

type SrcGenericFee struct {
	TxID          string                 `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"`
	Ts            *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"`
	Account       string                 `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"`
	Comment       string                 `protobuf:"bytes,4,opt,name=Comment,proto3" json:"Comment,omitempty"`
	Fee           string                 `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"`
	FeeCurrency   string                 `protobuf:"bytes,3001,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"`
	FeeRate       string                 `protobuf:"bytes,3002,opt,name=FeeRate,proto3" json:"FeeRate,omitempty"`
	Plugin        string                 `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"`
	PluginVersion string                 `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"`
	Created       *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"`
	Updated       *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"`
	// contains filtered or unexported fields
}

func (*SrcGenericFee) Descriptor deprecated

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

Deprecated: Use SrcGenericFee.ProtoReflect.Descriptor instead.

func (*SrcGenericFee) GetAccount

func (x *SrcGenericFee) GetAccount() string

func (*SrcGenericFee) GetComment

func (x *SrcGenericFee) GetComment() string

func (*SrcGenericFee) GetCreated

func (x *SrcGenericFee) GetCreated() *timestamppb.Timestamp

func (*SrcGenericFee) GetFee

func (x *SrcGenericFee) GetFee() string

func (*SrcGenericFee) GetFeeCurrency

func (x *SrcGenericFee) GetFeeCurrency() string

func (*SrcGenericFee) GetFeeRate

func (x *SrcGenericFee) GetFeeRate() string

func (*SrcGenericFee) GetPlugin

func (x *SrcGenericFee) GetPlugin() string

func (*SrcGenericFee) GetPluginVersion

func (x *SrcGenericFee) GetPluginVersion() string

func (*SrcGenericFee) GetTs

func (x *SrcGenericFee) GetTs() *timestamppb.Timestamp

func (*SrcGenericFee) GetTxID

func (x *SrcGenericFee) GetTxID() string

func (*SrcGenericFee) GetUpdated

func (x *SrcGenericFee) GetUpdated() *timestamppb.Timestamp

func (*SrcGenericFee) ProtoMessage

func (*SrcGenericFee) ProtoMessage()

func (*SrcGenericFee) ProtoReflect

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

func (*SrcGenericFee) Reset

func (x *SrcGenericFee) Reset()

func (*SrcGenericFee) String

func (x *SrcGenericFee) String() string

type StreamRecordsJob

type StreamRecordsJob struct {
	From          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
	To            *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
	Plugin        string                 `protobuf:"bytes,90,opt,name=Plugin,proto3" json:"Plugin,omitempty"`
	PluginVersion string                 `protobuf:"bytes,91,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamRecordsJob) Descriptor deprecated

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

Deprecated: Use StreamRecordsJob.ProtoReflect.Descriptor instead.

func (*StreamRecordsJob) GetFrom

func (x *StreamRecordsJob) GetFrom() *timestamppb.Timestamp

func (*StreamRecordsJob) GetPlugin

func (x *StreamRecordsJob) GetPlugin() string

func (*StreamRecordsJob) GetPluginVersion

func (x *StreamRecordsJob) GetPluginVersion() string

func (*StreamRecordsJob) GetTo

func (*StreamRecordsJob) ProtoMessage

func (*StreamRecordsJob) ProtoMessage()

func (*StreamRecordsJob) ProtoReflect

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

func (*StreamRecordsJob) Reset

func (x *StreamRecordsJob) Reset()

func (*StreamRecordsJob) String

func (x *StreamRecordsJob) String() string

type Trade

type Trade struct {
	TxID             string                 `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"`
	Ts               *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"`
	Account          string                 `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"`
	Comment          string                 `protobuf:"bytes,4,opt,name=Comment,proto3" json:"Comment,omitempty"`
	Ticker           string                 `protobuf:"bytes,1000,opt,name=Ticker,proto3" json:"Ticker,omitempty"`
	Quote            string                 `protobuf:"bytes,1001,opt,name=Quote,proto3" json:"Quote,omitempty"`
	Asset            string                 `protobuf:"bytes,1002,opt,name=Asset,proto3" json:"Asset,omitempty"`
	AssetType        AssetType              `protobuf:"varint,1003,opt,name=AssetType,proto3,enum=FTaxesGrpc.AssetType" json:"AssetType,omitempty"`
	Price            string                 `protobuf:"bytes,2000,opt,name=Price,proto3" json:"Price,omitempty"`
	PriceC           string                 `protobuf:"bytes,2001,opt,name=PriceC,proto3" json:"PriceC,omitempty"`
	PriceConvertedBy string                 `protobuf:"bytes,2002,opt,name=PriceConvertedBy,proto3" json:"PriceConvertedBy,omitempty"`
	Amount           string                 `protobuf:"bytes,2003,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Value            string                 `protobuf:"bytes,2004,opt,name=Value,proto3" json:"Value,omitempty"`
	ValueC           string                 `protobuf:"bytes,2005,opt,name=ValueC,proto3" json:"ValueC,omitempty"`
	Action           TxAction               `protobuf:"varint,2006,opt,name=Action,proto3,enum=FTaxesGrpc.TxAction" json:"Action,omitempty"`
	OrderType        OrderType              `protobuf:"varint,2007,opt,name=OrderType,proto3,enum=FTaxesGrpc.OrderType" json:"OrderType,omitempty"`
	OrderID          string                 `protobuf:"bytes,2008,opt,name=OrderID,proto3" json:"OrderID,omitempty"`
	Fee              string                 `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"`
	FeeC             string                 `protobuf:"bytes,3001,opt,name=FeeC,proto3" json:"FeeC,omitempty"`
	FeeConvertedBy   string                 `protobuf:"bytes,3002,opt,name=FeeConvertedBy,proto3" json:"FeeConvertedBy,omitempty"`
	FeeCurrency      string                 `protobuf:"bytes,3003,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"`
	FeeRate          string                 `protobuf:"bytes,3004,opt,name=FeeRate,proto3" json:"FeeRate,omitempty"`
	FeePriceC        string                 `protobuf:"bytes,3005,opt,name=FeePriceC,proto3" json:"FeePriceC,omitempty"`
	Plugin           string                 `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"`
	PluginVersion    string                 `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"`
	Created          *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"`
	Updated          *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"`
	// contains filtered or unexported fields
}

func (*Trade) Descriptor deprecated

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

Deprecated: Use Trade.ProtoReflect.Descriptor instead.

func (*Trade) GetAccount

func (x *Trade) GetAccount() string

func (*Trade) GetAction

func (x *Trade) GetAction() TxAction

func (*Trade) GetAmount

func (x *Trade) GetAmount() string

func (*Trade) GetAsset

func (x *Trade) GetAsset() string

func (*Trade) GetAssetType

func (x *Trade) GetAssetType() AssetType

func (*Trade) GetComment

func (x *Trade) GetComment() string

func (*Trade) GetCreated

func (x *Trade) GetCreated() *timestamppb.Timestamp

func (*Trade) GetFee

func (x *Trade) GetFee() string

func (*Trade) GetFeeC

func (x *Trade) GetFeeC() string

func (*Trade) GetFeeConvertedBy

func (x *Trade) GetFeeConvertedBy() string

func (*Trade) GetFeeCurrency

func (x *Trade) GetFeeCurrency() string

func (*Trade) GetFeePriceC

func (x *Trade) GetFeePriceC() string

func (*Trade) GetFeeRate

func (x *Trade) GetFeeRate() string

func (*Trade) GetOrderID

func (x *Trade) GetOrderID() string

func (*Trade) GetOrderType

func (x *Trade) GetOrderType() OrderType

func (*Trade) GetPlugin

func (x *Trade) GetPlugin() string

func (*Trade) GetPluginVersion

func (x *Trade) GetPluginVersion() string

func (*Trade) GetPrice

func (x *Trade) GetPrice() string

func (*Trade) GetPriceC

func (x *Trade) GetPriceC() string

func (*Trade) GetPriceConvertedBy

func (x *Trade) GetPriceConvertedBy() string

func (*Trade) GetQuote

func (x *Trade) GetQuote() string

func (*Trade) GetTicker

func (x *Trade) GetTicker() string

func (*Trade) GetTs

func (x *Trade) GetTs() *timestamppb.Timestamp

func (*Trade) GetTxID

func (x *Trade) GetTxID() string

func (*Trade) GetUpdated

func (x *Trade) GetUpdated() *timestamppb.Timestamp

func (*Trade) GetValue

func (x *Trade) GetValue() string

func (*Trade) GetValueC

func (x *Trade) GetValueC() string

func (*Trade) ProtoMessage

func (*Trade) ProtoMessage()

func (*Trade) ProtoReflect

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

func (*Trade) Reset

func (x *Trade) Reset()

func (*Trade) String

func (x *Trade) String() string

type TradeConversionJob

type TradeConversionJob struct {
	Trade          *Trade `protobuf:"bytes,1,opt,name=Trade,proto3" json:"Trade,omitempty"`
	TargetCurrency string `protobuf:"bytes,2,opt,name=TargetCurrency,proto3" json:"TargetCurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*TradeConversionJob) Descriptor deprecated

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

Deprecated: Use TradeConversionJob.ProtoReflect.Descriptor instead.

func (*TradeConversionJob) GetTargetCurrency

func (x *TradeConversionJob) GetTargetCurrency() string

func (*TradeConversionJob) GetTrade

func (x *TradeConversionJob) GetTrade() *Trade

func (*TradeConversionJob) ProtoMessage

func (*TradeConversionJob) ProtoMessage()

func (*TradeConversionJob) ProtoReflect

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

func (*TradeConversionJob) Reset

func (x *TradeConversionJob) Reset()

func (*TradeConversionJob) String

func (x *TradeConversionJob) String() string

type Transfer

type Transfer struct {
	TxID           string                 `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"`
	Ts             *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"`
	Account        string                 `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"`
	Source         string                 `protobuf:"bytes,4,opt,name=Source,proto3" json:"Source,omitempty"`
	Destination    string                 `protobuf:"bytes,5,opt,name=Destination,proto3" json:"Destination,omitempty"`
	Comment        string                 `protobuf:"bytes,6,opt,name=Comment,proto3" json:"Comment,omitempty"`
	Asset          string                 `protobuf:"bytes,1000,opt,name=Asset,proto3" json:"Asset,omitempty"`
	Amount         string                 `protobuf:"bytes,2001,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Action         TransferAction         `protobuf:"varint,2000,opt,name=Action,proto3,enum=FTaxesGrpc.TransferAction" json:"Action,omitempty"`
	Fee            string                 `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"`
	FeeC           string                 `protobuf:"bytes,3001,opt,name=FeeC,proto3" json:"FeeC,omitempty"`
	FeeConvertedBy string                 `protobuf:"bytes,3002,opt,name=FeeConvertedBy,proto3" json:"FeeConvertedBy,omitempty"`
	FeeCurrency    string                 `protobuf:"bytes,3003,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"`
	FeePriceC      string                 `protobuf:"bytes,3004,opt,name=FeePriceC,proto3" json:"FeePriceC,omitempty"`
	Plugin         string                 `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"`
	PluginVersion  string                 `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"`
	Created        *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"`
	Updated        *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"`
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAccount

func (x *Transfer) GetAccount() string

func (*Transfer) GetAction

func (x *Transfer) GetAction() TransferAction

func (*Transfer) GetAmount

func (x *Transfer) GetAmount() string

func (*Transfer) GetAsset

func (x *Transfer) GetAsset() string

func (*Transfer) GetComment

func (x *Transfer) GetComment() string

func (*Transfer) GetCreated

func (x *Transfer) GetCreated() *timestamppb.Timestamp

func (*Transfer) GetDestination

func (x *Transfer) GetDestination() string

func (*Transfer) GetFee

func (x *Transfer) GetFee() string

func (*Transfer) GetFeeC

func (x *Transfer) GetFeeC() string

func (*Transfer) GetFeeConvertedBy

func (x *Transfer) GetFeeConvertedBy() string

func (*Transfer) GetFeeCurrency

func (x *Transfer) GetFeeCurrency() string

func (*Transfer) GetFeePriceC

func (x *Transfer) GetFeePriceC() string

func (*Transfer) GetPlugin

func (x *Transfer) GetPlugin() string

func (*Transfer) GetPluginVersion

func (x *Transfer) GetPluginVersion() string

func (*Transfer) GetSource

func (x *Transfer) GetSource() string

func (*Transfer) GetTs

func (x *Transfer) GetTs() *timestamppb.Timestamp

func (*Transfer) GetTxID

func (x *Transfer) GetTxID() string

func (*Transfer) GetUpdated

func (x *Transfer) GetUpdated() *timestamppb.Timestamp

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type TransferAction

type TransferAction int32
const (
	TransferAction_DEPOSIT    TransferAction = 0
	TransferAction_WITHDRAWAL TransferAction = 1
)

func (TransferAction) Descriptor

func (TransferAction) Enum

func (x TransferAction) Enum() *TransferAction

func (TransferAction) EnumDescriptor deprecated

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

Deprecated: Use TransferAction.Descriptor instead.

func (TransferAction) Number

func (TransferAction) String

func (x TransferAction) String() string

func (TransferAction) Type

type TransferConversionJob

type TransferConversionJob struct {
	Transfer       *Transfer `protobuf:"bytes,1,opt,name=Transfer,proto3" json:"Transfer,omitempty"`
	TargetCurrency string    `protobuf:"bytes,2,opt,name=TargetCurrency,proto3" json:"TargetCurrency,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferConversionJob) Descriptor deprecated

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

Deprecated: Use TransferConversionJob.ProtoReflect.Descriptor instead.

func (*TransferConversionJob) GetTargetCurrency

func (x *TransferConversionJob) GetTargetCurrency() string

func (*TransferConversionJob) GetTransfer

func (x *TransferConversionJob) GetTransfer() *Transfer

func (*TransferConversionJob) ProtoMessage

func (*TransferConversionJob) ProtoMessage()

func (*TransferConversionJob) ProtoReflect

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

func (*TransferConversionJob) Reset

func (x *TransferConversionJob) Reset()

func (*TransferConversionJob) String

func (x *TransferConversionJob) String() string

type TxAction

type TxAction int32
const (
	TxAction_BUY  TxAction = 0
	TxAction_SELL TxAction = 1
)

func (TxAction) Descriptor

func (TxAction) Descriptor() protoreflect.EnumDescriptor

func (TxAction) Enum

func (x TxAction) Enum() *TxAction

func (TxAction) EnumDescriptor deprecated

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

Deprecated: Use TxAction.Descriptor instead.

func (TxAction) Number

func (x TxAction) Number() protoreflect.EnumNumber

func (TxAction) String

func (x TxAction) String() string

func (TxAction) Type

type TxUpdate

type TxUpdate struct {
	Since *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=Since,proto3" json:"Since,omitempty"`
	// contains filtered or unexported fields
}

func (*TxUpdate) Descriptor deprecated

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

Deprecated: Use TxUpdate.ProtoReflect.Descriptor instead.

func (*TxUpdate) GetSince

func (x *TxUpdate) GetSince() *timestamppb.Timestamp

func (*TxUpdate) ProtoMessage

func (*TxUpdate) ProtoMessage()

func (*TxUpdate) ProtoReflect

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

func (*TxUpdate) Reset

func (x *TxUpdate) Reset()

func (*TxUpdate) String

func (x *TxUpdate) String() string

type UnimplementedFTaxesServer

type UnimplementedFTaxesServer struct {
}

UnimplementedFTaxesServer must be embedded to have forward compatible implementations.

func (UnimplementedFTaxesServer) AppLog

func (UnimplementedFTaxesServer) GetSettings

func (UnimplementedFTaxesServer) ShowJobProgress

func (UnimplementedFTaxesServer) StreamRecords

func (UnimplementedFTaxesServer) SubmitGenericFee

func (UnimplementedFTaxesServer) SubmitTrade

func (UnimplementedFTaxesServer) SubmitTransfer

type UnimplementedPluginCtlServer

type UnimplementedPluginCtlServer struct {
}

UnimplementedPluginCtlServer must be embedded to have forward compatible implementations.

func (UnimplementedPluginCtlServer) ConvertPricesInTrade

func (UnimplementedPluginCtlServer) ConvertPricesInTransfer

func (UnimplementedPluginCtlServer) UpdateTrades

type UnsafeFTaxesServer

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

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

type UnsafePluginCtlServer

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

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

Jump to

Keyboard shortcuts

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