Documentation ¶
Index ¶
- Variables
- type CancelTransfer
- func (*CancelTransfer) Descriptor() ([]byte, []int)
- func (m *CancelTransfer) GetTransferId() string
- func (*CancelTransfer) ProtoMessage()
- func (m *CancelTransfer) Reset()
- func (m *CancelTransfer) String() string
- func (m *CancelTransfer) XXX_DiscardUnknown()
- func (m *CancelTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelTransfer) XXX_Merge(src proto.Message)
- func (m *CancelTransfer) XXX_Size() int
- func (m *CancelTransfer) XXX_Unmarshal(b []byte) error
- type ChainEvent
- func (*ChainEvent) Descriptor() ([]byte, []int)
- func (m *ChainEvent) GetBtc() *vega.BTCEvent
- func (m *ChainEvent) GetBuiltin() *vega.BuiltinAssetEvent
- func (m *ChainEvent) GetErc20() *vega.ERC20Event
- func (m *ChainEvent) GetEvent() isChainEvent_Event
- func (m *ChainEvent) GetNonce() uint64
- func (m *ChainEvent) GetStakingEvent() *vega.StakingEvent
- func (m *ChainEvent) GetTxId() string
- func (m *ChainEvent) GetValidator() *vega.ValidatorEvent
- func (c *ChainEvent) PrepareToSign() ([]byte, error)
- func (*ChainEvent) ProtoMessage()
- func (m *ChainEvent) Reset()
- func (m *ChainEvent) String() string
- func (m *ChainEvent) XXX_DiscardUnknown()
- func (m *ChainEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainEvent) XXX_Merge(src proto.Message)
- func (*ChainEvent) XXX_OneofWrappers() []interface{}
- func (m *ChainEvent) XXX_Size() int
- func (m *ChainEvent) XXX_Unmarshal(b []byte) error
- type ChainEvent_Btc
- type ChainEvent_Builtin
- type ChainEvent_Erc20
- type ChainEvent_StakingEvent
- type ChainEvent_Validator
- type DelegateSubmission
- func (*DelegateSubmission) Descriptor() ([]byte, []int)
- func (m *DelegateSubmission) GetAmount() string
- func (m *DelegateSubmission) GetNodeId() string
- func (*DelegateSubmission) ProtoMessage()
- func (m *DelegateSubmission) Reset()
- func (m *DelegateSubmission) String() string
- func (m *DelegateSubmission) XXX_DiscardUnknown()
- func (m *DelegateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegateSubmission) XXX_Merge(src proto.Message)
- func (m *DelegateSubmission) XXX_Size() int
- func (m *DelegateSubmission) XXX_Unmarshal(b []byte) error
- type InputData
- func (*InputData) Descriptor() ([]byte, []int)
- func (m *InputData) GetBlockHeight() uint64
- func (m *InputData) GetCancelTransfer() *CancelTransfer
- func (m *InputData) GetChainEvent() *ChainEvent
- func (m *InputData) GetCommand() isInputData_Command
- func (m *InputData) GetDelegateSubmission() *DelegateSubmission
- func (m *InputData) GetKeyRotateSubmission() *KeyRotateSubmission
- func (m *InputData) GetLiquidityProvisionAmendment() *LiquidityProvisionAmendment
- func (m *InputData) GetLiquidityProvisionCancellation() *LiquidityProvisionCancellation
- func (m *InputData) GetLiquidityProvisionSubmission() *LiquidityProvisionSubmission
- func (m *InputData) GetNodeRegistration() *NodeRegistration
- func (m *InputData) GetNodeSignature() *NodeSignature
- func (m *InputData) GetNodeVote() *NodeVote
- func (m *InputData) GetNonce() uint64
- func (m *InputData) GetOracleDataSubmission() *OracleDataSubmission
- func (m *InputData) GetOrderAmendment() *OrderAmendment
- func (m *InputData) GetOrderCancellation() *OrderCancellation
- func (m *InputData) GetOrderSubmission() *OrderSubmission
- func (m *InputData) GetProposalSubmission() *ProposalSubmission
- func (m *InputData) GetRestoreSnapshotSubmission() *RestoreSnapshot
- func (m *InputData) GetStateVariableProposal() *StateVariableProposal
- func (m *InputData) GetTransfer() *Transfer
- func (m *InputData) GetUndelegateSubmission() *UndelegateSubmission
- func (m *InputData) GetVoteSubmission() *VoteSubmission
- func (m *InputData) GetWithdrawSubmission() *WithdrawSubmission
- func (*InputData) ProtoMessage()
- func (m *InputData) Reset()
- func (m *InputData) String() string
- func (m *InputData) XXX_DiscardUnknown()
- func (m *InputData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InputData) XXX_Merge(src proto.Message)
- func (*InputData) XXX_OneofWrappers() []interface{}
- func (m *InputData) XXX_Size() int
- func (m *InputData) XXX_Unmarshal(b []byte) error
- type InputData_CancelTransfer
- type InputData_ChainEvent
- type InputData_DelegateSubmission
- type InputData_KeyRotateSubmission
- type InputData_LiquidityProvisionAmendment
- type InputData_LiquidityProvisionCancellation
- type InputData_LiquidityProvisionSubmission
- type InputData_NodeRegistration
- type InputData_NodeSignature
- type InputData_NodeVote
- type InputData_OracleDataSubmission
- type InputData_OrderAmendment
- type InputData_OrderCancellation
- type InputData_OrderSubmission
- type InputData_ProposalSubmission
- type InputData_RestoreSnapshotSubmission
- type InputData_StateVariableProposal
- type InputData_Transfer
- type InputData_UndelegateSubmission
- type InputData_VoteSubmission
- type InputData_WithdrawSubmission
- type Int64Value
- func (*Int64Value) Descriptor() ([]byte, []int)
- func (m *Int64Value) GetValue() int64
- func (*Int64Value) ProtoMessage()
- func (m *Int64Value) Reset()
- func (m *Int64Value) String() string
- func (m *Int64Value) XXX_DiscardUnknown()
- func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64Value) XXX_Merge(src proto.Message)
- func (m *Int64Value) XXX_Size() int
- func (m *Int64Value) XXX_Unmarshal(b []byte) error
- type KeyRotateSubmission
- func (*KeyRotateSubmission) Descriptor() ([]byte, []int)
- func (m *KeyRotateSubmission) GetCurrentPubKeyHash() string
- func (m *KeyRotateSubmission) GetNewPubKey() string
- func (m *KeyRotateSubmission) GetNewPubKeyIndex() uint32
- func (m *KeyRotateSubmission) GetTargetBlock() uint64
- func (*KeyRotateSubmission) ProtoMessage()
- func (m *KeyRotateSubmission) Reset()
- func (m *KeyRotateSubmission) String() string
- func (m *KeyRotateSubmission) XXX_DiscardUnknown()
- func (m *KeyRotateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyRotateSubmission) XXX_Merge(src proto.Message)
- func (m *KeyRotateSubmission) XXX_Size() int
- func (m *KeyRotateSubmission) XXX_Unmarshal(b []byte) error
- type LiquidityProvisionAmendment
- func (*LiquidityProvisionAmendment) Descriptor() ([]byte, []int)
- func (m *LiquidityProvisionAmendment) GetBuys() []*vega.LiquidityOrder
- func (m *LiquidityProvisionAmendment) GetCommitmentAmount() string
- func (m *LiquidityProvisionAmendment) GetFee() string
- func (m *LiquidityProvisionAmendment) GetMarketId() string
- func (m *LiquidityProvisionAmendment) GetReference() string
- func (m *LiquidityProvisionAmendment) GetSells() []*vega.LiquidityOrder
- func (*LiquidityProvisionAmendment) ProtoMessage()
- func (m *LiquidityProvisionAmendment) Reset()
- func (m *LiquidityProvisionAmendment) String() string
- func (m *LiquidityProvisionAmendment) XXX_DiscardUnknown()
- func (m *LiquidityProvisionAmendment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProvisionAmendment) XXX_Merge(src proto.Message)
- func (m *LiquidityProvisionAmendment) XXX_Size() int
- func (m *LiquidityProvisionAmendment) XXX_Unmarshal(b []byte) error
- type LiquidityProvisionCancellation
- func (*LiquidityProvisionCancellation) Descriptor() ([]byte, []int)
- func (m *LiquidityProvisionCancellation) GetMarketId() string
- func (*LiquidityProvisionCancellation) ProtoMessage()
- func (m *LiquidityProvisionCancellation) Reset()
- func (m *LiquidityProvisionCancellation) String() string
- func (m *LiquidityProvisionCancellation) XXX_DiscardUnknown()
- func (m *LiquidityProvisionCancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProvisionCancellation) XXX_Merge(src proto.Message)
- func (m *LiquidityProvisionCancellation) XXX_Size() int
- func (m *LiquidityProvisionCancellation) XXX_Unmarshal(b []byte) error
- type LiquidityProvisionSubmission
- func (*LiquidityProvisionSubmission) Descriptor() ([]byte, []int)
- func (m *LiquidityProvisionSubmission) GetBuys() []*vega.LiquidityOrder
- func (m *LiquidityProvisionSubmission) GetCommitmentAmount() string
- func (m *LiquidityProvisionSubmission) GetFee() string
- func (m *LiquidityProvisionSubmission) GetMarketId() string
- func (m *LiquidityProvisionSubmission) GetReference() string
- func (m *LiquidityProvisionSubmission) GetSells() []*vega.LiquidityOrder
- func (*LiquidityProvisionSubmission) ProtoMessage()
- func (m *LiquidityProvisionSubmission) Reset()
- func (m *LiquidityProvisionSubmission) String() string
- func (m *LiquidityProvisionSubmission) XXX_DiscardUnknown()
- func (m *LiquidityProvisionSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProvisionSubmission) XXX_Merge(src proto.Message)
- func (m *LiquidityProvisionSubmission) XXX_Size() int
- func (m *LiquidityProvisionSubmission) XXX_Unmarshal(b []byte) error
- type NodeRegistration
- func (*NodeRegistration) Descriptor() ([]byte, []int)
- func (m *NodeRegistration) GetAvatarUrl() string
- func (m *NodeRegistration) GetChainPubKey() string
- func (m *NodeRegistration) GetCountry() string
- func (m *NodeRegistration) GetEthereumAddress() string
- func (m *NodeRegistration) GetId() string
- func (m *NodeRegistration) GetInfoUrl() string
- func (m *NodeRegistration) GetName() string
- func (m *NodeRegistration) GetVegaPubKey() string
- func (m *NodeRegistration) GetVegaPubKeyIndex() uint32
- func (*NodeRegistration) ProtoMessage()
- func (m *NodeRegistration) Reset()
- func (m *NodeRegistration) String() string
- func (m *NodeRegistration) XXX_DiscardUnknown()
- func (m *NodeRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeRegistration) XXX_Merge(src proto.Message)
- func (m *NodeRegistration) XXX_Size() int
- func (m *NodeRegistration) XXX_Unmarshal(b []byte) error
- type NodeSignature
- func (n NodeSignature) DeepClone() *NodeSignature
- func (*NodeSignature) Descriptor() ([]byte, []int)
- func (m *NodeSignature) GetId() string
- func (m *NodeSignature) GetKind() NodeSignatureKind
- func (m *NodeSignature) GetSig() []byte
- func (NodeSignature) IsEvent()
- func (*NodeSignature) ProtoMessage()
- func (m *NodeSignature) Reset()
- func (m *NodeSignature) String() string
- func (m *NodeSignature) XXX_DiscardUnknown()
- func (m *NodeSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeSignature) XXX_Merge(src proto.Message)
- func (m *NodeSignature) XXX_Size() int
- func (m *NodeSignature) XXX_Unmarshal(b []byte) error
- type NodeSignatureKind
- type NodeVote
- func (*NodeVote) Descriptor() ([]byte, []int)
- func (m *NodeVote) GetPubKey() []byte
- func (m *NodeVote) GetReference() string
- func (*NodeVote) ProtoMessage()
- func (m *NodeVote) Reset()
- func (m *NodeVote) String() string
- func (m *NodeVote) XXX_DiscardUnknown()
- func (m *NodeVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeVote) XXX_Merge(src proto.Message)
- func (m *NodeVote) XXX_Size() int
- func (m *NodeVote) XXX_Unmarshal(b []byte) error
- type OneOffTransfer
- func (*OneOffTransfer) Descriptor() ([]byte, []int)
- func (m *OneOffTransfer) GetDeliverOn() int64
- func (*OneOffTransfer) ProtoMessage()
- func (m *OneOffTransfer) Reset()
- func (m *OneOffTransfer) String() string
- func (m *OneOffTransfer) XXX_DiscardUnknown()
- func (m *OneOffTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OneOffTransfer) XXX_Merge(src proto.Message)
- func (m *OneOffTransfer) XXX_Size() int
- func (m *OneOffTransfer) XXX_Unmarshal(b []byte) error
- type OracleDataSubmission
- func (*OracleDataSubmission) Descriptor() ([]byte, []int)
- func (m *OracleDataSubmission) GetPayload() []byte
- func (m *OracleDataSubmission) GetSource() OracleDataSubmission_OracleSource
- func (*OracleDataSubmission) ProtoMessage()
- func (m *OracleDataSubmission) Reset()
- func (m *OracleDataSubmission) String() string
- func (this *OracleDataSubmission) Validate() error
- func (m *OracleDataSubmission) XXX_DiscardUnknown()
- func (m *OracleDataSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleDataSubmission) XXX_Merge(src proto.Message)
- func (m *OracleDataSubmission) XXX_Size() int
- func (m *OracleDataSubmission) XXX_Unmarshal(b []byte) error
- type OracleDataSubmission_OracleSource
- type OrderAmendment
- func (*OrderAmendment) Descriptor() ([]byte, []int)
- func (m *OrderAmendment) GetExpiresAt() *vega.Timestamp
- func (m *OrderAmendment) GetMarketId() string
- func (m *OrderAmendment) GetOrderId() string
- func (m *OrderAmendment) GetPeggedOffset() string
- func (m *OrderAmendment) GetPeggedReference() vega.PeggedReference
- func (m *OrderAmendment) GetPrice() *vega.Price
- func (m *OrderAmendment) GetSizeDelta() int64
- func (m *OrderAmendment) GetTimeInForce() vega.Order_TimeInForce
- func (*OrderAmendment) ProtoMessage()
- func (m *OrderAmendment) Reset()
- func (m *OrderAmendment) String() string
- func (m *OrderAmendment) XXX_DiscardUnknown()
- func (m *OrderAmendment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderAmendment) XXX_Merge(src proto.Message)
- func (m *OrderAmendment) XXX_Size() int
- func (m *OrderAmendment) XXX_Unmarshal(b []byte) error
- type OrderCancellation
- func (*OrderCancellation) Descriptor() ([]byte, []int)
- func (m *OrderCancellation) GetMarketId() string
- func (m *OrderCancellation) GetOrderId() string
- func (*OrderCancellation) ProtoMessage()
- func (m *OrderCancellation) Reset()
- func (m *OrderCancellation) String() string
- func (m *OrderCancellation) XXX_DiscardUnknown()
- func (m *OrderCancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderCancellation) XXX_Merge(src proto.Message)
- func (m *OrderCancellation) XXX_Size() int
- func (m *OrderCancellation) XXX_Unmarshal(b []byte) error
- type OrderSubmission
- func (*OrderSubmission) Descriptor() ([]byte, []int)
- func (m *OrderSubmission) GetExpiresAt() int64
- func (m *OrderSubmission) GetMarketId() string
- func (m *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder
- func (m *OrderSubmission) GetPrice() string
- func (m *OrderSubmission) GetReference() string
- func (m *OrderSubmission) GetSide() vega.Side
- func (m *OrderSubmission) GetSize() uint64
- func (m *OrderSubmission) GetTimeInForce() vega.Order_TimeInForce
- func (m *OrderSubmission) GetType() vega.Order_Type
- func (s *OrderSubmission) IntoOrder(party string) *types.Order
- func (*OrderSubmission) ProtoMessage()
- func (m *OrderSubmission) Reset()
- func (m *OrderSubmission) String() string
- func (m *OrderSubmission) XXX_DiscardUnknown()
- func (m *OrderSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderSubmission) XXX_Merge(src proto.Message)
- func (m *OrderSubmission) XXX_Size() int
- func (m *OrderSubmission) XXX_Unmarshal(b []byte) error
- type ProposalSubmission
- func (*ProposalSubmission) Descriptor() ([]byte, []int)
- func (m *ProposalSubmission) GetReference() string
- func (m *ProposalSubmission) GetTerms() *vega.ProposalTerms
- func (*ProposalSubmission) ProtoMessage()
- func (m *ProposalSubmission) Reset()
- func (m *ProposalSubmission) String() string
- func (m *ProposalSubmission) XXX_DiscardUnknown()
- func (m *ProposalSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalSubmission) XXX_Merge(src proto.Message)
- func (m *ProposalSubmission) XXX_Size() int
- func (m *ProposalSubmission) XXX_Unmarshal(b []byte) error
- type RecurringTransfer
- func (*RecurringTransfer) Descriptor() ([]byte, []int)
- func (m *RecurringTransfer) GetEndEpoch() *vega.Uint64Value
- func (m *RecurringTransfer) GetFactor() string
- func (m *RecurringTransfer) GetStartEpoch() uint64
- func (*RecurringTransfer) ProtoMessage()
- func (m *RecurringTransfer) Reset()
- func (m *RecurringTransfer) String() string
- func (m *RecurringTransfer) XXX_DiscardUnknown()
- func (m *RecurringTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecurringTransfer) XXX_Merge(src proto.Message)
- func (m *RecurringTransfer) XXX_Size() int
- func (m *RecurringTransfer) XXX_Unmarshal(b []byte) error
- type RestoreSnapshot
- func (*RestoreSnapshot) Descriptor() ([]byte, []int)
- func (m *RestoreSnapshot) GetData() []byte
- func (*RestoreSnapshot) ProtoMessage()
- func (m *RestoreSnapshot) Reset()
- func (m *RestoreSnapshot) String() string
- func (m *RestoreSnapshot) XXX_DiscardUnknown()
- func (m *RestoreSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreSnapshot) XXX_Merge(src proto.Message)
- func (m *RestoreSnapshot) XXX_Size() int
- func (m *RestoreSnapshot) XXX_Unmarshal(b []byte) error
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetAlgo() string
- func (m *Signature) GetValue() string
- func (m *Signature) GetVersion() uint32
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) String() string
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type StateVariableProposal
- func (*StateVariableProposal) Descriptor() ([]byte, []int)
- func (m *StateVariableProposal) GetProposal() *vega.StateValueProposal
- func (*StateVariableProposal) ProtoMessage()
- func (m *StateVariableProposal) Reset()
- func (m *StateVariableProposal) String() string
- func (m *StateVariableProposal) XXX_DiscardUnknown()
- func (m *StateVariableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateVariableProposal) XXX_Merge(src proto.Message)
- func (m *StateVariableProposal) XXX_Size() int
- func (m *StateVariableProposal) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetAddress() string
- func (m *Transaction) GetFrom() isTransaction_From
- func (m *Transaction) GetInputData() []byte
- func (m *Transaction) GetPubKey() string
- func (m *Transaction) GetSignature() *Signature
- func (m *Transaction) GetVersion() uint32
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (*Transaction) XXX_OneofWrappers() []interface{}
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type Transaction_Address
- type Transaction_PubKey
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetAmount() string
- func (m *Transfer) GetAsset() string
- func (m *Transfer) GetFromAccountType() vega.AccountType
- func (m *Transfer) GetKind() isTransfer_Kind
- func (m *Transfer) GetOneOff() *OneOffTransfer
- func (m *Transfer) GetRecurring() *RecurringTransfer
- func (m *Transfer) GetReference() string
- func (m *Transfer) GetTo() string
- func (m *Transfer) GetToAccountType() vega.AccountType
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) String() string
- func (m *Transfer) XXX_DiscardUnknown()
- func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transfer) XXX_Merge(src proto.Message)
- func (*Transfer) XXX_OneofWrappers() []interface{}
- func (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type Transfer_OneOff
- type Transfer_Recurring
- type UndelegateSubmission
- func (*UndelegateSubmission) Descriptor() ([]byte, []int)
- func (m *UndelegateSubmission) GetAmount() string
- func (m *UndelegateSubmission) GetMethod() UndelegateSubmission_Method
- func (m *UndelegateSubmission) GetNodeId() string
- func (*UndelegateSubmission) ProtoMessage()
- func (m *UndelegateSubmission) Reset()
- func (m *UndelegateSubmission) String() string
- func (m *UndelegateSubmission) XXX_DiscardUnknown()
- func (m *UndelegateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UndelegateSubmission) XXX_Merge(src proto.Message)
- func (m *UndelegateSubmission) XXX_Size() int
- func (m *UndelegateSubmission) XXX_Unmarshal(b []byte) error
- type UndelegateSubmission_Method
- type VoteSubmission
- func (*VoteSubmission) Descriptor() ([]byte, []int)
- func (m *VoteSubmission) GetProposalId() string
- func (m *VoteSubmission) GetValue() vega.Vote_Value
- func (*VoteSubmission) ProtoMessage()
- func (m *VoteSubmission) Reset()
- func (m *VoteSubmission) String() string
- func (m *VoteSubmission) XXX_DiscardUnknown()
- func (m *VoteSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteSubmission) XXX_Merge(src proto.Message)
- func (m *VoteSubmission) XXX_Size() int
- func (m *VoteSubmission) XXX_Unmarshal(b []byte) error
- type WithdrawSubmission
- func (*WithdrawSubmission) Descriptor() ([]byte, []int)
- func (m *WithdrawSubmission) GetAmount() string
- func (m *WithdrawSubmission) GetAsset() string
- func (m *WithdrawSubmission) GetExt() *vega.WithdrawExt
- func (*WithdrawSubmission) ProtoMessage()
- func (m *WithdrawSubmission) Reset()
- func (m *WithdrawSubmission) String() string
- func (m *WithdrawSubmission) XXX_DiscardUnknown()
- func (m *WithdrawSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawSubmission) XXX_Merge(src proto.Message)
- func (m *WithdrawSubmission) XXX_Size() int
- func (m *WithdrawSubmission) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var NodeSignatureKind_name = map[int32]string{
0: "NODE_SIGNATURE_KIND_UNSPECIFIED",
1: "NODE_SIGNATURE_KIND_ASSET_NEW",
2: "NODE_SIGNATURE_KIND_ASSET_WITHDRAWAL",
}
var NodeSignatureKind_value = map[string]int32{
"NODE_SIGNATURE_KIND_UNSPECIFIED": 0,
"NODE_SIGNATURE_KIND_ASSET_NEW": 1,
"NODE_SIGNATURE_KIND_ASSET_WITHDRAWAL": 2,
}
var OracleDataSubmission_OracleSource_name = map[int32]string{
0: "ORACLE_SOURCE_UNSPECIFIED",
1: "ORACLE_SOURCE_OPEN_ORACLE",
2: "ORACLE_SOURCE_JSON",
}
var OracleDataSubmission_OracleSource_value = map[string]int32{
"ORACLE_SOURCE_UNSPECIFIED": 0,
"ORACLE_SOURCE_OPEN_ORACLE": 1,
"ORACLE_SOURCE_JSON": 2,
}
var UndelegateSubmission_Method_name = map[int32]string{
0: "METHOD_UNSPECIFIED",
1: "METHOD_NOW",
2: "METHOD_AT_END_OF_EPOCH",
3: "METHOD_IN_ANGER",
}
var UndelegateSubmission_Method_value = map[string]int32{
"METHOD_UNSPECIFIED": 0,
"METHOD_NOW": 1,
"METHOD_AT_END_OF_EPOCH": 2,
"METHOD_IN_ANGER": 3,
}
Functions ¶
This section is empty.
Types ¶
type CancelTransfer ¶ added in v0.48.0
type CancelTransfer struct { // The ID of the transfer to cancel TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request for cancelling a recurring transfer
func (*CancelTransfer) Descriptor ¶ added in v0.48.0
func (*CancelTransfer) Descriptor() ([]byte, []int)
func (*CancelTransfer) GetTransferId ¶ added in v0.48.0
func (m *CancelTransfer) GetTransferId() string
func (*CancelTransfer) ProtoMessage ¶ added in v0.48.0
func (*CancelTransfer) ProtoMessage()
func (*CancelTransfer) Reset ¶ added in v0.48.0
func (m *CancelTransfer) Reset()
func (*CancelTransfer) String ¶ added in v0.48.0
func (m *CancelTransfer) String() string
func (*CancelTransfer) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *CancelTransfer) XXX_DiscardUnknown()
func (*CancelTransfer) XXX_Marshal ¶ added in v0.48.0
func (m *CancelTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelTransfer) XXX_Merge ¶ added in v0.48.0
func (m *CancelTransfer) XXX_Merge(src proto.Message)
func (*CancelTransfer) XXX_Size ¶ added in v0.48.0
func (m *CancelTransfer) XXX_Size() int
func (*CancelTransfer) XXX_Unmarshal ¶ added in v0.48.0
func (m *CancelTransfer) XXX_Unmarshal(b []byte) error
type ChainEvent ¶
type ChainEvent struct { // The identifier of the transaction in which the events happened, usually a hash TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // Arbitrary one-time integer used to prevent replay attacks Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // The event // // Types that are valid to be assigned to Event: // *ChainEvent_Builtin // *ChainEvent_Erc20 // *ChainEvent_Btc // *ChainEvent_Validator // *ChainEvent_StakingEvent Event isChainEvent_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event forwarded to the Vega network to provide information on events happening on other networks
func (*ChainEvent) Descriptor ¶
func (*ChainEvent) Descriptor() ([]byte, []int)
func (*ChainEvent) GetBtc ¶
func (m *ChainEvent) GetBtc() *vega.BTCEvent
func (*ChainEvent) GetBuiltin ¶
func (m *ChainEvent) GetBuiltin() *vega.BuiltinAssetEvent
func (*ChainEvent) GetErc20 ¶
func (m *ChainEvent) GetErc20() *vega.ERC20Event
func (*ChainEvent) GetEvent ¶
func (m *ChainEvent) GetEvent() isChainEvent_Event
func (*ChainEvent) GetNonce ¶
func (m *ChainEvent) GetNonce() uint64
func (*ChainEvent) GetStakingEvent ¶ added in v0.42.0
func (m *ChainEvent) GetStakingEvent() *vega.StakingEvent
func (*ChainEvent) GetTxId ¶
func (m *ChainEvent) GetTxId() string
func (*ChainEvent) GetValidator ¶
func (m *ChainEvent) GetValidator() *vega.ValidatorEvent
func (*ChainEvent) PrepareToSign ¶
func (c *ChainEvent) PrepareToSign() ([]byte, error)
func (*ChainEvent) ProtoMessage ¶
func (*ChainEvent) ProtoMessage()
func (*ChainEvent) Reset ¶
func (m *ChainEvent) Reset()
func (*ChainEvent) String ¶
func (m *ChainEvent) String() string
func (*ChainEvent) XXX_DiscardUnknown ¶
func (m *ChainEvent) XXX_DiscardUnknown()
func (*ChainEvent) XXX_Marshal ¶
func (m *ChainEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainEvent) XXX_Merge ¶
func (m *ChainEvent) XXX_Merge(src proto.Message)
func (*ChainEvent) XXX_OneofWrappers ¶
func (*ChainEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ChainEvent) XXX_Size ¶
func (m *ChainEvent) XXX_Size() int
func (*ChainEvent) XXX_Unmarshal ¶
func (m *ChainEvent) XXX_Unmarshal(b []byte) error
type ChainEvent_Btc ¶
type ChainEvent_Builtin ¶
type ChainEvent_Builtin struct {
Builtin *vega.BuiltinAssetEvent `protobuf:"bytes,1001,opt,name=builtin,proto3,oneof"`
}
type ChainEvent_Erc20 ¶
type ChainEvent_Erc20 struct {
Erc20 *vega.ERC20Event `protobuf:"bytes,1002,opt,name=erc20,proto3,oneof"`
}
type ChainEvent_StakingEvent ¶ added in v0.42.0
type ChainEvent_StakingEvent struct {
StakingEvent *vega.StakingEvent `protobuf:"bytes,1005,opt,name=staking_event,json=stakingEvent,proto3,oneof"`
}
type ChainEvent_Validator ¶
type ChainEvent_Validator struct {
Validator *vega.ValidatorEvent `protobuf:"bytes,1004,opt,name=validator,proto3,oneof"`
}
type DelegateSubmission ¶
type DelegateSubmission struct { // The ID for the node to delegate to NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // The amount of stake to delegate Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A command to submit an instruction to delegate some stake to a node
func (*DelegateSubmission) Descriptor ¶
func (*DelegateSubmission) Descriptor() ([]byte, []int)
func (*DelegateSubmission) GetAmount ¶
func (m *DelegateSubmission) GetAmount() string
func (*DelegateSubmission) GetNodeId ¶
func (m *DelegateSubmission) GetNodeId() string
func (*DelegateSubmission) ProtoMessage ¶
func (*DelegateSubmission) ProtoMessage()
func (*DelegateSubmission) Reset ¶
func (m *DelegateSubmission) Reset()
func (*DelegateSubmission) String ¶
func (m *DelegateSubmission) String() string
func (*DelegateSubmission) XXX_DiscardUnknown ¶
func (m *DelegateSubmission) XXX_DiscardUnknown()
func (*DelegateSubmission) XXX_Marshal ¶
func (m *DelegateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegateSubmission) XXX_Merge ¶
func (m *DelegateSubmission) XXX_Merge(src proto.Message)
func (*DelegateSubmission) XXX_Size ¶
func (m *DelegateSubmission) XXX_Size() int
func (*DelegateSubmission) XXX_Unmarshal ¶
func (m *DelegateSubmission) XXX_Unmarshal(b []byte) error
type InputData ¶
type InputData struct { // A number to provide uniqueness to prevent accidental replays and, // in combination with `block_height`, deliberate attacks. // A nonce provides uniqueness for otherwise identical transactions, // ensuring that the transaction hash uniquely identifies a specific transaction. // Granted all other fields are equal, the nonce can either be a counter // or generated at random to submit multiple transactions within the same // block (see below), without being identified as replays. // Please note that Protocol Buffers do not have a canonical, unique encoding // and therefore different libraries or binaries may encode the same message // slightly differently, causing a different hash. Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // The block height at which the transaction was made. // This should be the current block height. The transaction will be valid // from the block and up to the `tolerance` block height. // Example: If the network has a tolerance of 150 blocks and `block_height` // is set to `200`, then the transaction will be valid until block `350`. // Note that a `block_height` that is ahead of the real block height will be // rejected. The tolerance can be queried from the chain's network parameters. // `block_height` prevents replay attacks in conjunction with `nonce` (see above). BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Types that are valid to be assigned 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_NodeRegistration // *InputData_NodeVote // *InputData_NodeSignature // *InputData_ChainEvent // *InputData_KeyRotateSubmission // *InputData_StateVariableProposal // *InputData_OracleDataSubmission // *InputData_RestoreSnapshotSubmission Command isInputData_Command `protobuf_oneof:"command"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InputData) Descriptor ¶
func (*InputData) GetBlockHeight ¶
func (*InputData) GetCancelTransfer ¶ added in v0.48.0
func (m *InputData) GetCancelTransfer() *CancelTransfer
func (*InputData) GetChainEvent ¶
func (m *InputData) GetChainEvent() *ChainEvent
func (*InputData) GetCommand ¶
func (m *InputData) GetCommand() isInputData_Command
func (*InputData) GetDelegateSubmission ¶
func (m *InputData) GetDelegateSubmission() *DelegateSubmission
func (*InputData) GetKeyRotateSubmission ¶ added in v0.46.0
func (m *InputData) GetKeyRotateSubmission() *KeyRotateSubmission
func (*InputData) GetLiquidityProvisionAmendment ¶ added in v0.48.0
func (m *InputData) GetLiquidityProvisionAmendment() *LiquidityProvisionAmendment
func (*InputData) GetLiquidityProvisionCancellation ¶ added in v0.48.0
func (m *InputData) GetLiquidityProvisionCancellation() *LiquidityProvisionCancellation
func (*InputData) GetLiquidityProvisionSubmission ¶
func (m *InputData) GetLiquidityProvisionSubmission() *LiquidityProvisionSubmission
func (*InputData) GetNodeRegistration ¶
func (m *InputData) GetNodeRegistration() *NodeRegistration
func (*InputData) GetNodeSignature ¶
func (m *InputData) GetNodeSignature() *NodeSignature
func (*InputData) GetNodeVote ¶
func (*InputData) GetOracleDataSubmission ¶
func (m *InputData) GetOracleDataSubmission() *OracleDataSubmission
func (*InputData) GetOrderAmendment ¶
func (m *InputData) GetOrderAmendment() *OrderAmendment
func (*InputData) GetOrderCancellation ¶
func (m *InputData) GetOrderCancellation() *OrderCancellation
func (*InputData) GetOrderSubmission ¶
func (m *InputData) GetOrderSubmission() *OrderSubmission
func (*InputData) GetProposalSubmission ¶
func (m *InputData) GetProposalSubmission() *ProposalSubmission
func (*InputData) GetRestoreSnapshotSubmission ¶ added in v0.42.0
func (m *InputData) GetRestoreSnapshotSubmission() *RestoreSnapshot
func (*InputData) GetStateVariableProposal ¶ added in v0.48.0
func (m *InputData) GetStateVariableProposal() *StateVariableProposal
func (*InputData) GetTransfer ¶ added in v0.48.0
func (*InputData) GetUndelegateSubmission ¶
func (m *InputData) GetUndelegateSubmission() *UndelegateSubmission
func (*InputData) GetVoteSubmission ¶
func (m *InputData) GetVoteSubmission() *VoteSubmission
func (*InputData) GetWithdrawSubmission ¶
func (m *InputData) GetWithdrawSubmission() *WithdrawSubmission
func (*InputData) ProtoMessage ¶
func (*InputData) ProtoMessage()
func (*InputData) XXX_DiscardUnknown ¶
func (m *InputData) XXX_DiscardUnknown()
func (*InputData) XXX_Marshal ¶
func (*InputData) XXX_OneofWrappers ¶
func (*InputData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*InputData) XXX_Unmarshal ¶
type InputData_CancelTransfer ¶ added in v0.48.0
type InputData_CancelTransfer struct {
CancelTransfer *CancelTransfer `protobuf:"bytes,1013,opt,name=cancel_transfer,json=cancelTransfer,proto3,oneof"`
}
type InputData_ChainEvent ¶
type InputData_ChainEvent struct {
ChainEvent *ChainEvent `protobuf:"bytes,2004,opt,name=chain_event,json=chainEvent,proto3,oneof"`
}
type InputData_DelegateSubmission ¶
type InputData_DelegateSubmission struct {
DelegateSubmission *DelegateSubmission `protobuf:"bytes,1008,opt,name=delegate_submission,json=delegateSubmission,proto3,oneof"`
}
type InputData_KeyRotateSubmission ¶ added in v0.46.0
type InputData_KeyRotateSubmission struct {
KeyRotateSubmission *KeyRotateSubmission `protobuf:"bytes,2005,opt,name=key_rotate_submission,json=keyRotateSubmission,proto3,oneof"`
}
type InputData_LiquidityProvisionAmendment ¶ added in v0.48.0
type InputData_LiquidityProvisionAmendment struct {
LiquidityProvisionAmendment *LiquidityProvisionAmendment `protobuf:"bytes,1011,opt,name=liquidity_provision_amendment,json=liquidityProvisionAmendment,proto3,oneof"`
}
type InputData_LiquidityProvisionCancellation ¶ added in v0.48.0
type InputData_LiquidityProvisionCancellation struct {
LiquidityProvisionCancellation *LiquidityProvisionCancellation `protobuf:"bytes,1010,opt,name=liquidity_provision_cancellation,json=liquidityProvisionCancellation,proto3,oneof"`
}
type InputData_LiquidityProvisionSubmission ¶
type InputData_LiquidityProvisionSubmission struct {
LiquidityProvisionSubmission *LiquidityProvisionSubmission `protobuf:"bytes,1007,opt,name=liquidity_provision_submission,json=liquidityProvisionSubmission,proto3,oneof"`
}
type InputData_NodeRegistration ¶
type InputData_NodeRegistration struct {
NodeRegistration *NodeRegistration `protobuf:"bytes,2001,opt,name=node_registration,json=nodeRegistration,proto3,oneof"`
}
type InputData_NodeSignature ¶
type InputData_NodeSignature struct {
NodeSignature *NodeSignature `protobuf:"bytes,2003,opt,name=node_signature,json=nodeSignature,proto3,oneof"`
}
type InputData_NodeVote ¶
type InputData_NodeVote struct {
NodeVote *NodeVote `protobuf:"bytes,2002,opt,name=node_vote,json=nodeVote,proto3,oneof"`
}
type InputData_OracleDataSubmission ¶
type InputData_OracleDataSubmission struct {
OracleDataSubmission *OracleDataSubmission `protobuf:"bytes,3001,opt,name=oracle_data_submission,json=oracleDataSubmission,proto3,oneof"`
}
type InputData_OrderAmendment ¶
type InputData_OrderAmendment struct {
OrderAmendment *OrderAmendment `protobuf:"bytes,1003,opt,name=order_amendment,json=orderAmendment,proto3,oneof"`
}
type InputData_OrderCancellation ¶
type InputData_OrderCancellation struct {
OrderCancellation *OrderCancellation `protobuf:"bytes,1002,opt,name=order_cancellation,json=orderCancellation,proto3,oneof"`
}
type InputData_OrderSubmission ¶
type InputData_OrderSubmission struct {
OrderSubmission *OrderSubmission `protobuf:"bytes,1001,opt,name=order_submission,json=orderSubmission,proto3,oneof"`
}
type InputData_ProposalSubmission ¶
type InputData_ProposalSubmission struct {
ProposalSubmission *ProposalSubmission `protobuf:"bytes,1005,opt,name=proposal_submission,json=proposalSubmission,proto3,oneof"`
}
type InputData_RestoreSnapshotSubmission ¶ added in v0.42.0
type InputData_RestoreSnapshotSubmission struct {
RestoreSnapshotSubmission *RestoreSnapshot `protobuf:"bytes,4001,opt,name=restore_snapshot_submission,json=restoreSnapshotSubmission,proto3,oneof"`
}
type InputData_StateVariableProposal ¶ added in v0.48.0
type InputData_StateVariableProposal struct {
StateVariableProposal *StateVariableProposal `protobuf:"bytes,2006,opt,name=state_variable_proposal,json=stateVariableProposal,proto3,oneof"`
}
type InputData_Transfer ¶ added in v0.48.0
type InputData_Transfer struct {
Transfer *Transfer `protobuf:"bytes,1012,opt,name=transfer,proto3,oneof"`
}
type InputData_UndelegateSubmission ¶
type InputData_UndelegateSubmission struct {
UndelegateSubmission *UndelegateSubmission `protobuf:"bytes,1009,opt,name=undelegate_submission,json=undelegateSubmission,proto3,oneof"`
}
type InputData_VoteSubmission ¶
type InputData_VoteSubmission struct {
VoteSubmission *VoteSubmission `protobuf:"bytes,1006,opt,name=vote_submission,json=voteSubmission,proto3,oneof"`
}
type InputData_WithdrawSubmission ¶
type InputData_WithdrawSubmission struct {
WithdrawSubmission *WithdrawSubmission `protobuf:"bytes,1004,opt,name=withdraw_submission,json=withdrawSubmission,proto3,oneof"`
}
type Int64Value ¶ added in v0.48.0
type Int64Value struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Replacement for the google well-known type until we can get rid of this entirely
func (*Int64Value) Descriptor ¶ added in v0.48.0
func (*Int64Value) Descriptor() ([]byte, []int)
func (*Int64Value) GetValue ¶ added in v0.48.0
func (m *Int64Value) GetValue() int64
func (*Int64Value) ProtoMessage ¶ added in v0.48.0
func (*Int64Value) ProtoMessage()
func (*Int64Value) Reset ¶ added in v0.48.0
func (m *Int64Value) Reset()
func (*Int64Value) String ¶ added in v0.48.0
func (m *Int64Value) String() string
func (*Int64Value) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *Int64Value) XXX_DiscardUnknown()
func (*Int64Value) XXX_Marshal ¶ added in v0.48.0
func (m *Int64Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int64Value) XXX_Merge ¶ added in v0.48.0
func (m *Int64Value) XXX_Merge(src proto.Message)
func (*Int64Value) XXX_Size ¶ added in v0.48.0
func (m *Int64Value) XXX_Size() int
func (*Int64Value) XXX_Unmarshal ¶ added in v0.48.0
func (m *Int64Value) XXX_Unmarshal(b []byte) error
type KeyRotateSubmission ¶ added in v0.46.0
type KeyRotateSubmission struct { // New Vega public key derivation index NewPubKeyIndex uint32 `protobuf:"varint,1,opt,name=new_pub_key_index,json=newPubKeyIndex,proto3" json:"new_pub_key_index,omitempty"` // Target block at which the key rotation will take effect on TargetBlock uint64 `protobuf:"varint,2,opt,name=target_block,json=targetBlock,proto3" json:"target_block,omitempty"` // The new public key to rotate to NewPubKey string `protobuf:"bytes,3,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"` // Hash of currently used public key CurrentPubKeyHash string `protobuf:"bytes,4,opt,name=current_pub_key_hash,json=currentPubKeyHash,proto3" json:"current_pub_key_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A transaction to allow validator to rotate their vega keys
func (*KeyRotateSubmission) Descriptor ¶ added in v0.46.0
func (*KeyRotateSubmission) Descriptor() ([]byte, []int)
func (*KeyRotateSubmission) GetCurrentPubKeyHash ¶ added in v0.47.0
func (m *KeyRotateSubmission) GetCurrentPubKeyHash() string
func (*KeyRotateSubmission) GetNewPubKey ¶ added in v0.47.0
func (m *KeyRotateSubmission) GetNewPubKey() string
func (*KeyRotateSubmission) GetNewPubKeyIndex ¶ added in v0.47.0
func (m *KeyRotateSubmission) GetNewPubKeyIndex() uint32
func (*KeyRotateSubmission) GetTargetBlock ¶ added in v0.46.0
func (m *KeyRotateSubmission) GetTargetBlock() uint64
func (*KeyRotateSubmission) ProtoMessage ¶ added in v0.46.0
func (*KeyRotateSubmission) ProtoMessage()
func (*KeyRotateSubmission) Reset ¶ added in v0.46.0
func (m *KeyRotateSubmission) Reset()
func (*KeyRotateSubmission) String ¶ added in v0.46.0
func (m *KeyRotateSubmission) String() string
func (*KeyRotateSubmission) XXX_DiscardUnknown ¶ added in v0.46.0
func (m *KeyRotateSubmission) XXX_DiscardUnknown()
func (*KeyRotateSubmission) XXX_Marshal ¶ added in v0.46.0
func (m *KeyRotateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyRotateSubmission) XXX_Merge ¶ added in v0.46.0
func (m *KeyRotateSubmission) XXX_Merge(src proto.Message)
func (*KeyRotateSubmission) XXX_Size ¶ added in v0.46.0
func (m *KeyRotateSubmission) XXX_Size() int
func (*KeyRotateSubmission) XXX_Unmarshal ¶ added in v0.46.0
func (m *KeyRotateSubmission) XXX_Unmarshal(b []byte) error
type LiquidityProvisionAmendment ¶ added in v0.48.0
type LiquidityProvisionAmendment struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // From here at least one of the following is required to consider the command valid CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` Sells []*vega.LiquidityOrder `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"` Buys []*vega.LiquidityOrder `protobuf:"bytes,5,rep,name=buys,proto3" json:"buys,omitempty"` Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Amend a liquidity provision request
func (*LiquidityProvisionAmendment) Descriptor ¶ added in v0.48.0
func (*LiquidityProvisionAmendment) Descriptor() ([]byte, []int)
func (*LiquidityProvisionAmendment) GetBuys ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetBuys() []*vega.LiquidityOrder
func (*LiquidityProvisionAmendment) GetCommitmentAmount ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetCommitmentAmount() string
func (*LiquidityProvisionAmendment) GetFee ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetFee() string
func (*LiquidityProvisionAmendment) GetMarketId ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetMarketId() string
func (*LiquidityProvisionAmendment) GetReference ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetReference() string
func (*LiquidityProvisionAmendment) GetSells ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) GetSells() []*vega.LiquidityOrder
func (*LiquidityProvisionAmendment) ProtoMessage ¶ added in v0.48.0
func (*LiquidityProvisionAmendment) ProtoMessage()
func (*LiquidityProvisionAmendment) Reset ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) Reset()
func (*LiquidityProvisionAmendment) String ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) String() string
func (*LiquidityProvisionAmendment) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) XXX_DiscardUnknown()
func (*LiquidityProvisionAmendment) XXX_Marshal ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProvisionAmendment) XXX_Merge ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) XXX_Merge(src proto.Message)
func (*LiquidityProvisionAmendment) XXX_Size ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) XXX_Size() int
func (*LiquidityProvisionAmendment) XXX_Unmarshal ¶ added in v0.48.0
func (m *LiquidityProvisionAmendment) XXX_Unmarshal(b []byte) error
type LiquidityProvisionCancellation ¶ added in v0.48.0
type LiquidityProvisionCancellation struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Cancel a liquidity provision request
func (*LiquidityProvisionCancellation) Descriptor ¶ added in v0.48.0
func (*LiquidityProvisionCancellation) Descriptor() ([]byte, []int)
func (*LiquidityProvisionCancellation) GetMarketId ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) GetMarketId() string
func (*LiquidityProvisionCancellation) ProtoMessage ¶ added in v0.48.0
func (*LiquidityProvisionCancellation) ProtoMessage()
func (*LiquidityProvisionCancellation) Reset ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) Reset()
func (*LiquidityProvisionCancellation) String ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) String() string
func (*LiquidityProvisionCancellation) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) XXX_DiscardUnknown()
func (*LiquidityProvisionCancellation) XXX_Marshal ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProvisionCancellation) XXX_Merge ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) XXX_Merge(src proto.Message)
func (*LiquidityProvisionCancellation) XXX_Size ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) XXX_Size() int
func (*LiquidityProvisionCancellation) XXX_Unmarshal ¶ added in v0.48.0
func (m *LiquidityProvisionCancellation) XXX_Unmarshal(b []byte) error
type LiquidityProvisionSubmission ¶
type LiquidityProvisionSubmission struct { // Market identifier for the order, required field MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Specified as a unitless number that represents the amount of settlement asset of the market 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 seeting fees and rewarding liquidity providers Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // A set of liquidity sell orders to meet the liquidity provision obligation Sells []*vega.LiquidityOrder `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"` // A set of liquidity buy orders to meet the liquidity provision obligation Buys []*vega.LiquidityOrder `protobuf:"bytes,5,rep,name=buys,proto3" json:"buys,omitempty"` // A reference to be added to every order created out of this liquidityProvisionSubmission Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A liquidity provision submitted for a given market
func (*LiquidityProvisionSubmission) Descriptor ¶
func (*LiquidityProvisionSubmission) Descriptor() ([]byte, []int)
func (*LiquidityProvisionSubmission) GetBuys ¶
func (m *LiquidityProvisionSubmission) GetBuys() []*vega.LiquidityOrder
func (*LiquidityProvisionSubmission) GetCommitmentAmount ¶
func (m *LiquidityProvisionSubmission) GetCommitmentAmount() string
func (*LiquidityProvisionSubmission) GetFee ¶
func (m *LiquidityProvisionSubmission) GetFee() string
func (*LiquidityProvisionSubmission) GetMarketId ¶
func (m *LiquidityProvisionSubmission) GetMarketId() string
func (*LiquidityProvisionSubmission) GetReference ¶
func (m *LiquidityProvisionSubmission) GetReference() string
func (*LiquidityProvisionSubmission) GetSells ¶
func (m *LiquidityProvisionSubmission) GetSells() []*vega.LiquidityOrder
func (*LiquidityProvisionSubmission) ProtoMessage ¶
func (*LiquidityProvisionSubmission) ProtoMessage()
func (*LiquidityProvisionSubmission) Reset ¶
func (m *LiquidityProvisionSubmission) Reset()
func (*LiquidityProvisionSubmission) String ¶
func (m *LiquidityProvisionSubmission) String() string
func (*LiquidityProvisionSubmission) XXX_DiscardUnknown ¶
func (m *LiquidityProvisionSubmission) XXX_DiscardUnknown()
func (*LiquidityProvisionSubmission) XXX_Marshal ¶
func (m *LiquidityProvisionSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProvisionSubmission) XXX_Merge ¶
func (m *LiquidityProvisionSubmission) XXX_Merge(src proto.Message)
func (*LiquidityProvisionSubmission) XXX_Size ¶
func (m *LiquidityProvisionSubmission) XXX_Size() int
func (*LiquidityProvisionSubmission) XXX_Unmarshal ¶
func (m *LiquidityProvisionSubmission) XXX_Unmarshal(b []byte) error
type NodeRegistration ¶
type NodeRegistration struct { // Vega public key, required field VegaPubKey string `protobuf:"bytes,1,opt,name=vega_pub_key,json=vegaPubKey,proto3" json:"vega_pub_key,omitempty"` // Ethereum public key, required field EthereumAddress string `protobuf:"bytes,2,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` // Public key for the blockchain, required field ChainPubKey string `protobuf:"bytes,3,opt,name=chain_pub_key,json=chainPubKey,proto3" json:"chain_pub_key,omitempty"` // URL with more info on the node InfoUrl string `protobuf:"bytes,4,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"` // Country code (ISO 3166-1 alpha-2) for the location of the node Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // ID of the validator, (public master key) Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // Name of the validator Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // AvatarURL of the validator AvatarUrl string `protobuf:"bytes,8,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // Vega public key derivation index VegaPubKeyIndex uint32 `protobuf:"varint,9,opt,name=vega_pub_key_index,json=vegaPubKeyIndex,proto3" json:"vega_pub_key_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to Register a node as a validator during network start-up
func (*NodeRegistration) Descriptor ¶
func (*NodeRegistration) Descriptor() ([]byte, []int)
func (*NodeRegistration) GetAvatarUrl ¶ added in v0.44.0
func (m *NodeRegistration) GetAvatarUrl() string
func (*NodeRegistration) GetChainPubKey ¶
func (m *NodeRegistration) GetChainPubKey() string
func (*NodeRegistration) GetCountry ¶
func (m *NodeRegistration) GetCountry() string
func (*NodeRegistration) GetEthereumAddress ¶ added in v0.42.0
func (m *NodeRegistration) GetEthereumAddress() string
func (*NodeRegistration) GetId ¶ added in v0.44.0
func (m *NodeRegistration) GetId() string
func (*NodeRegistration) GetInfoUrl ¶
func (m *NodeRegistration) GetInfoUrl() string
func (*NodeRegistration) GetName ¶ added in v0.44.0
func (m *NodeRegistration) GetName() string
func (*NodeRegistration) GetVegaPubKey ¶ added in v0.42.0
func (m *NodeRegistration) GetVegaPubKey() string
func (*NodeRegistration) GetVegaPubKeyIndex ¶ added in v0.47.0
func (m *NodeRegistration) GetVegaPubKeyIndex() uint32
func (*NodeRegistration) ProtoMessage ¶
func (*NodeRegistration) ProtoMessage()
func (*NodeRegistration) Reset ¶
func (m *NodeRegistration) Reset()
func (*NodeRegistration) String ¶
func (m *NodeRegistration) String() string
func (*NodeRegistration) XXX_DiscardUnknown ¶
func (m *NodeRegistration) XXX_DiscardUnknown()
func (*NodeRegistration) XXX_Marshal ¶
func (m *NodeRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeRegistration) XXX_Merge ¶
func (m *NodeRegistration) XXX_Merge(src proto.Message)
func (*NodeRegistration) XXX_Size ¶
func (m *NodeRegistration) XXX_Size() int
func (*NodeRegistration) XXX_Unmarshal ¶
func (m *NodeRegistration) XXX_Unmarshal(b []byte) error
type NodeSignature ¶
type NodeSignature struct { // The identifier of the resource being signed Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The signature Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // The kind of resource being signed Kind NodeSignatureKind `protobuf:"varint,3,opt,name=kind,proto3,enum=vega.commands.v1.NodeSignatureKind" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a signature from a validator, to be used by a foreign chain in order to recognise a decision taken by the Vega network
func (NodeSignature) DeepClone ¶
func (n NodeSignature) DeepClone() *NodeSignature
func (*NodeSignature) Descriptor ¶
func (*NodeSignature) Descriptor() ([]byte, []int)
func (*NodeSignature) GetId ¶
func (m *NodeSignature) GetId() string
func (*NodeSignature) GetKind ¶
func (m *NodeSignature) GetKind() NodeSignatureKind
func (*NodeSignature) GetSig ¶
func (m *NodeSignature) GetSig() []byte
func (NodeSignature) IsEvent ¶
func (NodeSignature) IsEvent()
IsEvent required for graphql event stream
func (*NodeSignature) ProtoMessage ¶
func (*NodeSignature) ProtoMessage()
func (*NodeSignature) Reset ¶
func (m *NodeSignature) Reset()
func (*NodeSignature) String ¶
func (m *NodeSignature) String() string
func (*NodeSignature) XXX_DiscardUnknown ¶
func (m *NodeSignature) XXX_DiscardUnknown()
func (*NodeSignature) XXX_Marshal ¶
func (m *NodeSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeSignature) XXX_Merge ¶
func (m *NodeSignature) XXX_Merge(src proto.Message)
func (*NodeSignature) XXX_Size ¶
func (m *NodeSignature) XXX_Size() int
func (*NodeSignature) XXX_Unmarshal ¶
func (m *NodeSignature) XXX_Unmarshal(b []byte) error
type NodeSignatureKind ¶
type NodeSignatureKind int32
The kind of the 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 )
func (NodeSignatureKind) EnumDescriptor ¶
func (NodeSignatureKind) EnumDescriptor() ([]byte, []int)
func (NodeSignatureKind) String ¶
func (x NodeSignatureKind) String() string
type NodeVote ¶
type NodeVote struct { // Public key, required field PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // Reference, required field Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used when a node votes for validating a given resource exists or is valid, for example, an ERC20 deposit is valid and exists on ethereum
func (*NodeVote) Descriptor ¶
func (*NodeVote) GetReference ¶
func (*NodeVote) ProtoMessage ¶
func (*NodeVote) ProtoMessage()
func (*NodeVote) XXX_DiscardUnknown ¶
func (m *NodeVote) XXX_DiscardUnknown()
func (*NodeVote) XXX_Marshal ¶
func (*NodeVote) XXX_Unmarshal ¶
type OneOffTransfer ¶ added in v0.48.0
type OneOffTransfer struct { // A unix timestamp in second. Time at which the // transfer should be delivered in the to account DeliverOn int64 `protobuf:"varint,1,opt,name=deliver_on,json=deliverOn,proto3" json:"deliver_on,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specific details for a one off transfer
func (*OneOffTransfer) Descriptor ¶ added in v0.48.0
func (*OneOffTransfer) Descriptor() ([]byte, []int)
func (*OneOffTransfer) GetDeliverOn ¶ added in v0.48.0
func (m *OneOffTransfer) GetDeliverOn() int64
func (*OneOffTransfer) ProtoMessage ¶ added in v0.48.0
func (*OneOffTransfer) ProtoMessage()
func (*OneOffTransfer) Reset ¶ added in v0.48.0
func (m *OneOffTransfer) Reset()
func (*OneOffTransfer) String ¶ added in v0.48.0
func (m *OneOffTransfer) String() string
func (*OneOffTransfer) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *OneOffTransfer) XXX_DiscardUnknown()
func (*OneOffTransfer) XXX_Marshal ¶ added in v0.48.0
func (m *OneOffTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OneOffTransfer) XXX_Merge ¶ added in v0.48.0
func (m *OneOffTransfer) XXX_Merge(src proto.Message)
func (*OneOffTransfer) XXX_Size ¶ added in v0.48.0
func (m *OneOffTransfer) XXX_Size() int
func (*OneOffTransfer) XXX_Unmarshal ¶ added in v0.48.0
func (m *OneOffTransfer) XXX_Unmarshal(b []byte) error
type OracleDataSubmission ¶
type OracleDataSubmission struct { // The 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"` // The data provided by the third party provider Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Command to submit new Oracle data from third party providers
func (*OracleDataSubmission) Descriptor ¶
func (*OracleDataSubmission) Descriptor() ([]byte, []int)
func (*OracleDataSubmission) GetPayload ¶
func (m *OracleDataSubmission) GetPayload() []byte
func (*OracleDataSubmission) GetSource ¶
func (m *OracleDataSubmission) GetSource() OracleDataSubmission_OracleSource
func (*OracleDataSubmission) ProtoMessage ¶
func (*OracleDataSubmission) ProtoMessage()
func (*OracleDataSubmission) Reset ¶
func (m *OracleDataSubmission) Reset()
func (*OracleDataSubmission) String ¶
func (m *OracleDataSubmission) String() string
func (*OracleDataSubmission) Validate ¶
func (this *OracleDataSubmission) Validate() error
func (*OracleDataSubmission) XXX_DiscardUnknown ¶
func (m *OracleDataSubmission) XXX_DiscardUnknown()
func (*OracleDataSubmission) XXX_Marshal ¶
func (m *OracleDataSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleDataSubmission) XXX_Merge ¶
func (m *OracleDataSubmission) XXX_Merge(src proto.Message)
func (*OracleDataSubmission) XXX_Size ¶
func (m *OracleDataSubmission) XXX_Size() int
func (*OracleDataSubmission) XXX_Unmarshal ¶
func (m *OracleDataSubmission) XXX_Unmarshal(b []byte) error
type OracleDataSubmission_OracleSource ¶
type OracleDataSubmission_OracleSource int32
The supported Oracle sources
const ( // The default value OracleDataSubmission_ORACLE_SOURCE_UNSPECIFIED OracleDataSubmission_OracleSource = 0 // Support for Open Oracle standard OracleDataSubmission_ORACLE_SOURCE_OPEN_ORACLE OracleDataSubmission_OracleSource = 1 // Support for custom JSON data OracleDataSubmission_ORACLE_SOURCE_JSON OracleDataSubmission_OracleSource = 2 )
func (OracleDataSubmission_OracleSource) EnumDescriptor ¶
func (OracleDataSubmission_OracleSource) EnumDescriptor() ([]byte, []int)
func (OracleDataSubmission_OracleSource) String ¶
func (x OracleDataSubmission_OracleSource) String() string
type OrderAmendment ¶
type OrderAmendment struct { // Order identifier, this is required to find the order and will not be updated, required field OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // Market identifier, this is required to find the order and will not be updated MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Amend the price for the order, if the Price value is set, otherwise price will remain unchanged - See [`Price`](#vega.Price) Price *vega.Price `protobuf:"bytes,3,opt,name=price,proto3" 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 SizeDelta int64 `protobuf:"varint,4,opt,name=size_delta,json=sizeDelta,proto3" json:"size_delta,omitempty"` // Amend the expiry time for the order, if the Timestamp value is set, otherwise expiry time will remain unchanged // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` ExpiresAt *vega.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Amend the time in force for the order, set to TIME_IN_FORCE_UNSPECIFIED to remain unchanged // - See [`TimeInForce`](#api.VegaTimeResponse).`timestamp` TimeInForce vega.Order_TimeInForce `protobuf:"varint,6,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` // Amend the pegged order offset for the order PeggedOffset string `protobuf:"bytes,7,opt,name=pegged_offset,json=peggedOffset,proto3" json:"pegged_offset,omitempty"` // Amend the pegged order reference for the order // - See [`PeggedReference`](#vega.PeggedReference) PeggedReference vega.PeggedReference `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An order amendment is a request to amend or update an existing order on Vega
func (*OrderAmendment) Descriptor ¶
func (*OrderAmendment) Descriptor() ([]byte, []int)
func (*OrderAmendment) GetExpiresAt ¶
func (m *OrderAmendment) GetExpiresAt() *vega.Timestamp
func (*OrderAmendment) GetMarketId ¶
func (m *OrderAmendment) GetMarketId() string
func (*OrderAmendment) GetOrderId ¶
func (m *OrderAmendment) GetOrderId() string
func (*OrderAmendment) GetPeggedOffset ¶
func (m *OrderAmendment) GetPeggedOffset() string
func (*OrderAmendment) GetPeggedReference ¶
func (m *OrderAmendment) GetPeggedReference() vega.PeggedReference
func (*OrderAmendment) GetPrice ¶
func (m *OrderAmendment) GetPrice() *vega.Price
func (*OrderAmendment) GetSizeDelta ¶
func (m *OrderAmendment) GetSizeDelta() int64
func (*OrderAmendment) GetTimeInForce ¶
func (m *OrderAmendment) GetTimeInForce() vega.Order_TimeInForce
func (*OrderAmendment) ProtoMessage ¶
func (*OrderAmendment) ProtoMessage()
func (*OrderAmendment) Reset ¶
func (m *OrderAmendment) Reset()
func (*OrderAmendment) String ¶
func (m *OrderAmendment) String() string
func (*OrderAmendment) XXX_DiscardUnknown ¶
func (m *OrderAmendment) XXX_DiscardUnknown()
func (*OrderAmendment) XXX_Marshal ¶
func (m *OrderAmendment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderAmendment) XXX_Merge ¶
func (m *OrderAmendment) XXX_Merge(src proto.Message)
func (*OrderAmendment) XXX_Size ¶
func (m *OrderAmendment) XXX_Size() int
func (*OrderAmendment) XXX_Unmarshal ¶
func (m *OrderAmendment) XXX_Unmarshal(b []byte) error
type OrderCancellation ¶
type OrderCancellation struct { // Unique identifier for the order (set by the system after consensus), required field OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // Market identifier for the order, required field MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An order cancellation is a request to cancel an existing order on Vega
func (*OrderCancellation) Descriptor ¶
func (*OrderCancellation) Descriptor() ([]byte, []int)
func (*OrderCancellation) GetMarketId ¶
func (m *OrderCancellation) GetMarketId() string
func (*OrderCancellation) GetOrderId ¶
func (m *OrderCancellation) GetOrderId() string
func (*OrderCancellation) ProtoMessage ¶
func (*OrderCancellation) ProtoMessage()
func (*OrderCancellation) Reset ¶
func (m *OrderCancellation) Reset()
func (*OrderCancellation) String ¶
func (m *OrderCancellation) String() string
func (*OrderCancellation) XXX_DiscardUnknown ¶
func (m *OrderCancellation) XXX_DiscardUnknown()
func (*OrderCancellation) XXX_Marshal ¶
func (m *OrderCancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderCancellation) XXX_Merge ¶
func (m *OrderCancellation) XXX_Merge(src proto.Message)
func (*OrderCancellation) XXX_Size ¶
func (m *OrderCancellation) XXX_Size() int
func (*OrderCancellation) XXX_Unmarshal ¶
func (m *OrderCancellation) XXX_Unmarshal(b []byte) error
type OrderSubmission ¶
type OrderSubmission struct { // Market identifier for the order, required field MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Price for the order, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places, // , required field for limit orders, however it is not required for market orders 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 contracts, cannot be negative Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Side for the order, e.g. SIDE_BUY or SIDE_SELL, required field - See [`Side`](#vega.Side) Side vega.Side `protobuf:"varint,4,opt,name=side,proto3,enum=vega.Side" json:"side,omitempty"` // Time in force indicates how long an order will remain active before it is executed or expires, required field // - See [`Order.TimeInForce`](#vega.Order.TimeInForce) TimeInForce vega.Order_TimeInForce `protobuf:"varint,5,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` // Timestamp for when the order will expire, in nanoseconds since the epoch, // required field only for [`Order.TimeInForce`](#vega.Order.TimeInForce)`.TIME_IN_FORCE_GTT` // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Type for the order, required field - See [`Order.Type`](#vega.Order.Type) Type vega.Order_Type `protobuf:"varint,7,opt,name=type,proto3,enum=vega.Order_Type" json:"type,omitempty"` // Reference given for the order, this is typically used to retrieve an order submitted through consensus, currently // set internally by the node to return a unique reference identifier for the order submission Reference string `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"` // Used to specify the details for a pegged order // - See [`PeggedOrder`](#vega.PeggedOrder) PeggedOrder *vega.PeggedOrder `protobuf:"bytes,9,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An order submission is a request to submit or create a new order on Vega
func (*OrderSubmission) Descriptor ¶
func (*OrderSubmission) Descriptor() ([]byte, []int)
func (*OrderSubmission) GetExpiresAt ¶
func (m *OrderSubmission) GetExpiresAt() int64
func (*OrderSubmission) GetMarketId ¶
func (m *OrderSubmission) GetMarketId() string
func (*OrderSubmission) GetPeggedOrder ¶
func (m *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder
func (*OrderSubmission) GetPrice ¶
func (m *OrderSubmission) GetPrice() string
func (*OrderSubmission) GetReference ¶
func (m *OrderSubmission) GetReference() string
func (*OrderSubmission) GetSide ¶
func (m *OrderSubmission) GetSide() vega.Side
func (*OrderSubmission) GetSize ¶
func (m *OrderSubmission) GetSize() uint64
func (*OrderSubmission) GetTimeInForce ¶
func (m *OrderSubmission) GetTimeInForce() vega.Order_TimeInForce
func (*OrderSubmission) GetType ¶
func (m *OrderSubmission) GetType() vega.Order_Type
func (*OrderSubmission) ProtoMessage ¶
func (*OrderSubmission) ProtoMessage()
func (*OrderSubmission) Reset ¶
func (m *OrderSubmission) Reset()
func (*OrderSubmission) String ¶
func (m *OrderSubmission) String() string
func (*OrderSubmission) XXX_DiscardUnknown ¶
func (m *OrderSubmission) XXX_DiscardUnknown()
func (*OrderSubmission) XXX_Marshal ¶
func (m *OrderSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderSubmission) XXX_Merge ¶
func (m *OrderSubmission) XXX_Merge(src proto.Message)
func (*OrderSubmission) XXX_Size ¶
func (m *OrderSubmission) XXX_Size() int
func (*OrderSubmission) XXX_Unmarshal ¶
func (m *OrderSubmission) XXX_Unmarshal(b []byte) error
type ProposalSubmission ¶
type ProposalSubmission struct { // Proposal reference Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // Proposal configuration and the actual change that is meant to be executed when proposal is enacted Terms *vega.ProposalTerms `protobuf:"bytes,2,opt,name=terms,proto3" json:"terms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A command to submit a new proposal for the vega network governance
func ProposalSubmissionFromProposal ¶
func ProposalSubmissionFromProposal(p *types.Proposal) *ProposalSubmission
func (*ProposalSubmission) Descriptor ¶
func (*ProposalSubmission) Descriptor() ([]byte, []int)
func (*ProposalSubmission) GetReference ¶
func (m *ProposalSubmission) GetReference() string
func (*ProposalSubmission) GetTerms ¶
func (m *ProposalSubmission) GetTerms() *vega.ProposalTerms
func (*ProposalSubmission) ProtoMessage ¶
func (*ProposalSubmission) ProtoMessage()
func (*ProposalSubmission) Reset ¶
func (m *ProposalSubmission) Reset()
func (*ProposalSubmission) String ¶
func (m *ProposalSubmission) String() string
func (*ProposalSubmission) XXX_DiscardUnknown ¶
func (m *ProposalSubmission) XXX_DiscardUnknown()
func (*ProposalSubmission) XXX_Marshal ¶
func (m *ProposalSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalSubmission) XXX_Merge ¶
func (m *ProposalSubmission) XXX_Merge(src proto.Message)
func (*ProposalSubmission) XXX_Size ¶
func (m *ProposalSubmission) XXX_Size() int
func (*ProposalSubmission) XXX_Unmarshal ¶
func (m *ProposalSubmission) XXX_Unmarshal(b []byte) error
type RecurringTransfer ¶ added in v0.48.0
type RecurringTransfer struct { // The first epoch from which this transfer shall be paid StartEpoch uint64 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"` // The last epoch at which this transfer shall be paid EndEpoch *vega.Uint64Value `protobuf:"bytes,2,opt,name=end_epoch,json=endEpoch,proto3" json:"end_epoch,omitempty"` // factor needs to be > 0 Factor string `protobuf:"bytes,3,opt,name=factor,proto3" json:"factor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specific details for a recurring transfer
func (*RecurringTransfer) Descriptor ¶ added in v0.48.0
func (*RecurringTransfer) Descriptor() ([]byte, []int)
func (*RecurringTransfer) GetEndEpoch ¶ added in v0.48.0
func (m *RecurringTransfer) GetEndEpoch() *vega.Uint64Value
func (*RecurringTransfer) GetFactor ¶ added in v0.48.0
func (m *RecurringTransfer) GetFactor() string
func (*RecurringTransfer) GetStartEpoch ¶ added in v0.48.0
func (m *RecurringTransfer) GetStartEpoch() uint64
func (*RecurringTransfer) ProtoMessage ¶ added in v0.48.0
func (*RecurringTransfer) ProtoMessage()
func (*RecurringTransfer) Reset ¶ added in v0.48.0
func (m *RecurringTransfer) Reset()
func (*RecurringTransfer) String ¶ added in v0.48.0
func (m *RecurringTransfer) String() string
func (*RecurringTransfer) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *RecurringTransfer) XXX_DiscardUnknown()
func (*RecurringTransfer) XXX_Marshal ¶ added in v0.48.0
func (m *RecurringTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecurringTransfer) XXX_Merge ¶ added in v0.48.0
func (m *RecurringTransfer) XXX_Merge(src proto.Message)
func (*RecurringTransfer) XXX_Size ¶ added in v0.48.0
func (m *RecurringTransfer) XXX_Size() int
func (*RecurringTransfer) XXX_Unmarshal ¶ added in v0.48.0
func (m *RecurringTransfer) XXX_Unmarshal(b []byte) error
type RestoreSnapshot ¶ added in v0.42.0
type RestoreSnapshot struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A command that loads the state from a given checkpoint
func (*RestoreSnapshot) Descriptor ¶ added in v0.42.0
func (*RestoreSnapshot) Descriptor() ([]byte, []int)
func (*RestoreSnapshot) GetData ¶ added in v0.42.0
func (m *RestoreSnapshot) GetData() []byte
func (*RestoreSnapshot) ProtoMessage ¶ added in v0.42.0
func (*RestoreSnapshot) ProtoMessage()
func (*RestoreSnapshot) Reset ¶ added in v0.42.0
func (m *RestoreSnapshot) Reset()
func (*RestoreSnapshot) String ¶ added in v0.42.0
func (m *RestoreSnapshot) String() string
func (*RestoreSnapshot) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *RestoreSnapshot) XXX_DiscardUnknown()
func (*RestoreSnapshot) XXX_Marshal ¶ added in v0.42.0
func (m *RestoreSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreSnapshot) XXX_Merge ¶ added in v0.42.0
func (m *RestoreSnapshot) XXX_Merge(src proto.Message)
func (*RestoreSnapshot) XXX_Size ¶ added in v0.42.0
func (m *RestoreSnapshot) XXX_Size() int
func (*RestoreSnapshot) XXX_Unmarshal ¶ added in v0.42.0
func (m *RestoreSnapshot) XXX_Unmarshal(b []byte) error
type Signature ¶
type Signature struct { // The bytes of the signature (hex-encoded). Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The algorithm used to create the signature. Algo string `protobuf:"bytes,2,opt,name=algo,proto3" json:"algo,omitempty"` // The version of the signature used to create the signature. Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A signature to authenticate a transaction and to be verified by the Vega network.
func (*Signature) Descriptor ¶
func (*Signature) GetVersion ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
type StateVariableProposal ¶ added in v0.48.0
type StateVariableProposal struct { // The state value proposal details Proposal *vega.StateValueProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StateVariableProposal) Descriptor ¶ added in v0.48.0
func (*StateVariableProposal) Descriptor() ([]byte, []int)
func (*StateVariableProposal) GetProposal ¶ added in v0.48.0
func (m *StateVariableProposal) GetProposal() *vega.StateValueProposal
func (*StateVariableProposal) ProtoMessage ¶ added in v0.48.0
func (*StateVariableProposal) ProtoMessage()
func (*StateVariableProposal) Reset ¶ added in v0.48.0
func (m *StateVariableProposal) Reset()
func (*StateVariableProposal) String ¶ added in v0.48.0
func (m *StateVariableProposal) String() string
func (*StateVariableProposal) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *StateVariableProposal) XXX_DiscardUnknown()
func (*StateVariableProposal) XXX_Marshal ¶ added in v0.48.0
func (m *StateVariableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StateVariableProposal) XXX_Merge ¶ added in v0.48.0
func (m *StateVariableProposal) XXX_Merge(src proto.Message)
func (*StateVariableProposal) XXX_Size ¶ added in v0.48.0
func (m *StateVariableProposal) XXX_Size() int
func (*StateVariableProposal) XXX_Unmarshal ¶ added in v0.48.0
func (m *StateVariableProposal) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { // One of the set of Vega commands (proto marshalled). InputData []byte `protobuf:"bytes,1,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` // The signature of the inputData. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // The sender of the transaction. // Any of the following would be valid: // // Types that are valid to be assigned to From: // *Transaction_Address // *Transaction_PubKey From isTransaction_From `protobuf_oneof:"from"` // A version of the transaction, to be used in the future in case changes are implemented // to the Transaction format. Version uint32 `protobuf:"varint,2000,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a transaction to be sent to Vega.
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetAddress ¶
func (m *Transaction) GetAddress() string
func (*Transaction) GetFrom ¶
func (m *Transaction) GetFrom() isTransaction_From
func (*Transaction) GetInputData ¶
func (m *Transaction) GetInputData() []byte
func (*Transaction) GetPubKey ¶
func (m *Transaction) GetPubKey() string
func (*Transaction) GetSignature ¶
func (m *Transaction) GetSignature() *Signature
func (*Transaction) GetVersion ¶
func (m *Transaction) GetVersion() uint32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_OneofWrappers ¶
func (*Transaction) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type Transaction_Address ¶
type Transaction_Address struct {
Address string `protobuf:"bytes,1001,opt,name=address,proto3,oneof"`
}
type Transaction_PubKey ¶
type Transaction_PubKey struct {
PubKey string `protobuf:"bytes,1002,opt,name=pub_key,json=pubKey,proto3,oneof"`
}
type Transfer ¶ added in v0.48.0
type Transfer struct { // The account type from which the funds of the party // should be taken FromAccountType vega.AccountType `` /* 131-byte string literal not displayed */ // The public key of the destination account To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // The type of the destination account ToAccountType vega.AccountType `protobuf:"varint,3,opt,name=to_account_type,json=toAccountType,proto3,enum=vega.AccountType" json:"to_account_type,omitempty"` // The asset Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` // The amount to be taken from the source account Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // The reference to be attached to the transfer Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // Specific details of the transfer // // Types that are valid to be assigned to Kind: // *Transfer_OneOff // *Transfer_Recurring Kind isTransfer_Kind `protobuf_oneof:"kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A transfer initiated by a party
func (*Transfer) Descriptor ¶ added in v0.48.0
func (*Transfer) GetFromAccountType ¶ added in v0.48.0
func (m *Transfer) GetFromAccountType() vega.AccountType
func (*Transfer) GetOneOff ¶ added in v0.48.0
func (m *Transfer) GetOneOff() *OneOffTransfer
func (*Transfer) GetRecurring ¶ added in v0.48.0
func (m *Transfer) GetRecurring() *RecurringTransfer
func (*Transfer) GetReference ¶ added in v0.48.0
func (*Transfer) GetToAccountType ¶ added in v0.48.0
func (m *Transfer) GetToAccountType() vega.AccountType
func (*Transfer) ProtoMessage ¶ added in v0.48.0
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶ added in v0.48.0
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶ added in v0.48.0
func (*Transfer) XXX_OneofWrappers ¶ added in v0.48.0
func (*Transfer) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Transfer) XXX_Unmarshal ¶ added in v0.48.0
type Transfer_OneOff ¶ added in v0.48.0
type Transfer_OneOff struct {
OneOff *OneOffTransfer `protobuf:"bytes,101,opt,name=one_off,json=oneOff,proto3,oneof"`
}
type Transfer_Recurring ¶ added in v0.48.0
type Transfer_Recurring struct {
Recurring *RecurringTransfer `protobuf:"bytes,102,opt,name=recurring,proto3,oneof"`
}
type UndelegateSubmission ¶
type UndelegateSubmission struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // optional, if not specified = ALL Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Method UndelegateSubmission_Method `protobuf:"varint,3,opt,name=method,proto3,enum=vega.commands.v1.UndelegateSubmission_Method" json:"method,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UndelegateSubmission) Descriptor ¶
func (*UndelegateSubmission) Descriptor() ([]byte, []int)
func (*UndelegateSubmission) GetAmount ¶
func (m *UndelegateSubmission) GetAmount() string
func (*UndelegateSubmission) GetMethod ¶
func (m *UndelegateSubmission) GetMethod() UndelegateSubmission_Method
func (*UndelegateSubmission) GetNodeId ¶
func (m *UndelegateSubmission) GetNodeId() string
func (*UndelegateSubmission) ProtoMessage ¶
func (*UndelegateSubmission) ProtoMessage()
func (*UndelegateSubmission) Reset ¶
func (m *UndelegateSubmission) Reset()
func (*UndelegateSubmission) String ¶
func (m *UndelegateSubmission) String() string
func (*UndelegateSubmission) XXX_DiscardUnknown ¶
func (m *UndelegateSubmission) XXX_DiscardUnknown()
func (*UndelegateSubmission) XXX_Marshal ¶
func (m *UndelegateSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndelegateSubmission) XXX_Merge ¶
func (m *UndelegateSubmission) XXX_Merge(src proto.Message)
func (*UndelegateSubmission) XXX_Size ¶
func (m *UndelegateSubmission) XXX_Size() int
func (*UndelegateSubmission) XXX_Unmarshal ¶
func (m *UndelegateSubmission) XXX_Unmarshal(b []byte) error
type UndelegateSubmission_Method ¶
type UndelegateSubmission_Method int32
const ( UndelegateSubmission_METHOD_UNSPECIFIED UndelegateSubmission_Method = 0 UndelegateSubmission_METHOD_NOW UndelegateSubmission_Method = 1 UndelegateSubmission_METHOD_AT_END_OF_EPOCH UndelegateSubmission_Method = 2 UndelegateSubmission_METHOD_IN_ANGER UndelegateSubmission_Method = 3 )
func (UndelegateSubmission_Method) EnumDescriptor ¶
func (UndelegateSubmission_Method) EnumDescriptor() ([]byte, []int)
func (UndelegateSubmission_Method) String ¶
func (x UndelegateSubmission_Method) String() string
type VoteSubmission ¶
type VoteSubmission struct { // The ID of the proposal to vote for. ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // The actual value of the vote Value vega.Vote_Value `protobuf:"varint,2,opt,name=value,proto3,enum=vega.Vote_Value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A command to submit a new vote for a governance proposal.
func (*VoteSubmission) Descriptor ¶
func (*VoteSubmission) Descriptor() ([]byte, []int)
func (*VoteSubmission) GetProposalId ¶
func (m *VoteSubmission) GetProposalId() string
func (*VoteSubmission) GetValue ¶
func (m *VoteSubmission) GetValue() vega.Vote_Value
func (*VoteSubmission) ProtoMessage ¶
func (*VoteSubmission) ProtoMessage()
func (*VoteSubmission) Reset ¶
func (m *VoteSubmission) Reset()
func (*VoteSubmission) String ¶
func (m *VoteSubmission) String() string
func (*VoteSubmission) XXX_DiscardUnknown ¶
func (m *VoteSubmission) XXX_DiscardUnknown()
func (*VoteSubmission) XXX_Marshal ¶
func (m *VoteSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteSubmission) XXX_Merge ¶
func (m *VoteSubmission) XXX_Merge(src proto.Message)
func (*VoteSubmission) XXX_Size ¶
func (m *VoteSubmission) XXX_Size() int
func (*VoteSubmission) XXX_Unmarshal ¶
func (m *VoteSubmission) XXX_Unmarshal(b []byte) error
type WithdrawSubmission ¶
type WithdrawSubmission struct { // The amount to be withdrawn Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // The asset we want to withdraw Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // Foreign chain specifics Ext *vega.WithdrawExt `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the submission request to withdraw funds for a party on Vega
func (*WithdrawSubmission) Descriptor ¶
func (*WithdrawSubmission) Descriptor() ([]byte, []int)
func (*WithdrawSubmission) GetAmount ¶
func (m *WithdrawSubmission) GetAmount() string
func (*WithdrawSubmission) GetAsset ¶
func (m *WithdrawSubmission) GetAsset() string
func (*WithdrawSubmission) GetExt ¶
func (m *WithdrawSubmission) GetExt() *vega.WithdrawExt
func (*WithdrawSubmission) ProtoMessage ¶
func (*WithdrawSubmission) ProtoMessage()
func (*WithdrawSubmission) Reset ¶
func (m *WithdrawSubmission) Reset()
func (*WithdrawSubmission) String ¶
func (m *WithdrawSubmission) String() string
func (*WithdrawSubmission) XXX_DiscardUnknown ¶
func (m *WithdrawSubmission) XXX_DiscardUnknown()
func (*WithdrawSubmission) XXX_Marshal ¶
func (m *WithdrawSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawSubmission) XXX_Merge ¶
func (m *WithdrawSubmission) XXX_Merge(src proto.Message)
func (*WithdrawSubmission) XXX_Size ¶
func (m *WithdrawSubmission) XXX_Size() int
func (*WithdrawSubmission) XXX_Unmarshal ¶
func (m *WithdrawSubmission) XXX_Unmarshal(b []byte) error