v1

package
v0.68.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 6 Imported by: 13

Documentation

Index

Constants

View Source
const Version = 1

Variables

View Source
var (
	ProtocolUpgradeProposalStatus_name = map[int32]string{
		0: "PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED",
		1: "PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING",
		2: "PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED",
		3: "PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED",
	}
	ProtocolUpgradeProposalStatus_value = map[string]int32{
		"PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED": 0,
		"PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING":     1,
		"PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED":    2,
		"PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED":    3,
	}
)

Enum value maps for ProtocolUpgradeProposalStatus.

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_LEDGER_MOVEMENTS",
		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",
		48:  "BUS_EVENT_TYPE_PROTOCOL_UPGRADE_PROPOSAL",
		49:  "BUS_EVENT_TYPE_BEGIN_BLOCK",
		50:  "BUS_EVENT_TYPE_END_BLOCK",
		51:  "BUS_EVENT_TYPE_PROTOCOL_UPGRADE_STARTED",
		52:  "BUS_EVENT_TYPE_SETTLE_MARKET",
		53:  "BUS_EVENT_TYPE_TRANSACTION_RESULT",
		54:  "BUS_EVENT_TYPE_SNAPSHOT_TAKEN",
		55:  "BUS_EVENT_TYPE_PROTOCOL_UPGRADE_DATA_NODE_READY",
		56:  "BUS_EVENT_TYPE_DISTRESSED_ORDERS_CLOSED",
		57:  "BUS_EVENT_TYPE_EXPIRED_ORDERS",
		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_LEDGER_MOVEMENTS":                 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_PROTOCOL_UPGRADE_PROPOSAL":        48,
		"BUS_EVENT_TYPE_BEGIN_BLOCK":                      49,
		"BUS_EVENT_TYPE_END_BLOCK":                        50,
		"BUS_EVENT_TYPE_PROTOCOL_UPGRADE_STARTED":         51,
		"BUS_EVENT_TYPE_SETTLE_MARKET":                    52,
		"BUS_EVENT_TYPE_TRANSACTION_RESULT":               53,
		"BUS_EVENT_TYPE_SNAPSHOT_TAKEN":                   54,
		"BUS_EVENT_TYPE_PROTOCOL_UPGRADE_DATA_NODE_READY": 55,
		"BUS_EVENT_TYPE_DISTRESSED_ORDERS_CLOSED":         56,
		"BUS_EVENT_TYPE_EXPIRED_ORDERS":                   57,
		"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

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

func (*AuctionEvent) Reset

func (x *AuctionEvent) Reset()

func (*AuctionEvent) String

func (x *AuctionEvent) String() string

type BeginBlock added in v0.56.0

type BeginBlock struct {
	Height    uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp int64  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Hash      string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

BeginBlock

func (*BeginBlock) Descriptor deprecated added in v0.56.0

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

Deprecated: Use BeginBlock.ProtoReflect.Descriptor instead.

func (*BeginBlock) GetHash added in v0.56.0

func (x *BeginBlock) GetHash() string

func (*BeginBlock) GetHeight added in v0.56.0

func (x *BeginBlock) GetHeight() uint64

func (*BeginBlock) GetTimestamp added in v0.56.0

func (x *BeginBlock) GetTimestamp() int64

func (*BeginBlock) ProtoMessage added in v0.56.0

func (*BeginBlock) ProtoMessage()

func (*BeginBlock) ProtoReflect added in v0.56.0

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

func (*BeginBlock) Reset added in v0.56.0

func (x *BeginBlock) Reset()

func (*BeginBlock) String added in v0.56.0

func (x *BeginBlock) 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_LedgerMovements
	//	*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_ProtocolUpgradeEvent
	//	*BusEvent_BeginBlock
	//	*BusEvent_EndBlock
	//	*BusEvent_ProtocolUpgradeStarted
	//	*BusEvent_SettleMarket
	//	*BusEvent_TransactionResult
	//	*BusEvent_CoreSnapshotEvent
	//	*BusEvent_ProtocolUpgradeDataNodeReady
	//	*BusEvent_DistressedOrders
	//	*BusEvent_ExpiredOrders
	//	*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) GetBeginBlock added in v0.56.0

func (x *BusEvent) GetBeginBlock() *BeginBlock

func (*BusEvent) GetBlock

func (x *BusEvent) GetBlock() string

func (*BusEvent) GetChainId

func (x *BusEvent) GetChainId() string

func (*BusEvent) GetCheckpoint

func (x *BusEvent) GetCheckpoint() *CheckpointEvent

func (*BusEvent) GetCoreSnapshotEvent added in v0.65.0

func (x *BusEvent) GetCoreSnapshotEvent() *CoreSnapshotData

func (*BusEvent) GetDelegationBalance

func (x *BusEvent) GetDelegationBalance() *DelegationBalanceEvent

func (*BusEvent) GetDeposit

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

func (*BusEvent) GetDistressedOrders added in v0.68.0

func (x *BusEvent) GetDistressedOrders() *DistressedOrders

func (*BusEvent) GetEndBlock added in v0.56.0

func (x *BusEvent) GetEndBlock() *EndBlock

func (*BusEvent) GetEpochEvent

func (x *BusEvent) GetEpochEvent() *EpochEvent

func (*BusEvent) GetErc20MultisigSetThresholdEvent

func (x *BusEvent) GetErc20MultisigSetThresholdEvent() *ERC20MultiSigThresholdSetEvent

func (*BusEvent) GetErc20MultisigSignerAdded

func (x *BusEvent) GetErc20MultisigSignerAdded() *ERC20MultiSigSignerAdded

func (*BusEvent) GetErc20MultisigSignerEvent

func (x *BusEvent) GetErc20MultisigSignerEvent() *ERC20MultiSigSignerEvent

func (*BusEvent) GetErc20MultisigSignerRemoved

func (x *BusEvent) GetErc20MultisigSignerRemoved() *ERC20MultiSigSignerRemoved

func (*BusEvent) GetEthereumKeyRotation

func (x *BusEvent) GetEthereumKeyRotation() *EthereumKeyRotation

func (*BusEvent) GetEvent

func (m *BusEvent) GetEvent() isBusEvent_Event

func (*BusEvent) GetExpiredOrders added in v0.68.0

func (x *BusEvent) GetExpiredOrders() *ExpiredOrders

func (*BusEvent) GetId

func (x *BusEvent) GetId() string

func (*BusEvent) GetKeyRotation

func (x *BusEvent) GetKeyRotation() *KeyRotation

func (*BusEvent) GetLedgerMovements added in v0.56.0

func (x *BusEvent) GetLedgerMovements() *LedgerMovements

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

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() *vega.OracleData

func (*BusEvent) GetOracleSpec

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

func (x *BusEvent) GetPositionStateEvent() *PositionStateEvent

func (*BusEvent) GetProposal

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

func (*BusEvent) GetProtocolUpgradeDataNodeReady added in v0.65.0

func (x *BusEvent) GetProtocolUpgradeDataNodeReady() *ProtocolUpgradeDataNodeReady

func (*BusEvent) GetProtocolUpgradeEvent

func (x *BusEvent) GetProtocolUpgradeEvent() *ProtocolUpgradeEvent

func (*BusEvent) GetProtocolUpgradeStarted added in v0.56.0

func (x *BusEvent) GetProtocolUpgradeStarted() *ProtocolUpgradeStarted

func (*BusEvent) GetRankingEvent

func (x *BusEvent) GetRankingEvent() *ValidatorRankingEvent

func (*BusEvent) GetRewardPayout

func (x *BusEvent) GetRewardPayout() *RewardPayoutEvent

func (*BusEvent) GetRiskFactor

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

func (*BusEvent) GetSettleDistressed

func (x *BusEvent) GetSettleDistressed() *SettleDistressed

func (*BusEvent) GetSettleMarket added in v0.56.0

func (x *BusEvent) GetSettleMarket() *SettleMarket

func (*BusEvent) GetSettlePosition

func (x *BusEvent) GetSettlePosition() *SettlePosition

func (*BusEvent) GetStakeLinking

func (x *BusEvent) GetStakeLinking() *StakeLinking

func (*BusEvent) GetStateVar

func (x *BusEvent) GetStateVar() *StateVar

func (*BusEvent) GetTimeUpdate

func (x *BusEvent) GetTimeUpdate() *TimeUpdate

func (*BusEvent) GetTrade

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

func (*BusEvent) GetTransactionResult added in v0.58.0

func (x *BusEvent) GetTransactionResult() *TransactionResult

func (*BusEvent) GetTransfer

func (x *BusEvent) GetTransfer() *Transfer

func (*BusEvent) GetTxErrEvent

func (x *BusEvent) GetTxErrEvent() *TxErrorEvent

func (*BusEvent) GetTxHash

func (x *BusEvent) GetTxHash() string

func (*BusEvent) GetType

func (x *BusEvent) GetType() BusEventType

func (*BusEvent) GetValidatorScore

func (x *BusEvent) GetValidatorScore() *ValidatorScoreEvent

func (*BusEvent) GetValidatorUpdate

func (x *BusEvent) GetValidatorUpdate() *ValidatorUpdate

func (*BusEvent) GetVersion

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

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_LEDGER_MOVEMENTS 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 transfer
	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 ERC-20 multisig
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_ADDED BusEventType = 44
	// Event indicating a signer has been removed from the ERC-20 multisig
	BusEventType_BUS_EVENT_TYPE_ERC20_MULTI_SIG_SIGNER_REMOVED BusEventType = 45
	// Event indicating 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 protocol upgrade proposal updates
	BusEventType_BUS_EVENT_TYPE_PROTOCOL_UPGRADE_PROPOSAL BusEventType = 48
	// The core is starting to process a new block
	BusEventType_BUS_EVENT_TYPE_BEGIN_BLOCK BusEventType = 49
	// The core finished to process a block
	BusEventType_BUS_EVENT_TYPE_END_BLOCK BusEventType = 50
	// The core is starting a protocol upgrade
	BusEventType_BUS_EVENT_TYPE_PROTOCOL_UPGRADE_STARTED BusEventType = 51
	// The market has stopped and settled
	BusEventType_BUS_EVENT_TYPE_SETTLE_MARKET BusEventType = 52
	// The result of a transaction processed by the network
	BusEventType_BUS_EVENT_TYPE_TRANSACTION_RESULT BusEventType = 53
	// Snapshot is taken at this block height
	BusEventType_BUS_EVENT_TYPE_SNAPSHOT_TAKEN BusEventType = 54
	// Data node notifies that it is ready to upgrade
	BusEventType_BUS_EVENT_TYPE_PROTOCOL_UPGRADE_DATA_NODE_READY BusEventType = 55
	// Event indicating parties had orders closed because they were distressed, but were not closed out.
	BusEventType_BUS_EVENT_TYPE_DISTRESSED_ORDERS_CLOSED BusEventType = 56
	// Event indicating parties had orders closed because they were distressed, but were not closed out.
	BusEventType_BUS_EVENT_TYPE_EXPIRED_ORDERS BusEventType = 57
	// Event indicating a market related event, for example when a market opens
	BusEventType_BUS_EVENT_TYPE_MARKET BusEventType = 101
	// Event used to report failed transactions back to a user, this is excluded from the ALL type
	BusEventType_BUS_EVENT_TYPE_TX_ERROR BusEventType = 201
)

func (BusEventType) Descriptor

func (BusEventType) Enum

func (x BusEventType) Enum() *BusEventType

func (BusEventType) EnumDescriptor deprecated

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

Deprecated: Use BusEventType.Descriptor instead.

func (BusEventType) Number

func (BusEventType) String

func (x BusEventType) String() string

func (BusEventType) Type

type BusEvent_Account

type BusEvent_Account struct {
	// Account events
	Account *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
	Auction *AuctionEvent `protobuf:"bytes,121,opt,name=auction,proto3,oneof"`
}

type BusEvent_BeginBlock added in v0.56.0

type BusEvent_BeginBlock struct {
	// The core is starting to process a new block
	BeginBlock *BeginBlock `protobuf:"bytes,148,opt,name=begin_block,json=beginBlock,proto3,oneof"`
}

type BusEvent_Checkpoint

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

type BusEvent_CoreSnapshotEvent added in v0.65.0

type BusEvent_CoreSnapshotEvent struct {
	// A core snapshot has been taken at the end of the block
	CoreSnapshotEvent *CoreSnapshotData `protobuf:"bytes,153,opt,name=core_snapshot_event,json=coreSnapshotEvent,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_DistressedOrders added in v0.68.0

type BusEvent_DistressedOrders struct {
	// Parties that had their orders closed because they were distressed
	DistressedOrders *DistressedOrders `protobuf:"bytes,155,opt,name=distressed_orders,json=distressedOrders,proto3,oneof"`
}

type BusEvent_EndBlock added in v0.56.0

type BusEvent_EndBlock struct {
	// The core finished to process a block
	EndBlock *EndBlock `protobuf:"bytes,149,opt,name=end_block,json=endBlock,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

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

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

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

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

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

type BusEvent_ExpiredOrders struct {
	// Orders that expired for a given market
	ExpiredOrders *ExpiredOrders `protobuf:"bytes,156,opt,name=expired_orders,json=expiredOrders,proto3,oneof"`
}

type BusEvent_KeyRotation

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

type BusEvent_LedgerMovements added in v0.56.0

type BusEvent_LedgerMovements struct {
	// Transfer responses update events
	LedgerMovements *LedgerMovements `protobuf:"bytes,102,opt,name=ledger_movements,json=ledgerMovements,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
	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
	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

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 *vega.OracleData `protobuf:"bytes,127,opt,name=oracle_data,json=oracleData,proto3,oneof"`
}

type BusEvent_OracleSpec

type BusEvent_OracleSpec struct {
	// OracleSpec events
	OracleSpec *vega.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
	PositionResolution *PositionResolution `protobuf:"bytes,103,opt,name=position_resolution,json=positionResolution,proto3,oneof"`
}

type BusEvent_PositionStateEvent

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

type BusEvent_ProtocolUpgradeDataNodeReady struct {
	// A core snapshot has been taken at the end of the block
	ProtocolUpgradeDataNodeReady *ProtocolUpgradeDataNodeReady `protobuf:"bytes,154,opt,name=protocol_upgrade_data_node_ready,json=protocolUpgradeDataNodeReady,proto3,oneof"`
}

type BusEvent_ProtocolUpgradeEvent

type BusEvent_ProtocolUpgradeEvent struct {
	// Protocol upgrade proposal updates
	ProtocolUpgradeEvent *ProtocolUpgradeEvent `protobuf:"bytes,147,opt,name=protocol_upgrade_event,json=protocolUpgradeEvent,proto3,oneof"`
}

type BusEvent_ProtocolUpgradeStarted added in v0.56.0

type BusEvent_ProtocolUpgradeStarted struct {
	// The core is starting a protocol upgrade
	ProtocolUpgradeStarted *ProtocolUpgradeStarted `protobuf:"bytes,150,opt,name=protocol_upgrade_started,json=protocolUpgradeStarted,proto3,oneof"`
}

type BusEvent_RankingEvent

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

type BusEvent_RewardPayout

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
	SettleDistressed *SettleDistressed `protobuf:"bytes,115,opt,name=settle_distressed,json=settleDistressed,proto3,oneof"`
}

type BusEvent_SettleMarket added in v0.56.0

type BusEvent_SettleMarket struct {
	// Settle market event for data-node to update positions for settled markets
	SettleMarket *SettleMarket `protobuf:"bytes,151,opt,name=settle_market,json=settleMarket,proto3,oneof"`
}

type BusEvent_SettlePosition

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

type BusEvent_StakeLinking

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

type BusEvent_StateVar

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

type BusEvent_TransactionResult struct {
	// The result of a transaction processed by the network
	TransactionResult *TransactionResult `protobuf:"bytes,152,opt,name=transaction_result,json=transactionResult,proto3,oneof"`
}

type BusEvent_Transfer

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

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

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

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

Deprecated: Use CheckpointEvent.ProtoReflect.Descriptor instead.

func (*CheckpointEvent) GetBlockHash

func (x *CheckpointEvent) GetBlockHash() string

func (*CheckpointEvent) GetBlockHeight

func (x *CheckpointEvent) GetBlockHeight() uint64

func (*CheckpointEvent) GetHash

func (x *CheckpointEvent) GetHash() string

func (*CheckpointEvent) ProtoMessage

func (*CheckpointEvent) ProtoMessage()

func (*CheckpointEvent) ProtoReflect

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

func (*CheckpointEvent) Reset

func (x *CheckpointEvent) Reset()

func (*CheckpointEvent) String

func (x *CheckpointEvent) String() string

type CoreSnapshotData added in v0.65.0

type CoreSnapshotData struct {

	// The block height at which snapshot was taken
	BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// The hash of the snapshot block
	BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// Core version
	CoreVersion string `protobuf:"bytes,3,opt,name=core_version,json=coreVersion,proto3" json:"core_version,omitempty"`
	// Indicates if the snapshot is taken as part of protocol upgrade
	ProtocolUpgradeBlock bool `protobuf:"varint,4,opt,name=protocol_upgrade_block,json=protocolUpgradeBlock,proto3" json:"protocol_upgrade_block,omitempty"`
	// contains filtered or unexported fields
}

CoreSnapshotData represents the core snapshot data.

func (*CoreSnapshotData) Descriptor deprecated added in v0.65.0

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

Deprecated: Use CoreSnapshotData.ProtoReflect.Descriptor instead.

func (*CoreSnapshotData) GetBlockHash added in v0.65.0

func (x *CoreSnapshotData) GetBlockHash() string

func (*CoreSnapshotData) GetBlockHeight added in v0.65.0

func (x *CoreSnapshotData) GetBlockHeight() uint64

func (*CoreSnapshotData) GetCoreVersion added in v0.65.0

func (x *CoreSnapshotData) GetCoreVersion() string

func (*CoreSnapshotData) GetProtocolUpgradeBlock added in v0.65.0

func (x *CoreSnapshotData) GetProtocolUpgradeBlock() bool

func (*CoreSnapshotData) ProtoMessage added in v0.65.0

func (*CoreSnapshotData) ProtoMessage()

func (*CoreSnapshotData) ProtoReflect added in v0.65.0

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

func (*CoreSnapshotData) Reset added in v0.65.0

func (x *CoreSnapshotData) Reset()

func (*CoreSnapshotData) String added in v0.65.0

func (x *CoreSnapshotData) 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

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

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

func (*DelegationBalanceEvent) Reset

func (x *DelegationBalanceEvent) Reset()

func (*DelegationBalanceEvent) String

func (x *DelegationBalanceEvent) String() string

type DistressedOrders added in v0.68.0

type DistressedOrders struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Slice of Party identifiers (public keys) for the event
	Parties []string `protobuf:"bytes,2,rep,name=parties,proto3" json:"parties,omitempty"`
	// contains filtered or unexported fields
}

A distressed order contains the party IDs for all parties that were distressed and had their orders closed, but did not need to be closed out after cancelling their orders

func (*DistressedOrders) Descriptor deprecated added in v0.68.0

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

Deprecated: Use DistressedOrders.ProtoReflect.Descriptor instead.

func (*DistressedOrders) GetMarketId added in v0.68.0

func (x *DistressedOrders) GetMarketId() string

func (*DistressedOrders) GetParties added in v0.68.0

func (x *DistressedOrders) GetParties() []string

func (*DistressedOrders) ProtoMessage added in v0.68.0

func (*DistressedOrders) ProtoMessage()

func (*DistressedOrders) ProtoReflect added in v0.68.0

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

func (*DistressedOrders) Reset added in v0.68.0

func (x *DistressedOrders) Reset()

func (*DistressedOrders) String added in v0.68.0

func (x *DistressedOrders) String() string

type ERC20MultiSigSignerAdded

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

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

Deprecated: Use ERC20MultiSigSignerAdded.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerAdded) GetEpochSeq

func (x *ERC20MultiSigSignerAdded) GetEpochSeq() string

func (*ERC20MultiSigSignerAdded) GetNewSigner

func (x *ERC20MultiSigSignerAdded) GetNewSigner() string

func (*ERC20MultiSigSignerAdded) GetNonce

func (x *ERC20MultiSigSignerAdded) GetNonce() string

func (*ERC20MultiSigSignerAdded) GetSignatureId

func (x *ERC20MultiSigSignerAdded) GetSignatureId() string

func (*ERC20MultiSigSignerAdded) GetSubmitter

func (x *ERC20MultiSigSignerAdded) GetSubmitter() string

func (*ERC20MultiSigSignerAdded) GetTimestamp

func (x *ERC20MultiSigSignerAdded) GetTimestamp() int64

func (*ERC20MultiSigSignerAdded) GetValidatorId

func (x *ERC20MultiSigSignerAdded) GetValidatorId() string

func (*ERC20MultiSigSignerAdded) ProtoMessage

func (*ERC20MultiSigSignerAdded) ProtoMessage()

func (*ERC20MultiSigSignerAdded) ProtoReflect

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

func (*ERC20MultiSigSignerAdded) Reset

func (x *ERC20MultiSigSignerAdded) Reset()

func (*ERC20MultiSigSignerAdded) String

func (x *ERC20MultiSigSignerAdded) String() string

type ERC20MultiSigSignerEvent

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

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

Deprecated: Use ERC20MultiSigSignerEvent.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerEvent) GetBlockNumber

func (x *ERC20MultiSigSignerEvent) GetBlockNumber() uint64

func (*ERC20MultiSigSignerEvent) GetBlockTime

func (x *ERC20MultiSigSignerEvent) GetBlockTime() int64

func (*ERC20MultiSigSignerEvent) GetId

func (x *ERC20MultiSigSignerEvent) GetId() string

func (*ERC20MultiSigSignerEvent) GetLogIndex

func (x *ERC20MultiSigSignerEvent) GetLogIndex() uint64

func (*ERC20MultiSigSignerEvent) GetNonce

func (x *ERC20MultiSigSignerEvent) GetNonce() string

func (*ERC20MultiSigSignerEvent) GetSigner

func (x *ERC20MultiSigSignerEvent) GetSigner() string

func (*ERC20MultiSigSignerEvent) GetTxHash

func (x *ERC20MultiSigSignerEvent) GetTxHash() string

func (*ERC20MultiSigSignerEvent) GetType

func (*ERC20MultiSigSignerEvent) ProtoMessage

func (*ERC20MultiSigSignerEvent) ProtoMessage()

func (*ERC20MultiSigSignerEvent) ProtoReflect

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

func (*ERC20MultiSigSignerEvent) Reset

func (x *ERC20MultiSigSignerEvent) Reset()

func (*ERC20MultiSigSignerEvent) String

func (x *ERC20MultiSigSignerEvent) String() string

type ERC20MultiSigSignerEvent_Type

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

func (ERC20MultiSigSignerEvent_Type) Enum

func (ERC20MultiSigSignerEvent_Type) EnumDescriptor deprecated

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

Deprecated: Use ERC20MultiSigSignerEvent_Type.Descriptor instead.

func (ERC20MultiSigSignerEvent_Type) Number

func (ERC20MultiSigSignerEvent_Type) String

func (ERC20MultiSigSignerEvent_Type) Type

type ERC20MultiSigSignerRemoved

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 []*ERC20MultiSigSignerRemovedSubmitter `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

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

Deprecated: Use ERC20MultiSigSignerRemoved.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerRemoved) GetEpochSeq

func (x *ERC20MultiSigSignerRemoved) GetEpochSeq() string

func (*ERC20MultiSigSignerRemoved) GetNonce

func (x *ERC20MultiSigSignerRemoved) GetNonce() string

func (*ERC20MultiSigSignerRemoved) GetOldSigner

func (x *ERC20MultiSigSignerRemoved) GetOldSigner() string

func (*ERC20MultiSigSignerRemoved) GetSignatureSubmitters

func (x *ERC20MultiSigSignerRemoved) GetSignatureSubmitters() []*ERC20MultiSigSignerRemovedSubmitter

func (*ERC20MultiSigSignerRemoved) GetTimestamp

func (x *ERC20MultiSigSignerRemoved) GetTimestamp() int64

func (*ERC20MultiSigSignerRemoved) GetValidatorId

func (x *ERC20MultiSigSignerRemoved) GetValidatorId() string

func (*ERC20MultiSigSignerRemoved) ProtoMessage

func (*ERC20MultiSigSignerRemoved) ProtoMessage()

func (*ERC20MultiSigSignerRemoved) ProtoReflect

func (*ERC20MultiSigSignerRemoved) Reset

func (x *ERC20MultiSigSignerRemoved) Reset()

func (*ERC20MultiSigSignerRemoved) String

func (x *ERC20MultiSigSignerRemoved) String() string

type ERC20MultiSigSignerRemovedSubmitter added in v0.55.0

type ERC20MultiSigSignerRemovedSubmitter 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 (*ERC20MultiSigSignerRemovedSubmitter) Descriptor deprecated added in v0.55.0

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

Deprecated: Use ERC20MultiSigSignerRemovedSubmitter.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigSignerRemovedSubmitter) GetSignatureId added in v0.55.0

func (x *ERC20MultiSigSignerRemovedSubmitter) GetSignatureId() string

func (*ERC20MultiSigSignerRemovedSubmitter) GetSubmitter added in v0.55.0

func (x *ERC20MultiSigSignerRemovedSubmitter) GetSubmitter() string

func (*ERC20MultiSigSignerRemovedSubmitter) ProtoMessage added in v0.55.0

func (*ERC20MultiSigSignerRemovedSubmitter) ProtoMessage()

func (*ERC20MultiSigSignerRemovedSubmitter) ProtoReflect added in v0.55.0

func (*ERC20MultiSigSignerRemovedSubmitter) Reset added in v0.55.0

func (*ERC20MultiSigSignerRemovedSubmitter) String added in v0.55.0

type ERC20MultiSigThresholdSetEvent

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

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

Deprecated: Use ERC20MultiSigThresholdSetEvent.ProtoReflect.Descriptor instead.

func (*ERC20MultiSigThresholdSetEvent) GetBlockNumber

func (x *ERC20MultiSigThresholdSetEvent) GetBlockNumber() uint64

func (*ERC20MultiSigThresholdSetEvent) GetBlockTime

func (x *ERC20MultiSigThresholdSetEvent) GetBlockTime() int64

func (*ERC20MultiSigThresholdSetEvent) GetId

func (*ERC20MultiSigThresholdSetEvent) GetLogIndex

func (x *ERC20MultiSigThresholdSetEvent) GetLogIndex() uint64

func (*ERC20MultiSigThresholdSetEvent) GetNewThreshold

func (x *ERC20MultiSigThresholdSetEvent) GetNewThreshold() uint32

func (*ERC20MultiSigThresholdSetEvent) GetNonce

func (x *ERC20MultiSigThresholdSetEvent) GetNonce() string

func (*ERC20MultiSigThresholdSetEvent) GetTxHash

func (x *ERC20MultiSigThresholdSetEvent) GetTxHash() string

func (*ERC20MultiSigThresholdSetEvent) ProtoMessage

func (*ERC20MultiSigThresholdSetEvent) ProtoMessage()

func (*ERC20MultiSigThresholdSetEvent) ProtoReflect

func (*ERC20MultiSigThresholdSetEvent) Reset

func (x *ERC20MultiSigThresholdSetEvent) Reset()

func (*ERC20MultiSigThresholdSetEvent) String

type EndBlock added in v0.56.0

type EndBlock struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

EndBlock

func (*EndBlock) Descriptor deprecated added in v0.56.0

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

Deprecated: Use EndBlock.ProtoReflect.Descriptor instead.

func (*EndBlock) GetHeight added in v0.56.0

func (x *EndBlock) GetHeight() uint64

func (*EndBlock) ProtoMessage added in v0.56.0

func (*EndBlock) ProtoMessage()

func (*EndBlock) ProtoReflect added in v0.56.0

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

func (*EndBlock) Reset added in v0.56.0

func (x *EndBlock) Reset()

func (*EndBlock) String added in v0.56.0

func (x *EndBlock) String() string

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

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

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

func (*EpochEvent) Reset

func (x *EpochEvent) Reset()

func (*EpochEvent) String

func (x *EpochEvent) String() string

type EthereumKeyRotation

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

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

Deprecated: Use EthereumKeyRotation.ProtoReflect.Descriptor instead.

func (*EthereumKeyRotation) GetBlockHeight

func (x *EthereumKeyRotation) GetBlockHeight() uint64

func (*EthereumKeyRotation) GetNewAddress

func (x *EthereumKeyRotation) GetNewAddress() string

func (*EthereumKeyRotation) GetNodeId

func (x *EthereumKeyRotation) GetNodeId() string

func (*EthereumKeyRotation) GetOldAddress

func (x *EthereumKeyRotation) GetOldAddress() string

func (*EthereumKeyRotation) ProtoMessage

func (*EthereumKeyRotation) ProtoMessage()

func (*EthereumKeyRotation) ProtoReflect

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

func (*EthereumKeyRotation) Reset

func (x *EthereumKeyRotation) Reset()

func (*EthereumKeyRotation) String

func (x *EthereumKeyRotation) String() string

type ExpiredOrders added in v0.68.0

type ExpiredOrders struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Slice of expired order identifiers
	OrderIds []string `protobuf:"bytes,2,rep,name=order_ids,json=orderIds,proto3" json:"order_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpiredOrders) Descriptor deprecated added in v0.68.0

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

Deprecated: Use ExpiredOrders.ProtoReflect.Descriptor instead.

func (*ExpiredOrders) GetMarketId added in v0.68.0

func (x *ExpiredOrders) GetMarketId() string

func (*ExpiredOrders) GetOrderIds added in v0.68.0

func (x *ExpiredOrders) GetOrderIds() []string

func (*ExpiredOrders) ProtoMessage added in v0.68.0

func (*ExpiredOrders) ProtoMessage()

func (*ExpiredOrders) ProtoReflect added in v0.68.0

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

func (*ExpiredOrders) Reset added in v0.68.0

func (x *ExpiredOrders) Reset()

func (*ExpiredOrders) String added in v0.68.0

func (x *ExpiredOrders) String() string

type KeyRotation

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

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

Deprecated: Use KeyRotation.ProtoReflect.Descriptor instead.

func (*KeyRotation) GetBlockHeight

func (x *KeyRotation) GetBlockHeight() uint64

func (*KeyRotation) GetNewPubKey

func (x *KeyRotation) GetNewPubKey() string

func (*KeyRotation) GetNodeId

func (x *KeyRotation) GetNodeId() string

func (*KeyRotation) GetOldPubKey

func (x *KeyRotation) GetOldPubKey() string

func (*KeyRotation) ProtoMessage

func (*KeyRotation) ProtoMessage()

func (*KeyRotation) ProtoReflect

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

func (*KeyRotation) Reset

func (x *KeyRotation) Reset()

func (*KeyRotation) String

func (x *KeyRotation) String() string

type LedgerMovements added in v0.56.0

type LedgerMovements struct {

	// One or more entries containing internal transfer information
	LedgerMovements []*vega.LedgerMovement `protobuf:"bytes,1,rep,name=ledger_movements,json=ledgerMovements,proto3" json:"ledger_movements,omitempty"`
	// contains filtered or unexported fields
}

A transfer responses event contains a collection of transfer information

func (*LedgerMovements) Descriptor deprecated added in v0.56.0

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

Deprecated: Use LedgerMovements.ProtoReflect.Descriptor instead.

func (*LedgerMovements) GetLedgerMovements added in v0.56.0

func (x *LedgerMovements) GetLedgerMovements() []*vega.LedgerMovement

func (*LedgerMovements) ProtoMessage added in v0.56.0

func (*LedgerMovements) ProtoMessage()

func (*LedgerMovements) ProtoReflect added in v0.56.0

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

func (*LedgerMovements) Reset added in v0.56.0

func (x *LedgerMovements) Reset()

func (*LedgerMovements) String added in v0.56.0

func (x *LedgerMovements) 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

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

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

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

func (*MarketTick) Reset

func (x *MarketTick) Reset()

func (*MarketTick) String

func (x *MarketTick) String() string

type OneOffTransfer

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

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

Deprecated: Use OneOffTransfer.ProtoReflect.Descriptor instead.

func (*OneOffTransfer) GetDeliverOn

func (x *OneOffTransfer) GetDeliverOn() int64

func (OneOffTransfer) IsTransferKind

func (OneOffTransfer) IsTransferKind()

func (*OneOffTransfer) ProtoMessage

func (*OneOffTransfer) ProtoMessage()

func (*OneOffTransfer) ProtoReflect

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

func (*OneOffTransfer) Reset

func (x *OneOffTransfer) Reset()

func (*OneOffTransfer) String

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

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

func (*PositionResolution) Reset

func (x *PositionResolution) Reset()

func (*PositionResolution) String

func (x *PositionResolution) String() string

type PositionStateEvent

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

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

Deprecated: Use PositionStateEvent.ProtoReflect.Descriptor instead.

func (*PositionStateEvent) GetMarketId

func (x *PositionStateEvent) GetMarketId() string

func (*PositionStateEvent) GetPartyId

func (x *PositionStateEvent) GetPartyId() string

func (*PositionStateEvent) GetPotentialBuys

func (x *PositionStateEvent) GetPotentialBuys() int64

func (*PositionStateEvent) GetPotentialSells

func (x *PositionStateEvent) GetPotentialSells() int64

func (*PositionStateEvent) GetSize

func (x *PositionStateEvent) GetSize() int64

func (*PositionStateEvent) GetVwBuyPrice

func (x *PositionStateEvent) GetVwBuyPrice() string

func (*PositionStateEvent) GetVwSellPrice

func (x *PositionStateEvent) GetVwSellPrice() string

func (*PositionStateEvent) ProtoMessage

func (*PositionStateEvent) ProtoMessage()

func (*PositionStateEvent) ProtoReflect

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

func (*PositionStateEvent) Reset

func (x *PositionStateEvent) Reset()

func (*PositionStateEvent) String

func (x *PositionStateEvent) String() string

type ProtocolUpgradeDataNodeReady added in v0.65.0

type ProtocolUpgradeDataNodeReady struct {
	LastBlockHeight uint64 `protobuf:"varint,1,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
	// contains filtered or unexported fields
}

The data node is ready fro protocol upgrade

func (*ProtocolUpgradeDataNodeReady) Descriptor deprecated added in v0.65.0

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

Deprecated: Use ProtocolUpgradeDataNodeReady.ProtoReflect.Descriptor instead.

func (*ProtocolUpgradeDataNodeReady) GetLastBlockHeight added in v0.65.0

func (x *ProtocolUpgradeDataNodeReady) GetLastBlockHeight() uint64

func (*ProtocolUpgradeDataNodeReady) ProtoMessage added in v0.65.0

func (*ProtocolUpgradeDataNodeReady) ProtoMessage()

func (*ProtocolUpgradeDataNodeReady) ProtoReflect added in v0.65.0

func (*ProtocolUpgradeDataNodeReady) Reset added in v0.65.0

func (x *ProtocolUpgradeDataNodeReady) Reset()

func (*ProtocolUpgradeDataNodeReady) String added in v0.65.0

type ProtocolUpgradeEvent

type ProtocolUpgradeEvent struct {

	// The block height at which to perform the upgrade
	UpgradeBlockHeight uint64 `protobuf:"varint,1,opt,name=upgrade_block_height,json=upgradeBlockHeight,proto3" json:"upgrade_block_height,omitempty"`
	// the release tag for the vega binary
	VegaReleaseTag string `protobuf:"bytes,2,opt,name=vega_release_tag,json=vegaReleaseTag,proto3" json:"vega_release_tag,omitempty"`
	// tendermint validators that have agreed to the upgrade
	Approvers []string `protobuf:"bytes,3,rep,name=approvers,proto3" json:"approvers,omitempty"`
	// the status of the proposal
	Status ProtocolUpgradeProposalStatus `protobuf:"varint,4,opt,name=status,proto3,enum=vega.events.v1.ProtocolUpgradeProposalStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolUpgradeEvent) Descriptor deprecated

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

Deprecated: Use ProtocolUpgradeEvent.ProtoReflect.Descriptor instead.

func (*ProtocolUpgradeEvent) GetApprovers

func (x *ProtocolUpgradeEvent) GetApprovers() []string

func (*ProtocolUpgradeEvent) GetStatus

func (*ProtocolUpgradeEvent) GetUpgradeBlockHeight

func (x *ProtocolUpgradeEvent) GetUpgradeBlockHeight() uint64

func (*ProtocolUpgradeEvent) GetVegaReleaseTag

func (x *ProtocolUpgradeEvent) GetVegaReleaseTag() string

func (*ProtocolUpgradeEvent) ProtoMessage

func (*ProtocolUpgradeEvent) ProtoMessage()

func (*ProtocolUpgradeEvent) ProtoReflect

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

func (*ProtocolUpgradeEvent) Reset

func (x *ProtocolUpgradeEvent) Reset()

func (*ProtocolUpgradeEvent) String

func (x *ProtocolUpgradeEvent) String() string

type ProtocolUpgradeProposalStatus

type ProtocolUpgradeProposalStatus int32
const (
	ProtocolUpgradeProposalStatus_PROTOCOL_UPGRADE_PROPOSAL_STATUS_UNSPECIFIED ProtocolUpgradeProposalStatus = 0
	// The proposal is pending
	ProtocolUpgradeProposalStatus_PROTOCOL_UPGRADE_PROPOSAL_STATUS_PENDING ProtocolUpgradeProposalStatus = 1
	// The proposal is approved
	ProtocolUpgradeProposalStatus_PROTOCOL_UPGRADE_PROPOSAL_STATUS_APPROVED ProtocolUpgradeProposalStatus = 2
	// The proposal is rejected
	ProtocolUpgradeProposalStatus_PROTOCOL_UPGRADE_PROPOSAL_STATUS_REJECTED ProtocolUpgradeProposalStatus = 3
)

func (ProtocolUpgradeProposalStatus) Descriptor

func (ProtocolUpgradeProposalStatus) Enum

func (ProtocolUpgradeProposalStatus) EnumDescriptor deprecated

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

Deprecated: Use ProtocolUpgradeProposalStatus.Descriptor instead.

func (ProtocolUpgradeProposalStatus) Number

func (ProtocolUpgradeProposalStatus) String

func (ProtocolUpgradeProposalStatus) Type

type ProtocolUpgradeStarted added in v0.56.0

type ProtocolUpgradeStarted struct {
	LastBlockHeight uint64 `protobuf:"varint,1,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
	// contains filtered or unexported fields
}

The core is starting a protocol upgrade

func (*ProtocolUpgradeStarted) Descriptor deprecated added in v0.56.0

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

Deprecated: Use ProtocolUpgradeStarted.ProtoReflect.Descriptor instead.

func (*ProtocolUpgradeStarted) GetLastBlockHeight added in v0.56.0

func (x *ProtocolUpgradeStarted) GetLastBlockHeight() uint64

func (*ProtocolUpgradeStarted) ProtoMessage added in v0.56.0

func (*ProtocolUpgradeStarted) ProtoMessage()

func (*ProtocolUpgradeStarted) ProtoReflect added in v0.56.0

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

func (*ProtocolUpgradeStarted) Reset added in v0.56.0

func (x *ProtocolUpgradeStarted) Reset()

func (*ProtocolUpgradeStarted) String added in v0.56.0

func (x *ProtocolUpgradeStarted) String() string

type RecurringTransfer

type RecurringTransfer struct {
	StartEpoch       uint64                 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"`
	EndEpoch         *uint64                `protobuf:"varint,2,opt,name=end_epoch,json=endEpoch,proto3,oneof" 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

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

Deprecated: Use RecurringTransfer.ProtoReflect.Descriptor instead.

func (*RecurringTransfer) GetDispatchStrategy

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

func (*RecurringTransfer) GetEndEpoch

func (x *RecurringTransfer) GetEndEpoch() uint64

func (*RecurringTransfer) GetFactor

func (x *RecurringTransfer) GetFactor() string

func (*RecurringTransfer) GetStartEpoch

func (x *RecurringTransfer) GetStartEpoch() uint64

func (RecurringTransfer) IsTransferKind

func (RecurringTransfer) IsTransferKind()

func (*RecurringTransfer) ProtoMessage

func (*RecurringTransfer) ProtoMessage()

func (*RecurringTransfer) ProtoReflect

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

func (*RecurringTransfer) Reset

func (x *RecurringTransfer) Reset()

func (*RecurringTransfer) String

func (x *RecurringTransfer) String() string

type RewardPayoutEvent

type RewardPayoutEvent struct {
	Party                string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	EpochSeq             string `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	Asset                string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount               string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	PercentOfTotalReward string `protobuf:"bytes,5,opt,name=percent_of_total_reward,json=percentOfTotalReward,proto3" json:"percent_of_total_reward,omitempty"`
	Timestamp            int64  `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	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

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

Deprecated: Use RewardPayoutEvent.ProtoReflect.Descriptor instead.

func (*RewardPayoutEvent) GetAmount

func (x *RewardPayoutEvent) GetAmount() string

func (*RewardPayoutEvent) GetAsset

func (x *RewardPayoutEvent) GetAsset() string

func (*RewardPayoutEvent) GetEpochSeq

func (x *RewardPayoutEvent) GetEpochSeq() string

func (*RewardPayoutEvent) GetMarket

func (x *RewardPayoutEvent) GetMarket() string

func (*RewardPayoutEvent) GetParty

func (x *RewardPayoutEvent) GetParty() string

func (*RewardPayoutEvent) GetPercentOfTotalReward

func (x *RewardPayoutEvent) GetPercentOfTotalReward() string

func (*RewardPayoutEvent) GetRewardType

func (x *RewardPayoutEvent) GetRewardType() string

func (*RewardPayoutEvent) GetTimestamp

func (x *RewardPayoutEvent) GetTimestamp() int64

func (*RewardPayoutEvent) ProtoMessage

func (*RewardPayoutEvent) ProtoMessage()

func (*RewardPayoutEvent) ProtoReflect

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

func (*RewardPayoutEvent) Reset

func (x *RewardPayoutEvent) Reset()

func (*RewardPayoutEvent) String

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

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

func (*SettleDistressed) Reset

func (x *SettleDistressed) Reset()

func (*SettleDistressed) String

func (x *SettleDistressed) String() string

type SettleMarket added in v0.56.0

type SettleMarket struct {

	// Market identifier for the event
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Price of settlement as a string
	Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	// Position factor - 10 ^ number of position decimal places
	PositionFactor string `protobuf:"bytes,3,opt,name=position_factor,json=positionFactor,proto3" json:"position_factor,omitempty"`
	// contains filtered or unexported fields
}

A settle market event to notify data node that a market has been settled so positions and PL can be updated accordingly

func (*SettleMarket) Descriptor deprecated added in v0.56.0

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

Deprecated: Use SettleMarket.ProtoReflect.Descriptor instead.

func (*SettleMarket) GetMarketId added in v0.56.0

func (x *SettleMarket) GetMarketId() string

func (*SettleMarket) GetPositionFactor added in v0.56.0

func (x *SettleMarket) GetPositionFactor() string

func (*SettleMarket) GetPrice added in v0.56.0

func (x *SettleMarket) GetPrice() string

func (*SettleMarket) ProtoMessage added in v0.56.0

func (*SettleMarket) ProtoMessage()

func (*SettleMarket) ProtoReflect added in v0.56.0

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

func (*SettleMarket) Reset added in v0.56.0

func (x *SettleMarket) Reset()

func (*SettleMarket) String added in v0.56.0

func (x *SettleMarket) 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

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

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

func (*SettlePosition) Reset

func (x *SettlePosition) Reset()

func (*SettlePosition) String

func (x *SettlePosition) String() string

type StakeLinking

type StakeLinking struct {

	// The internal ID for this staking event
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of event
	Type StakeLinking_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.events.v1.StakeLinking_Type" json:"type,omitempty"`
	// The timestamps at which the event was emitted by ethereum
	Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	// The party to whom the event is directed at.
	Party string `protobuf:"bytes,4,opt,name=party,proto3" json:"party,omitempty"`
	// The amount of stake deposited or removed
	Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// The status of the event
	Status StakeLinking_Status `protobuf:"varint,6,opt,name=status,proto3,enum=vega.events.v1.StakeLinking_Status" json:"status,omitempty"`
	// The time at which the vega network finalized the state of the event
	FinalizedAt int64 `protobuf:"varint,7,opt,name=finalized_at,json=finalizedAt,proto3" json:"finalized_at,omitempty"`
	// The hash of the transaction from which the events happen
	TxHash string `protobuf:"bytes,8,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// 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 initiated
	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

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

Deprecated: Use StakeLinking.ProtoReflect.Descriptor instead.

func (*StakeLinking) GetAmount

func (x *StakeLinking) GetAmount() string

func (*StakeLinking) GetBlockHeight

func (x *StakeLinking) GetBlockHeight() uint64

func (*StakeLinking) GetBlockTime

func (x *StakeLinking) GetBlockTime() int64

func (*StakeLinking) GetEthereumAddress

func (x *StakeLinking) GetEthereumAddress() string

func (*StakeLinking) GetFinalizedAt

func (x *StakeLinking) GetFinalizedAt() int64

func (*StakeLinking) GetId

func (x *StakeLinking) GetId() string

func (*StakeLinking) GetLogIndex

func (x *StakeLinking) GetLogIndex() uint64

func (*StakeLinking) GetParty

func (x *StakeLinking) GetParty() string

func (*StakeLinking) GetStatus

func (x *StakeLinking) GetStatus() StakeLinking_Status

func (*StakeLinking) GetTs

func (x *StakeLinking) GetTs() int64

func (*StakeLinking) GetTxHash

func (x *StakeLinking) GetTxHash() string

func (*StakeLinking) GetType

func (x *StakeLinking) GetType() StakeLinking_Type

func (*StakeLinking) ProtoMessage

func (*StakeLinking) ProtoMessage()

func (*StakeLinking) ProtoReflect

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

func (*StakeLinking) Reset

func (x *StakeLinking) Reset()

func (*StakeLinking) String

func (x *StakeLinking) String() string

type StakeLinking_Status

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

func (StakeLinking_Status) Descriptor

func (StakeLinking_Status) Enum

func (StakeLinking_Status) EnumDescriptor deprecated

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

Deprecated: Use StakeLinking_Status.Descriptor instead.

func (StakeLinking_Status) Number

func (StakeLinking_Status) String

func (x StakeLinking_Status) String() string

func (StakeLinking_Status) Type

type StakeLinking_Type

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

func (StakeLinking_Type) Descriptor

func (StakeLinking_Type) Enum

func (StakeLinking_Type) EnumDescriptor deprecated

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

Deprecated: Use StakeLinking_Type.Descriptor instead.

func (StakeLinking_Type) Number

func (StakeLinking_Type) String

func (x StakeLinking_Type) String() string

func (StakeLinking_Type) Type

type StateVar

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

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

Deprecated: Use StateVar.ProtoReflect.Descriptor instead.

func (*StateVar) GetEventId

func (x *StateVar) GetEventId() string

func (*StateVar) GetId

func (x *StateVar) GetId() string

func (*StateVar) GetState

func (x *StateVar) GetState() string

func (*StateVar) ProtoMessage

func (*StateVar) ProtoMessage()

func (*StateVar) ProtoReflect

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

func (*StateVar) Reset

func (x *StateVar) Reset()

func (*StateVar) String

func (x *StateVar) String() string

type StreamStartEvent

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

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

Deprecated: Use StreamStartEvent.ProtoReflect.Descriptor instead.

func (*StreamStartEvent) GetChainId

func (x *StreamStartEvent) GetChainId() string

func (*StreamStartEvent) ProtoMessage

func (*StreamStartEvent) ProtoMessage()

func (*StreamStartEvent) ProtoReflect

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

func (*StreamStartEvent) Reset

func (x *StreamStartEvent) Reset()

func (*StreamStartEvent) String

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

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 (in asset decimals)
	Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	// Price of settlement as a string (in market decimals)
	MarketPrice string `protobuf:"bytes,3,opt,name=market_price,json=marketPrice,proto3" json:"market_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) GetMarketPrice added in v0.55.0

func (x *TradeSettlement) GetMarketPrice() string

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

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

func (*TradeSettlement) Reset

func (x *TradeSettlement) Reset()

func (*TradeSettlement) String

func (x *TradeSettlement) String() string

type TransactionResult added in v0.58.0

type TransactionResult struct {

	// Unique party identifier for the related party
	PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// The status of the transaction, did it succeed or an error was raised.
	Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// The hash of the transaction
	Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // The transaction itself as received by the network
	// Types that are assignable to Transaction:
	//
	//	*TransactionResult_OrderSubmission
	//	*TransactionResult_OrderAmendment
	//	*TransactionResult_OrderCancellation
	//	*TransactionResult_Proposal
	//	*TransactionResult_VoteSubmission
	//	*TransactionResult_LiquidityProvisionSubmission
	//	*TransactionResult_WithdrawSubmission
	//	*TransactionResult_DelegateSubmission
	//	*TransactionResult_UndelegateSubmission
	//	*TransactionResult_LiquidityProvisionCancellation
	//	*TransactionResult_LiquidityProvisionAmendment
	//	*TransactionResult_Transfer
	//	*TransactionResult_CancelTransfer
	//	*TransactionResult_AnnounceNode
	//	*TransactionResult_OracleDataSubmission
	//	*TransactionResult_ProtocolUpgradeProposal
	//	*TransactionResult_IssueSignatures
	//	*TransactionResult_BatchMarketInstructions
	//	*TransactionResult_KeyRotateSubmission
	//	*TransactionResult_EthereumKeyRotateSubmission
	Transaction isTransactionResult_Transaction `protobuf_oneof:"transaction"`
	// extra details about the transaction processing
	//
	// Types that are assignable to Extra:
	//
	//	*TransactionResult_Success
	//	*TransactionResult_Failure
	Extra isTransactionResult_Extra `protobuf_oneof:"extra"`
	// contains filtered or unexported fields
}

func (*TransactionResult) Descriptor deprecated added in v0.58.0

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

Deprecated: Use TransactionResult.ProtoReflect.Descriptor instead.

func (*TransactionResult) GetAnnounceNode added in v0.58.0

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

func (*TransactionResult) GetBatchMarketInstructions added in v0.58.0

func (x *TransactionResult) GetBatchMarketInstructions() *v1.BatchMarketInstructions

func (*TransactionResult) GetCancelTransfer added in v0.58.0

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

func (*TransactionResult) GetDelegateSubmission added in v0.58.0

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

func (*TransactionResult) GetEthereumKeyRotateSubmission added in v0.58.0

func (x *TransactionResult) GetEthereumKeyRotateSubmission() *v1.EthereumKeyRotateSubmission

func (*TransactionResult) GetExtra added in v0.58.0

func (m *TransactionResult) GetExtra() isTransactionResult_Extra

func (*TransactionResult) GetFailure added in v0.58.0

func (*TransactionResult) GetHash added in v0.58.0

func (x *TransactionResult) GetHash() string

func (*TransactionResult) GetIssueSignatures added in v0.58.0

func (x *TransactionResult) GetIssueSignatures() *v1.IssueSignatures

func (*TransactionResult) GetKeyRotateSubmission added in v0.58.0

func (x *TransactionResult) GetKeyRotateSubmission() *v1.KeyRotateSubmission

func (*TransactionResult) GetLiquidityProvisionAmendment added in v0.58.0

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

func (*TransactionResult) GetLiquidityProvisionCancellation added in v0.58.0

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

func (*TransactionResult) GetLiquidityProvisionSubmission added in v0.58.0

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

func (*TransactionResult) GetOracleDataSubmission added in v0.58.0

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

func (*TransactionResult) GetOrderAmendment added in v0.58.0

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

func (*TransactionResult) GetOrderCancellation added in v0.58.0

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

func (*TransactionResult) GetOrderSubmission added in v0.58.0

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

func (*TransactionResult) GetPartyId added in v0.58.0

func (x *TransactionResult) GetPartyId() string

func (*TransactionResult) GetProposal added in v0.58.0

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

func (*TransactionResult) GetProtocolUpgradeProposal added in v0.58.0

func (x *TransactionResult) GetProtocolUpgradeProposal() *v1.ProtocolUpgradeProposal

func (*TransactionResult) GetStatus added in v0.58.0

func (x *TransactionResult) GetStatus() bool

func (*TransactionResult) GetSuccess added in v0.58.0

func (*TransactionResult) GetTransaction added in v0.58.0

func (m *TransactionResult) GetTransaction() isTransactionResult_Transaction

func (*TransactionResult) GetTransfer added in v0.58.0

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

func (*TransactionResult) GetUndelegateSubmission added in v0.58.0

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

func (*TransactionResult) GetVoteSubmission added in v0.58.0

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

func (*TransactionResult) GetWithdrawSubmission added in v0.58.0

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

func (TransactionResult) IsEvent added in v0.58.0

func (TransactionResult) IsEvent()

func (*TransactionResult) ProtoMessage added in v0.58.0

func (*TransactionResult) ProtoMessage()

func (*TransactionResult) ProtoReflect added in v0.58.0

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

func (*TransactionResult) Reset added in v0.58.0

func (x *TransactionResult) Reset()

func (*TransactionResult) String added in v0.58.0

func (x *TransactionResult) String() string

type TransactionResult_AnnounceNode added in v0.58.0

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

type TransactionResult_BatchMarketInstructions added in v0.58.0

type TransactionResult_BatchMarketInstructions struct {
	BatchMarketInstructions *v1.BatchMarketInstructions `protobuf:"bytes,119,opt,name=batch_market_instructions,json=batchMarketInstructions,proto3,oneof"`
}

type TransactionResult_CancelTransfer added in v0.58.0

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

type TransactionResult_DelegateSubmission added in v0.58.0

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

type TransactionResult_EthereumKeyRotateSubmission added in v0.58.0

type TransactionResult_EthereumKeyRotateSubmission struct {
	EthereumKeyRotateSubmission *v1.EthereumKeyRotateSubmission `protobuf:"bytes,121,opt,name=ethereum_key_rotate_submission,json=ethereumKeyRotateSubmission,proto3,oneof"`
}

type TransactionResult_Failure added in v0.58.0

type TransactionResult_Failure struct {
	Failure *TransactionResult_FailureDetails `protobuf:"bytes,1002,opt,name=failure,proto3,oneof"`
}

type TransactionResult_FailureDetails added in v0.58.0

type TransactionResult_FailureDetails struct {

	// An error message explaining the reason for the transaction failing processing
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionResult_FailureDetails) Descriptor deprecated added in v0.58.0

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

Deprecated: Use TransactionResult_FailureDetails.ProtoReflect.Descriptor instead.

func (*TransactionResult_FailureDetails) GetError added in v0.58.0

func (*TransactionResult_FailureDetails) ProtoMessage added in v0.58.0

func (*TransactionResult_FailureDetails) ProtoMessage()

func (*TransactionResult_FailureDetails) ProtoReflect added in v0.58.0

func (*TransactionResult_FailureDetails) Reset added in v0.58.0

func (*TransactionResult_FailureDetails) String added in v0.58.0

type TransactionResult_IssueSignatures added in v0.58.0

type TransactionResult_IssueSignatures struct {
	IssueSignatures *v1.IssueSignatures `protobuf:"bytes,118,opt,name=issue_signatures,json=issueSignatures,proto3,oneof"`
}

type TransactionResult_KeyRotateSubmission added in v0.58.0

type TransactionResult_KeyRotateSubmission struct {
	KeyRotateSubmission *v1.KeyRotateSubmission `protobuf:"bytes,120,opt,name=key_rotate_submission,json=keyRotateSubmission,proto3,oneof"`
}

type TransactionResult_LiquidityProvisionAmendment added in v0.58.0

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

type TransactionResult_LiquidityProvisionCancellation added in v0.58.0

type TransactionResult_LiquidityProvisionCancellation struct {
	LiquidityProvisionCancellation *v1.LiquidityProvisionCancellation `protobuf:"bytes,111,opt,name=liquidity_provision_cancellation,json=liquidityProvisionCancellation,proto3,oneof"`
}

type TransactionResult_LiquidityProvisionSubmission added in v0.58.0

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

type TransactionResult_OracleDataSubmission added in v0.58.0

type TransactionResult_OracleDataSubmission struct {
	OracleDataSubmission *v1.OracleDataSubmission `protobuf:"bytes,116,opt,name=oracle_data_submission,json=oracleDataSubmission,proto3,oneof"`
}

type TransactionResult_OrderAmendment added in v0.58.0

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

type TransactionResult_OrderCancellation added in v0.58.0

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

type TransactionResult_OrderSubmission added in v0.58.0

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

type TransactionResult_Proposal added in v0.58.0

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

type TransactionResult_ProtocolUpgradeProposal added in v0.58.0

type TransactionResult_ProtocolUpgradeProposal struct {
	ProtocolUpgradeProposal *v1.ProtocolUpgradeProposal `protobuf:"bytes,117,opt,name=protocol_upgrade_proposal,json=protocolUpgradeProposal,proto3,oneof"`
}

type TransactionResult_Success added in v0.58.0

type TransactionResult_Success struct {
	Success *TransactionResult_SuccessDetails `protobuf:"bytes,1001,opt,name=success,proto3,oneof"`
}

type TransactionResult_SuccessDetails added in v0.58.0

type TransactionResult_SuccessDetails struct {
	// contains filtered or unexported fields
}

func (*TransactionResult_SuccessDetails) Descriptor deprecated added in v0.58.0

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

Deprecated: Use TransactionResult_SuccessDetails.ProtoReflect.Descriptor instead.

func (*TransactionResult_SuccessDetails) ProtoMessage added in v0.58.0

func (*TransactionResult_SuccessDetails) ProtoMessage()

func (*TransactionResult_SuccessDetails) ProtoReflect added in v0.58.0

func (*TransactionResult_SuccessDetails) Reset added in v0.58.0

func (*TransactionResult_SuccessDetails) String added in v0.58.0

type TransactionResult_Transfer added in v0.58.0

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

type TransactionResult_UndelegateSubmission added in v0.58.0

type TransactionResult_UndelegateSubmission struct {
	UndelegateSubmission *v1.UndelegateSubmission `protobuf:"bytes,109,opt,name=undelegate_submission,json=undelegateSubmission,proto3,oneof"`
}

type TransactionResult_VoteSubmission added in v0.58.0

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

type TransactionResult_WithdrawSubmission added in v0.58.0

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

type Transfer

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"`
	Reason          *string          `protobuf:"bytes,11,opt,name=reason,proto3,oneof" json:"reason,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

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAmount

func (x *Transfer) GetAmount() string

func (*Transfer) GetAsset

func (x *Transfer) GetAsset() string

func (*Transfer) GetFrom

func (x *Transfer) GetFrom() string

func (*Transfer) GetFromAccountType

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

func (*Transfer) GetId

func (x *Transfer) GetId() string

func (*Transfer) GetKind

func (m *Transfer) GetKind() isTransfer_Kind

func (*Transfer) GetOneOff

func (x *Transfer) GetOneOff() *OneOffTransfer

func (*Transfer) GetReason added in v0.59.0

func (x *Transfer) GetReason() string

func (*Transfer) GetRecurring

func (x *Transfer) GetRecurring() *RecurringTransfer

func (*Transfer) GetReference

func (x *Transfer) GetReference() string

func (*Transfer) GetStatus

func (x *Transfer) GetStatus() Transfer_Status

func (*Transfer) GetTimestamp

func (x *Transfer) GetTimestamp() int64

func (*Transfer) GetTo

func (x *Transfer) GetTo() string

func (*Transfer) GetToAccountType

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

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type Transfer_OneOff

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

type Transfer_Recurring

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

type Transfer_Status

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

func (Transfer_Status) Descriptor

func (Transfer_Status) Enum

func (x Transfer_Status) Enum() *Transfer_Status

func (Transfer_Status) EnumDescriptor deprecated

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

Deprecated: Use Transfer_Status.Descriptor instead.

func (Transfer_Status) Number

func (Transfer_Status) String

func (x Transfer_Status) String() string

func (Transfer_Status) Type

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
	//	*TxErrorEvent_ProtocolUpgradeProposal
	//	*TxErrorEvent_IssueSignatures
	//	*TxErrorEvent_BatchMarketInstructions
	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

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

func (*TxErrorEvent) GetBatchMarketInstructions added in v0.55.0

func (x *TxErrorEvent) GetBatchMarketInstructions() *v1.BatchMarketInstructions

func (*TxErrorEvent) GetCancelTransfer

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

func (*TxErrorEvent) GetDelegateSubmission

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

func (*TxErrorEvent) GetErrMsg

func (x *TxErrorEvent) GetErrMsg() string

func (*TxErrorEvent) GetIssueSignatures added in v0.55.0

func (x *TxErrorEvent) GetIssueSignatures() *v1.IssueSignatures

func (*TxErrorEvent) GetLiquidityProvisionAmendment

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

func (*TxErrorEvent) GetLiquidityProvisionCancellation

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

func (*TxErrorEvent) GetLiquidityProvisionSubmission

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

func (*TxErrorEvent) GetOracleDataSubmission

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) GetProtocolUpgradeProposal

func (x *TxErrorEvent) GetProtocolUpgradeProposal() *v1.ProtocolUpgradeProposal

func (*TxErrorEvent) GetTransaction

func (m *TxErrorEvent) GetTransaction() isTxErrorEvent_Transaction

func (*TxErrorEvent) GetTransfer

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

func (*TxErrorEvent) GetUndelegateSubmission

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

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

func (*TxErrorEvent) Reset

func (x *TxErrorEvent) Reset()

func (*TxErrorEvent) String

func (x *TxErrorEvent) String() string

type TxErrorEvent_AnnounceNode

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

type TxErrorEvent_BatchMarketInstructions added in v0.55.0

type TxErrorEvent_BatchMarketInstructions struct {
	BatchMarketInstructions *v1.BatchMarketInstructions `protobuf:"bytes,119,opt,name=batch_market_instructions,json=batchMarketInstructions,proto3,oneof"`
}

type TxErrorEvent_CancelTransfer

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

type TxErrorEvent_DelegateSubmission

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

type TxErrorEvent_IssueSignatures added in v0.55.0

type TxErrorEvent_IssueSignatures struct {
	IssueSignatures *v1.IssueSignatures `protobuf:"bytes,118,opt,name=issue_signatures,json=issueSignatures,proto3,oneof"`
}

type TxErrorEvent_LiquidityProvisionAmendment

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

type TxErrorEvent_LiquidityProvisionCancellation

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

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_ProtocolUpgradeProposal

type TxErrorEvent_ProtocolUpgradeProposal struct {
	ProtocolUpgradeProposal *v1.ProtocolUpgradeProposal `protobuf:"bytes,117,opt,name=protocol_upgrade_proposal,json=protocolUpgradeProposal,proto3,oneof"`
}

type TxErrorEvent_Transfer

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

type TxErrorEvent_UndelegateSubmission

type TxErrorEvent_UndelegateSubmission struct {
	UndelegateSubmission *v1.UndelegateSubmission `protobuf:"bytes,109,opt,name=undelegate_submission,json=undelegateSubmission,proto3,oneof"`
}

type TxErrorEvent_VoteSubmission

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

type TxErrorEvent_WithdrawSubmission

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

type ValidatorRankingEvent

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

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

Deprecated: Use ValidatorRankingEvent.ProtoReflect.Descriptor instead.

func (*ValidatorRankingEvent) GetEpochSeq

func (x *ValidatorRankingEvent) GetEpochSeq() string

func (*ValidatorRankingEvent) GetNextStatus

func (x *ValidatorRankingEvent) GetNextStatus() string

func (*ValidatorRankingEvent) GetNodeId

func (x *ValidatorRankingEvent) GetNodeId() string

func (*ValidatorRankingEvent) GetPerformanceScore

func (x *ValidatorRankingEvent) GetPerformanceScore() string

func (*ValidatorRankingEvent) GetPreviousStatus

func (x *ValidatorRankingEvent) GetPreviousStatus() string

func (*ValidatorRankingEvent) GetRankingScore

func (x *ValidatorRankingEvent) GetRankingScore() string

func (*ValidatorRankingEvent) GetStakeScore

func (x *ValidatorRankingEvent) GetStakeScore() string

func (*ValidatorRankingEvent) GetTmVotingPower

func (x *ValidatorRankingEvent) GetTmVotingPower() uint32

func (*ValidatorRankingEvent) ProtoMessage

func (*ValidatorRankingEvent) ProtoMessage()

func (*ValidatorRankingEvent) ProtoReflect

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

func (*ValidatorRankingEvent) Reset

func (x *ValidatorRankingEvent) Reset()

func (*ValidatorRankingEvent) String

func (x *ValidatorRankingEvent) String() string

type ValidatorScoreEvent

type ValidatorScoreEvent struct {
	NodeId               string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	EpochSeq             string `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	ValidatorScore       string `protobuf:"bytes,3,opt,name=validator_score,json=validatorScore,proto3" json:"validator_score,omitempty"`
	NormalisedScore      string `protobuf:"bytes,4,opt,name=normalised_score,json=normalisedScore,proto3" json:"normalised_score,omitempty"`
	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

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

Deprecated: Use ValidatorScoreEvent.ProtoReflect.Descriptor instead.

func (*ValidatorScoreEvent) GetEpochSeq

func (x *ValidatorScoreEvent) GetEpochSeq() string

func (*ValidatorScoreEvent) GetMultisigScore

func (x *ValidatorScoreEvent) GetMultisigScore() string

func (*ValidatorScoreEvent) GetNodeId

func (x *ValidatorScoreEvent) GetNodeId() string

func (*ValidatorScoreEvent) GetNormalisedScore

func (x *ValidatorScoreEvent) GetNormalisedScore() string

func (*ValidatorScoreEvent) GetRawValidatorScore

func (x *ValidatorScoreEvent) GetRawValidatorScore() string

func (*ValidatorScoreEvent) GetValidatorPerformance

func (x *ValidatorScoreEvent) GetValidatorPerformance() string

func (*ValidatorScoreEvent) GetValidatorScore

func (x *ValidatorScoreEvent) GetValidatorScore() string

func (*ValidatorScoreEvent) GetValidatorStatus

func (x *ValidatorScoreEvent) GetValidatorStatus() string

func (*ValidatorScoreEvent) ProtoMessage

func (*ValidatorScoreEvent) ProtoMessage()

func (*ValidatorScoreEvent) ProtoReflect

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

func (*ValidatorScoreEvent) Reset

func (x *ValidatorScoreEvent) Reset()

func (*ValidatorScoreEvent) String

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 in which the announced pending node will start participating in the network
	FromEpoch uint64 `protobuf:"varint,11,opt,name=from_epoch,json=fromEpoch,proto3" json:"from_epoch,omitempty"`
	// Ethereum public key being used as the submitter to allow automatic signature generation
	SubmitterAddress string `protobuf:"bytes,12,opt,name=submitter_address,json=submitterAddress,proto3" json:"submitter_address,omitempty"`
	// The epoch in which the node was announced or removed from the network
	EpochSeq uint64 `protobuf:"varint,13,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,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

func (x *ValidatorUpdate) GetAdded() bool

func (*ValidatorUpdate) GetAvatarUrl

func (x *ValidatorUpdate) GetAvatarUrl() string

func (*ValidatorUpdate) GetCountry

func (x *ValidatorUpdate) GetCountry() string

func (*ValidatorUpdate) GetEpochSeq added in v0.62.0

func (x *ValidatorUpdate) GetEpochSeq() uint64

func (*ValidatorUpdate) GetEthereumAddress

func (x *ValidatorUpdate) GetEthereumAddress() string

func (*ValidatorUpdate) GetFromEpoch

func (x *ValidatorUpdate) GetFromEpoch() uint64

func (*ValidatorUpdate) GetInfoUrl

func (x *ValidatorUpdate) GetInfoUrl() string

func (*ValidatorUpdate) GetName

func (x *ValidatorUpdate) GetName() string

func (*ValidatorUpdate) GetNodeId

func (x *ValidatorUpdate) GetNodeId() string

func (*ValidatorUpdate) GetSubmitterAddress added in v0.55.0

func (x *ValidatorUpdate) GetSubmitterAddress() string

func (*ValidatorUpdate) GetTmPubKey

func (x *ValidatorUpdate) GetTmPubKey() string

func (*ValidatorUpdate) GetVegaPubKey

func (x *ValidatorUpdate) GetVegaPubKey() string

func (*ValidatorUpdate) GetVegaPubKeyIndex

func (x *ValidatorUpdate) GetVegaPubKeyIndex() uint32

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) ProtoReflect

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