v1

package
v0.72.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 5 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_vega_commands_v1_commands_proto protoreflect.FileDescriptor
View Source
var File_vega_commands_v1_data_proto protoreflect.FileDescriptor
View Source
var File_vega_commands_v1_signature_proto protoreflect.FileDescriptor
View Source
var File_vega_commands_v1_transaction_proto protoreflect.FileDescriptor
View Source
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"`
	// Node ID of the validator, i.e. the node's 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"`
	// 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 {

	// List of order cancellations to be processed sequentially.
	Cancellations []*OrderCancellation `protobuf:"bytes,1,rep,name=cancellations,proto3" json:"cancellations,omitempty"`
	// List of order amendments to be processed sequentially.
	Amendments []*OrderAmendment `protobuf:"bytes,2,rep,name=amendments,proto3" json:"amendments,omitempty"`
	// List of order submissions to be processed sequentially.
	Submissions []*OrderSubmission `protobuf:"bytes,3,rep,name=submissions,proto3" json:"submissions,omitempty"`
	// List of stop order cancellations to be processed sequentially.
	StopOrdersCancellation []*StopOrdersCancellation `` /* 129-byte string literal not displayed */
	// List of stop order submissions to be processed sequentially.
	StopOrdersSubmission []*StopOrdersSubmission `protobuf:"bytes,5,rep,name=stop_orders_submission,json=stopOrdersSubmission,proto3" json:"stop_orders_submission,omitempty"`
	// contains filtered or unexported fields
}

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) GetStopOrdersCancellation added in v0.72.0

func (x *BatchMarketInstructions) GetStopOrdersCancellation() []*StopOrdersCancellation

func (*BatchMarketInstructions) GetStopOrdersSubmission added in v0.72.0

func (x *BatchMarketInstructions) GetStopOrdersSubmission() []*StopOrdersSubmission

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 {

	// Transfer 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
}

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 {

	// Transaction ID 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"`
	// Event being forwarded.
	//
	// Types that are assignable to Event:
	//
	//	*ChainEvent_Builtin
	//	*ChainEvent_Erc20
	//	*ChainEvent_StakingEvent
	//	*ChainEvent_Erc20Multisig
	//	*ChainEvent_ContractCall
	Event isChainEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

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) GetContractCall added in v0.72.0

func (x *ChainEvent) GetContractCall() *vega.EthContractCallEvent

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

type ChainEvent_ContractCall struct {
	// Arbitrary contract call
	ContractCall *vega.EthContractCallEvent `protobuf:"bytes,1007,opt,name=contract_call,json=contractCall,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 {

	// Delegate to the specified node ID.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Amount of stake to delegate. This field is an unsigned integer scaled to the asset's decimal places.
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

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

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 (*EthereumKeyRotateSubmission) Reset

func (x *EthereumKeyRotateSubmission) Reset()

func (*EthereumKeyRotateSubmission) String

func (x *EthereumKeyRotateSubmission) String() string

type IcebergOpts added in v0.72.0

type IcebergOpts struct {

	// Size of the order that is made visible and can be traded with during the execution of a single order.
	PeakSize uint64 `protobuf:"varint,1,opt,name=peak_size,json=peakSize,proto3" json:"peak_size,omitempty"`
	// Minimum allowed remaining size of the order before it is replenished back to its peak size.
	MinimumVisibleSize uint64 `protobuf:"varint,2,opt,name=minimum_visible_size,json=minimumVisibleSize,proto3" json:"minimum_visible_size,omitempty"`
	// contains filtered or unexported fields
}

Iceberg order options

func (*IcebergOpts) Descriptor deprecated added in v0.72.0

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

Deprecated: Use IcebergOpts.ProtoReflect.Descriptor instead.

func (*IcebergOpts) GetMinimumVisibleSize added in v0.72.0

func (x *IcebergOpts) GetMinimumVisibleSize() uint64

func (*IcebergOpts) GetPeakSize added in v0.72.0

func (x *IcebergOpts) GetPeakSize() uint64

func (*IcebergOpts) ProtoMessage added in v0.72.0

func (*IcebergOpts) ProtoMessage()

func (*IcebergOpts) ProtoReflect added in v0.72.0

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

func (*IcebergOpts) Reset added in v0.72.0

func (x *IcebergOpts) Reset()

func (*IcebergOpts) String added in v0.72.0

func (x *IcebergOpts) String() string

type InputData

type InputData struct {

	// 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"`
	// 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_StopOrdersSubmission
	//	*InputData_StopOrdersCancellation
	//	*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) Descriptor() ([]byte, []int)

Deprecated: Use InputData.ProtoReflect.Descriptor instead.

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 (x *InputData) GetBlockHeight() uint64

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 (x *InputData) GetNodeVote() *NodeVote

func (*InputData) GetNonce

func (x *InputData) GetNonce() uint64

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) GetStopOrdersCancellation added in v0.72.0

func (x *InputData) GetStopOrdersCancellation() *StopOrdersCancellation

func (*InputData) GetStopOrdersSubmission added in v0.72.0

func (x *InputData) GetStopOrdersSubmission() *StopOrdersSubmission

func (*InputData) GetTransfer

func (x *InputData) GetTransfer() *Transfer

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

func (*InputData) Reset

func (x *InputData) Reset()

func (*InputData) String

func (x *InputData) String() string

type InputData_AnnounceNode

type InputData_AnnounceNode struct {
	// 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 {
	// 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 {
	// 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 {
	// 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 {
	// 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 {
	// 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 {
	// 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_StopOrdersCancellation added in v0.72.0

type InputData_StopOrdersCancellation struct {
	// Command to cancel stop orders.
	StopOrdersCancellation *StopOrdersCancellation `protobuf:"bytes,1017,opt,name=stop_orders_cancellation,json=stopOrdersCancellation,proto3,oneof"`
}

type InputData_StopOrdersSubmission added in v0.72.0

type InputData_StopOrdersSubmission struct {
	// Command to submit a pair of stop orders.
	StopOrdersSubmission *StopOrdersSubmission `protobuf:"bytes,1016,opt,name=stop_orders_submission,json=stopOrdersSubmission,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 {

	// Ethereum address which will submit the signatures to the smart contract.
	Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// What 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"`
	// Node ID of the validator 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
}

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

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 {

	// Unique ID for the market with the liquidity provision to be amended.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// 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"` // empty strings means no change
	Fee              string                 `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"`                                                   // 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 (*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 (*LiquidityProvisionAmendment) ProtoMessage

func (*LiquidityProvisionAmendment) ProtoMessage()

func (*LiquidityProvisionAmendment) ProtoReflect

func (*LiquidityProvisionAmendment) Reset

func (x *LiquidityProvisionAmendment) Reset()

func (*LiquidityProvisionAmendment) String

func (x *LiquidityProvisionAmendment) String() string

type LiquidityProvisionCancellation

type LiquidityProvisionCancellation struct {

	// Unique ID for the market with the liquidity provision to be cancelled.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// 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 (*LiquidityProvisionCancellation) Reset

func (x *LiquidityProvisionCancellation) Reset()

func (*LiquidityProvisionCancellation) String

type LiquidityProvisionSubmission

type LiquidityProvisionSubmission struct {

	// Market ID for the order.
	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 scaled using the asset's 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"`
	// Set of liquidity sell orders to meet the liquidity provision obligation.
	Sells []*vega.LiquidityOrder `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
	// Set of liquidity buy orders to meet the liquidity provision obligation.
	Buys []*vega.LiquidityOrder `protobuf:"bytes,5,rep,name=buys,proto3" json:"buys,omitempty"`
	// Reference to be added to every order created out of this liquidity provision submission.
	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 (*LiquidityProvisionSubmission) GetCommitmentAmount

func (x *LiquidityProvisionSubmission) GetCommitmentAmount() string

func (*LiquidityProvisionSubmission) GetFee

func (*LiquidityProvisionSubmission) GetMarketId

func (x *LiquidityProvisionSubmission) GetMarketId() string

func (*LiquidityProvisionSubmission) GetReference

func (x *LiquidityProvisionSubmission) GetReference() string

func (*LiquidityProvisionSubmission) GetSells

func (*LiquidityProvisionSubmission) ProtoMessage

func (*LiquidityProvisionSubmission) ProtoMessage()

func (*LiquidityProvisionSubmission) ProtoReflect

func (*LiquidityProvisionSubmission) Reset

func (x *LiquidityProvisionSubmission) Reset()

func (*LiquidityProvisionSubmission) String

type NodeSignature

type NodeSignature struct {

	// ID of the resource being signed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The signature generated by the signer.
	Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
	// 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

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

func (NodeSignatureKind) EnumDescriptor deprecated

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

Deprecated: Use NodeSignatureKind.Descriptor instead.

func (NodeSignatureKind) Number

func (NodeSignatureKind) String

func (x NodeSignatureKind) String() string

func (NodeSignatureKind) Type

type NodeVote

type NodeVote struct {

	// Reference identifying the resource making the vote, 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) Descriptor() ([]byte, []int)

Deprecated: Use NodeVote.ProtoReflect.Descriptor instead.

func (*NodeVote) GetReference

func (x *NodeVote) GetReference() string

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

func (*NodeVote) Reset

func (x *NodeVote) Reset()

func (*NodeVote) String

func (x *NodeVote) String() string

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
	// Node vote for a new stake deposit
	NodeVote_TYPE_STAKE_DEPOSITED NodeVote_Type = 1
	// Node vote for a new stake removed event
	NodeVote_TYPE_STAKE_REMOVED NodeVote_Type = 2
	// Node vote for a new collateral deposit
	NodeVote_TYPE_FUNDS_DEPOSITED NodeVote_Type = 3
	// Node vote for a new signer added to the erc20 bridge
	NodeVote_TYPE_SIGNER_ADDED NodeVote_Type = 4
	// Node vote for a signer removed from the erc20 bridge
	NodeVote_TYPE_SIGNER_REMOVED NodeVote_Type = 5
	// Node vote for a bridge stopped event
	NodeVote_TYPE_BRIDGE_STOPPED NodeVote_Type = 6
	// Node vote for a bridge resumed event
	NodeVote_TYPE_BRIDGE_RESUMED NodeVote_Type = 7
	// Node vote for a newly listed asset
	NodeVote_TYPE_ASSET_LISTED NodeVote_Type = 8
	// Node vote for an asset limits update
	NodeVote_TYPE_LIMITS_UPDATED NodeVote_Type = 9
	// Node vote to share the total supply of the staking token
	NodeVote_TYPE_STAKE_TOTAL_SUPPLY NodeVote_Type = 10
	// Node vote to update the threshold of the signer set for the multisig contract
	NodeVote_TYPE_SIGNER_THRESHOLD_SET NodeVote_Type = 11
	// 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) 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 (NodeVote_Type) String added in v0.66.0

func (x NodeVote_Type) String() string

func (NodeVote_Type) Type added in v0.66.0

type OneOffTransfer

type OneOffTransfer struct {

	// Timestamp in Unix nanoseconds for when the transfer should be delivered into the receiver's 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 {

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

Supported oracle sources

const (
	// 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) Enum

func (OracleDataSubmission_OracleSource) EnumDescriptor deprecated

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

Deprecated: Use OracleDataSubmission_OracleSource.Descriptor instead.

func (OracleDataSubmission_OracleSource) Number

func (OracleDataSubmission_OracleSource) String

func (OracleDataSubmission_OracleSource) Type

type OrderAmendment

type OrderAmendment struct {

	// Order ID, 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 ID, 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 scaled to 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.
	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.
	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 scaled to 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.
	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 ID for the order. This is 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 ID 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
}

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 ID 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 scaled to 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.
	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.
	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.
	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 in Unix nanoseconds for when the order will expire,
	// required field only for `Order.TimeInForce`.TIME_IN_FORCE_GTT`.
	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 ID 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.
	PeggedOrder *vega.PeggedOrder `protobuf:"bytes,9,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"`
	// Only valid for Limit orders. Cannot be True at the same time as Reduce-Only.
	PostOnly bool `protobuf:"varint,10,opt,name=post_only,json=postOnly,proto3" json:"post_only,omitempty"`
	// Only valid for Non-Persistent orders. Cannot be True at the same time as Post-Only.
	// If set, order will only be executed if the outcome of the trade moves the trader's position closer to 0.
	ReduceOnly bool `protobuf:"varint,11,opt,name=reduce_only,json=reduceOnly,proto3" json:"reduce_only,omitempty"`
	// Parameters used to specify an iceberg order.
	IcebergOpts *IcebergOpts `protobuf:"bytes,12,opt,name=iceberg_opts,json=icebergOpts,proto3,oneof" json:"iceberg_opts,omitempty"`
	// contains filtered or unexported fields
}

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) GetIcebergOpts added in v0.72.0

func (x *OrderSubmission) GetIcebergOpts() *IcebergOpts

func (*OrderSubmission) GetMarketId

func (x *OrderSubmission) GetMarketId() string

func (*OrderSubmission) GetPeggedOrder

func (x *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder

func (*OrderSubmission) GetPostOnly added in v0.70.0

func (x *OrderSubmission) GetPostOnly() bool

func (*OrderSubmission) GetPrice

func (x *OrderSubmission) GetPrice() string

func (*OrderSubmission) GetReduceOnly added in v0.70.0

func (x *OrderSubmission) GetReduceOnly() bool

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 {

	// Unique transaction identifier used to seed the proof-of-work hash.
	Tid string `protobuf:"bytes,1,opt,name=tid,proto3" json:"tid,omitempty"`
	// 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 {

	// Reference identifying the proposal.
	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"`
	// Rationale behind a proposal.
	Rationale *vega.ProposalRationale `protobuf:"bytes,3,opt,name=rationale,proto3" json:"rationale,omitempty"`
	// contains filtered or unexported fields
}

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 {

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

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 {

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

	// Hex encoded bytes of the signature.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Algorithm used to create the signature.
	Algo string `protobuf:"bytes,2,opt,name=algo,proto3" json:"algo,omitempty"`
	// 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
}

Signature to authenticate a transaction and to be verified by the Vega network.

func (*Signature) Descriptor deprecated

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

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetAlgo

func (x *Signature) GetAlgo() string

func (*Signature) GetValue

func (x *Signature) GetValue() string

func (*Signature) GetVersion

func (x *Signature) GetVersion() uint32

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type StateVariableProposal

type StateVariableProposal struct {

	// State value proposal details.
	Proposal *vega.StateValueProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// contains filtered or unexported fields
}

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

type StopOrderSetup struct {

	// Order to be submitted once the trigger is breached.
	OrderSubmission *OrderSubmission `protobuf:"bytes,1,opt,name=order_submission,json=orderSubmission,proto3" json:"order_submission,omitempty"`
	// Optional expiry timestamp.
	ExpiresAt *int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// Strategy to adopt if the expiry time is reached.
	ExpiryStrategy *vega.StopOrder_ExpiryStrategy `` /* 145-byte string literal not displayed */
	// Trigger that will need to be breached for the order
	// to be submitted to the book.
	//
	// Types that are assignable to Trigger:
	//
	//	*StopOrderSetup_Price
	//	*StopOrderSetup_TrailingPercentOffset
	Trigger isStopOrderSetup_Trigger `protobuf_oneof:"trigger"`
	// contains filtered or unexported fields
}

Price and expiry configuration for a stop order

func (*StopOrderSetup) Descriptor deprecated added in v0.72.0

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

Deprecated: Use StopOrderSetup.ProtoReflect.Descriptor instead.

func (*StopOrderSetup) GetExpiresAt added in v0.72.0

func (x *StopOrderSetup) GetExpiresAt() int64

func (*StopOrderSetup) GetExpiryStrategy added in v0.72.0

func (x *StopOrderSetup) GetExpiryStrategy() vega.StopOrder_ExpiryStrategy

func (*StopOrderSetup) GetOrderSubmission added in v0.72.0

func (x *StopOrderSetup) GetOrderSubmission() *OrderSubmission

func (*StopOrderSetup) GetPrice added in v0.72.0

func (x *StopOrderSetup) GetPrice() string

func (*StopOrderSetup) GetTrailingPercentOffset added in v0.72.0

func (x *StopOrderSetup) GetTrailingPercentOffset() string

func (*StopOrderSetup) GetTrigger added in v0.72.0

func (m *StopOrderSetup) GetTrigger() isStopOrderSetup_Trigger

func (*StopOrderSetup) ProtoMessage added in v0.72.0

func (*StopOrderSetup) ProtoMessage()

func (*StopOrderSetup) ProtoReflect added in v0.72.0

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

func (*StopOrderSetup) Reset added in v0.72.0

func (x *StopOrderSetup) Reset()

func (*StopOrderSetup) String added in v0.72.0

func (x *StopOrderSetup) String() string

type StopOrderSetup_Price added in v0.72.0

type StopOrderSetup_Price struct {
	// Fixed price at which the order will be submitted.
	Price string `protobuf:"bytes,100,opt,name=price,proto3,oneof"`
}

type StopOrderSetup_TrailingPercentOffset added in v0.72.0

type StopOrderSetup_TrailingPercentOffset struct {
	// Trailing percentage at which the order will be submitted.
	TrailingPercentOffset string `protobuf:"bytes,101,opt,name=trailing_percent_offset,json=trailingPercentOffset,proto3,oneof"`
}

type StopOrdersCancellation added in v0.72.0

type StopOrdersCancellation struct {

	// Optional market ID.
	MarketId *string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3,oneof" json:"market_id,omitempty"`
	// Optional order ID.
	StopOrderId *string `protobuf:"bytes,2,opt,name=stop_order_id,json=stopOrderId,proto3,oneof" json:"stop_order_id,omitempty"`
	// contains filtered or unexported fields
}

Cancel a stop order. The following combinations are available: Empty object will cancel all stop orders for the party Market ID alone will cancel all stop orders in a market Market ID and order ID will cancel a specific stop order in a market If the stop order is part of an OCO, both stop orders will be cancelled

func (*StopOrdersCancellation) Descriptor deprecated added in v0.72.0

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

Deprecated: Use StopOrdersCancellation.ProtoReflect.Descriptor instead.

func (*StopOrdersCancellation) GetMarketId added in v0.72.0

func (x *StopOrdersCancellation) GetMarketId() string

func (*StopOrdersCancellation) GetStopOrderId added in v0.72.0

func (x *StopOrdersCancellation) GetStopOrderId() string

func (*StopOrdersCancellation) ProtoMessage added in v0.72.0

func (*StopOrdersCancellation) ProtoMessage()

func (*StopOrdersCancellation) ProtoReflect added in v0.72.0

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

func (*StopOrdersCancellation) Reset added in v0.72.0

func (x *StopOrdersCancellation) Reset()

func (*StopOrdersCancellation) String added in v0.72.0

func (x *StopOrdersCancellation) String() string

type StopOrdersSubmission added in v0.72.0

type StopOrdersSubmission struct {

	// Stop order that will be triggered
	// if the price rises above a given trigger price.
	RisesAbove *StopOrderSetup `protobuf:"bytes,1,opt,name=rises_above,json=risesAbove,proto3,oneof" json:"rises_above,omitempty"`
	// Stop order that will be triggered
	// if the price falls below a given trigger price.
	FallsBelow *StopOrderSetup `protobuf:"bytes,2,opt,name=falls_below,json=fallsBelow,proto3,oneof" json:"falls_below,omitempty"`
	// contains filtered or unexported fields
}

Stop order submission submits stops orders. It is possible to make a single stop order submission by specifying a single direction, or an OCO (One Cancels the Other) stop order submission by specifying a configuration for both directions

func (*StopOrdersSubmission) Descriptor deprecated added in v0.72.0

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

Deprecated: Use StopOrdersSubmission.ProtoReflect.Descriptor instead.

func (*StopOrdersSubmission) GetFallsBelow added in v0.72.0

func (x *StopOrdersSubmission) GetFallsBelow() *StopOrderSetup

func (*StopOrdersSubmission) GetRisesAbove added in v0.72.0

func (x *StopOrdersSubmission) GetRisesAbove() *StopOrderSetup

func (*StopOrdersSubmission) ProtoMessage added in v0.72.0

func (*StopOrdersSubmission) ProtoMessage()

func (*StopOrdersSubmission) ProtoReflect added in v0.72.0

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

func (*StopOrdersSubmission) Reset added in v0.72.0

func (x *StopOrdersSubmission) Reset()

func (*StopOrdersSubmission) String added in v0.72.0

func (x *StopOrdersSubmission) 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"`
	// Signature of the input data.
	Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// 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"`
	// 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 {
	// Hex-encoded address of the sender. Not supported yet.
	Address string `protobuf:"bytes,1001,opt,name=address,proto3,oneof"`
}

type Transaction_PubKey

type Transaction_PubKey struct {
	// Hex-encoded public key of the sender.
	PubKey string `protobuf:"bytes,1002,opt,name=pub_key,json=pubKey,proto3,oneof"`
}

type Transfer

type Transfer struct {

	// Account type from which the funds of the party
	// should be taken.
	FromAccountType vega.AccountType `` /* 131-byte string literal not displayed */
	// Public key of the destination account.
	To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// 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"`
	// Asset ID of the asset to be transferred.
	Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
	// Amount to be taken from the source account. This field is an unsigned integer scaled to the asset's decimal places.
	Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// 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
}

Transfer initiated by a party

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAmount

func (x *Transfer) GetAmount() string

func (*Transfer) GetAsset

func (x *Transfer) GetAsset() string

func (*Transfer) GetFromAccountType

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

func (*Transfer) GetKind

func (m *Transfer) GetKind() isTransfer_Kind

func (*Transfer) GetOneOff

func (x *Transfer) GetOneOff() *OneOffTransfer

func (*Transfer) GetRecurring

func (x *Transfer) GetRecurring() *RecurringTransfer

func (*Transfer) GetReference

func (x *Transfer) GetReference() string

func (*Transfer) GetTo

func (x *Transfer) GetTo() string

func (*Transfer) GetToAccountType

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

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type Transfer_OneOff

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

type Transfer_Recurring

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

type TxVersion

type TxVersion int32

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

func (x TxVersion) Enum() *TxVersion

func (TxVersion) EnumDescriptor deprecated

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

Deprecated: Use TxVersion.Descriptor instead.

func (TxVersion) Number

func (x TxVersion) Number() protoreflect.EnumNumber

func (TxVersion) String

func (x TxVersion) String() string

func (TxVersion) Type

type UndelegateSubmission

type UndelegateSubmission struct {

	// Node ID to delegate to.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Optional, if not specified = ALL.
	// If provided, this field must be 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 of delegation.
	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 (*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) Enum

func (UndelegateSubmission_Method) EnumDescriptor deprecated

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

Deprecated: Use UndelegateSubmission_Method.Descriptor instead.

func (UndelegateSubmission_Method) Number

func (UndelegateSubmission_Method) String

func (UndelegateSubmission_Method) Type

type ValidatorHeartbeat

type ValidatorHeartbeat struct {

	// Node ID of the validator 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"`
	// Message which has been signed.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

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) GetMessage added in v0.70.0

func (x *ValidatorHeartbeat) GetMessage() string

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 {

	// Submit vote for the specified proposal ID.
	ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	// 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
}

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 {

	// Amount to be withdrawn. This field is an unsigned integer scaled to the asset's decimal places.
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// 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

Jump to

Keyboard shortcuts

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