Documentation ¶
Index ¶
- Variables
- func RegisterStreamServer(s grpc1.Server, srv StreamServer)
- type BankBalance
- func (*BankBalance) Descriptor() ([]byte, []int)
- func (m *BankBalance) GetAccount() string
- func (m *BankBalance) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *BankBalance) Marshal() (dAtA []byte, err error)
- func (m *BankBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *BankBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BankBalance) ProtoMessage()
- func (m *BankBalance) Reset()
- func (m *BankBalance) Size() (n int)
- func (m *BankBalance) String() string
- func (m *BankBalance) Unmarshal(dAtA []byte) error
- func (m *BankBalance) XXX_DiscardUnknown()
- func (m *BankBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BankBalance) XXX_Merge(src proto.Message)
- func (m *BankBalance) XXX_Size() int
- func (m *BankBalance) XXX_Unmarshal(b []byte) error
- type BankBalancesFilter
- func (*BankBalancesFilter) Descriptor() ([]byte, []int)
- func (m *BankBalancesFilter) GetAccounts() []string
- func (m *BankBalancesFilter) Marshal() (dAtA []byte, err error)
- func (m *BankBalancesFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *BankBalancesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BankBalancesFilter) ProtoMessage()
- func (m *BankBalancesFilter) Reset()
- func (m *BankBalancesFilter) Size() (n int)
- func (m *BankBalancesFilter) String() string
- func (m *BankBalancesFilter) Unmarshal(dAtA []byte) error
- func (m *BankBalancesFilter) XXX_DiscardUnknown()
- func (m *BankBalancesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BankBalancesFilter) XXX_Merge(src proto.Message)
- func (m *BankBalancesFilter) XXX_Size() int
- func (m *BankBalancesFilter) XXX_Unmarshal(b []byte) error
- type DerivativeOrder
- func (*DerivativeOrder) Descriptor() ([]byte, []int)
- func (m *DerivativeOrder) GetIsMarket() bool
- func (m *DerivativeOrder) GetMarketId() string
- func (m *DerivativeOrder) GetOrder() types.DerivativeLimitOrder
- func (m *DerivativeOrder) Marshal() (dAtA []byte, err error)
- func (m *DerivativeOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeOrder) ProtoMessage()
- func (m *DerivativeOrder) Reset()
- func (m *DerivativeOrder) Size() (n int)
- func (m *DerivativeOrder) String() string
- func (m *DerivativeOrder) Unmarshal(dAtA []byte) error
- func (m *DerivativeOrder) XXX_DiscardUnknown()
- func (m *DerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeOrder) XXX_Merge(src proto.Message)
- func (m *DerivativeOrder) XXX_Size() int
- func (m *DerivativeOrder) XXX_Unmarshal(b []byte) error
- type DerivativeOrderUpdate
- func (*DerivativeOrderUpdate) Descriptor() ([]byte, []int)
- func (m *DerivativeOrderUpdate) GetCid() string
- func (m *DerivativeOrderUpdate) GetOrder() *DerivativeOrder
- func (m *DerivativeOrderUpdate) GetOrderHash() []byte
- func (m *DerivativeOrderUpdate) GetStatus() OrderUpdateStatus
- func (m *DerivativeOrderUpdate) Marshal() (dAtA []byte, err error)
- func (m *DerivativeOrderUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeOrderUpdate) ProtoMessage()
- func (m *DerivativeOrderUpdate) Reset()
- func (m *DerivativeOrderUpdate) Size() (n int)
- func (m *DerivativeOrderUpdate) String() string
- func (m *DerivativeOrderUpdate) Unmarshal(dAtA []byte) error
- func (m *DerivativeOrderUpdate) XXX_DiscardUnknown()
- func (m *DerivativeOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeOrderUpdate) XXX_Merge(src proto.Message)
- func (m *DerivativeOrderUpdate) XXX_Size() int
- func (m *DerivativeOrderUpdate) XXX_Unmarshal(b []byte) error
- type DerivativeTrade
- func (*DerivativeTrade) Descriptor() ([]byte, []int)
- func (m *DerivativeTrade) GetCid() string
- func (m *DerivativeTrade) GetExecutionType() string
- func (m *DerivativeTrade) GetFeeRecipientAddress() string
- func (m *DerivativeTrade) GetIsBuy() bool
- func (m *DerivativeTrade) GetMarketId() string
- func (m *DerivativeTrade) GetOrderHash() string
- func (m *DerivativeTrade) GetPositionDelta() *types.PositionDelta
- func (m *DerivativeTrade) GetSubaccountId() string
- func (m *DerivativeTrade) GetTradeId() string
- func (m *DerivativeTrade) Marshal() (dAtA []byte, err error)
- func (m *DerivativeTrade) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeTrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeTrade) ProtoMessage()
- func (m *DerivativeTrade) Reset()
- func (m *DerivativeTrade) Size() (n int)
- func (m *DerivativeTrade) String() string
- func (m *DerivativeTrade) Unmarshal(dAtA []byte) error
- func (m *DerivativeTrade) XXX_DiscardUnknown()
- func (m *DerivativeTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeTrade) XXX_Merge(src proto.Message)
- func (m *DerivativeTrade) XXX_Size() int
- func (m *DerivativeTrade) XXX_Unmarshal(b []byte) error
- type Empty
- type OraclePrice
- func (*OraclePrice) Descriptor() ([]byte, []int)
- func (m *OraclePrice) GetSymbol() string
- func (m *OraclePrice) GetType() string
- func (m *OraclePrice) Marshal() (dAtA []byte, err error)
- func (m *OraclePrice) MarshalTo(dAtA []byte) (int, error)
- func (m *OraclePrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OraclePrice) ProtoMessage()
- func (m *OraclePrice) Reset()
- func (m *OraclePrice) Size() (n int)
- func (m *OraclePrice) String() string
- func (m *OraclePrice) Unmarshal(dAtA []byte) error
- func (m *OraclePrice) XXX_DiscardUnknown()
- func (m *OraclePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OraclePrice) XXX_Merge(src proto.Message)
- func (m *OraclePrice) XXX_Size() int
- func (m *OraclePrice) XXX_Unmarshal(b []byte) error
- type OraclePriceFilter
- func (*OraclePriceFilter) Descriptor() ([]byte, []int)
- func (m *OraclePriceFilter) GetSymbol() []string
- func (m *OraclePriceFilter) Marshal() (dAtA []byte, err error)
- func (m *OraclePriceFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *OraclePriceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OraclePriceFilter) ProtoMessage()
- func (m *OraclePriceFilter) Reset()
- func (m *OraclePriceFilter) Size() (n int)
- func (m *OraclePriceFilter) String() string
- func (m *OraclePriceFilter) Unmarshal(dAtA []byte) error
- func (m *OraclePriceFilter) XXX_DiscardUnknown()
- func (m *OraclePriceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OraclePriceFilter) XXX_Merge(src proto.Message)
- func (m *OraclePriceFilter) XXX_Size() int
- func (m *OraclePriceFilter) XXX_Unmarshal(b []byte) error
- type OrderUpdateStatus
- type Orderbook
- func (*Orderbook) Descriptor() ([]byte, []int)
- func (m *Orderbook) GetBuyLevels() []*types.Level
- func (m *Orderbook) GetMarketId() string
- func (m *Orderbook) GetSellLevels() []*types.Level
- func (m *Orderbook) Marshal() (dAtA []byte, err error)
- func (m *Orderbook) MarshalTo(dAtA []byte) (int, error)
- func (m *Orderbook) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Orderbook) ProtoMessage()
- func (m *Orderbook) Reset()
- func (m *Orderbook) Size() (n int)
- func (m *Orderbook) String() string
- func (m *Orderbook) Unmarshal(dAtA []byte) error
- func (m *Orderbook) XXX_DiscardUnknown()
- func (m *Orderbook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Orderbook) XXX_Merge(src proto.Message)
- func (m *Orderbook) XXX_Size() int
- func (m *Orderbook) XXX_Unmarshal(b []byte) error
- type OrderbookFilter
- func (*OrderbookFilter) Descriptor() ([]byte, []int)
- func (m *OrderbookFilter) GetMarketIds() []string
- func (m *OrderbookFilter) Marshal() (dAtA []byte, err error)
- func (m *OrderbookFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderbookFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderbookFilter) ProtoMessage()
- func (m *OrderbookFilter) Reset()
- func (m *OrderbookFilter) Size() (n int)
- func (m *OrderbookFilter) String() string
- func (m *OrderbookFilter) Unmarshal(dAtA []byte) error
- func (m *OrderbookFilter) XXX_DiscardUnknown()
- func (m *OrderbookFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderbookFilter) XXX_Merge(src proto.Message)
- func (m *OrderbookFilter) XXX_Size() int
- func (m *OrderbookFilter) XXX_Unmarshal(b []byte) error
- type OrderbookUpdate
- func (*OrderbookUpdate) Descriptor() ([]byte, []int)
- func (m *OrderbookUpdate) GetOrderbook() *Orderbook
- func (m *OrderbookUpdate) GetSeq() uint64
- func (m *OrderbookUpdate) Marshal() (dAtA []byte, err error)
- func (m *OrderbookUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderbookUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderbookUpdate) ProtoMessage()
- func (m *OrderbookUpdate) Reset()
- func (m *OrderbookUpdate) Size() (n int)
- func (m *OrderbookUpdate) String() string
- func (m *OrderbookUpdate) Unmarshal(dAtA []byte) error
- func (m *OrderbookUpdate) XXX_DiscardUnknown()
- func (m *OrderbookUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderbookUpdate) XXX_Merge(src proto.Message)
- func (m *OrderbookUpdate) XXX_Size() int
- func (m *OrderbookUpdate) XXX_Unmarshal(b []byte) error
- type OrdersFilter
- func (*OrdersFilter) Descriptor() ([]byte, []int)
- func (m *OrdersFilter) GetMarketIds() []string
- func (m *OrdersFilter) GetSubaccountIds() []string
- func (m *OrdersFilter) Marshal() (dAtA []byte, err error)
- func (m *OrdersFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *OrdersFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrdersFilter) ProtoMessage()
- func (m *OrdersFilter) Reset()
- func (m *OrdersFilter) Size() (n int)
- func (m *OrdersFilter) String() string
- func (m *OrdersFilter) Unmarshal(dAtA []byte) error
- func (m *OrdersFilter) XXX_DiscardUnknown()
- func (m *OrdersFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrdersFilter) XXX_Merge(src proto.Message)
- func (m *OrdersFilter) XXX_Size() int
- func (m *OrdersFilter) XXX_Unmarshal(b []byte) error
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) GetIsLong() bool
- func (m *Position) GetMarketId() string
- func (m *Position) GetSubaccountId() string
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type PositionsFilter
- func (*PositionsFilter) Descriptor() ([]byte, []int)
- func (m *PositionsFilter) GetMarketIds() []string
- func (m *PositionsFilter) GetSubaccountIds() []string
- func (m *PositionsFilter) Marshal() (dAtA []byte, err error)
- func (m *PositionsFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsFilter) ProtoMessage()
- func (m *PositionsFilter) Reset()
- func (m *PositionsFilter) Size() (n int)
- func (m *PositionsFilter) String() string
- func (m *PositionsFilter) Unmarshal(dAtA []byte) error
- func (m *PositionsFilter) XXX_DiscardUnknown()
- func (m *PositionsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsFilter) XXX_Merge(src proto.Message)
- func (m *PositionsFilter) XXX_Size() int
- func (m *PositionsFilter) XXX_Unmarshal(b []byte) error
- type SpotOrder
- func (*SpotOrder) Descriptor() ([]byte, []int)
- func (m *SpotOrder) GetMarketId() string
- func (m *SpotOrder) GetOrder() types.SpotLimitOrder
- func (m *SpotOrder) Marshal() (dAtA []byte, err error)
- func (m *SpotOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotOrder) ProtoMessage()
- func (m *SpotOrder) Reset()
- func (m *SpotOrder) Size() (n int)
- func (m *SpotOrder) String() string
- func (m *SpotOrder) Unmarshal(dAtA []byte) error
- func (m *SpotOrder) XXX_DiscardUnknown()
- func (m *SpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotOrder) XXX_Merge(src proto.Message)
- func (m *SpotOrder) XXX_Size() int
- func (m *SpotOrder) XXX_Unmarshal(b []byte) error
- type SpotOrderUpdate
- func (*SpotOrderUpdate) Descriptor() ([]byte, []int)
- func (m *SpotOrderUpdate) GetCid() string
- func (m *SpotOrderUpdate) GetOrder() *SpotOrder
- func (m *SpotOrderUpdate) GetOrderHash() []byte
- func (m *SpotOrderUpdate) GetStatus() OrderUpdateStatus
- func (m *SpotOrderUpdate) Marshal() (dAtA []byte, err error)
- func (m *SpotOrderUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotOrderUpdate) ProtoMessage()
- func (m *SpotOrderUpdate) Reset()
- func (m *SpotOrderUpdate) Size() (n int)
- func (m *SpotOrderUpdate) String() string
- func (m *SpotOrderUpdate) Unmarshal(dAtA []byte) error
- func (m *SpotOrderUpdate) XXX_DiscardUnknown()
- func (m *SpotOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotOrderUpdate) XXX_Merge(src proto.Message)
- func (m *SpotOrderUpdate) XXX_Size() int
- func (m *SpotOrderUpdate) XXX_Unmarshal(b []byte) error
- type SpotTrade
- func (*SpotTrade) Descriptor() ([]byte, []int)
- func (m *SpotTrade) GetCid() string
- func (m *SpotTrade) GetExecutionType() string
- func (m *SpotTrade) GetFeeRecipientAddress() string
- func (m *SpotTrade) GetIsBuy() bool
- func (m *SpotTrade) GetMarketId() string
- func (m *SpotTrade) GetOrderHash() []byte
- func (m *SpotTrade) GetSubaccountId() string
- func (m *SpotTrade) GetTradeId() string
- func (m *SpotTrade) Marshal() (dAtA []byte, err error)
- func (m *SpotTrade) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotTrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotTrade) ProtoMessage()
- func (m *SpotTrade) Reset()
- func (m *SpotTrade) Size() (n int)
- func (m *SpotTrade) String() string
- func (m *SpotTrade) Unmarshal(dAtA []byte) error
- func (m *SpotTrade) XXX_DiscardUnknown()
- func (m *SpotTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotTrade) XXX_Merge(src proto.Message)
- func (m *SpotTrade) XXX_Size() int
- func (m *SpotTrade) XXX_Unmarshal(b []byte) error
- type StreamClient
- type StreamRequest
- func (*StreamRequest) Descriptor() ([]byte, []int)
- func (m *StreamRequest) GetBankBalancesFilter() *BankBalancesFilter
- func (m *StreamRequest) GetDerivativeOrderbooksFilter() *OrderbookFilter
- func (m *StreamRequest) GetDerivativeOrdersFilter() *OrdersFilter
- func (m *StreamRequest) GetDerivativeTradesFilter() *TradesFilter
- func (m *StreamRequest) GetOraclePriceFilter() *OraclePriceFilter
- func (m *StreamRequest) GetPositionsFilter() *PositionsFilter
- func (m *StreamRequest) GetSpotOrderbooksFilter() *OrderbookFilter
- func (m *StreamRequest) GetSpotOrdersFilter() *OrdersFilter
- func (m *StreamRequest) GetSpotTradesFilter() *TradesFilter
- func (m *StreamRequest) GetSubaccountDepositsFilter() *SubaccountDepositsFilter
- func (m *StreamRequest) Marshal() (dAtA []byte, err error)
- func (m *StreamRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamRequest) ProtoMessage()
- func (m *StreamRequest) Reset()
- func (m *StreamRequest) Size() (n int)
- func (m *StreamRequest) String() string
- func (m *StreamRequest) Unmarshal(dAtA []byte) error
- func (m *StreamRequest) Validate() error
- func (m *StreamRequest) XXX_DiscardUnknown()
- func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamRequest) XXX_Merge(src proto.Message)
- func (m *StreamRequest) XXX_Size() int
- func (m *StreamRequest) XXX_Unmarshal(b []byte) error
- type StreamResponse
- func (*StreamResponse) Descriptor() ([]byte, []int)
- func (m *StreamResponse) GetBankBalances() []*BankBalance
- func (m *StreamResponse) GetBlockHeight() uint64
- func (m *StreamResponse) GetBlockTime() int64
- func (m *StreamResponse) GetDerivativeOrderbookUpdates() []*OrderbookUpdate
- func (m *StreamResponse) GetDerivativeOrders() []*DerivativeOrderUpdate
- func (m *StreamResponse) GetDerivativeTrades() []*DerivativeTrade
- func (m *StreamResponse) GetOraclePrices() []*OraclePrice
- func (m *StreamResponse) GetPositions() []*Position
- func (m *StreamResponse) GetSpotOrderbookUpdates() []*OrderbookUpdate
- func (m *StreamResponse) GetSpotOrders() []*SpotOrderUpdate
- func (m *StreamResponse) GetSpotTrades() []*SpotTrade
- func (m *StreamResponse) GetSubaccountDeposits() []*SubaccountDeposits
- func (m *StreamResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamResponse) ProtoMessage()
- func (m *StreamResponse) Reset()
- func (m *StreamResponse) Size() (n int)
- func (m *StreamResponse) String() string
- func (m *StreamResponse) Unmarshal(dAtA []byte) error
- func (m *StreamResponse) XXX_DiscardUnknown()
- func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamResponse) XXX_Merge(src proto.Message)
- func (m *StreamResponse) XXX_Size() int
- func (m *StreamResponse) XXX_Unmarshal(b []byte) error
- type StreamResponseMap
- type StreamServer
- type Stream_StreamClient
- type Stream_StreamServer
- type SubaccountDeposit
- func (*SubaccountDeposit) Descriptor() ([]byte, []int)
- func (m *SubaccountDeposit) GetDenom() string
- func (m *SubaccountDeposit) GetDeposit() types.Deposit
- func (m *SubaccountDeposit) Marshal() (dAtA []byte, err error)
- func (m *SubaccountDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountDeposit) ProtoMessage()
- func (m *SubaccountDeposit) Reset()
- func (m *SubaccountDeposit) Size() (n int)
- func (m *SubaccountDeposit) String() string
- func (m *SubaccountDeposit) Unmarshal(dAtA []byte) error
- func (m *SubaccountDeposit) XXX_DiscardUnknown()
- func (m *SubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountDeposit) XXX_Merge(src proto.Message)
- func (m *SubaccountDeposit) XXX_Size() int
- func (m *SubaccountDeposit) XXX_Unmarshal(b []byte) error
- type SubaccountDeposits
- func (*SubaccountDeposits) Descriptor() ([]byte, []int)
- func (m *SubaccountDeposits) GetDeposits() []SubaccountDeposit
- func (m *SubaccountDeposits) GetSubaccountId() string
- func (m *SubaccountDeposits) Marshal() (dAtA []byte, err error)
- func (m *SubaccountDeposits) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountDeposits) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountDeposits) ProtoMessage()
- func (m *SubaccountDeposits) Reset()
- func (m *SubaccountDeposits) Size() (n int)
- func (m *SubaccountDeposits) String() string
- func (m *SubaccountDeposits) Unmarshal(dAtA []byte) error
- func (m *SubaccountDeposits) XXX_DiscardUnknown()
- func (m *SubaccountDeposits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountDeposits) XXX_Merge(src proto.Message)
- func (m *SubaccountDeposits) XXX_Size() int
- func (m *SubaccountDeposits) XXX_Unmarshal(b []byte) error
- type SubaccountDepositsFilter
- func (*SubaccountDepositsFilter) Descriptor() ([]byte, []int)
- func (m *SubaccountDepositsFilter) GetSubaccountIds() []string
- func (m *SubaccountDepositsFilter) Marshal() (dAtA []byte, err error)
- func (m *SubaccountDepositsFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountDepositsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountDepositsFilter) ProtoMessage()
- func (m *SubaccountDepositsFilter) Reset()
- func (m *SubaccountDepositsFilter) Size() (n int)
- func (m *SubaccountDepositsFilter) String() string
- func (m *SubaccountDepositsFilter) Unmarshal(dAtA []byte) error
- func (m *SubaccountDepositsFilter) XXX_DiscardUnknown()
- func (m *SubaccountDepositsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountDepositsFilter) XXX_Merge(src proto.Message)
- func (m *SubaccountDepositsFilter) XXX_Size() int
- func (m *SubaccountDepositsFilter) XXX_Unmarshal(b []byte) error
- type TradesFilter
- func (*TradesFilter) Descriptor() ([]byte, []int)
- func (m *TradesFilter) GetMarketIds() []string
- func (m *TradesFilter) GetSubaccountIds() []string
- func (m *TradesFilter) Marshal() (dAtA []byte, err error)
- func (m *TradesFilter) MarshalTo(dAtA []byte) (int, error)
- func (m *TradesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradesFilter) ProtoMessage()
- func (m *TradesFilter) Reset()
- func (m *TradesFilter) Size() (n int)
- func (m *TradesFilter) String() string
- func (m *TradesFilter) Unmarshal(dAtA []byte) error
- func (m *TradesFilter) XXX_DiscardUnknown()
- func (m *TradesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradesFilter) XXX_Merge(src proto.Message)
- func (m *TradesFilter) XXX_Size() int
- func (m *TradesFilter) XXX_Unmarshal(b []byte) error
- type UnimplementedStreamServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
View Source
var OrderUpdateStatus_name = map[int32]string{
0: "Unspecified",
1: "Booked",
2: "Matched",
3: "Cancelled",
}
View Source
var OrderUpdateStatus_value = map[string]int32{
"Unspecified": 0,
"Booked": 1,
"Matched": 2,
"Cancelled": 3,
}
Functions ¶
func RegisterStreamServer ¶
func RegisterStreamServer(s grpc1.Server, srv StreamServer)
Types ¶
type BankBalance ¶
type BankBalance struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"` }
func (*BankBalance) Descriptor ¶
func (*BankBalance) Descriptor() ([]byte, []int)
func (*BankBalance) GetAccount ¶
func (m *BankBalance) GetAccount() string
func (*BankBalance) GetBalances ¶
func (m *BankBalance) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins
func (*BankBalance) Marshal ¶
func (m *BankBalance) Marshal() (dAtA []byte, err error)
func (*BankBalance) MarshalToSizedBuffer ¶
func (m *BankBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BankBalance) ProtoMessage ¶
func (*BankBalance) ProtoMessage()
func (*BankBalance) Reset ¶
func (m *BankBalance) Reset()
func (*BankBalance) Size ¶
func (m *BankBalance) Size() (n int)
func (*BankBalance) String ¶
func (m *BankBalance) String() string
func (*BankBalance) Unmarshal ¶
func (m *BankBalance) Unmarshal(dAtA []byte) error
func (*BankBalance) XXX_DiscardUnknown ¶
func (m *BankBalance) XXX_DiscardUnknown()
func (*BankBalance) XXX_Marshal ¶
func (m *BankBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BankBalance) XXX_Merge ¶
func (m *BankBalance) XXX_Merge(src proto.Message)
func (*BankBalance) XXX_Size ¶
func (m *BankBalance) XXX_Size() int
func (*BankBalance) XXX_Unmarshal ¶
func (m *BankBalance) XXX_Unmarshal(b []byte) error
type BankBalancesFilter ¶
type BankBalancesFilter struct {
Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
}
func (*BankBalancesFilter) Descriptor ¶
func (*BankBalancesFilter) Descriptor() ([]byte, []int)
func (*BankBalancesFilter) GetAccounts ¶
func (m *BankBalancesFilter) GetAccounts() []string
func (*BankBalancesFilter) Marshal ¶
func (m *BankBalancesFilter) Marshal() (dAtA []byte, err error)
func (*BankBalancesFilter) MarshalTo ¶
func (m *BankBalancesFilter) MarshalTo(dAtA []byte) (int, error)
func (*BankBalancesFilter) MarshalToSizedBuffer ¶
func (m *BankBalancesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BankBalancesFilter) ProtoMessage ¶
func (*BankBalancesFilter) ProtoMessage()
func (*BankBalancesFilter) Reset ¶
func (m *BankBalancesFilter) Reset()
func (*BankBalancesFilter) Size ¶
func (m *BankBalancesFilter) Size() (n int)
func (*BankBalancesFilter) String ¶
func (m *BankBalancesFilter) String() string
func (*BankBalancesFilter) Unmarshal ¶
func (m *BankBalancesFilter) Unmarshal(dAtA []byte) error
func (*BankBalancesFilter) XXX_DiscardUnknown ¶
func (m *BankBalancesFilter) XXX_DiscardUnknown()
func (*BankBalancesFilter) XXX_Marshal ¶
func (m *BankBalancesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BankBalancesFilter) XXX_Merge ¶
func (m *BankBalancesFilter) XXX_Merge(src proto.Message)
func (*BankBalancesFilter) XXX_Size ¶
func (m *BankBalancesFilter) XXX_Size() int
func (*BankBalancesFilter) XXX_Unmarshal ¶
func (m *BankBalancesFilter) XXX_Unmarshal(b []byte) error
type DerivativeOrder ¶
type DerivativeOrder struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Order types.DerivativeLimitOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"` IsMarket bool `protobuf:"varint,3,opt,name=is_market,json=isMarket,proto3" json:"is_market,omitempty"` }
func (*DerivativeOrder) Descriptor ¶
func (*DerivativeOrder) Descriptor() ([]byte, []int)
func (*DerivativeOrder) GetIsMarket ¶
func (m *DerivativeOrder) GetIsMarket() bool
func (*DerivativeOrder) GetMarketId ¶
func (m *DerivativeOrder) GetMarketId() string
func (*DerivativeOrder) GetOrder ¶
func (m *DerivativeOrder) GetOrder() types.DerivativeLimitOrder
func (*DerivativeOrder) Marshal ¶
func (m *DerivativeOrder) Marshal() (dAtA []byte, err error)
func (*DerivativeOrder) MarshalToSizedBuffer ¶
func (m *DerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DerivativeOrder) ProtoMessage ¶
func (*DerivativeOrder) ProtoMessage()
func (*DerivativeOrder) Reset ¶
func (m *DerivativeOrder) Reset()
func (*DerivativeOrder) Size ¶
func (m *DerivativeOrder) Size() (n int)
func (*DerivativeOrder) String ¶
func (m *DerivativeOrder) String() string
func (*DerivativeOrder) Unmarshal ¶
func (m *DerivativeOrder) Unmarshal(dAtA []byte) error
func (*DerivativeOrder) XXX_DiscardUnknown ¶
func (m *DerivativeOrder) XXX_DiscardUnknown()
func (*DerivativeOrder) XXX_Marshal ¶
func (m *DerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DerivativeOrder) XXX_Merge ¶
func (m *DerivativeOrder) XXX_Merge(src proto.Message)
func (*DerivativeOrder) XXX_Size ¶
func (m *DerivativeOrder) XXX_Size() int
func (*DerivativeOrder) XXX_Unmarshal ¶
func (m *DerivativeOrder) XXX_Unmarshal(b []byte) error
type DerivativeOrderUpdate ¶
type DerivativeOrderUpdate struct { Status OrderUpdateStatus `protobuf:"varint,1,opt,name=status,proto3,enum=injective.stream.v1beta1.OrderUpdateStatus" json:"status,omitempty"` OrderHash []byte `protobuf:"bytes,2,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` Order *DerivativeOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` }
func (*DerivativeOrderUpdate) Descriptor ¶
func (*DerivativeOrderUpdate) Descriptor() ([]byte, []int)
func (*DerivativeOrderUpdate) GetCid ¶
func (m *DerivativeOrderUpdate) GetCid() string
func (*DerivativeOrderUpdate) GetOrder ¶
func (m *DerivativeOrderUpdate) GetOrder() *DerivativeOrder
func (*DerivativeOrderUpdate) GetOrderHash ¶
func (m *DerivativeOrderUpdate) GetOrderHash() []byte
func (*DerivativeOrderUpdate) GetStatus ¶
func (m *DerivativeOrderUpdate) GetStatus() OrderUpdateStatus
func (*DerivativeOrderUpdate) Marshal ¶
func (m *DerivativeOrderUpdate) Marshal() (dAtA []byte, err error)
func (*DerivativeOrderUpdate) MarshalTo ¶
func (m *DerivativeOrderUpdate) MarshalTo(dAtA []byte) (int, error)
func (*DerivativeOrderUpdate) MarshalToSizedBuffer ¶
func (m *DerivativeOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DerivativeOrderUpdate) ProtoMessage ¶
func (*DerivativeOrderUpdate) ProtoMessage()
func (*DerivativeOrderUpdate) Reset ¶
func (m *DerivativeOrderUpdate) Reset()
func (*DerivativeOrderUpdate) Size ¶
func (m *DerivativeOrderUpdate) Size() (n int)
func (*DerivativeOrderUpdate) String ¶
func (m *DerivativeOrderUpdate) String() string
func (*DerivativeOrderUpdate) Unmarshal ¶
func (m *DerivativeOrderUpdate) Unmarshal(dAtA []byte) error
func (*DerivativeOrderUpdate) XXX_DiscardUnknown ¶
func (m *DerivativeOrderUpdate) XXX_DiscardUnknown()
func (*DerivativeOrderUpdate) XXX_Marshal ¶
func (m *DerivativeOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DerivativeOrderUpdate) XXX_Merge ¶
func (m *DerivativeOrderUpdate) XXX_Merge(src proto.Message)
func (*DerivativeOrderUpdate) XXX_Size ¶
func (m *DerivativeOrderUpdate) XXX_Size() int
func (*DerivativeOrderUpdate) XXX_Unmarshal ¶
func (m *DerivativeOrderUpdate) XXX_Unmarshal(b []byte) error
type DerivativeTrade ¶
type DerivativeTrade struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` IsBuy bool `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"` ExecutionType string `protobuf:"bytes,3,opt,name=executionType,proto3" json:"executionType,omitempty"` SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` PositionDelta *types.PositionDelta `protobuf:"bytes,5,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"` Payout cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=payout,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"payout"` Fee cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=fee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"fee"` OrderHash string `protobuf:"bytes,8,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` FeeRecipientAddress string `protobuf:"bytes,9,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` Cid string `protobuf:"bytes,10,opt,name=cid,proto3" json:"cid,omitempty"` TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` }
func (*DerivativeTrade) Descriptor ¶
func (*DerivativeTrade) Descriptor() ([]byte, []int)
func (*DerivativeTrade) GetCid ¶
func (m *DerivativeTrade) GetCid() string
func (*DerivativeTrade) GetExecutionType ¶
func (m *DerivativeTrade) GetExecutionType() string
func (*DerivativeTrade) GetFeeRecipientAddress ¶
func (m *DerivativeTrade) GetFeeRecipientAddress() string
func (*DerivativeTrade) GetIsBuy ¶
func (m *DerivativeTrade) GetIsBuy() bool
func (*DerivativeTrade) GetMarketId ¶
func (m *DerivativeTrade) GetMarketId() string
func (*DerivativeTrade) GetOrderHash ¶
func (m *DerivativeTrade) GetOrderHash() string
func (*DerivativeTrade) GetPositionDelta ¶
func (m *DerivativeTrade) GetPositionDelta() *types.PositionDelta
func (*DerivativeTrade) GetSubaccountId ¶
func (m *DerivativeTrade) GetSubaccountId() string
func (*DerivativeTrade) GetTradeId ¶
func (m *DerivativeTrade) GetTradeId() string
func (*DerivativeTrade) Marshal ¶
func (m *DerivativeTrade) Marshal() (dAtA []byte, err error)
func (*DerivativeTrade) MarshalToSizedBuffer ¶
func (m *DerivativeTrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DerivativeTrade) ProtoMessage ¶
func (*DerivativeTrade) ProtoMessage()
func (*DerivativeTrade) Reset ¶
func (m *DerivativeTrade) Reset()
func (*DerivativeTrade) Size ¶
func (m *DerivativeTrade) Size() (n int)
func (*DerivativeTrade) String ¶
func (m *DerivativeTrade) String() string
func (*DerivativeTrade) Unmarshal ¶
func (m *DerivativeTrade) Unmarshal(dAtA []byte) error
func (*DerivativeTrade) XXX_DiscardUnknown ¶
func (m *DerivativeTrade) XXX_DiscardUnknown()
func (*DerivativeTrade) XXX_Marshal ¶
func (m *DerivativeTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DerivativeTrade) XXX_Merge ¶
func (m *DerivativeTrade) XXX_Merge(src proto.Message)
func (*DerivativeTrade) XXX_Size ¶
func (m *DerivativeTrade) XXX_Size() int
func (*DerivativeTrade) XXX_Unmarshal ¶
func (m *DerivativeTrade) XXX_Unmarshal(b []byte) error
type Empty ¶ added in v1.51.0
type Empty struct { }
Empty query matches any set of events.
type OraclePrice ¶
type OraclePrice struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` }
func (*OraclePrice) Descriptor ¶
func (*OraclePrice) Descriptor() ([]byte, []int)
func (*OraclePrice) GetSymbol ¶
func (m *OraclePrice) GetSymbol() string
func (*OraclePrice) GetType ¶
func (m *OraclePrice) GetType() string
func (*OraclePrice) Marshal ¶
func (m *OraclePrice) Marshal() (dAtA []byte, err error)
func (*OraclePrice) MarshalToSizedBuffer ¶
func (m *OraclePrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OraclePrice) ProtoMessage ¶
func (*OraclePrice) ProtoMessage()
func (*OraclePrice) Reset ¶
func (m *OraclePrice) Reset()
func (*OraclePrice) Size ¶
func (m *OraclePrice) Size() (n int)
func (*OraclePrice) String ¶
func (m *OraclePrice) String() string
func (*OraclePrice) Unmarshal ¶
func (m *OraclePrice) Unmarshal(dAtA []byte) error
func (*OraclePrice) XXX_DiscardUnknown ¶
func (m *OraclePrice) XXX_DiscardUnknown()
func (*OraclePrice) XXX_Marshal ¶
func (m *OraclePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OraclePrice) XXX_Merge ¶
func (m *OraclePrice) XXX_Merge(src proto.Message)
func (*OraclePrice) XXX_Size ¶
func (m *OraclePrice) XXX_Size() int
func (*OraclePrice) XXX_Unmarshal ¶
func (m *OraclePrice) XXX_Unmarshal(b []byte) error
type OraclePriceFilter ¶
type OraclePriceFilter struct {
Symbol []string `protobuf:"bytes,1,rep,name=symbol,proto3" json:"symbol,omitempty"`
}
func (*OraclePriceFilter) Descriptor ¶
func (*OraclePriceFilter) Descriptor() ([]byte, []int)
func (*OraclePriceFilter) GetSymbol ¶
func (m *OraclePriceFilter) GetSymbol() []string
func (*OraclePriceFilter) Marshal ¶
func (m *OraclePriceFilter) Marshal() (dAtA []byte, err error)
func (*OraclePriceFilter) MarshalTo ¶
func (m *OraclePriceFilter) MarshalTo(dAtA []byte) (int, error)
func (*OraclePriceFilter) MarshalToSizedBuffer ¶
func (m *OraclePriceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OraclePriceFilter) ProtoMessage ¶
func (*OraclePriceFilter) ProtoMessage()
func (*OraclePriceFilter) Reset ¶
func (m *OraclePriceFilter) Reset()
func (*OraclePriceFilter) Size ¶
func (m *OraclePriceFilter) Size() (n int)
func (*OraclePriceFilter) String ¶
func (m *OraclePriceFilter) String() string
func (*OraclePriceFilter) Unmarshal ¶
func (m *OraclePriceFilter) Unmarshal(dAtA []byte) error
func (*OraclePriceFilter) XXX_DiscardUnknown ¶
func (m *OraclePriceFilter) XXX_DiscardUnknown()
func (*OraclePriceFilter) XXX_Marshal ¶
func (m *OraclePriceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OraclePriceFilter) XXX_Merge ¶
func (m *OraclePriceFilter) XXX_Merge(src proto.Message)
func (*OraclePriceFilter) XXX_Size ¶
func (m *OraclePriceFilter) XXX_Size() int
func (*OraclePriceFilter) XXX_Unmarshal ¶
func (m *OraclePriceFilter) XXX_Unmarshal(b []byte) error
type OrderUpdateStatus ¶
type OrderUpdateStatus int32
const ( OrderUpdateStatus_Unspecified OrderUpdateStatus = 0 OrderUpdateStatus_Booked OrderUpdateStatus = 1 OrderUpdateStatus_Matched OrderUpdateStatus = 2 OrderUpdateStatus_Cancelled OrderUpdateStatus = 3 )
func (OrderUpdateStatus) EnumDescriptor ¶
func (OrderUpdateStatus) EnumDescriptor() ([]byte, []int)
func (OrderUpdateStatus) String ¶
func (x OrderUpdateStatus) String() string
type Orderbook ¶
type Orderbook struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` BuyLevels []*types.Level `protobuf:"bytes,2,rep,name=buy_levels,json=buyLevels,proto3" json:"buy_levels,omitempty"` SellLevels []*types.Level `protobuf:"bytes,3,rep,name=sell_levels,json=sellLevels,proto3" json:"sell_levels,omitempty"` }
func (*Orderbook) Descriptor ¶
func (*Orderbook) GetBuyLevels ¶
func (*Orderbook) GetMarketId ¶
func (*Orderbook) GetSellLevels ¶
func (*Orderbook) MarshalToSizedBuffer ¶
func (*Orderbook) ProtoMessage ¶
func (*Orderbook) ProtoMessage()
func (*Orderbook) XXX_DiscardUnknown ¶
func (m *Orderbook) XXX_DiscardUnknown()
func (*Orderbook) XXX_Marshal ¶
func (*Orderbook) XXX_Unmarshal ¶
type OrderbookFilter ¶
type OrderbookFilter struct {
MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
func (*OrderbookFilter) Descriptor ¶
func (*OrderbookFilter) Descriptor() ([]byte, []int)
func (*OrderbookFilter) GetMarketIds ¶
func (m *OrderbookFilter) GetMarketIds() []string
func (*OrderbookFilter) Marshal ¶
func (m *OrderbookFilter) Marshal() (dAtA []byte, err error)
func (*OrderbookFilter) MarshalToSizedBuffer ¶
func (m *OrderbookFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrderbookFilter) ProtoMessage ¶
func (*OrderbookFilter) ProtoMessage()
func (*OrderbookFilter) Reset ¶
func (m *OrderbookFilter) Reset()
func (*OrderbookFilter) Size ¶
func (m *OrderbookFilter) Size() (n int)
func (*OrderbookFilter) String ¶
func (m *OrderbookFilter) String() string
func (*OrderbookFilter) Unmarshal ¶
func (m *OrderbookFilter) Unmarshal(dAtA []byte) error
func (*OrderbookFilter) XXX_DiscardUnknown ¶
func (m *OrderbookFilter) XXX_DiscardUnknown()
func (*OrderbookFilter) XXX_Marshal ¶
func (m *OrderbookFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderbookFilter) XXX_Merge ¶
func (m *OrderbookFilter) XXX_Merge(src proto.Message)
func (*OrderbookFilter) XXX_Size ¶
func (m *OrderbookFilter) XXX_Size() int
func (*OrderbookFilter) XXX_Unmarshal ¶
func (m *OrderbookFilter) XXX_Unmarshal(b []byte) error
type OrderbookUpdate ¶
type OrderbookUpdate struct { Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` Orderbook *Orderbook `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"` }
func (*OrderbookUpdate) Descriptor ¶
func (*OrderbookUpdate) Descriptor() ([]byte, []int)
func (*OrderbookUpdate) GetOrderbook ¶
func (m *OrderbookUpdate) GetOrderbook() *Orderbook
func (*OrderbookUpdate) GetSeq ¶
func (m *OrderbookUpdate) GetSeq() uint64
func (*OrderbookUpdate) Marshal ¶
func (m *OrderbookUpdate) Marshal() (dAtA []byte, err error)
func (*OrderbookUpdate) MarshalToSizedBuffer ¶
func (m *OrderbookUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrderbookUpdate) ProtoMessage ¶
func (*OrderbookUpdate) ProtoMessage()
func (*OrderbookUpdate) Reset ¶
func (m *OrderbookUpdate) Reset()
func (*OrderbookUpdate) Size ¶
func (m *OrderbookUpdate) Size() (n int)
func (*OrderbookUpdate) String ¶
func (m *OrderbookUpdate) String() string
func (*OrderbookUpdate) Unmarshal ¶
func (m *OrderbookUpdate) Unmarshal(dAtA []byte) error
func (*OrderbookUpdate) XXX_DiscardUnknown ¶
func (m *OrderbookUpdate) XXX_DiscardUnknown()
func (*OrderbookUpdate) XXX_Marshal ¶
func (m *OrderbookUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderbookUpdate) XXX_Merge ¶
func (m *OrderbookUpdate) XXX_Merge(src proto.Message)
func (*OrderbookUpdate) XXX_Size ¶
func (m *OrderbookUpdate) XXX_Size() int
func (*OrderbookUpdate) XXX_Unmarshal ¶
func (m *OrderbookUpdate) XXX_Unmarshal(b []byte) error
type OrdersFilter ¶
type OrdersFilter struct { SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` }
func (*OrdersFilter) Descriptor ¶
func (*OrdersFilter) Descriptor() ([]byte, []int)
func (*OrdersFilter) GetMarketIds ¶
func (m *OrdersFilter) GetMarketIds() []string
func (*OrdersFilter) GetSubaccountIds ¶
func (m *OrdersFilter) GetSubaccountIds() []string
func (*OrdersFilter) Marshal ¶
func (m *OrdersFilter) Marshal() (dAtA []byte, err error)
func (*OrdersFilter) MarshalToSizedBuffer ¶
func (m *OrdersFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrdersFilter) ProtoMessage ¶
func (*OrdersFilter) ProtoMessage()
func (*OrdersFilter) Reset ¶
func (m *OrdersFilter) Reset()
func (*OrdersFilter) Size ¶
func (m *OrdersFilter) Size() (n int)
func (*OrdersFilter) String ¶
func (m *OrdersFilter) String() string
func (*OrdersFilter) Unmarshal ¶
func (m *OrdersFilter) Unmarshal(dAtA []byte) error
func (*OrdersFilter) XXX_DiscardUnknown ¶
func (m *OrdersFilter) XXX_DiscardUnknown()
func (*OrdersFilter) XXX_Marshal ¶
func (m *OrdersFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrdersFilter) XXX_Merge ¶
func (m *OrdersFilter) XXX_Merge(src proto.Message)
func (*OrdersFilter) XXX_Size ¶
func (m *OrdersFilter) XXX_Size() int
func (*OrdersFilter) XXX_Unmarshal ¶
func (m *OrdersFilter) XXX_Unmarshal(b []byte) error
type Position ¶
type Position struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` IsLong bool `protobuf:"varint,3,opt,name=isLong,proto3" json:"isLong,omitempty"` Quantity cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"quantity"` EntryPrice cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=entry_price,json=entryPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"entry_price"` Margin cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=margin,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"margin"` CumulativeFundingEntry cosmossdk_io_math.LegacyDec `` /* 158-byte string literal not displayed */ }
func (*Position) Descriptor ¶
func (*Position) GetMarketId ¶
func (*Position) GetSubaccountId ¶
func (*Position) MarshalToSizedBuffer ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶
func (*Position) XXX_Unmarshal ¶
type PositionsFilter ¶
type PositionsFilter struct { SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` }
func (*PositionsFilter) Descriptor ¶
func (*PositionsFilter) Descriptor() ([]byte, []int)
func (*PositionsFilter) GetMarketIds ¶
func (m *PositionsFilter) GetMarketIds() []string
func (*PositionsFilter) GetSubaccountIds ¶
func (m *PositionsFilter) GetSubaccountIds() []string
func (*PositionsFilter) Marshal ¶
func (m *PositionsFilter) Marshal() (dAtA []byte, err error)
func (*PositionsFilter) MarshalToSizedBuffer ¶
func (m *PositionsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsFilter) ProtoMessage ¶
func (*PositionsFilter) ProtoMessage()
func (*PositionsFilter) Reset ¶
func (m *PositionsFilter) Reset()
func (*PositionsFilter) Size ¶
func (m *PositionsFilter) Size() (n int)
func (*PositionsFilter) String ¶
func (m *PositionsFilter) String() string
func (*PositionsFilter) Unmarshal ¶
func (m *PositionsFilter) Unmarshal(dAtA []byte) error
func (*PositionsFilter) XXX_DiscardUnknown ¶
func (m *PositionsFilter) XXX_DiscardUnknown()
func (*PositionsFilter) XXX_Marshal ¶
func (m *PositionsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsFilter) XXX_Merge ¶
func (m *PositionsFilter) XXX_Merge(src proto.Message)
func (*PositionsFilter) XXX_Size ¶
func (m *PositionsFilter) XXX_Size() int
func (*PositionsFilter) XXX_Unmarshal ¶
func (m *PositionsFilter) XXX_Unmarshal(b []byte) error
type SpotOrder ¶
type SpotOrder struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` Order types.SpotLimitOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"` }
func (*SpotOrder) Descriptor ¶
func (*SpotOrder) GetMarketId ¶
func (*SpotOrder) GetOrder ¶
func (m *SpotOrder) GetOrder() types.SpotLimitOrder
func (*SpotOrder) MarshalToSizedBuffer ¶
func (*SpotOrder) ProtoMessage ¶
func (*SpotOrder) ProtoMessage()
func (*SpotOrder) XXX_DiscardUnknown ¶
func (m *SpotOrder) XXX_DiscardUnknown()
func (*SpotOrder) XXX_Marshal ¶
func (*SpotOrder) XXX_Unmarshal ¶
type SpotOrderUpdate ¶
type SpotOrderUpdate struct { Status OrderUpdateStatus `protobuf:"varint,1,opt,name=status,proto3,enum=injective.stream.v1beta1.OrderUpdateStatus" json:"status,omitempty"` OrderHash []byte `protobuf:"bytes,2,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` Order *SpotOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` }
func (*SpotOrderUpdate) Descriptor ¶
func (*SpotOrderUpdate) Descriptor() ([]byte, []int)
func (*SpotOrderUpdate) GetCid ¶
func (m *SpotOrderUpdate) GetCid() string
func (*SpotOrderUpdate) GetOrder ¶
func (m *SpotOrderUpdate) GetOrder() *SpotOrder
func (*SpotOrderUpdate) GetOrderHash ¶
func (m *SpotOrderUpdate) GetOrderHash() []byte
func (*SpotOrderUpdate) GetStatus ¶
func (m *SpotOrderUpdate) GetStatus() OrderUpdateStatus
func (*SpotOrderUpdate) Marshal ¶
func (m *SpotOrderUpdate) Marshal() (dAtA []byte, err error)
func (*SpotOrderUpdate) MarshalToSizedBuffer ¶
func (m *SpotOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SpotOrderUpdate) ProtoMessage ¶
func (*SpotOrderUpdate) ProtoMessage()
func (*SpotOrderUpdate) Reset ¶
func (m *SpotOrderUpdate) Reset()
func (*SpotOrderUpdate) Size ¶
func (m *SpotOrderUpdate) Size() (n int)
func (*SpotOrderUpdate) String ¶
func (m *SpotOrderUpdate) String() string
func (*SpotOrderUpdate) Unmarshal ¶
func (m *SpotOrderUpdate) Unmarshal(dAtA []byte) error
func (*SpotOrderUpdate) XXX_DiscardUnknown ¶
func (m *SpotOrderUpdate) XXX_DiscardUnknown()
func (*SpotOrderUpdate) XXX_Marshal ¶
func (m *SpotOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpotOrderUpdate) XXX_Merge ¶
func (m *SpotOrderUpdate) XXX_Merge(src proto.Message)
func (*SpotOrderUpdate) XXX_Size ¶
func (m *SpotOrderUpdate) XXX_Size() int
func (*SpotOrderUpdate) XXX_Unmarshal ¶
func (m *SpotOrderUpdate) XXX_Unmarshal(b []byte) error
type SpotTrade ¶
type SpotTrade struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` IsBuy bool `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"` ExecutionType string `protobuf:"bytes,3,opt,name=executionType,proto3" json:"executionType,omitempty"` Quantity cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"quantity"` Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` // bytes32 subaccount ID that executed the trade SubaccountId string `protobuf:"bytes,6,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` Fee cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=fee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"fee"` OrderHash []byte `protobuf:"bytes,8,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` FeeRecipientAddress string `protobuf:"bytes,9,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` Cid string `protobuf:"bytes,10,opt,name=cid,proto3" json:"cid,omitempty"` TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` }
func (*SpotTrade) Descriptor ¶
func (*SpotTrade) GetExecutionType ¶
func (*SpotTrade) GetFeeRecipientAddress ¶
func (*SpotTrade) GetMarketId ¶
func (*SpotTrade) GetOrderHash ¶
func (*SpotTrade) GetSubaccountId ¶
func (*SpotTrade) GetTradeId ¶
func (*SpotTrade) MarshalToSizedBuffer ¶
func (*SpotTrade) ProtoMessage ¶
func (*SpotTrade) ProtoMessage()
func (*SpotTrade) XXX_DiscardUnknown ¶
func (m *SpotTrade) XXX_DiscardUnknown()
func (*SpotTrade) XXX_Marshal ¶
func (*SpotTrade) XXX_Unmarshal ¶
type StreamClient ¶
type StreamClient interface {
Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (Stream_StreamClient, error)
}
StreamClient is the client API for Stream service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStreamClient ¶
func NewStreamClient(cc grpc1.ClientConn) StreamClient
type StreamRequest ¶
type StreamRequest struct { BankBalancesFilter *BankBalancesFilter `protobuf:"bytes,1,opt,name=bank_balances_filter,json=bankBalancesFilter,proto3" json:"bank_balances_filter,omitempty"` SubaccountDepositsFilter *SubaccountDepositsFilter `` /* 135-byte string literal not displayed */ SpotTradesFilter *TradesFilter `protobuf:"bytes,3,opt,name=spot_trades_filter,json=spotTradesFilter,proto3" json:"spot_trades_filter,omitempty"` DerivativeTradesFilter *TradesFilter `` /* 129-byte string literal not displayed */ SpotOrdersFilter *OrdersFilter `protobuf:"bytes,5,opt,name=spot_orders_filter,json=spotOrdersFilter,proto3" json:"spot_orders_filter,omitempty"` DerivativeOrdersFilter *OrdersFilter `` /* 129-byte string literal not displayed */ SpotOrderbooksFilter *OrderbookFilter `protobuf:"bytes,7,opt,name=spot_orderbooks_filter,json=spotOrderbooksFilter,proto3" json:"spot_orderbooks_filter,omitempty"` DerivativeOrderbooksFilter *OrderbookFilter `` /* 141-byte string literal not displayed */ PositionsFilter *PositionsFilter `protobuf:"bytes,9,opt,name=positions_filter,json=positionsFilter,proto3" json:"positions_filter,omitempty"` OraclePriceFilter *OraclePriceFilter `protobuf:"bytes,10,opt,name=oracle_price_filter,json=oraclePriceFilter,proto3" json:"oracle_price_filter,omitempty"` }
func NewFullStreamRequest ¶
func NewFullStreamRequest() *StreamRequest
func (*StreamRequest) Descriptor ¶
func (*StreamRequest) Descriptor() ([]byte, []int)
func (*StreamRequest) GetBankBalancesFilter ¶
func (m *StreamRequest) GetBankBalancesFilter() *BankBalancesFilter
func (*StreamRequest) GetDerivativeOrderbooksFilter ¶
func (m *StreamRequest) GetDerivativeOrderbooksFilter() *OrderbookFilter
func (*StreamRequest) GetDerivativeOrdersFilter ¶
func (m *StreamRequest) GetDerivativeOrdersFilter() *OrdersFilter
func (*StreamRequest) GetDerivativeTradesFilter ¶
func (m *StreamRequest) GetDerivativeTradesFilter() *TradesFilter
func (*StreamRequest) GetOraclePriceFilter ¶
func (m *StreamRequest) GetOraclePriceFilter() *OraclePriceFilter
func (*StreamRequest) GetPositionsFilter ¶
func (m *StreamRequest) GetPositionsFilter() *PositionsFilter
func (*StreamRequest) GetSpotOrderbooksFilter ¶
func (m *StreamRequest) GetSpotOrderbooksFilter() *OrderbookFilter
func (*StreamRequest) GetSpotOrdersFilter ¶
func (m *StreamRequest) GetSpotOrdersFilter() *OrdersFilter
func (*StreamRequest) GetSpotTradesFilter ¶
func (m *StreamRequest) GetSpotTradesFilter() *TradesFilter
func (*StreamRequest) GetSubaccountDepositsFilter ¶
func (m *StreamRequest) GetSubaccountDepositsFilter() *SubaccountDepositsFilter
func (*StreamRequest) Marshal ¶
func (m *StreamRequest) Marshal() (dAtA []byte, err error)
func (*StreamRequest) MarshalToSizedBuffer ¶
func (m *StreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamRequest) ProtoMessage ¶
func (*StreamRequest) ProtoMessage()
func (*StreamRequest) Reset ¶
func (m *StreamRequest) Reset()
func (*StreamRequest) Size ¶
func (m *StreamRequest) Size() (n int)
func (*StreamRequest) String ¶
func (m *StreamRequest) String() string
func (*StreamRequest) Unmarshal ¶
func (m *StreamRequest) Unmarshal(dAtA []byte) error
func (*StreamRequest) Validate ¶
func (m *StreamRequest) Validate() error
func (*StreamRequest) XXX_DiscardUnknown ¶
func (m *StreamRequest) XXX_DiscardUnknown()
func (*StreamRequest) XXX_Marshal ¶
func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamRequest) XXX_Merge ¶
func (m *StreamRequest) XXX_Merge(src proto.Message)
func (*StreamRequest) XXX_Size ¶
func (m *StreamRequest) XXX_Size() int
func (*StreamRequest) XXX_Unmarshal ¶
func (m *StreamRequest) XXX_Unmarshal(b []byte) error
type StreamResponse ¶
type StreamResponse struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` BlockTime int64 `protobuf:"varint,2,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` BankBalances []*BankBalance `protobuf:"bytes,3,rep,name=bank_balances,json=bankBalances,proto3" json:"bank_balances,omitempty"` SubaccountDeposits []*SubaccountDeposits `protobuf:"bytes,4,rep,name=subaccount_deposits,json=subaccountDeposits,proto3" json:"subaccount_deposits,omitempty"` SpotTrades []*SpotTrade `protobuf:"bytes,5,rep,name=spot_trades,json=spotTrades,proto3" json:"spot_trades,omitempty"` DerivativeTrades []*DerivativeTrade `protobuf:"bytes,6,rep,name=derivative_trades,json=derivativeTrades,proto3" json:"derivative_trades,omitempty"` SpotOrders []*SpotOrderUpdate `protobuf:"bytes,7,rep,name=spot_orders,json=spotOrders,proto3" json:"spot_orders,omitempty"` DerivativeOrders []*DerivativeOrderUpdate `protobuf:"bytes,8,rep,name=derivative_orders,json=derivativeOrders,proto3" json:"derivative_orders,omitempty"` SpotOrderbookUpdates []*OrderbookUpdate `protobuf:"bytes,9,rep,name=spot_orderbook_updates,json=spotOrderbookUpdates,proto3" json:"spot_orderbook_updates,omitempty"` DerivativeOrderbookUpdates []*OrderbookUpdate `` /* 142-byte string literal not displayed */ Positions []*Position `protobuf:"bytes,11,rep,name=positions,proto3" json:"positions,omitempty"` OraclePrices []*OraclePrice `protobuf:"bytes,12,rep,name=oracle_prices,json=oraclePrices,proto3" json:"oracle_prices,omitempty"` }
func NewChainStreamResponse ¶
func NewChainStreamResponse() *StreamResponse
func (*StreamResponse) Descriptor ¶
func (*StreamResponse) Descriptor() ([]byte, []int)
func (*StreamResponse) GetBankBalances ¶
func (m *StreamResponse) GetBankBalances() []*BankBalance
func (*StreamResponse) GetBlockHeight ¶
func (m *StreamResponse) GetBlockHeight() uint64
func (*StreamResponse) GetBlockTime ¶
func (m *StreamResponse) GetBlockTime() int64
func (*StreamResponse) GetDerivativeOrderbookUpdates ¶
func (m *StreamResponse) GetDerivativeOrderbookUpdates() []*OrderbookUpdate
func (*StreamResponse) GetDerivativeOrders ¶
func (m *StreamResponse) GetDerivativeOrders() []*DerivativeOrderUpdate
func (*StreamResponse) GetDerivativeTrades ¶
func (m *StreamResponse) GetDerivativeTrades() []*DerivativeTrade
func (*StreamResponse) GetOraclePrices ¶
func (m *StreamResponse) GetOraclePrices() []*OraclePrice
func (*StreamResponse) GetPositions ¶
func (m *StreamResponse) GetPositions() []*Position
func (*StreamResponse) GetSpotOrderbookUpdates ¶
func (m *StreamResponse) GetSpotOrderbookUpdates() []*OrderbookUpdate
func (*StreamResponse) GetSpotOrders ¶
func (m *StreamResponse) GetSpotOrders() []*SpotOrderUpdate
func (*StreamResponse) GetSpotTrades ¶
func (m *StreamResponse) GetSpotTrades() []*SpotTrade
func (*StreamResponse) GetSubaccountDeposits ¶
func (m *StreamResponse) GetSubaccountDeposits() []*SubaccountDeposits
func (*StreamResponse) Marshal ¶
func (m *StreamResponse) Marshal() (dAtA []byte, err error)
func (*StreamResponse) MarshalToSizedBuffer ¶
func (m *StreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamResponse) ProtoMessage ¶
func (*StreamResponse) ProtoMessage()
func (*StreamResponse) Reset ¶
func (m *StreamResponse) Reset()
func (*StreamResponse) Size ¶
func (m *StreamResponse) Size() (n int)
func (*StreamResponse) String ¶
func (m *StreamResponse) String() string
func (*StreamResponse) Unmarshal ¶
func (m *StreamResponse) Unmarshal(dAtA []byte) error
func (*StreamResponse) XXX_DiscardUnknown ¶
func (m *StreamResponse) XXX_DiscardUnknown()
func (*StreamResponse) XXX_Marshal ¶
func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamResponse) XXX_Merge ¶
func (m *StreamResponse) XXX_Merge(src proto.Message)
func (*StreamResponse) XXX_Size ¶
func (m *StreamResponse) XXX_Size() int
func (*StreamResponse) XXX_Unmarshal ¶
func (m *StreamResponse) XXX_Unmarshal(b []byte) error
type StreamResponseMap ¶
type StreamResponseMap struct { BlockHeight uint64 BlockTime time.Time BankBalancesByAccount map[string][]*BankBalance SpotOrdersBySubaccount map[string][]*SpotOrderUpdate SpotOrdersByMarketID map[string][]*SpotOrderUpdate DerivativeOrdersBySubaccount map[string][]*DerivativeOrderUpdate DerivativeOrdersByMarketID map[string][]*DerivativeOrderUpdate SpotOrderbookUpdatesByMarketID map[string][]*OrderbookUpdate DerivativeOrderbookUpdatesByMarketID map[string][]*OrderbookUpdate SubaccountDepositsBySubaccountID map[string][]*SubaccountDeposits SpotTradesBySubaccount map[string][]*SpotTrade SpotTradesByMarketID map[string][]*SpotTrade DerivativeTradesBySubaccount map[string][]*DerivativeTrade DerivativeTradesByMarketID map[string][]*DerivativeTrade PositionsBySubaccount map[string][]*Position PositionsByMarketID map[string][]*Position OraclePriceBySymbol map[string][]*OraclePrice // contains filtered or unexported fields }
func NewStreamResponseMap ¶
func NewStreamResponseMap() *StreamResponseMap
func (*StreamResponseMap) NextTradeEventNumber ¶
func (m *StreamResponseMap) NextTradeEventNumber() (tradeNumber uint64)
type StreamServer ¶
type StreamServer interface {
Stream(*StreamRequest, Stream_StreamServer) error
}
StreamServer is the server API for Stream service.
type Stream_StreamClient ¶
type Stream_StreamClient interface { Recv() (*StreamResponse, error) grpc.ClientStream }
type Stream_StreamServer ¶
type Stream_StreamServer interface { Send(*StreamResponse) error grpc.ServerStream }
type SubaccountDeposit ¶
type SubaccountDeposit struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Deposit types.Deposit `protobuf:"bytes,2,opt,name=deposit,proto3" json:"deposit"` }
func (*SubaccountDeposit) Descriptor ¶
func (*SubaccountDeposit) Descriptor() ([]byte, []int)
func (*SubaccountDeposit) GetDenom ¶
func (m *SubaccountDeposit) GetDenom() string
func (*SubaccountDeposit) GetDeposit ¶
func (m *SubaccountDeposit) GetDeposit() types.Deposit
func (*SubaccountDeposit) Marshal ¶
func (m *SubaccountDeposit) Marshal() (dAtA []byte, err error)
func (*SubaccountDeposit) MarshalTo ¶
func (m *SubaccountDeposit) MarshalTo(dAtA []byte) (int, error)
func (*SubaccountDeposit) MarshalToSizedBuffer ¶
func (m *SubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubaccountDeposit) ProtoMessage ¶
func (*SubaccountDeposit) ProtoMessage()
func (*SubaccountDeposit) Reset ¶
func (m *SubaccountDeposit) Reset()
func (*SubaccountDeposit) Size ¶
func (m *SubaccountDeposit) Size() (n int)
func (*SubaccountDeposit) String ¶
func (m *SubaccountDeposit) String() string
func (*SubaccountDeposit) Unmarshal ¶
func (m *SubaccountDeposit) Unmarshal(dAtA []byte) error
func (*SubaccountDeposit) XXX_DiscardUnknown ¶
func (m *SubaccountDeposit) XXX_DiscardUnknown()
func (*SubaccountDeposit) XXX_Marshal ¶
func (m *SubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubaccountDeposit) XXX_Merge ¶
func (m *SubaccountDeposit) XXX_Merge(src proto.Message)
func (*SubaccountDeposit) XXX_Size ¶
func (m *SubaccountDeposit) XXX_Size() int
func (*SubaccountDeposit) XXX_Unmarshal ¶
func (m *SubaccountDeposit) XXX_Unmarshal(b []byte) error
type SubaccountDeposits ¶
type SubaccountDeposits struct { SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` Deposits []SubaccountDeposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits"` }
func (*SubaccountDeposits) Descriptor ¶
func (*SubaccountDeposits) Descriptor() ([]byte, []int)
func (*SubaccountDeposits) GetDeposits ¶
func (m *SubaccountDeposits) GetDeposits() []SubaccountDeposit
func (*SubaccountDeposits) GetSubaccountId ¶
func (m *SubaccountDeposits) GetSubaccountId() string
func (*SubaccountDeposits) Marshal ¶
func (m *SubaccountDeposits) Marshal() (dAtA []byte, err error)
func (*SubaccountDeposits) MarshalTo ¶
func (m *SubaccountDeposits) MarshalTo(dAtA []byte) (int, error)
func (*SubaccountDeposits) MarshalToSizedBuffer ¶
func (m *SubaccountDeposits) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubaccountDeposits) ProtoMessage ¶
func (*SubaccountDeposits) ProtoMessage()
func (*SubaccountDeposits) Reset ¶
func (m *SubaccountDeposits) Reset()
func (*SubaccountDeposits) Size ¶
func (m *SubaccountDeposits) Size() (n int)
func (*SubaccountDeposits) String ¶
func (m *SubaccountDeposits) String() string
func (*SubaccountDeposits) Unmarshal ¶
func (m *SubaccountDeposits) Unmarshal(dAtA []byte) error
func (*SubaccountDeposits) XXX_DiscardUnknown ¶
func (m *SubaccountDeposits) XXX_DiscardUnknown()
func (*SubaccountDeposits) XXX_Marshal ¶
func (m *SubaccountDeposits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubaccountDeposits) XXX_Merge ¶
func (m *SubaccountDeposits) XXX_Merge(src proto.Message)
func (*SubaccountDeposits) XXX_Size ¶
func (m *SubaccountDeposits) XXX_Size() int
func (*SubaccountDeposits) XXX_Unmarshal ¶
func (m *SubaccountDeposits) XXX_Unmarshal(b []byte) error
type SubaccountDepositsFilter ¶
type SubaccountDepositsFilter struct {
SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
}
func (*SubaccountDepositsFilter) Descriptor ¶
func (*SubaccountDepositsFilter) Descriptor() ([]byte, []int)
func (*SubaccountDepositsFilter) GetSubaccountIds ¶
func (m *SubaccountDepositsFilter) GetSubaccountIds() []string
func (*SubaccountDepositsFilter) Marshal ¶
func (m *SubaccountDepositsFilter) Marshal() (dAtA []byte, err error)
func (*SubaccountDepositsFilter) MarshalTo ¶
func (m *SubaccountDepositsFilter) MarshalTo(dAtA []byte) (int, error)
func (*SubaccountDepositsFilter) MarshalToSizedBuffer ¶
func (m *SubaccountDepositsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubaccountDepositsFilter) ProtoMessage ¶
func (*SubaccountDepositsFilter) ProtoMessage()
func (*SubaccountDepositsFilter) Reset ¶
func (m *SubaccountDepositsFilter) Reset()
func (*SubaccountDepositsFilter) Size ¶
func (m *SubaccountDepositsFilter) Size() (n int)
func (*SubaccountDepositsFilter) String ¶
func (m *SubaccountDepositsFilter) String() string
func (*SubaccountDepositsFilter) Unmarshal ¶
func (m *SubaccountDepositsFilter) Unmarshal(dAtA []byte) error
func (*SubaccountDepositsFilter) XXX_DiscardUnknown ¶
func (m *SubaccountDepositsFilter) XXX_DiscardUnknown()
func (*SubaccountDepositsFilter) XXX_Marshal ¶
func (m *SubaccountDepositsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubaccountDepositsFilter) XXX_Merge ¶
func (m *SubaccountDepositsFilter) XXX_Merge(src proto.Message)
func (*SubaccountDepositsFilter) XXX_Size ¶
func (m *SubaccountDepositsFilter) XXX_Size() int
func (*SubaccountDepositsFilter) XXX_Unmarshal ¶
func (m *SubaccountDepositsFilter) XXX_Unmarshal(b []byte) error
type TradesFilter ¶
type TradesFilter struct { SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` }
func (*TradesFilter) Descriptor ¶
func (*TradesFilter) Descriptor() ([]byte, []int)
func (*TradesFilter) GetMarketIds ¶
func (m *TradesFilter) GetMarketIds() []string
func (*TradesFilter) GetSubaccountIds ¶
func (m *TradesFilter) GetSubaccountIds() []string
func (*TradesFilter) Marshal ¶
func (m *TradesFilter) Marshal() (dAtA []byte, err error)
func (*TradesFilter) MarshalToSizedBuffer ¶
func (m *TradesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TradesFilter) ProtoMessage ¶
func (*TradesFilter) ProtoMessage()
func (*TradesFilter) Reset ¶
func (m *TradesFilter) Reset()
func (*TradesFilter) Size ¶
func (m *TradesFilter) Size() (n int)
func (*TradesFilter) String ¶
func (m *TradesFilter) String() string
func (*TradesFilter) Unmarshal ¶
func (m *TradesFilter) Unmarshal(dAtA []byte) error
func (*TradesFilter) XXX_DiscardUnknown ¶
func (m *TradesFilter) XXX_DiscardUnknown()
func (*TradesFilter) XXX_Marshal ¶
func (m *TradesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradesFilter) XXX_Merge ¶
func (m *TradesFilter) XXX_Merge(src proto.Message)
func (*TradesFilter) XXX_Size ¶
func (m *TradesFilter) XXX_Size() int
func (*TradesFilter) XXX_Unmarshal ¶
func (m *TradesFilter) XXX_Unmarshal(b []byte) error
type UnimplementedStreamServer ¶
type UnimplementedStreamServer struct { }
UnimplementedStreamServer can be embedded to have forward compatible implementations.
func (*UnimplementedStreamServer) Stream ¶
func (*UnimplementedStreamServer) Stream(req *StreamRequest, srv Stream_StreamServer) error
Click to show internal directories.
Click to hide internal directories.