v1

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 7 Imported by: 0

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_VALIDATOR_SCORE",
	31:  "BUS_EVENT_TYPE_EPOCH_UPDATE",
	32:  "BUS_EVENT_TYPE_VALIDATOR_UPDATE",
	33:  "BUS_EVENT_TYPE_STAKE_LINKING",
	34:  "BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT",
	35:  "BUS_EVENT_TYPE_CHECKPOINT",
	36:  "BUS_EVENT_TYPE_STREAM_START",
	37:  "BUS_EVENT_TYPE_KEY_ROTATION",
	101: "BUS_EVENT_TYPE_MARKET",
	201: "BUS_EVENT_TYPE_TX_ERROR",
}
View Source
var 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_VALIDATOR_SCORE":     30,
	"BUS_EVENT_TYPE_EPOCH_UPDATE":        31,
	"BUS_EVENT_TYPE_VALIDATOR_UPDATE":    32,
	"BUS_EVENT_TYPE_STAKE_LINKING":       33,
	"BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT": 34,
	"BUS_EVENT_TYPE_CHECKPOINT":          35,
	"BUS_EVENT_TYPE_STREAM_START":        36,
	"BUS_EVENT_TYPE_KEY_ROTATION":        37,
	"BUS_EVENT_TYPE_MARKET":              101,
	"BUS_EVENT_TYPE_TX_ERROR":            201,
}
View Source
var StakeLinking_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "STATUS_PENDING",
	2: "STATUS_ACCEPTED",
	3: "STATUS_REJECTED",
}
View Source
var StakeLinking_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"STATUS_PENDING":     1,
	"STATUS_ACCEPTED":    2,
	"STATUS_REJECTED":    3,
}
View Source
var StakeLinking_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "TYPE_LINK",
	2: "TYPE_UNLINK",
}
View Source
var StakeLinking_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"TYPE_LINK":        1,
	"TYPE_UNLINK":      2,
}

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 vega.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     vega.AuctionTrigger `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

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

func (*AuctionEvent) Descriptor

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

func (*AuctionEvent) GetEnd

func (m *AuctionEvent) GetEnd() int64

func (*AuctionEvent) GetExtensionTrigger

func (m *AuctionEvent) GetExtensionTrigger() vega.AuctionTrigger

func (*AuctionEvent) GetLeave

func (m *AuctionEvent) GetLeave() bool

func (*AuctionEvent) GetMarketId

func (m *AuctionEvent) GetMarketId() string

func (*AuctionEvent) GetOpeningAuction

func (m *AuctionEvent) GetOpeningAuction() bool

func (*AuctionEvent) GetStart

func (m *AuctionEvent) GetStart() int64

func (*AuctionEvent) GetTrigger

func (m *AuctionEvent) GetTrigger() vega.AuctionTrigger

func (*AuctionEvent) ProtoMessage

func (*AuctionEvent) ProtoMessage()

func (*AuctionEvent) Reset

func (m *AuctionEvent) Reset()

func (*AuctionEvent) String

func (m *AuctionEvent) String() string

func (*AuctionEvent) Validate

func (this *AuctionEvent) Validate() error

func (*AuctionEvent) XXX_DiscardUnknown added in v0.47.0

func (m *AuctionEvent) XXX_DiscardUnknown()

func (*AuctionEvent) XXX_Marshal added in v0.47.0

func (m *AuctionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuctionEvent) XXX_Merge added in v0.47.0

func (m *AuctionEvent) XXX_Merge(src proto.Message)

func (*AuctionEvent) XXX_Size added in v0.47.0

func (m *AuctionEvent) XXX_Size() int

func (*AuctionEvent) XXX_Unmarshal added in v0.47.0

func (m *AuctionEvent) XXX_Unmarshal(b []byte) 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 valid to be assigned 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_ValidatorScore
	//	*BusEvent_EpochEvent
	//	*BusEvent_ValidatorUpdate
	//	*BusEvent_StakeLinking
	//	*BusEvent_RewardPayout
	//	*BusEvent_Checkpoint
	//	*BusEvent_KeyRotation
	//	*BusEvent_Market
	//	*BusEvent_TxErrEvent
	Event isBusEvent_Event `protobuf_oneof:"event"`
	// Version of bus event
	Version              uint32   `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	ChainId              string   `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*BusEvent) Descriptor

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

func (*BusEvent) GetAccount

func (m *BusEvent) GetAccount() *vega.Account

func (*BusEvent) GetAsset

func (m *BusEvent) GetAsset() *vega.Asset

func (*BusEvent) GetAuction

func (m *BusEvent) GetAuction() *AuctionEvent

func (*BusEvent) GetBlock

func (m *BusEvent) GetBlock() string

func (*BusEvent) GetChainId added in v0.47.0

func (m *BusEvent) GetChainId() string

func (*BusEvent) GetCheckpoint

func (m *BusEvent) GetCheckpoint() *CheckpointEvent

func (*BusEvent) GetDelegationBalance

func (m *BusEvent) GetDelegationBalance() *DelegationBalanceEvent

func (*BusEvent) GetDeposit

func (m *BusEvent) GetDeposit() *vega.Deposit

func (*BusEvent) GetEpochEvent

func (m *BusEvent) GetEpochEvent() *EpochEvent

func (*BusEvent) GetEvent

func (m *BusEvent) GetEvent() isBusEvent_Event

func (*BusEvent) GetId

func (m *BusEvent) GetId() string

func (*BusEvent) GetKeyRotation added in v0.47.0

func (m *BusEvent) GetKeyRotation() *KeyRotation

func (*BusEvent) GetLiquidityProvision

func (m *BusEvent) GetLiquidityProvision() *vega.LiquidityProvision

func (*BusEvent) GetLossSocialization

func (m *BusEvent) GetLossSocialization() *LossSocialization

func (*BusEvent) GetMarginLevels

func (m *BusEvent) GetMarginLevels() *vega.MarginLevels

func (*BusEvent) GetMarket

func (m *BusEvent) GetMarket() *MarketEvent

func (*BusEvent) GetMarketCreated

func (m *BusEvent) GetMarketCreated() *vega.Market

func (*BusEvent) GetMarketData

func (m *BusEvent) GetMarketData() *vega.MarketData

func (*BusEvent) GetMarketTick

func (m *BusEvent) GetMarketTick() *MarketTick

func (*BusEvent) GetMarketUpdated

func (m *BusEvent) GetMarketUpdated() *vega.Market

func (*BusEvent) GetNetworkParameter

func (m *BusEvent) GetNetworkParameter() *vega.NetworkParameter

func (*BusEvent) GetNodeSignature

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

func (*BusEvent) GetOracleData

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

func (*BusEvent) GetOracleSpec

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

func (*BusEvent) GetOrder

func (m *BusEvent) GetOrder() *vega.Order

func (*BusEvent) GetParty

func (m *BusEvent) GetParty() *vega.Party

func (*BusEvent) GetPositionResolution

func (m *BusEvent) GetPositionResolution() *PositionResolution

func (*BusEvent) GetProposal

func (m *BusEvent) GetProposal() *vega.Proposal

func (*BusEvent) GetRewardPayout

func (m *BusEvent) GetRewardPayout() *RewardPayoutEvent

func (*BusEvent) GetRiskFactor

func (m *BusEvent) GetRiskFactor() *vega.RiskFactor

func (*BusEvent) GetSettleDistressed

func (m *BusEvent) GetSettleDistressed() *SettleDistressed

func (*BusEvent) GetSettlePosition

func (m *BusEvent) GetSettlePosition() *SettlePosition

func (*BusEvent) GetStakeLinking

func (m *BusEvent) GetStakeLinking() *StakeLinking

func (*BusEvent) GetTimeUpdate

func (m *BusEvent) GetTimeUpdate() *TimeUpdate

func (*BusEvent) GetTrade

func (m *BusEvent) GetTrade() *vega.Trade

func (*BusEvent) GetTransferResponses

func (m *BusEvent) GetTransferResponses() *TransferResponses

func (*BusEvent) GetTxErrEvent

func (m *BusEvent) GetTxErrEvent() *TxErrorEvent

func (*BusEvent) GetType

func (m *BusEvent) GetType() BusEventType

func (*BusEvent) GetValidatorScore

func (m *BusEvent) GetValidatorScore() *ValidatorScoreEvent

func (*BusEvent) GetValidatorUpdate

func (m *BusEvent) GetValidatorUpdate() *ValidatorUpdate

func (*BusEvent) GetVersion

func (m *BusEvent) GetVersion() uint32

func (*BusEvent) GetVote

func (m *BusEvent) GetVote() *vega.Vote

func (*BusEvent) GetWithdrawal

func (m *BusEvent) GetWithdrawal() *vega.Withdrawal

func (*BusEvent) ProtoMessage

func (*BusEvent) ProtoMessage()

func (*BusEvent) Reset

func (m *BusEvent) Reset()

func (*BusEvent) String

func (m *BusEvent) String() string

func (*BusEvent) Validate

func (this *BusEvent) Validate() error

func (*BusEvent) XXX_DiscardUnknown added in v0.47.0

func (m *BusEvent) XXX_DiscardUnknown()

func (*BusEvent) XXX_Marshal added in v0.47.0

func (m *BusEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BusEvent) XXX_Merge added in v0.47.0

func (m *BusEvent) XXX_Merge(src proto.Message)

func (*BusEvent) XXX_OneofWrappers added in v0.47.0

func (*BusEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BusEvent) XXX_Size added in v0.47.0

func (m *BusEvent) XXX_Size() int

func (*BusEvent) XXX_Unmarshal added in v0.47.0

func (m *BusEvent) XXX_Unmarshal(b []byte) 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 the validator score for the given epoch
	BusEventType_BUS_EVENT_TYPE_VALIDATOR_SCORE 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_STAKE_LINKING BusEventType = 33
	// Event indicating the payout of a reward has been initiated
	BusEventType_BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT BusEventType = 34
	// Event indicating a new checkpoint was created
	BusEventType_BUS_EVENT_TYPE_CHECKPOINT BusEventType = 35
	// Event indicating stream is starting
	BusEventType_BUS_EVENT_TYPE_STREAM_START BusEventType = 36
	// Event indicating key rotation took place
	BusEventType_BUS_EVENT_TYPE_KEY_ROTATION BusEventType = 37
	// 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) EnumDescriptor

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

func (BusEventType) String

func (x BusEventType) String() string

type BusEvent_Account

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

type BusEvent_Asset

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

type BusEvent_Auction

type BusEvent_Auction struct {
	Auction *AuctionEvent `protobuf:"bytes,121,opt,name=auction,proto3,oneof"`
}

type BusEvent_Checkpoint

type BusEvent_Checkpoint struct {
	Checkpoint *CheckpointEvent `protobuf:"bytes,135,opt,name=checkpoint,proto3,oneof"`
}

type BusEvent_DelegationBalance

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

type BusEvent_Deposit

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

type BusEvent_EpochEvent

type BusEvent_EpochEvent struct {
	EpochEvent *EpochEvent `protobuf:"bytes,131,opt,name=epoch_event,json=epochEvent,proto3,oneof"`
}

type BusEvent_KeyRotation added in v0.47.0

type BusEvent_KeyRotation struct {
	KeyRotation *KeyRotation `protobuf:"bytes,136,opt,name=key_rotation,json=keyRotation,proto3,oneof"`
}

type BusEvent_LiquidityProvision

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

type BusEvent_LossSocialization

type BusEvent_LossSocialization struct {
	LossSocialization *LossSocialization `protobuf:"bytes,113,opt,name=loss_socialization,json=lossSocialization,proto3,oneof"`
}

type BusEvent_MarginLevels

type BusEvent_MarginLevels struct {
	MarginLevels *vega.MarginLevels `protobuf:"bytes,108,opt,name=margin_levels,json=marginLevels,proto3,oneof"`
}

type BusEvent_Market

type BusEvent_Market struct {
	Market *MarketEvent `protobuf:"bytes,1001,opt,name=market,proto3,oneof"`
}

type BusEvent_MarketCreated

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

type BusEvent_MarketData

type BusEvent_MarketData struct {
	MarketData *vega.MarketData `protobuf:"bytes,111,opt,name=market_data,json=marketData,proto3,oneof"`
}

type BusEvent_MarketTick

type BusEvent_MarketTick struct {
	MarketTick *MarketTick `protobuf:"bytes,118,opt,name=market_tick,json=marketTick,proto3,oneof"`
}

type BusEvent_MarketUpdated

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

type BusEvent_NetworkParameter

type BusEvent_NetworkParameter struct {
	NetworkParameter *vega.NetworkParameter `protobuf:"bytes,123,opt,name=network_parameter,json=networkParameter,proto3,oneof"`
}

type BusEvent_NodeSignature

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

type BusEvent_OracleData

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

type BusEvent_OracleSpec

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

type BusEvent_Order

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

type BusEvent_Party

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

type BusEvent_PositionResolution

type BusEvent_PositionResolution struct {
	PositionResolution *PositionResolution `protobuf:"bytes,103,opt,name=position_resolution,json=positionResolution,proto3,oneof"`
}

type BusEvent_Proposal

type BusEvent_Proposal struct {
	Proposal *vega.Proposal `protobuf:"bytes,109,opt,name=proposal,proto3,oneof"`
}

type BusEvent_RewardPayout

type BusEvent_RewardPayout struct {
	RewardPayout *RewardPayoutEvent `protobuf:"bytes,134,opt,name=reward_payout,json=rewardPayout,proto3,oneof"`
}

type BusEvent_RiskFactor

type BusEvent_RiskFactor struct {
	RiskFactor *vega.RiskFactor `protobuf:"bytes,122,opt,name=risk_factor,json=riskFactor,proto3,oneof"`
}

type BusEvent_SettleDistressed

type BusEvent_SettleDistressed struct {
	SettleDistressed *SettleDistressed `protobuf:"bytes,115,opt,name=settle_distressed,json=settleDistressed,proto3,oneof"`
}

type BusEvent_SettlePosition

type BusEvent_SettlePosition struct {
	SettlePosition *SettlePosition `protobuf:"bytes,114,opt,name=settle_position,json=settlePosition,proto3,oneof"`
}

type BusEvent_StakeLinking

type BusEvent_StakeLinking struct {
	StakeLinking *StakeLinking `protobuf:"bytes,133,opt,name=stake_linking,json=stakeLinking,proto3,oneof"`
}

type BusEvent_TimeUpdate

type BusEvent_TimeUpdate struct {
	TimeUpdate *TimeUpdate `protobuf:"bytes,101,opt,name=time_update,json=timeUpdate,proto3,oneof"`
}

type BusEvent_Trade

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

type BusEvent_TransferResponses

type BusEvent_TransferResponses struct {
	TransferResponses *TransferResponses `protobuf:"bytes,102,opt,name=transfer_responses,json=transferResponses,proto3,oneof"`
}

type BusEvent_TxErrEvent

type BusEvent_TxErrEvent struct {
	TxErrEvent *TxErrorEvent `protobuf:"bytes,2001,opt,name=tx_err_event,json=txErrEvent,proto3,oneof"`
}

type BusEvent_ValidatorScore

type BusEvent_ValidatorScore struct {
	ValidatorScore *ValidatorScoreEvent `protobuf:"bytes,130,opt,name=validator_score,json=validatorScore,proto3,oneof"`
}

type BusEvent_ValidatorUpdate

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

type BusEvent_Vote

type BusEvent_Vote struct {
	Vote *vega.Vote `protobuf:"bytes,110,opt,name=vote,proto3,oneof"`
}

type BusEvent_Withdrawal

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

type CheckpointEvent

type CheckpointEvent struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	BlockHash            string   `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockHeight          uint64   `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckpointEvent) Descriptor

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

func (*CheckpointEvent) GetBlockHash

func (m *CheckpointEvent) GetBlockHash() string

func (*CheckpointEvent) GetBlockHeight

func (m *CheckpointEvent) GetBlockHeight() uint64

func (*CheckpointEvent) GetHash

func (m *CheckpointEvent) GetHash() string

func (*CheckpointEvent) ProtoMessage

func (*CheckpointEvent) ProtoMessage()

func (*CheckpointEvent) Reset

func (m *CheckpointEvent) Reset()

func (*CheckpointEvent) String

func (m *CheckpointEvent) String() string

func (*CheckpointEvent) Validate

func (this *CheckpointEvent) Validate() error

func (*CheckpointEvent) XXX_DiscardUnknown added in v0.47.0

func (m *CheckpointEvent) XXX_DiscardUnknown()

func (*CheckpointEvent) XXX_Marshal added in v0.47.0

func (m *CheckpointEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointEvent) XXX_Merge added in v0.47.0

func (m *CheckpointEvent) XXX_Merge(src proto.Message)

func (*CheckpointEvent) XXX_Size added in v0.47.0

func (m *CheckpointEvent) XXX_Size() int

func (*CheckpointEvent) XXX_Unmarshal added in v0.47.0

func (m *CheckpointEvent) XXX_Unmarshal(b []byte) error

type DelegationBalanceEvent

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               string   `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	EpochSeq             string   `protobuf:"bytes,4,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*DelegationBalanceEvent) Descriptor

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

func (*DelegationBalanceEvent) GetAmount

func (m *DelegationBalanceEvent) GetAmount() string

func (*DelegationBalanceEvent) GetEpochSeq

func (m *DelegationBalanceEvent) GetEpochSeq() string

func (*DelegationBalanceEvent) GetNodeId

func (m *DelegationBalanceEvent) GetNodeId() string

func (*DelegationBalanceEvent) GetParty

func (m *DelegationBalanceEvent) GetParty() string

func (*DelegationBalanceEvent) ProtoMessage

func (*DelegationBalanceEvent) ProtoMessage()

func (*DelegationBalanceEvent) Reset

func (m *DelegationBalanceEvent) Reset()

func (*DelegationBalanceEvent) String

func (m *DelegationBalanceEvent) String() string

func (*DelegationBalanceEvent) Validate

func (this *DelegationBalanceEvent) Validate() error

func (*DelegationBalanceEvent) XXX_DiscardUnknown added in v0.47.0

func (m *DelegationBalanceEvent) XXX_DiscardUnknown()

func (*DelegationBalanceEvent) XXX_Marshal added in v0.47.0

func (m *DelegationBalanceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationBalanceEvent) XXX_Merge added in v0.47.0

func (m *DelegationBalanceEvent) XXX_Merge(src proto.Message)

func (*DelegationBalanceEvent) XXX_Size added in v0.47.0

func (m *DelegationBalanceEvent) XXX_Size() int

func (*DelegationBalanceEvent) XXX_Unmarshal added in v0.47.0

func (m *DelegationBalanceEvent) XXX_Unmarshal(b []byte) error

type EpochEvent

type EpochEvent struct {
	// Sequence number that increases by one each epoch
	Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	// Action tells us what action is taking place
	Action vega.EpochAction `protobuf:"varint,2,opt,name=action,proto3,enum=vega.EpochAction" json:"action,omitempty"`
	// What time did this epoch start
	StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// What time should this epoch end
	ExpireTime int64 `protobuf:"varint,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// What time did it actually end
	EndTime              int64    `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Epoch details

func (*EpochEvent) Descriptor

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

func (*EpochEvent) GetAction

func (m *EpochEvent) GetAction() vega.EpochAction

func (*EpochEvent) GetEndTime

func (m *EpochEvent) GetEndTime() int64

func (*EpochEvent) GetExpireTime

func (m *EpochEvent) GetExpireTime() int64

func (*EpochEvent) GetSeq

func (m *EpochEvent) GetSeq() uint64

func (*EpochEvent) GetStartTime

func (m *EpochEvent) GetStartTime() int64

func (*EpochEvent) ProtoMessage

func (*EpochEvent) ProtoMessage()

func (*EpochEvent) Reset

func (m *EpochEvent) Reset()

func (*EpochEvent) String

func (m *EpochEvent) String() string

func (*EpochEvent) Validate

func (this *EpochEvent) Validate() error

func (*EpochEvent) XXX_DiscardUnknown added in v0.47.0

func (m *EpochEvent) XXX_DiscardUnknown()

func (*EpochEvent) XXX_Marshal added in v0.47.0

func (m *EpochEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EpochEvent) XXX_Merge added in v0.47.0

func (m *EpochEvent) XXX_Merge(src proto.Message)

func (*EpochEvent) XXX_Size added in v0.47.0

func (m *EpochEvent) XXX_Size() int

func (*EpochEvent) XXX_Unmarshal added in v0.47.0

func (m *EpochEvent) XXX_Unmarshal(b []byte) error

type KeyRotation added in v0.47.0

type KeyRotation struct {
	// Node id of the node
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Old Vega public key of validator node
	OldPubKey string `protobuf:"bytes,2,opt,name=old_pub_key,json=oldPubKey,proto3" json:"old_pub_key,omitempty"`
	// New Vega public key of validator node
	NewPubKey string `protobuf:"bytes,3,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"`
	// Height of the block where key rotation took effect
	BlockHeight          uint64   `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A key rotation events contains information about Vega key rotation

func (*KeyRotation) Descriptor added in v0.47.0

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

func (*KeyRotation) GetBlockHeight added in v0.47.0

func (m *KeyRotation) GetBlockHeight() uint64

func (*KeyRotation) GetNewPubKey added in v0.47.0

func (m *KeyRotation) GetNewPubKey() string

func (*KeyRotation) GetNodeId added in v0.47.0

func (m *KeyRotation) GetNodeId() string

func (*KeyRotation) GetOldPubKey added in v0.47.0

func (m *KeyRotation) GetOldPubKey() string

func (*KeyRotation) ProtoMessage added in v0.47.0

func (*KeyRotation) ProtoMessage()

func (*KeyRotation) Reset added in v0.47.0

func (m *KeyRotation) Reset()

func (*KeyRotation) String added in v0.47.0

func (m *KeyRotation) String() string

func (*KeyRotation) Validate added in v0.47.0

func (this *KeyRotation) Validate() error

func (*KeyRotation) XXX_DiscardUnknown added in v0.47.0

func (m *KeyRotation) XXX_DiscardUnknown()

func (*KeyRotation) XXX_Marshal added in v0.47.0

func (m *KeyRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyRotation) XXX_Merge added in v0.47.0

func (m *KeyRotation) XXX_Merge(src proto.Message)

func (*KeyRotation) XXX_Size added in v0.47.0

func (m *KeyRotation) XXX_Size() int

func (*KeyRotation) XXX_Unmarshal added in v0.47.0

func (m *KeyRotation) XXX_Unmarshal(b []byte) 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               string   `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*LossSocialization) Descriptor

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

func (*LossSocialization) GetAmount

func (m *LossSocialization) GetAmount() string

func (*LossSocialization) GetMarketId

func (m *LossSocialization) GetMarketId() string

func (*LossSocialization) GetPartyId

func (m *LossSocialization) GetPartyId() string

func (*LossSocialization) ProtoMessage

func (*LossSocialization) ProtoMessage()

func (*LossSocialization) Reset

func (m *LossSocialization) Reset()

func (*LossSocialization) String

func (m *LossSocialization) String() string

func (*LossSocialization) Validate

func (this *LossSocialization) Validate() error

func (*LossSocialization) XXX_DiscardUnknown added in v0.47.0

func (m *LossSocialization) XXX_DiscardUnknown()

func (*LossSocialization) XXX_Marshal added in v0.47.0

func (m *LossSocialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LossSocialization) XXX_Merge added in v0.47.0

func (m *LossSocialization) XXX_Merge(src proto.Message)

func (*LossSocialization) XXX_Size added in v0.47.0

func (m *LossSocialization) XXX_Size() int

func (*LossSocialization) XXX_Unmarshal added in v0.47.0

func (m *LossSocialization) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*MarketEvent) Descriptor

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

func (*MarketEvent) GetMarketId

func (m *MarketEvent) GetMarketId() string

func (*MarketEvent) GetPayload

func (m *MarketEvent) GetPayload() string

func (*MarketEvent) ProtoMessage

func (*MarketEvent) ProtoMessage()

func (*MarketEvent) Reset

func (m *MarketEvent) Reset()

func (*MarketEvent) String

func (m *MarketEvent) String() string

func (*MarketEvent) Validate

func (this *MarketEvent) Validate() error

func (*MarketEvent) XXX_DiscardUnknown added in v0.47.0

func (m *MarketEvent) XXX_DiscardUnknown()

func (*MarketEvent) XXX_Marshal added in v0.47.0

func (m *MarketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketEvent) XXX_Merge added in v0.47.0

func (m *MarketEvent) XXX_Merge(src proto.Message)

func (*MarketEvent) XXX_Size added in v0.47.0

func (m *MarketEvent) XXX_Size() int

func (*MarketEvent) XXX_Unmarshal added in v0.47.0

func (m *MarketEvent) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*MarketTick) Descriptor

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

func (*MarketTick) GetId

func (m *MarketTick) GetId() string

func (*MarketTick) GetTime

func (m *MarketTick) GetTime() int64

func (*MarketTick) ProtoMessage

func (*MarketTick) ProtoMessage()

func (*MarketTick) Reset

func (m *MarketTick) Reset()

func (*MarketTick) String

func (m *MarketTick) String() string

func (*MarketTick) Validate

func (this *MarketTick) Validate() error

func (*MarketTick) XXX_DiscardUnknown added in v0.47.0

func (m *MarketTick) XXX_DiscardUnknown()

func (*MarketTick) XXX_Marshal added in v0.47.0

func (m *MarketTick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketTick) XXX_Merge added in v0.47.0

func (m *MarketTick) XXX_Merge(src proto.Message)

func (*MarketTick) XXX_Size added in v0.47.0

func (m *MarketTick) XXX_Size() int

func (*MarketTick) XXX_Unmarshal added in v0.47.0

func (m *MarketTick) XXX_Unmarshal(b []byte) 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 a string representing a scaled price
	MarkPrice            string   `protobuf:"bytes,4,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A position resolution event contains information on distressed trades

func (*PositionResolution) Descriptor

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

func (*PositionResolution) GetClosed

func (m *PositionResolution) GetClosed() int64

func (*PositionResolution) GetDistressed

func (m *PositionResolution) GetDistressed() int64

func (*PositionResolution) GetMarkPrice

func (m *PositionResolution) GetMarkPrice() string

func (*PositionResolution) GetMarketId

func (m *PositionResolution) GetMarketId() string

func (*PositionResolution) ProtoMessage

func (*PositionResolution) ProtoMessage()

func (*PositionResolution) Reset

func (m *PositionResolution) Reset()

func (*PositionResolution) String

func (m *PositionResolution) String() string

func (*PositionResolution) Validate

func (this *PositionResolution) Validate() error

func (*PositionResolution) XXX_DiscardUnknown added in v0.47.0

func (m *PositionResolution) XXX_DiscardUnknown()

func (*PositionResolution) XXX_Marshal added in v0.47.0

func (m *PositionResolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PositionResolution) XXX_Merge added in v0.47.0

func (m *PositionResolution) XXX_Merge(src proto.Message)

func (*PositionResolution) XXX_Size added in v0.47.0

func (m *PositionResolution) XXX_Size() int

func (*PositionResolution) XXX_Unmarshal added in v0.47.0

func (m *PositionResolution) XXX_Unmarshal(b []byte) error

type RewardPayoutEvent

type RewardPayoutEvent struct {
	Party                string   `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	EpochSeq             string   `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	Asset                string   `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount               string   `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	PercentOfTotalReward string   `protobuf:"bytes,5,opt,name=percent_of_total_reward,json=percentOfTotalReward,proto3" json:"percent_of_total_reward,omitempty"`
	Timestamp            int64    `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RewardPayoutEvent) Descriptor

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

func (*RewardPayoutEvent) GetAmount

func (m *RewardPayoutEvent) GetAmount() string

func (*RewardPayoutEvent) GetAsset

func (m *RewardPayoutEvent) GetAsset() string

func (*RewardPayoutEvent) GetEpochSeq

func (m *RewardPayoutEvent) GetEpochSeq() string

func (*RewardPayoutEvent) GetParty

func (m *RewardPayoutEvent) GetParty() string

func (*RewardPayoutEvent) GetPercentOfTotalReward

func (m *RewardPayoutEvent) GetPercentOfTotalReward() string

func (*RewardPayoutEvent) GetTimestamp

func (m *RewardPayoutEvent) GetTimestamp() int64

func (*RewardPayoutEvent) ProtoMessage

func (*RewardPayoutEvent) ProtoMessage()

func (*RewardPayoutEvent) Reset

func (m *RewardPayoutEvent) Reset()

func (*RewardPayoutEvent) String

func (m *RewardPayoutEvent) String() string

func (*RewardPayoutEvent) Validate

func (this *RewardPayoutEvent) Validate() error

func (*RewardPayoutEvent) XXX_DiscardUnknown added in v0.47.0

func (m *RewardPayoutEvent) XXX_DiscardUnknown()

func (*RewardPayoutEvent) XXX_Marshal added in v0.47.0

func (m *RewardPayoutEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardPayoutEvent) XXX_Merge added in v0.47.0

func (m *RewardPayoutEvent) XXX_Merge(src proto.Message)

func (*RewardPayoutEvent) XXX_Size added in v0.47.0

func (m *RewardPayoutEvent) XXX_Size() int

func (*RewardPayoutEvent) XXX_Unmarshal added in v0.47.0

func (m *RewardPayoutEvent) XXX_Unmarshal(b []byte) 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 string `protobuf:"bytes,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                string   `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SettleDistressed) Descriptor

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

func (*SettleDistressed) GetMargin

func (m *SettleDistressed) GetMargin() string

func (*SettleDistressed) GetMarketId

func (m *SettleDistressed) GetMarketId() string

func (*SettleDistressed) GetPartyId

func (m *SettleDistressed) GetPartyId() string

func (*SettleDistressed) GetPrice

func (m *SettleDistressed) GetPrice() string

func (*SettleDistressed) ProtoMessage

func (*SettleDistressed) ProtoMessage()

func (*SettleDistressed) Reset

func (m *SettleDistressed) Reset()

func (*SettleDistressed) String

func (m *SettleDistressed) String() string

func (*SettleDistressed) Validate

func (this *SettleDistressed) Validate() error

func (*SettleDistressed) XXX_DiscardUnknown added in v0.47.0

func (m *SettleDistressed) XXX_DiscardUnknown()

func (*SettleDistressed) XXX_Marshal added in v0.47.0

func (m *SettleDistressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SettleDistressed) XXX_Merge added in v0.47.0

func (m *SettleDistressed) XXX_Merge(src proto.Message)

func (*SettleDistressed) XXX_Size added in v0.47.0

func (m *SettleDistressed) XXX_Size() int

func (*SettleDistressed) XXX_Unmarshal added in v0.47.0

func (m *SettleDistressed) XXX_Unmarshal(b []byte) 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 a string
	Price string `protobuf:"bytes,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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A settle position event contains position settlement information for a party

func (*SettlePosition) Descriptor

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

func (*SettlePosition) GetMarketId

func (m *SettlePosition) GetMarketId() string

func (*SettlePosition) GetPartyId

func (m *SettlePosition) GetPartyId() string

func (*SettlePosition) GetPrice

func (m *SettlePosition) GetPrice() string

func (*SettlePosition) GetTradeSettlements

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

func (*SettlePosition) ProtoMessage

func (*SettlePosition) ProtoMessage()

func (*SettlePosition) Reset

func (m *SettlePosition) Reset()

func (*SettlePosition) String

func (m *SettlePosition) String() string

func (*SettlePosition) Validate

func (this *SettlePosition) Validate() error

func (*SettlePosition) XXX_DiscardUnknown added in v0.47.0

func (m *SettlePosition) XXX_DiscardUnknown()

func (*SettlePosition) XXX_Marshal added in v0.47.0

func (m *SettlePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SettlePosition) XXX_Merge added in v0.47.0

func (m *SettlePosition) XXX_Merge(src proto.Message)

func (*SettlePosition) XXX_Size added in v0.47.0

func (m *SettlePosition) XXX_Size() int

func (*SettlePosition) XXX_Unmarshal added in v0.47.0

func (m *SettlePosition) XXX_Unmarshal(b []byte) error

type StakeLinking

type StakeLinking 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 StakeLinking_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.events.v1.StakeLinking_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"`
	// The status of the event
	Status StakeLinking_Status `protobuf:"varint,6,opt,name=status,proto3,enum=vega.events.v1.StakeLinking_Status" json:"status,omitempty"`
	// The time at which the vega network finalized the state of the event
	FinalizedAt int64 `protobuf:"varint,7,opt,name=finalized_at,json=finalizedAt,proto3" json:"finalized_at,omitempty"`
	// The hash of the transaction from which the events happen
	TxHash               string   `protobuf:"bytes,8,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StakeLinking - 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 (*StakeLinking) Descriptor

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

func (*StakeLinking) GetAmount

func (m *StakeLinking) GetAmount() string

func (*StakeLinking) GetFinalizedAt

func (m *StakeLinking) GetFinalizedAt() int64

func (*StakeLinking) GetId

func (m *StakeLinking) GetId() string

func (*StakeLinking) GetParty

func (m *StakeLinking) GetParty() string

func (*StakeLinking) GetStatus

func (m *StakeLinking) GetStatus() StakeLinking_Status

func (*StakeLinking) GetTs

func (m *StakeLinking) GetTs() int64

func (*StakeLinking) GetTxHash

func (m *StakeLinking) GetTxHash() string

func (*StakeLinking) GetType

func (m *StakeLinking) GetType() StakeLinking_Type

func (*StakeLinking) ProtoMessage

func (*StakeLinking) ProtoMessage()

func (*StakeLinking) Reset

func (m *StakeLinking) Reset()

func (*StakeLinking) String

func (m *StakeLinking) String() string

func (*StakeLinking) Validate

func (this *StakeLinking) Validate() error

func (*StakeLinking) XXX_DiscardUnknown added in v0.47.0

func (m *StakeLinking) XXX_DiscardUnknown()

func (*StakeLinking) XXX_Marshal added in v0.47.0

func (m *StakeLinking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeLinking) XXX_Merge added in v0.47.0

func (m *StakeLinking) XXX_Merge(src proto.Message)

func (*StakeLinking) XXX_Size added in v0.47.0

func (m *StakeLinking) XXX_Size() int

func (*StakeLinking) XXX_Unmarshal added in v0.47.0

func (m *StakeLinking) XXX_Unmarshal(b []byte) error

type StakeLinking_Status

type StakeLinking_Status int32
const (
	// Default value
	StakeLinking_STATUS_UNSPECIFIED StakeLinking_Status = 0
	// Indicate an event waiting for confirmation from the vega network
	StakeLinking_STATUS_PENDING StakeLinking_Status = 1
	// Indicate of an event accepted by the vega network
	StakeLinking_STATUS_ACCEPTED StakeLinking_Status = 2
	// Indaicate of an event rejected by the vega network
	StakeLinking_STATUS_REJECTED StakeLinking_Status = 3
)

func (StakeLinking_Status) EnumDescriptor

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

func (StakeLinking_Status) String

func (x StakeLinking_Status) String() string

type StakeLinking_Type

type StakeLinking_Type int32
const (
	// Default value
	StakeLinking_TYPE_UNSPECIFIED StakeLinking_Type = 0
	// Indicate of a stake deposit instruction
	StakeLinking_TYPE_LINK StakeLinking_Type = 1
	// Indicate of a stake remove instruction
	StakeLinking_TYPE_UNLINK StakeLinking_Type = 2
)

func (StakeLinking_Type) EnumDescriptor

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

func (StakeLinking_Type) String

func (x StakeLinking_Type) String() string

type StreamStartEvent added in v0.47.0

type StreamStartEvent struct {
	ChainId              string   `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamStartEvent) Descriptor added in v0.47.0

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

func (*StreamStartEvent) GetChainId added in v0.47.0

func (m *StreamStartEvent) GetChainId() string

func (*StreamStartEvent) ProtoMessage added in v0.47.0

func (*StreamStartEvent) ProtoMessage()

func (*StreamStartEvent) Reset added in v0.47.0

func (m *StreamStartEvent) Reset()

func (*StreamStartEvent) String added in v0.47.0

func (m *StreamStartEvent) String() string

func (*StreamStartEvent) Validate added in v0.47.0

func (this *StreamStartEvent) Validate() error

func (*StreamStartEvent) XXX_DiscardUnknown added in v0.47.0

func (m *StreamStartEvent) XXX_DiscardUnknown()

func (*StreamStartEvent) XXX_Marshal added in v0.47.0

func (m *StreamStartEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamStartEvent) XXX_Merge added in v0.47.0

func (m *StreamStartEvent) XXX_Merge(src proto.Message)

func (*StreamStartEvent) XXX_Size added in v0.47.0

func (m *StreamStartEvent) XXX_Size() int

func (*StreamStartEvent) XXX_Unmarshal added in v0.47.0

func (m *StreamStartEvent) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TimeUpdate) Descriptor

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

func (*TimeUpdate) GetTimestamp

func (m *TimeUpdate) GetTimestamp() int64

func (*TimeUpdate) ProtoMessage

func (*TimeUpdate) ProtoMessage()

func (*TimeUpdate) Reset

func (m *TimeUpdate) Reset()

func (*TimeUpdate) String

func (m *TimeUpdate) String() string

func (*TimeUpdate) Validate

func (this *TimeUpdate) Validate() error

func (*TimeUpdate) XXX_DiscardUnknown added in v0.47.0

func (m *TimeUpdate) XXX_DiscardUnknown()

func (*TimeUpdate) XXX_Marshal added in v0.47.0

func (m *TimeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeUpdate) XXX_Merge added in v0.47.0

func (m *TimeUpdate) XXX_Merge(src proto.Message)

func (*TimeUpdate) XXX_Size added in v0.47.0

func (m *TimeUpdate) XXX_Size() int

func (*TimeUpdate) XXX_Unmarshal added in v0.47.0

func (m *TimeUpdate) XXX_Unmarshal(b []byte) 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 string
	Price                string   `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A trade settlement is part of the settle position event

func (*TradeSettlement) Descriptor

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

func (*TradeSettlement) GetPrice

func (m *TradeSettlement) GetPrice() string

func (*TradeSettlement) GetSize

func (m *TradeSettlement) GetSize() int64

func (*TradeSettlement) ProtoMessage

func (*TradeSettlement) ProtoMessage()

func (*TradeSettlement) Reset

func (m *TradeSettlement) Reset()

func (*TradeSettlement) String

func (m *TradeSettlement) String() string

func (*TradeSettlement) Validate

func (this *TradeSettlement) Validate() error

func (*TradeSettlement) XXX_DiscardUnknown added in v0.47.0

func (m *TradeSettlement) XXX_DiscardUnknown()

func (*TradeSettlement) XXX_Marshal added in v0.47.0

func (m *TradeSettlement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeSettlement) XXX_Merge added in v0.47.0

func (m *TradeSettlement) XXX_Merge(src proto.Message)

func (*TradeSettlement) XXX_Size added in v0.47.0

func (m *TradeSettlement) XXX_Size() int

func (*TradeSettlement) XXX_Unmarshal added in v0.47.0

func (m *TradeSettlement) XXX_Unmarshal(b []byte) error

type TransferResponses

type TransferResponses struct {
	// One or more entries containing internal transfer information
	Responses            []*vega.TransferResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

A transfer responses event contains a collection of transfer information

func (*TransferResponses) Descriptor

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

func (*TransferResponses) GetResponses

func (m *TransferResponses) GetResponses() []*vega.TransferResponse

func (*TransferResponses) ProtoMessage

func (*TransferResponses) ProtoMessage()

func (*TransferResponses) Reset

func (m *TransferResponses) Reset()

func (*TransferResponses) String

func (m *TransferResponses) String() string

func (*TransferResponses) Validate

func (this *TransferResponses) Validate() error

func (*TransferResponses) XXX_DiscardUnknown added in v0.47.0

func (m *TransferResponses) XXX_DiscardUnknown()

func (*TransferResponses) XXX_Marshal added in v0.47.0

func (m *TransferResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferResponses) XXX_Merge added in v0.47.0

func (m *TransferResponses) XXX_Merge(src proto.Message)

func (*TransferResponses) XXX_Size added in v0.47.0

func (m *TransferResponses) XXX_Size() int

func (*TransferResponses) XXX_Unmarshal added in v0.47.0

func (m *TransferResponses) XXX_Unmarshal(b []byte) 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 valid to be assigned to Transaction:
	//	*TxErrorEvent_OrderSubmission
	//	*TxErrorEvent_OrderAmendment
	//	*TxErrorEvent_OrderCancellation
	//	*TxErrorEvent_Proposal
	//	*TxErrorEvent_VoteSubmission
	//	*TxErrorEvent_LiquidityProvisionSubmission
	//	*TxErrorEvent_WithdrawSubmission
	//	*TxErrorEvent_DelegateSubmission
	//	*TxErrorEvent_UndelegateSubmission
	//	*TxErrorEvent_RestoreSnapshot
	Transaction          isTxErrorEvent_Transaction `protobuf_oneof:"transaction"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*TxErrorEvent) Descriptor

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

func (*TxErrorEvent) GetDelegateSubmission

func (m *TxErrorEvent) GetDelegateSubmission() *v1.DelegateSubmission

func (*TxErrorEvent) GetErrMsg

func (m *TxErrorEvent) GetErrMsg() string

func (*TxErrorEvent) GetLiquidityProvisionSubmission

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

func (*TxErrorEvent) GetOrderAmendment

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

func (*TxErrorEvent) GetOrderCancellation

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

func (*TxErrorEvent) GetOrderSubmission

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

func (*TxErrorEvent) GetPartyId

func (m *TxErrorEvent) GetPartyId() string

func (*TxErrorEvent) GetProposal

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

func (*TxErrorEvent) GetRestoreSnapshot

func (m *TxErrorEvent) GetRestoreSnapshot() *v1.RestoreSnapshot

func (*TxErrorEvent) GetTransaction

func (m *TxErrorEvent) GetTransaction() isTxErrorEvent_Transaction

func (*TxErrorEvent) GetUndelegateSubmission

func (m *TxErrorEvent) GetUndelegateSubmission() *v1.UndelegateSubmission

func (*TxErrorEvent) GetVoteSubmission

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

func (*TxErrorEvent) GetWithdrawSubmission

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

func (*TxErrorEvent) ProtoMessage

func (*TxErrorEvent) ProtoMessage()

func (*TxErrorEvent) Reset

func (m *TxErrorEvent) Reset()

func (*TxErrorEvent) String

func (m *TxErrorEvent) String() string

func (*TxErrorEvent) Validate

func (this *TxErrorEvent) Validate() error

func (*TxErrorEvent) XXX_DiscardUnknown added in v0.47.0

func (m *TxErrorEvent) XXX_DiscardUnknown()

func (*TxErrorEvent) XXX_Marshal added in v0.47.0

func (m *TxErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxErrorEvent) XXX_Merge added in v0.47.0

func (m *TxErrorEvent) XXX_Merge(src proto.Message)

func (*TxErrorEvent) XXX_OneofWrappers added in v0.47.0

func (*TxErrorEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TxErrorEvent) XXX_Size added in v0.47.0

func (m *TxErrorEvent) XXX_Size() int

func (*TxErrorEvent) XXX_Unmarshal added in v0.47.0

func (m *TxErrorEvent) XXX_Unmarshal(b []byte) error

type TxErrorEvent_DelegateSubmission

type TxErrorEvent_DelegateSubmission struct {
	DelegateSubmission *v1.DelegateSubmission `protobuf:"bytes,108,opt,name=delegate_submission,json=delegateSubmission,proto3,oneof"`
}

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_RestoreSnapshot

type TxErrorEvent_RestoreSnapshot struct {
	RestoreSnapshot *v1.RestoreSnapshot `protobuf:"bytes,110,opt,name=restore_snapshot,json=restoreSnapshot,proto3,oneof"`
}

type TxErrorEvent_UndelegateSubmission

type TxErrorEvent_UndelegateSubmission struct {
	UndelegateSubmission *v1.UndelegateSubmission `protobuf:"bytes,109,opt,name=undelegate_submission,json=undelegateSubmission,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 ValidatorScoreEvent

type ValidatorScoreEvent struct {
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	EpochSeq             string   `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	ValidatorScore       string   `protobuf:"bytes,3,opt,name=validator_score,json=validatorScore,proto3" json:"validator_score,omitempty"`
	NormalisedScore      string   `protobuf:"bytes,4,opt,name=normalised_score,json=normalisedScore,proto3" json:"normalised_score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ValidatorScoreEvent is the score a validator gets for a given epoch

func (*ValidatorScoreEvent) Descriptor

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

func (*ValidatorScoreEvent) GetEpochSeq

func (m *ValidatorScoreEvent) GetEpochSeq() string

func (*ValidatorScoreEvent) GetNodeId

func (m *ValidatorScoreEvent) GetNodeId() string

func (*ValidatorScoreEvent) GetNormalisedScore

func (m *ValidatorScoreEvent) GetNormalisedScore() string

func (*ValidatorScoreEvent) GetValidatorScore

func (m *ValidatorScoreEvent) GetValidatorScore() string

func (*ValidatorScoreEvent) ProtoMessage

func (*ValidatorScoreEvent) ProtoMessage()

func (*ValidatorScoreEvent) Reset

func (m *ValidatorScoreEvent) Reset()

func (*ValidatorScoreEvent) String

func (m *ValidatorScoreEvent) String() string

func (*ValidatorScoreEvent) Validate

func (this *ValidatorScoreEvent) Validate() error

func (*ValidatorScoreEvent) XXX_DiscardUnknown added in v0.47.0

func (m *ValidatorScoreEvent) XXX_DiscardUnknown()

func (*ValidatorScoreEvent) XXX_Marshal added in v0.47.0

func (m *ValidatorScoreEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorScoreEvent) XXX_Merge added in v0.47.0

func (m *ValidatorScoreEvent) XXX_Merge(src proto.Message)

func (*ValidatorScoreEvent) XXX_Size added in v0.47.0

func (m *ValidatorScoreEvent) XXX_Size() int

func (*ValidatorScoreEvent) XXX_Unmarshal added in v0.47.0

func (m *ValidatorScoreEvent) XXX_Unmarshal(b []byte) error

type ValidatorUpdate

type ValidatorUpdate struct {
	// Node id of the node
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Vega public key of validator node
	VegaPubKey string `protobuf:"bytes,2,opt,name=vega_pub_key,json=vegaPubKey,proto3" json:"vega_pub_key,omitempty"`
	// Ethereum public key of validator node
	EthereumAddress string `protobuf:"bytes,3,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
	// Public key of Tendermint
	TmPubKey string `protobuf:"bytes,4,opt,name=tm_pub_key,json=tmPubKey,proto3" json:"tm_pub_key,omitempty"`
	// URL with more info on the node
	InfoUrl string `protobuf:"bytes,5,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,6,opt,name=country,proto3" json:"country,omitempty"`
	// Name of the validator
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// AvatarURL of the validator
	AvatarUrl string `protobuf:"bytes,8,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// Vega public key derivation index
	VegaPubKeyIndex      uint32   `protobuf:"varint,9,opt,name=vega_pub_key_index,json=vegaPubKeyIndex,proto3" json:"vega_pub_key_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A validator update event contains information about validator node

func (*ValidatorUpdate) Descriptor

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

func (*ValidatorUpdate) GetAvatarUrl added in v0.44.0

func (m *ValidatorUpdate) GetAvatarUrl() string

func (*ValidatorUpdate) GetCountry

func (m *ValidatorUpdate) GetCountry() string

func (*ValidatorUpdate) GetEthereumAddress

func (m *ValidatorUpdate) GetEthereumAddress() string

func (*ValidatorUpdate) GetInfoUrl

func (m *ValidatorUpdate) GetInfoUrl() string

func (*ValidatorUpdate) GetName added in v0.44.0

func (m *ValidatorUpdate) GetName() string

func (*ValidatorUpdate) GetNodeId

func (m *ValidatorUpdate) GetNodeId() string

func (*ValidatorUpdate) GetTmPubKey

func (m *ValidatorUpdate) GetTmPubKey() string

func (*ValidatorUpdate) GetVegaPubKey

func (m *ValidatorUpdate) GetVegaPubKey() string

func (*ValidatorUpdate) GetVegaPubKeyIndex added in v0.47.0

func (m *ValidatorUpdate) GetVegaPubKeyIndex() uint32

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) Reset

func (m *ValidatorUpdate) Reset()

func (*ValidatorUpdate) String

func (m *ValidatorUpdate) String() string

func (*ValidatorUpdate) Validate

func (this *ValidatorUpdate) Validate() error

func (*ValidatorUpdate) XXX_DiscardUnknown added in v0.47.0

func (m *ValidatorUpdate) XXX_DiscardUnknown()

func (*ValidatorUpdate) XXX_Marshal added in v0.47.0

func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorUpdate) XXX_Merge added in v0.47.0

func (m *ValidatorUpdate) XXX_Merge(src proto.Message)

func (*ValidatorUpdate) XXX_Size added in v0.47.0

func (m *ValidatorUpdate) XXX_Size() int

func (*ValidatorUpdate) XXX_Unmarshal added in v0.47.0

func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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