Documentation ¶
Index ¶
- Constants
- Variables
- type AuctionEvent
- func (*AuctionEvent) Descriptor() ([]byte, []int)
- func (m *AuctionEvent) GetEnd() int64
- func (m *AuctionEvent) GetExtensionTrigger() vega.AuctionTrigger
- func (m *AuctionEvent) GetLeave() bool
- func (m *AuctionEvent) GetMarketId() string
- func (m *AuctionEvent) GetOpeningAuction() bool
- func (m *AuctionEvent) GetStart() int64
- func (m *AuctionEvent) GetTrigger() vega.AuctionTrigger
- func (AuctionEvent) IsEvent()
- func (*AuctionEvent) ProtoMessage()
- func (m *AuctionEvent) Reset()
- func (m *AuctionEvent) String() string
- func (this *AuctionEvent) Validate() error
- func (m *AuctionEvent) XXX_DiscardUnknown()
- func (m *AuctionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionEvent) XXX_Merge(src proto.Message)
- func (m *AuctionEvent) XXX_Size() int
- func (m *AuctionEvent) XXX_Unmarshal(b []byte) error
- type BusEvent
- func (*BusEvent) Descriptor() ([]byte, []int)
- func (m *BusEvent) GetAccount() *vega.Account
- func (m *BusEvent) GetAsset() *vega.Asset
- func (m *BusEvent) GetAuction() *AuctionEvent
- func (m *BusEvent) GetBlock() string
- func (m *BusEvent) GetCheckpoint() *CheckpointEvent
- func (m *BusEvent) GetDelegationBalance() *DelegationBalanceEvent
- func (m *BusEvent) GetDeposit() *vega.Deposit
- func (m *BusEvent) GetEpochEvent() *EpochEvent
- func (m *BusEvent) GetEvent() isBusEvent_Event
- func (m *BusEvent) GetId() string
- func (m *BusEvent) GetLiquidityProvision() *vega.LiquidityProvision
- func (m *BusEvent) GetLossSocialization() *LossSocialization
- func (m *BusEvent) GetMarginLevels() *vega.MarginLevels
- func (m *BusEvent) GetMarket() *MarketEvent
- func (m *BusEvent) GetMarketCreated() *vega.Market
- func (m *BusEvent) GetMarketData() *vega.MarketData
- func (m *BusEvent) GetMarketTick() *MarketTick
- func (m *BusEvent) GetMarketUpdated() *vega.Market
- func (m *BusEvent) GetNetworkParameter() *vega.NetworkParameter
- func (m *BusEvent) GetNodeSignature() *v1.NodeSignature
- func (m *BusEvent) GetOracleData() *v11.OracleData
- func (m *BusEvent) GetOracleSpec() *v11.OracleSpec
- func (m *BusEvent) GetOrder() *vega.Order
- func (m *BusEvent) GetParty() *vega.Party
- func (m *BusEvent) GetPositionResolution() *PositionResolution
- func (m *BusEvent) GetProposal() *vega.Proposal
- func (m *BusEvent) GetRewardPayout() *RewardPayoutEvent
- func (m *BusEvent) GetRiskFactor() *vega.RiskFactor
- func (m *BusEvent) GetSettleDistressed() *SettleDistressed
- func (m *BusEvent) GetSettlePosition() *SettlePosition
- func (m *BusEvent) GetStakeLinking() *StakeLinking
- func (m *BusEvent) GetTimeUpdate() *TimeUpdate
- func (m *BusEvent) GetTrade() *vega.Trade
- func (m *BusEvent) GetTransferResponses() *TransferResponses
- func (m *BusEvent) GetTxErrEvent() *TxErrorEvent
- func (m *BusEvent) GetType() BusEventType
- func (m *BusEvent) GetValidatorScore() *ValidatorScoreEvent
- func (m *BusEvent) GetValidatorUpdate() *ValidatorUpdate
- func (m *BusEvent) GetVersion() uint32
- func (m *BusEvent) GetVote() *vega.Vote
- func (m *BusEvent) GetWithdrawal() *vega.Withdrawal
- func (*BusEvent) ProtoMessage()
- func (m *BusEvent) Reset()
- func (m *BusEvent) String() string
- func (this *BusEvent) Validate() error
- func (m *BusEvent) XXX_DiscardUnknown()
- func (m *BusEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BusEvent) XXX_Merge(src proto.Message)
- func (*BusEvent) XXX_OneofWrappers() []interface{}
- func (m *BusEvent) XXX_Size() int
- func (m *BusEvent) XXX_Unmarshal(b []byte) error
- type BusEventType
- type BusEvent_Account
- type BusEvent_Asset
- type BusEvent_Auction
- type BusEvent_Checkpoint
- type BusEvent_DelegationBalance
- type BusEvent_Deposit
- type BusEvent_EpochEvent
- type BusEvent_LiquidityProvision
- type BusEvent_LossSocialization
- type BusEvent_MarginLevels
- type BusEvent_Market
- type BusEvent_MarketCreated
- type BusEvent_MarketData
- type BusEvent_MarketTick
- type BusEvent_MarketUpdated
- type BusEvent_NetworkParameter
- type BusEvent_NodeSignature
- type BusEvent_OracleData
- type BusEvent_OracleSpec
- type BusEvent_Order
- type BusEvent_Party
- type BusEvent_PositionResolution
- type BusEvent_Proposal
- type BusEvent_RewardPayout
- type BusEvent_RiskFactor
- type BusEvent_SettleDistressed
- type BusEvent_SettlePosition
- type BusEvent_StakeLinking
- type BusEvent_TimeUpdate
- type BusEvent_Trade
- type BusEvent_TransferResponses
- type BusEvent_TxErrEvent
- type BusEvent_ValidatorScore
- type BusEvent_ValidatorUpdate
- type BusEvent_Vote
- type BusEvent_Withdrawal
- type CheckpointEvent
- func (*CheckpointEvent) Descriptor() ([]byte, []int)
- func (m *CheckpointEvent) GetBlockHash() string
- func (m *CheckpointEvent) GetBlockHeight() uint64
- func (m *CheckpointEvent) GetHash() string
- func (*CheckpointEvent) ProtoMessage()
- func (m *CheckpointEvent) Reset()
- func (m *CheckpointEvent) String() string
- func (this *CheckpointEvent) Validate() error
- func (m *CheckpointEvent) XXX_DiscardUnknown()
- func (m *CheckpointEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckpointEvent) XXX_Merge(src proto.Message)
- func (m *CheckpointEvent) XXX_Size() int
- func (m *CheckpointEvent) XXX_Unmarshal(b []byte) error
- type DelegationBalanceEvent
- func (*DelegationBalanceEvent) Descriptor() ([]byte, []int)
- func (m *DelegationBalanceEvent) GetAmount() string
- func (m *DelegationBalanceEvent) GetEpochSeq() string
- func (m *DelegationBalanceEvent) GetNodeId() string
- func (m *DelegationBalanceEvent) GetParty() string
- func (*DelegationBalanceEvent) ProtoMessage()
- func (m *DelegationBalanceEvent) Reset()
- func (m *DelegationBalanceEvent) String() string
- func (this *DelegationBalanceEvent) Validate() error
- func (m *DelegationBalanceEvent) XXX_DiscardUnknown()
- func (m *DelegationBalanceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationBalanceEvent) XXX_Merge(src proto.Message)
- func (m *DelegationBalanceEvent) XXX_Size() int
- func (m *DelegationBalanceEvent) XXX_Unmarshal(b []byte) error
- type EpochEvent
- func (*EpochEvent) Descriptor() ([]byte, []int)
- func (m *EpochEvent) GetAction() vega.EpochAction
- func (m *EpochEvent) GetEndTime() int64
- func (m *EpochEvent) GetExpireTime() int64
- func (m *EpochEvent) GetSeq() uint64
- func (m *EpochEvent) GetStartTime() int64
- func (*EpochEvent) ProtoMessage()
- func (m *EpochEvent) Reset()
- func (m *EpochEvent) String() string
- func (this *EpochEvent) Validate() error
- func (m *EpochEvent) XXX_DiscardUnknown()
- func (m *EpochEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochEvent) XXX_Merge(src proto.Message)
- func (m *EpochEvent) XXX_Size() int
- func (m *EpochEvent) XXX_Unmarshal(b []byte) error
- type LossSocialization
- func (*LossSocialization) Descriptor() ([]byte, []int)
- func (m *LossSocialization) GetAmount() int64
- func (m *LossSocialization) GetMarketId() string
- func (m *LossSocialization) GetPartyId() string
- func (*LossSocialization) ProtoMessage()
- func (m *LossSocialization) Reset()
- func (m *LossSocialization) String() string
- func (this *LossSocialization) Validate() error
- func (m *LossSocialization) XXX_DiscardUnknown()
- func (m *LossSocialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LossSocialization) XXX_Merge(src proto.Message)
- func (m *LossSocialization) XXX_Size() int
- func (m *LossSocialization) XXX_Unmarshal(b []byte) error
- type MarketEvent
- func (*MarketEvent) Descriptor() ([]byte, []int)
- func (m *MarketEvent) GetMarketId() string
- func (m *MarketEvent) GetPayload() string
- func (*MarketEvent) ProtoMessage()
- func (m *MarketEvent) Reset()
- func (m *MarketEvent) String() string
- func (this *MarketEvent) Validate() error
- func (m *MarketEvent) XXX_DiscardUnknown()
- func (m *MarketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketEvent) XXX_Merge(src proto.Message)
- func (m *MarketEvent) XXX_Size() int
- func (m *MarketEvent) XXX_Unmarshal(b []byte) error
- type MarketTick
- func (*MarketTick) Descriptor() ([]byte, []int)
- func (m *MarketTick) GetId() string
- func (m *MarketTick) GetTime() int64
- func (*MarketTick) ProtoMessage()
- func (m *MarketTick) Reset()
- func (m *MarketTick) String() string
- func (this *MarketTick) Validate() error
- func (m *MarketTick) XXX_DiscardUnknown()
- func (m *MarketTick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketTick) XXX_Merge(src proto.Message)
- func (m *MarketTick) XXX_Size() int
- func (m *MarketTick) XXX_Unmarshal(b []byte) error
- type PositionResolution
- func (*PositionResolution) Descriptor() ([]byte, []int)
- func (m *PositionResolution) GetClosed() int64
- func (m *PositionResolution) GetDistressed() int64
- func (m *PositionResolution) GetMarkPrice() uint64
- func (m *PositionResolution) GetMarketId() string
- func (*PositionResolution) ProtoMessage()
- func (m *PositionResolution) Reset()
- func (m *PositionResolution) String() string
- func (this *PositionResolution) Validate() error
- func (m *PositionResolution) XXX_DiscardUnknown()
- func (m *PositionResolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionResolution) XXX_Merge(src proto.Message)
- func (m *PositionResolution) XXX_Size() int
- func (m *PositionResolution) XXX_Unmarshal(b []byte) error
- type RewardPayoutEvent
- func (*RewardPayoutEvent) Descriptor() ([]byte, []int)
- func (m *RewardPayoutEvent) GetAmount() string
- func (m *RewardPayoutEvent) GetAsset() string
- func (m *RewardPayoutEvent) GetEpochSeq() string
- func (m *RewardPayoutEvent) GetParty() string
- func (m *RewardPayoutEvent) GetPercentOfTotalReward() string
- func (m *RewardPayoutEvent) GetTimestamp() int64
- func (*RewardPayoutEvent) ProtoMessage()
- func (m *RewardPayoutEvent) Reset()
- func (m *RewardPayoutEvent) String() string
- func (this *RewardPayoutEvent) Validate() error
- func (m *RewardPayoutEvent) XXX_DiscardUnknown()
- func (m *RewardPayoutEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardPayoutEvent) XXX_Merge(src proto.Message)
- func (m *RewardPayoutEvent) XXX_Size() int
- func (m *RewardPayoutEvent) XXX_Unmarshal(b []byte) error
- type SettleDistressed
- func (*SettleDistressed) Descriptor() ([]byte, []int)
- func (m *SettleDistressed) GetMargin() uint64
- func (m *SettleDistressed) GetMarketId() string
- func (m *SettleDistressed) GetPartyId() string
- func (m *SettleDistressed) GetPrice() uint64
- func (*SettleDistressed) ProtoMessage()
- func (m *SettleDistressed) Reset()
- func (m *SettleDistressed) String() string
- func (this *SettleDistressed) Validate() error
- func (m *SettleDistressed) XXX_DiscardUnknown()
- func (m *SettleDistressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleDistressed) XXX_Merge(src proto.Message)
- func (m *SettleDistressed) XXX_Size() int
- func (m *SettleDistressed) XXX_Unmarshal(b []byte) error
- type SettlePosition
- func (*SettlePosition) Descriptor() ([]byte, []int)
- func (m *SettlePosition) GetMarketId() string
- func (m *SettlePosition) GetPartyId() string
- func (m *SettlePosition) GetPrice() uint64
- func (m *SettlePosition) GetTradeSettlements() []*TradeSettlement
- func (*SettlePosition) ProtoMessage()
- func (m *SettlePosition) Reset()
- func (m *SettlePosition) String() string
- func (this *SettlePosition) Validate() error
- func (m *SettlePosition) XXX_DiscardUnknown()
- func (m *SettlePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettlePosition) XXX_Merge(src proto.Message)
- func (m *SettlePosition) XXX_Size() int
- func (m *SettlePosition) XXX_Unmarshal(b []byte) error
- type StakeLinking
- func (*StakeLinking) Descriptor() ([]byte, []int)
- func (m *StakeLinking) GetAmount() string
- func (m *StakeLinking) GetFinalizedAt() int64
- func (m *StakeLinking) GetId() string
- func (m *StakeLinking) GetParty() string
- func (m *StakeLinking) GetStatus() StakeLinking_Status
- func (m *StakeLinking) GetTs() int64
- func (m *StakeLinking) GetTxHash() string
- func (m *StakeLinking) GetType() StakeLinking_Type
- func (*StakeLinking) ProtoMessage()
- func (m *StakeLinking) Reset()
- func (m *StakeLinking) String() string
- func (this *StakeLinking) Validate() error
- func (m *StakeLinking) XXX_DiscardUnknown()
- func (m *StakeLinking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeLinking) XXX_Merge(src proto.Message)
- func (m *StakeLinking) XXX_Size() int
- func (m *StakeLinking) XXX_Unmarshal(b []byte) error
- type StakeLinking_Status
- type StakeLinking_Type
- type TimeUpdate
- func (*TimeUpdate) Descriptor() ([]byte, []int)
- func (m *TimeUpdate) GetTimestamp() int64
- func (*TimeUpdate) ProtoMessage()
- func (m *TimeUpdate) Reset()
- func (m *TimeUpdate) String() string
- func (this *TimeUpdate) Validate() error
- func (m *TimeUpdate) XXX_DiscardUnknown()
- func (m *TimeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeUpdate) XXX_Merge(src proto.Message)
- func (m *TimeUpdate) XXX_Size() int
- func (m *TimeUpdate) XXX_Unmarshal(b []byte) error
- type TradeSettlement
- func (*TradeSettlement) Descriptor() ([]byte, []int)
- func (m *TradeSettlement) GetPrice() uint64
- func (m *TradeSettlement) GetSize() int64
- func (*TradeSettlement) ProtoMessage()
- func (m *TradeSettlement) Reset()
- func (m *TradeSettlement) String() string
- func (this *TradeSettlement) Validate() error
- func (m *TradeSettlement) XXX_DiscardUnknown()
- func (m *TradeSettlement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeSettlement) XXX_Merge(src proto.Message)
- func (m *TradeSettlement) XXX_Size() int
- func (m *TradeSettlement) XXX_Unmarshal(b []byte) error
- type TransferResponses
- func (*TransferResponses) Descriptor() ([]byte, []int)
- func (m *TransferResponses) GetResponses() []*vega.TransferResponse
- func (*TransferResponses) ProtoMessage()
- func (m *TransferResponses) Reset()
- func (m *TransferResponses) String() string
- func (this *TransferResponses) Validate() error
- func (m *TransferResponses) XXX_DiscardUnknown()
- func (m *TransferResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferResponses) XXX_Merge(src proto.Message)
- func (m *TransferResponses) XXX_Size() int
- func (m *TransferResponses) XXX_Unmarshal(b []byte) error
- type TxErrorEvent
- func (*TxErrorEvent) Descriptor() ([]byte, []int)
- func (m *TxErrorEvent) GetDelegateSubmission() *v1.DelegateSubmission
- func (m *TxErrorEvent) GetErrMsg() string
- func (m *TxErrorEvent) GetLiquidityProvisionSubmission() *v1.LiquidityProvisionSubmission
- func (m *TxErrorEvent) GetOrderAmendment() *v1.OrderAmendment
- func (m *TxErrorEvent) GetOrderCancellation() *v1.OrderCancellation
- func (m *TxErrorEvent) GetOrderSubmission() *v1.OrderSubmission
- func (m *TxErrorEvent) GetPartyId() string
- func (m *TxErrorEvent) GetProposal() *v1.ProposalSubmission
- func (m *TxErrorEvent) GetRestoreSnapshot() *v1.RestoreSnapshot
- func (m *TxErrorEvent) GetTransaction() isTxErrorEvent_Transaction
- func (m *TxErrorEvent) GetUndelegateSubmission() *v1.UndelegateSubmission
- func (m *TxErrorEvent) GetVoteSubmission() *v1.VoteSubmission
- func (m *TxErrorEvent) GetWithdrawSubmission() *v1.WithdrawSubmission
- func (*TxErrorEvent) ProtoMessage()
- func (m *TxErrorEvent) Reset()
- func (m *TxErrorEvent) String() string
- func (this *TxErrorEvent) Validate() error
- func (m *TxErrorEvent) XXX_DiscardUnknown()
- func (m *TxErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxErrorEvent) XXX_Merge(src proto.Message)
- func (*TxErrorEvent) XXX_OneofWrappers() []interface{}
- func (m *TxErrorEvent) XXX_Size() int
- func (m *TxErrorEvent) XXX_Unmarshal(b []byte) error
- type TxErrorEvent_DelegateSubmission
- type TxErrorEvent_LiquidityProvisionSubmission
- type TxErrorEvent_OrderAmendment
- type TxErrorEvent_OrderCancellation
- type TxErrorEvent_OrderSubmission
- type TxErrorEvent_Proposal
- type TxErrorEvent_RestoreSnapshot
- type TxErrorEvent_UndelegateSubmission
- type TxErrorEvent_VoteSubmission
- type TxErrorEvent_WithdrawSubmission
- type ValidatorScoreEvent
- func (*ValidatorScoreEvent) Descriptor() ([]byte, []int)
- func (m *ValidatorScoreEvent) GetEpochSeq() string
- func (m *ValidatorScoreEvent) GetNodeId() string
- func (m *ValidatorScoreEvent) GetNormalisedScore() string
- func (m *ValidatorScoreEvent) GetValidatorScore() string
- func (*ValidatorScoreEvent) ProtoMessage()
- func (m *ValidatorScoreEvent) Reset()
- func (m *ValidatorScoreEvent) String() string
- func (this *ValidatorScoreEvent) Validate() error
- func (m *ValidatorScoreEvent) XXX_DiscardUnknown()
- func (m *ValidatorScoreEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorScoreEvent) XXX_Merge(src proto.Message)
- func (m *ValidatorScoreEvent) XXX_Size() int
- func (m *ValidatorScoreEvent) XXX_Unmarshal(b []byte) error
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)
- func (m *ValidatorUpdate) GetAvatarUrl() string
- func (m *ValidatorUpdate) GetCountry() string
- func (m *ValidatorUpdate) GetEthereumAddress() string
- func (m *ValidatorUpdate) GetInfoUrl() string
- func (m *ValidatorUpdate) GetName() string
- func (m *ValidatorUpdate) GetNodeId() string
- func (m *ValidatorUpdate) GetTmPubKey() string
- func (m *ValidatorUpdate) GetVegaPubKey() string
- func (*ValidatorUpdate) ProtoMessage()
- func (m *ValidatorUpdate) Reset()
- func (m *ValidatorUpdate) String() string
- func (this *ValidatorUpdate) Validate() error
- func (m *ValidatorUpdate) XXX_DiscardUnknown()
- func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorUpdate) XXX_Merge(src proto.Message)
- func (m *ValidatorUpdate) XXX_Size() int
- func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error
Constants ¶
const Version = 1
Variables ¶
var BusEventType_name = map[int32]string{
0: "BUS_EVENT_TYPE_UNSPECIFIED",
1: "BUS_EVENT_TYPE_ALL",
2: "BUS_EVENT_TYPE_TIME_UPDATE",
3: "BUS_EVENT_TYPE_TRANSFER_RESPONSES",
4: "BUS_EVENT_TYPE_POSITION_RESOLUTION",
5: "BUS_EVENT_TYPE_ORDER",
6: "BUS_EVENT_TYPE_ACCOUNT",
7: "BUS_EVENT_TYPE_PARTY",
8: "BUS_EVENT_TYPE_TRADE",
9: "BUS_EVENT_TYPE_MARGIN_LEVELS",
10: "BUS_EVENT_TYPE_PROPOSAL",
11: "BUS_EVENT_TYPE_VOTE",
12: "BUS_EVENT_TYPE_MARKET_DATA",
13: "BUS_EVENT_TYPE_NODE_SIGNATURE",
14: "BUS_EVENT_TYPE_LOSS_SOCIALIZATION",
15: "BUS_EVENT_TYPE_SETTLE_POSITION",
16: "BUS_EVENT_TYPE_SETTLE_DISTRESSED",
17: "BUS_EVENT_TYPE_MARKET_CREATED",
18: "BUS_EVENT_TYPE_ASSET",
19: "BUS_EVENT_TYPE_MARKET_TICK",
20: "BUS_EVENT_TYPE_WITHDRAWAL",
21: "BUS_EVENT_TYPE_DEPOSIT",
22: "BUS_EVENT_TYPE_AUCTION",
23: "BUS_EVENT_TYPE_RISK_FACTOR",
24: "BUS_EVENT_TYPE_NETWORK_PARAMETER",
25: "BUS_EVENT_TYPE_LIQUIDITY_PROVISION",
26: "BUS_EVENT_TYPE_MARKET_UPDATED",
27: "BUS_EVENT_TYPE_ORACLE_SPEC",
28: "BUS_EVENT_TYPE_ORACLE_DATA",
29: "BUS_EVENT_TYPE_DELEGATION_BALANCE",
30: "BUS_EVENT_TYPE_VALIDATOR_SCORE",
31: "BUS_EVENT_TYPE_EPOCH_UPDATE",
32: "BUS_EVENT_TYPE_VALIDATOR_UPDATE",
33: "BUS_EVENT_TYPE_STAKE_LINKING",
34: "BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT",
35: "BUS_EVENT_TYPE_CHECKPOINT",
101: "BUS_EVENT_TYPE_MARKET",
201: "BUS_EVENT_TYPE_TX_ERROR",
}
var BusEventType_value = map[string]int32{
"BUS_EVENT_TYPE_UNSPECIFIED": 0,
"BUS_EVENT_TYPE_ALL": 1,
"BUS_EVENT_TYPE_TIME_UPDATE": 2,
"BUS_EVENT_TYPE_TRANSFER_RESPONSES": 3,
"BUS_EVENT_TYPE_POSITION_RESOLUTION": 4,
"BUS_EVENT_TYPE_ORDER": 5,
"BUS_EVENT_TYPE_ACCOUNT": 6,
"BUS_EVENT_TYPE_PARTY": 7,
"BUS_EVENT_TYPE_TRADE": 8,
"BUS_EVENT_TYPE_MARGIN_LEVELS": 9,
"BUS_EVENT_TYPE_PROPOSAL": 10,
"BUS_EVENT_TYPE_VOTE": 11,
"BUS_EVENT_TYPE_MARKET_DATA": 12,
"BUS_EVENT_TYPE_NODE_SIGNATURE": 13,
"BUS_EVENT_TYPE_LOSS_SOCIALIZATION": 14,
"BUS_EVENT_TYPE_SETTLE_POSITION": 15,
"BUS_EVENT_TYPE_SETTLE_DISTRESSED": 16,
"BUS_EVENT_TYPE_MARKET_CREATED": 17,
"BUS_EVENT_TYPE_ASSET": 18,
"BUS_EVENT_TYPE_MARKET_TICK": 19,
"BUS_EVENT_TYPE_WITHDRAWAL": 20,
"BUS_EVENT_TYPE_DEPOSIT": 21,
"BUS_EVENT_TYPE_AUCTION": 22,
"BUS_EVENT_TYPE_RISK_FACTOR": 23,
"BUS_EVENT_TYPE_NETWORK_PARAMETER": 24,
"BUS_EVENT_TYPE_LIQUIDITY_PROVISION": 25,
"BUS_EVENT_TYPE_MARKET_UPDATED": 26,
"BUS_EVENT_TYPE_ORACLE_SPEC": 27,
"BUS_EVENT_TYPE_ORACLE_DATA": 28,
"BUS_EVENT_TYPE_DELEGATION_BALANCE": 29,
"BUS_EVENT_TYPE_VALIDATOR_SCORE": 30,
"BUS_EVENT_TYPE_EPOCH_UPDATE": 31,
"BUS_EVENT_TYPE_VALIDATOR_UPDATE": 32,
"BUS_EVENT_TYPE_STAKE_LINKING": 33,
"BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT": 34,
"BUS_EVENT_TYPE_CHECKPOINT": 35,
"BUS_EVENT_TYPE_MARKET": 101,
"BUS_EVENT_TYPE_TX_ERROR": 201,
}
var StakeLinking_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_PENDING",
2: "STATUS_ACCEPTED",
3: "STATUS_REJECTED",
}
var StakeLinking_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_PENDING": 1,
"STATUS_ACCEPTED": 2,
"STATUS_REJECTED": 3,
}
var StakeLinking_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_LINK",
2: "TYPE_UNLINK",
}
var StakeLinking_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_LINK": 1,
"TYPE_UNLINK": 2,
}
Functions ¶
This section is empty.
Types ¶
type AuctionEvent ¶
type AuctionEvent struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // True if the event indicates an auction opening and False otherwise OpeningAuction bool `protobuf:"varint,2,opt,name=opening_auction,json=openingAuction,proto3" json:"opening_auction,omitempty"` // True if the event indicates leaving auction mode and False otherwise Leave bool `protobuf:"varint,3,opt,name=leave,proto3" json:"leave,omitempty"` // Timestamp containing the start time for an auction Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` // Timestamp containing the end time for an auction End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` // the reason this market is/was in auction Trigger vega.AuctionTrigger `protobuf:"varint,6,opt,name=trigger,proto3,enum=vega.AuctionTrigger" json:"trigger,omitempty"` // If an auction was ongoing, but was extended for whatever reason, this field will // be set to the trigger type indicating which component extended the auction ExtensionTrigger vega.AuctionTrigger `` /* 135-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An auction event indicating a change in auction state, for example starting or ending an auction
func (*AuctionEvent) Descriptor ¶
func (*AuctionEvent) Descriptor() ([]byte, []int)
func (*AuctionEvent) GetEnd ¶
func (m *AuctionEvent) GetEnd() int64
func (*AuctionEvent) GetExtensionTrigger ¶
func (m *AuctionEvent) GetExtensionTrigger() vega.AuctionTrigger
func (*AuctionEvent) GetLeave ¶
func (m *AuctionEvent) GetLeave() bool
func (*AuctionEvent) GetMarketId ¶
func (m *AuctionEvent) GetMarketId() string
func (*AuctionEvent) GetOpeningAuction ¶
func (m *AuctionEvent) GetOpeningAuction() bool
func (*AuctionEvent) GetStart ¶
func (m *AuctionEvent) GetStart() int64
func (*AuctionEvent) GetTrigger ¶
func (m *AuctionEvent) GetTrigger() vega.AuctionTrigger
func (AuctionEvent) IsEvent ¶
func (AuctionEvent) IsEvent()
func (*AuctionEvent) ProtoMessage ¶
func (*AuctionEvent) ProtoMessage()
func (*AuctionEvent) Reset ¶
func (m *AuctionEvent) Reset()
func (*AuctionEvent) String ¶
func (m *AuctionEvent) String() string
func (*AuctionEvent) Validate ¶
func (this *AuctionEvent) Validate() error
func (*AuctionEvent) XXX_DiscardUnknown ¶
func (m *AuctionEvent) XXX_DiscardUnknown()
func (*AuctionEvent) XXX_Marshal ¶
func (m *AuctionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionEvent) XXX_Merge ¶
func (m *AuctionEvent) XXX_Merge(src proto.Message)
func (*AuctionEvent) XXX_Size ¶
func (m *AuctionEvent) XXX_Size() int
func (*AuctionEvent) XXX_Unmarshal ¶
func (m *AuctionEvent) XXX_Unmarshal(b []byte) error
type BusEvent ¶
type BusEvent struct { // A unique event identifier for the message Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The batch (or block) of transactions that the events relate to Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // The type of bus event (one of the list below) Type BusEventType `protobuf:"varint,3,opt,name=type,proto3,enum=vega.events.v1.BusEventType" json:"type,omitempty"` // Types that are valid to be assigned to Event: // *BusEvent_TimeUpdate // *BusEvent_TransferResponses // *BusEvent_PositionResolution // *BusEvent_Order // *BusEvent_Account // *BusEvent_Party // *BusEvent_Trade // *BusEvent_MarginLevels // *BusEvent_Proposal // *BusEvent_Vote // *BusEvent_MarketData // *BusEvent_NodeSignature // *BusEvent_LossSocialization // *BusEvent_SettlePosition // *BusEvent_SettleDistressed // *BusEvent_MarketCreated // *BusEvent_Asset // *BusEvent_MarketTick // *BusEvent_Withdrawal // *BusEvent_Deposit // *BusEvent_Auction // *BusEvent_RiskFactor // *BusEvent_NetworkParameter // *BusEvent_LiquidityProvision // *BusEvent_MarketUpdated // *BusEvent_OracleSpec // *BusEvent_OracleData // *BusEvent_DelegationBalance // *BusEvent_ValidatorScore // *BusEvent_EpochEvent // *BusEvent_ValidatorUpdate // *BusEvent_StakeLinking // *BusEvent_RewardPayout // *BusEvent_Checkpoint // *BusEvent_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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A bus event is a container for event bus events emitted by Vega
func (*BusEvent) Descriptor ¶
func (*BusEvent) GetAccount ¶
func (*BusEvent) GetAuction ¶
func (m *BusEvent) GetAuction() *AuctionEvent
func (*BusEvent) GetCheckpoint ¶ added in v0.42.0
func (m *BusEvent) GetCheckpoint() *CheckpointEvent
func (*BusEvent) GetDelegationBalance ¶
func (m *BusEvent) GetDelegationBalance() *DelegationBalanceEvent
func (*BusEvent) GetDeposit ¶
func (*BusEvent) GetEpochEvent ¶
func (m *BusEvent) GetEpochEvent() *EpochEvent
func (*BusEvent) GetLiquidityProvision ¶
func (m *BusEvent) GetLiquidityProvision() *vega.LiquidityProvision
func (*BusEvent) GetLossSocialization ¶
func (m *BusEvent) GetLossSocialization() *LossSocialization
func (*BusEvent) GetMarginLevels ¶
func (m *BusEvent) GetMarginLevels() *vega.MarginLevels
func (*BusEvent) GetMarket ¶
func (m *BusEvent) GetMarket() *MarketEvent
func (*BusEvent) GetMarketCreated ¶
func (*BusEvent) GetMarketData ¶
func (m *BusEvent) GetMarketData() *vega.MarketData
func (*BusEvent) GetMarketTick ¶
func (m *BusEvent) GetMarketTick() *MarketTick
func (*BusEvent) GetMarketUpdated ¶
func (*BusEvent) GetNetworkParameter ¶
func (m *BusEvent) GetNetworkParameter() *vega.NetworkParameter
func (*BusEvent) GetNodeSignature ¶
func (m *BusEvent) GetNodeSignature() *v1.NodeSignature
func (*BusEvent) GetOracleData ¶
func (m *BusEvent) GetOracleData() *v11.OracleData
func (*BusEvent) GetOracleSpec ¶
func (m *BusEvent) GetOracleSpec() *v11.OracleSpec
func (*BusEvent) GetPositionResolution ¶
func (m *BusEvent) GetPositionResolution() *PositionResolution
func (*BusEvent) GetProposal ¶
func (*BusEvent) GetRewardPayout ¶ added in v0.42.0
func (m *BusEvent) GetRewardPayout() *RewardPayoutEvent
func (*BusEvent) GetRiskFactor ¶
func (m *BusEvent) GetRiskFactor() *vega.RiskFactor
func (*BusEvent) GetSettleDistressed ¶
func (m *BusEvent) GetSettleDistressed() *SettleDistressed
func (*BusEvent) GetSettlePosition ¶
func (m *BusEvent) GetSettlePosition() *SettlePosition
func (*BusEvent) GetStakeLinking ¶ added in v0.42.0
func (m *BusEvent) GetStakeLinking() *StakeLinking
func (*BusEvent) GetTimeUpdate ¶
func (m *BusEvent) GetTimeUpdate() *TimeUpdate
func (*BusEvent) GetTransferResponses ¶
func (m *BusEvent) GetTransferResponses() *TransferResponses
func (*BusEvent) GetTxErrEvent ¶
func (m *BusEvent) GetTxErrEvent() *TxErrorEvent
func (*BusEvent) GetType ¶
func (m *BusEvent) GetType() BusEventType
func (*BusEvent) GetValidatorScore ¶ added in v0.42.0
func (m *BusEvent) GetValidatorScore() *ValidatorScoreEvent
func (*BusEvent) GetValidatorUpdate ¶
func (m *BusEvent) GetValidatorUpdate() *ValidatorUpdate
func (*BusEvent) GetVersion ¶ added in v0.42.0
func (*BusEvent) GetWithdrawal ¶
func (m *BusEvent) GetWithdrawal() *vega.Withdrawal
func (*BusEvent) ProtoMessage ¶
func (*BusEvent) ProtoMessage()
func (*BusEvent) XXX_DiscardUnknown ¶
func (m *BusEvent) XXX_DiscardUnknown()
func (*BusEvent) XXX_Marshal ¶
func (*BusEvent) XXX_OneofWrappers ¶
func (*BusEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BusEvent) XXX_Unmarshal ¶
type BusEventType ¶
type BusEventType int32
An (event) bus event type is used to specify a type of event It has 2 styles of event: Single values (e.g. BUS_EVENT_TYPE_ORDER) where they represent one data item Group values (e.g. BUS_EVENT_TYPE_AUCTION) where they represent a group of data items
const ( // Default value, always invalid BusEventType_BUS_EVENT_TYPE_UNSPECIFIED BusEventType = 0 // Events of ALL event types, used when filtering stream from event bus BusEventType_BUS_EVENT_TYPE_ALL BusEventType = 1 // Event for blockchain time updates BusEventType_BUS_EVENT_TYPE_TIME_UPDATE BusEventType = 2 // Event for when a transfer happens internally, contains the transfer information BusEventType_BUS_EVENT_TYPE_TRANSFER_RESPONSES BusEventType = 3 // Event indicating position resolution has occurred BusEventType_BUS_EVENT_TYPE_POSITION_RESOLUTION BusEventType = 4 // Event for order updates, both new and existing orders BusEventType_BUS_EVENT_TYPE_ORDER BusEventType = 5 // Event for account updates BusEventType_BUS_EVENT_TYPE_ACCOUNT BusEventType = 6 // Event for party updates BusEventType_BUS_EVENT_TYPE_PARTY BusEventType = 7 // Event indicating a new trade has occurred BusEventType_BUS_EVENT_TYPE_TRADE BusEventType = 8 // Event indicating margin levels have changed for a party BusEventType_BUS_EVENT_TYPE_MARGIN_LEVELS BusEventType = 9 // Event for proposal updates (for governance) BusEventType_BUS_EVENT_TYPE_PROPOSAL BusEventType = 10 // Event indicating a new vote has occurred (for governance) BusEventType_BUS_EVENT_TYPE_VOTE BusEventType = 11 // Event for market data updates BusEventType_BUS_EVENT_TYPE_MARKET_DATA BusEventType = 12 // Event for a new signature for a Vega node BusEventType_BUS_EVENT_TYPE_NODE_SIGNATURE BusEventType = 13 // Event indicating loss socialisation occurred for a party BusEventType_BUS_EVENT_TYPE_LOSS_SOCIALIZATION BusEventType = 14 // Event for when a position is being settled BusEventType_BUS_EVENT_TYPE_SETTLE_POSITION BusEventType = 15 // Event for when a position is distressed BusEventType_BUS_EVENT_TYPE_SETTLE_DISTRESSED BusEventType = 16 // Event indicating a new market was created BusEventType_BUS_EVENT_TYPE_MARKET_CREATED BusEventType = 17 // Event for when an asset is added to Vega BusEventType_BUS_EVENT_TYPE_ASSET BusEventType = 18 // Event indicating a market tick event BusEventType_BUS_EVENT_TYPE_MARKET_TICK BusEventType = 19 // Event for when a withdrawal occurs BusEventType_BUS_EVENT_TYPE_WITHDRAWAL BusEventType = 20 // Event for when a deposit occurs BusEventType_BUS_EVENT_TYPE_DEPOSIT BusEventType = 21 // Event indicating a change in auction state, for example starting or ending an auction BusEventType_BUS_EVENT_TYPE_AUCTION BusEventType = 22 // Event indicating a risk factor has been updated BusEventType_BUS_EVENT_TYPE_RISK_FACTOR BusEventType = 23 // Event indicating a network parameter has been added or updated BusEventType_BUS_EVENT_TYPE_NETWORK_PARAMETER BusEventType = 24 // Event indicating a liquidity provision has been created or updated BusEventType_BUS_EVENT_TYPE_LIQUIDITY_PROVISION BusEventType = 25 // Event indicating a new market was created BusEventType_BUS_EVENT_TYPE_MARKET_UPDATED BusEventType = 26 // Event indicating an oracle spec has been created or updated BusEventType_BUS_EVENT_TYPE_ORACLE_SPEC BusEventType = 27 // Event indicating that an oracle data has been broadcast BusEventType_BUS_EVENT_TYPE_ORACLE_DATA BusEventType = 28 // Event indicating that an delegation balance of a party to a node for current epoch has changed BusEventType_BUS_EVENT_TYPE_DELEGATION_BALANCE BusEventType = 29 // Event indicating the validator score for the given epoch BusEventType_BUS_EVENT_TYPE_VALIDATOR_SCORE BusEventType = 30 // Event indicating the start or end of an epoch BusEventType_BUS_EVENT_TYPE_EPOCH_UPDATE BusEventType = 31 // Event indicating that validator node has been updated BusEventType_BUS_EVENT_TYPE_VALIDATOR_UPDATE BusEventType = 32 // Event indicating a new staking event have been processed by the network BusEventType_BUS_EVENT_TYPE_STAKE_LINKING BusEventType = 33 // Event indicating the payout of a reward has been initiated BusEventType_BUS_EVENT_TYPE_REWARD_PAYOUT_EVENT BusEventType = 34 // Event indicating a new checkpoint was created BusEventType_BUS_EVENT_TYPE_CHECKPOINT BusEventType = 35 // Event indicating a market related event, for example when a market opens BusEventType_BUS_EVENT_TYPE_MARKET BusEventType = 101 // Event used to report failed transactions back to a user, this is excluded from the ALL type BusEventType_BUS_EVENT_TYPE_TX_ERROR BusEventType = 201 )
func (BusEventType) EnumDescriptor ¶
func (BusEventType) EnumDescriptor() ([]byte, []int)
func (BusEventType) String ¶
func (x BusEventType) String() string
type BusEvent_Account ¶
type BusEvent_Asset ¶
type BusEvent_Auction ¶
type BusEvent_Auction struct {
Auction *AuctionEvent `protobuf:"bytes,121,opt,name=auction,proto3,oneof"`
}
type BusEvent_Checkpoint ¶ added in v0.42.0
type BusEvent_Checkpoint struct {
Checkpoint *CheckpointEvent `protobuf:"bytes,135,opt,name=checkpoint,proto3,oneof"`
}
type BusEvent_DelegationBalance ¶
type BusEvent_DelegationBalance struct {
DelegationBalance *DelegationBalanceEvent `protobuf:"bytes,129,opt,name=delegation_balance,json=delegationBalance,proto3,oneof"`
}
type BusEvent_Deposit ¶
type BusEvent_EpochEvent ¶
type BusEvent_EpochEvent struct {
EpochEvent *EpochEvent `protobuf:"bytes,131,opt,name=epoch_event,json=epochEvent,proto3,oneof"`
}
type BusEvent_LiquidityProvision ¶
type BusEvent_LiquidityProvision struct {
LiquidityProvision *vega.LiquidityProvision `protobuf:"bytes,124,opt,name=liquidity_provision,json=liquidityProvision,proto3,oneof"`
}
type BusEvent_LossSocialization ¶
type BusEvent_LossSocialization struct {
LossSocialization *LossSocialization `protobuf:"bytes,113,opt,name=loss_socialization,json=lossSocialization,proto3,oneof"`
}
type BusEvent_MarginLevels ¶
type BusEvent_MarginLevels struct {
MarginLevels *vega.MarginLevels `protobuf:"bytes,108,opt,name=margin_levels,json=marginLevels,proto3,oneof"`
}
type BusEvent_Market ¶
type BusEvent_Market struct {
Market *MarketEvent `protobuf:"bytes,1001,opt,name=market,proto3,oneof"`
}
type BusEvent_MarketCreated ¶
type BusEvent_MarketData ¶
type BusEvent_MarketData struct {
MarketData *vega.MarketData `protobuf:"bytes,111,opt,name=market_data,json=marketData,proto3,oneof"`
}
type BusEvent_MarketTick ¶
type BusEvent_MarketTick struct {
MarketTick *MarketTick `protobuf:"bytes,118,opt,name=market_tick,json=marketTick,proto3,oneof"`
}
type BusEvent_MarketUpdated ¶
type BusEvent_NetworkParameter ¶
type BusEvent_NetworkParameter struct {
NetworkParameter *vega.NetworkParameter `protobuf:"bytes,123,opt,name=network_parameter,json=networkParameter,proto3,oneof"`
}
type BusEvent_NodeSignature ¶
type BusEvent_NodeSignature struct {
NodeSignature *v1.NodeSignature `protobuf:"bytes,112,opt,name=node_signature,json=nodeSignature,proto3,oneof"`
}
type BusEvent_OracleData ¶
type BusEvent_OracleData struct {
OracleData *v11.OracleData `protobuf:"bytes,127,opt,name=oracle_data,json=oracleData,proto3,oneof"`
}
type BusEvent_OracleSpec ¶
type BusEvent_OracleSpec struct {
OracleSpec *v11.OracleSpec `protobuf:"bytes,126,opt,name=oracle_spec,json=oracleSpec,proto3,oneof"`
}
type BusEvent_Order ¶
type BusEvent_Party ¶
type BusEvent_PositionResolution ¶
type BusEvent_PositionResolution struct {
PositionResolution *PositionResolution `protobuf:"bytes,103,opt,name=position_resolution,json=positionResolution,proto3,oneof"`
}
type BusEvent_Proposal ¶
type BusEvent_RewardPayout ¶ added in v0.42.0
type BusEvent_RewardPayout struct {
RewardPayout *RewardPayoutEvent `protobuf:"bytes,134,opt,name=reward_payout,json=rewardPayout,proto3,oneof"`
}
type BusEvent_RiskFactor ¶
type BusEvent_RiskFactor struct {
RiskFactor *vega.RiskFactor `protobuf:"bytes,122,opt,name=risk_factor,json=riskFactor,proto3,oneof"`
}
type BusEvent_SettleDistressed ¶
type BusEvent_SettleDistressed struct {
SettleDistressed *SettleDistressed `protobuf:"bytes,115,opt,name=settle_distressed,json=settleDistressed,proto3,oneof"`
}
type BusEvent_SettlePosition ¶
type BusEvent_SettlePosition struct {
SettlePosition *SettlePosition `protobuf:"bytes,114,opt,name=settle_position,json=settlePosition,proto3,oneof"`
}
type BusEvent_StakeLinking ¶ added in v0.42.0
type BusEvent_StakeLinking struct {
StakeLinking *StakeLinking `protobuf:"bytes,133,opt,name=stake_linking,json=stakeLinking,proto3,oneof"`
}
type BusEvent_TimeUpdate ¶
type BusEvent_TimeUpdate struct {
TimeUpdate *TimeUpdate `protobuf:"bytes,101,opt,name=time_update,json=timeUpdate,proto3,oneof"`
}
type BusEvent_Trade ¶
type BusEvent_TransferResponses ¶
type BusEvent_TransferResponses struct {
TransferResponses *TransferResponses `protobuf:"bytes,102,opt,name=transfer_responses,json=transferResponses,proto3,oneof"`
}
type BusEvent_TxErrEvent ¶
type BusEvent_TxErrEvent struct {
TxErrEvent *TxErrorEvent `protobuf:"bytes,2001,opt,name=tx_err_event,json=txErrEvent,proto3,oneof"`
}
type BusEvent_ValidatorScore ¶ added in v0.42.0
type BusEvent_ValidatorScore struct {
ValidatorScore *ValidatorScoreEvent `protobuf:"bytes,130,opt,name=validator_score,json=validatorScore,proto3,oneof"`
}
type BusEvent_ValidatorUpdate ¶
type BusEvent_ValidatorUpdate struct {
ValidatorUpdate *ValidatorUpdate `protobuf:"bytes,132,opt,name=validator_update,json=validatorUpdate,proto3,oneof"`
}
type BusEvent_Vote ¶
type BusEvent_Withdrawal ¶
type BusEvent_Withdrawal struct {
Withdrawal *vega.Withdrawal `protobuf:"bytes,119,opt,name=withdrawal,proto3,oneof"`
}
type CheckpointEvent ¶ added in v0.42.0
type CheckpointEvent struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckpointEvent) Descriptor ¶ added in v0.42.0
func (*CheckpointEvent) Descriptor() ([]byte, []int)
func (*CheckpointEvent) GetBlockHash ¶ added in v0.42.0
func (m *CheckpointEvent) GetBlockHash() string
func (*CheckpointEvent) GetBlockHeight ¶ added in v0.42.0
func (m *CheckpointEvent) GetBlockHeight() uint64
func (*CheckpointEvent) GetHash ¶ added in v0.42.0
func (m *CheckpointEvent) GetHash() string
func (*CheckpointEvent) ProtoMessage ¶ added in v0.42.0
func (*CheckpointEvent) ProtoMessage()
func (*CheckpointEvent) Reset ¶ added in v0.42.0
func (m *CheckpointEvent) Reset()
func (*CheckpointEvent) String ¶ added in v0.42.0
func (m *CheckpointEvent) String() string
func (*CheckpointEvent) Validate ¶ added in v0.42.0
func (this *CheckpointEvent) Validate() error
func (*CheckpointEvent) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *CheckpointEvent) XXX_DiscardUnknown()
func (*CheckpointEvent) XXX_Marshal ¶ added in v0.42.0
func (m *CheckpointEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckpointEvent) XXX_Merge ¶ added in v0.42.0
func (m *CheckpointEvent) XXX_Merge(src proto.Message)
func (*CheckpointEvent) XXX_Size ¶ added in v0.42.0
func (m *CheckpointEvent) XXX_Size() int
func (*CheckpointEvent) XXX_Unmarshal ¶ added in v0.42.0
func (m *CheckpointEvent) XXX_Unmarshal(b []byte) error
type DelegationBalanceEvent ¶
type DelegationBalanceEvent struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` EpochSeq string `protobuf:"bytes,4,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DelegationBalanceEvent - updates on the delegation balance of a party to a node in the current epoch in effect
func (*DelegationBalanceEvent) Descriptor ¶
func (*DelegationBalanceEvent) Descriptor() ([]byte, []int)
func (*DelegationBalanceEvent) GetAmount ¶
func (m *DelegationBalanceEvent) GetAmount() string
func (*DelegationBalanceEvent) GetEpochSeq ¶ added in v0.42.0
func (m *DelegationBalanceEvent) GetEpochSeq() string
func (*DelegationBalanceEvent) GetNodeId ¶
func (m *DelegationBalanceEvent) GetNodeId() string
func (*DelegationBalanceEvent) GetParty ¶
func (m *DelegationBalanceEvent) GetParty() string
func (*DelegationBalanceEvent) ProtoMessage ¶
func (*DelegationBalanceEvent) ProtoMessage()
func (*DelegationBalanceEvent) Reset ¶
func (m *DelegationBalanceEvent) Reset()
func (*DelegationBalanceEvent) String ¶
func (m *DelegationBalanceEvent) String() string
func (*DelegationBalanceEvent) Validate ¶
func (this *DelegationBalanceEvent) Validate() error
func (*DelegationBalanceEvent) XXX_DiscardUnknown ¶
func (m *DelegationBalanceEvent) XXX_DiscardUnknown()
func (*DelegationBalanceEvent) XXX_Marshal ¶
func (m *DelegationBalanceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationBalanceEvent) XXX_Merge ¶
func (m *DelegationBalanceEvent) XXX_Merge(src proto.Message)
func (*DelegationBalanceEvent) XXX_Size ¶
func (m *DelegationBalanceEvent) XXX_Size() int
func (*DelegationBalanceEvent) XXX_Unmarshal ¶
func (m *DelegationBalanceEvent) XXX_Unmarshal(b []byte) error
type EpochEvent ¶
type EpochEvent struct { // Sequence number that increases by one each epoch Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // Action tells us what action is taking place Action vega.EpochAction `protobuf:"varint,2,opt,name=action,proto3,enum=vega.EpochAction" json:"action,omitempty"` // What time did this epoch start StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // What time should this epoch end ExpireTime int64 `protobuf:"varint,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // What time did it actually end EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Epoch details
func (*EpochEvent) Descriptor ¶
func (*EpochEvent) Descriptor() ([]byte, []int)
func (*EpochEvent) GetAction ¶ added in v0.42.0
func (m *EpochEvent) GetAction() vega.EpochAction
func (*EpochEvent) GetEndTime ¶
func (m *EpochEvent) GetEndTime() int64
func (*EpochEvent) GetExpireTime ¶
func (m *EpochEvent) GetExpireTime() int64
func (*EpochEvent) GetSeq ¶
func (m *EpochEvent) GetSeq() uint64
func (*EpochEvent) GetStartTime ¶
func (m *EpochEvent) GetStartTime() int64
func (*EpochEvent) ProtoMessage ¶
func (*EpochEvent) ProtoMessage()
func (*EpochEvent) Reset ¶
func (m *EpochEvent) Reset()
func (*EpochEvent) String ¶
func (m *EpochEvent) String() string
func (*EpochEvent) Validate ¶
func (this *EpochEvent) Validate() error
func (*EpochEvent) XXX_DiscardUnknown ¶
func (m *EpochEvent) XXX_DiscardUnknown()
func (*EpochEvent) XXX_Marshal ¶
func (m *EpochEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochEvent) XXX_Merge ¶
func (m *EpochEvent) XXX_Merge(src proto.Message)
func (*EpochEvent) XXX_Size ¶
func (m *EpochEvent) XXX_Size() int
func (*EpochEvent) XXX_Unmarshal ¶
func (m *EpochEvent) XXX_Unmarshal(b []byte) error
type LossSocialization ¶
type LossSocialization struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Party identifier (public key) for the event PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Amount distributed Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A loss socialization event contains details on the amount of wins unable to be distributed
func (*LossSocialization) Descriptor ¶
func (*LossSocialization) Descriptor() ([]byte, []int)
func (*LossSocialization) GetAmount ¶
func (m *LossSocialization) GetAmount() int64
func (*LossSocialization) GetMarketId ¶
func (m *LossSocialization) GetMarketId() string
func (*LossSocialization) GetPartyId ¶
func (m *LossSocialization) GetPartyId() string
func (*LossSocialization) ProtoMessage ¶
func (*LossSocialization) ProtoMessage()
func (*LossSocialization) Reset ¶
func (m *LossSocialization) Reset()
func (*LossSocialization) String ¶
func (m *LossSocialization) String() string
func (*LossSocialization) Validate ¶
func (this *LossSocialization) Validate() error
func (*LossSocialization) XXX_DiscardUnknown ¶
func (m *LossSocialization) XXX_DiscardUnknown()
func (*LossSocialization) XXX_Marshal ¶
func (m *LossSocialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LossSocialization) XXX_Merge ¶
func (m *LossSocialization) XXX_Merge(src proto.Message)
func (*LossSocialization) XXX_Size ¶
func (m *LossSocialization) XXX_Size() int
func (*LossSocialization) XXX_Unmarshal ¶
func (m *LossSocialization) XXX_Unmarshal(b []byte) error
type MarketEvent ¶
type MarketEvent struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Payload is a unique information string Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MarketEvent - the common denominator for all market events interface has a method to return a string for logging
func (*MarketEvent) Descriptor ¶
func (*MarketEvent) Descriptor() ([]byte, []int)
func (*MarketEvent) GetMarketId ¶
func (m *MarketEvent) GetMarketId() string
func (*MarketEvent) GetPayload ¶
func (m *MarketEvent) GetPayload() string
func (*MarketEvent) ProtoMessage ¶
func (*MarketEvent) ProtoMessage()
func (*MarketEvent) Reset ¶
func (m *MarketEvent) Reset()
func (*MarketEvent) String ¶
func (m *MarketEvent) String() string
func (*MarketEvent) Validate ¶
func (this *MarketEvent) Validate() error
func (*MarketEvent) XXX_DiscardUnknown ¶
func (m *MarketEvent) XXX_DiscardUnknown()
func (*MarketEvent) XXX_Marshal ¶
func (m *MarketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketEvent) XXX_Merge ¶
func (m *MarketEvent) XXX_Merge(src proto.Message)
func (*MarketEvent) XXX_Size ¶
func (m *MarketEvent) XXX_Size() int
func (*MarketEvent) XXX_Unmarshal ¶
func (m *MarketEvent) XXX_Unmarshal(b []byte) error
type MarketTick ¶
type MarketTick struct { // Market identifier for the event Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Timestamp containing latest update from Vega blockchain aka Vega-time Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A market ticket event contains the time value for when a particular market was last processed on Vega
func (*MarketTick) Descriptor ¶
func (*MarketTick) Descriptor() ([]byte, []int)
func (*MarketTick) GetId ¶
func (m *MarketTick) GetId() string
func (*MarketTick) GetTime ¶
func (m *MarketTick) GetTime() int64
func (*MarketTick) ProtoMessage ¶
func (*MarketTick) ProtoMessage()
func (*MarketTick) Reset ¶
func (m *MarketTick) Reset()
func (*MarketTick) String ¶
func (m *MarketTick) String() string
func (*MarketTick) Validate ¶
func (this *MarketTick) Validate() error
func (*MarketTick) XXX_DiscardUnknown ¶
func (m *MarketTick) XXX_DiscardUnknown()
func (*MarketTick) XXX_Marshal ¶
func (m *MarketTick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketTick) XXX_Merge ¶
func (m *MarketTick) XXX_Merge(src proto.Message)
func (*MarketTick) XXX_Size ¶
func (m *MarketTick) XXX_Size() int
func (*MarketTick) XXX_Unmarshal ¶
func (m *MarketTick) XXX_Unmarshal(b []byte) error
type PositionResolution ¶
type PositionResolution struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Number of distressed traders Distressed int64 `protobuf:"varint,2,opt,name=distressed,proto3" json:"distressed,omitempty"` // Number of close outs Closed int64 `protobuf:"varint,3,opt,name=closed,proto3" json:"closed,omitempty"` // Mark price, as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places MarkPrice uint64 `protobuf:"varint,4,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A position resolution event contains information on distressed trades
func (*PositionResolution) Descriptor ¶
func (*PositionResolution) Descriptor() ([]byte, []int)
func (*PositionResolution) GetClosed ¶
func (m *PositionResolution) GetClosed() int64
func (*PositionResolution) GetDistressed ¶
func (m *PositionResolution) GetDistressed() int64
func (*PositionResolution) GetMarkPrice ¶
func (m *PositionResolution) GetMarkPrice() uint64
func (*PositionResolution) GetMarketId ¶
func (m *PositionResolution) GetMarketId() string
func (*PositionResolution) ProtoMessage ¶
func (*PositionResolution) ProtoMessage()
func (*PositionResolution) Reset ¶
func (m *PositionResolution) Reset()
func (*PositionResolution) String ¶
func (m *PositionResolution) String() string
func (*PositionResolution) Validate ¶
func (this *PositionResolution) Validate() error
func (*PositionResolution) XXX_DiscardUnknown ¶
func (m *PositionResolution) XXX_DiscardUnknown()
func (*PositionResolution) XXX_Marshal ¶
func (m *PositionResolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionResolution) XXX_Merge ¶
func (m *PositionResolution) XXX_Merge(src proto.Message)
func (*PositionResolution) XXX_Size ¶
func (m *PositionResolution) XXX_Size() int
func (*PositionResolution) XXX_Unmarshal ¶
func (m *PositionResolution) XXX_Unmarshal(b []byte) error
type RewardPayoutEvent ¶ added in v0.42.0
type RewardPayoutEvent struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` EpochSeq string `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` PercentOfTotalReward string `protobuf:"bytes,5,opt,name=percent_of_total_reward,json=percentOfTotalReward,proto3" json:"percent_of_total_reward,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RewardPayoutEvent) Descriptor ¶ added in v0.42.0
func (*RewardPayoutEvent) Descriptor() ([]byte, []int)
func (*RewardPayoutEvent) GetAmount ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetAmount() string
func (*RewardPayoutEvent) GetAsset ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetAsset() string
func (*RewardPayoutEvent) GetEpochSeq ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetEpochSeq() string
func (*RewardPayoutEvent) GetParty ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetParty() string
func (*RewardPayoutEvent) GetPercentOfTotalReward ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetPercentOfTotalReward() string
func (*RewardPayoutEvent) GetTimestamp ¶ added in v0.42.0
func (m *RewardPayoutEvent) GetTimestamp() int64
func (*RewardPayoutEvent) ProtoMessage ¶ added in v0.42.0
func (*RewardPayoutEvent) ProtoMessage()
func (*RewardPayoutEvent) Reset ¶ added in v0.42.0
func (m *RewardPayoutEvent) Reset()
func (*RewardPayoutEvent) String ¶ added in v0.42.0
func (m *RewardPayoutEvent) String() string
func (*RewardPayoutEvent) Validate ¶ added in v0.42.0
func (this *RewardPayoutEvent) Validate() error
func (*RewardPayoutEvent) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *RewardPayoutEvent) XXX_DiscardUnknown()
func (*RewardPayoutEvent) XXX_Marshal ¶ added in v0.42.0
func (m *RewardPayoutEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardPayoutEvent) XXX_Merge ¶ added in v0.42.0
func (m *RewardPayoutEvent) XXX_Merge(src proto.Message)
func (*RewardPayoutEvent) XXX_Size ¶ added in v0.42.0
func (m *RewardPayoutEvent) XXX_Size() int
func (*RewardPayoutEvent) XXX_Unmarshal ¶ added in v0.42.0
func (m *RewardPayoutEvent) XXX_Unmarshal(b []byte) error
type SettleDistressed ¶
type SettleDistressed struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Party identifier (public key) for the event PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Margin value as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Margin uint64 `protobuf:"varint,3,opt,name=margin,proto3" json:"margin,omitempty"` // Price as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A settle distressed event contains information on distressed trading parties who are closed out
func (*SettleDistressed) Descriptor ¶
func (*SettleDistressed) Descriptor() ([]byte, []int)
func (*SettleDistressed) GetMargin ¶
func (m *SettleDistressed) GetMargin() uint64
func (*SettleDistressed) GetMarketId ¶
func (m *SettleDistressed) GetMarketId() string
func (*SettleDistressed) GetPartyId ¶
func (m *SettleDistressed) GetPartyId() string
func (*SettleDistressed) GetPrice ¶
func (m *SettleDistressed) GetPrice() uint64
func (*SettleDistressed) ProtoMessage ¶
func (*SettleDistressed) ProtoMessage()
func (*SettleDistressed) Reset ¶
func (m *SettleDistressed) Reset()
func (*SettleDistressed) String ¶
func (m *SettleDistressed) String() string
func (*SettleDistressed) Validate ¶
func (this *SettleDistressed) Validate() error
func (*SettleDistressed) XXX_DiscardUnknown ¶
func (m *SettleDistressed) XXX_DiscardUnknown()
func (*SettleDistressed) XXX_Marshal ¶
func (m *SettleDistressed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleDistressed) XXX_Merge ¶
func (m *SettleDistressed) XXX_Merge(src proto.Message)
func (*SettleDistressed) XXX_Size ¶
func (m *SettleDistressed) XXX_Size() int
func (*SettleDistressed) XXX_Unmarshal ¶
func (m *SettleDistressed) XXX_Unmarshal(b []byte) error
type SettlePosition ¶
type SettlePosition struct { // Market identifier for the event MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Party identifier (public key) for the event PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Price of settlement as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` // A collection of 1 or more trade settlements TradeSettlements []*TradeSettlement `protobuf:"bytes,4,rep,name=trade_settlements,json=tradeSettlements,proto3" json:"trade_settlements,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A settle position event contains position settlement information for a party
func (*SettlePosition) Descriptor ¶
func (*SettlePosition) Descriptor() ([]byte, []int)
func (*SettlePosition) GetMarketId ¶
func (m *SettlePosition) GetMarketId() string
func (*SettlePosition) GetPartyId ¶
func (m *SettlePosition) GetPartyId() string
func (*SettlePosition) GetPrice ¶
func (m *SettlePosition) GetPrice() uint64
func (*SettlePosition) GetTradeSettlements ¶
func (m *SettlePosition) GetTradeSettlements() []*TradeSettlement
func (*SettlePosition) ProtoMessage ¶
func (*SettlePosition) ProtoMessage()
func (*SettlePosition) Reset ¶
func (m *SettlePosition) Reset()
func (*SettlePosition) String ¶
func (m *SettlePosition) String() string
func (*SettlePosition) Validate ¶
func (this *SettlePosition) Validate() error
func (*SettlePosition) XXX_DiscardUnknown ¶
func (m *SettlePosition) XXX_DiscardUnknown()
func (*SettlePosition) XXX_Marshal ¶
func (m *SettlePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettlePosition) XXX_Merge ¶
func (m *SettlePosition) XXX_Merge(src proto.Message)
func (*SettlePosition) XXX_Size ¶
func (m *SettlePosition) XXX_Size() int
func (*SettlePosition) XXX_Unmarshal ¶
func (m *SettlePosition) XXX_Unmarshal(b []byte) error
type StakeLinking ¶ added in v0.42.0
type StakeLinking struct { // The internal ID for this staking event Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The type of event Type StakeLinking_Type `protobuf:"varint,2,opt,name=type,proto3,enum=vega.events.v1.StakeLinking_Type" json:"type,omitempty"` // The timestamps at which the event was emitted by ethereum Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` // The party to whom the event is directed at. Party string `protobuf:"bytes,4,opt,name=party,proto3" json:"party,omitempty"` // The amount of stake deposited or removed Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // The status of the event Status StakeLinking_Status `protobuf:"varint,6,opt,name=status,proto3,enum=vega.events.v1.StakeLinking_Status" json:"status,omitempty"` // The time at which the vega network finalized the state of the event FinalizedAt int64 `protobuf:"varint,7,opt,name=finalized_at,json=finalizedAt,proto3" json:"finalized_at,omitempty"` // The hash of the transaction from which the events happen TxHash string `protobuf:"bytes,8,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
StakeLinking - an event notifying of stake being deposited or removed for a given party These events are emitted for every Staking deposit or removed accepted by the network
func (*StakeLinking) Descriptor ¶ added in v0.42.0
func (*StakeLinking) Descriptor() ([]byte, []int)
func (*StakeLinking) GetAmount ¶ added in v0.42.0
func (m *StakeLinking) GetAmount() string
func (*StakeLinking) GetFinalizedAt ¶ added in v0.42.0
func (m *StakeLinking) GetFinalizedAt() int64
func (*StakeLinking) GetId ¶ added in v0.42.0
func (m *StakeLinking) GetId() string
func (*StakeLinking) GetParty ¶ added in v0.42.0
func (m *StakeLinking) GetParty() string
func (*StakeLinking) GetStatus ¶ added in v0.42.0
func (m *StakeLinking) GetStatus() StakeLinking_Status
func (*StakeLinking) GetTs ¶ added in v0.42.0
func (m *StakeLinking) GetTs() int64
func (*StakeLinking) GetTxHash ¶ added in v0.42.0
func (m *StakeLinking) GetTxHash() string
func (*StakeLinking) GetType ¶ added in v0.42.0
func (m *StakeLinking) GetType() StakeLinking_Type
func (*StakeLinking) ProtoMessage ¶ added in v0.42.0
func (*StakeLinking) ProtoMessage()
func (*StakeLinking) Reset ¶ added in v0.42.0
func (m *StakeLinking) Reset()
func (*StakeLinking) String ¶ added in v0.42.0
func (m *StakeLinking) String() string
func (*StakeLinking) Validate ¶ added in v0.42.0
func (this *StakeLinking) Validate() error
func (*StakeLinking) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *StakeLinking) XXX_DiscardUnknown()
func (*StakeLinking) XXX_Marshal ¶ added in v0.42.0
func (m *StakeLinking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeLinking) XXX_Merge ¶ added in v0.42.0
func (m *StakeLinking) XXX_Merge(src proto.Message)
func (*StakeLinking) XXX_Size ¶ added in v0.42.0
func (m *StakeLinking) XXX_Size() int
func (*StakeLinking) XXX_Unmarshal ¶ added in v0.42.0
func (m *StakeLinking) XXX_Unmarshal(b []byte) error
type StakeLinking_Status ¶ added in v0.42.0
type StakeLinking_Status int32
const ( // Default value StakeLinking_STATUS_UNSPECIFIED StakeLinking_Status = 0 // Indicate an event waiting for confirmation from the vega network StakeLinking_STATUS_PENDING StakeLinking_Status = 1 // Indicate of an event accepted by the vega network StakeLinking_STATUS_ACCEPTED StakeLinking_Status = 2 // Indaicate of an event rejected by the vega network StakeLinking_STATUS_REJECTED StakeLinking_Status = 3 )
func (StakeLinking_Status) EnumDescriptor ¶ added in v0.42.0
func (StakeLinking_Status) EnumDescriptor() ([]byte, []int)
func (StakeLinking_Status) String ¶ added in v0.42.0
func (x StakeLinking_Status) String() string
type StakeLinking_Type ¶ added in v0.42.0
type StakeLinking_Type int32
const ( // Default value StakeLinking_TYPE_UNSPECIFIED StakeLinking_Type = 0 // Indicate of a stake deposit instruction StakeLinking_TYPE_LINK StakeLinking_Type = 1 // Indicate of a stake remove instruction StakeLinking_TYPE_UNLINK StakeLinking_Type = 2 )
func (StakeLinking_Type) EnumDescriptor ¶ added in v0.42.0
func (StakeLinking_Type) EnumDescriptor() ([]byte, []int)
func (StakeLinking_Type) String ¶ added in v0.42.0
func (x StakeLinking_Type) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A time update event contains the latest time update from Vega blockchain
func (*TimeUpdate) Descriptor ¶
func (*TimeUpdate) Descriptor() ([]byte, []int)
func (*TimeUpdate) GetTimestamp ¶
func (m *TimeUpdate) GetTimestamp() int64
func (*TimeUpdate) ProtoMessage ¶
func (*TimeUpdate) ProtoMessage()
func (*TimeUpdate) Reset ¶
func (m *TimeUpdate) Reset()
func (*TimeUpdate) String ¶
func (m *TimeUpdate) String() string
func (*TimeUpdate) Validate ¶
func (this *TimeUpdate) Validate() error
func (*TimeUpdate) XXX_DiscardUnknown ¶
func (m *TimeUpdate) XXX_DiscardUnknown()
func (*TimeUpdate) XXX_Marshal ¶
func (m *TimeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeUpdate) XXX_Merge ¶
func (m *TimeUpdate) XXX_Merge(src proto.Message)
func (*TimeUpdate) XXX_Size ¶
func (m *TimeUpdate) XXX_Size() int
func (*TimeUpdate) XXX_Unmarshal ¶
func (m *TimeUpdate) XXX_Unmarshal(b []byte) error
type TradeSettlement ¶
type TradeSettlement struct { // Size of trade settlement Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Price of settlement as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price uint64 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A trade settlement is part of the settle position event
func (*TradeSettlement) Descriptor ¶
func (*TradeSettlement) Descriptor() ([]byte, []int)
func (*TradeSettlement) GetPrice ¶
func (m *TradeSettlement) GetPrice() uint64
func (*TradeSettlement) GetSize ¶
func (m *TradeSettlement) GetSize() int64
func (*TradeSettlement) ProtoMessage ¶
func (*TradeSettlement) ProtoMessage()
func (*TradeSettlement) Reset ¶
func (m *TradeSettlement) Reset()
func (*TradeSettlement) String ¶
func (m *TradeSettlement) String() string
func (*TradeSettlement) Validate ¶
func (this *TradeSettlement) Validate() error
func (*TradeSettlement) XXX_DiscardUnknown ¶
func (m *TradeSettlement) XXX_DiscardUnknown()
func (*TradeSettlement) XXX_Marshal ¶
func (m *TradeSettlement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradeSettlement) XXX_Merge ¶
func (m *TradeSettlement) XXX_Merge(src proto.Message)
func (*TradeSettlement) XXX_Size ¶
func (m *TradeSettlement) XXX_Size() int
func (*TradeSettlement) XXX_Unmarshal ¶
func (m *TradeSettlement) XXX_Unmarshal(b []byte) error
type TransferResponses ¶
type TransferResponses struct { // One or more entries containing internal transfer information Responses []*vega.TransferResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A transfer responses event contains a collection of transfer information
func (*TransferResponses) Descriptor ¶
func (*TransferResponses) Descriptor() ([]byte, []int)
func (*TransferResponses) GetResponses ¶
func (m *TransferResponses) GetResponses() []*vega.TransferResponse
func (*TransferResponses) ProtoMessage ¶
func (*TransferResponses) ProtoMessage()
func (*TransferResponses) Reset ¶
func (m *TransferResponses) Reset()
func (*TransferResponses) String ¶
func (m *TransferResponses) String() string
func (*TransferResponses) Validate ¶
func (this *TransferResponses) Validate() error
func (*TransferResponses) XXX_DiscardUnknown ¶
func (m *TransferResponses) XXX_DiscardUnknown()
func (*TransferResponses) XXX_Marshal ¶
func (m *TransferResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferResponses) XXX_Merge ¶
func (m *TransferResponses) XXX_Merge(src proto.Message)
func (*TransferResponses) XXX_Size ¶
func (m *TransferResponses) XXX_Size() int
func (*TransferResponses) XXX_Unmarshal ¶
func (m *TransferResponses) XXX_Unmarshal(b []byte) error
type TxErrorEvent ¶
type TxErrorEvent struct { // Unique party identifier for the related party PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // An error message describing what went wrong ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` // The transaction that failed // // Types that are valid to be assigned to Transaction: // *TxErrorEvent_OrderSubmission // *TxErrorEvent_OrderAmendment // *TxErrorEvent_OrderCancellation // *TxErrorEvent_Proposal // *TxErrorEvent_VoteSubmission // *TxErrorEvent_LiquidityProvisionSubmission // *TxErrorEvent_WithdrawSubmission // *TxErrorEvent_DelegateSubmission // *TxErrorEvent_UndelegateSubmission // *TxErrorEvent_RestoreSnapshot Transaction isTxErrorEvent_Transaction `protobuf_oneof:"transaction"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxErrorEvent) Descriptor ¶
func (*TxErrorEvent) Descriptor() ([]byte, []int)
func (*TxErrorEvent) GetDelegateSubmission ¶ added in v0.42.0
func (m *TxErrorEvent) GetDelegateSubmission() *v1.DelegateSubmission
func (*TxErrorEvent) GetErrMsg ¶
func (m *TxErrorEvent) GetErrMsg() string
func (*TxErrorEvent) GetLiquidityProvisionSubmission ¶
func (m *TxErrorEvent) GetLiquidityProvisionSubmission() *v1.LiquidityProvisionSubmission
func (*TxErrorEvent) GetOrderAmendment ¶
func (m *TxErrorEvent) GetOrderAmendment() *v1.OrderAmendment
func (*TxErrorEvent) GetOrderCancellation ¶
func (m *TxErrorEvent) GetOrderCancellation() *v1.OrderCancellation
func (*TxErrorEvent) GetOrderSubmission ¶
func (m *TxErrorEvent) GetOrderSubmission() *v1.OrderSubmission
func (*TxErrorEvent) GetPartyId ¶
func (m *TxErrorEvent) GetPartyId() string
func (*TxErrorEvent) GetProposal ¶
func (m *TxErrorEvent) GetProposal() *v1.ProposalSubmission
func (*TxErrorEvent) GetRestoreSnapshot ¶ added in v0.42.0
func (m *TxErrorEvent) GetRestoreSnapshot() *v1.RestoreSnapshot
func (*TxErrorEvent) GetTransaction ¶
func (m *TxErrorEvent) GetTransaction() isTxErrorEvent_Transaction
func (*TxErrorEvent) GetUndelegateSubmission ¶ added in v0.42.0
func (m *TxErrorEvent) GetUndelegateSubmission() *v1.UndelegateSubmission
func (*TxErrorEvent) GetVoteSubmission ¶
func (m *TxErrorEvent) GetVoteSubmission() *v1.VoteSubmission
func (*TxErrorEvent) GetWithdrawSubmission ¶
func (m *TxErrorEvent) GetWithdrawSubmission() *v1.WithdrawSubmission
func (*TxErrorEvent) ProtoMessage ¶
func (*TxErrorEvent) ProtoMessage()
func (*TxErrorEvent) Reset ¶
func (m *TxErrorEvent) Reset()
func (*TxErrorEvent) String ¶
func (m *TxErrorEvent) String() string
func (*TxErrorEvent) Validate ¶
func (this *TxErrorEvent) Validate() error
func (*TxErrorEvent) XXX_DiscardUnknown ¶
func (m *TxErrorEvent) XXX_DiscardUnknown()
func (*TxErrorEvent) XXX_Marshal ¶
func (m *TxErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxErrorEvent) XXX_Merge ¶
func (m *TxErrorEvent) XXX_Merge(src proto.Message)
func (*TxErrorEvent) XXX_OneofWrappers ¶
func (*TxErrorEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TxErrorEvent) XXX_Size ¶
func (m *TxErrorEvent) XXX_Size() int
func (*TxErrorEvent) XXX_Unmarshal ¶
func (m *TxErrorEvent) XXX_Unmarshal(b []byte) error
type TxErrorEvent_DelegateSubmission ¶ added in v0.42.0
type TxErrorEvent_DelegateSubmission struct {
DelegateSubmission *v1.DelegateSubmission `protobuf:"bytes,108,opt,name=delegate_submission,json=delegateSubmission,proto3,oneof"`
}
type TxErrorEvent_LiquidityProvisionSubmission ¶
type TxErrorEvent_LiquidityProvisionSubmission struct {
LiquidityProvisionSubmission *v1.LiquidityProvisionSubmission `protobuf:"bytes,106,opt,name=liquidity_provision_submission,json=liquidityProvisionSubmission,proto3,oneof"`
}
type TxErrorEvent_OrderAmendment ¶
type TxErrorEvent_OrderAmendment struct {
OrderAmendment *v1.OrderAmendment `protobuf:"bytes,102,opt,name=order_amendment,json=orderAmendment,proto3,oneof"`
}
type TxErrorEvent_OrderCancellation ¶
type TxErrorEvent_OrderCancellation struct {
OrderCancellation *v1.OrderCancellation `protobuf:"bytes,103,opt,name=order_cancellation,json=orderCancellation,proto3,oneof"`
}
type TxErrorEvent_OrderSubmission ¶
type TxErrorEvent_OrderSubmission struct {
OrderSubmission *v1.OrderSubmission `protobuf:"bytes,101,opt,name=order_submission,json=orderSubmission,proto3,oneof"`
}
type TxErrorEvent_Proposal ¶
type TxErrorEvent_Proposal struct {
Proposal *v1.ProposalSubmission `protobuf:"bytes,104,opt,name=proposal,proto3,oneof"`
}
type TxErrorEvent_RestoreSnapshot ¶ added in v0.42.0
type TxErrorEvent_RestoreSnapshot struct {
RestoreSnapshot *v1.RestoreSnapshot `protobuf:"bytes,110,opt,name=restore_snapshot,json=restoreSnapshot,proto3,oneof"`
}
type TxErrorEvent_UndelegateSubmission ¶ added in v0.42.0
type TxErrorEvent_UndelegateSubmission struct {
UndelegateSubmission *v1.UndelegateSubmission `protobuf:"bytes,109,opt,name=undelegate_submission,json=undelegateSubmission,proto3,oneof"`
}
type TxErrorEvent_VoteSubmission ¶
type TxErrorEvent_VoteSubmission struct {
VoteSubmission *v1.VoteSubmission `protobuf:"bytes,105,opt,name=vote_submission,json=voteSubmission,proto3,oneof"`
}
type TxErrorEvent_WithdrawSubmission ¶
type TxErrorEvent_WithdrawSubmission struct {
WithdrawSubmission *v1.WithdrawSubmission `protobuf:"bytes,107,opt,name=withdraw_submission,json=withdrawSubmission,proto3,oneof"`
}
type ValidatorScoreEvent ¶ added in v0.42.0
type ValidatorScoreEvent struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` EpochSeq string `protobuf:"bytes,2,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` ValidatorScore string `protobuf:"bytes,3,opt,name=validator_score,json=validatorScore,proto3" json:"validator_score,omitempty"` NormalisedScore string `protobuf:"bytes,4,opt,name=normalised_score,json=normalisedScore,proto3" json:"normalised_score,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ValidatorScoreEvent is the score a validator gets for a given epoch
func (*ValidatorScoreEvent) Descriptor ¶ added in v0.42.0
func (*ValidatorScoreEvent) Descriptor() ([]byte, []int)
func (*ValidatorScoreEvent) GetEpochSeq ¶ added in v0.42.0
func (m *ValidatorScoreEvent) GetEpochSeq() string
func (*ValidatorScoreEvent) GetNodeId ¶ added in v0.42.0
func (m *ValidatorScoreEvent) GetNodeId() string
func (*ValidatorScoreEvent) GetNormalisedScore ¶ added in v0.42.0
func (m *ValidatorScoreEvent) GetNormalisedScore() string
func (*ValidatorScoreEvent) GetValidatorScore ¶ added in v0.42.0
func (m *ValidatorScoreEvent) GetValidatorScore() string
func (*ValidatorScoreEvent) ProtoMessage ¶ added in v0.42.0
func (*ValidatorScoreEvent) ProtoMessage()
func (*ValidatorScoreEvent) Reset ¶ added in v0.42.0
func (m *ValidatorScoreEvent) Reset()
func (*ValidatorScoreEvent) String ¶ added in v0.42.0
func (m *ValidatorScoreEvent) String() string
func (*ValidatorScoreEvent) Validate ¶ added in v0.42.0
func (this *ValidatorScoreEvent) Validate() error
func (*ValidatorScoreEvent) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *ValidatorScoreEvent) XXX_DiscardUnknown()
func (*ValidatorScoreEvent) XXX_Marshal ¶ added in v0.42.0
func (m *ValidatorScoreEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorScoreEvent) XXX_Merge ¶ added in v0.42.0
func (m *ValidatorScoreEvent) XXX_Merge(src proto.Message)
func (*ValidatorScoreEvent) XXX_Size ¶ added in v0.42.0
func (m *ValidatorScoreEvent) XXX_Size() int
func (*ValidatorScoreEvent) XXX_Unmarshal ¶ added in v0.42.0
func (m *ValidatorScoreEvent) XXX_Unmarshal(b []byte) error
type ValidatorUpdate ¶
type ValidatorUpdate struct { // Node id of the node NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Vega public key of validator node VegaPubKey string `protobuf:"bytes,2,opt,name=vega_pub_key,json=vegaPubKey,proto3" json:"vega_pub_key,omitempty"` // Ethereum public key of validator node EthereumAddress string `protobuf:"bytes,3,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` // Public key of Tendermint TmPubKey string `protobuf:"bytes,4,opt,name=tm_pub_key,json=tmPubKey,proto3" json:"tm_pub_key,omitempty"` // URL with more info on the node InfoUrl string `protobuf:"bytes,5,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"` // Country code (ISO 3166-1 alpha-2) for the location of the node Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` // Name of the validator Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // AvatarURL of the validator AvatarUrl string `protobuf:"bytes,8,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A validator update event contains information about validator node
func (*ValidatorUpdate) Descriptor ¶
func (*ValidatorUpdate) Descriptor() ([]byte, []int)
func (*ValidatorUpdate) GetAvatarUrl ¶ added in v0.44.0
func (m *ValidatorUpdate) GetAvatarUrl() string
func (*ValidatorUpdate) GetCountry ¶
func (m *ValidatorUpdate) GetCountry() string
func (*ValidatorUpdate) GetEthereumAddress ¶ added in v0.42.0
func (m *ValidatorUpdate) GetEthereumAddress() string
func (*ValidatorUpdate) GetInfoUrl ¶
func (m *ValidatorUpdate) GetInfoUrl() string
func (*ValidatorUpdate) GetName ¶ added in v0.44.0
func (m *ValidatorUpdate) GetName() string
func (*ValidatorUpdate) GetNodeId ¶ added in v0.42.0
func (m *ValidatorUpdate) GetNodeId() string
func (*ValidatorUpdate) GetTmPubKey ¶
func (m *ValidatorUpdate) GetTmPubKey() string
func (*ValidatorUpdate) GetVegaPubKey ¶ added in v0.42.0
func (m *ValidatorUpdate) GetVegaPubKey() string
func (*ValidatorUpdate) ProtoMessage ¶
func (*ValidatorUpdate) ProtoMessage()
func (*ValidatorUpdate) Reset ¶
func (m *ValidatorUpdate) Reset()
func (*ValidatorUpdate) String ¶
func (m *ValidatorUpdate) String() string
func (*ValidatorUpdate) Validate ¶
func (this *ValidatorUpdate) Validate() error
func (*ValidatorUpdate) XXX_DiscardUnknown ¶
func (m *ValidatorUpdate) XXX_DiscardUnknown()
func (*ValidatorUpdate) XXX_Marshal ¶
func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorUpdate) XXX_Merge ¶
func (m *ValidatorUpdate) XXX_Merge(src proto.Message)
func (*ValidatorUpdate) XXX_Size ¶
func (m *ValidatorUpdate) XXX_Size() int
func (*ValidatorUpdate) XXX_Unmarshal ¶
func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error