types

package
v0.0.0-...-ac3f6eb Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddressWithBlindingKey

type AddressWithBlindingKey struct {

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

func (*AddressWithBlindingKey) Descriptor deprecated

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

Deprecated: Use AddressWithBlindingKey.ProtoReflect.Descriptor instead.

func (*AddressWithBlindingKey) GetAddress

func (x *AddressWithBlindingKey) GetAddress() string

func (*AddressWithBlindingKey) GetBlinding

func (x *AddressWithBlindingKey) GetBlinding() string

func (*AddressWithBlindingKey) ProtoMessage

func (*AddressWithBlindingKey) ProtoMessage()

func (*AddressWithBlindingKey) ProtoReflect

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

func (*AddressWithBlindingKey) Reset

func (x *AddressWithBlindingKey) Reset()

func (*AddressWithBlindingKey) String

func (x *AddressWithBlindingKey) String() string

type Balance

type Balance 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"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetBaseAmount

func (x *Balance) GetBaseAmount() uint64

func (*Balance) GetQuoteAmount

func (x *Balance) GetQuoteAmount() 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 BalanceWithFee

type BalanceWithFee struct {
	Balance *Balance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	Fee     *Fee     `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceWithFee) Descriptor deprecated

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

Deprecated: Use BalanceWithFee.ProtoReflect.Descriptor instead.

func (*BalanceWithFee) GetBalance

func (x *BalanceWithFee) GetBalance() *Balance

func (*BalanceWithFee) GetFee

func (x *BalanceWithFee) GetFee() *Fee

func (*BalanceWithFee) ProtoMessage

func (*BalanceWithFee) ProtoMessage()

func (*BalanceWithFee) ProtoReflect

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

func (*BalanceWithFee) Reset

func (x *BalanceWithFee) Reset()

func (*BalanceWithFee) String

func (x *BalanceWithFee) String() string

type Fee

type Fee struct {
	BasisPoint int64  `protobuf:"varint,2,opt,name=basis_point,json=basisPoint,proto3" json:"basis_point,omitempty"`
	Fixed      *Fixed `protobuf:"bytes,3,opt,name=fixed,proto3" json:"fixed,omitempty"`
	// contains filtered or unexported fields
}

Custom Types

func (*Fee) Descriptor deprecated

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

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetBasisPoint

func (x *Fee) GetBasisPoint() int64

func (*Fee) GetFixed

func (x *Fee) GetFixed() *Fixed

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect

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

func (*Fee) Reset

func (x *Fee) Reset()

func (*Fee) String

func (x *Fee) String() string

type Fixed

type Fixed struct {
	BaseFee  int64 `protobuf:"varint,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	QuoteFee int64 `protobuf:"varint,2,opt,name=quote_fee,json=quoteFee,proto3" json:"quote_fee,omitempty"`
	// contains filtered or unexported fields
}

func (*Fixed) Descriptor deprecated

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

Deprecated: Use Fixed.ProtoReflect.Descriptor instead.

func (*Fixed) GetBaseFee

func (x *Fixed) GetBaseFee() int64

func (*Fixed) GetQuoteFee

func (x *Fixed) GetQuoteFee() int64

func (*Fixed) ProtoMessage

func (*Fixed) ProtoMessage()

func (*Fixed) ProtoReflect

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

func (*Fixed) Reset

func (x *Fixed) Reset()

func (*Fixed) String

func (x *Fixed) String() string

type Market

type Market struct {
	BaseAsset  string `protobuf:"bytes,1,opt,name=base_asset,json=baseAsset,proto3" json:"base_asset,omitempty"`
	QuoteAsset string `protobuf:"bytes,2,opt,name=quote_asset,json=quoteAsset,proto3" json:"quote_asset,omitempty"`
	// contains filtered or unexported fields
}

func (*Market) Descriptor deprecated

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

Deprecated: Use Market.ProtoReflect.Descriptor instead.

func (*Market) GetBaseAsset

func (x *Market) GetBaseAsset() string

func (*Market) GetQuoteAsset

func (x *Market) GetQuoteAsset() string

func (*Market) ProtoMessage

func (*Market) ProtoMessage()

func (*Market) ProtoReflect

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

func (*Market) Reset

func (x *Market) Reset()

func (*Market) String

func (x *Market) String() string

type MarketWithFee

type MarketWithFee struct {
	Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	Fee    *Fee    `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketWithFee) Descriptor deprecated

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

Deprecated: Use MarketWithFee.ProtoReflect.Descriptor instead.

func (*MarketWithFee) GetFee

func (x *MarketWithFee) GetFee() *Fee

func (*MarketWithFee) GetMarket

func (x *MarketWithFee) GetMarket() *Market

func (*MarketWithFee) ProtoMessage

func (*MarketWithFee) ProtoMessage()

func (*MarketWithFee) ProtoReflect

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

func (*MarketWithFee) Reset

func (x *MarketWithFee) Reset()

func (*MarketWithFee) String

func (x *MarketWithFee) String() string

type Price

type Price struct {
	BasePriceDeprecated  float32 `protobuf:"fixed32,1,opt,name=base_price_deprecated,json=basePriceDeprecated,proto3" json:"base_price_deprecated,omitempty"`
	QuotePriceDeprecated float32 `protobuf:"fixed32,2,opt,name=quote_price_deprecated,json=quotePriceDeprecated,proto3" json:"quote_price_deprecated,omitempty"`
	BasePrice            float64 `protobuf:"fixed64,3,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty"`
	QuotePrice           float64 `protobuf:"fixed64,4,opt,name=quote_price,json=quotePrice,proto3" json:"quote_price,omitempty"`
	// contains filtered or unexported fields
}

func (*Price) Descriptor deprecated

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

Deprecated: Use Price.ProtoReflect.Descriptor instead.

func (*Price) GetBasePrice

func (x *Price) GetBasePrice() float64

func (*Price) GetBasePriceDeprecated

func (x *Price) GetBasePriceDeprecated() float32

func (*Price) GetQuotePrice

func (x *Price) GetQuotePrice() float64

func (*Price) GetQuotePriceDeprecated

func (x *Price) GetQuotePriceDeprecated() float32

func (*Price) ProtoMessage

func (*Price) ProtoMessage()

func (*Price) ProtoReflect

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

func (*Price) Reset

func (x *Price) Reset()

func (*Price) String

func (x *Price) String() string

type PriceWithFee

type PriceWithFee struct {
	Price   *Price   `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
	Fee     *Fee     `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	Amount  uint64   `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Asset   string   `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
	Balance *Balance `protobuf:"bytes,5,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*PriceWithFee) Descriptor deprecated

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

Deprecated: Use PriceWithFee.ProtoReflect.Descriptor instead.

func (*PriceWithFee) GetAmount

func (x *PriceWithFee) GetAmount() uint64

func (*PriceWithFee) GetAsset

func (x *PriceWithFee) GetAsset() string

func (*PriceWithFee) GetBalance

func (x *PriceWithFee) GetBalance() *Balance

func (*PriceWithFee) GetFee

func (x *PriceWithFee) GetFee() *Fee

func (*PriceWithFee) GetPrice

func (x *PriceWithFee) GetPrice() *Price

func (*PriceWithFee) ProtoMessage

func (*PriceWithFee) ProtoMessage()

func (*PriceWithFee) ProtoReflect

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

func (*PriceWithFee) Reset

func (x *PriceWithFee) Reset()

func (*PriceWithFee) String

func (x *PriceWithFee) String() string

Jump to

Keyboard shortcuts

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