v1

package
v0.77.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: AGPL-3.0 Imports: 6 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdateMarginMode_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "MODE_CROSS_MARGIN",
		2: "MODE_ISOLATED_MARGIN",
	}
	UpdateMarginMode_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED":     0,
		"MODE_CROSS_MARGIN":    1,
		"MODE_ISOLATED_MARGIN": 2,
	}
)

Enum value maps for UpdateMarginMode_Mode.

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 (
	CancelAMM_Method_name = map[int32]string{
		0: "METHOD_UNSPECIFIED",
		1: "METHOD_IMMEDIATE",
		2: "METHOD_REDUCE_ONLY",
	}
	CancelAMM_Method_value = map[string]int32{
		"METHOD_UNSPECIFIED": 0,
		"METHOD_IMMEDIATE":   1,
		"METHOD_REDUCE_ONLY": 2,
	}
)

Enum value maps for CancelAMM_Method.

View Source
var (
	OracleDataSubmission_OracleSource_name = map[int32]string{
		0: "ORACLE_SOURCE_UNSPECIFIED",
		1: "ORACLE_SOURCE_OPEN_ORACLE",
		2: "ORACLE_SOURCE_JSON",
		3: "ORACLE_SOURCE_ETHEREUM",
	}
	OracleDataSubmission_OracleSource_value = map[string]int32{
		"ORACLE_SOURCE_UNSPECIFIED": 0,
		"ORACLE_SOURCE_OPEN_ORACLE": 1,
		"ORACLE_SOURCE_JSON":        2,
		"ORACLE_SOURCE_ETHEREUM":    3,
	}
)

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",
		13: "TYPE_ETHEREUM_CONTRACT_CALL_RESULT",
		14: "TYPE_ETHEREUM_HEARTBEAT",
	}
	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,
		"TYPE_ETHEREUM_CONTRACT_CALL_RESULT": 13,
		"TYPE_ETHEREUM_HEARTBEAT":            14,
	}
)

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

type AmendAMM struct {

	// Market ID for the AMM to be amended.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Amount to be committed to the AMM. If not supplied the commitment will remain unchanged.
	CommitmentAmount *string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3,oneof" json:"commitment_amount,omitempty"`
	// Slippage tolerance for rebasing position when updating the AMM.
	SlippageTolerance string `protobuf:"bytes,3,opt,name=slippage_tolerance,json=slippageTolerance,proto3" json:"slippage_tolerance,omitempty"`
	// Concentrated liquidity parameters defining the shape of the AMM's volume curves. If not supplied the parameters will remain unchanged.
	ConcentratedLiquidityParameters *AmendAMM_ConcentratedLiquidityParameters `` /* 162-byte string literal not displayed */
	// Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market. If not supplied the proposed fee will remain unchanged.
	ProposedFee *string `protobuf:"bytes,5,opt,name=proposed_fee,json=proposedFee,proto3,oneof" json:"proposed_fee,omitempty"`
	// contains filtered or unexported fields
}

Command to amend an existing automated market maker on a market.

func (*AmendAMM) Descriptor deprecated added in v0.77.0

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

Deprecated: Use AmendAMM.ProtoReflect.Descriptor instead.

func (*AmendAMM) GetCommitmentAmount added in v0.77.0

func (x *AmendAMM) GetCommitmentAmount() string

func (*AmendAMM) GetConcentratedLiquidityParameters added in v0.77.0

func (x *AmendAMM) GetConcentratedLiquidityParameters() *AmendAMM_ConcentratedLiquidityParameters

func (*AmendAMM) GetMarketId added in v0.77.0

func (x *AmendAMM) GetMarketId() string

func (*AmendAMM) GetProposedFee added in v0.77.0

func (x *AmendAMM) GetProposedFee() string

func (*AmendAMM) GetSlippageTolerance added in v0.77.0

func (x *AmendAMM) GetSlippageTolerance() string

func (*AmendAMM) ProtoMessage added in v0.77.0

func (*AmendAMM) ProtoMessage()

func (*AmendAMM) ProtoReflect added in v0.77.0

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

func (*AmendAMM) Reset added in v0.77.0

func (x *AmendAMM) Reset()

func (*AmendAMM) String added in v0.77.0

func (x *AmendAMM) String() string

type AmendAMM_ConcentratedLiquidityParameters added in v0.77.0

type AmendAMM_ConcentratedLiquidityParameters struct {

	// Price at which the AMM will stop quoting sell volume. If not supplied the AMM will never hold a short position.
	UpperBound *string `protobuf:"bytes,1,opt,name=upper_bound,json=upperBound,proto3,oneof" json:"upper_bound,omitempty"`
	// Price at which the AMM will stop quoting buy volume. If not supplied the AMM will never hold a long position.
	LowerBound *string `protobuf:"bytes,2,opt,name=lower_bound,json=lowerBound,proto3,oneof" json:"lower_bound,omitempty"`
	// Price that the AMM will quote as its "fair price" when its position is zero.
	Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"`
	// Leverage at upper bound. If not set the markets risk-factors will be used to calculate leverage.
	LeverageAtUpperBound *string `` /* 131-byte string literal not displayed */
	// Leverage at lower bound. If not set the markets risk-factors will be used to calculate leverage.
	LeverageAtLowerBound *string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Liquidity parameters that define the size and range of the AMM's tradeable volume.

func (*AmendAMM_ConcentratedLiquidityParameters) Descriptor deprecated added in v0.77.0

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

Deprecated: Use AmendAMM_ConcentratedLiquidityParameters.ProtoReflect.Descriptor instead.

func (*AmendAMM_ConcentratedLiquidityParameters) GetBase added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound added in v0.77.0

func (x *AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound() string

func (*AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound added in v0.77.0

func (x *AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound() string

func (*AmendAMM_ConcentratedLiquidityParameters) GetLowerBound added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) GetUpperBound added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) ProtoMessage added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) ProtoReflect added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) Reset added in v0.77.0

func (*AmendAMM_ConcentratedLiquidityParameters) String added in v0.77.0

type AnnounceNode

type AnnounceNode struct {

	// Vega public key of the node being announced.
	VegaPubKey string `protobuf:"bytes,1,opt,name=vega_pub_key,json=vegaPubKey,proto3" json:"vega_pub_key,omitempty"`
	// Ethereum public key of the node being announced.
	EthereumAddress string `protobuf:"bytes,2,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
	// Public key for the blockchain, currently the node's CometBFT key.
	ChainPubKey string `protobuf:"bytes,3,opt,name=chain_pub_key,json=chainPubKey,proto3" json:"chain_pub_key,omitempty"`
	// URL to the node operators homepage allowing stake holders to make an informed decision when delegating.
	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, which is the node's public master key.
	Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// Human-readable name of the node.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// URL to the node operator's avatar.
	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 node 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 node made using the ethereum wallet.
	EthereumSignature *Signature `protobuf:"bytes,11,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"`
	// Signature from the node 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
}

A command that allows a new node operator to announce themselves to the network as a new 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 ApplyReferralCode added in v0.73.0

type ApplyReferralCode struct {

	// Referral code, normally the referral set ID, for the party to join.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Command that allows the submitter to join a referral set and earn a collective reduction in fees based on the activity of all members of that set. A party that joins a referral set is called a referee. A referee can only be a member of one referral set and cannot themselves be or become a referrer. To switch to another referral set, a subsequent command can be sent and the switch will take effect at the end of the epoch.

func (*ApplyReferralCode) Descriptor deprecated added in v0.73.0

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

Deprecated: Use ApplyReferralCode.ProtoReflect.Descriptor instead.

func (*ApplyReferralCode) GetId added in v0.73.0

func (x *ApplyReferralCode) GetId() string

func (*ApplyReferralCode) ProtoMessage added in v0.73.0

func (*ApplyReferralCode) ProtoMessage()

func (*ApplyReferralCode) ProtoReflect added in v0.73.0

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

func (*ApplyReferralCode) Reset added in v0.73.0

func (x *ApplyReferralCode) Reset()

func (*ApplyReferralCode) String added in v0.73.0

func (x *ApplyReferralCode) 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"`
	// Update margin mode instruction
	UpdateMarginMode []*UpdateMarginMode `protobuf:"bytes,6,rep,name=update_margin_mode,json=updateMarginMode,proto3" json:"update_margin_mode,omitempty"`
	// contains filtered or unexported fields
}

A command that allows the submission of a batch market instruction which wraps up multiple market instructions into a single transaction. These instructions are then processed sequentially in the following order: - OrderCancellation - OrderAmendment - OrderSubmission - StopOrderSubmission where the maximum allow of instructions in a batch is controlled by the 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) GetUpdateMarginMode added in v0.74.0

func (x *BatchMarketInstructions) GetUpdateMarginMode() []*UpdateMarginMode

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

type BatchProposalSubmission struct {

	// Arbitrary human-readable reference identifying the proposal.
	Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	// Proposal terms containing the type and details of the proposal, as well as time spans for voting and enactment.
	Terms *BatchProposalSubmissionTerms `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 that allows a token holder to submit a batch governance proposal that can be voted on by any other token holders, and eventually enacted on the Vega network. For example this command can be used to propose a new market and a network parameter change with it.

func (*BatchProposalSubmission) Descriptor deprecated added in v0.74.0

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

Deprecated: Use BatchProposalSubmission.ProtoReflect.Descriptor instead.

func (*BatchProposalSubmission) GetRationale added in v0.74.0

func (x *BatchProposalSubmission) GetRationale() *vega.ProposalRationale

func (*BatchProposalSubmission) GetReference added in v0.74.0

func (x *BatchProposalSubmission) GetReference() string

func (*BatchProposalSubmission) GetTerms added in v0.74.0

func (*BatchProposalSubmission) ProtoMessage added in v0.74.0

func (*BatchProposalSubmission) ProtoMessage()

func (*BatchProposalSubmission) ProtoReflect added in v0.74.0

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

func (*BatchProposalSubmission) Reset added in v0.74.0

func (x *BatchProposalSubmission) Reset()

func (*BatchProposalSubmission) String added in v0.74.0

func (x *BatchProposalSubmission) String() string

type BatchProposalSubmissionTerms added in v0.74.0

type BatchProposalSubmissionTerms struct {

	// Closing timestamp in Unix time; adheres to `minClose` and `maxClose` limits.
	ClosingTimestamp int64 `protobuf:"varint,1,opt,name=closing_timestamp,json=closingTimestamp,proto3" json:"closing_timestamp,omitempty"`
	// List of individual changes included in the batch proposal.
	Changes []*vega.BatchProposalTermsChange `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

Terms for a batch governance proposal submission

func (*BatchProposalSubmissionTerms) Descriptor deprecated added in v0.74.0

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

Deprecated: Use BatchProposalSubmissionTerms.ProtoReflect.Descriptor instead.

func (*BatchProposalSubmissionTerms) GetChanges added in v0.74.0

func (*BatchProposalSubmissionTerms) GetClosingTimestamp added in v0.74.0

func (x *BatchProposalSubmissionTerms) GetClosingTimestamp() int64

func (*BatchProposalSubmissionTerms) ProtoMessage added in v0.74.0

func (*BatchProposalSubmissionTerms) ProtoMessage()

func (*BatchProposalSubmissionTerms) ProtoReflect added in v0.74.0

func (*BatchProposalSubmissionTerms) Reset added in v0.74.0

func (x *BatchProposalSubmissionTerms) Reset()

func (*BatchProposalSubmissionTerms) String added in v0.74.0

type CancelAMM added in v0.77.0

type CancelAMM struct {

	// Market ID to cancel an AMM for.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Method to use to cancel the AMM.
	Method CancelAMM_Method `protobuf:"varint,2,opt,name=method,proto3,enum=vega.commands.v1.CancelAMM_Method" json:"method,omitempty"`
	// contains filtered or unexported fields
}

Command to cancel an automated market maker for a given market.

func (*CancelAMM) Descriptor deprecated added in v0.77.0

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

Deprecated: Use CancelAMM.ProtoReflect.Descriptor instead.

func (*CancelAMM) GetMarketId added in v0.77.0

func (x *CancelAMM) GetMarketId() string

func (*CancelAMM) GetMethod added in v0.77.0

func (x *CancelAMM) GetMethod() CancelAMM_Method

func (*CancelAMM) ProtoMessage added in v0.77.0

func (*CancelAMM) ProtoMessage()

func (*CancelAMM) ProtoReflect added in v0.77.0

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

func (*CancelAMM) Reset added in v0.77.0

func (x *CancelAMM) Reset()

func (*CancelAMM) String added in v0.77.0

func (x *CancelAMM) String() string

type CancelAMM_Method added in v0.77.0

type CancelAMM_Method int32
const (
	CancelAMM_METHOD_UNSPECIFIED CancelAMM_Method = 0
	// Cancellation will be immediate and any open positions will be transferred to the network for liquidation.
	CancelAMM_METHOD_IMMEDIATE CancelAMM_Method = 1
	// AMM will only trade to reduce its position, and will be cancelled once its position reaches zero.
	CancelAMM_METHOD_REDUCE_ONLY CancelAMM_Method = 2
)

func (CancelAMM_Method) Descriptor added in v0.77.0

func (CancelAMM_Method) Enum added in v0.77.0

func (CancelAMM_Method) EnumDescriptor deprecated added in v0.77.0

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

Deprecated: Use CancelAMM_Method.Descriptor instead.

func (CancelAMM_Method) Number added in v0.77.0

func (CancelAMM_Method) String added in v0.77.0

func (x CancelAMM_Method) String() string

func (CancelAMM_Method) Type added in v0.77.0

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
}

Command that can be used by the party that initiated a transfer to instruct the network to stop an active recurring transaction.

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 {

	// ID of the transaction on the foreign chain that caused the event.
	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
	//	*ChainEvent_Heartbeat
	Event isChainEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

A validator command sent automatically that provides information of events that have happened on foreign chains.

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) GetHeartbeat added in v0.77.0

func (x *ChainEvent) GetHeartbeat() *vega.ERC20Heartbeat

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 {
	// Ethereum contract call event.
	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_Heartbeat added in v0.77.0

type ChainEvent_Heartbeat struct {
	// Heartbeat showing evidence that a contract is being listened to.
	Heartbeat *vega.ERC20Heartbeat `protobuf:"bytes,1008,opt,name=heartbeat,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 CreateReferralSet added in v0.73.0

type CreateReferralSet struct {

	// Whether or not the referral set should be considered a team that can participate in team games on the network.
	IsTeam bool `protobuf:"varint,1,opt,name=is_team,json=isTeam,proto3" json:"is_team,omitempty"`
	// Team details, if the referral set is to be considered a team.
	Team *CreateReferralSet_Team `protobuf:"bytes,2,opt,name=team,proto3,oneof" json:"team,omitempty"`
	// contains filtered or unexported fields
}

Command that a party can use to instruct the network to create a new referral set on the network. The submitter of this command will become the referrer of the new set and cannot be the referrer or a referee of another set. A referrer can use the referral set ID as a referral code to attract others to the Vega network and have fees reduced for the referral set.

func (*CreateReferralSet) Descriptor deprecated added in v0.73.0

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

Deprecated: Use CreateReferralSet.ProtoReflect.Descriptor instead.

func (*CreateReferralSet) GetIsTeam added in v0.73.0

func (x *CreateReferralSet) GetIsTeam() bool

func (*CreateReferralSet) GetTeam added in v0.73.0

func (*CreateReferralSet) ProtoMessage added in v0.73.0

func (*CreateReferralSet) ProtoMessage()

func (*CreateReferralSet) ProtoReflect added in v0.73.0

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

func (*CreateReferralSet) Reset added in v0.73.0

func (x *CreateReferralSet) Reset()

func (*CreateReferralSet) String added in v0.73.0

func (x *CreateReferralSet) String() string

type CreateReferralSet_Team added in v0.73.0

type CreateReferralSet_Team struct {

	// Name of the team.
	Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	// External link to the team's homepage.
	TeamUrl *string `protobuf:"bytes,11,opt,name=team_url,json=teamUrl,proto3,oneof" json:"team_url,omitempty"`
	// External link to an avatar for the team.
	AvatarUrl *string `protobuf:"bytes,12,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Whether or not the team is closed to new party members.
	Closed bool `protobuf:"varint,13,opt,name=closed,proto3" json:"closed,omitempty"`
	// List of public keys that are allowed to join the team.
	// Only applicable to closed teams. Removing a party from the allow list does not remove
	// the party from the team.
	AllowList []string `protobuf:"bytes,14,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReferralSet_Team) Descriptor deprecated added in v0.73.0

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

Deprecated: Use CreateReferralSet_Team.ProtoReflect.Descriptor instead.

func (*CreateReferralSet_Team) GetAllowList added in v0.74.0

func (x *CreateReferralSet_Team) GetAllowList() []string

func (*CreateReferralSet_Team) GetAvatarUrl added in v0.73.0

func (x *CreateReferralSet_Team) GetAvatarUrl() string

func (*CreateReferralSet_Team) GetClosed added in v0.73.0

func (x *CreateReferralSet_Team) GetClosed() bool

func (*CreateReferralSet_Team) GetName added in v0.73.0

func (x *CreateReferralSet_Team) GetName() string

func (*CreateReferralSet_Team) GetTeamUrl added in v0.73.0

func (x *CreateReferralSet_Team) GetTeamUrl() string

func (*CreateReferralSet_Team) ProtoMessage added in v0.73.0

func (*CreateReferralSet_Team) ProtoMessage()

func (*CreateReferralSet_Team) ProtoReflect added in v0.73.0

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

func (*CreateReferralSet_Team) Reset added in v0.73.0

func (x *CreateReferralSet_Team) Reset()

func (*CreateReferralSet_Team) String added in v0.73.0

func (x *CreateReferralSet_Team) String() string

type DelayedTransactionsWrapper added in v0.77.0

type DelayedTransactionsWrapper struct {
	Transactions [][]byte `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Height       uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Internal transactions used to convey delayed transactions to be included in the next block.

func (*DelayedTransactionsWrapper) Descriptor deprecated added in v0.77.0

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

Deprecated: Use DelayedTransactionsWrapper.ProtoReflect.Descriptor instead.

func (*DelayedTransactionsWrapper) GetHeight added in v0.77.0

func (x *DelayedTransactionsWrapper) GetHeight() uint64

func (*DelayedTransactionsWrapper) GetTransactions added in v0.77.0

func (x *DelayedTransactionsWrapper) GetTransactions() [][]byte

func (*DelayedTransactionsWrapper) ProtoMessage added in v0.77.0

func (*DelayedTransactionsWrapper) ProtoMessage()

func (*DelayedTransactionsWrapper) ProtoReflect added in v0.77.0

func (*DelayedTransactionsWrapper) Reset added in v0.77.0

func (x *DelayedTransactionsWrapper) Reset()

func (*DelayedTransactionsWrapper) String added in v0.77.0

func (x *DelayedTransactionsWrapper) String() string

type DelegateSubmission

type DelegateSubmission struct {

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

Command to allow a token holder to delegate their tokens to a validator to help secure the network. A token holder delegating to a validator will earn rewards based on the amount they have delegated, and the performance of the chosen validator.

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 {

	// Block height at which the key rotation will take effect.
	TargetBlock uint64 `protobuf:"varint,1,opt,name=target_block,json=targetBlock,proto3" json:"target_block,omitempty"`
	// Ethereum address that is being rotated to.
	NewAddress string `protobuf:"bytes,2,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
	// Ethereum address of the node's current Ethereum keys.
	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 signed by the new Ethereum key that can be verified to prove ownership.
	EthereumSignature *Signature `protobuf:"bytes,5,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"`
	// contains filtered or unexported fields
}

A validator command sent manually that allows a node operator to indicate to the network that their node's Ethereum key will be rotated.

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 {

	// Arbitrary number used to provide uniqueness to the signature of two otherwise identical input data, preventing replay attacks.
	// Must be set to a different value for all new transactions sent by a party. It is advised to generate this number randomly.
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// Block height which has been used to calculate the transaction proof-of-work.
	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_CreateReferralSet
	//	*InputData_UpdateReferralSet
	//	*InputData_ApplyReferralCode
	//	*InputData_UpdateMarginMode
	//	*InputData_JoinTeam
	//	*InputData_BatchProposalSubmission
	//	*InputData_UpdatePartyProfile
	//	*InputData_SubmitAmm
	//	*InputData_AmendAmm
	//	*InputData_CancelAmm
	//	*InputData_NodeVote
	//	*InputData_NodeSignature
	//	*InputData_ChainEvent
	//	*InputData_KeyRotateSubmission
	//	*InputData_StateVariableProposal
	//	*InputData_ValidatorHeartbeat
	//	*InputData_EthereumKeyRotateSubmission
	//	*InputData_ProtocolUpgradeProposal
	//	*InputData_IssueSignatures
	//	*InputData_OracleDataSubmission
	//	*InputData_DelayedTransactionsWrapper
	Command isInputData_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

Input data for a transaction containing a network command for the Vega network to execute. Once populated the protobuf message should be marshalled into a byte array and included in a transaction message.

func (*InputData) Descriptor deprecated

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

Deprecated: Use InputData.ProtoReflect.Descriptor instead.

func (*InputData) GetAmendAmm added in v0.77.0

func (x *InputData) GetAmendAmm() *AmendAMM

func (*InputData) GetAnnounceNode

func (x *InputData) GetAnnounceNode() *AnnounceNode

func (*InputData) GetApplyReferralCode added in v0.73.0

func (x *InputData) GetApplyReferralCode() *ApplyReferralCode

func (*InputData) GetBatchMarketInstructions added in v0.55.0

func (x *InputData) GetBatchMarketInstructions() *BatchMarketInstructions

func (*InputData) GetBatchProposalSubmission added in v0.74.0

func (x *InputData) GetBatchProposalSubmission() *BatchProposalSubmission

func (*InputData) GetBlockHeight

func (x *InputData) GetBlockHeight() uint64

func (*InputData) GetCancelAmm added in v0.77.0

func (x *InputData) GetCancelAmm() *CancelAMM

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) GetCreateReferralSet added in v0.73.0

func (x *InputData) GetCreateReferralSet() *CreateReferralSet

func (*InputData) GetDelayedTransactionsWrapper added in v0.77.0

func (x *InputData) GetDelayedTransactionsWrapper() *DelayedTransactionsWrapper

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) GetJoinTeam added in v0.74.0

func (x *InputData) GetJoinTeam() *JoinTeam

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) GetSubmitAmm added in v0.77.0

func (x *InputData) GetSubmitAmm() *SubmitAMM

func (*InputData) GetTransfer

func (x *InputData) GetTransfer() *Transfer

func (*InputData) GetUndelegateSubmission

func (x *InputData) GetUndelegateSubmission() *UndelegateSubmission

func (*InputData) GetUpdateMarginMode added in v0.74.0

func (x *InputData) GetUpdateMarginMode() *UpdateMarginMode

func (*InputData) GetUpdatePartyProfile added in v0.74.0

func (x *InputData) GetUpdatePartyProfile() *UpdatePartyProfile

func (*InputData) GetUpdateReferralSet added in v0.73.0

func (x *InputData) GetUpdateReferralSet() *UpdateReferralSet

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

type InputData_AmendAmm struct {
	// Command to amend an AMM pool on a market
	AmendAmm *AmendAMM `protobuf:"bytes,1026,opt,name=amend_amm,json=amendAmm,proto3,oneof"`
}

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

type InputData_ApplyReferralCode struct {
	// Command to apply a referral code.
	ApplyReferralCode *ApplyReferralCode `protobuf:"bytes,1020,opt,name=apply_referral_code,json=applyReferralCode,proto3,oneof"`
}

type InputData_BatchMarketInstructions added in v0.55.0

type InputData_BatchMarketInstructions struct {
	// Command to submit a batch of order instructions.
	BatchMarketInstructions *BatchMarketInstructions `protobuf:"bytes,1015,opt,name=batch_market_instructions,json=batchMarketInstructions,proto3,oneof"`
}

type InputData_BatchProposalSubmission added in v0.74.0

type InputData_BatchProposalSubmission struct {
	// Command to submit a batch governance proposal.
	BatchProposalSubmission *BatchProposalSubmission `protobuf:"bytes,1023,opt,name=batch_proposal_submission,json=batchProposalSubmission,proto3,oneof"`
}

type InputData_CancelAmm added in v0.77.0

type InputData_CancelAmm struct {
	// Command to cancel an AMM pool on a market
	CancelAmm *CancelAMM `protobuf:"bytes,1027,opt,name=cancel_amm,json=cancelAmm,proto3,oneof"`
}

type InputData_CancelTransfer

type InputData_CancelTransfer struct {
	// Command to cancel a recurring transfer.
	CancelTransfer *CancelTransfer `protobuf:"bytes,1013,opt,name=cancel_transfer,json=cancelTransfer,proto3,oneof"`
}

type InputData_ChainEvent

type InputData_ChainEvent struct {
	// Validator command sent automatically to notify the Vega chain of an off-chain event.
	ChainEvent *ChainEvent `protobuf:"bytes,2004,opt,name=chain_event,json=chainEvent,proto3,oneof"`
}

type InputData_CreateReferralSet added in v0.73.0

type InputData_CreateReferralSet struct {
	// Command to create a referral set.
	CreateReferralSet *CreateReferralSet `protobuf:"bytes,1018,opt,name=create_referral_set,json=createReferralSet,proto3,oneof"`
}

type InputData_DelayedTransactionsWrapper added in v0.77.0

type InputData_DelayedTransactionsWrapper struct {
	// Internal transactions used to convey delayed transactions to be included in the next block.
	DelayedTransactionsWrapper *DelayedTransactionsWrapper `protobuf:"bytes,4000,opt,name=delayed_transactions_wrapper,json=delayedTransactionsWrapper,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 {
	// Validator command sent manually by a node operator to rotate their node's 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 to request signatures to amend the multisig-control contract.
	IssueSignatures *IssueSignatures `protobuf:"bytes,2010,opt,name=issue_signatures,json=issueSignatures,proto3,oneof"`
}

type InputData_JoinTeam added in v0.74.0

type InputData_JoinTeam struct {
	// Command to join a team.
	JoinTeam *JoinTeam `protobuf:"bytes,1022,opt,name=join_team,json=joinTeam,proto3,oneof"`
}

type InputData_KeyRotateSubmission

type InputData_KeyRotateSubmission struct {
	// Validator command sent manually by a node operator to rotate their node's 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 amend 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 cancel 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 {
	// Validator command sent automatically to provide signatures for the Ethereum bridge.
	NodeSignature *NodeSignature `protobuf:"bytes,2003,opt,name=node_signature,json=nodeSignature,proto3,oneof"`
}

type InputData_NodeVote

type InputData_NodeVote struct {
	// Validator command sent automatically to vote on that validity of an external resource.
	NodeVote *NodeVote `protobuf:"bytes,2002,opt,name=node_vote,json=nodeVote,proto3,oneof"`
}

type InputData_OracleDataSubmission

type InputData_OracleDataSubmission struct {
	// Command to submit external oracle data.
	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 to submit 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 {
	// Validator command sent manually 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 {
	// Validator command sent automatically to reach consensus on floating point values.
	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_SubmitAmm added in v0.77.0

type InputData_SubmitAmm struct {
	// Command to submit an AMM pool to a market
	SubmitAmm *SubmitAMM `protobuf:"bytes,1025,opt,name=submit_amm,json=submitAmm,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_UpdateMarginMode added in v0.74.0

type InputData_UpdateMarginMode struct {
	// Command to update the margin mode of a party in a market.
	UpdateMarginMode *UpdateMarginMode `protobuf:"bytes,1021,opt,name=update_margin_mode,json=updateMarginMode,proto3,oneof"`
}

type InputData_UpdatePartyProfile added in v0.74.0

type InputData_UpdatePartyProfile struct {
	// Command to update a party's profile.
	UpdatePartyProfile *UpdatePartyProfile `protobuf:"bytes,1024,opt,name=update_party_profile,json=updatePartyProfile,proto3,oneof"`
}

type InputData_UpdateReferralSet added in v0.73.0

type InputData_UpdateReferralSet struct {
	// Command to update a referral set.
	UpdateReferralSet *UpdateReferralSet `protobuf:"bytes,1019,opt,name=update_referral_set,json=updateReferralSet,proto3,oneof"`
}

type InputData_ValidatorHeartbeat

type InputData_ValidatorHeartbeat struct {
	// Validator command sent automatically to signal regular participation in the network.
	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"`
	// Chain ID of the bridge to generate signatures for.
	ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

Command that can be used by a validator to instruct the network to generate signatures to add or remove validators from the multisig-control contract. Signatures can only be generated for validator nodes that have been promoted or demoted from the consensus validator set, and any attempt to generate signatures for another node will be rejected. The generated signatures can only be submitted to the contract by the Ethereum addresses included in the command.

func (*IssueSignatures) Descriptor deprecated added in v0.55.0

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

Deprecated: Use IssueSignatures.ProtoReflect.Descriptor instead.

func (*IssueSignatures) GetChainId added in v0.76.0

func (x *IssueSignatures) GetChainId() string

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

type JoinTeam struct {

	// ID of the team to join, this is the same as the referral code used to generate the team.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Command that allows the submitter to join a team or change teams if they are already a member of a team.

func (*JoinTeam) Descriptor deprecated added in v0.74.0

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

Deprecated: Use JoinTeam.ProtoReflect.Descriptor instead.

func (*JoinTeam) GetId added in v0.74.0

func (x *JoinTeam) GetId() string

func (*JoinTeam) ProtoMessage added in v0.74.0

func (*JoinTeam) ProtoMessage()

func (*JoinTeam) ProtoReflect added in v0.74.0

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

func (*JoinTeam) Reset added in v0.74.0

func (x *JoinTeam) Reset()

func (*JoinTeam) String added in v0.74.0

func (x *JoinTeam) 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"`
	// Block height at which the key rotation will take effect.
	TargetBlock uint64 `protobuf:"varint,2,opt,name=target_block,json=targetBlock,proto3" json:"target_block,omitempty"`
	// Vega public key that would be rotated to.
	NewPubKey string `protobuf:"bytes,3,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"`
	// Hash of the node's current Vega 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 validator command sent manually that allows a node operator to indicate to the network that their node's Vega key will be rotated.

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 {

	// Market that the submitter wants to amend the liquidity commitment for.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// New commitment amount.
	CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"`
	// New nominated liquidity fee factor.
	Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// New arbitrary 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
}

Command that allows a liquidity provider to update the details of their existing liquidity commitment. Any field that is left unset or as a default value indicates that this field on the original submission will be left unchanged.

func (*LiquidityProvisionAmendment) Descriptor deprecated

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

Deprecated: Use LiquidityProvisionAmendment.ProtoReflect.Descriptor instead.

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

	// Market that the submitter will stop providing liquidity for.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

Command that allows a liquidity provider to inform the network that they will stop providing liquidity for a market.

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 that the submitter wishes to provide liquidity for.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Amount that the submitter will commit as liquidity to the market, specified as a unitless number in the 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"`
	// Arbitrary 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 command that indicates to the network the party's intention to supply liquidity to the given market and become a liquidity provider. An active liquidity provider for a market will earn fees based on the trades that occur in the market.

func (*LiquidityProvisionSubmission) Descriptor deprecated

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

Deprecated: Use LiquidityProvisionSubmission.ProtoReflect.Descriptor instead.

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) 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 that the signature relates to.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Signature generated by the node.
	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
}

A validator command sent automatically containing a signature that can be used on a foreign chain to process an action.

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) GetEnums added in v0.76.0

func (NodeSignatureKind) GetEnums() map[int32]string

func (NodeSignatureKind) Number

func (NodeSignatureKind) String

func (x NodeSignatureKind) String() string

func (NodeSignatureKind) Type

type NodeVote

type NodeVote struct {

	// Reference identifying the resource that has been verified.
	Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	// Type of external event that has been verified.
	Type NodeVote_Type `protobuf:"varint,3,opt,name=type,proto3,enum=vega.commands.v1.NodeVote_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

A validator command which is sent automatically by a node when it has verified a resource external to the network.

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
	// Node vote for an Ethereum contract call result
	NodeVote_TYPE_ETHEREUM_CONTRACT_CALL_RESULT NodeVote_Type = 13
	// Node vote for an Ethereum chain event heartbeat.
	NodeVote_TYPE_ETHEREUM_HEARTBEAT NodeVote_Type = 14
)

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 executed, i.e., assets transferred 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
}

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.
	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.
	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
	// Specifies that the payload will be base64 encoded JSON conforming to the ETH standard.
	OracleDataSubmission_ORACLE_SOURCE_ETHEREUM OracleDataSubmission_OracleSource = 3
)

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 {

	// ID of the order to amend.
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// Market ID that the order was originally submitted to.
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// New price for the order. 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.
	// If specified, size must not be set.
	SizeDelta int64 `protobuf:"varint,4,opt,name=size_delta,json=sizeDelta,proto3" json:"size_delta,omitempty"`
	// Timestamp, in Unix nanoseconds, for the new expiry time for the order.
	ExpiresAt *int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// New time in force for the order.
	TimeInForce vega.Order_TimeInForce `protobuf:"varint,6,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"`
	// New pegged 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"`
	// New pegged reference for the order.
	PeggedReference vega.PeggedReference `` /* 133-byte string literal not displayed */
	// New size for the order.
	// Amending the size causes the size and remaining part of the order to be changed by the difference between the original and amended size.
	// - Specifying a size smaller than the current size leaves the order at its current order book position.
	// - Specifying a size larger than the current size removes and reinserts the order at the back of the price level.
	// - Specifying a size that results in the remaining part of the order being reduced to zero cancels the order.
	// This field is an unsigned integer scaled to the market's decimal places.
	// If specified, size_delta must be set to 0.
	Size *uint64 `protobuf:"varint,9,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// contains filtered or unexported fields
}

A command that allows a party to update the details of an existing order. Any field that is left unset or as a default value indicates that this field on the original order will be left unchanged. It is not possible to change an order's type through this command.

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) GetSize added in v0.74.0

func (x *OrderAmendment) GetSize() uint64

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 {

	// Restrict cancellations to an order with the given ID. If set, then a market ID must also be provided.
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// Restrict cancellations to those submitted to the given market. If not set, all stop orders across all markets will be cancelled.
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// contains filtered or unexported fields
}

A command that instructs the network to cancel orders, active or partially filled, that were previously submitted by the sender of this transaction. It is not possible to cancel another party's order with this command.

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 to submit the order to.
	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.
	Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// Which side of the order book the order is for, e.g. buy or sell.
	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..
	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. Can only be set when the order's time-in-force is GTT.
	ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// Type of the order.
	Type vega.Order_Type `protobuf:"varint,7,opt,name=type,proto3,enum=vega.Order_Type" json:"type,omitempty"`
	// Arbitrary optional reference for the order, to be used as a human-readable non-unique identifier for the order.
	Reference string `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"`
	// Pegged order details. If set, the order's price will be offset from a particular reference price of the order book at all times.
	PeggedOrder *vega.PeggedOrder `protobuf:"bytes,9,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"`
	// If set, the order will only be executed if it would not trade on entry to the order book. Only valid for limit orders.
	PostOnly bool `protobuf:"varint,10,opt,name=post_only,json=postOnly,proto3" json:"post_only,omitempty"`
	// If set, the order will only be executed if the outcome of the trade moves the trader's position closer to 0.
	// Only valid for non-persistent orders.
	ReduceOnly bool `protobuf:"varint,11,opt,name=reduce_only,json=reduceOnly,proto3" json:"reduce_only,omitempty"`
	// Iceberg order details. If set, the order will exist on the order book in chunks.
	IcebergOpts *IcebergOpts `protobuf:"bytes,12,opt,name=iceberg_opts,json=icebergOpts,proto3,oneof" json:"iceberg_opts,omitempty"`
	// contains filtered or unexported fields
}

A command that submits an order to the Vega network for a given market.

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 {

	// Arbitrary human-readable reference identifying the proposal.
	Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	// Proposal terms containing the type and details of the proposal, as well as time spans for voting and enactment.
	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 that allows a token holder to submit a governance proposal that can be voted on by any other token holders, and eventually enacted on the Vega network. For example this command can be used to propose a new market.

func ProposalSubmissionFromProposal

func ProposalSubmissionFromProposal(p *types.Proposal) (*ProposalSubmission, error)

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
}

A validator command sent manually by a node operator to propose 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 executed.
	StartEpoch uint64 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"`
	// Last epoch at which this transfer shall be executed.
	EndEpoch *uint64 `protobuf:"varint,2,opt,name=end_epoch,json=endEpoch,proto3,oneof" json:"end_epoch,omitempty"`
	// Factor that the initial transfer amount is multiplied by for each epoch that it is executed.
	// For example if the initial transfer amount is 1000 and the factor is 0.5, then the amounts transferred per epoch will be 1000, 500, 250, 125, etc.
	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
}

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 algorithm used to create the signature.
	Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Signature definition that allows the network to authenticate external data.

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 {

	// Details of the state variable being proposed.
	Proposal *vega.StateValueProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// contains filtered or unexported fields
}

A validator command sent automatically to reach consensus on floating point values.

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"`
	// Timestamp, in Unix nanoseconds, for when the stop order should expire. If not set the stop order will not expire.
	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 */
	// Indicates if this order is linked to an order or position to derive the order size
	SizeOverrideSetting *vega.StopOrder_SizeOverrideSetting `` /* 167-byte string literal not displayed */
	// If this order is linked to a position, provide an optional scaling factor
	SizeOverrideValue *vega.StopOrder_SizeOverrideValue `protobuf:"bytes,5,opt,name=size_override_value,json=sizeOverrideValue,proto3,oneof" json:"size_override_value,omitempty"`
	// 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) GetSizeOverrideSetting added in v0.74.0

func (x *StopOrderSetup) GetSizeOverrideSetting() vega.StopOrder_SizeOverrideSetting

func (*StopOrderSetup) GetSizeOverrideValue added in v0.74.0

func (x *StopOrderSetup) GetSizeOverrideValue() *vega.StopOrder_SizeOverrideValue

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 {
	// Order will be submitted if the last traded price on the market breaches the given price.
	Price string `protobuf:"bytes,100,opt,name=price,proto3,oneof"`
}

type StopOrderSetup_TrailingPercentOffset added in v0.72.0

type StopOrderSetup_TrailingPercentOffset struct {
	// Order will be submitted if the last traded price has moved the given percent from the highest/lowest mark price since the stop order was 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 {

	// Restrict cancellations to those submitted to the given market. If not set, all stop orders across all markets will be cancelled.
	MarketId *string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3,oneof" json:"market_id,omitempty"`
	// Restrict cancellations to a stop order with the given ID. If set, then a market ID must also be provided.
	StopOrderId *string `protobuf:"bytes,2,opt,name=stop_order_id,json=stopOrderId,proto3,oneof" json:"stop_order_id,omitempty"`
	// contains filtered or unexported fields
}

A command that instructs the network to cancel untriggered stop orders that were submitted by the sender of this transaction. If any cancelled stop order is part of an OCO, both stop orders will be cancelled. It is not possible to cancel another party's stop orders with this command.

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
}

A command that allows a party to submit a stop order for a given market. A stop order is a normal order that remains off the order book and is only submitted if a given trigger is breached from a particular direction. If both rises-above and falls-below are configured, then if one is triggered the other will be cancelled (OCO).

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

type SubmitAMM struct {

	// Market ID for which to create an AMM.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Amount to be committed to the AMM.
	CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"`
	// Slippage tolerance used for rebasing the AMM if its base price crosses with existing order
	SlippageTolerance string `protobuf:"bytes,3,opt,name=slippage_tolerance,json=slippageTolerance,proto3" json:"slippage_tolerance,omitempty"`
	// Concentrated liquidity parameters defining the shape of the AMM's volume curves.
	ConcentratedLiquidityParameters *SubmitAMM_ConcentratedLiquidityParameters `` /* 156-byte string literal not displayed */
	// Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market.
	ProposedFee string `protobuf:"bytes,5,opt,name=proposed_fee,json=proposedFee,proto3" json:"proposed_fee,omitempty"`
	// contains filtered or unexported fields
}

Command to create an automated market maker for a given market.

func (*SubmitAMM) Descriptor deprecated added in v0.77.0

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

Deprecated: Use SubmitAMM.ProtoReflect.Descriptor instead.

func (*SubmitAMM) GetCommitmentAmount added in v0.77.0

func (x *SubmitAMM) GetCommitmentAmount() string

func (*SubmitAMM) GetConcentratedLiquidityParameters added in v0.77.0

func (x *SubmitAMM) GetConcentratedLiquidityParameters() *SubmitAMM_ConcentratedLiquidityParameters

func (*SubmitAMM) GetMarketId added in v0.77.0

func (x *SubmitAMM) GetMarketId() string

func (*SubmitAMM) GetProposedFee added in v0.77.0

func (x *SubmitAMM) GetProposedFee() string

func (*SubmitAMM) GetSlippageTolerance added in v0.77.0

func (x *SubmitAMM) GetSlippageTolerance() string

func (*SubmitAMM) ProtoMessage added in v0.77.0

func (*SubmitAMM) ProtoMessage()

func (*SubmitAMM) ProtoReflect added in v0.77.0

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

func (*SubmitAMM) Reset added in v0.77.0

func (x *SubmitAMM) Reset()

func (*SubmitAMM) String added in v0.77.0

func (x *SubmitAMM) String() string

type SubmitAMM_ConcentratedLiquidityParameters added in v0.77.0

type SubmitAMM_ConcentratedLiquidityParameters struct {

	// Price at which the AMM will stop quoting sell volume. If not supplied the AMM will never hold a short position.
	UpperBound *string `protobuf:"bytes,1,opt,name=upper_bound,json=upperBound,proto3,oneof" json:"upper_bound,omitempty"`
	// Price at which the AMM will stop quoting buy volume. If not supplied the AMM will never hold a long position.
	LowerBound *string `protobuf:"bytes,2,opt,name=lower_bound,json=lowerBound,proto3,oneof" json:"lower_bound,omitempty"`
	// Price that the AMM will quote as its "fair price" when its position is zero.
	Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"`
	// Leverage at upper bound. If not set the markets risk-factors will be used to calculate leverage.
	LeverageAtUpperBound *string `` /* 131-byte string literal not displayed */
	// Leverage at lower bound. If not set the markets risk-factors will be used to calculate leverage.
	LeverageAtLowerBound *string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Liquidity parameters that define the size and range of the AMM's tradeable volume.

func (*SubmitAMM_ConcentratedLiquidityParameters) Descriptor deprecated added in v0.77.0

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

Deprecated: Use SubmitAMM_ConcentratedLiquidityParameters.ProtoReflect.Descriptor instead.

func (*SubmitAMM_ConcentratedLiquidityParameters) GetBase added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound added in v0.77.0

func (x *SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound() string

func (*SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound added in v0.77.0

func (x *SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound() string

func (*SubmitAMM_ConcentratedLiquidityParameters) GetLowerBound added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) GetUpperBound added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) ProtoMessage added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) ProtoReflect added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) Reset added in v0.77.0

func (*SubmitAMM_ConcentratedLiquidityParameters) String added in v0.77.0

type Transaction

type Transaction struct {

	// Protobuf message of type `InputData` marshalled into bytes. If the transaction version is V3 or higher then this bytes
	// string must be prepended with `chain_id_as_byes + \0`.
	InputData []byte `protobuf:"bytes,1,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"`
	// Signature of the input data field, signed by the sender of this transaction.
	Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// Sender of the transaction.
	//
	// Types that are assignable to From:
	//
	//	*Transaction_Address
	//	*Transaction_PubKey
	From isTransaction_From `protobuf_oneof:"from"`
	// Version of the transaction.
	Version TxVersion `protobuf:"varint,2000,opt,name=version,proto3,enum=vega.commands.v1.TxVersion" json:"version,omitempty"`
	// Proof-of-work containing 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
}

Transaction containing a command that can be sent to instruct the network to execute an action. A transaction contains a byte string representation of the input data which must then be signed, with the signature added to the transaction.

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, as 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"`
	// AMM key from which assets are to be transferred, if applicable.
	// The submitter of the transaction must be the owner of this AMM key.
	// If provided, the 'from_account_type' must be REWARDS_VESTED, and the asset in this account
	// must match the asset specified in the transfer.
	From *string `protobuf:"bytes,7,opt,name=from,proto3,oneof" json:"from,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
}

Command that allows a party to move assets from one account to another. A transfer can be set up as a single one-off transfer, or a recurring transfer that occurs once at the start of each epoch. Each transfer incurs a fee as specified by the network parameter `transfer.fee.factor`

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetAmount

func (x *Transfer) GetAmount() string

func (*Transfer) GetAsset

func (x *Transfer) GetAsset() string

func (*Transfer) GetFrom added in v0.77.0

func (x *Transfer) GetFrom() 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 {
	// Details of a one-off transfer that is executed once at a specified time.
	OneOff *OneOffTransfer `protobuf:"bytes,101,opt,name=one_off,json=oneOff,proto3,oneof"`
}

type Transfer_Recurring

type Transfer_Recurring struct {
	// Details of a transfer that is executed once every epoch until stopped.
	Recurring *RecurringTransfer `protobuf:"bytes,102,opt,name=recurring,proto3,oneof"`
}

type TxVersion

type TxVersion int32

Transaction versions to maintain backwards compatibility of transaction formats.

const (
	// Transaction version is unspecified.
	TxVersion_TX_VERSION_UNSPECIFIED TxVersion = 0
	// Transaction requires the addition of a proof-of-work calculation.
	TxVersion_TX_VERSION_V2 TxVersion = 2
	// Transaction input data contains a prepended chain ID to prevent use of a single transaction across multiple networks.
	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 undelegate stake from.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Amount to undelegate, as an unsigned integer scaled to the governance asset's decimal places.
	// If not set, then all delegations to the given validator node will be removed.
	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
}

Command to allow a token holder to instruct the network to remove their delegated stake from a given validator node.

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
	// Undelegate straight away, losing all rewards for the current epoch.
	UndelegateSubmission_METHOD_NOW UndelegateSubmission_Method = 1
	// Undelegate at the end of an epoch, retaining all rewards for the current epoch.
	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 UpdateMarginMode added in v0.74.0

type UpdateMarginMode struct {

	// Market to change margin mode for.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Margin mode to use.
	Mode UpdateMarginMode_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=vega.commands.v1.UpdateMarginMode_Mode" json:"mode,omitempty"`
	// Margin factor to use for margin in isolated mode. It is a multiplier that defines how much margin needs to be set aside
	MarginFactor *string `protobuf:"bytes,3,opt,name=margin_factor,json=marginFactor,proto3,oneof" json:"margin_factor,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMarginMode) Descriptor deprecated added in v0.74.0

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

Deprecated: Use UpdateMarginMode.ProtoReflect.Descriptor instead.

func (*UpdateMarginMode) GetMarginFactor added in v0.74.0

func (x *UpdateMarginMode) GetMarginFactor() string

func (*UpdateMarginMode) GetMarketId added in v0.74.0

func (x *UpdateMarginMode) GetMarketId() string

func (*UpdateMarginMode) GetMode added in v0.74.0

func (*UpdateMarginMode) ProtoMessage added in v0.74.0

func (*UpdateMarginMode) ProtoMessage()

func (*UpdateMarginMode) ProtoReflect added in v0.74.0

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

func (*UpdateMarginMode) Reset added in v0.74.0

func (x *UpdateMarginMode) Reset()

func (*UpdateMarginMode) String added in v0.74.0

func (x *UpdateMarginMode) String() string

type UpdateMarginMode_Mode added in v0.74.0

type UpdateMarginMode_Mode int32
const (
	// Never valid.
	UpdateMarginMode_MODE_UNSPECIFIED UpdateMarginMode_Mode = 0
	// Cross margin mode - margin is dynamically acquired and released as a position is marked to market
	UpdateMarginMode_MODE_CROSS_MARGIN UpdateMarginMode_Mode = 1
	// Isolated margin mode - margin for any newly opened position volume is transferred to the margin account when the trade is executed
	UpdateMarginMode_MODE_ISOLATED_MARGIN UpdateMarginMode_Mode = 2
)

func (UpdateMarginMode_Mode) Descriptor added in v0.74.0

func (UpdateMarginMode_Mode) Enum added in v0.74.0

func (UpdateMarginMode_Mode) EnumDescriptor deprecated added in v0.74.0

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

Deprecated: Use UpdateMarginMode_Mode.Descriptor instead.

func (UpdateMarginMode_Mode) Number added in v0.74.0

func (UpdateMarginMode_Mode) String added in v0.74.0

func (x UpdateMarginMode_Mode) String() string

func (UpdateMarginMode_Mode) Type added in v0.74.0

type UpdatePartyProfile added in v0.74.0

type UpdatePartyProfile struct {

	// Alias given to the party. It must be unique network-wide.
	Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	// Freeform data to associate to the party.
	// Support a maximum of 10 entries.
	Metadata []*vega.Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Command to associate metadata to a public key, known as a party ID. Partial update is not supported, meaning previous values must be included in the update, otherwise they are removed.

func (*UpdatePartyProfile) Descriptor deprecated added in v0.74.0

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

Deprecated: Use UpdatePartyProfile.ProtoReflect.Descriptor instead.

func (*UpdatePartyProfile) GetAlias added in v0.74.0

func (x *UpdatePartyProfile) GetAlias() string

func (*UpdatePartyProfile) GetMetadata added in v0.74.0

func (x *UpdatePartyProfile) GetMetadata() []*vega.Metadata

func (*UpdatePartyProfile) ProtoMessage added in v0.74.0

func (*UpdatePartyProfile) ProtoMessage()

func (*UpdatePartyProfile) ProtoReflect added in v0.74.0

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

func (*UpdatePartyProfile) Reset added in v0.74.0

func (x *UpdatePartyProfile) Reset()

func (*UpdatePartyProfile) String added in v0.74.0

func (x *UpdatePartyProfile) String() string

type UpdateReferralSet added in v0.73.0

type UpdateReferralSet struct {

	// ID of the referral set to update.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Whether or not the referral set should be considered a team that can participate in team games on the network.
	IsTeam bool `protobuf:"varint,2,opt,name=is_team,json=isTeam,proto3" json:"is_team,omitempty"`
	// Team details, if the referral set is to be considered a team.
	Team *UpdateReferralSet_Team `protobuf:"bytes,3,opt,name=team,proto3,oneof" json:"team,omitempty"`
	// contains filtered or unexported fields
}

A command that allows the referrer of a referral set to update team details for a referral set. Any field that is left unset or has a default value indicates that this field on the original referral set will be left unchanged.

func (*UpdateReferralSet) Descriptor deprecated added in v0.73.0

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

Deprecated: Use UpdateReferralSet.ProtoReflect.Descriptor instead.

func (*UpdateReferralSet) GetId added in v0.73.0

func (x *UpdateReferralSet) GetId() string

func (*UpdateReferralSet) GetIsTeam added in v0.73.0

func (x *UpdateReferralSet) GetIsTeam() bool

func (*UpdateReferralSet) GetTeam added in v0.73.0

func (*UpdateReferralSet) ProtoMessage added in v0.73.0

func (*UpdateReferralSet) ProtoMessage()

func (*UpdateReferralSet) ProtoReflect added in v0.73.0

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

func (*UpdateReferralSet) Reset added in v0.73.0

func (x *UpdateReferralSet) Reset()

func (*UpdateReferralSet) String added in v0.73.0

func (x *UpdateReferralSet) String() string

type UpdateReferralSet_Team added in v0.73.0

type UpdateReferralSet_Team struct {

	// New name of the team.
	Name *string `protobuf:"bytes,10,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// New link to the team's homepage.
	TeamUrl *string `protobuf:"bytes,11,opt,name=team_url,json=teamUrl,proto3,oneof" json:"team_url,omitempty"`
	// New link to an avatar for the team.
	AvatarUrl *string `protobuf:"bytes,12,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Whether or not the team is closed to new party members. When closed, only parties specified in the allow list can
	// join the team.
	Closed *bool `protobuf:"varint,13,opt,name=closed,proto3,oneof" json:"closed,omitempty"`
	// List of public keys that are allowed to join the team.
	// Only applicable to closed teams. Removing a party from the allow list does not remove
	// the party from the team.
	AllowList []string `protobuf:"bytes,14,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateReferralSet_Team) Descriptor deprecated added in v0.73.0

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

Deprecated: Use UpdateReferralSet_Team.ProtoReflect.Descriptor instead.

func (*UpdateReferralSet_Team) GetAllowList added in v0.74.0

func (x *UpdateReferralSet_Team) GetAllowList() []string

func (*UpdateReferralSet_Team) GetAvatarUrl added in v0.73.0

func (x *UpdateReferralSet_Team) GetAvatarUrl() string

func (*UpdateReferralSet_Team) GetClosed added in v0.73.0

func (x *UpdateReferralSet_Team) GetClosed() bool

func (*UpdateReferralSet_Team) GetName added in v0.73.0

func (x *UpdateReferralSet_Team) GetName() string

func (*UpdateReferralSet_Team) GetTeamUrl added in v0.73.0

func (x *UpdateReferralSet_Team) GetTeamUrl() string

func (*UpdateReferralSet_Team) ProtoMessage added in v0.73.0

func (*UpdateReferralSet_Team) ProtoMessage()

func (*UpdateReferralSet_Team) ProtoReflect added in v0.73.0

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

func (*UpdateReferralSet_Team) Reset added in v0.73.0

func (x *UpdateReferralSet_Team) Reset()

func (*UpdateReferralSet_Team) String added in v0.73.0

func (x *UpdateReferralSet_Team) String() string

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 their Ethereum wallet.
	EthereumSignature *Signature `protobuf:"bytes,2,opt,name=ethereum_signature,json=ethereumSignature,proto3" json:"ethereum_signature,omitempty"`
	// Signature from the validator made using their 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
}

A validator command which is sent automatically at regular intervals by any validator participating in the network. It is used to allow the network to know whether a validator is active, or if they have shut down.

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 that allows a token holder to vote for or against an active 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, as 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"`
	// Details specific to the foreign chain, such as the receiver address.
	Ext *vega.WithdrawExt `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"`
	// contains filtered or unexported fields
}

Command to instruct the network to process an asset withdrawal from the Vega network. The process is specific to the destination foreign chain, for example, a withdrawal to Ethereum will generate signatures that allow funds to be taken across the bridge.

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