v1

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BusEventType_name = map[int32]string{
		0:   "BUS_EVENT_TYPE_UNSPECIFIED",
		1:   "BUS_EVENT_TYPE_ALL",
		2:   "BUS_EVENT_TYPE_TIME_UPDATE",
		3:   "BUS_EVENT_TYPE_TRANSFER_RESPONSES",
		4:   "BUS_EVENT_TYPE_POSITION_RESOLUTION",
		5:   "BUS_EVENT_TYPE_ORDER",
		6:   "BUS_EVENT_TYPE_ACCOUNT",
		7:   "BUS_EVENT_TYPE_PARTY",
		8:   "BUS_EVENT_TYPE_TRADE",
		9:   "BUS_EVENT_TYPE_MARGIN_LEVELS",
		10:  "BUS_EVENT_TYPE_PROPOSAL",
		11:  "BUS_EVENT_TYPE_VOTE",
		12:  "BUS_EVENT_TYPE_MARKET_DATA",
		13:  "BUS_EVENT_TYPE_NODE_SIGNATURE",
		14:  "BUS_EVENT_TYPE_LOSS_SOCIALIZATION",
		15:  "BUS_EVENT_TYPE_SETTLE_POSITION",
		16:  "BUS_EVENT_TYPE_SETTLE_DISTRESSED",
		17:  "BUS_EVENT_TYPE_MARKET_CREATED",
		18:  "BUS_EVENT_TYPE_ASSET",
		19:  "BUS_EVENT_TYPE_MARKET_TICK",
		20:  "BUS_EVENT_TYPE_WITHDRAWAL",
		21:  "BUS_EVENT_TYPE_DEPOSIT",
		22:  "BUS_EVENT_TYPE_AUCTION",
		23:  "BUS_EVENT_TYPE_RISK_FACTOR",
		24:  "BUS_EVENT_TYPE_NETWORK_PARAMETER",
		25:  "BUS_EVENT_TYPE_LIQUIDITY_PROVISION",
		26:  "BUS_EVENT_TYPE_MARKET_UPDATED",
		27:  "BUS_EVENT_TYPE_ORACLE_SPEC",
		28:  "BUS_EVENT_TYPE_ORACLE_DATA",
		29:  "BUS_EVENT_TYPE_DELEGATION_BALANCE",
		30:  "BUS_EVENT_TYPE_PENDING_DELEGATION_BALANCE",
		31:  "BUS_EVENT_TYPE_EPOCH_UPDATE",
		32:  "BUS_EVENT_TYPE_VALIDATOR_UPDATE",
		33:  "BUS_EVENT_TYPE_STAKING_EVENT",
		101: "BUS_EVENT_TYPE_MARKET",
		201: "BUS_EVENT_TYPE_TX_ERROR",
	}
	BusEventType_value = map[string]int32{
		"BUS_EVENT_TYPE_UNSPECIFIED":                0,
		"BUS_EVENT_TYPE_ALL":                        1,
		"BUS_EVENT_TYPE_TIME_UPDATE":                2,
		"BUS_EVENT_TYPE_TRANSFER_RESPONSES":         3,
		"BUS_EVENT_TYPE_POSITION_RESOLUTION":        4,
		"BUS_EVENT_TYPE_ORDER":                      5,
		"BUS_EVENT_TYPE_ACCOUNT":                    6,
		"BUS_EVENT_TYPE_PARTY":                      7,
		"BUS_EVENT_TYPE_TRADE":                      8,
		"BUS_EVENT_TYPE_MARGIN_LEVELS":              9,
		"BUS_EVENT_TYPE_PROPOSAL":                   10,
		"BUS_EVENT_TYPE_VOTE":                       11,
		"BUS_EVENT_TYPE_MARKET_DATA":                12,
		"BUS_EVENT_TYPE_NODE_SIGNATURE":             13,
		"BUS_EVENT_TYPE_LOSS_SOCIALIZATION":         14,
		"BUS_EVENT_TYPE_SETTLE_POSITION":            15,
		"BUS_EVENT_TYPE_SETTLE_DISTRESSED":          16,
		"BUS_EVENT_TYPE_MARKET_CREATED":             17,
		"BUS_EVENT_TYPE_ASSET":                      18,
		"BUS_EVENT_TYPE_MARKET_TICK":                19,
		"BUS_EVENT_TYPE_WITHDRAWAL":                 20,
		"BUS_EVENT_TYPE_DEPOSIT":                    21,
		"BUS_EVENT_TYPE_AUCTION":                    22,
		"BUS_EVENT_TYPE_RISK_FACTOR":                23,
		"BUS_EVENT_TYPE_NETWORK_PARAMETER":          24,
		"BUS_EVENT_TYPE_LIQUIDITY_PROVISION":        25,
		"BUS_EVENT_TYPE_MARKET_UPDATED":             26,
		"BUS_EVENT_TYPE_ORACLE_SPEC":                27,
		"BUS_EVENT_TYPE_ORACLE_DATA":                28,
		"BUS_EVENT_TYPE_DELEGATION_BALANCE":         29,
		"BUS_EVENT_TYPE_PENDING_DELEGATION_BALANCE": 30,
		"BUS_EVENT_TYPE_EPOCH_UPDATE":               31,
		"BUS_EVENT_TYPE_VALIDATOR_UPDATE":           32,
		"BUS_EVENT_TYPE_STAKING_EVENT":              33,
		"BUS_EVENT_TYPE_MARKET":                     101,
		"BUS_EVENT_TYPE_TX_ERROR":                   201,
	}
)

Enum value maps for BusEventType.

View Source
var (
	StakingEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_DEPOSIT",
		2: "TYPE_REMOVE",
	}
	StakingEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_DEPOSIT":     1,
		"TYPE_REMOVE":      2,
	}
)

Enum value maps for StakingEvent_Type.

View Source
var File_events_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuctionEvent

type AuctionEvent struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// True if the event indicates an auction opening and False otherwise
	OpeningAuction bool `protobuf:"varint,2,opt,name=opening_auction,json=openingAuction,proto3" json:"opening_auction,omitempty"`
	// True if the event indicates leaving auction mode and False otherwise
	Leave bool `protobuf:"varint,3,opt,name=leave,proto3" json:"leave,omitempty"`
	// Timestamp containing the start time for an auction
	Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
	// Timestamp containing the end time for an auction
	End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
	// the reason this market is/was in auction
	Trigger proto1.AuctionTrigger `protobuf:"varint,6,opt,name=trigger,proto3,enum=vega.AuctionTrigger" json:"trigger,omitempty"`
	// If an auction was ongoing, but was extended for whatever reason, this field will
	// be set to the trigger type indicating which component extended the auction
	ExtensionTrigger proto1.AuctionTrigger `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

An auction event indicating a change in auction state, for example starting or ending an auction

func (*AuctionEvent) Descriptor deprecated

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

Deprecated: Use AuctionEvent.ProtoReflect.Descriptor instead.

func (*AuctionEvent) GetEnd

func (x *AuctionEvent) GetEnd() int64

func (*AuctionEvent) GetExtensionTrigger

func (x *AuctionEvent) GetExtensionTrigger() proto1.AuctionTrigger

func (*AuctionEvent) GetLeave

func (x *AuctionEvent) GetLeave() bool

func (*AuctionEvent) GetMarketId

func (x *AuctionEvent) GetMarketId() string

func (*AuctionEvent) GetOpeningAuction

func (x *AuctionEvent) GetOpeningAuction() bool

func (*AuctionEvent) GetStart

func (x *AuctionEvent) GetStart() int64

func (*AuctionEvent) GetTrigger

func (x *AuctionEvent) GetTrigger() proto1.AuctionTrigger

func (*AuctionEvent) ProtoMessage

func (*AuctionEvent) ProtoMessage()

func (*AuctionEvent) ProtoReflect

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

func (*AuctionEvent) Reset

func (x *AuctionEvent) Reset()

func (*AuctionEvent) String

func (x *AuctionEvent) String() string

func (*AuctionEvent) Validate

func (this *AuctionEvent) Validate() error

type BusEvent

type BusEvent struct {

	// A unique event identifier for the message
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The batch (or block) of transactions that the events relate to
	Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	// The type of bus event (one of the list below)
	Type BusEventType `protobuf:"varint,3,opt,name=type,proto3,enum=vega.events.v1.BusEventType" json:"type,omitempty"`
	// Types that are assignable to Event:
	//	*BusEvent_TimeUpdate
	//	*BusEvent_TransferResponses
	//	*BusEvent_PositionResolution
	//	*BusEvent_Order
	//	*BusEvent_Account
	//	*BusEvent_Party
	//	*BusEvent_Trade
	//	*BusEvent_MarginLevels
	//	*BusEvent_Proposal
	//	*BusEvent_Vote
	//	*BusEvent_MarketData
	//	*BusEvent_NodeSignature
	//	*BusEvent_LossSocialization
	//	*BusEvent_SettlePosition
	//	*BusEvent_SettleDistressed
	//	*BusEvent_MarketCreated
	//	*BusEvent_Asset
	//	*BusEvent_MarketTick
	//	*BusEvent_Withdrawal
	//	*BusEvent_Deposit
	//	*BusEvent_Auction
	//	*BusEvent_RiskFactor
	//	*BusEvent_NetworkParameter
	//	*BusEvent_LiquidityProvision
	//	*BusEvent_MarketUpdated
	//	*BusEvent_OracleSpec
	//	*BusEvent_OracleData
	//	*BusEvent_DelegationBalance
	//	*BusEvent_PendingDelegationBalance
	//	*BusEvent_EpochEvent
	//	*BusEvent_ValidatorUpdate
	//	*BusEvent_StakingEvent
	//	*BusEvent_Market
	//	*BusEvent_TxErrEvent
	Event isBusEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

A bus event is a container for event bus events emitted by Vega

func (*BusEvent) Descriptor deprecated

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

Deprecated: Use BusEvent.ProtoReflect.Descriptor instead.

func (*BusEvent) GetAccount

func (x *BusEvent) GetAccount() *proto1.Account

func (*BusEvent) GetAsset

func (x *BusEvent) GetAsset() *proto1.Asset

func (*BusEvent) GetAuction

func (x *BusEvent) GetAuction() *AuctionEvent

func (*BusEvent) GetBlock

func (x *BusEvent) GetBlock() string

func (*BusEvent) GetDelegationBalance added in v0.41.0

func (x *BusEvent) GetDelegationBalance() *DelegationBalanceEvent

func (*BusEvent) GetDeposit

func (x *BusEvent) GetDeposit() *proto1.Deposit

func (*BusEvent) GetEpochEvent added in v0.41.0

func (x *BusEvent) GetEpochEvent() *EpochEvent

func (*BusEvent) GetEvent

func (m *BusEvent) GetEvent() isBusEvent_Event

func (*BusEvent) GetId

func (x *BusEvent) GetId() string

func (*BusEvent) GetLiquidityProvision

func (x *BusEvent) GetLiquidityProvision() *proto1.LiquidityProvision

func (*BusEvent) GetLossSocialization

func (x *BusEvent) GetLossSocialization() *LossSocialization

func (*BusEvent) GetMarginLevels

func (x *BusEvent) GetMarginLevels() *proto1.MarginLevels

func (*BusEvent) GetMarket

func (x *BusEvent) GetMarket() *MarketEvent

func (*BusEvent) GetMarketCreated

func (x *BusEvent) GetMarketCreated() *proto1.Market

func (*BusEvent) GetMarketData

func (x *BusEvent) GetMarketData() *proto1.MarketData

func (*BusEvent) GetMarketTick

func (x *BusEvent) GetMarketTick() *MarketTick

func (*BusEvent) GetMarketUpdated

func (x *BusEvent) GetMarketUpdated() *proto1.Market

func (*BusEvent) GetNetworkParameter

func (x *BusEvent) GetNetworkParameter() *proto1.NetworkParameter

func (*BusEvent) GetNodeSignature

func (x *BusEvent) GetNodeSignature() *v1.NodeSignature

func (*BusEvent) GetOracleData

func (x *BusEvent) GetOracleData() *v11.OracleData

func (*BusEvent) GetOracleSpec

func (x *BusEvent) GetOracleSpec() *v11.OracleSpec

func (*BusEvent) GetOrder

func (x *BusEvent) GetOrder() *proto1.Order

func (*BusEvent) GetParty

func (x *BusEvent) GetParty() *proto1.Party

func (*BusEvent) GetPendingDelegationBalance added in v0.41.0

func (x *BusEvent) GetPendingDelegationBalance() *PendingDelegationBalanceEvent

func (*BusEvent) GetPositionResolution

func (x *BusEvent) GetPositionResolution() *PositionResolution

func (*BusEvent) GetProposal

func (x *BusEvent) GetProposal() *proto1.Proposal

func (*BusEvent) GetRiskFactor

func (x *BusEvent) GetRiskFactor() *proto1.RiskFactor

func (*BusEvent) GetSettleDistressed

func (x *BusEvent) GetSettleDistressed() *SettleDistressed

func (*BusEvent) GetSettlePosition

func (x *BusEvent) GetSettlePosition() *SettlePosition

func (*BusEvent) GetStakingEvent added in v0.41.0

func (x *BusEvent) GetStakingEvent() *StakingEvent

func (*BusEvent) GetTimeUpdate

func (x *BusEvent) GetTimeUpdate() *TimeUpdate

func (*BusEvent) GetTrade

func (x *BusEvent) GetTrade() *proto1.Trade

func (*BusEvent) GetTransferResponses

func (x *BusEvent) GetTransferResponses() *TransferResponses

func (*BusEvent) GetTxErrEvent

func (x *BusEvent) GetTxErrEvent() *TxErrorEvent

func (*BusEvent) GetType

func (x *BusEvent) GetType() BusEventType

func (*BusEvent) GetValidatorUpdate added in v0.41.0

func (x *BusEvent) GetValidatorUpdate() *ValidatorUpdate

func (*BusEvent) GetVote

func (x *BusEvent) GetVote() *proto1.Vote

func (*BusEvent) GetWithdrawal

func (x *BusEvent) GetWithdrawal() *proto1.Withdrawal

func (*BusEvent) ProtoMessage

func (*BusEvent) ProtoMessage()

func (*BusEvent) ProtoReflect

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

func (*BusEvent) Reset

func (x *BusEvent) Reset()

func (*BusEvent) String

func (x *BusEvent) String() string

func (*BusEvent) Validate

func (this *BusEvent) Validate() error

type BusEventType

type BusEventType int32

An (event) bus event type is used to specify a type of event It has 2 styles of event: Single values (e.g. BUS_EVENT_TYPE_ORDER) where they represent one data item Group values (e.g. BUS_EVENT_TYPE_AUCTION) where they represent a group of data items

const (
	// Default value, always invalid
	BusEventType_BUS_EVENT_TYPE_UNSPECIFIED BusEventType = 0
	// Events of ALL event types, used when filtering stream from event bus
	BusEventType_BUS_EVENT_TYPE_ALL BusEventType = 1
	// Event for blockchain time updates
	BusEventType_BUS_EVENT_TYPE_TIME_UPDATE BusEventType = 2
	// Event for when a transfer happens internally, contains the transfer information
	BusEventType_BUS_EVENT_TYPE_TRANSFER_RESPONSES BusEventType = 3
	// Event indicating position resolution has occurred
	BusEventType_BUS_EVENT_TYPE_POSITION_RESOLUTION BusEventType = 4
	// Event for order updates, both new and existing orders
	BusEventType_BUS_EVENT_TYPE_ORDER BusEventType = 5
	// Event for account updates
	BusEventType_BUS_EVENT_TYPE_ACCOUNT BusEventType = 6
	// Event for party updates
	BusEventType_BUS_EVENT_TYPE_PARTY BusEventType = 7
	// Event indicating a new trade has occurred
	BusEventType_BUS_EVENT_TYPE_TRADE BusEventType = 8
	// Event indicating margin levels have changed for a party
	BusEventType_BUS_EVENT_TYPE_MARGIN_LEVELS BusEventType = 9
	// Event for proposal updates (for governance)
	BusEventType_BUS_EVENT_TYPE_PROPOSAL BusEventType = 10
	// Event indicating a new vote has occurred (for governance)
	BusEventType_BUS_EVENT_TYPE_VOTE BusEventType = 11
	// Event for market data updates
	BusEventType_BUS_EVENT_TYPE_MARKET_DATA BusEventType = 12
	// Event for a new signature for a Vega node
	BusEventType_BUS_EVENT_TYPE_NODE_SIGNATURE BusEventType = 13
	// Event indicating loss socialisation occurred for a party
	BusEventType_BUS_EVENT_TYPE_LOSS_SOCIALIZATION BusEventType = 14
	// Event for when a position is being settled
	BusEventType_BUS_EVENT_TYPE_SETTLE_POSITION BusEventType = 15
	// Event for when a position is distressed
	BusEventType_BUS_EVENT_TYPE_SETTLE_DISTRESSED BusEventType = 16
	// Event indicating a new market was created
	BusEventType_BUS_EVENT_TYPE_MARKET_CREATED BusEventType = 17
	// Event for when an asset is added to Vega
	BusEventType_BUS_EVENT_TYPE_ASSET BusEventType = 18
	// Event indicating a market tick event
	BusEventType_BUS_EVENT_TYPE_MARKET_TICK BusEventType = 19
	// Event for when a withdrawal occurs
	BusEventType_BUS_EVENT_TYPE_WITHDRAWAL BusEventType = 20
	// Event for when a deposit occurs
	BusEventType_BUS_EVENT_TYPE_DEPOSIT BusEventType = 21
	// Event indicating a change in auction state, for example starting or ending an auction
	BusEventType_BUS_EVENT_TYPE_AUCTION BusEventType = 22
	// Event indicating a risk factor has been updated
	BusEventType_BUS_EVENT_TYPE_RISK_FACTOR BusEventType = 23
	// Event indicating a network parameter has been added or updated
	BusEventType_BUS_EVENT_TYPE_NETWORK_PARAMETER BusEventType = 24
	// Event indicating a liquidity provision has been created or updated
	BusEventType_BUS_EVENT_TYPE_LIQUIDITY_PROVISION BusEventType = 25
	// Event indicating a new market was created
	BusEventType_BUS_EVENT_TYPE_MARKET_UPDATED BusEventType = 26
	// Event indicating an oracle spec has been created or updated
	BusEventType_BUS_EVENT_TYPE_ORACLE_SPEC BusEventType = 27
	// Event indicating that an oracle data has been broadcast
	BusEventType_BUS_EVENT_TYPE_ORACLE_DATA BusEventType = 28
	// Event indicating that an delegation balance of a party to a node for current epoch has changed
	BusEventType_BUS_EVENT_TYPE_DELEGATION_BALANCE BusEventType = 29
	// Event indicating that an delegation balance of a party to a node for next epoch has changed
	BusEventType_BUS_EVENT_TYPE_PENDING_DELEGATION_BALANCE BusEventType = 30
	// Event indicating the start or end of an epoch
	BusEventType_BUS_EVENT_TYPE_EPOCH_UPDATE BusEventType = 31
	// Event indicating that validator node has been updated
	BusEventType_BUS_EVENT_TYPE_VALIDATOR_UPDATE BusEventType = 32
	// Event indicating a new staking event have been processed by the network
	BusEventType_BUS_EVENT_TYPE_STAKING_EVENT BusEventType = 33
	// Event indicating a market related event, for example when a market opens
	BusEventType_BUS_EVENT_TYPE_MARKET BusEventType = 101
	// Event used to report failed transactions back to a user, this is excluded from the ALL type
	BusEventType_BUS_EVENT_TYPE_TX_ERROR BusEventType = 201
)

func (BusEventType) Descriptor

func (BusEventType) Enum

func (x BusEventType) Enum() *BusEventType

func (BusEventType) EnumDescriptor deprecated

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

Deprecated: Use BusEventType.Descriptor instead.

func (BusEventType) Number

func (BusEventType) String

func (x BusEventType) String() string

func (BusEventType) Type

type BusEvent_Account

type BusEvent_Account struct {
	// Account events
	Account *proto1.Account `protobuf:"bytes,105,opt,name=account,proto3,oneof"`
}

type BusEvent_Asset

type BusEvent_Asset struct {
	// Asset events
	Asset *proto1.Asset `protobuf:"bytes,117,opt,name=asset,proto3,oneof"`
}

type BusEvent_Auction

type BusEvent_Auction struct {
	// Auction events - See [AuctionEvent](#vega.AuctionEvent)
	Auction *AuctionEvent `protobuf:"bytes,121,opt,name=auction,proto3,oneof"`
}

type BusEvent_DelegationBalance added in v0.41.0

type BusEvent_DelegationBalance struct {
	// Delegation balance events
	DelegationBalance *DelegationBalanceEvent `protobuf:"bytes,129,opt,name=delegation_balance,json=delegationBalance,proto3,oneof"`
}

type BusEvent_Deposit

type BusEvent_Deposit struct {
	// Deposit events
	Deposit *proto1.Deposit `protobuf:"bytes,120,opt,name=deposit,proto3,oneof"`
}

type BusEvent_EpochEvent added in v0.41.0

type BusEvent_EpochEvent struct {
	// Epoch update events - See [Epoch](#vega.Epoch)
	EpochEvent *EpochEvent `protobuf:"bytes,131,opt,name=epoch_event,json=epochEvent,proto3,oneof"`
}

type BusEvent_LiquidityProvision

type BusEvent_LiquidityProvision struct {
	// LiquidityProvision  events
	LiquidityProvision *proto1.LiquidityProvision `protobuf:"bytes,124,opt,name=liquidity_provision,json=liquidityProvision,proto3,oneof"`
}

type BusEvent_LossSocialization

type BusEvent_LossSocialization struct {
	// Loss socialization events - See [LossSocialization](#vega.LossSocialization)
	LossSocialization *LossSocialization `protobuf:"bytes,113,opt,name=loss_socialization,json=lossSocialization,proto3,oneof"`
}

type BusEvent_MarginLevels

type BusEvent_MarginLevels struct {
	// Margin level update events
	MarginLevels *proto1.MarginLevels `protobuf:"bytes,108,opt,name=margin_levels,json=marginLevels,proto3,oneof"`
}

type BusEvent_Market

type BusEvent_Market struct {
	// Market tick events - See [MarketEvent](#vega.MarketEvent)
	Market *MarketEvent `protobuf:"bytes,1001,opt,name=market,proto3,oneof"`
}

type BusEvent_MarketCreated

type BusEvent_MarketCreated struct {
	// Market created events
	MarketCreated *proto1.Market `protobuf:"bytes,116,opt,name=market_created,json=marketCreated,proto3,oneof"`
}

type BusEvent_MarketData

type BusEvent_MarketData struct {
	// Market data events
	MarketData *proto1.MarketData `protobuf:"bytes,111,opt,name=market_data,json=marketData,proto3,oneof"`
}

type BusEvent_MarketTick

type BusEvent_MarketTick struct {
	// Market tick events - See [MarketTick](#vega.MarketTick)
	MarketTick *MarketTick `protobuf:"bytes,118,opt,name=market_tick,json=marketTick,proto3,oneof"`
}

type BusEvent_MarketUpdated

type BusEvent_MarketUpdated struct {
	// Market created events
	MarketUpdated *proto1.Market `protobuf:"bytes,125,opt,name=market_updated,json=marketUpdated,proto3,oneof"`
}

type BusEvent_NetworkParameter

type BusEvent_NetworkParameter struct {
	// Network parameter events
	NetworkParameter *proto1.NetworkParameter `protobuf:"bytes,123,opt,name=network_parameter,json=networkParameter,proto3,oneof"`
}

type BusEvent_NodeSignature

type BusEvent_NodeSignature struct {
	// Node signature events
	NodeSignature *v1.NodeSignature `protobuf:"bytes,112,opt,name=node_signature,json=nodeSignature,proto3,oneof"`
}

type BusEvent_OracleData

type BusEvent_OracleData struct {
	// OracleData events
	OracleData *v11.OracleData `protobuf:"bytes,127,opt,name=oracle_data,json=oracleData,proto3,oneof"`
}

type BusEvent_OracleSpec

type BusEvent_OracleSpec struct {
	// OracleSpec events
	OracleSpec *v11.OracleSpec `protobuf:"bytes,126,opt,name=oracle_spec,json=oracleSpec,proto3,oneof"`
}

type BusEvent_Order

type BusEvent_Order struct {
	// Order events
	Order *proto1.Order `protobuf:"bytes,104,opt,name=order,proto3,oneof"`
}

type BusEvent_Party

type BusEvent_Party struct {
	// Party events
	Party *proto1.Party `protobuf:"bytes,106,opt,name=party,proto3,oneof"`
}

type BusEvent_PendingDelegationBalance added in v0.41.0

type BusEvent_PendingDelegationBalance struct {
	// Pending delegation balance events
	PendingDelegationBalance *PendingDelegationBalanceEvent `protobuf:"bytes,130,opt,name=pending_delegation_balance,json=pendingDelegationBalance,proto3,oneof"`
}

type BusEvent_PositionResolution

type BusEvent_PositionResolution struct {
	// Position resolution events - See [PositionResolution](#vega.PositionResolution)
	PositionResolution *PositionResolution `protobuf:"bytes,103,opt,name=position_resolution,json=positionResolution,proto3,oneof"`
}

type BusEvent_Proposal

type BusEvent_Proposal struct {
	// Proposal events (for governance)
	Proposal *proto1.Proposal `protobuf:"bytes,109,opt,name=proposal,proto3,oneof"`
}

type BusEvent_RiskFactor

type BusEvent_RiskFactor struct {
	// Risk factor events
	RiskFactor *proto1.RiskFactor `protobuf:"bytes,122,opt,name=risk_factor,json=riskFactor,proto3,oneof"`
}

type BusEvent_SettleDistressed

type BusEvent_SettleDistressed struct {
	// Position distressed events - See [SettleDistressed](#vega.SettleDistressed)
	SettleDistressed *SettleDistressed `protobuf:"bytes,115,opt,name=settle_distressed,json=settleDistressed,proto3,oneof"`
}

type BusEvent_SettlePosition

type BusEvent_SettlePosition struct {
	// Position settlement events - See [SettlePosition](#vega.SettlePosition)
	SettlePosition *SettlePosition `protobuf:"bytes,114,opt,name=settle_position,json=settlePosition,proto3,oneof"`
}

type BusEvent_StakingEvent added in v0.41.0

type BusEvent_StakingEvent struct {
	// Staking event
	StakingEvent *StakingEvent `protobuf:"bytes,133,opt,name=staking_event,json=stakingEvent,proto3,oneof"`
}

type BusEvent_TimeUpdate

type BusEvent_TimeUpdate struct {
	// Time update events - See [TimeUpdate](#vega.TimeUpdate)
	TimeUpdate *TimeUpdate `protobuf:"bytes,101,opt,name=time_update,json=timeUpdate,proto3,oneof"`
}

type BusEvent_Trade

type BusEvent_Trade struct {
	// Trade events
	Trade *proto1.Trade `protobuf:"bytes,107,opt,name=trade,proto3,oneof"`
}

type BusEvent_TransferResponses

type BusEvent_TransferResponses struct {
	// Transfer responses update events - See [TransferResponses](#vega.TransferResponses)
	TransferResponses *TransferResponses `protobuf:"bytes,102,opt,name=transfer_responses,json=transferResponses,proto3,oneof"`
}

type BusEvent_TxErrEvent

type BusEvent_TxErrEvent struct {
	// Transaction error events, not included in the ALL event type
	TxErrEvent *TxErrorEvent `protobuf:"bytes,2001,opt,name=tx_err_event,json=txErrEvent,proto3,oneof"`
}

type BusEvent_ValidatorUpdate added in v0.41.0

type BusEvent_ValidatorUpdate struct {
	// Validator update events
	ValidatorUpdate *ValidatorUpdate `protobuf:"bytes,132,opt,name=validator_update,json=validatorUpdate,proto3,oneof"`
}

type BusEvent_Vote

type BusEvent_Vote struct {
	// Vote events (for governance)
	Vote *proto1.Vote `protobuf:"bytes,110,opt,name=vote,proto3,oneof"`
}

type BusEvent_Withdrawal

type BusEvent_Withdrawal struct {
	// Withdrawal events
	Withdrawal *proto1.Withdrawal `protobuf:"bytes,119,opt,name=withdrawal,proto3,oneof"`
}

type DelegationBalanceEvent added in v0.41.0

type DelegationBalanceEvent struct {
	Party  string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

DelegationBalanceEvent - updates on the delegation balance of a party to a node in the current epoch in effect

func (*DelegationBalanceEvent) Descriptor deprecated added in v0.41.0

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

Deprecated: Use DelegationBalanceEvent.ProtoReflect.Descriptor instead.

func (*DelegationBalanceEvent) GetAmount added in v0.41.0

func (x *DelegationBalanceEvent) GetAmount() uint64

func (*DelegationBalanceEvent) GetNodeId added in v0.41.0

func (x *DelegationBalanceEvent) GetNodeId() string

func (*DelegationBalanceEvent) GetParty added in v0.41.0

func (x *DelegationBalanceEvent) GetParty() string

func (*DelegationBalanceEvent) ProtoMessage added in v0.41.0

func (*DelegationBalanceEvent) ProtoMessage()

func (*DelegationBalanceEvent) ProtoReflect added in v0.41.0

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

func (*DelegationBalanceEvent) Reset added in v0.41.0

func (x *DelegationBalanceEvent) Reset()

func (*DelegationBalanceEvent) String added in v0.41.0

func (x *DelegationBalanceEvent) String() string

func (*DelegationBalanceEvent) Validate added in v0.41.0

func (this *DelegationBalanceEvent) Validate() error

type EpochEvent added in v0.41.0

type EpochEvent struct {

	// Sequence number that increases by one each epoch
	Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// What time did this epoch start
	StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// What time should this epoch end
	ExpireTime int64 `protobuf:"varint,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// What time did it actually end
	EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Epoch details

func (*EpochEvent) Descriptor deprecated added in v0.41.0

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

Deprecated: Use EpochEvent.ProtoReflect.Descriptor instead.

func (*EpochEvent) GetEndTime added in v0.41.0

func (x *EpochEvent) GetEndTime() int64

func (*EpochEvent) GetExpireTime added in v0.41.0

func (x *EpochEvent) GetExpireTime() int64

func (*EpochEvent) GetSeq added in v0.41.0

func (x *EpochEvent) GetSeq() uint64

func (*EpochEvent) GetStartTime added in v0.41.0

func (x *EpochEvent) GetStartTime() int64

func (*EpochEvent) ProtoMessage added in v0.41.0

func (*EpochEvent) ProtoMessage()

func (*EpochEvent) ProtoReflect added in v0.41.0

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

func (*EpochEvent) Reset added in v0.41.0

func (x *EpochEvent) Reset()

func (*EpochEvent) String added in v0.41.0

func (x *EpochEvent) String() string

func (*EpochEvent) Validate added in v0.41.0

func (this *EpochEvent) Validate() error

type LossSocialization

type LossSocialization struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Party identifier (public key) for the event
	PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Amount distributed
	Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

A loss socialization event contains details on the amount of wins unable to be distributed

func (*LossSocialization) Descriptor deprecated

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

Deprecated: Use LossSocialization.ProtoReflect.Descriptor instead.

func (*LossSocialization) GetAmount

func (x *LossSocialization) GetAmount() int64

func (*LossSocialization) GetMarketId

func (x *LossSocialization) GetMarketId() string

func (*LossSocialization) GetPartyId

func (x *LossSocialization) GetPartyId() string

func (*LossSocialization) ProtoMessage

func (*LossSocialization) ProtoMessage()

func (*LossSocialization) ProtoReflect

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

func (*LossSocialization) Reset

func (x *LossSocialization) Reset()

func (*LossSocialization) String

func (x *LossSocialization) String() string

func (*LossSocialization) Validate

func (this *LossSocialization) Validate() error

type MarketEvent

type MarketEvent struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Payload is a unique information string
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

MarketEvent - the common denominator for all market events interface has a method to return a string for logging

func (*MarketEvent) Descriptor deprecated

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

Deprecated: Use MarketEvent.ProtoReflect.Descriptor instead.

func (*MarketEvent) GetMarketId

func (x *MarketEvent) GetMarketId() string

func (*MarketEvent) GetPayload

func (x *MarketEvent) GetPayload() string

func (*MarketEvent) ProtoMessage

func (*MarketEvent) ProtoMessage()

func (*MarketEvent) ProtoReflect

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

func (*MarketEvent) Reset

func (x *MarketEvent) Reset()

func (*MarketEvent) String

func (x *MarketEvent) String() string

func (*MarketEvent) Validate

func (this *MarketEvent) Validate() error

type MarketTick

type MarketTick struct {

	// Market identifier for the event
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Timestamp containing latest update from Vega blockchain aka Vega-time
	Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

A market ticket event contains the time value for when a particular market was last processed on Vega

func (*MarketTick) Descriptor deprecated

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

Deprecated: Use MarketTick.ProtoReflect.Descriptor instead.

func (*MarketTick) GetId

func (x *MarketTick) GetId() string

func (*MarketTick) GetTime

func (x *MarketTick) GetTime() int64

func (*MarketTick) ProtoMessage

func (*MarketTick) ProtoMessage()

func (*MarketTick) ProtoReflect

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

func (*MarketTick) Reset

func (x *MarketTick) Reset()

func (*MarketTick) String

func (x *MarketTick) String() string

func (*MarketTick) Validate

func (this *MarketTick) Validate() error

type PendingDelegationBalanceEvent added in v0.41.0

type PendingDelegationBalanceEvent struct {
	Party              string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	NodeId             string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	DelegationAmount   uint64 `protobuf:"varint,3,opt,name=delegation_amount,json=delegationAmount,proto3" json:"delegation_amount,omitempty"`
	UndelegationAmount uint64 `protobuf:"varint,4,opt,name=undelegation_amount,json=undelegationAmount,proto3" json:"undelegation_amount,omitempty"`
	// contains filtered or unexported fields
}

PendingDelegationBalanceEvent - updates on the delegation/undelegation balance of a party to a node for the next epoch

func (*PendingDelegationBalanceEvent) Descriptor deprecated added in v0.41.0

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

Deprecated: Use PendingDelegationBalanceEvent.ProtoReflect.Descriptor instead.

func (*PendingDelegationBalanceEvent) GetDelegationAmount added in v0.41.0

func (x *PendingDelegationBalanceEvent) GetDelegationAmount() uint64

func (*PendingDelegationBalanceEvent) GetNodeId added in v0.41.0

func (x *PendingDelegationBalanceEvent) GetNodeId() string

func (*PendingDelegationBalanceEvent) GetParty added in v0.41.0

func (x *PendingDelegationBalanceEvent) GetParty() string

func (*PendingDelegationBalanceEvent) GetUndelegationAmount added in v0.41.0

func (x *PendingDelegationBalanceEvent) GetUndelegationAmount() uint64

func (*PendingDelegationBalanceEvent) ProtoMessage added in v0.41.0

func (*PendingDelegationBalanceEvent) ProtoMessage()

func (*PendingDelegationBalanceEvent) ProtoReflect added in v0.41.0

func (*PendingDelegationBalanceEvent) Reset added in v0.41.0

func (x *PendingDelegationBalanceEvent) Reset()

func (*PendingDelegationBalanceEvent) String added in v0.41.0

func (*PendingDelegationBalanceEvent) Validate added in v0.41.0

func (this *PendingDelegationBalanceEvent) Validate() error

type PositionResolution

type PositionResolution struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Number of distressed traders
	Distressed int64 `protobuf:"varint,2,opt,name=distressed,proto3" json:"distressed,omitempty"`
	// Number of close outs
	Closed int64 `protobuf:"varint,3,opt,name=closed,proto3" json:"closed,omitempty"`
	// Mark price, as an integer, for example `123456` is a correctly
	// formatted price of `1.23456` assuming market configured to 5 decimal places
	MarkPrice uint64 `protobuf:"varint,4,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
	// contains filtered or unexported fields
}

A position resolution event contains information on distressed trades

func (*PositionResolution) Descriptor deprecated

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

Deprecated: Use PositionResolution.ProtoReflect.Descriptor instead.

func (*PositionResolution) GetClosed

func (x *PositionResolution) GetClosed() int64

func (*PositionResolution) GetDistressed

func (x *PositionResolution) GetDistressed() int64

func (*PositionResolution) GetMarkPrice

func (x *PositionResolution) GetMarkPrice() uint64

func (*PositionResolution) GetMarketId

func (x *PositionResolution) GetMarketId() string

func (*PositionResolution) ProtoMessage

func (*PositionResolution) ProtoMessage()

func (*PositionResolution) ProtoReflect

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

func (*PositionResolution) Reset

func (x *PositionResolution) Reset()

func (*PositionResolution) String

func (x *PositionResolution) String() string

func (*PositionResolution) Validate

func (this *PositionResolution) Validate() error

type SettleDistressed

type SettleDistressed struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Party identifier (public key) for the event
	PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Margin value as an integer, for example `123456` is a correctly
	// formatted price of `1.23456` assuming market configured to 5 decimal places
	Margin uint64 `protobuf:"varint,3,opt,name=margin,proto3" json:"margin,omitempty"`
	// Price as an integer, for example `123456` is a correctly
	// formatted price of `1.23456` assuming market configured to 5 decimal places
	Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

A settle distressed event contains information on distressed trading parties who are closed out

func (*SettleDistressed) Descriptor deprecated

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

Deprecated: Use SettleDistressed.ProtoReflect.Descriptor instead.

func (*SettleDistressed) GetMargin

func (x *SettleDistressed) GetMargin() uint64

func (*SettleDistressed) GetMarketId

func (x *SettleDistressed) GetMarketId() string

func (*SettleDistressed) GetPartyId

func (x *SettleDistressed) GetPartyId() string

func (*SettleDistressed) GetPrice

func (x *SettleDistressed) GetPrice() uint64

func (*SettleDistressed) ProtoMessage

func (*SettleDistressed) ProtoMessage()

func (*SettleDistressed) ProtoReflect

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

func (*SettleDistressed) Reset

func (x *SettleDistressed) Reset()

func (*SettleDistressed) String

func (x *SettleDistressed) String() string

func (*SettleDistressed) Validate

func (this *SettleDistressed) Validate() error

type SettlePosition

type SettlePosition struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Party identifier (public key) for the event
	PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Price of settlement as an integer, for example `123456` is a correctly
	// formatted price of `1.23456` assuming market configured to 5 decimal places
	Price uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
	// A collection of 1 or more trade settlements
	TradeSettlements []*TradeSettlement `protobuf:"bytes,4,rep,name=trade_settlements,json=tradeSettlements,proto3" json:"trade_settlements,omitempty"`
	// contains filtered or unexported fields
}

A settle position event contains position settlement information for a party

func (*SettlePosition) Descriptor deprecated

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

Deprecated: Use SettlePosition.ProtoReflect.Descriptor instead.

func (*SettlePosition) GetMarketId

func (x *SettlePosition) GetMarketId() string

func (*SettlePosition) GetPartyId

func (x *SettlePosition) GetPartyId() string

func (*SettlePosition) GetPrice

func (x *SettlePosition) GetPrice() uint64

func (*SettlePosition) GetTradeSettlements

func (x *SettlePosition) GetTradeSettlements() []*TradeSettlement

func (*SettlePosition) ProtoMessage

func (*SettlePosition) ProtoMessage()

func (*SettlePosition) ProtoReflect

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

func (*SettlePosition) Reset

func (x *SettlePosition) Reset()

func (*SettlePosition) String

func (x *SettlePosition) String() string

func (*SettlePosition) Validate

func (this *SettlePosition) Validate() error

type StakingEvent added in v0.41.0

type StakingEvent struct {

	// The internal ID for this staking event
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of event
	Type StakingEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.events.v1.StakingEvent_Type" json:"type,omitempty"`
	// The timestamps at which the event was emitted by ethereum
	Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	// The party to whom the event is directed at.
	Party string `protobuf:"bytes,4,opt,name=party,proto3" json:"party,omitempty"`
	// The amount of stake deposited or removed
	Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

StakingEvent - an event notifying of stake being deposited or removed for a given party These events are emitted for every Staking deposit or removed accepted by the network

func (*StakingEvent) Descriptor deprecated added in v0.41.0

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

Deprecated: Use StakingEvent.ProtoReflect.Descriptor instead.

func (*StakingEvent) GetAmount added in v0.41.0

func (x *StakingEvent) GetAmount() string

func (*StakingEvent) GetId added in v0.41.0

func (x *StakingEvent) GetId() string

func (*StakingEvent) GetParty added in v0.41.0

func (x *StakingEvent) GetParty() string

func (*StakingEvent) GetTs added in v0.41.0

func (x *StakingEvent) GetTs() int64

func (*StakingEvent) GetType added in v0.41.0

func (x *StakingEvent) GetType() StakingEvent_Type

func (*StakingEvent) ProtoMessage added in v0.41.0

func (*StakingEvent) ProtoMessage()

func (*StakingEvent) ProtoReflect added in v0.41.0

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

func (*StakingEvent) Reset added in v0.41.0

func (x *StakingEvent) Reset()

func (*StakingEvent) String added in v0.41.0

func (x *StakingEvent) String() string

func (*StakingEvent) Validate added in v0.41.0

func (this *StakingEvent) Validate() error

type StakingEvent_Type added in v0.41.0

type StakingEvent_Type int32
const (
	// Default value
	StakingEvent_TYPE_UNSPECIFIED StakingEvent_Type = 0
	// Indicate of a stake deposit instruction
	StakingEvent_TYPE_DEPOSIT StakingEvent_Type = 1
	// Indicate of a stake remove instruction
	StakingEvent_TYPE_REMOVE StakingEvent_Type = 2
)

func (StakingEvent_Type) Descriptor added in v0.41.0

func (StakingEvent_Type) Enum added in v0.41.0

func (StakingEvent_Type) EnumDescriptor deprecated added in v0.41.0

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

Deprecated: Use StakingEvent_Type.Descriptor instead.

func (StakingEvent_Type) Number added in v0.41.0

func (StakingEvent_Type) String added in v0.41.0

func (x StakingEvent_Type) String() string

func (StakingEvent_Type) Type added in v0.41.0

type TimeUpdate

type TimeUpdate struct {

	// Timestamp containing latest update from Vega blockchain aka Vega-time
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

A time update event contains the latest time update from Vega blockchain

func (*TimeUpdate) Descriptor deprecated

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

Deprecated: Use TimeUpdate.ProtoReflect.Descriptor instead.

func (*TimeUpdate) GetTimestamp

func (x *TimeUpdate) GetTimestamp() int64

func (*TimeUpdate) ProtoMessage

func (*TimeUpdate) ProtoMessage()

func (*TimeUpdate) ProtoReflect

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

func (*TimeUpdate) Reset

func (x *TimeUpdate) Reset()

func (*TimeUpdate) String

func (x *TimeUpdate) String() string

func (*TimeUpdate) Validate

func (this *TimeUpdate) Validate() error

type TradeSettlement

type TradeSettlement struct {

	// Size of trade settlement
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Price of settlement as an integer, for example `123456` is a correctly
	// formatted price of `1.23456` assuming market configured to 5 decimal places
	Price uint64 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

A trade settlement is part of the settle position event

func (*TradeSettlement) Descriptor deprecated

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

Deprecated: Use TradeSettlement.ProtoReflect.Descriptor instead.

func (*TradeSettlement) GetPrice

func (x *TradeSettlement) GetPrice() uint64

func (*TradeSettlement) GetSize

func (x *TradeSettlement) GetSize() int64

func (*TradeSettlement) ProtoMessage

func (*TradeSettlement) ProtoMessage()

func (*TradeSettlement) ProtoReflect

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

func (*TradeSettlement) Reset

func (x *TradeSettlement) Reset()

func (*TradeSettlement) String

func (x *TradeSettlement) String() string

func (*TradeSettlement) Validate

func (this *TradeSettlement) Validate() error

type TransferResponses

type TransferResponses struct {

	// One or more entries containing internal transfer information
	Responses []*proto1.TransferResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

A transfer responses event contains a collection of transfer information

func (*TransferResponses) Descriptor deprecated

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

Deprecated: Use TransferResponses.ProtoReflect.Descriptor instead.

func (*TransferResponses) GetResponses

func (x *TransferResponses) GetResponses() []*proto1.TransferResponse

func (*TransferResponses) ProtoMessage

func (*TransferResponses) ProtoMessage()

func (*TransferResponses) ProtoReflect

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

func (*TransferResponses) Reset

func (x *TransferResponses) Reset()

func (*TransferResponses) String

func (x *TransferResponses) String() string

func (*TransferResponses) Validate

func (this *TransferResponses) Validate() error

type TxErrorEvent

type TxErrorEvent struct {

	// Unique party identifier for the related party
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// An error message describing what went wrong
	ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
	// The transaction that failed
	//
	// Types that are assignable to Transaction:
	//	*TxErrorEvent_OrderSubmission
	//	*TxErrorEvent_OrderAmendment
	//	*TxErrorEvent_OrderCancellation
	//	*TxErrorEvent_Proposal
	//	*TxErrorEvent_VoteSubmission
	//	*TxErrorEvent_LiquidityProvisionSubmission
	//	*TxErrorEvent_WithdrawSubmission
	Transaction isTxErrorEvent_Transaction `protobuf_oneof:"transaction"`
	// contains filtered or unexported fields
}

func (*TxErrorEvent) Descriptor deprecated

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

Deprecated: Use TxErrorEvent.ProtoReflect.Descriptor instead.

func (*TxErrorEvent) GetErrMsg

func (x *TxErrorEvent) GetErrMsg() string

func (*TxErrorEvent) GetLiquidityProvisionSubmission

func (x *TxErrorEvent) GetLiquidityProvisionSubmission() *v1.LiquidityProvisionSubmission

func (*TxErrorEvent) GetOrderAmendment

func (x *TxErrorEvent) GetOrderAmendment() *v1.OrderAmendment

func (*TxErrorEvent) GetOrderCancellation

func (x *TxErrorEvent) GetOrderCancellation() *v1.OrderCancellation

func (*TxErrorEvent) GetOrderSubmission

func (x *TxErrorEvent) GetOrderSubmission() *v1.OrderSubmission

func (*TxErrorEvent) GetPartyId

func (x *TxErrorEvent) GetPartyId() string

func (*TxErrorEvent) GetProposal

func (x *TxErrorEvent) GetProposal() *v1.ProposalSubmission

func (*TxErrorEvent) GetTransaction

func (m *TxErrorEvent) GetTransaction() isTxErrorEvent_Transaction

func (*TxErrorEvent) GetVoteSubmission

func (x *TxErrorEvent) GetVoteSubmission() *v1.VoteSubmission

func (*TxErrorEvent) GetWithdrawSubmission

func (x *TxErrorEvent) GetWithdrawSubmission() *v1.WithdrawSubmission

func (*TxErrorEvent) ProtoMessage

func (*TxErrorEvent) ProtoMessage()

func (*TxErrorEvent) ProtoReflect

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

func (*TxErrorEvent) Reset

func (x *TxErrorEvent) Reset()

func (*TxErrorEvent) String

func (x *TxErrorEvent) String() string

func (*TxErrorEvent) Validate

func (this *TxErrorEvent) Validate() error

type TxErrorEvent_LiquidityProvisionSubmission

type TxErrorEvent_LiquidityProvisionSubmission struct {
	LiquidityProvisionSubmission *v1.LiquidityProvisionSubmission `protobuf:"bytes,106,opt,name=liquidity_provision_submission,json=liquidityProvisionSubmission,proto3,oneof"`
}

type TxErrorEvent_OrderAmendment

type TxErrorEvent_OrderAmendment struct {
	OrderAmendment *v1.OrderAmendment `protobuf:"bytes,102,opt,name=order_amendment,json=orderAmendment,proto3,oneof"`
}

type TxErrorEvent_OrderCancellation

type TxErrorEvent_OrderCancellation struct {
	OrderCancellation *v1.OrderCancellation `protobuf:"bytes,103,opt,name=order_cancellation,json=orderCancellation,proto3,oneof"`
}

type TxErrorEvent_OrderSubmission

type TxErrorEvent_OrderSubmission struct {
	OrderSubmission *v1.OrderSubmission `protobuf:"bytes,101,opt,name=order_submission,json=orderSubmission,proto3,oneof"`
}

type TxErrorEvent_Proposal

type TxErrorEvent_Proposal struct {
	Proposal *v1.ProposalSubmission `protobuf:"bytes,104,opt,name=proposal,proto3,oneof"`
}

type TxErrorEvent_VoteSubmission

type TxErrorEvent_VoteSubmission struct {
	VoteSubmission *v1.VoteSubmission `protobuf:"bytes,105,opt,name=vote_submission,json=voteSubmission,proto3,oneof"`
}

type TxErrorEvent_WithdrawSubmission

type TxErrorEvent_WithdrawSubmission struct {
	WithdrawSubmission *v1.WithdrawSubmission `protobuf:"bytes,107,opt,name=withdraw_submission,json=withdrawSubmission,proto3,oneof"`
}

type ValidatorUpdate added in v0.41.0

type ValidatorUpdate struct {

	// Public key of validator node
	PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// Public key of Tendermint
	TmPubKey string `protobuf:"bytes,2,opt,name=tm_pub_key,json=tmPubKey,proto3" json:"tm_pub_key,omitempty"`
	// URL with more info on the node
	InfoUrl string `protobuf:"bytes,3,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"`
	// Country code (ISO 3166-1 alpha-2) for the location of the node
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

A validator update event contains information about validator node

func (*ValidatorUpdate) Descriptor deprecated added in v0.41.0

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

Deprecated: Use ValidatorUpdate.ProtoReflect.Descriptor instead.

func (*ValidatorUpdate) GetCountry added in v0.41.0

func (x *ValidatorUpdate) GetCountry() string

func (*ValidatorUpdate) GetInfoUrl added in v0.41.0

func (x *ValidatorUpdate) GetInfoUrl() string

func (*ValidatorUpdate) GetPubKey added in v0.41.0

func (x *ValidatorUpdate) GetPubKey() string

func (*ValidatorUpdate) GetTmPubKey added in v0.41.0

func (x *ValidatorUpdate) GetTmPubKey() string

func (*ValidatorUpdate) ProtoMessage added in v0.41.0

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) ProtoReflect added in v0.41.0

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

func (*ValidatorUpdate) Reset added in v0.41.0

func (x *ValidatorUpdate) Reset()

func (*ValidatorUpdate) String added in v0.41.0

func (x *ValidatorUpdate) String() string

func (*ValidatorUpdate) Validate added in v0.41.0

func (this *ValidatorUpdate) Validate() error

Jump to

Keyboard shortcuts

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