v1

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 7 Imported by: 7

Documentation

Index

Constants

View Source
const Version = 1

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",
		38:  "BUS_EVENT_TYPE_STATE_VAR",
		39:  "BUS_EVENT_TYPE_NETWORK_LIMITS",
		40:  "BUS_EVENT_TYPE_TRANSFER",
		41:  "BUS_EVENT_TYPE_VALIDATOR_RANKING",
		42:  "BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_EVENT",
		43:  "BUS_EVENT_TYPE_ERC20_MULTI_SIG_SET_THRESHOLD",
		44:  "BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_ADDED",
		45:  "BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_REMOVED",
		46:  "BUS_EVENT_TYPE_POSITION_STATE",
		47:  "BUS_EVENT_TYPE_ETHEREUM_KEY_ROTATION",
		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_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_STATE_VAR":                      38,
		"BUS_EVENT_TYPE_NETWORK_LIMITS":                 39,
		"BUS_EVENT_TYPE_TRANSFER":                       40,
		"BUS_EVENT_TYPE_VALIDATOR_RANKING":              41,
		"BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_EVENT":   42,
		"BUS_EVENT_TYPE_ERC20_MULTI_SIG_SET_THRESHOLD":  43,
		"BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_ADDED":   44,
		"BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_REMOVED": 45,
		"BUS_EVENT_TYPE_POSITION_STATE":                 46,
		"BUS_EVENT_TYPE_ETHEREUM_KEY_ROTATION":          47,
		"BUS_EVENT_TYPE_MARKET":                         101,
		"BUS_EVENT_TYPE_TX_ERROR":                       201,
	}
)

Enum value maps for BusEventType.

View Source
var (
	Transfer_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_DONE",
		3: "STATUS_REJECTED",
		4: "STATUS_STOPPED",
		5: "STATUS_CANCELLED",
	}
	Transfer_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_DONE":        2,
		"STATUS_REJECTED":    3,
		"STATUS_STOPPED":     4,
		"STATUS_CANCELLED":   5,
	}
)

Enum value maps for Transfer_Status.

View Source
var (
	StakeLinking_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_LINK",
		2: "TYPE_UNLINK",
	}
	StakeLinking_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_LINK":        1,
		"TYPE_UNLINK":      2,
	}
)

Enum value maps for StakeLinking_Type.

View Source
var (
	StakeLinking_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_ACCEPTED",
		3: "STATUS_REJECTED",
	}
	StakeLinking_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_ACCEPTED":    2,
		"STATUS_REJECTED":    3,
	}
)

Enum value maps for StakeLinking_Status.

View Source
var (
	ERC20MultiSigSignerEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_ADDED",
		2: "TYPE_REMOVED",
	}
	ERC20MultiSigSignerEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_ADDED":       1,
		"TYPE_REMOVED":     2,
	}
)

Enum value maps for ERC20MultiSigSignerEvent_Type.

View Source
var File_vega_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 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 */
	// 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() vega.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() vega.AuctionTrigger

func (AuctionEvent) IsEvent

func (AuctionEvent) IsEvent()

func (*AuctionEvent) ProtoMessage

func (*AuctionEvent) ProtoMessage()

func (*AuctionEvent) ProtoReflect added in v0.49.0

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

func (*AuctionEvent) Reset

func (x *AuctionEvent) Reset()

func (*AuctionEvent) String

func (x *AuctionEvent) String() string

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_ValidatorScore
	//	*BusEvent_EpochEvent
	//	*BusEvent_ValidatorUpdate
	//	*BusEvent_StakeLinking
	//	*BusEvent_RewardPayout
	//	*BusEvent_Checkpoint
	//	*BusEvent_KeyRotation
	//	*BusEvent_StateVar
	//	*BusEvent_NetworkLimits
	//	*BusEvent_Transfer
	//	*BusEvent_RankingEvent
	//	*BusEvent_Erc20MultisigSignerEvent
	//	*BusEvent_Erc20MultisigSetThresholdEvent
	//	*BusEvent_Erc20MultisigSignerAdded
	//	*BusEvent_Erc20MultisigSignerRemoved
	//	*BusEvent_PositionStateEvent
	//	*BusEvent_EthereumKeyRotation
	//	*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"`
	TxHash  string `protobuf:"bytes,6,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// 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() *vega.Account

func (*BusEvent) GetAsset

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

func (*BusEvent) GetAuction

func (x *BusEvent) GetAuction() *AuctionEvent

func (*BusEvent) GetBlock

func (x *BusEvent) GetBlock() string

func (*BusEvent) GetChainId added in v0.47.0

func (x *BusEvent) GetChainId() string

func (*BusEvent) GetCheckpoint added in v0.42.0

func (x *BusEvent) GetCheckpoint() *CheckpointEvent

func (*BusEvent) GetDelegationBalance

func (x *BusEvent) GetDelegationBalance() *DelegationBalanceEvent

func (*BusEvent) GetDeposit

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

func (*BusEvent) GetEpochEvent

func (x *BusEvent) GetEpochEvent() *EpochEvent

func (*BusEvent) GetErc20MultisigSetThresholdEvent added in v0.49.0

func (x *BusEvent) GetErc20MultisigSetThresholdEvent() *ERC20MultiSigThresholdSetEvent

func (*BusEvent) GetErc20MultisigSignerAdded added in v0.49.1

func (x *BusEvent) GetErc20MultisigSignerAdded() *ERC20MultiSigSignerAdded

func (*BusEvent) GetErc20MultisigSignerEvent added in v0.49.0

func (x *BusEvent) GetErc20MultisigSignerEvent() *ERC20MultiSigSignerEvent

func (*BusEvent) GetErc20MultisigSignerRemoved added in v0.49.1

func (x *BusEvent) GetErc20MultisigSignerRemoved() *ERC20MultiSigSignerRemoved

func (*BusEvent) GetEthereumKeyRotation added in v0.50.0

func (x *BusEvent) GetEthereumKeyRotation() *EthereumKeyRotation

func (*BusEvent) GetEvent

func (m *BusEvent) GetEvent() isBusEvent_Event

func (*BusEvent) GetId

func (x *BusEvent) GetId() string

func (*BusEvent) GetKeyRotation added in v0.47.0

func (x *BusEvent) GetKeyRotation() *KeyRotation

func (*BusEvent) GetLiquidityProvision

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

func (*BusEvent) GetLossSocialization

func (x *BusEvent) GetLossSocialization() *LossSocialization

func (*BusEvent) GetMarginLevels

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

func (*BusEvent) GetMarket

func (x *BusEvent) GetMarket() *MarketEvent

func (*BusEvent) GetMarketCreated

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

func (*BusEvent) GetMarketData

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

func (*BusEvent) GetMarketTick

func (x *BusEvent) GetMarketTick() *MarketTick

func (*BusEvent) GetMarketUpdated

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

func (*BusEvent) GetNetworkLimits added in v0.48.0

func (x *BusEvent) GetNetworkLimits() *vega.NetworkLimits

func (*BusEvent) GetNetworkParameter

func (x *BusEvent) GetNetworkParameter() *vega.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() *vega.Order

func (*BusEvent) GetParty

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

func (*BusEvent) GetPositionResolution

func (x *BusEvent) GetPositionResolution() *PositionResolution

func (*BusEvent) GetPositionStateEvent added in v0.49.2

func (x *BusEvent) GetPositionStateEvent() *PositionStateEvent

func (*BusEvent) GetProposal

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

func (*BusEvent) GetRankingEvent added in v0.49.0

func (x *BusEvent) GetRankingEvent() *ValidatorRankingEvent

func (*BusEvent) GetRewardPayout added in v0.42.0

func (x *BusEvent) GetRewardPayout() *RewardPayoutEvent

func (*BusEvent) GetRiskFactor

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

func (*BusEvent) GetSettleDistressed

func (x *BusEvent) GetSettleDistressed() *SettleDistressed

func (*BusEvent) GetSettlePosition

func (x *BusEvent) GetSettlePosition() *SettlePosition

func (*BusEvent) GetStakeLinking added in v0.42.0

func (x *BusEvent) GetStakeLinking() *StakeLinking

func (*BusEvent) GetStateVar added in v0.48.0

func (x *BusEvent) GetStateVar() *StateVar

func (*BusEvent) GetTimeUpdate

func (x *BusEvent) GetTimeUpdate() *TimeUpdate

func (*BusEvent) GetTrade

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

func (*BusEvent) GetTransfer added in v0.48.0

func (x *BusEvent) GetTransfer() *Transfer

func (*BusEvent) GetTransferResponses

func (x *BusEvent) GetTransferResponses() *TransferResponses

func (*BusEvent) GetTxErrEvent

func (x *BusEvent) GetTxErrEvent() *TxErrorEvent

func (*BusEvent) GetTxHash added in v0.48.0

func (x *BusEvent) GetTxHash() string

func (*BusEvent) GetType

func (x *BusEvent) GetType() BusEventType

func (*BusEvent) GetValidatorScore added in v0.42.0

func (x *BusEvent) GetValidatorScore() *ValidatorScoreEvent

func (*BusEvent) GetValidatorUpdate

func (x *BusEvent) GetValidatorUpdate() *ValidatorUpdate

func (*BusEvent) GetVersion added in v0.42.0

func (x *BusEvent) GetVersion() uint32

func (*BusEvent) GetVote

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

func (*BusEvent) GetWithdrawal

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

func (*BusEvent) ProtoMessage

func (*BusEvent) ProtoMessage()

func (*BusEvent) ProtoReflect added in v0.49.0

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

func (*BusEvent) Reset

func (x *BusEvent) Reset()

func (*BusEvent) String

func (x *BusEvent) String() string

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 state transitions in state variable consensus
	BusEventType_BUS_EVENT_TYPE_STATE_VAR BusEventType = 38
	// Event indicating network limits set or updated
	BusEventType_BUS_EVENT_TYPE_NETWORK_LIMITS BusEventType = 39
	// Event indicating a update for a transfert
	BusEventType_BUS_EVENT_TYPE_TRANSFER BusEventType = 40
	// Event indicating the ranking of validator and their status in vega
	BusEventType_BUS_EVENT_TYPE_VALIDATOR_RANKING BusEventType = 41
	// Event indicating a new multi sig signer event have been processed
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_EVENT BusEventType = 42
	// Event indicating the erc20 multi sig threshold have been updated
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SET_THRESHOLD BusEventType = 43
	// Event indicating a new signer has been added to the erc20 multisig
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_ADDED BusEventType = 44
	// Event indicating a signer has been removed from the erc20 multisig
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_REMOVED BusEventType = 45
	// Event indicting that a party's position has changed
	BusEventType_BUS_EVENT_TYPE_POSITION_STATE BusEventType = 46
	// Event indicating Ethereum key rotation took place
	BusEventType_BUS_EVENT_TYPE_ETHEREUM_KEY_ROTATION BusEventType = 47
	// 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 added in v0.49.0

func (BusEventType) Enum added in v0.49.0

func (x BusEventType) Enum() *BusEventType

func (BusEventType) EnumDescriptor deprecated

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

Deprecated: Use BusEventType.Descriptor instead.

func (BusEventType) Number added in v0.49.0

func (BusEventType) String

func (x BusEventType) String() string

func (BusEventType) Type added in v0.49.0

type BusEvent_Account

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

type BusEvent_Asset

type BusEvent_Asset struct {
	// Asset events
	Asset *vega.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_Checkpoint added in v0.42.0

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

type BusEvent_DelegationBalance

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 *vega.Deposit `protobuf:"bytes,120,opt,name=deposit,proto3,oneof"`
}

type BusEvent_EpochEvent

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_Erc20MultisigSetThresholdEvent added in v0.49.0

type BusEvent_Erc20MultisigSetThresholdEvent struct {
	// ERC20 multi sig set threshold event
	Erc20MultisigSetThresholdEvent *ERC20MultiSigThresholdSetEvent `protobuf:"bytes,142,opt,name=erc20_multisig_set_threshold_event,json=erc20MultisigSetThresholdEvent,proto3,oneof"`
}

type BusEvent_Erc20MultisigSignerAdded added in v0.49.1

type BusEvent_Erc20MultisigSignerAdded struct {
	// ERC20 multi sig signer added
	Erc20MultisigSignerAdded *ERC20MultiSigSignerAdded `protobuf:"bytes,143,opt,name=erc20_multisig_signer_added,json=erc20MultisigSignerAdded,proto3,oneof"`
}

type BusEvent_Erc20MultisigSignerEvent added in v0.49.0

type BusEvent_Erc20MultisigSignerEvent struct {
	// ERC20 multi sig signer event
	Erc20MultisigSignerEvent *ERC20MultiSigSignerEvent `protobuf:"bytes,141,opt,name=erc20_multisig_signer_event,json=erc20MultisigSignerEvent,proto3,oneof"`
}

type BusEvent_Erc20MultisigSignerRemoved added in v0.49.1

type BusEvent_Erc20MultisigSignerRemoved struct {
	// ERC20 multi sig signer removed
	Erc20MultisigSignerRemoved *ERC20MultiSigSignerRemoved `protobuf:"bytes,144,opt,name=erc20_multisig_signer_removed,json=erc20MultisigSignerRemoved,proto3,oneof"`
}

type BusEvent_EthereumKeyRotation added in v0.50.0

type BusEvent_EthereumKeyRotation struct {
	// Ethereum key rotation took place
	EthereumKeyRotation *EthereumKeyRotation `protobuf:"bytes,146,opt,name=ethereum_key_rotation,json=ethereumKeyRotation,proto3,oneof"`
}

type BusEvent_KeyRotation added in v0.47.0

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

type BusEvent_LiquidityProvision

type BusEvent_LiquidityProvision struct {
	// LiquidityProvision  events
	LiquidityProvision *vega.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 *vega.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 *vega.Market `protobuf:"bytes,116,opt,name=market_created,json=marketCreated,proto3,oneof"`
}

type BusEvent_MarketData

type BusEvent_MarketData struct {
	// Market data events
	MarketData *vega.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 *vega.Market `protobuf:"bytes,125,opt,name=market_updated,json=marketUpdated,proto3,oneof"`
}

type BusEvent_NetworkLimits added in v0.48.0

type BusEvent_NetworkLimits struct {
	// Network limits events
	NetworkLimits *vega.NetworkLimits `protobuf:"bytes,138,opt,name=network_limits,json=networkLimits,proto3,oneof"`
}

type BusEvent_NetworkParameter

type BusEvent_NetworkParameter struct {
	// Network parameter events
	NetworkParameter *vega.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 *vega.Order `protobuf:"bytes,104,opt,name=order,proto3,oneof"`
}

type BusEvent_Party

type BusEvent_Party struct {
	// Party events
	Party *vega.Party `protobuf:"bytes,106,opt,name=party,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_PositionStateEvent added in v0.49.2

type BusEvent_PositionStateEvent struct {
	// Position status for a party in a market
	PositionStateEvent *PositionStateEvent `protobuf:"bytes,145,opt,name=position_state_event,json=positionStateEvent,proto3,oneof"`
}

type BusEvent_Proposal

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

type BusEvent_RankingEvent added in v0.49.0

type BusEvent_RankingEvent struct {
	// Ranking event
	RankingEvent *ValidatorRankingEvent `protobuf:"bytes,140,opt,name=ranking_event,json=rankingEvent,proto3,oneof"`
}

type BusEvent_RewardPayout added in v0.42.0

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

type BusEvent_RiskFactor

type BusEvent_RiskFactor struct {
	// Risk factor events
	RiskFactor *vega.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_StakeLinking added in v0.42.0

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

type BusEvent_StateVar added in v0.48.0

type BusEvent_StateVar struct {
	// State variable consensus state transition update
	StateVar *StateVar `protobuf:"bytes,137,opt,name=state_var,json=stateVar,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 *vega.Trade `protobuf:"bytes,107,opt,name=trade,proto3,oneof"`
}

type BusEvent_Transfer added in v0.48.0

type BusEvent_Transfer struct {
	// Transfer event
	Transfer *Transfer `protobuf:"bytes,139,opt,name=transfer,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_ValidatorScore added in v0.42.0

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

type BusEvent_ValidatorUpdate

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 *vega.Vote `protobuf:"bytes,110,opt,name=vote,proto3,oneof"`
}

type BusEvent_Withdrawal

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

type CheckpointEvent added in v0.42.0

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

func (*CheckpointEvent) Descriptor deprecated added in v0.42.0

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

Deprecated: Use CheckpointEvent.ProtoReflect.Descriptor instead.

func (*CheckpointEvent) GetBlockHash added in v0.42.0

func (x *CheckpointEvent) GetBlockHash() string

func (*CheckpointEvent) GetBlockHeight added in v0.42.0

func (x *CheckpointEvent) GetBlockHeight() uint64

func (*CheckpointEvent) GetHash added in v0.42.0

func (x *CheckpointEvent) GetHash() string

func (*CheckpointEvent) ProtoMessage added in v0.42.0

func (*CheckpointEvent) ProtoMessage()

func (*CheckpointEvent) ProtoReflect added in v0.49.0

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

func (*CheckpointEvent) Reset added in v0.42.0

func (x *CheckpointEvent) Reset()

func (*CheckpointEvent) String added in v0.42.0

func (x *CheckpointEvent) String() string

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"`
	// 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

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

Deprecated: Use DelegationBalanceEvent.ProtoReflect.Descriptor instead.

func (*DelegationBalanceEvent) GetAmount

func (x *DelegationBalanceEvent) GetAmount() string

func (*DelegationBalanceEvent) GetEpochSeq added in v0.42.0

func (x *DelegationBalanceEvent) GetEpochSeq() string

func (*DelegationBalanceEvent) GetNodeId

func (x *DelegationBalanceEvent) GetNodeId() string

func (*DelegationBalanceEvent) GetParty

func (x *DelegationBalanceEvent) GetParty() string

func (*DelegationBalanceEvent) ProtoMessage

func (*DelegationBalanceEvent) ProtoMessage()

func (*DelegationBalanceEvent) ProtoReflect added in v0.49.0

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

func (*DelegationBalanceEvent) Reset

func (x *DelegationBalanceEvent) Reset()

func (*DelegationBalanceEvent) String

func (x *DelegationBalanceEvent) String() string

type ERC20MulistSigSignerRemovedSubmitter added in v0.49.1

type ERC20MulistSigSignerRemovedSubmitter struct {

	// The ID of this signature bundle
	SignatureId string `protobuf:"bytes,1,opt,name=signature_id,json=signatureId,proto3" json:"signature_id,omitempty"`
	// The address of the submitter of the transaction
	Submitter string `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MulistSigSignerRemovedSubmitter) Descriptor deprecated added in v0.49.1

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

Deprecated: Use ERC20MulistSigSignerRemovedSubmitter.ProtoReflect.Descriptor instead.

func (*ERC20MulistSigSignerRemovedSubmitter) GetSignatureId added in v0.49.1

func (x *ERC20MulistSigSignerRemovedSubmitter) GetSignatureId() string

func (*ERC20MulistSigSignerRemovedSubmitter) GetSubmitter added in v0.49.1

func (x *ERC20MulistSigSignerRemovedSubmitter) GetSubmitter() string

func (*ERC20MulistSigSignerRemovedSubmitter) ProtoMessage added in v0.49.1

func (*ERC20MulistSigSignerRemovedSubmitter) ProtoMessage()

func (*ERC20MulistSigSignerRemovedSubmitter) ProtoReflect added in v0.49.1

func (*ERC20MulistSigSignerRemovedSubmitter) Reset added in v0.49.1

func (*ERC20MulistSigSignerRemovedSubmitter) String added in v0.49.1

type ERC20MultiSigSignerAdded added in v0.49.1

type ERC20MultiSigSignerAdded struct {

	// The identifier of the signature bundle
	SignatureId string `protobuf:"bytes,1,opt,name=signature_id,json=signatureId,proto3" json:"signature_id,omitempty"`
	// The vega node ID of the node to be added
	ValidatorId string `protobuf:"bytes,2,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"`
	// the time at which this happened
	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The ethereum address of the new signer
	NewSigner string `protobuf:"bytes,4,opt,name=new_signer,json=newSigner,proto3" json:"new_signer,omitempty"`
	// The address of the submitter of the transaction
	Submitter string `protobuf:"bytes,5,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The nonce used.
	Nonce string `protobuf:"bytes,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// The epoch that the node was added for
	EpochSeq string `protobuf:"bytes,7,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigSignerAdded) Descriptor deprecated added in v0.49.1

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

Deprecated: Use ERC20MultiSigSignerAdded.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerAdded) GetEpochSeq added in v0.50.2

func (x *ERC20MultiSigSignerAdded) GetEpochSeq() string

func (*ERC20MultiSigSignerAdded) GetNewSigner added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetNewSigner() string

func (*ERC20MultiSigSignerAdded) GetNonce added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetNonce() string

func (*ERC20MultiSigSignerAdded) GetSignatureId added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetSignatureId() string

func (*ERC20MultiSigSignerAdded) GetSubmitter added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetSubmitter() string

func (*ERC20MultiSigSignerAdded) GetTimestamp added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetTimestamp() int64

func (*ERC20MultiSigSignerAdded) GetValidatorId added in v0.49.1

func (x *ERC20MultiSigSignerAdded) GetValidatorId() string

func (*ERC20MultiSigSignerAdded) ProtoMessage added in v0.49.1

func (*ERC20MultiSigSignerAdded) ProtoMessage()

func (*ERC20MultiSigSignerAdded) ProtoReflect added in v0.49.1

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

func (*ERC20MultiSigSignerAdded) Reset added in v0.49.1

func (x *ERC20MultiSigSignerAdded) Reset()

func (*ERC20MultiSigSignerAdded) String added in v0.49.1

func (x *ERC20MultiSigSignerAdded) String() string

type ERC20MultiSigSignerEvent added in v0.49.0

type ERC20MultiSigSignerEvent struct {
	Id          string                        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type        ERC20MultiSigSignerEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.events.v1.ERC20MultiSigSignerEvent_Type" json:"type,omitempty"`
	Signer      string                        `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
	Nonce       string                        `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BlockTime   int64                         `protobuf:"varint,5,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	TxHash      string                        `protobuf:"bytes,6,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	LogIndex    uint64                        `protobuf:"varint,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	BlockNumber uint64                        `protobuf:"varint,8,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigSignerEvent) Descriptor deprecated added in v0.49.0

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

Deprecated: Use ERC20MultiSigSignerEvent.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerEvent) GetBlockNumber added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetBlockNumber() uint64

func (*ERC20MultiSigSignerEvent) GetBlockTime added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetBlockTime() int64

func (*ERC20MultiSigSignerEvent) GetId added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetId() string

func (*ERC20MultiSigSignerEvent) GetLogIndex added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetLogIndex() uint64

func (*ERC20MultiSigSignerEvent) GetNonce added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetNonce() string

func (*ERC20MultiSigSignerEvent) GetSigner added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetSigner() string

func (*ERC20MultiSigSignerEvent) GetTxHash added in v0.49.0

func (x *ERC20MultiSigSignerEvent) GetTxHash() string

func (*ERC20MultiSigSignerEvent) GetType added in v0.49.0

func (*ERC20MultiSigSignerEvent) ProtoMessage added in v0.49.0

func (*ERC20MultiSigSignerEvent) ProtoMessage()

func (*ERC20MultiSigSignerEvent) ProtoReflect added in v0.49.0

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

func (*ERC20MultiSigSignerEvent) Reset added in v0.49.0

func (x *ERC20MultiSigSignerEvent) Reset()

func (*ERC20MultiSigSignerEvent) String added in v0.49.0

func (x *ERC20MultiSigSignerEvent) String() string

type ERC20MultiSigSignerEvent_Type added in v0.49.0

type ERC20MultiSigSignerEvent_Type int32
const (
	ERC20MultiSigSignerEvent_TYPE_UNSPECIFIED ERC20MultiSigSignerEvent_Type = 0
	ERC20MultiSigSignerEvent_TYPE_ADDED       ERC20MultiSigSignerEvent_Type = 1
	ERC20MultiSigSignerEvent_TYPE_REMOVED     ERC20MultiSigSignerEvent_Type = 2
)

func (ERC20MultiSigSignerEvent_Type) Descriptor added in v0.49.0

func (ERC20MultiSigSignerEvent_Type) Enum added in v0.49.0

func (ERC20MultiSigSignerEvent_Type) EnumDescriptor deprecated added in v0.49.0

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

Deprecated: Use ERC20MultiSigSignerEvent_Type.Descriptor instead.

func (ERC20MultiSigSignerEvent_Type) Number added in v0.49.0

func (ERC20MultiSigSignerEvent_Type) String added in v0.49.0

func (ERC20MultiSigSignerEvent_Type) Type added in v0.49.0

type ERC20MultiSigSignerRemoved added in v0.49.1

type ERC20MultiSigSignerRemoved struct {

	// A list containing all the IDs of bundle generated
	// There should be one bundle generated for every validators
	// in the validator set
	SignatureSubmitters []*ERC20MulistSigSignerRemovedSubmitter `protobuf:"bytes,1,rep,name=signature_submitters,json=signatureSubmitters,proto3" json:"signature_submitters,omitempty"`
	// The vega node ID of the node which is to be removed
	ValidatorId string `protobuf:"bytes,2,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"`
	// the time at which this happened
	Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The ethereum address of the signer to be removed
	OldSigner string `protobuf:"bytes,4,opt,name=old_signer,json=oldSigner,proto3" json:"old_signer,omitempty"`
	// The nonce used.
	Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// The epoch that the node was removed for
	EpochSeq string `protobuf:"bytes,6,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigSignerRemoved) Descriptor deprecated added in v0.49.1

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

Deprecated: Use ERC20MultiSigSignerRemoved.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerRemoved) GetEpochSeq added in v0.50.2

func (x *ERC20MultiSigSignerRemoved) GetEpochSeq() string

func (*ERC20MultiSigSignerRemoved) GetNonce added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) GetNonce() string

func (*ERC20MultiSigSignerRemoved) GetOldSigner added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) GetOldSigner() string

func (*ERC20MultiSigSignerRemoved) GetSignatureSubmitters added in v0.49.1

func (*ERC20MultiSigSignerRemoved) GetTimestamp added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) GetTimestamp() int64

func (*ERC20MultiSigSignerRemoved) GetValidatorId added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) GetValidatorId() string

func (*ERC20MultiSigSignerRemoved) ProtoMessage added in v0.49.1

func (*ERC20MultiSigSignerRemoved) ProtoMessage()

func (*ERC20MultiSigSignerRemoved) ProtoReflect added in v0.49.1

func (*ERC20MultiSigSignerRemoved) Reset added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) Reset()

func (*ERC20MultiSigSignerRemoved) String added in v0.49.1

func (x *ERC20MultiSigSignerRemoved) String() string

type ERC20MultiSigThresholdSetEvent added in v0.49.0

type ERC20MultiSigThresholdSetEvent struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NewThreshold uint32 `protobuf:"varint,2,opt,name=new_threshold,json=newThreshold,proto3" json:"new_threshold,omitempty"`
	Nonce        string `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BlockTime    int64  `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	TxHash       string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	LogIndex     uint64 `protobuf:"varint,6,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	BlockNumber  uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20MultiSigThresholdSetEvent) Descriptor deprecated added in v0.49.0

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

Deprecated: Use ERC20MultiSigThresholdSetEvent.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigThresholdSetEvent) GetBlockNumber added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetBlockNumber() uint64

func (*ERC20MultiSigThresholdSetEvent) GetBlockTime added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetBlockTime() int64

func (*ERC20MultiSigThresholdSetEvent) GetId added in v0.49.0

func (*ERC20MultiSigThresholdSetEvent) GetLogIndex added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetLogIndex() uint64

func (*ERC20MultiSigThresholdSetEvent) GetNewThreshold added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetNewThreshold() uint32

func (*ERC20MultiSigThresholdSetEvent) GetNonce added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetNonce() string

func (*ERC20MultiSigThresholdSetEvent) GetTxHash added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) GetTxHash() string

func (*ERC20MultiSigThresholdSetEvent) ProtoMessage added in v0.49.0

func (*ERC20MultiSigThresholdSetEvent) ProtoMessage()

func (*ERC20MultiSigThresholdSetEvent) ProtoReflect added in v0.49.0

func (*ERC20MultiSigThresholdSetEvent) Reset added in v0.49.0

func (x *ERC20MultiSigThresholdSetEvent) Reset()

func (*ERC20MultiSigThresholdSetEvent) String added in v0.49.0

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

Epoch details

func (*EpochEvent) Descriptor deprecated

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

Deprecated: Use EpochEvent.ProtoReflect.Descriptor instead.

func (*EpochEvent) GetAction added in v0.42.0

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

func (*EpochEvent) GetEndTime

func (x *EpochEvent) GetEndTime() int64

func (*EpochEvent) GetExpireTime

func (x *EpochEvent) GetExpireTime() int64

func (*EpochEvent) GetSeq

func (x *EpochEvent) GetSeq() uint64

func (*EpochEvent) GetStartTime

func (x *EpochEvent) GetStartTime() int64

func (*EpochEvent) ProtoMessage

func (*EpochEvent) ProtoMessage()

func (*EpochEvent) ProtoReflect added in v0.49.0

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

func (*EpochEvent) Reset

func (x *EpochEvent) Reset()

func (*EpochEvent) String

func (x *EpochEvent) String() string

type EthereumKeyRotation added in v0.50.0

type EthereumKeyRotation struct {

	// Node id of the node
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Old Ethereum address of validator node
	OldAddress string `protobuf:"bytes,2,opt,name=old_address,json=oldAddress,proto3" json:"old_address,omitempty"`
	// New Ethereum address of validator node
	NewAddress string `protobuf:"bytes,3,opt,name=new_address,json=newAddress,proto3" json:"new_address,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"`
	// contains filtered or unexported fields
}

An Ethereum key rotation events contains information about Ethereum key rotation

func (*EthereumKeyRotation) Descriptor deprecated added in v0.50.0

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

Deprecated: Use EthereumKeyRotation.ProtoReflect.Descriptor instead.

func (*EthereumKeyRotation) GetBlockHeight added in v0.50.0

func (x *EthereumKeyRotation) GetBlockHeight() uint64

func (*EthereumKeyRotation) GetNewAddress added in v0.50.0

func (x *EthereumKeyRotation) GetNewAddress() string

func (*EthereumKeyRotation) GetNodeId added in v0.50.0

func (x *EthereumKeyRotation) GetNodeId() string

func (*EthereumKeyRotation) GetOldAddress added in v0.50.0

func (x *EthereumKeyRotation) GetOldAddress() string

func (*EthereumKeyRotation) ProtoMessage added in v0.50.0

func (*EthereumKeyRotation) ProtoMessage()

func (*EthereumKeyRotation) ProtoReflect added in v0.50.0

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

func (*EthereumKeyRotation) Reset added in v0.50.0

func (x *EthereumKeyRotation) Reset()

func (*EthereumKeyRotation) String added in v0.50.0

func (x *EthereumKeyRotation) String() string

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

A key rotation events contains information about Vega key rotation

func (*KeyRotation) Descriptor deprecated added in v0.47.0

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

Deprecated: Use KeyRotation.ProtoReflect.Descriptor instead.

func (*KeyRotation) GetBlockHeight added in v0.47.0

func (x *KeyRotation) GetBlockHeight() uint64

func (*KeyRotation) GetNewPubKey added in v0.47.0

func (x *KeyRotation) GetNewPubKey() string

func (*KeyRotation) GetNodeId added in v0.47.0

func (x *KeyRotation) GetNodeId() string

func (*KeyRotation) GetOldPubKey added in v0.47.0

func (x *KeyRotation) GetOldPubKey() string

func (*KeyRotation) ProtoMessage added in v0.47.0

func (*KeyRotation) ProtoMessage()

func (*KeyRotation) ProtoReflect added in v0.49.0

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

func (*KeyRotation) Reset added in v0.47.0

func (x *KeyRotation) Reset()

func (*KeyRotation) String added in v0.47.0

func (x *KeyRotation) String() string

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"`
	// 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() string

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 added in v0.49.0

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

func (*LossSocialization) Reset

func (x *LossSocialization) Reset()

func (*LossSocialization) String

func (x *LossSocialization) String() string

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 added in v0.49.0

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

func (*MarketEvent) Reset

func (x *MarketEvent) Reset()

func (*MarketEvent) String

func (x *MarketEvent) String() string

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 added in v0.49.0

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

func (*MarketTick) Reset

func (x *MarketTick) Reset()

func (*MarketTick) String

func (x *MarketTick) String() string

type OneOffTransfer added in v0.48.0

type OneOffTransfer struct {
	DeliverOn int64 `protobuf:"varint,1,opt,name=deliver_on,json=deliverOn,proto3" json:"deliver_on,omitempty"`
	// contains filtered or unexported fields
}

func (*OneOffTransfer) Descriptor deprecated added in v0.48.0

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

Deprecated: Use OneOffTransfer.ProtoReflect.Descriptor instead.

func (*OneOffTransfer) GetDeliverOn added in v0.48.0

func (x *OneOffTransfer) GetDeliverOn() int64

func (OneOffTransfer) IsTransferKind added in v0.48.0

func (OneOffTransfer) IsTransferKind()

func (*OneOffTransfer) ProtoMessage added in v0.48.0

func (*OneOffTransfer) ProtoMessage()

func (*OneOffTransfer) ProtoReflect added in v0.49.0

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

func (*OneOffTransfer) Reset added in v0.48.0

func (x *OneOffTransfer) Reset()

func (*OneOffTransfer) String added in v0.48.0

func (x *OneOffTransfer) String() string

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"`
	// 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() string

func (*PositionResolution) GetMarketId

func (x *PositionResolution) GetMarketId() string

func (*PositionResolution) ProtoMessage

func (*PositionResolution) ProtoMessage()

func (*PositionResolution) ProtoReflect added in v0.49.0

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

func (*PositionResolution) Reset

func (x *PositionResolution) Reset()

func (*PositionResolution) String

func (x *PositionResolution) String() string

type PositionStateEvent added in v0.49.2

type PositionStateEvent struct {

	// Party identifier for this position update
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// Market identifier for this position update
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Current position
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// Potential orders
	PotentialBuys  int64 `protobuf:"varint,4,opt,name=potential_buys,json=potentialBuys,proto3" json:"potential_buys,omitempty"`
	PotentialSells int64 `protobuf:"varint,5,opt,name=potential_sells,json=potentialSells,proto3" json:"potential_sells,omitempty"`
	// Volume weighted prices
	VwBuyPrice  string `protobuf:"bytes,6,opt,name=vw_buy_price,json=vwBuyPrice,proto3" json:"vw_buy_price,omitempty"`
	VwSellPrice string `protobuf:"bytes,7,opt,name=vw_sell_price,json=vwSellPrice,proto3" json:"vw_sell_price,omitempty"`
	// contains filtered or unexported fields
}

A position state event contains the current position state for a single party in a single market

func (*PositionStateEvent) Descriptor deprecated added in v0.49.2

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

Deprecated: Use PositionStateEvent.ProtoReflect.Descriptor instead.

func (*PositionStateEvent) GetMarketId added in v0.49.2

func (x *PositionStateEvent) GetMarketId() string

func (*PositionStateEvent) GetPartyId added in v0.49.2

func (x *PositionStateEvent) GetPartyId() string

func (*PositionStateEvent) GetPotentialBuys added in v0.49.2

func (x *PositionStateEvent) GetPotentialBuys() int64

func (*PositionStateEvent) GetPotentialSells added in v0.49.2

func (x *PositionStateEvent) GetPotentialSells() int64

func (*PositionStateEvent) GetSize added in v0.49.2

func (x *PositionStateEvent) GetSize() int64

func (*PositionStateEvent) GetVwBuyPrice added in v0.49.2

func (x *PositionStateEvent) GetVwBuyPrice() string

func (*PositionStateEvent) GetVwSellPrice added in v0.49.2

func (x *PositionStateEvent) GetVwSellPrice() string

func (*PositionStateEvent) ProtoMessage added in v0.49.2

func (*PositionStateEvent) ProtoMessage()

func (*PositionStateEvent) ProtoReflect added in v0.49.2

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

func (*PositionStateEvent) Reset added in v0.49.2

func (x *PositionStateEvent) Reset()

func (*PositionStateEvent) String added in v0.49.2

func (x *PositionStateEvent) String() string

type RecurringTransfer added in v0.48.0

type RecurringTransfer struct {
	StartEpoch       uint64                 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"`
	EndEpoch         *vega.Uint64Value      `protobuf:"bytes,2,opt,name=end_epoch,json=endEpoch,proto3" json:"end_epoch,omitempty"`
	Factor           string                 `protobuf:"bytes,3,opt,name=factor,proto3" json:"factor,omitempty"`
	DispatchStrategy *vega.DispatchStrategy `protobuf:"bytes,4,opt,name=dispatch_strategy,json=dispatchStrategy,proto3" json:"dispatch_strategy,omitempty"`
	// contains filtered or unexported fields
}

func (*RecurringTransfer) Descriptor deprecated added in v0.48.0

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

Deprecated: Use RecurringTransfer.ProtoReflect.Descriptor instead.

func (*RecurringTransfer) GetDispatchStrategy added in v0.51.0

func (x *RecurringTransfer) GetDispatchStrategy() *vega.DispatchStrategy

func (*RecurringTransfer) GetEndEpoch added in v0.48.0

func (x *RecurringTransfer) GetEndEpoch() *vega.Uint64Value

func (*RecurringTransfer) GetFactor added in v0.48.0

func (x *RecurringTransfer) GetFactor() string

func (*RecurringTransfer) GetStartEpoch added in v0.48.0

func (x *RecurringTransfer) GetStartEpoch() uint64

func (RecurringTransfer) IsTransferKind added in v0.48.0

func (RecurringTransfer) IsTransferKind()

func (*RecurringTransfer) ProtoMessage added in v0.48.0

func (*RecurringTransfer) ProtoMessage()

func (*RecurringTransfer) ProtoReflect added in v0.49.0

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

func (*RecurringTransfer) Reset added in v0.48.0

func (x *RecurringTransfer) Reset()

func (*RecurringTransfer) String added in v0.48.0

func (x *RecurringTransfer) String() string

type RewardPayoutEvent added in v0.42.0

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"`
	RewardType           string `protobuf:"bytes,7,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"`
	Market               string `protobuf:"bytes,8,opt,name=market,proto3" json:"market,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardPayoutEvent) Descriptor deprecated added in v0.42.0

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

Deprecated: Use RewardPayoutEvent.ProtoReflect.Descriptor instead.

func (*RewardPayoutEvent) GetAmount added in v0.42.0

func (x *RewardPayoutEvent) GetAmount() string

func (*RewardPayoutEvent) GetAsset added in v0.42.0

func (x *RewardPayoutEvent) GetAsset() string

func (*RewardPayoutEvent) GetEpochSeq added in v0.42.0

func (x *RewardPayoutEvent) GetEpochSeq() string

func (*RewardPayoutEvent) GetMarket added in v0.51.0

func (x *RewardPayoutEvent) GetMarket() string

func (*RewardPayoutEvent) GetParty added in v0.42.0

func (x *RewardPayoutEvent) GetParty() string

func (*RewardPayoutEvent) GetPercentOfTotalReward added in v0.42.0

func (x *RewardPayoutEvent) GetPercentOfTotalReward() string

func (*RewardPayoutEvent) GetRewardType added in v0.51.0

func (x *RewardPayoutEvent) GetRewardType() string

func (*RewardPayoutEvent) GetTimestamp added in v0.42.0

func (x *RewardPayoutEvent) GetTimestamp() int64

func (*RewardPayoutEvent) ProtoMessage added in v0.42.0

func (*RewardPayoutEvent) ProtoMessage()

func (*RewardPayoutEvent) ProtoReflect added in v0.49.0

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

func (*RewardPayoutEvent) Reset added in v0.42.0

func (x *RewardPayoutEvent) Reset()

func (*RewardPayoutEvent) String added in v0.42.0

func (x *RewardPayoutEvent) String() string

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"`
	// 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() string

func (*SettleDistressed) GetMarketId

func (x *SettleDistressed) GetMarketId() string

func (*SettleDistressed) GetPartyId

func (x *SettleDistressed) GetPartyId() string

func (*SettleDistressed) GetPrice

func (x *SettleDistressed) GetPrice() string

func (*SettleDistressed) ProtoMessage

func (*SettleDistressed) ProtoMessage()

func (*SettleDistressed) ProtoReflect added in v0.49.0

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

func (*SettleDistressed) Reset

func (x *SettleDistressed) Reset()

func (*SettleDistressed) String

func (x *SettleDistressed) String() string

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"`
	// Position factor - 10 ^ number of position decimal places
	PositionFactor string `protobuf:"bytes,5,opt,name=position_factor,json=positionFactor,proto3" json:"position_factor,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) GetPositionFactor added in v0.49.0

func (x *SettlePosition) GetPositionFactor() string

func (*SettlePosition) GetPrice

func (x *SettlePosition) GetPrice() string

func (*SettlePosition) GetTradeSettlements

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

func (*SettlePosition) ProtoMessage

func (*SettlePosition) ProtoMessage()

func (*SettlePosition) ProtoReflect added in v0.49.0

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

func (*SettlePosition) Reset

func (x *SettlePosition) Reset()

func (*SettlePosition) String

func (x *SettlePosition) String() string

type StakeLinking added in v0.42.0

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"`
	// The block when the event happened
	BlockHeight uint64 `protobuf:"varint,9,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// The block time
	BlockTime int64 `protobuf:"varint,10,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// The log index
	LogIndex uint64 `protobuf:"varint,11,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	// the ethereum address from which the stake link was iniated
	EthereumAddress string `protobuf:"bytes,12,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated added in v0.42.0

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

Deprecated: Use StakeLinking.ProtoReflect.Descriptor instead.

func (*StakeLinking) GetAmount added in v0.42.0

func (x *StakeLinking) GetAmount() string

func (*StakeLinking) GetBlockHeight added in v0.49.2

func (x *StakeLinking) GetBlockHeight() uint64

func (*StakeLinking) GetBlockTime added in v0.49.2

func (x *StakeLinking) GetBlockTime() int64

func (*StakeLinking) GetEthereumAddress added in v0.49.2

func (x *StakeLinking) GetEthereumAddress() string

func (*StakeLinking) GetFinalizedAt added in v0.42.0

func (x *StakeLinking) GetFinalizedAt() int64

func (*StakeLinking) GetId added in v0.42.0

func (x *StakeLinking) GetId() string

func (*StakeLinking) GetLogIndex added in v0.49.2

func (x *StakeLinking) GetLogIndex() uint64

func (*StakeLinking) GetParty added in v0.42.0

func (x *StakeLinking) GetParty() string

func (*StakeLinking) GetStatus added in v0.42.0

func (x *StakeLinking) GetStatus() StakeLinking_Status

func (*StakeLinking) GetTs added in v0.42.0

func (x *StakeLinking) GetTs() int64

func (*StakeLinking) GetTxHash added in v0.42.0

func (x *StakeLinking) GetTxHash() string

func (*StakeLinking) GetType added in v0.42.0

func (x *StakeLinking) GetType() StakeLinking_Type

func (*StakeLinking) ProtoMessage added in v0.42.0

func (*StakeLinking) ProtoMessage()

func (*StakeLinking) ProtoReflect added in v0.49.0

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

func (*StakeLinking) Reset added in v0.42.0

func (x *StakeLinking) Reset()

func (*StakeLinking) String added in v0.42.0

func (x *StakeLinking) String() string

type StakeLinking_Status added in v0.42.0

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) Descriptor added in v0.49.0

func (StakeLinking_Status) Enum added in v0.49.0

func (StakeLinking_Status) EnumDescriptor deprecated added in v0.42.0

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

Deprecated: Use StakeLinking_Status.Descriptor instead.

func (StakeLinking_Status) Number added in v0.49.0

func (StakeLinking_Status) String added in v0.42.0

func (x StakeLinking_Status) String() string

func (StakeLinking_Status) Type added in v0.49.0

type StakeLinking_Type added in v0.42.0

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) Descriptor added in v0.49.0

func (StakeLinking_Type) Enum added in v0.49.0

func (StakeLinking_Type) EnumDescriptor deprecated added in v0.42.0

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

Deprecated: Use StakeLinking_Type.Descriptor instead.

func (StakeLinking_Type) Number added in v0.49.0

func (StakeLinking_Type) String added in v0.42.0

func (x StakeLinking_Type) String() string

func (StakeLinking_Type) Type added in v0.49.0

type StateVar added in v0.48.0

type StateVar struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	State   string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

StateVarEvent - updates on state changes in state variable consensus

func (*StateVar) Descriptor deprecated added in v0.48.0

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

Deprecated: Use StateVar.ProtoReflect.Descriptor instead.

func (*StateVar) GetEventId added in v0.48.0

func (x *StateVar) GetEventId() string

func (*StateVar) GetId added in v0.48.0

func (x *StateVar) GetId() string

func (*StateVar) GetState added in v0.48.0

func (x *StateVar) GetState() string

func (*StateVar) ProtoMessage added in v0.48.0

func (*StateVar) ProtoMessage()

func (*StateVar) ProtoReflect added in v0.49.0

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

func (*StateVar) Reset added in v0.48.0

func (x *StateVar) Reset()

func (*StateVar) String added in v0.48.0

func (x *StateVar) String() string

type StreamStartEvent added in v0.46.0

type StreamStartEvent struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamStartEvent) Descriptor deprecated added in v0.46.0

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

Deprecated: Use StreamStartEvent.ProtoReflect.Descriptor instead.

func (*StreamStartEvent) GetChainId added in v0.46.0

func (x *StreamStartEvent) GetChainId() string

func (*StreamStartEvent) ProtoMessage added in v0.46.0

func (*StreamStartEvent) ProtoMessage()

func (*StreamStartEvent) ProtoReflect added in v0.49.0

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

func (*StreamStartEvent) Reset added in v0.46.0

func (x *StreamStartEvent) Reset()

func (*StreamStartEvent) String added in v0.46.0

func (x *StreamStartEvent) String() string

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 and indicates the start of a new block

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 added in v0.49.0

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

func (*TimeUpdate) Reset

func (x *TimeUpdate) Reset()

func (*TimeUpdate) String

func (x *TimeUpdate) String() string

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"`
	// 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() string

func (*TradeSettlement) GetSize

func (x *TradeSettlement) GetSize() int64

func (*TradeSettlement) ProtoMessage

func (*TradeSettlement) ProtoMessage()

func (*TradeSettlement) ProtoReflect added in v0.49.0

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

func (*TradeSettlement) Reset

func (x *TradeSettlement) Reset()

func (*TradeSettlement) String

func (x *TradeSettlement) String() string

type Transfer added in v0.48.0

type Transfer struct {
	Id              string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	From            string           `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	FromAccountType vega.AccountType `` /* 131-byte string literal not displayed */
	To              string           `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	ToAccountType   vega.AccountType `protobuf:"varint,5,opt,name=to_account_type,json=toAccountType,proto3,enum=vega.AccountType" json:"to_account_type,omitempty"`
	Asset           string           `protobuf:"bytes,6,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount          string           `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"`
	Reference       string           `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"`
	Status          Transfer_Status  `protobuf:"varint,9,opt,name=status,proto3,enum=vega.events.v1.Transfer_Status" json:"status,omitempty"`
	Timestamp       int64            `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Types that are assignable to Kind:
	//	*Transfer_OneOff
	//	*Transfer_Recurring
	Kind isTransfer_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated added in v0.48.0

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAmount added in v0.48.0

func (x *Transfer) GetAmount() string

func (*Transfer) GetAsset added in v0.48.0

func (x *Transfer) GetAsset() string

func (*Transfer) GetFrom added in v0.48.0

func (x *Transfer) GetFrom() string

func (*Transfer) GetFromAccountType added in v0.48.0

func (x *Transfer) GetFromAccountType() vega.AccountType

func (*Transfer) GetId added in v0.48.0

func (x *Transfer) GetId() string

func (*Transfer) GetKind added in v0.48.0

func (m *Transfer) GetKind() isTransfer_Kind

func (*Transfer) GetOneOff added in v0.48.0

func (x *Transfer) GetOneOff() *OneOffTransfer

func (*Transfer) GetRecurring added in v0.48.0

func (x *Transfer) GetRecurring() *RecurringTransfer

func (*Transfer) GetReference added in v0.48.0

func (x *Transfer) GetReference() string

func (*Transfer) GetStatus added in v0.48.0

func (x *Transfer) GetStatus() Transfer_Status

func (*Transfer) GetTimestamp added in v0.48.0

func (x *Transfer) GetTimestamp() int64

func (*Transfer) GetTo added in v0.48.0

func (x *Transfer) GetTo() string

func (*Transfer) GetToAccountType added in v0.48.0

func (x *Transfer) GetToAccountType() vega.AccountType

func (*Transfer) ProtoMessage added in v0.48.0

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect added in v0.49.0

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

func (*Transfer) Reset added in v0.48.0

func (x *Transfer) Reset()

func (*Transfer) String added in v0.48.0

func (x *Transfer) String() string

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"`
	// 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() []*vega.TransferResponse

func (*TransferResponses) ProtoMessage

func (*TransferResponses) ProtoMessage()

func (*TransferResponses) ProtoReflect added in v0.49.0

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

func (*TransferResponses) Reset

func (x *TransferResponses) Reset()

func (*TransferResponses) String

func (x *TransferResponses) String() string

type Transfer_OneOff added in v0.48.0

type Transfer_OneOff struct {
	OneOff *OneOffTransfer `protobuf:"bytes,101,opt,name=one_off,json=oneOff,proto3,oneof"`
}

type Transfer_Recurring added in v0.48.0

type Transfer_Recurring struct {
	Recurring *RecurringTransfer `protobuf:"bytes,102,opt,name=recurring,proto3,oneof"`
}

type Transfer_Status added in v0.48.0

type Transfer_Status int32
const (
	// Default value
	Transfer_STATUS_UNSPECIFIED Transfer_Status = 0
	// Indicate a transfer still being processed
	Transfer_STATUS_PENDING Transfer_Status = 1
	// Indicate of an transfer accepted by the vega network
	Transfer_STATUS_DONE Transfer_Status = 2
	// Indicate of an transfer rejected by the vega network
	Transfer_STATUS_REJECTED Transfer_Status = 3
	// Indicate of a transfer stopped by the vega network
	// e.g: no funds left to cover the transfer
	Transfer_STATUS_STOPPED Transfer_Status = 4
	// Indicate of a transfer cancel by the user
	Transfer_STATUS_CANCELLED Transfer_Status = 5
)

func (Transfer_Status) Descriptor added in v0.49.0

func (Transfer_Status) Enum added in v0.49.0

func (x Transfer_Status) Enum() *Transfer_Status

func (Transfer_Status) EnumDescriptor deprecated added in v0.48.0

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

Deprecated: Use Transfer_Status.Descriptor instead.

func (Transfer_Status) Number added in v0.49.0

func (Transfer_Status) String added in v0.48.0

func (x Transfer_Status) String() string

func (Transfer_Status) Type added in v0.49.0

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
	//	*TxErrorEvent_DelegateSubmission
	//	*TxErrorEvent_UndelegateSubmission
	//	*TxErrorEvent_LiquidityProvisionCancellation
	//	*TxErrorEvent_LiquidityProvisionAmendment
	//	*TxErrorEvent_Transfer
	//	*TxErrorEvent_CancelTransfer
	//	*TxErrorEvent_AnnounceNode
	//	*TxErrorEvent_OracleDataSubmission
	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) GetAnnounceNode added in v0.50.0

func (x *TxErrorEvent) GetAnnounceNode() *v1.AnnounceNode

func (*TxErrorEvent) GetCancelTransfer added in v0.48.0

func (x *TxErrorEvent) GetCancelTransfer() *v1.CancelTransfer

func (*TxErrorEvent) GetDelegateSubmission added in v0.42.0

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

func (*TxErrorEvent) GetErrMsg

func (x *TxErrorEvent) GetErrMsg() string

func (*TxErrorEvent) GetLiquidityProvisionAmendment added in v0.48.0

func (x *TxErrorEvent) GetLiquidityProvisionAmendment() *v1.LiquidityProvisionAmendment

func (*TxErrorEvent) GetLiquidityProvisionCancellation added in v0.48.0

func (x *TxErrorEvent) GetLiquidityProvisionCancellation() *v1.LiquidityProvisionCancellation

func (*TxErrorEvent) GetLiquidityProvisionSubmission

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

func (*TxErrorEvent) GetOracleDataSubmission added in v0.50.0

func (x *TxErrorEvent) GetOracleDataSubmission() *v1.OracleDataSubmission

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) GetTransfer added in v0.48.0

func (x *TxErrorEvent) GetTransfer() *v1.Transfer

func (*TxErrorEvent) GetUndelegateSubmission added in v0.42.0

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

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 added in v0.49.0

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

func (*TxErrorEvent) Reset

func (x *TxErrorEvent) Reset()

func (*TxErrorEvent) String

func (x *TxErrorEvent) String() string

type TxErrorEvent_AnnounceNode added in v0.50.0

type TxErrorEvent_AnnounceNode struct {
	AnnounceNode *v1.AnnounceNode `protobuf:"bytes,115,opt,name=announce_node,json=announceNode,proto3,oneof"`
}

type TxErrorEvent_CancelTransfer added in v0.48.0

type TxErrorEvent_CancelTransfer struct {
	CancelTransfer *v1.CancelTransfer `protobuf:"bytes,114,opt,name=cancel_transfer,json=cancelTransfer,proto3,oneof"`
}

type TxErrorEvent_DelegateSubmission added in v0.42.0

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

type TxErrorEvent_LiquidityProvisionAmendment added in v0.48.0

type TxErrorEvent_LiquidityProvisionAmendment struct {
	LiquidityProvisionAmendment *v1.LiquidityProvisionAmendment `protobuf:"bytes,112,opt,name=liquidity_provision_amendment,json=liquidityProvisionAmendment,proto3,oneof"`
}

type TxErrorEvent_LiquidityProvisionCancellation added in v0.48.0

type TxErrorEvent_LiquidityProvisionCancellation struct {
	LiquidityProvisionCancellation *v1.LiquidityProvisionCancellation `protobuf:"bytes,111,opt,name=liquidity_provision_cancellation,json=liquidityProvisionCancellation,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_OracleDataSubmission added in v0.50.0

type TxErrorEvent_OracleDataSubmission struct {
	OracleDataSubmission *v1.OracleDataSubmission `protobuf:"bytes,116,opt,name=oracle_data_submission,json=oracleDataSubmission,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_Transfer added in v0.48.0

type TxErrorEvent_Transfer struct {
	Transfer *v1.Transfer `protobuf:"bytes,113,opt,name=transfer,proto3,oneof"`
}

type TxErrorEvent_UndelegateSubmission added in v0.42.0

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 ValidatorRankingEvent added in v0.49.0

type ValidatorRankingEvent struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// stake based score - no anti-whaling
	StakeScore string `protobuf:"bytes,2,opt,name=stake_score,json=stakeScore,proto3" json:"stake_score,omitempty"`
	// performance base score
	PerformanceScore string `protobuf:"bytes,3,opt,name=performance_score,json=performanceScore,proto3" json:"performance_score,omitempty"`
	// final score
	RankingScore string `protobuf:"bytes,4,opt,name=ranking_score,json=rankingScore,proto3" json:"ranking_score,omitempty"`
	// the status of the validator in the previous epoch
	PreviousStatus string `protobuf:"bytes,5,opt,name=previous_status,json=previousStatus,proto3" json:"previous_status,omitempty"`
	// the status of the validator in the next epoch
	NextStatus string `protobuf:"bytes,6,opt,name=next_status,json=nextStatus,proto3" json:"next_status,omitempty"`
	// the epoch seq for which the status is valid
	EpochSeq string `protobuf:"bytes,7,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	// tendermint voting power of the validator
	TmVotingPower uint32 `protobuf:"varint,8,opt,name=tm_voting_power,json=tmVotingPower,proto3" json:"tm_voting_power,omitempty"`
	// contains filtered or unexported fields
}

An event that explains the status of the validator for the coming epoch

func (*ValidatorRankingEvent) Descriptor deprecated added in v0.49.0

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

Deprecated: Use ValidatorRankingEvent.ProtoReflect.Descriptor instead.

func (*ValidatorRankingEvent) GetEpochSeq added in v0.49.0

func (x *ValidatorRankingEvent) GetEpochSeq() string

func (*ValidatorRankingEvent) GetNextStatus added in v0.49.0

func (x *ValidatorRankingEvent) GetNextStatus() string

func (*ValidatorRankingEvent) GetNodeId added in v0.49.0

func (x *ValidatorRankingEvent) GetNodeId() string

func (*ValidatorRankingEvent) GetPerformanceScore added in v0.49.0

func (x *ValidatorRankingEvent) GetPerformanceScore() string

func (*ValidatorRankingEvent) GetPreviousStatus added in v0.49.0

func (x *ValidatorRankingEvent) GetPreviousStatus() string

func (*ValidatorRankingEvent) GetRankingScore added in v0.49.0

func (x *ValidatorRankingEvent) GetRankingScore() string

func (*ValidatorRankingEvent) GetStakeScore added in v0.49.0

func (x *ValidatorRankingEvent) GetStakeScore() string

func (*ValidatorRankingEvent) GetTmVotingPower added in v0.49.0

func (x *ValidatorRankingEvent) GetTmVotingPower() uint32

func (*ValidatorRankingEvent) ProtoMessage added in v0.49.0

func (*ValidatorRankingEvent) ProtoMessage()

func (*ValidatorRankingEvent) ProtoReflect added in v0.49.0

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

func (*ValidatorRankingEvent) Reset added in v0.49.0

func (x *ValidatorRankingEvent) Reset()

func (*ValidatorRankingEvent) String added in v0.49.0

func (x *ValidatorRankingEvent) String() string

type ValidatorScoreEvent added in v0.42.0

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"`
	ValidatorPerformance string `protobuf:"bytes,5,opt,name=validator_performance,json=validatorPerformance,proto3" json:"validator_performance,omitempty"`
	RawValidatorScore    string `protobuf:"bytes,6,opt,name=raw_validator_score,json=rawValidatorScore,proto3" json:"raw_validator_score,omitempty"`
	ValidatorStatus      string `protobuf:"bytes,7,opt,name=validator_status,json=validatorStatus,proto3" json:"validator_status,omitempty"`
	MultisigScore        string `protobuf:"bytes,8,opt,name=multisig_score,json=multisigScore,proto3" json:"multisig_score,omitempty"`
	// contains filtered or unexported fields
}

ValidatorScoreEvent is the score a validator gets for a given epoch

func (*ValidatorScoreEvent) Descriptor deprecated added in v0.42.0

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

Deprecated: Use ValidatorScoreEvent.ProtoReflect.Descriptor instead.

func (*ValidatorScoreEvent) GetEpochSeq added in v0.42.0

func (x *ValidatorScoreEvent) GetEpochSeq() string

func (*ValidatorScoreEvent) GetMultisigScore added in v0.49.0

func (x *ValidatorScoreEvent) GetMultisigScore() string

func (*ValidatorScoreEvent) GetNodeId added in v0.42.0

func (x *ValidatorScoreEvent) GetNodeId() string

func (*ValidatorScoreEvent) GetNormalisedScore added in v0.42.0

func (x *ValidatorScoreEvent) GetNormalisedScore() string

func (*ValidatorScoreEvent) GetRawValidatorScore added in v0.48.0

func (x *ValidatorScoreEvent) GetRawValidatorScore() string

func (*ValidatorScoreEvent) GetValidatorPerformance added in v0.48.0

func (x *ValidatorScoreEvent) GetValidatorPerformance() string

func (*ValidatorScoreEvent) GetValidatorScore added in v0.42.0

func (x *ValidatorScoreEvent) GetValidatorScore() string

func (*ValidatorScoreEvent) GetValidatorStatus added in v0.49.0

func (x *ValidatorScoreEvent) GetValidatorStatus() string

func (*ValidatorScoreEvent) ProtoMessage added in v0.42.0

func (*ValidatorScoreEvent) ProtoMessage()

func (*ValidatorScoreEvent) ProtoReflect added in v0.49.0

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

func (*ValidatorScoreEvent) Reset added in v0.42.0

func (x *ValidatorScoreEvent) Reset()

func (*ValidatorScoreEvent) String added in v0.42.0

func (x *ValidatorScoreEvent) String() string

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"`
	// Flag indicating if the validator has been added to or removed from vega
	Added bool `protobuf:"varint,10,opt,name=added,proto3" json:"added,omitempty"`
	// The epoch from which the validator was added or removed
	FromEpoch uint64 `protobuf:"varint,11,opt,name=from_epoch,json=fromEpoch,proto3" json:"from_epoch,omitempty"`
	// contains filtered or unexported fields
}

A validator update event contains information about validator node

func (*ValidatorUpdate) Descriptor deprecated

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

Deprecated: Use ValidatorUpdate.ProtoReflect.Descriptor instead.

func (*ValidatorUpdate) GetAdded added in v0.49.0

func (x *ValidatorUpdate) GetAdded() bool

func (*ValidatorUpdate) GetAvatarUrl added in v0.44.0

func (x *ValidatorUpdate) GetAvatarUrl() string

func (*ValidatorUpdate) GetCountry

func (x *ValidatorUpdate) GetCountry() string

func (*ValidatorUpdate) GetEthereumAddress added in v0.42.0

func (x *ValidatorUpdate) GetEthereumAddress() string

func (*ValidatorUpdate) GetFromEpoch added in v0.49.0

func (x *ValidatorUpdate) GetFromEpoch() uint64

func (*ValidatorUpdate) GetInfoUrl

func (x *ValidatorUpdate) GetInfoUrl() string

func (*ValidatorUpdate) GetName added in v0.44.0

func (x *ValidatorUpdate) GetName() string

func (*ValidatorUpdate) GetNodeId added in v0.42.0

func (x *ValidatorUpdate) GetNodeId() string

func (*ValidatorUpdate) GetTmPubKey

func (x *ValidatorUpdate) GetTmPubKey() string

func (*ValidatorUpdate) GetVegaPubKey added in v0.42.0

func (x *ValidatorUpdate) GetVegaPubKey() string

func (*ValidatorUpdate) GetVegaPubKeyIndex added in v0.47.0

func (x *ValidatorUpdate) GetVegaPubKeyIndex() uint32

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) ProtoReflect added in v0.49.0

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

func (*ValidatorUpdate) Reset

func (x *ValidatorUpdate) Reset()

func (*ValidatorUpdate) String

func (x *ValidatorUpdate) String() string

Jump to

Keyboard shortcuts

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