Documentation ¶
Index ¶
- Variables
- type AnnounceNode
- func (*AnnounceNode) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceNode) GetAvatarUrl() string
- func (x *AnnounceNode) GetChainPubKey() string
- func (x *AnnounceNode) GetCountry() string
- func (x *AnnounceNode) GetEthereumAddress() string
- func (x *AnnounceNode) GetEthereumSignature() *Signature
- func (x *AnnounceNode) GetFromEpoch() uint64
- func (x *AnnounceNode) GetId() string
- func (x *AnnounceNode) GetInfoUrl() string
- func (x *AnnounceNode) GetName() string
- func (x *AnnounceNode) GetSubmitterAddress() string
- func (x *AnnounceNode) GetVegaPubKey() string
- func (x *AnnounceNode) GetVegaPubKeyIndex() uint32
- func (x *AnnounceNode) GetVegaSignature() *Signature
- func (*AnnounceNode) ProtoMessage()
- func (x *AnnounceNode) ProtoReflect() protoreflect.Message
- func (x *AnnounceNode) Reset()
- func (x *AnnounceNode) String() string
- type BatchMarketInstructions
- func (*BatchMarketInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *BatchMarketInstructions) GetAmendments() []*OrderAmendment
- func (x *BatchMarketInstructions) GetCancellations() []*OrderCancellation
- func (x *BatchMarketInstructions) GetSubmissions() []*OrderSubmission
- func (*BatchMarketInstructions) ProtoMessage()
- func (x *BatchMarketInstructions) ProtoReflect() protoreflect.Message
- func (x *BatchMarketInstructions) Reset()
- func (x *BatchMarketInstructions) String() string
- type CancelTransfer
- type ChainEvent
- func (*ChainEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChainEvent) GetBuiltin() *vega.BuiltinAssetEvent
- func (x *ChainEvent) GetErc20() *vega.ERC20Event
- func (x *ChainEvent) GetErc20Multisig() *vega.ERC20MultiSigEvent
- func (m *ChainEvent) GetEvent() isChainEvent_Event
- func (x *ChainEvent) GetNonce() uint64
- func (x *ChainEvent) GetStakingEvent() *vega.StakingEvent
- func (x *ChainEvent) GetTxId() string
- func (*ChainEvent) ProtoMessage()
- func (x *ChainEvent) ProtoReflect() protoreflect.Message
- func (x *ChainEvent) Reset()
- func (x *ChainEvent) String() string
- type ChainEvent_Builtin
- type ChainEvent_Erc20
- type ChainEvent_Erc20Multisig
- type ChainEvent_StakingEvent
- type DelegateSubmission
- func (*DelegateSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *DelegateSubmission) GetAmount() string
- func (x *DelegateSubmission) GetNodeId() string
- func (*DelegateSubmission) ProtoMessage()
- func (x *DelegateSubmission) ProtoReflect() protoreflect.Message
- func (x *DelegateSubmission) Reset()
- func (x *DelegateSubmission) String() string
- type EthereumKeyRotateSubmission
- func (*EthereumKeyRotateSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumKeyRotateSubmission) GetCurrentAddress() string
- func (x *EthereumKeyRotateSubmission) GetEthereumSignature() *Signature
- func (x *EthereumKeyRotateSubmission) GetNewAddress() string
- func (x *EthereumKeyRotateSubmission) GetSubmitterAddress() string
- func (x *EthereumKeyRotateSubmission) GetTargetBlock() uint64
- func (*EthereumKeyRotateSubmission) ProtoMessage()
- func (x *EthereumKeyRotateSubmission) ProtoReflect() protoreflect.Message
- func (x *EthereumKeyRotateSubmission) Reset()
- func (x *EthereumKeyRotateSubmission) String() string
- type InputData
- func (*InputData) Descriptor() ([]byte, []int)deprecated
- func (x *InputData) GetAnnounceNode() *AnnounceNode
- func (x *InputData) GetBatchMarketInstructions() *BatchMarketInstructions
- func (x *InputData) GetBlockHeight() uint64
- func (x *InputData) GetCancelTransfer() *CancelTransfer
- func (x *InputData) GetChainEvent() *ChainEvent
- func (m *InputData) GetCommand() isInputData_Command
- func (x *InputData) GetDelegateSubmission() *DelegateSubmission
- func (x *InputData) GetEthereumKeyRotateSubmission() *EthereumKeyRotateSubmission
- func (x *InputData) GetIssueSignatures() *IssueSignatures
- func (x *InputData) GetKeyRotateSubmission() *KeyRotateSubmission
- func (x *InputData) GetLiquidityProvisionAmendment() *LiquidityProvisionAmendment
- func (x *InputData) GetLiquidityProvisionCancellation() *LiquidityProvisionCancellation
- func (x *InputData) GetLiquidityProvisionSubmission() *LiquidityProvisionSubmission
- func (x *InputData) GetNodeSignature() *NodeSignature
- func (x *InputData) GetNodeVote() *NodeVote
- func (x *InputData) GetNonce() uint64
- func (x *InputData) GetOracleDataSubmission() *OracleDataSubmission
- func (x *InputData) GetOrderAmendment() *OrderAmendment
- func (x *InputData) GetOrderCancellation() *OrderCancellation
- func (x *InputData) GetOrderSubmission() *OrderSubmission
- func (x *InputData) GetProposalSubmission() *ProposalSubmission
- func (x *InputData) GetProtocolUpgradeProposal() *ProtocolUpgradeProposal
- func (x *InputData) GetStateVariableProposal() *StateVariableProposal
- func (x *InputData) GetTransfer() *Transfer
- func (x *InputData) GetUndelegateSubmission() *UndelegateSubmission
- func (x *InputData) GetValidatorHeartbeat() *ValidatorHeartbeat
- func (x *InputData) GetVoteSubmission() *VoteSubmission
- func (x *InputData) GetWithdrawSubmission() *WithdrawSubmission
- func (*InputData) ProtoMessage()
- func (x *InputData) ProtoReflect() protoreflect.Message
- func (x *InputData) Reset()
- func (x *InputData) String() string
- type InputData_AnnounceNode
- type InputData_BatchMarketInstructions
- type InputData_CancelTransfer
- type InputData_ChainEvent
- type InputData_DelegateSubmission
- type InputData_EthereumKeyRotateSubmission
- type InputData_IssueSignatures
- type InputData_KeyRotateSubmission
- type InputData_LiquidityProvisionAmendment
- type InputData_LiquidityProvisionCancellation
- type InputData_LiquidityProvisionSubmission
- type InputData_NodeSignature
- type InputData_NodeVote
- type InputData_OracleDataSubmission
- type InputData_OrderAmendment
- type InputData_OrderCancellation
- type InputData_OrderSubmission
- type InputData_ProposalSubmission
- type InputData_ProtocolUpgradeProposal
- type InputData_StateVariableProposal
- type InputData_Transfer
- type InputData_UndelegateSubmission
- type InputData_ValidatorHeartbeat
- type InputData_VoteSubmission
- type InputData_WithdrawSubmission
- type IssueSignatures
- func (*IssueSignatures) Descriptor() ([]byte, []int)deprecated
- func (x *IssueSignatures) GetKind() NodeSignatureKind
- func (x *IssueSignatures) GetSubmitter() string
- func (x *IssueSignatures) GetValidatorNodeId() string
- func (*IssueSignatures) ProtoMessage()
- func (x *IssueSignatures) ProtoReflect() protoreflect.Message
- func (x *IssueSignatures) Reset()
- func (x *IssueSignatures) String() string
- type KeyRotateSubmission
- func (*KeyRotateSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *KeyRotateSubmission) GetCurrentPubKeyHash() string
- func (x *KeyRotateSubmission) GetNewPubKey() string
- func (x *KeyRotateSubmission) GetNewPubKeyIndex() uint32
- func (x *KeyRotateSubmission) GetTargetBlock() uint64
- func (*KeyRotateSubmission) ProtoMessage()
- func (x *KeyRotateSubmission) ProtoReflect() protoreflect.Message
- func (x *KeyRotateSubmission) Reset()
- func (x *KeyRotateSubmission) String() string
- type LiquidityProvisionAmendment
- func (*LiquidityProvisionAmendment) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityProvisionAmendment) GetBuys() []*vega.LiquidityOrder
- func (x *LiquidityProvisionAmendment) GetCommitmentAmount() string
- func (x *LiquidityProvisionAmendment) GetFee() string
- func (x *LiquidityProvisionAmendment) GetMarketId() string
- func (x *LiquidityProvisionAmendment) GetReference() string
- func (x *LiquidityProvisionAmendment) GetSells() []*vega.LiquidityOrder
- func (*LiquidityProvisionAmendment) ProtoMessage()
- func (x *LiquidityProvisionAmendment) ProtoReflect() protoreflect.Message
- func (x *LiquidityProvisionAmendment) Reset()
- func (x *LiquidityProvisionAmendment) String() string
- type LiquidityProvisionCancellation
- func (*LiquidityProvisionCancellation) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityProvisionCancellation) GetMarketId() string
- func (*LiquidityProvisionCancellation) ProtoMessage()
- func (x *LiquidityProvisionCancellation) ProtoReflect() protoreflect.Message
- func (x *LiquidityProvisionCancellation) Reset()
- func (x *LiquidityProvisionCancellation) String() string
- type LiquidityProvisionSubmission
- func (*LiquidityProvisionSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityProvisionSubmission) GetBuys() []*vega.LiquidityOrder
- func (x *LiquidityProvisionSubmission) GetCommitmentAmount() string
- func (x *LiquidityProvisionSubmission) GetFee() string
- func (x *LiquidityProvisionSubmission) GetMarketId() string
- func (x *LiquidityProvisionSubmission) GetReference() string
- func (x *LiquidityProvisionSubmission) GetSells() []*vega.LiquidityOrder
- func (*LiquidityProvisionSubmission) ProtoMessage()
- func (x *LiquidityProvisionSubmission) ProtoReflect() protoreflect.Message
- func (x *LiquidityProvisionSubmission) Reset()
- func (x *LiquidityProvisionSubmission) String() string
- type NodeSignature
- func (n NodeSignature) DeepClone() *NodeSignature
- func (*NodeSignature) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSignature) GetId() string
- func (x *NodeSignature) GetKind() NodeSignatureKind
- func (x *NodeSignature) GetSig() []byte
- func (NodeSignature) IsEvent()
- func (*NodeSignature) ProtoMessage()
- func (x *NodeSignature) ProtoReflect() protoreflect.Message
- func (x *NodeSignature) Reset()
- func (x *NodeSignature) String() string
- type NodeSignatureKind
- func (NodeSignatureKind) Descriptor() protoreflect.EnumDescriptor
- func (x NodeSignatureKind) Enum() *NodeSignatureKind
- func (NodeSignatureKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x NodeSignatureKind) Number() protoreflect.EnumNumber
- func (x NodeSignatureKind) String() string
- func (NodeSignatureKind) Type() protoreflect.EnumType
- type NodeVote
- type NodeVote_Type
- func (NodeVote_Type) Descriptor() protoreflect.EnumDescriptor
- func (x NodeVote_Type) Enum() *NodeVote_Type
- func (NodeVote_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x NodeVote_Type) Number() protoreflect.EnumNumber
- func (x NodeVote_Type) String() string
- func (NodeVote_Type) Type() protoreflect.EnumType
- type OneOffTransfer
- type OracleDataSubmission
- func (*OracleDataSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *OracleDataSubmission) GetPayload() []byte
- func (x *OracleDataSubmission) GetSource() OracleDataSubmission_OracleSource
- func (*OracleDataSubmission) ProtoMessage()
- func (x *OracleDataSubmission) ProtoReflect() protoreflect.Message
- func (x *OracleDataSubmission) Reset()
- func (x *OracleDataSubmission) String() string
- type OracleDataSubmission_OracleSource
- func (OracleDataSubmission_OracleSource) Descriptor() protoreflect.EnumDescriptor
- func (x OracleDataSubmission_OracleSource) Enum() *OracleDataSubmission_OracleSource
- func (OracleDataSubmission_OracleSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x OracleDataSubmission_OracleSource) Number() protoreflect.EnumNumber
- func (x OracleDataSubmission_OracleSource) String() string
- func (OracleDataSubmission_OracleSource) Type() protoreflect.EnumType
- type OrderAmendment
- func (*OrderAmendment) Descriptor() ([]byte, []int)deprecated
- func (x *OrderAmendment) GetExpiresAt() int64
- func (x *OrderAmendment) GetMarketId() string
- func (x *OrderAmendment) GetOrderId() string
- func (x *OrderAmendment) GetPeggedOffset() string
- func (x *OrderAmendment) GetPeggedReference() vega.PeggedReference
- func (x *OrderAmendment) GetPrice() string
- func (x *OrderAmendment) GetSizeDelta() int64
- func (x *OrderAmendment) GetTimeInForce() vega.Order_TimeInForce
- func (*OrderAmendment) ProtoMessage()
- func (x *OrderAmendment) ProtoReflect() protoreflect.Message
- func (x *OrderAmendment) Reset()
- func (x *OrderAmendment) String() string
- type OrderCancellation
- func (*OrderCancellation) Descriptor() ([]byte, []int)deprecated
- func (x *OrderCancellation) GetMarketId() string
- func (x *OrderCancellation) GetOrderId() string
- func (*OrderCancellation) ProtoMessage()
- func (x *OrderCancellation) ProtoReflect() protoreflect.Message
- func (x *OrderCancellation) Reset()
- func (x *OrderCancellation) String() string
- type OrderSubmission
- func (*OrderSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *OrderSubmission) GetExpiresAt() int64
- func (x *OrderSubmission) GetMarketId() string
- func (x *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder
- func (x *OrderSubmission) GetPrice() string
- func (x *OrderSubmission) GetReference() string
- func (x *OrderSubmission) GetSide() vega.Side
- func (x *OrderSubmission) GetSize() uint64
- func (x *OrderSubmission) GetTimeInForce() vega.Order_TimeInForce
- func (x *OrderSubmission) GetType() vega.Order_Type
- func (*OrderSubmission) ProtoMessage()
- func (x *OrderSubmission) ProtoReflect() protoreflect.Message
- func (x *OrderSubmission) Reset()
- func (x *OrderSubmission) String() string
- type ProofOfWork
- type ProposalSubmission
- func (*ProposalSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalSubmission) GetRationale() *vega.ProposalRationale
- func (x *ProposalSubmission) GetReference() string
- func (x *ProposalSubmission) GetTerms() *vega.ProposalTerms
- func (*ProposalSubmission) ProtoMessage()
- func (x *ProposalSubmission) ProtoReflect() protoreflect.Message
- func (x *ProposalSubmission) Reset()
- func (x *ProposalSubmission) String() string
- type ProtocolUpgradeProposal
- func (*ProtocolUpgradeProposal) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolUpgradeProposal) GetUpgradeBlockHeight() uint64
- func (x *ProtocolUpgradeProposal) GetVegaReleaseTag() string
- func (*ProtocolUpgradeProposal) ProtoMessage()
- func (x *ProtocolUpgradeProposal) ProtoReflect() protoreflect.Message
- func (x *ProtocolUpgradeProposal) Reset()
- func (x *ProtocolUpgradeProposal) String() string
- type RecurringTransfer
- func (*RecurringTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *RecurringTransfer) GetDispatchStrategy() *vega.DispatchStrategy
- func (x *RecurringTransfer) GetEndEpoch() uint64
- func (x *RecurringTransfer) GetFactor() string
- func (x *RecurringTransfer) GetStartEpoch() uint64
- func (*RecurringTransfer) ProtoMessage()
- func (x *RecurringTransfer) ProtoReflect() protoreflect.Message
- func (x *RecurringTransfer) Reset()
- func (x *RecurringTransfer) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetAlgo() string
- func (x *Signature) GetValue() string
- func (x *Signature) GetVersion() uint32
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type StateVariableProposal
- func (*StateVariableProposal) Descriptor() ([]byte, []int)deprecated
- func (x *StateVariableProposal) GetProposal() *vega.StateValueProposal
- func (*StateVariableProposal) ProtoMessage()
- func (x *StateVariableProposal) ProtoReflect() protoreflect.Message
- func (x *StateVariableProposal) Reset()
- func (x *StateVariableProposal) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetAddress() string
- func (m *Transaction) GetFrom() isTransaction_From
- func (x *Transaction) GetInputData() []byte
- func (x *Transaction) GetPow() *ProofOfWork
- func (x *Transaction) GetPubKey() string
- func (x *Transaction) GetSignature() *Signature
- func (x *Transaction) GetVersion() TxVersion
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type Transaction_Address
- type Transaction_PubKey
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAmount() string
- func (x *Transfer) GetAsset() string
- func (x *Transfer) GetFromAccountType() vega.AccountType
- func (m *Transfer) GetKind() isTransfer_Kind
- func (x *Transfer) GetOneOff() *OneOffTransfer
- func (x *Transfer) GetRecurring() *RecurringTransfer
- func (x *Transfer) GetReference() string
- func (x *Transfer) GetTo() string
- func (x *Transfer) GetToAccountType() vega.AccountType
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type Transfer_OneOff
- type Transfer_Recurring
- type TxVersion
- type UndelegateSubmission
- func (*UndelegateSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *UndelegateSubmission) GetAmount() string
- func (x *UndelegateSubmission) GetMethod() UndelegateSubmission_Method
- func (x *UndelegateSubmission) GetNodeId() string
- func (*UndelegateSubmission) ProtoMessage()
- func (x *UndelegateSubmission) ProtoReflect() protoreflect.Message
- func (x *UndelegateSubmission) Reset()
- func (x *UndelegateSubmission) String() string
- type UndelegateSubmission_Method
- func (UndelegateSubmission_Method) Descriptor() protoreflect.EnumDescriptor
- func (x UndelegateSubmission_Method) Enum() *UndelegateSubmission_Method
- func (UndelegateSubmission_Method) EnumDescriptor() ([]byte, []int)deprecated
- func (x UndelegateSubmission_Method) Number() protoreflect.EnumNumber
- func (x UndelegateSubmission_Method) String() string
- func (UndelegateSubmission_Method) Type() protoreflect.EnumType
- type ValidatorHeartbeat
- func (*ValidatorHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorHeartbeat) GetEthereumSignature() *Signature
- func (x *ValidatorHeartbeat) GetNodeId() string
- func (x *ValidatorHeartbeat) GetVegaSignature() *Signature
- func (*ValidatorHeartbeat) ProtoMessage()
- func (x *ValidatorHeartbeat) ProtoReflect() protoreflect.Message
- func (x *ValidatorHeartbeat) Reset()
- func (x *ValidatorHeartbeat) String() string
- type VoteSubmission
- func (*VoteSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *VoteSubmission) GetProposalId() string
- func (x *VoteSubmission) GetValue() vega.Vote_Value
- func (*VoteSubmission) ProtoMessage()
- func (x *VoteSubmission) ProtoReflect() protoreflect.Message
- func (x *VoteSubmission) Reset()
- func (x *VoteSubmission) String() string
- type WithdrawSubmission
- func (*WithdrawSubmission) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawSubmission) GetAmount() string
- func (x *WithdrawSubmission) GetAsset() string
- func (x *WithdrawSubmission) GetExt() *vega.WithdrawExt
- func (*WithdrawSubmission) ProtoMessage()
- func (x *WithdrawSubmission) ProtoReflect() protoreflect.Message
- func (x *WithdrawSubmission) Reset()
- func (x *WithdrawSubmission) String() string
Constants ¶
This section is empty.
Variables ¶
var ( UndelegateSubmission_Method_name = map[int32]string{ 0: "METHOD_UNSPECIFIED", 1: "METHOD_NOW", 2: "METHOD_AT_END_OF_EPOCH", } UndelegateSubmission_Method_value = map[string]int32{ "METHOD_UNSPECIFIED": 0, "METHOD_NOW": 1, "METHOD_AT_END_OF_EPOCH": 2, } )
Enum value maps for UndelegateSubmission_Method.
var ( OracleDataSubmission_OracleSource_name = map[int32]string{ 0: "ORACLE_SOURCE_UNSPECIFIED", 1: "ORACLE_SOURCE_OPEN_ORACLE", 2: "ORACLE_SOURCE_JSON", } OracleDataSubmission_OracleSource_value = map[string]int32{ "ORACLE_SOURCE_UNSPECIFIED": 0, "ORACLE_SOURCE_OPEN_ORACLE": 1, "ORACLE_SOURCE_JSON": 2, } )
Enum value maps for OracleDataSubmission_OracleSource.
var ( TxVersion_name = map[int32]string{ 0: "TX_VERSION_UNSPECIFIED", 2: "TX_VERSION_V2", 3: "TX_VERSION_V3", } TxVersion_value = map[string]int32{ "TX_VERSION_UNSPECIFIED": 0, "TX_VERSION_V2": 2, "TX_VERSION_V3": 3, } )
Enum value maps for TxVersion.
var ( NodeSignatureKind_name = map[int32]string{ 0: "NODE_SIGNATURE_KIND_UNSPECIFIED", 1: "NODE_SIGNATURE_KIND_ASSET_NEW", 2: "NODE_SIGNATURE_KIND_ASSET_WITHDRAWAL", 3: "NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_ADDED", 4: "NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_REMOVED", 5: "NODE_SIGNATURE_KIND_ASSET_UPDATE", } NodeSignatureKind_value = map[string]int32{ "NODE_SIGNATURE_KIND_UNSPECIFIED": 0, "NODE_SIGNATURE_KIND_ASSET_NEW": 1, "NODE_SIGNATURE_KIND_ASSET_WITHDRAWAL": 2, "NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_ADDED": 3, "NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_REMOVED": 4, "NODE_SIGNATURE_KIND_ASSET_UPDATE": 5, } )
Enum value maps for NodeSignatureKind.
var ( NodeVote_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_STAKE_DEPOSITED", 2: "TYPE_STAKE_REMOVED", 3: "TYPE_FUNDS_DEPOSITED", 4: "TYPE_SIGNER_ADDED", 5: "TYPE_SIGNER_REMOVED", 6: "TYPE_BRIDGE_STOPPED", 7: "TYPE_BRIDGE_RESUMED", 8: "TYPE_ASSET_LISTED", 9: "TYPE_LIMITS_UPDATED", 10: "TYPE_STAKE_TOTAL_SUPPLY", 11: "TYPE_SIGNER_THRESHOLD_SET", 12: "TYPE_GOVERNANCE_VALIDATE_ASSET", } NodeVote_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_STAKE_DEPOSITED": 1, "TYPE_STAKE_REMOVED": 2, "TYPE_FUNDS_DEPOSITED": 3, "TYPE_SIGNER_ADDED": 4, "TYPE_SIGNER_REMOVED": 5, "TYPE_BRIDGE_STOPPED": 6, "TYPE_BRIDGE_RESUMED": 7, "TYPE_ASSET_LISTED": 8, "TYPE_LIMITS_UPDATED": 9, "TYPE_STAKE_TOTAL_SUPPLY": 10, "TYPE_SIGNER_THRESHOLD_SET": 11, "TYPE_GOVERNANCE_VALIDATE_ASSET": 12, } )
Enum value maps for NodeVote_Type.
var File_vega_commands_v1_commands_proto protoreflect.FileDescriptor
var File_vega_commands_v1_data_proto protoreflect.FileDescriptor
var File_vega_commands_v1_signature_proto protoreflect.FileDescriptor
var File_vega_commands_v1_transaction_proto protoreflect.FileDescriptor
var File_vega_commands_v1_validator_commands_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AnnounceNode ¶
type AnnounceNode struct { // Vega public key, required field VegaPubKey string `protobuf:"bytes,1,opt,name=vega_pub_key,json=vegaPubKey,proto3" json:"vega_pub_key,omitempty"` // Ethereum public key, required field EthereumAddress string `protobuf:"bytes,2,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` // Public key for the blockchain, required field ChainPubKey string `protobuf:"bytes,3,opt,name=chain_pub_key,json=chainPubKey,proto3" json:"chain_pub_key,omitempty"` // URL with more info on the node InfoUrl string `protobuf:"bytes,4,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,5,opt,name=country,proto3" json:"country,omitempty"` // ID of the validator, (public master key) Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,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"` // The epoch from which the validator is expected // to be ready to validate blocks FromEpoch uint64 `protobuf:"varint,10,opt,name=from_epoch,json=fromEpoch,proto3" json:"from_epoch,omitempty"` // Signature from the validator made using the ethereum wallet EthereumSignature *Signature `protobuf:"bytes,11,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"` // Signature from the validator made using the Vega wallet VegaSignature *Signature `protobuf:"bytes,12,opt,name=vega_signature,json=vegaSignature,proto3" json:"vega_signature,omitempty"` // Ethereum public key to use as a submitter to allow automatic signature generation SubmitterAddress string `protobuf:"bytes,13,opt,name=submitter_address,json=submitterAddress,proto3" json:"submitter_address,omitempty"` // contains filtered or unexported fields }
Used to announce a node as a new pending validator
func (*AnnounceNode) Descriptor
deprecated
func (*AnnounceNode) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceNode.ProtoReflect.Descriptor instead.
func (*AnnounceNode) GetAvatarUrl ¶
func (x *AnnounceNode) GetAvatarUrl() string
func (*AnnounceNode) GetChainPubKey ¶
func (x *AnnounceNode) GetChainPubKey() string
func (*AnnounceNode) GetCountry ¶
func (x *AnnounceNode) GetCountry() string
func (*AnnounceNode) GetEthereumAddress ¶
func (x *AnnounceNode) GetEthereumAddress() string
func (*AnnounceNode) GetEthereumSignature ¶
func (x *AnnounceNode) GetEthereumSignature() *Signature
func (*AnnounceNode) GetFromEpoch ¶
func (x *AnnounceNode) GetFromEpoch() uint64
func (*AnnounceNode) GetId ¶
func (x *AnnounceNode) GetId() string
func (*AnnounceNode) GetInfoUrl ¶
func (x *AnnounceNode) GetInfoUrl() string
func (*AnnounceNode) GetName ¶
func (x *AnnounceNode) GetName() string
func (*AnnounceNode) GetSubmitterAddress ¶ added in v0.55.0
func (x *AnnounceNode) GetSubmitterAddress() string
func (*AnnounceNode) GetVegaPubKey ¶
func (x *AnnounceNode) GetVegaPubKey() string
func (*AnnounceNode) GetVegaPubKeyIndex ¶
func (x *AnnounceNode) GetVegaPubKeyIndex() uint32
func (*AnnounceNode) GetVegaSignature ¶
func (x *AnnounceNode) GetVegaSignature() *Signature
func (*AnnounceNode) ProtoMessage ¶
func (*AnnounceNode) ProtoMessage()
func (*AnnounceNode) ProtoReflect ¶
func (x *AnnounceNode) ProtoReflect() protoreflect.Message
func (*AnnounceNode) Reset ¶
func (x *AnnounceNode) Reset()
func (*AnnounceNode) String ¶
func (x *AnnounceNode) String() string
type BatchMarketInstructions ¶ added in v0.55.0
type BatchMarketInstructions struct { // A list of order cancellations to be processed sequentially Cancellations []*OrderCancellation `protobuf:"bytes,1,rep,name=cancellations,proto3" json:"cancellations,omitempty"` // A list of order amendments to be processed sequentially Amendments []*OrderAmendment `protobuf:"bytes,2,rep,name=amendments,proto3" json:"amendments,omitempty"` // A list of order submissions to be processed sequentially Submissions []*OrderSubmission `protobuf:"bytes,3,rep,name=submissions,proto3" json:"submissions,omitempty"` // contains filtered or unexported fields }
A batch of order instructions. This command accepts only the following batches of commands and will be processed in the following order: - OrderCancellation - OrderAmendment - OrderSubmission The total amount of commands in the batch across all three lists of instructions is restricted by the following network parameter: "spam.protection.max.batchSize"
func (*BatchMarketInstructions) Descriptor
deprecated
added in
v0.55.0
func (*BatchMarketInstructions) Descriptor() ([]byte, []int)
Deprecated: Use BatchMarketInstructions.ProtoReflect.Descriptor instead.
func (*BatchMarketInstructions) GetAmendments ¶ added in v0.55.0
func (x *BatchMarketInstructions) GetAmendments() []*OrderAmendment
func (*BatchMarketInstructions) GetCancellations ¶ added in v0.55.0
func (x *BatchMarketInstructions) GetCancellations() []*OrderCancellation
func (*BatchMarketInstructions) GetSubmissions ¶ added in v0.55.0
func (x *BatchMarketInstructions) GetSubmissions() []*OrderSubmission
func (*BatchMarketInstructions) ProtoMessage ¶ added in v0.55.0
func (*BatchMarketInstructions) ProtoMessage()
func (*BatchMarketInstructions) ProtoReflect ¶ added in v0.55.0
func (x *BatchMarketInstructions) ProtoReflect() protoreflect.Message
func (*BatchMarketInstructions) Reset ¶ added in v0.55.0
func (x *BatchMarketInstructions) Reset()
func (*BatchMarketInstructions) String ¶ added in v0.55.0
func (x *BatchMarketInstructions) String() string
type CancelTransfer ¶
type CancelTransfer struct { // The ID of the transfer to cancel TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"` // contains filtered or unexported fields }
A request for cancelling a recurring transfer
func (*CancelTransfer) Descriptor
deprecated
func (*CancelTransfer) Descriptor() ([]byte, []int)
Deprecated: Use CancelTransfer.ProtoReflect.Descriptor instead.
func (*CancelTransfer) GetTransferId ¶
func (x *CancelTransfer) GetTransferId() string
func (*CancelTransfer) ProtoMessage ¶
func (*CancelTransfer) ProtoMessage()
func (*CancelTransfer) ProtoReflect ¶
func (x *CancelTransfer) ProtoReflect() protoreflect.Message
func (*CancelTransfer) Reset ¶
func (x *CancelTransfer) Reset()
func (*CancelTransfer) String ¶
func (x *CancelTransfer) String() string
type ChainEvent ¶
type ChainEvent struct { // The identifier of the transaction in which the events happened, usually a hash TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // Arbitrary one-time integer used to prevent replay attacks Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // The event // // Types that are assignable to Event: // // *ChainEvent_Builtin // *ChainEvent_Erc20 // *ChainEvent_StakingEvent // *ChainEvent_Erc20Multisig Event isChainEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
An event forwarded to the Vega network to provide information on events happening on other networks
func (*ChainEvent) Descriptor
deprecated
func (*ChainEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChainEvent.ProtoReflect.Descriptor instead.
func (*ChainEvent) GetBuiltin ¶
func (x *ChainEvent) GetBuiltin() *vega.BuiltinAssetEvent
func (*ChainEvent) GetErc20 ¶
func (x *ChainEvent) GetErc20() *vega.ERC20Event
func (*ChainEvent) GetErc20Multisig ¶
func (x *ChainEvent) GetErc20Multisig() *vega.ERC20MultiSigEvent
func (*ChainEvent) GetEvent ¶
func (m *ChainEvent) GetEvent() isChainEvent_Event
func (*ChainEvent) GetNonce ¶
func (x *ChainEvent) GetNonce() uint64
func (*ChainEvent) GetStakingEvent ¶
func (x *ChainEvent) GetStakingEvent() *vega.StakingEvent
func (*ChainEvent) GetTxId ¶
func (x *ChainEvent) GetTxId() string
func (*ChainEvent) ProtoMessage ¶
func (*ChainEvent) ProtoMessage()
func (*ChainEvent) ProtoReflect ¶
func (x *ChainEvent) ProtoReflect() protoreflect.Message
func (*ChainEvent) Reset ¶
func (x *ChainEvent) Reset()
func (*ChainEvent) String ¶
func (x *ChainEvent) String() string
type ChainEvent_Builtin ¶
type ChainEvent_Builtin struct { // Built-in asset event Builtin *vega.BuiltinAssetEvent `protobuf:"bytes,1001,opt,name=builtin,proto3,oneof"` }
type ChainEvent_Erc20 ¶
type ChainEvent_Erc20 struct { // Ethereum ERC20 event Erc20 *vega.ERC20Event `protobuf:"bytes,1002,opt,name=erc20,proto3,oneof"` }
type ChainEvent_Erc20Multisig ¶
type ChainEvent_Erc20Multisig struct { // Ethereum ERC20 multisig event Erc20Multisig *vega.ERC20MultiSigEvent `protobuf:"bytes,1006,opt,name=erc20_multisig,json=erc20Multisig,proto3,oneof"` }
type ChainEvent_StakingEvent ¶
type ChainEvent_StakingEvent struct { // Ethereum Staking event StakingEvent *vega.StakingEvent `protobuf:"bytes,1005,opt,name=staking_event,json=stakingEvent,proto3,oneof"` }
type DelegateSubmission ¶
type DelegateSubmission struct { // The ID for the node to delegate to NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // The amount of stake to delegate // This field is an unsigned integer passed as a string and needs to be scaled using the asset decimal places for the token. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
A command to submit an instruction to delegate some stake to a node
func (*DelegateSubmission) Descriptor
deprecated
func (*DelegateSubmission) Descriptor() ([]byte, []int)
Deprecated: Use DelegateSubmission.ProtoReflect.Descriptor instead.
func (*DelegateSubmission) GetAmount ¶
func (x *DelegateSubmission) GetAmount() string
func (*DelegateSubmission) GetNodeId ¶
func (x *DelegateSubmission) GetNodeId() string
func (*DelegateSubmission) ProtoMessage ¶
func (*DelegateSubmission) ProtoMessage()
func (*DelegateSubmission) ProtoReflect ¶
func (x *DelegateSubmission) ProtoReflect() protoreflect.Message
func (*DelegateSubmission) Reset ¶
func (x *DelegateSubmission) Reset()
func (*DelegateSubmission) String ¶
func (x *DelegateSubmission) String() string
type EthereumKeyRotateSubmission ¶
type EthereumKeyRotateSubmission struct { // Target block at which the key rotation will take effect on TargetBlock uint64 `protobuf:"varint,1,opt,name=target_block,json=targetBlock,proto3" json:"target_block,omitempty"` // The new address to rotate to NewAddress string `protobuf:"bytes,2,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"` // Currently used public address CurrentAddress string `protobuf:"bytes,3,opt,name=current_address,json=currentAddress,proto3" json:"current_address,omitempty"` // Ethereum public key to use as a submitter to allow automatic signature generation SubmitterAddress string `protobuf:"bytes,4,opt,name=submitter_address,json=submitterAddress,proto3" json:"submitter_address,omitempty"` // Signature that can be verified using the new ethereum address EthereumSignature *Signature `protobuf:"bytes,5,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"` // contains filtered or unexported fields }
A transaction to allow a validator to rotate their ethereum keys
func (*EthereumKeyRotateSubmission) Descriptor
deprecated
func (*EthereumKeyRotateSubmission) Descriptor() ([]byte, []int)
Deprecated: Use EthereumKeyRotateSubmission.ProtoReflect.Descriptor instead.
func (*EthereumKeyRotateSubmission) GetCurrentAddress ¶
func (x *EthereumKeyRotateSubmission) GetCurrentAddress() string
func (*EthereumKeyRotateSubmission) GetEthereumSignature ¶ added in v0.58.0
func (x *EthereumKeyRotateSubmission) GetEthereumSignature() *Signature
func (*EthereumKeyRotateSubmission) GetNewAddress ¶
func (x *EthereumKeyRotateSubmission) GetNewAddress() string
func (*EthereumKeyRotateSubmission) GetSubmitterAddress ¶ added in v0.55.0
func (x *EthereumKeyRotateSubmission) GetSubmitterAddress() string
func (*EthereumKeyRotateSubmission) GetTargetBlock ¶
func (x *EthereumKeyRotateSubmission) GetTargetBlock() uint64
func (*EthereumKeyRotateSubmission) ProtoMessage ¶
func (*EthereumKeyRotateSubmission) ProtoMessage()
func (*EthereumKeyRotateSubmission) ProtoReflect ¶
func (x *EthereumKeyRotateSubmission) ProtoReflect() protoreflect.Message
func (*EthereumKeyRotateSubmission) Reset ¶
func (x *EthereumKeyRotateSubmission) Reset()
func (*EthereumKeyRotateSubmission) String ¶
func (x *EthereumKeyRotateSubmission) String() string
type InputData ¶
type InputData struct { // A number to provide uniqueness to prevent accidental replays and, // in combination with `block_height`, deliberate attacks. // A nonce provides uniqueness for otherwise identical transactions, // ensuring that the transaction hash uniquely identifies a specific transaction. // Granted all other fields are equal, the nonce can either be a counter // or generated at random to submit multiple transactions within the same // block (see below), without being identified as replays. // Please note that Protocol Buffers do not have a canonical, unique encoding // and therefore different libraries or binaries may encode the same message // slightly differently, causing a different hash. Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // The block height at which the transaction was made. // This should be the current block height. The transaction will be valid // from the block and up to the `tolerance` block height. // Example: If the network has a tolerance of 150 blocks and `block_height` // is set to `200`, then the transaction will be valid until block `350`. // Note that a `block_height` that is ahead of the real block height will be // rejected. The tolerance can be queried from the chain's network parameters. // `block_height` prevents replay attacks in conjunction with `nonce` (see above). BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Types that are assignable to Command: // // *InputData_OrderSubmission // *InputData_OrderCancellation // *InputData_OrderAmendment // *InputData_WithdrawSubmission // *InputData_ProposalSubmission // *InputData_VoteSubmission // *InputData_LiquidityProvisionSubmission // *InputData_DelegateSubmission // *InputData_UndelegateSubmission // *InputData_LiquidityProvisionCancellation // *InputData_LiquidityProvisionAmendment // *InputData_Transfer // *InputData_CancelTransfer // *InputData_AnnounceNode // *InputData_BatchMarketInstructions // *InputData_NodeVote // *InputData_NodeSignature // *InputData_ChainEvent // *InputData_KeyRotateSubmission // *InputData_StateVariableProposal // *InputData_ValidatorHeartbeat // *InputData_EthereumKeyRotateSubmission // *InputData_ProtocolUpgradeProposal // *InputData_IssueSignatures // *InputData_OracleDataSubmission Command isInputData_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
func (*InputData) Descriptor
deprecated
func (*InputData) GetAnnounceNode ¶
func (x *InputData) GetAnnounceNode() *AnnounceNode
func (*InputData) GetBatchMarketInstructions ¶ added in v0.55.0
func (x *InputData) GetBatchMarketInstructions() *BatchMarketInstructions
func (*InputData) GetBlockHeight ¶
func (*InputData) GetCancelTransfer ¶
func (x *InputData) GetCancelTransfer() *CancelTransfer
func (*InputData) GetChainEvent ¶
func (x *InputData) GetChainEvent() *ChainEvent
func (*InputData) GetCommand ¶
func (m *InputData) GetCommand() isInputData_Command
func (*InputData) GetDelegateSubmission ¶
func (x *InputData) GetDelegateSubmission() *DelegateSubmission
func (*InputData) GetEthereumKeyRotateSubmission ¶
func (x *InputData) GetEthereumKeyRotateSubmission() *EthereumKeyRotateSubmission
func (*InputData) GetIssueSignatures ¶ added in v0.55.0
func (x *InputData) GetIssueSignatures() *IssueSignatures
func (*InputData) GetKeyRotateSubmission ¶
func (x *InputData) GetKeyRotateSubmission() *KeyRotateSubmission
func (*InputData) GetLiquidityProvisionAmendment ¶
func (x *InputData) GetLiquidityProvisionAmendment() *LiquidityProvisionAmendment
func (*InputData) GetLiquidityProvisionCancellation ¶
func (x *InputData) GetLiquidityProvisionCancellation() *LiquidityProvisionCancellation
func (*InputData) GetLiquidityProvisionSubmission ¶
func (x *InputData) GetLiquidityProvisionSubmission() *LiquidityProvisionSubmission
func (*InputData) GetNodeSignature ¶
func (x *InputData) GetNodeSignature() *NodeSignature
func (*InputData) GetNodeVote ¶
func (*InputData) GetOracleDataSubmission ¶
func (x *InputData) GetOracleDataSubmission() *OracleDataSubmission
func (*InputData) GetOrderAmendment ¶
func (x *InputData) GetOrderAmendment() *OrderAmendment
func (*InputData) GetOrderCancellation ¶
func (x *InputData) GetOrderCancellation() *OrderCancellation
func (*InputData) GetOrderSubmission ¶
func (x *InputData) GetOrderSubmission() *OrderSubmission
func (*InputData) GetProposalSubmission ¶
func (x *InputData) GetProposalSubmission() *ProposalSubmission
func (*InputData) GetProtocolUpgradeProposal ¶
func (x *InputData) GetProtocolUpgradeProposal() *ProtocolUpgradeProposal
func (*InputData) GetStateVariableProposal ¶
func (x *InputData) GetStateVariableProposal() *StateVariableProposal
func (*InputData) GetTransfer ¶
func (*InputData) GetUndelegateSubmission ¶
func (x *InputData) GetUndelegateSubmission() *UndelegateSubmission
func (*InputData) GetValidatorHeartbeat ¶
func (x *InputData) GetValidatorHeartbeat() *ValidatorHeartbeat
func (*InputData) GetVoteSubmission ¶
func (x *InputData) GetVoteSubmission() *VoteSubmission
func (*InputData) GetWithdrawSubmission ¶
func (x *InputData) GetWithdrawSubmission() *WithdrawSubmission
func (*InputData) ProtoMessage ¶
func (*InputData) ProtoMessage()
func (*InputData) ProtoReflect ¶
func (x *InputData) ProtoReflect() protoreflect.Message
type InputData_AnnounceNode ¶
type InputData_AnnounceNode struct { // A command used by a node operator to announce its node as a pending validator AnnounceNode *AnnounceNode `protobuf:"bytes,1014,opt,name=announce_node,json=announceNode,proto3,oneof"` }
type InputData_BatchMarketInstructions ¶ added in v0.55.0
type InputData_BatchMarketInstructions struct { // A command to submit a batch of order instructions to a market BatchMarketInstructions *BatchMarketInstructions `protobuf:"bytes,1015,opt,name=batch_market_instructions,json=batchMarketInstructions,proto3,oneof"` }
type InputData_CancelTransfer ¶
type InputData_CancelTransfer struct { // A command to request cancelling a recurring transfer CancelTransfer *CancelTransfer `protobuf:"bytes,1013,opt,name=cancel_transfer,json=cancelTransfer,proto3,oneof"` }
type InputData_ChainEvent ¶
type InputData_ChainEvent struct { // Command used by a validator to submit an event forwarded to the Vega network to provide information // on events happening on other networks, to be used by a foreign chain // to recognise a decision taken by the Vega network ChainEvent *ChainEvent `protobuf:"bytes,2004,opt,name=chain_event,json=chainEvent,proto3,oneof"` }
type InputData_DelegateSubmission ¶
type InputData_DelegateSubmission struct { // Command to delegate tokens to a validator DelegateSubmission *DelegateSubmission `protobuf:"bytes,1008,opt,name=delegate_submission,json=delegateSubmission,proto3,oneof"` }
type InputData_EthereumKeyRotateSubmission ¶
type InputData_EthereumKeyRotateSubmission struct { // Command used by a validator to allow given validator to rotate their Ethereum keys EthereumKeyRotateSubmission *EthereumKeyRotateSubmission `protobuf:"bytes,2008,opt,name=ethereum_key_rotate_submission,json=ethereumKeyRotateSubmission,proto3,oneof"` }
type InputData_IssueSignatures ¶ added in v0.55.0
type InputData_IssueSignatures struct { // Command used by a validator to submit signatures to a smart contract IssueSignatures *IssueSignatures `protobuf:"bytes,2010,opt,name=issue_signatures,json=issueSignatures,proto3,oneof"` }
type InputData_KeyRotateSubmission ¶
type InputData_KeyRotateSubmission struct { // Command used by a validator to allow given validator to rotate their Vega keys KeyRotateSubmission *KeyRotateSubmission `protobuf:"bytes,2005,opt,name=key_rotate_submission,json=keyRotateSubmission,proto3,oneof"` }
type InputData_LiquidityProvisionAmendment ¶
type InputData_LiquidityProvisionAmendment struct { // Command to request amending a liquidity commitment LiquidityProvisionAmendment *LiquidityProvisionAmendment `protobuf:"bytes,1011,opt,name=liquidity_provision_amendment,json=liquidityProvisionAmendment,proto3,oneof"` }
type InputData_LiquidityProvisionCancellation ¶
type InputData_LiquidityProvisionCancellation struct { // Command to request cancelling a liquidity commitment LiquidityProvisionCancellation *LiquidityProvisionCancellation `protobuf:"bytes,1010,opt,name=liquidity_provision_cancellation,json=liquidityProvisionCancellation,proto3,oneof"` }
type InputData_LiquidityProvisionSubmission ¶
type InputData_LiquidityProvisionSubmission struct { // Command to submit a liquidity commitment LiquidityProvisionSubmission *LiquidityProvisionSubmission `protobuf:"bytes,1007,opt,name=liquidity_provision_submission,json=liquidityProvisionSubmission,proto3,oneof"` }
type InputData_NodeSignature ¶
type InputData_NodeSignature struct { // Command used by a validator to submit a signature, to be used by a foreign chain to recognise a decision taken by the Vega network NodeSignature *NodeSignature `protobuf:"bytes,2003,opt,name=node_signature,json=nodeSignature,proto3,oneof"` }
type InputData_NodeVote ¶
type InputData_NodeVote struct { // Validator commands // Command used by a validator when a node votes for validating that a given resource exists or is valid, // for example, an ERC20 deposit is valid and exists on ethereum NodeVote *NodeVote `protobuf:"bytes,2002,opt,name=node_vote,json=nodeVote,proto3,oneof"` }
type InputData_OracleDataSubmission ¶
type InputData_OracleDataSubmission struct { // Oracles // Command to submit new oracle data from third party providers OracleDataSubmission *OracleDataSubmission `protobuf:"bytes,3001,opt,name=oracle_data_submission,json=oracleDataSubmission,proto3,oneof"` }
type InputData_OrderAmendment ¶
type InputData_OrderAmendment struct { // Command to amend an order OrderAmendment *OrderAmendment `protobuf:"bytes,1003,opt,name=order_amendment,json=orderAmendment,proto3,oneof"` }
type InputData_OrderCancellation ¶
type InputData_OrderCancellation struct { // User commands // Command to cancel an order OrderCancellation *OrderCancellation `protobuf:"bytes,1002,opt,name=order_cancellation,json=orderCancellation,proto3,oneof"` }
type InputData_OrderSubmission ¶
type InputData_OrderSubmission struct { // A command for submitting an order OrderSubmission *OrderSubmission `protobuf:"bytes,1001,opt,name=order_submission,json=orderSubmission,proto3,oneof"` }
type InputData_ProposalSubmission ¶
type InputData_ProposalSubmission struct { // Command to submit a governance proposal ProposalSubmission *ProposalSubmission `protobuf:"bytes,1005,opt,name=proposal_submission,json=proposalSubmission,proto3,oneof"` }
type InputData_ProtocolUpgradeProposal ¶
type InputData_ProtocolUpgradeProposal struct { // Command used by a validator to propose a protocol upgrade ProtocolUpgradeProposal *ProtocolUpgradeProposal `protobuf:"bytes,2009,opt,name=protocol_upgrade_proposal,json=protocolUpgradeProposal,proto3,oneof"` }
type InputData_StateVariableProposal ¶
type InputData_StateVariableProposal struct { // Command used by a validator to submit a floating point value StateVariableProposal *StateVariableProposal `protobuf:"bytes,2006,opt,name=state_variable_proposal,json=stateVariableProposal,proto3,oneof"` }
type InputData_Transfer ¶
type InputData_Transfer struct { // Command to submit a transfer Transfer *Transfer `protobuf:"bytes,1012,opt,name=transfer,proto3,oneof"` }
type InputData_UndelegateSubmission ¶
type InputData_UndelegateSubmission struct { // Command to remove tokens delegated to a validator UndelegateSubmission *UndelegateSubmission `protobuf:"bytes,1009,opt,name=undelegate_submission,json=undelegateSubmission,proto3,oneof"` }
type InputData_ValidatorHeartbeat ¶
type InputData_ValidatorHeartbeat struct { // Command used by a validator to signal they are still online and validating blocks // or ready to validate blocks when they are still a pending validator ValidatorHeartbeat *ValidatorHeartbeat `protobuf:"bytes,2007,opt,name=validator_heartbeat,json=validatorHeartbeat,proto3,oneof"` }
type InputData_VoteSubmission ¶
type InputData_VoteSubmission struct { // Command to submit a vote on a governance proposal VoteSubmission *VoteSubmission `protobuf:"bytes,1006,opt,name=vote_submission,json=voteSubmission,proto3,oneof"` }
type InputData_WithdrawSubmission ¶
type InputData_WithdrawSubmission struct { // Command to submit a withdrawal WithdrawSubmission *WithdrawSubmission `protobuf:"bytes,1004,opt,name=withdraw_submission,json=withdrawSubmission,proto3,oneof"` }
type IssueSignatures ¶ added in v0.55.0
type IssueSignatures struct { // The ethereum address which will submit the signatures to the smart contract Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` // The kind of signatures to generate, namely for whether a signer is being added or removed Kind NodeSignatureKind `protobuf:"varint,2,opt,name=kind,proto3,enum=vega.commands.v1.NodeSignatureKind" json:"kind,omitempty"` // The ID of the node that will be signed in or out of the smart contract ValidatorNodeId string `protobuf:"bytes,3,opt,name=validator_node_id,json=validatorNodeId,proto3" json:"validator_node_id,omitempty"` // the node for which to emit the signatures. // contains filtered or unexported fields }
A transaction for a validator to submit signatures to a smart contract
func (*IssueSignatures) Descriptor
deprecated
added in
v0.55.0
func (*IssueSignatures) Descriptor() ([]byte, []int)
Deprecated: Use IssueSignatures.ProtoReflect.Descriptor instead.
func (*IssueSignatures) GetKind ¶ added in v0.55.0
func (x *IssueSignatures) GetKind() NodeSignatureKind
func (*IssueSignatures) GetSubmitter ¶ added in v0.55.0
func (x *IssueSignatures) GetSubmitter() string
func (*IssueSignatures) GetValidatorNodeId ¶ added in v0.55.0
func (x *IssueSignatures) GetValidatorNodeId() string
func (*IssueSignatures) ProtoMessage ¶ added in v0.55.0
func (*IssueSignatures) ProtoMessage()
func (*IssueSignatures) ProtoReflect ¶ added in v0.55.0
func (x *IssueSignatures) ProtoReflect() protoreflect.Message
func (*IssueSignatures) Reset ¶ added in v0.55.0
func (x *IssueSignatures) Reset()
func (*IssueSignatures) String ¶ added in v0.55.0
func (x *IssueSignatures) String() string
type KeyRotateSubmission ¶
type KeyRotateSubmission struct { // New Vega public key derivation index NewPubKeyIndex uint32 `protobuf:"varint,1,opt,name=new_pub_key_index,json=newPubKeyIndex,proto3" json:"new_pub_key_index,omitempty"` // Target block at which the key rotation will take effect on TargetBlock uint64 `protobuf:"varint,2,opt,name=target_block,json=targetBlock,proto3" json:"target_block,omitempty"` // The new public key to rotate to NewPubKey string `protobuf:"bytes,3,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"` // Hash of currently used public key CurrentPubKeyHash string `protobuf:"bytes,4,opt,name=current_pub_key_hash,json=currentPubKeyHash,proto3" json:"current_pub_key_hash,omitempty"` // contains filtered or unexported fields }
A transaction to allow a validator to rotate their Vega keys
func (*KeyRotateSubmission) Descriptor
deprecated
func (*KeyRotateSubmission) Descriptor() ([]byte, []int)
Deprecated: Use KeyRotateSubmission.ProtoReflect.Descriptor instead.
func (*KeyRotateSubmission) GetCurrentPubKeyHash ¶
func (x *KeyRotateSubmission) GetCurrentPubKeyHash() string
func (*KeyRotateSubmission) GetNewPubKey ¶
func (x *KeyRotateSubmission) GetNewPubKey() string
func (*KeyRotateSubmission) GetNewPubKeyIndex ¶
func (x *KeyRotateSubmission) GetNewPubKeyIndex() uint32
func (*KeyRotateSubmission) GetTargetBlock ¶
func (x *KeyRotateSubmission) GetTargetBlock() uint64
func (*KeyRotateSubmission) ProtoMessage ¶
func (*KeyRotateSubmission) ProtoMessage()
func (*KeyRotateSubmission) ProtoReflect ¶
func (x *KeyRotateSubmission) ProtoReflect() protoreflect.Message
func (*KeyRotateSubmission) Reset ¶
func (x *KeyRotateSubmission) Reset()
func (*KeyRotateSubmission) String ¶
func (x *KeyRotateSubmission) String() string
type LiquidityProvisionAmendment ¶
type LiquidityProvisionAmendment struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Unique ID for the market with the liquidity provision to be amended // From here at least one of the following is required to consider the command valid CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` // an empty strings means no change Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // an empty strings means no change Sells []*vega.LiquidityOrder `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"` // empty slice means no change Buys []*vega.LiquidityOrder `protobuf:"bytes,5,rep,name=buys,proto3" json:"buys,omitempty"` // empty slice means no change Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // empty string means no change // contains filtered or unexported fields }
Amend a liquidity provision request
func (*LiquidityProvisionAmendment) Descriptor
deprecated
func (*LiquidityProvisionAmendment) Descriptor() ([]byte, []int)
Deprecated: Use LiquidityProvisionAmendment.ProtoReflect.Descriptor instead.
func (*LiquidityProvisionAmendment) GetBuys ¶
func (x *LiquidityProvisionAmendment) GetBuys() []*vega.LiquidityOrder
func (*LiquidityProvisionAmendment) GetCommitmentAmount ¶
func (x *LiquidityProvisionAmendment) GetCommitmentAmount() string
func (*LiquidityProvisionAmendment) GetFee ¶
func (x *LiquidityProvisionAmendment) GetFee() string
func (*LiquidityProvisionAmendment) GetMarketId ¶
func (x *LiquidityProvisionAmendment) GetMarketId() string
func (*LiquidityProvisionAmendment) GetReference ¶
func (x *LiquidityProvisionAmendment) GetReference() string
func (*LiquidityProvisionAmendment) GetSells ¶
func (x *LiquidityProvisionAmendment) GetSells() []*vega.LiquidityOrder
func (*LiquidityProvisionAmendment) ProtoMessage ¶
func (*LiquidityProvisionAmendment) ProtoMessage()
func (*LiquidityProvisionAmendment) ProtoReflect ¶
func (x *LiquidityProvisionAmendment) ProtoReflect() protoreflect.Message
func (*LiquidityProvisionAmendment) Reset ¶
func (x *LiquidityProvisionAmendment) Reset()
func (*LiquidityProvisionAmendment) String ¶
func (x *LiquidityProvisionAmendment) String() string
type LiquidityProvisionCancellation ¶
type LiquidityProvisionCancellation struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Unique ID for the market with the liquidity provision to be cancelled // contains filtered or unexported fields }
Cancel a liquidity provision request
func (*LiquidityProvisionCancellation) Descriptor
deprecated
func (*LiquidityProvisionCancellation) Descriptor() ([]byte, []int)
Deprecated: Use LiquidityProvisionCancellation.ProtoReflect.Descriptor instead.
func (*LiquidityProvisionCancellation) GetMarketId ¶
func (x *LiquidityProvisionCancellation) GetMarketId() string
func (*LiquidityProvisionCancellation) ProtoMessage ¶
func (*LiquidityProvisionCancellation) ProtoMessage()
func (*LiquidityProvisionCancellation) ProtoReflect ¶
func (x *LiquidityProvisionCancellation) ProtoReflect() protoreflect.Message
func (*LiquidityProvisionCancellation) Reset ¶
func (x *LiquidityProvisionCancellation) Reset()
func (*LiquidityProvisionCancellation) String ¶
func (x *LiquidityProvisionCancellation) String() string
type LiquidityProvisionSubmission ¶
type LiquidityProvisionSubmission struct { // Market identifier for the order, required field MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Specified as a unitless number that represents the amount of settlement asset of the market // This field is an unsigned integer passed as a string and needs to be scaled using the asset decimal places. CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` // Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market, as per setting fees and rewarding liquidity providers Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // A set of liquidity sell orders to meet the liquidity provision obligation Sells []*vega.LiquidityOrder `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"` // A set of liquidity buy orders to meet the liquidity provision obligation Buys []*vega.LiquidityOrder `protobuf:"bytes,5,rep,name=buys,proto3" json:"buys,omitempty"` // A reference to be added to every order created out of this liquidityProvisionSubmission Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
A liquidity provision submitted for a given market
func (*LiquidityProvisionSubmission) Descriptor
deprecated
func (*LiquidityProvisionSubmission) Descriptor() ([]byte, []int)
Deprecated: Use LiquidityProvisionSubmission.ProtoReflect.Descriptor instead.
func (*LiquidityProvisionSubmission) GetBuys ¶
func (x *LiquidityProvisionSubmission) GetBuys() []*vega.LiquidityOrder
func (*LiquidityProvisionSubmission) GetCommitmentAmount ¶
func (x *LiquidityProvisionSubmission) GetCommitmentAmount() string
func (*LiquidityProvisionSubmission) GetFee ¶
func (x *LiquidityProvisionSubmission) GetFee() string
func (*LiquidityProvisionSubmission) GetMarketId ¶
func (x *LiquidityProvisionSubmission) GetMarketId() string
func (*LiquidityProvisionSubmission) GetReference ¶
func (x *LiquidityProvisionSubmission) GetReference() string
func (*LiquidityProvisionSubmission) GetSells ¶
func (x *LiquidityProvisionSubmission) GetSells() []*vega.LiquidityOrder
func (*LiquidityProvisionSubmission) ProtoMessage ¶
func (*LiquidityProvisionSubmission) ProtoMessage()
func (*LiquidityProvisionSubmission) ProtoReflect ¶
func (x *LiquidityProvisionSubmission) ProtoReflect() protoreflect.Message
func (*LiquidityProvisionSubmission) Reset ¶
func (x *LiquidityProvisionSubmission) Reset()
func (*LiquidityProvisionSubmission) String ¶
func (x *LiquidityProvisionSubmission) String() string
type NodeSignature ¶
type NodeSignature struct { // The identifier of the resource being signed Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The signature Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // The kind of resource being signed Kind NodeSignatureKind `protobuf:"varint,3,opt,name=kind,proto3,enum=vega.commands.v1.NodeSignatureKind" json:"kind,omitempty"` // contains filtered or unexported fields }
Represents a signature from a validator, to be used by a foreign chain in order to recognise a decision taken by the Vega network
func (NodeSignature) DeepClone ¶
func (n NodeSignature) DeepClone() *NodeSignature
func (*NodeSignature) Descriptor
deprecated
func (*NodeSignature) Descriptor() ([]byte, []int)
Deprecated: Use NodeSignature.ProtoReflect.Descriptor instead.
func (*NodeSignature) GetId ¶
func (x *NodeSignature) GetId() string
func (*NodeSignature) GetKind ¶
func (x *NodeSignature) GetKind() NodeSignatureKind
func (*NodeSignature) GetSig ¶
func (x *NodeSignature) GetSig() []byte
func (NodeSignature) IsEvent ¶
func (NodeSignature) IsEvent()
IsEvent required for graphql event stream.
func (*NodeSignature) ProtoMessage ¶
func (*NodeSignature) ProtoMessage()
func (*NodeSignature) ProtoReflect ¶
func (x *NodeSignature) ProtoReflect() protoreflect.Message
func (*NodeSignature) Reset ¶
func (x *NodeSignature) Reset()
func (*NodeSignature) String ¶
func (x *NodeSignature) String() string
type NodeSignatureKind ¶
type NodeSignatureKind int32
The kind of signature created by a node, for example, allow-listing a new asset, withdrawal etc
const ( // Represents an unspecified or missing value from the input NodeSignatureKind_NODE_SIGNATURE_KIND_UNSPECIFIED NodeSignatureKind = 0 // Represents a signature for a new asset allow-listing NodeSignatureKind_NODE_SIGNATURE_KIND_ASSET_NEW NodeSignatureKind = 1 // Represents a signature for an asset withdrawal NodeSignatureKind_NODE_SIGNATURE_KIND_ASSET_WITHDRAWAL NodeSignatureKind = 2 // Represents a signature for a new signer added to the erc20 multisig contract NodeSignatureKind_NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_ADDED NodeSignatureKind = 3 // Represents a signature for a signer removed from the erc20 multisig contract NodeSignatureKind_NODE_SIGNATURE_KIND_ERC20_MULTISIG_SIGNER_REMOVED NodeSignatureKind = 4 // Represents a signature for an asset update allow-listing NodeSignatureKind_NODE_SIGNATURE_KIND_ASSET_UPDATE NodeSignatureKind = 5 )
func (NodeSignatureKind) Descriptor ¶
func (NodeSignatureKind) Descriptor() protoreflect.EnumDescriptor
func (NodeSignatureKind) Enum ¶
func (x NodeSignatureKind) Enum() *NodeSignatureKind
func (NodeSignatureKind) EnumDescriptor
deprecated
func (NodeSignatureKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeSignatureKind.Descriptor instead.
func (NodeSignatureKind) Number ¶
func (x NodeSignatureKind) Number() protoreflect.EnumNumber
func (NodeSignatureKind) String ¶
func (x NodeSignatureKind) String() string
func (NodeSignatureKind) Type ¶
func (NodeSignatureKind) Type() protoreflect.EnumType
type NodeVote ¶
type NodeVote struct { // Reference, required field Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // type of NodeVote, also required Type NodeVote_Type `protobuf:"varint,3,opt,name=type,proto3,enum=vega.commands.v1.NodeVote_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Used when a node votes for validating that a given resource exists or is valid, for example, an ERC20 deposit is valid and exists on ethereum
func (*NodeVote) Descriptor
deprecated
func (*NodeVote) GetReference ¶
func (*NodeVote) GetType ¶ added in v0.66.0
func (x *NodeVote) GetType() NodeVote_Type
func (*NodeVote) ProtoMessage ¶
func (*NodeVote) ProtoMessage()
func (*NodeVote) ProtoReflect ¶
func (x *NodeVote) ProtoReflect() protoreflect.Message
type NodeVote_Type ¶ added in v0.66.0
type NodeVote_Type int32
const ( // Represents an unspecified or missing value from the input NodeVote_TYPE_UNSPECIFIED NodeVote_Type = 0 // A node vote a new stake deposit NodeVote_TYPE_STAKE_DEPOSITED NodeVote_Type = 1 // A node vote for a new stake removed event NodeVote_TYPE_STAKE_REMOVED NodeVote_Type = 2 // A node vote for new collateral deposited NodeVote_TYPE_FUNDS_DEPOSITED NodeVote_Type = 3 // A node vote for a new signer added to the erc20 bridge NodeVote_TYPE_SIGNER_ADDED NodeVote_Type = 4 // A node vote for a signer removed from the erc20 bridge NodeVote_TYPE_SIGNER_REMOVED NodeVote_Type = 5 // A node vote for a bridge stopped event NodeVote_TYPE_BRIDGE_STOPPED NodeVote_Type = 6 // A node vote for a bridge resumed event NodeVote_TYPE_BRIDGE_RESUMED NodeVote_Type = 7 // A node vote for a newly listed asset NodeVote_TYPE_ASSET_LISTED NodeVote_Type = 8 // A node vote for an asset limits update NodeVote_TYPE_LIMITS_UPDATED NodeVote_Type = 9 // A node vote to share the total supply of the staking token NodeVote_TYPE_STAKE_TOTAL_SUPPLY NodeVote_Type = 10 // A node vote to update the threshold of the signer set for the multisig contract NodeVote_TYPE_SIGNER_THRESHOLD_SET NodeVote_Type = 11 // A node vote to validate a new assert governance proposal NodeVote_TYPE_GOVERNANCE_VALIDATE_ASSET NodeVote_Type = 12 )
func (NodeVote_Type) Descriptor ¶ added in v0.66.0
func (NodeVote_Type) Descriptor() protoreflect.EnumDescriptor
func (NodeVote_Type) Enum ¶ added in v0.66.0
func (x NodeVote_Type) Enum() *NodeVote_Type
func (NodeVote_Type) EnumDescriptor
deprecated
added in
v0.66.0
func (NodeVote_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeVote_Type.Descriptor instead.
func (NodeVote_Type) Number ¶ added in v0.66.0
func (x NodeVote_Type) Number() protoreflect.EnumNumber
func (NodeVote_Type) String ¶ added in v0.66.0
func (x NodeVote_Type) String() string
func (NodeVote_Type) Type ¶ added in v0.66.0
func (NodeVote_Type) Type() protoreflect.EnumType
type OneOffTransfer ¶
type OneOffTransfer struct { // A unix timestamp in seconds. Time at which the // transfer should be delivered into the To account DeliverOn int64 `protobuf:"varint,1,opt,name=deliver_on,json=deliverOn,proto3" json:"deliver_on,omitempty"` // contains filtered or unexported fields }
Specific details for a one off transfer
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) 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 OracleDataSubmission ¶
type OracleDataSubmission struct { // The source from which the data is coming from. Must be base64 encoded. // Oracle data is a type of external data source data. Source OracleDataSubmission_OracleSource `protobuf:"varint,1,opt,name=source,proto3,enum=vega.commands.v1.OracleDataSubmission_OracleSource" json:"source,omitempty"` // The data provided by the data source // In the case of Open Oracle - it will be the entire object - it will contain messages, signatures and price data Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Command to submit new Oracle data from third party providers
func (*OracleDataSubmission) Descriptor
deprecated
func (*OracleDataSubmission) Descriptor() ([]byte, []int)
Deprecated: Use OracleDataSubmission.ProtoReflect.Descriptor instead.
func (*OracleDataSubmission) GetPayload ¶
func (x *OracleDataSubmission) GetPayload() []byte
func (*OracleDataSubmission) GetSource ¶
func (x *OracleDataSubmission) GetSource() OracleDataSubmission_OracleSource
func (*OracleDataSubmission) ProtoMessage ¶
func (*OracleDataSubmission) ProtoMessage()
func (*OracleDataSubmission) ProtoReflect ¶
func (x *OracleDataSubmission) ProtoReflect() protoreflect.Message
func (*OracleDataSubmission) Reset ¶
func (x *OracleDataSubmission) Reset()
func (*OracleDataSubmission) String ¶
func (x *OracleDataSubmission) String() string
type OracleDataSubmission_OracleSource ¶
type OracleDataSubmission_OracleSource int32
The supported oracle sources
const ( // The default value OracleDataSubmission_ORACLE_SOURCE_UNSPECIFIED OracleDataSubmission_OracleSource = 0 // Specifies that the payload will be base64 encoded JSON conforming to the Open Oracle standard OracleDataSubmission_ORACLE_SOURCE_OPEN_ORACLE OracleDataSubmission_OracleSource = 1 // Specifies that the payload will be base64 encoded JSON, but does not specify the shape of the data OracleDataSubmission_ORACLE_SOURCE_JSON OracleDataSubmission_OracleSource = 2 )
func (OracleDataSubmission_OracleSource) Descriptor ¶
func (OracleDataSubmission_OracleSource) Descriptor() protoreflect.EnumDescriptor
func (OracleDataSubmission_OracleSource) Enum ¶
func (x OracleDataSubmission_OracleSource) Enum() *OracleDataSubmission_OracleSource
func (OracleDataSubmission_OracleSource) EnumDescriptor
deprecated
func (OracleDataSubmission_OracleSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use OracleDataSubmission_OracleSource.Descriptor instead.
func (OracleDataSubmission_OracleSource) Number ¶
func (x OracleDataSubmission_OracleSource) Number() protoreflect.EnumNumber
func (OracleDataSubmission_OracleSource) String ¶
func (x OracleDataSubmission_OracleSource) String() string
func (OracleDataSubmission_OracleSource) Type ¶
func (OracleDataSubmission_OracleSource) Type() protoreflect.EnumType
type OrderAmendment ¶
type OrderAmendment struct { // Order identifier, this is required to find the order and will not be updated, required field OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // Market identifier, this is required to find the order and will not be updated MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Amend the price for the order if the price value is set, otherwise price will remain unchanged. // This field is an unsigned integer passed as a string and needs to be scaled using the market's decimal places. Price *string `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"` // Amend the size for the order by the delta specified: // - To reduce the size from the current value set a negative integer value // - To increase the size from the current value, set a positive integer value // - To leave the size unchanged set a value of zero // This field needs to be scaled using the market's position decimal places. SizeDelta int64 `protobuf:"varint,4,opt,name=size_delta,json=sizeDelta,proto3" json:"size_delta,omitempty"` // Amend the expiry time for the order, if the Timestamp value is set, otherwise expiry time will remain unchanged // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` ExpiresAt *int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // Amend the time in force for the order, set to TIME_IN_FORCE_UNSPECIFIED to remain unchanged // - See [`TimeInForce`](#api.VegaTimeResponse).`timestamp` TimeInForce vega.Order_TimeInForce `protobuf:"varint,6,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` // Amend the pegged order offset for the order // This field is an unsigned integer passed as a string and needs to be scaled using the market's decimal places. PeggedOffset string `protobuf:"bytes,7,opt,name=pegged_offset,json=peggedOffset,proto3" json:"pegged_offset,omitempty"` // Amend the pegged order reference for the order // - See [`PeggedReference`](#vega.PeggedReference) PeggedReference vega.PeggedReference `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
An order amendment is a request to amend or update an existing order on Vega
func (*OrderAmendment) Descriptor
deprecated
func (*OrderAmendment) Descriptor() ([]byte, []int)
Deprecated: Use OrderAmendment.ProtoReflect.Descriptor instead.
func (*OrderAmendment) GetExpiresAt ¶
func (x *OrderAmendment) GetExpiresAt() int64
func (*OrderAmendment) GetMarketId ¶
func (x *OrderAmendment) GetMarketId() string
func (*OrderAmendment) GetOrderId ¶
func (x *OrderAmendment) GetOrderId() string
func (*OrderAmendment) GetPeggedOffset ¶
func (x *OrderAmendment) GetPeggedOffset() string
func (*OrderAmendment) GetPeggedReference ¶
func (x *OrderAmendment) GetPeggedReference() vega.PeggedReference
func (*OrderAmendment) GetPrice ¶
func (x *OrderAmendment) GetPrice() string
func (*OrderAmendment) GetSizeDelta ¶
func (x *OrderAmendment) GetSizeDelta() int64
func (*OrderAmendment) GetTimeInForce ¶
func (x *OrderAmendment) GetTimeInForce() vega.Order_TimeInForce
func (*OrderAmendment) ProtoMessage ¶
func (*OrderAmendment) ProtoMessage()
func (*OrderAmendment) ProtoReflect ¶
func (x *OrderAmendment) ProtoReflect() protoreflect.Message
func (*OrderAmendment) Reset ¶
func (x *OrderAmendment) Reset()
func (*OrderAmendment) String ¶
func (x *OrderAmendment) String() string
type OrderCancellation ¶
type OrderCancellation struct { // Unique identifier for the order (set by the system after consensus), required field OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // Market identifier for the order, required field MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // contains filtered or unexported fields }
An order cancellation is a request to cancel an existing order on Vega
func (*OrderCancellation) Descriptor
deprecated
func (*OrderCancellation) Descriptor() ([]byte, []int)
Deprecated: Use OrderCancellation.ProtoReflect.Descriptor instead.
func (*OrderCancellation) GetMarketId ¶
func (x *OrderCancellation) GetMarketId() string
func (*OrderCancellation) GetOrderId ¶
func (x *OrderCancellation) GetOrderId() string
func (*OrderCancellation) ProtoMessage ¶
func (*OrderCancellation) ProtoMessage()
func (*OrderCancellation) ProtoReflect ¶
func (x *OrderCancellation) ProtoReflect() protoreflect.Message
func (*OrderCancellation) Reset ¶
func (x *OrderCancellation) Reset()
func (*OrderCancellation) String ¶
func (x *OrderCancellation) String() string
type OrderSubmission ¶
type OrderSubmission struct { // Market identifier for the order, required field MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Price for the order, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places, // , required field for limit orders, however it is not required for market orders // This field is an unsigned integer passed as a string and needs to be scaled using the market's decimal places. Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` // Size for the order, for example, in a futures market the size equals the number of units, cannot be negative // This field is an unsigned integer passed as a string and needs to be scaled using the market's position decimal places. Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Side for the order, e.g. SIDE_BUY or SIDE_SELL, required field // - See `Side` Side vega.Side `protobuf:"varint,4,opt,name=side,proto3,enum=vega.Side" json:"side,omitempty"` // Time in force indicates how long an order will remain active before it is executed or expires, required field // - See `Order.TimeInForce` TimeInForce vega.Order_TimeInForce `protobuf:"varint,5,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` // Timestamp for when the order will expire, in nanoseconds since the epoch, // required field only for `Order.TimeInForce`.TIME_IN_FORCE_GTT` // - See `VegaTimeResponse`.`timestamp` ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Type for the order, required field - See `Order.Type` Type vega.Order_Type `protobuf:"varint,7,opt,name=type,proto3,enum=vega.Order_Type" json:"type,omitempty"` // Reference given for the order, this is typically used to retrieve an order submitted through consensus, currently // set internally by the node to return a unique reference identifier for the order submission Reference string `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"` // Used to specify the details for a pegged order // - See `PeggedOrder` PeggedOrder *vega.PeggedOrder `protobuf:"bytes,9,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"` // contains filtered or unexported fields }
An order submission is a request to submit or create a new order on Vega
func (*OrderSubmission) Descriptor
deprecated
func (*OrderSubmission) Descriptor() ([]byte, []int)
Deprecated: Use OrderSubmission.ProtoReflect.Descriptor instead.
func (*OrderSubmission) GetExpiresAt ¶
func (x *OrderSubmission) GetExpiresAt() int64
func (*OrderSubmission) GetMarketId ¶
func (x *OrderSubmission) GetMarketId() string
func (*OrderSubmission) GetPeggedOrder ¶
func (x *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder
func (*OrderSubmission) GetPrice ¶
func (x *OrderSubmission) GetPrice() string
func (*OrderSubmission) GetReference ¶
func (x *OrderSubmission) GetReference() string
func (*OrderSubmission) GetSide ¶
func (x *OrderSubmission) GetSide() vega.Side
func (*OrderSubmission) GetSize ¶
func (x *OrderSubmission) GetSize() uint64
func (*OrderSubmission) GetTimeInForce ¶
func (x *OrderSubmission) GetTimeInForce() vega.Order_TimeInForce
func (*OrderSubmission) GetType ¶
func (x *OrderSubmission) GetType() vega.Order_Type
func (*OrderSubmission) ProtoMessage ¶
func (*OrderSubmission) ProtoMessage()
func (*OrderSubmission) ProtoReflect ¶
func (x *OrderSubmission) ProtoReflect() protoreflect.Message
func (*OrderSubmission) Reset ¶
func (x *OrderSubmission) Reset()
func (*OrderSubmission) String ¶
func (x *OrderSubmission) String() string
type ProofOfWork ¶
type ProofOfWork struct { // A unique transaction identifier used to seed the proof-of-work hash. Tid string `protobuf:"bytes,1,opt,name=tid,proto3" json:"tid,omitempty"` // A number which, combined with the transaction identifier, will produce a hash with the required number of leading zeros to be accepted by the network. Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
Components needed for the network to verify proof-of-work
func (*ProofOfWork) Descriptor
deprecated
func (*ProofOfWork) Descriptor() ([]byte, []int)
Deprecated: Use ProofOfWork.ProtoReflect.Descriptor instead.
func (*ProofOfWork) GetNonce ¶
func (x *ProofOfWork) GetNonce() uint64
func (*ProofOfWork) GetTid ¶
func (x *ProofOfWork) GetTid() string
func (*ProofOfWork) ProtoMessage ¶
func (*ProofOfWork) ProtoMessage()
func (*ProofOfWork) ProtoReflect ¶
func (x *ProofOfWork) ProtoReflect() protoreflect.Message
func (*ProofOfWork) Reset ¶
func (x *ProofOfWork) Reset()
func (*ProofOfWork) String ¶
func (x *ProofOfWork) String() string
type ProposalSubmission ¶
type ProposalSubmission struct { // Proposal reference Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // Proposal configuration and the actual change that is meant to be executed when proposal is enacted Terms *vega.ProposalTerms `protobuf:"bytes,2,opt,name=terms,proto3" json:"terms,omitempty"` // The rationale behind a proposal. Rationale *vega.ProposalRationale `protobuf:"bytes,3,opt,name=rationale,proto3" json:"rationale,omitempty"` // contains filtered or unexported fields }
A command to submit a new proposal for the Vega network governance
func ProposalSubmissionFromProposal ¶
func ProposalSubmissionFromProposal(p *types.Proposal) *ProposalSubmission
func (*ProposalSubmission) Descriptor
deprecated
func (*ProposalSubmission) Descriptor() ([]byte, []int)
Deprecated: Use ProposalSubmission.ProtoReflect.Descriptor instead.
func (*ProposalSubmission) GetRationale ¶
func (x *ProposalSubmission) GetRationale() *vega.ProposalRationale
func (*ProposalSubmission) GetReference ¶
func (x *ProposalSubmission) GetReference() string
func (*ProposalSubmission) GetTerms ¶
func (x *ProposalSubmission) GetTerms() *vega.ProposalTerms
func (*ProposalSubmission) ProtoMessage ¶
func (*ProposalSubmission) ProtoMessage()
func (*ProposalSubmission) ProtoReflect ¶
func (x *ProposalSubmission) ProtoReflect() protoreflect.Message
func (*ProposalSubmission) Reset ¶
func (x *ProposalSubmission) Reset()
func (*ProposalSubmission) String ¶
func (x *ProposalSubmission) String() string
type ProtocolUpgradeProposal ¶
type ProtocolUpgradeProposal 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"` // contains filtered or unexported fields }
A transaction for a validator to suggest a protocol upgrade
func (*ProtocolUpgradeProposal) Descriptor
deprecated
func (*ProtocolUpgradeProposal) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolUpgradeProposal.ProtoReflect.Descriptor instead.
func (*ProtocolUpgradeProposal) GetUpgradeBlockHeight ¶
func (x *ProtocolUpgradeProposal) GetUpgradeBlockHeight() uint64
func (*ProtocolUpgradeProposal) GetVegaReleaseTag ¶
func (x *ProtocolUpgradeProposal) GetVegaReleaseTag() string
func (*ProtocolUpgradeProposal) ProtoMessage ¶
func (*ProtocolUpgradeProposal) ProtoMessage()
func (*ProtocolUpgradeProposal) ProtoReflect ¶
func (x *ProtocolUpgradeProposal) ProtoReflect() protoreflect.Message
func (*ProtocolUpgradeProposal) Reset ¶
func (x *ProtocolUpgradeProposal) Reset()
func (*ProtocolUpgradeProposal) String ¶
func (x *ProtocolUpgradeProposal) String() string
type RecurringTransfer ¶
type RecurringTransfer struct { // The first epoch from which this transfer shall be paid StartEpoch uint64 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"` // The last epoch at which this transfer shall be paid EndEpoch *uint64 `protobuf:"varint,2,opt,name=end_epoch,json=endEpoch,proto3,oneof" json:"end_epoch,omitempty"` // factor needs to be > 0 Factor string `protobuf:"bytes,3,opt,name=factor,proto3" json:"factor,omitempty"` // optional parameter defining how a transfer is dispatched DispatchStrategy *vega.DispatchStrategy `protobuf:"bytes,4,opt,name=dispatch_strategy,json=dispatchStrategy,proto3" json:"dispatch_strategy,omitempty"` // contains filtered or unexported fields }
Specific details for a recurring transfer
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) 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 Signature ¶
type Signature struct { // The bytes of the signature (hex-encoded). Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The algorithm used to create the signature. Algo string `protobuf:"bytes,2,opt,name=algo,proto3" json:"algo,omitempty"` // The version of the signature used to create the signature. Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
A signature to authenticate a transaction and to be verified by the Vega network.
func (*Signature) Descriptor
deprecated
func (*Signature) GetVersion ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type StateVariableProposal ¶
type StateVariableProposal struct { // The state value proposal details Proposal *vega.StateValueProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
A transaction for a validator to submit a floating point value
func (*StateVariableProposal) Descriptor
deprecated
func (*StateVariableProposal) Descriptor() ([]byte, []int)
Deprecated: Use StateVariableProposal.ProtoReflect.Descriptor instead.
func (*StateVariableProposal) GetProposal ¶
func (x *StateVariableProposal) GetProposal() *vega.StateValueProposal
func (*StateVariableProposal) ProtoMessage ¶
func (*StateVariableProposal) ProtoMessage()
func (*StateVariableProposal) ProtoReflect ¶
func (x *StateVariableProposal) ProtoReflect() protoreflect.Message
func (*StateVariableProposal) Reset ¶
func (x *StateVariableProposal) Reset()
func (*StateVariableProposal) String ¶
func (x *StateVariableProposal) String() string
type Transaction ¶
type Transaction struct { // One of the set of Vega commands. // These bytes are should be built as follows: // // chain_id_as_bytes + \0 character as delimiter + proto_marshalled_command InputData []byte `protobuf:"bytes,1,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` // The signature of the inputData. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // The sender of the transaction. // Any of the following would be valid: // // Types that are assignable to From: // // *Transaction_Address // *Transaction_PubKey From isTransaction_From `protobuf_oneof:"from"` // A version of the transaction, to be used in the future in case changes are implemented // to the transaction format. Version TxVersion `protobuf:"varint,2000,opt,name=version,proto3,enum=vega.commands.v1.TxVersion" json:"version,omitempty"` // Proof of work contains the random transaction id used by the client and the nonce. Pow *ProofOfWork `protobuf:"bytes,3000,opt,name=pow,proto3" json:"pow,omitempty"` // contains filtered or unexported fields }
Represents a transaction to be sent to Vega.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetAddress ¶
func (x *Transaction) GetAddress() string
func (*Transaction) GetFrom ¶
func (m *Transaction) GetFrom() isTransaction_From
func (*Transaction) GetInputData ¶
func (x *Transaction) GetInputData() []byte
func (*Transaction) GetPow ¶
func (x *Transaction) GetPow() *ProofOfWork
func (*Transaction) GetPubKey ¶
func (x *Transaction) GetPubKey() string
func (*Transaction) GetSignature ¶
func (x *Transaction) GetSignature() *Signature
func (*Transaction) GetVersion ¶
func (x *Transaction) GetVersion() TxVersion
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type Transaction_Address ¶
type Transaction_Address struct { // The address of the sender (hex-encoded). Not supported yet. Address string `protobuf:"bytes,1001,opt,name=address,proto3,oneof"` }
type Transaction_PubKey ¶
type Transaction_PubKey struct { // The public key of the sender (hex-encoded). PubKey string `protobuf:"bytes,1002,opt,name=pub_key,json=pubKey,proto3,oneof"` }
type Transfer ¶
type Transfer struct { // The account type from which the funds of the party // should be taken FromAccountType vega.AccountType `` /* 131-byte string literal not displayed */ // The public key of the destination account To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // The type of the destination account ToAccountType vega.AccountType `protobuf:"varint,3,opt,name=to_account_type,json=toAccountType,proto3,enum=vega.AccountType" json:"to_account_type,omitempty"` // The asset Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` // The amount to be taken from the source account // This field is an unsigned integer passed as a string and needs to be scaled using the asset's decimal places. Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // The reference to be attached to the transfer Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // Specific details of the transfer // // Types that are assignable to Kind: // // *Transfer_OneOff // *Transfer_Recurring Kind isTransfer_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
A transfer initiated by a party
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetFromAccountType ¶
func (x *Transfer) GetFromAccountType() vega.AccountType
func (*Transfer) GetOneOff ¶
func (x *Transfer) GetOneOff() *OneOffTransfer
func (*Transfer) GetRecurring ¶
func (x *Transfer) GetRecurring() *RecurringTransfer
func (*Transfer) GetReference ¶
func (*Transfer) GetToAccountType ¶
func (x *Transfer) GetToAccountType() vega.AccountType
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
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 TxVersion ¶
type TxVersion int32
The current supported version of the transaction inside the network.
const ( // Represents an unspecified or missing value from the input TxVersion_TX_VERSION_UNSPECIFIED TxVersion = 0 // This version requires the proof-of-work added to the transaction. TxVersion_TX_VERSION_V2 TxVersion = 2 // This version requires the chain ID to be appended in front of the input data // byte, with a `\0` delimiter. TxVersion_TX_VERSION_V3 TxVersion = 3 )
func (TxVersion) Descriptor ¶
func (TxVersion) Descriptor() protoreflect.EnumDescriptor
func (TxVersion) EnumDescriptor
deprecated
func (TxVersion) Number ¶
func (x TxVersion) Number() protoreflect.EnumNumber
func (TxVersion) Type ¶
func (TxVersion) Type() protoreflect.EnumType
type UndelegateSubmission ¶
type UndelegateSubmission struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // optional, if not specified = ALL // This field is an unsigned integer passed as a string and needs to be scaled using the asset decimal places for the token. Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Method UndelegateSubmission_Method `protobuf:"varint,3,opt,name=method,proto3,enum=vega.commands.v1.UndelegateSubmission_Method" json:"method,omitempty"` // contains filtered or unexported fields }
func (*UndelegateSubmission) Descriptor
deprecated
func (*UndelegateSubmission) Descriptor() ([]byte, []int)
Deprecated: Use UndelegateSubmission.ProtoReflect.Descriptor instead.
func (*UndelegateSubmission) GetAmount ¶
func (x *UndelegateSubmission) GetAmount() string
func (*UndelegateSubmission) GetMethod ¶
func (x *UndelegateSubmission) GetMethod() UndelegateSubmission_Method
func (*UndelegateSubmission) GetNodeId ¶
func (x *UndelegateSubmission) GetNodeId() string
func (*UndelegateSubmission) ProtoMessage ¶
func (*UndelegateSubmission) ProtoMessage()
func (*UndelegateSubmission) ProtoReflect ¶
func (x *UndelegateSubmission) ProtoReflect() protoreflect.Message
func (*UndelegateSubmission) Reset ¶
func (x *UndelegateSubmission) Reset()
func (*UndelegateSubmission) String ¶
func (x *UndelegateSubmission) String() string
type UndelegateSubmission_Method ¶
type UndelegateSubmission_Method int32
const ( UndelegateSubmission_METHOD_UNSPECIFIED UndelegateSubmission_Method = 0 UndelegateSubmission_METHOD_NOW UndelegateSubmission_Method = 1 UndelegateSubmission_METHOD_AT_END_OF_EPOCH UndelegateSubmission_Method = 2 )
func (UndelegateSubmission_Method) Descriptor ¶
func (UndelegateSubmission_Method) Descriptor() protoreflect.EnumDescriptor
func (UndelegateSubmission_Method) Enum ¶
func (x UndelegateSubmission_Method) Enum() *UndelegateSubmission_Method
func (UndelegateSubmission_Method) EnumDescriptor
deprecated
func (UndelegateSubmission_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use UndelegateSubmission_Method.Descriptor instead.
func (UndelegateSubmission_Method) Number ¶
func (x UndelegateSubmission_Method) Number() protoreflect.EnumNumber
func (UndelegateSubmission_Method) String ¶
func (x UndelegateSubmission_Method) String() string
func (UndelegateSubmission_Method) Type ¶
func (UndelegateSubmission_Method) Type() protoreflect.EnumType
type ValidatorHeartbeat ¶
type ValidatorHeartbeat struct { // the id of the node emitting the heartbeat NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Signature from the validator made using the ethereum wallet EthereumSignature *Signature `protobuf:"bytes,2,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"` // Signature from the validator made using the vega wallet VegaSignature *Signature `protobuf:"bytes,3,opt,name=vega_signature,json=vegaSignature,proto3" json:"vega_signature,omitempty"` // contains filtered or unexported fields }
A message from a validator signalling they are still online and validating blocks or ready to validate blocks when they are still a pending validator
func (*ValidatorHeartbeat) Descriptor
deprecated
func (*ValidatorHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorHeartbeat.ProtoReflect.Descriptor instead.
func (*ValidatorHeartbeat) GetEthereumSignature ¶
func (x *ValidatorHeartbeat) GetEthereumSignature() *Signature
func (*ValidatorHeartbeat) GetNodeId ¶
func (x *ValidatorHeartbeat) GetNodeId() string
func (*ValidatorHeartbeat) GetVegaSignature ¶
func (x *ValidatorHeartbeat) GetVegaSignature() *Signature
func (*ValidatorHeartbeat) ProtoMessage ¶
func (*ValidatorHeartbeat) ProtoMessage()
func (*ValidatorHeartbeat) ProtoReflect ¶
func (x *ValidatorHeartbeat) ProtoReflect() protoreflect.Message
func (*ValidatorHeartbeat) Reset ¶
func (x *ValidatorHeartbeat) Reset()
func (*ValidatorHeartbeat) String ¶
func (x *ValidatorHeartbeat) String() string
type VoteSubmission ¶
type VoteSubmission struct { // The ID of the proposal to vote for. ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // The actual value of the vote Value vega.Vote_Value `protobuf:"varint,2,opt,name=value,proto3,enum=vega.Vote_Value" json:"value,omitempty"` // contains filtered or unexported fields }
A command to submit a new vote for a governance proposal.
func (*VoteSubmission) Descriptor
deprecated
func (*VoteSubmission) Descriptor() ([]byte, []int)
Deprecated: Use VoteSubmission.ProtoReflect.Descriptor instead.
func (*VoteSubmission) GetProposalId ¶
func (x *VoteSubmission) GetProposalId() string
func (*VoteSubmission) GetValue ¶
func (x *VoteSubmission) GetValue() vega.Vote_Value
func (*VoteSubmission) ProtoMessage ¶
func (*VoteSubmission) ProtoMessage()
func (*VoteSubmission) ProtoReflect ¶
func (x *VoteSubmission) ProtoReflect() protoreflect.Message
func (*VoteSubmission) Reset ¶
func (x *VoteSubmission) Reset()
func (*VoteSubmission) String ¶
func (x *VoteSubmission) String() string
type WithdrawSubmission ¶
type WithdrawSubmission struct { // The amount to be withdrawn // This field is an unsigned integer passed as a string and needs to be scaled using the asset's decimal places. Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // The asset to be withdrawn Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // Foreign chain specifics Ext *vega.WithdrawExt `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` // contains filtered or unexported fields }
Represents the submission request to withdraw funds for a party on Vega
func (*WithdrawSubmission) Descriptor
deprecated
func (*WithdrawSubmission) Descriptor() ([]byte, []int)
Deprecated: Use WithdrawSubmission.ProtoReflect.Descriptor instead.
func (*WithdrawSubmission) GetAmount ¶
func (x *WithdrawSubmission) GetAmount() string
func (*WithdrawSubmission) GetAsset ¶
func (x *WithdrawSubmission) GetAsset() string
func (*WithdrawSubmission) GetExt ¶
func (x *WithdrawSubmission) GetExt() *vega.WithdrawExt
func (*WithdrawSubmission) ProtoMessage ¶
func (*WithdrawSubmission) ProtoMessage()
func (*WithdrawSubmission) ProtoReflect ¶
func (x *WithdrawSubmission) ProtoReflect() protoreflect.Message
func (*WithdrawSubmission) Reset ¶
func (x *WithdrawSubmission) Reset()
func (*WithdrawSubmission) String ¶
func (x *WithdrawSubmission) String() string