Documentation ¶
Index ¶
- Variables
- type Account
- func (a Account) DeepClone() *Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetAsset() string
- func (m *Account) GetBalance() string
- func (m *Account) GetId() string
- func (m *Account) GetMarketId() string
- func (m *Account) GetOwner() string
- func (m *Account) GetType() AccountType
- func (Account) IsEvent()
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (this *Account) Validate() error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountType
- type AddValidator
- func (*AddValidator) Descriptor() ([]byte, []int)
- func (m *AddValidator) GetId() *Identifier
- func (*AddValidator) ProtoMessage()
- func (m *AddValidator) Reset()
- func (m *AddValidator) String() string
- func (this *AddValidator) Validate() error
- func (m *AddValidator) XXX_DiscardUnknown()
- func (m *AddValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddValidator) XXX_Merge(src proto.Message)
- func (m *AddValidator) XXX_Size() int
- func (m *AddValidator) XXX_Unmarshal(b []byte) error
- type Asset
- func (a Asset) DeepClone() *Asset
- func (*Asset) Descriptor() ([]byte, []int)
- func (m *Asset) GetDetails() *AssetDetails
- func (m *Asset) GetId() string
- func (Asset) IsEvent()
- func (*Asset) ProtoMessage()
- func (m *Asset) Reset()
- func (m *Asset) String() string
- func (this *Asset) Validate() error
- func (m *Asset) XXX_DiscardUnknown()
- func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Asset) XXX_Merge(src proto.Message)
- func (m *Asset) XXX_Size() int
- func (m *Asset) XXX_Unmarshal(b []byte) error
- type AssetDetails
- func (a AssetDetails) DeepClone() *AssetDetails
- func (*AssetDetails) Descriptor() ([]byte, []int)
- func (m *AssetDetails) GetBuiltinAsset() *BuiltinAsset
- func (m *AssetDetails) GetDecimals() uint64
- func (m *AssetDetails) GetErc20() *ERC20
- func (m *AssetDetails) GetMinLpStake() string
- func (m *AssetDetails) GetName() string
- func (m *AssetDetails) GetSource() isAssetDetails_Source
- func (m *AssetDetails) GetSymbol() string
- func (m *AssetDetails) GetTotalSupply() string
- func (*AssetDetails) ProtoMessage()
- func (m *AssetDetails) Reset()
- func (m *AssetDetails) String() string
- func (this *AssetDetails) Validate() error
- func (m *AssetDetails) XXX_DiscardUnknown()
- func (m *AssetDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetDetails) XXX_Merge(src proto.Message)
- func (*AssetDetails) XXX_OneofWrappers() []interface{}
- func (m *AssetDetails) XXX_Size() int
- func (m *AssetDetails) XXX_Unmarshal(b []byte) error
- type AssetDetails_BuiltinAsset
- type AssetDetails_Erc20
- type AuctionDuration
- func (a AuctionDuration) DeepClone() *AuctionDuration
- func (*AuctionDuration) Descriptor() ([]byte, []int)
- func (m *AuctionDuration) GetDuration() int64
- func (m *AuctionDuration) GetVolume() uint64
- func (*AuctionDuration) ProtoMessage()
- func (m *AuctionDuration) Reset()
- func (m *AuctionDuration) String() string
- func (this *AuctionDuration) Validate() error
- func (m *AuctionDuration) XXX_DiscardUnknown()
- func (m *AuctionDuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionDuration) XXX_Merge(src proto.Message)
- func (m *AuctionDuration) XXX_Size() int
- func (m *AuctionDuration) XXX_Unmarshal(b []byte) error
- type AuctionIndicativeState
- func (*AuctionIndicativeState) Descriptor() ([]byte, []int)
- func (m *AuctionIndicativeState) GetAuctionEnd() int64
- func (m *AuctionIndicativeState) GetAuctionStart() int64
- func (m *AuctionIndicativeState) GetIndicativePrice() string
- func (m *AuctionIndicativeState) GetIndicativeVolume() uint64
- func (m *AuctionIndicativeState) GetMarketId() string
- func (*AuctionIndicativeState) ProtoMessage()
- func (m *AuctionIndicativeState) Reset()
- func (m *AuctionIndicativeState) String() string
- func (this *AuctionIndicativeState) Validate() error
- func (m *AuctionIndicativeState) XXX_DiscardUnknown()
- func (m *AuctionIndicativeState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionIndicativeState) XXX_Merge(src proto.Message)
- func (m *AuctionIndicativeState) XXX_Size() int
- func (m *AuctionIndicativeState) XXX_Unmarshal(b []byte) error
- type AuctionTrigger
- type BTCDeposit
- func (*BTCDeposit) Descriptor() ([]byte, []int)
- func (m *BTCDeposit) GetSourceBtcAddress() string
- func (m *BTCDeposit) GetTargetPartyId() string
- func (m *BTCDeposit) GetVegaAssetId() string
- func (*BTCDeposit) ProtoMessage()
- func (m *BTCDeposit) Reset()
- func (m *BTCDeposit) String() string
- func (this *BTCDeposit) Validate() error
- func (m *BTCDeposit) XXX_DiscardUnknown()
- func (m *BTCDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BTCDeposit) XXX_Merge(src proto.Message)
- func (m *BTCDeposit) XXX_Size() int
- func (m *BTCDeposit) XXX_Unmarshal(b []byte) error
- type BTCEvent
- func (*BTCEvent) Descriptor() ([]byte, []int)
- func (m *BTCEvent) GetAction() isBTCEvent_Action
- func (m *BTCEvent) GetBlock() uint64
- func (m *BTCEvent) GetDeposit() *BTCDeposit
- func (m *BTCEvent) GetIndex() uint64
- func (m *BTCEvent) GetWithdrawal() *BTCWithdrawal
- func (*BTCEvent) ProtoMessage()
- func (m *BTCEvent) Reset()
- func (m *BTCEvent) String() string
- func (this *BTCEvent) Validate() error
- func (m *BTCEvent) XXX_DiscardUnknown()
- func (m *BTCEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BTCEvent) XXX_Merge(src proto.Message)
- func (*BTCEvent) XXX_OneofWrappers() []interface{}
- func (m *BTCEvent) XXX_Size() int
- func (m *BTCEvent) XXX_Unmarshal(b []byte) error
- type BTCEvent_Deposit
- type BTCEvent_Withdrawal
- type BTCWithdrawal
- func (*BTCWithdrawal) Descriptor() ([]byte, []int)
- func (m *BTCWithdrawal) GetReferenceNonce() string
- func (m *BTCWithdrawal) GetSourcePartyId() string
- func (m *BTCWithdrawal) GetTargetBtcAddress() string
- func (m *BTCWithdrawal) GetVegaAssetId() string
- func (*BTCWithdrawal) ProtoMessage()
- func (m *BTCWithdrawal) Reset()
- func (m *BTCWithdrawal) String() string
- func (this *BTCWithdrawal) Validate() error
- func (m *BTCWithdrawal) XXX_DiscardUnknown()
- func (m *BTCWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BTCWithdrawal) XXX_Merge(src proto.Message)
- func (m *BTCWithdrawal) XXX_Size() int
- func (m *BTCWithdrawal) XXX_Unmarshal(b []byte) error
- type BitcoinAddress
- func (*BitcoinAddress) Descriptor() ([]byte, []int)
- func (m *BitcoinAddress) GetAddress() string
- func (*BitcoinAddress) ProtoMessage()
- func (m *BitcoinAddress) Reset()
- func (m *BitcoinAddress) String() string
- func (this *BitcoinAddress) Validate() error
- func (m *BitcoinAddress) XXX_DiscardUnknown()
- func (m *BitcoinAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BitcoinAddress) XXX_Merge(src proto.Message)
- func (m *BitcoinAddress) XXX_Size() int
- func (m *BitcoinAddress) XXX_Unmarshal(b []byte) error
- type BuiltinAsset
- func (b BuiltinAsset) DeepClone() *BuiltinAsset
- func (*BuiltinAsset) Descriptor() ([]byte, []int)
- func (m *BuiltinAsset) GetMaxFaucetAmountMint() string
- func (*BuiltinAsset) ProtoMessage()
- func (m *BuiltinAsset) Reset()
- func (m *BuiltinAsset) String() string
- func (this *BuiltinAsset) Validate() error
- func (m *BuiltinAsset) XXX_DiscardUnknown()
- func (m *BuiltinAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuiltinAsset) XXX_Merge(src proto.Message)
- func (m *BuiltinAsset) XXX_Size() int
- func (m *BuiltinAsset) XXX_Unmarshal(b []byte) error
- type BuiltinAssetDeposit
- func (*BuiltinAssetDeposit) Descriptor() ([]byte, []int)
- func (m *BuiltinAssetDeposit) GetAmount() string
- func (m *BuiltinAssetDeposit) GetPartyId() string
- func (m *BuiltinAssetDeposit) GetVegaAssetId() string
- func (c *BuiltinAssetDeposit) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetDeposit) ProtoMessage()
- func (m *BuiltinAssetDeposit) Reset()
- func (m *BuiltinAssetDeposit) String() string
- func (this *BuiltinAssetDeposit) Validate() error
- func (m *BuiltinAssetDeposit) XXX_DiscardUnknown()
- func (m *BuiltinAssetDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuiltinAssetDeposit) XXX_Merge(src proto.Message)
- func (m *BuiltinAssetDeposit) XXX_Size() int
- func (m *BuiltinAssetDeposit) XXX_Unmarshal(b []byte) error
- type BuiltinAssetEvent
- func (*BuiltinAssetEvent) Descriptor() ([]byte, []int)
- func (m *BuiltinAssetEvent) GetAction() isBuiltinAssetEvent_Action
- func (m *BuiltinAssetEvent) GetDeposit() *BuiltinAssetDeposit
- func (m *BuiltinAssetEvent) GetWithdrawal() *BuiltinAssetWithdrawal
- func (c *BuiltinAssetEvent) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetEvent) ProtoMessage()
- func (m *BuiltinAssetEvent) Reset()
- func (m *BuiltinAssetEvent) String() string
- func (this *BuiltinAssetEvent) Validate() error
- func (m *BuiltinAssetEvent) XXX_DiscardUnknown()
- func (m *BuiltinAssetEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuiltinAssetEvent) XXX_Merge(src proto.Message)
- func (*BuiltinAssetEvent) XXX_OneofWrappers() []interface{}
- func (m *BuiltinAssetEvent) XXX_Size() int
- func (m *BuiltinAssetEvent) XXX_Unmarshal(b []byte) error
- type BuiltinAssetEvent_Deposit
- type BuiltinAssetEvent_Withdrawal
- type BuiltinAssetWithdrawal
- func (*BuiltinAssetWithdrawal) Descriptor() ([]byte, []int)
- func (m *BuiltinAssetWithdrawal) GetAmount() string
- func (m *BuiltinAssetWithdrawal) GetPartyId() string
- func (m *BuiltinAssetWithdrawal) GetVegaAssetId() string
- func (c *BuiltinAssetWithdrawal) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetWithdrawal) ProtoMessage()
- func (m *BuiltinAssetWithdrawal) Reset()
- func (m *BuiltinAssetWithdrawal) String() string
- func (this *BuiltinAssetWithdrawal) Validate() error
- func (m *BuiltinAssetWithdrawal) XXX_DiscardUnknown()
- func (m *BuiltinAssetWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuiltinAssetWithdrawal) XXX_Merge(src proto.Message)
- func (m *BuiltinAssetWithdrawal) XXX_Size() int
- func (m *BuiltinAssetWithdrawal) XXX_Unmarshal(b []byte) error
- type Candle
- func (*Candle) Descriptor() ([]byte, []int)
- func (m *Candle) GetClose() string
- func (m *Candle) GetDatetime() string
- func (m *Candle) GetHigh() string
- func (m *Candle) GetInterval() Interval
- func (m *Candle) GetLow() string
- func (m *Candle) GetOpen() string
- func (m *Candle) GetTimestamp() int64
- func (m *Candle) GetVolume() uint64
- func (*Candle) ProtoMessage()
- func (m *Candle) Reset()
- func (m *Candle) String() string
- func (this *Candle) Validate() error
- func (m *Candle) XXX_DiscardUnknown()
- func (m *Candle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Candle) XXX_Merge(src proto.Message)
- func (m *Candle) XXX_Size() int
- func (m *Candle) XXX_Unmarshal(b []byte) error
- type ChainStatus
- type ContinuousTrading
- func (c ContinuousTrading) DeepClone() *ContinuousTrading
- func (*ContinuousTrading) Descriptor() ([]byte, []int)
- func (m *ContinuousTrading) GetTickSize() string
- func (*ContinuousTrading) ProtoMessage()
- func (m *ContinuousTrading) Reset()
- func (m *ContinuousTrading) String() string
- func (this *ContinuousTrading) Validate() error
- func (m *ContinuousTrading) XXX_DiscardUnknown()
- func (m *ContinuousTrading) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContinuousTrading) XXX_Merge(src proto.Message)
- func (m *ContinuousTrading) XXX_Size() int
- func (m *ContinuousTrading) XXX_Unmarshal(b []byte) error
- type Delegation
- func (*Delegation) Descriptor() ([]byte, []int)
- func (m *Delegation) GetAmount() string
- func (m *Delegation) GetEpochSeq() string
- func (m *Delegation) GetNodeId() string
- func (m *Delegation) GetParty() string
- func (*Delegation) ProtoMessage()
- func (m *Delegation) Reset()
- func (m *Delegation) String() string
- func (this *Delegation) Validate() error
- func (m *Delegation) XXX_DiscardUnknown()
- func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegation) XXX_Merge(src proto.Message)
- func (m *Delegation) XXX_Size() int
- func (m *Delegation) XXX_Unmarshal(b []byte) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (m *Deposit) GetAmount() string
- func (m *Deposit) GetAsset() string
- func (m *Deposit) GetCreatedTimestamp() int64
- func (m *Deposit) GetCreditedTimestamp() int64
- func (m *Deposit) GetId() string
- func (m *Deposit) GetPartyId() string
- func (m *Deposit) GetStatus() Deposit_Status
- func (m *Deposit) GetTxHash() string
- func (Deposit) IsEvent()
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) String() string
- func (this *Deposit) Validate() error
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type Deposit_Status
- type DiscreteTrading
- func (d DiscreteTrading) DeepClone() *DiscreteTrading
- func (*DiscreteTrading) Descriptor() ([]byte, []int)
- func (m *DiscreteTrading) GetDurationNs() int64
- func (m *DiscreteTrading) GetTickSize() string
- func (*DiscreteTrading) ProtoMessage()
- func (m *DiscreteTrading) Reset()
- func (m *DiscreteTrading) String() string
- func (this *DiscreteTrading) Validate() error
- func (m *DiscreteTrading) XXX_DiscardUnknown()
- func (m *DiscreteTrading) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscreteTrading) XXX_Merge(src proto.Message)
- func (m *DiscreteTrading) XXX_Size() int
- func (m *DiscreteTrading) XXX_Unmarshal(b []byte) error
- type ERC20
- func (e ERC20) DeepClone() *ERC20
- func (*ERC20) Descriptor() ([]byte, []int)
- func (m *ERC20) GetContractAddress() string
- func (*ERC20) ProtoMessage()
- func (m *ERC20) Reset()
- func (m *ERC20) String() string
- func (this *ERC20) Validate() error
- func (m *ERC20) XXX_DiscardUnknown()
- func (m *ERC20) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20) XXX_Merge(src proto.Message)
- func (m *ERC20) XXX_Size() int
- func (m *ERC20) XXX_Unmarshal(b []byte) error
- type ERC20AssetDelist
- func (*ERC20AssetDelist) Descriptor() ([]byte, []int)
- func (m *ERC20AssetDelist) GetVegaAssetId() string
- func (c *ERC20AssetDelist) PrepareToSign() ([]byte, error)
- func (*ERC20AssetDelist) ProtoMessage()
- func (m *ERC20AssetDelist) Reset()
- func (m *ERC20AssetDelist) String() string
- func (this *ERC20AssetDelist) Validate() error
- func (m *ERC20AssetDelist) XXX_DiscardUnknown()
- func (m *ERC20AssetDelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20AssetDelist) XXX_Merge(src proto.Message)
- func (m *ERC20AssetDelist) XXX_Size() int
- func (m *ERC20AssetDelist) XXX_Unmarshal(b []byte) error
- type ERC20AssetList
- func (*ERC20AssetList) Descriptor() ([]byte, []int)
- func (m *ERC20AssetList) GetVegaAssetId() string
- func (c *ERC20AssetList) PrepareToSign() ([]byte, error)
- func (*ERC20AssetList) ProtoMessage()
- func (m *ERC20AssetList) Reset()
- func (m *ERC20AssetList) String() string
- func (this *ERC20AssetList) Validate() error
- func (m *ERC20AssetList) XXX_DiscardUnknown()
- func (m *ERC20AssetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20AssetList) XXX_Merge(src proto.Message)
- func (m *ERC20AssetList) XXX_Size() int
- func (m *ERC20AssetList) XXX_Unmarshal(b []byte) error
- type ERC20Deposit
- func (*ERC20Deposit) Descriptor() ([]byte, []int)
- func (m *ERC20Deposit) GetAmount() string
- func (m *ERC20Deposit) GetSourceEthereumAddress() string
- func (m *ERC20Deposit) GetTargetPartyId() string
- func (m *ERC20Deposit) GetVegaAssetId() string
- func (c *ERC20Deposit) PrepareToSign() ([]byte, error)
- func (*ERC20Deposit) ProtoMessage()
- func (m *ERC20Deposit) Reset()
- func (m *ERC20Deposit) String() string
- func (this *ERC20Deposit) Validate() error
- func (m *ERC20Deposit) XXX_DiscardUnknown()
- func (m *ERC20Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20Deposit) XXX_Merge(src proto.Message)
- func (m *ERC20Deposit) XXX_Size() int
- func (m *ERC20Deposit) XXX_Unmarshal(b []byte) error
- type ERC20Event
- func (*ERC20Event) Descriptor() ([]byte, []int)
- func (m *ERC20Event) GetAction() isERC20Event_Action
- func (m *ERC20Event) GetAssetDelist() *ERC20AssetDelist
- func (m *ERC20Event) GetAssetList() *ERC20AssetList
- func (m *ERC20Event) GetBlock() uint64
- func (m *ERC20Event) GetDeposit() *ERC20Deposit
- func (m *ERC20Event) GetIndex() uint64
- func (m *ERC20Event) GetWithdrawal() *ERC20Withdrawal
- func (c *ERC20Event) PrepareToSign() ([]byte, error)
- func (*ERC20Event) ProtoMessage()
- func (m *ERC20Event) Reset()
- func (m *ERC20Event) String() string
- func (this *ERC20Event) Validate() error
- func (m *ERC20Event) XXX_DiscardUnknown()
- func (m *ERC20Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20Event) XXX_Merge(src proto.Message)
- func (*ERC20Event) XXX_OneofWrappers() []interface{}
- func (m *ERC20Event) XXX_Size() int
- func (m *ERC20Event) XXX_Unmarshal(b []byte) error
- type ERC20Event_AssetDelist
- type ERC20Event_AssetList
- type ERC20Event_Deposit
- type ERC20Event_Withdrawal
- type ERC20Withdrawal
- func (*ERC20Withdrawal) Descriptor() ([]byte, []int)
- func (m *ERC20Withdrawal) GetReferenceNonce() string
- func (m *ERC20Withdrawal) GetTargetEthereumAddress() string
- func (m *ERC20Withdrawal) GetVegaAssetId() string
- func (c *ERC20Withdrawal) PrepareToSign() ([]byte, error)
- func (*ERC20Withdrawal) ProtoMessage()
- func (m *ERC20Withdrawal) Reset()
- func (m *ERC20Withdrawal) String() string
- func (this *ERC20Withdrawal) Validate() error
- func (m *ERC20Withdrawal) XXX_DiscardUnknown()
- func (m *ERC20Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20Withdrawal) XXX_Merge(src proto.Message)
- func (m *ERC20Withdrawal) XXX_Size() int
- func (m *ERC20Withdrawal) XXX_Unmarshal(b []byte) error
- type Epoch
- func (*Epoch) Descriptor() ([]byte, []int)
- func (m *Epoch) GetDelegations() []*Delegation
- func (m *Epoch) GetSeq() uint64
- func (m *Epoch) GetTimestamps() *EpochTimestamps
- func (m *Epoch) GetValidators() []*Node
- func (*Epoch) ProtoMessage()
- func (m *Epoch) Reset()
- func (m *Epoch) String() string
- func (this *Epoch) Validate() error
- func (m *Epoch) XXX_DiscardUnknown()
- func (m *Epoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Epoch) XXX_Merge(src proto.Message)
- func (m *Epoch) XXX_Size() int
- func (m *Epoch) XXX_Unmarshal(b []byte) error
- type EpochAction
- type EpochData
- func (*EpochData) Descriptor() ([]byte, []int)
- func (m *EpochData) GetOffline() int32
- func (m *EpochData) GetOnline() int32
- func (m *EpochData) GetTotal() int32
- func (*EpochData) ProtoMessage()
- func (m *EpochData) Reset()
- func (m *EpochData) String() string
- func (this *EpochData) Validate() error
- func (m *EpochData) XXX_DiscardUnknown()
- func (m *EpochData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochData) XXX_Merge(src proto.Message)
- func (m *EpochData) XXX_Size() int
- func (m *EpochData) XXX_Unmarshal(b []byte) error
- type EpochParticipation
- func (*EpochParticipation) Descriptor() ([]byte, []int)
- func (m *EpochParticipation) GetEpoch() *Epoch
- func (m *EpochParticipation) GetOffline() uint64
- func (m *EpochParticipation) GetOnline() uint64
- func (m *EpochParticipation) GetTotalRewards() float64
- func (*EpochParticipation) ProtoMessage()
- func (m *EpochParticipation) Reset()
- func (m *EpochParticipation) String() string
- func (this *EpochParticipation) Validate() error
- func (m *EpochParticipation) XXX_DiscardUnknown()
- func (m *EpochParticipation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochParticipation) XXX_Merge(src proto.Message)
- func (m *EpochParticipation) XXX_Size() int
- func (m *EpochParticipation) XXX_Unmarshal(b []byte) error
- type EpochTimestamps
- func (*EpochTimestamps) Descriptor() ([]byte, []int)
- func (m *EpochTimestamps) GetEndTime() int64
- func (m *EpochTimestamps) GetExpiryTime() int64
- func (m *EpochTimestamps) GetFirstBlock() uint64
- func (m *EpochTimestamps) GetLastBlock() uint64
- func (m *EpochTimestamps) GetStartTime() int64
- func (*EpochTimestamps) ProtoMessage()
- func (m *EpochTimestamps) Reset()
- func (m *EpochTimestamps) String() string
- func (this *EpochTimestamps) Validate() error
- func (m *EpochTimestamps) XXX_DiscardUnknown()
- func (m *EpochTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochTimestamps) XXX_Merge(src proto.Message)
- func (m *EpochTimestamps) XXX_Size() int
- func (m *EpochTimestamps) XXX_Unmarshal(b []byte) error
- type Erc20WithdrawExt
- func (*Erc20WithdrawExt) Descriptor() ([]byte, []int)
- func (m *Erc20WithdrawExt) GetReceiverAddress() string
- func (*Erc20WithdrawExt) ProtoMessage()
- func (m *Erc20WithdrawExt) Reset()
- func (m *Erc20WithdrawExt) String() string
- func (this *Erc20WithdrawExt) Validate() error
- func (m *Erc20WithdrawExt) XXX_DiscardUnknown()
- func (m *Erc20WithdrawExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Erc20WithdrawExt) XXX_Merge(src proto.Message)
- func (m *Erc20WithdrawExt) XXX_Size() int
- func (m *Erc20WithdrawExt) XXX_Unmarshal(b []byte) error
- type ErrorDetail
- func (*ErrorDetail) Descriptor() ([]byte, []int)
- func (m *ErrorDetail) GetCode() int32
- func (m *ErrorDetail) GetInner() string
- func (m *ErrorDetail) GetMessage() string
- func (*ErrorDetail) ProtoMessage()
- func (m *ErrorDetail) Reset()
- func (m *ErrorDetail) String() string
- func (this *ErrorDetail) Validate() error
- func (m *ErrorDetail) XXX_DiscardUnknown()
- func (m *ErrorDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorDetail) XXX_Merge(src proto.Message)
- func (m *ErrorDetail) XXX_Size() int
- func (m *ErrorDetail) XXX_Unmarshal(b []byte) error
- type EthereumAddress
- func (*EthereumAddress) Descriptor() ([]byte, []int)
- func (m *EthereumAddress) GetAddress() string
- func (*EthereumAddress) ProtoMessage()
- func (m *EthereumAddress) Reset()
- func (m *EthereumAddress) String() string
- func (this *EthereumAddress) Validate() error
- func (m *EthereumAddress) XXX_DiscardUnknown()
- func (m *EthereumAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthereumAddress) XXX_Merge(src proto.Message)
- func (m *EthereumAddress) XXX_Size() int
- func (m *EthereumAddress) XXX_Unmarshal(b []byte) error
- type EthereumConfig
- func (*EthereumConfig) Descriptor() ([]byte, []int)
- func (m *EthereumConfig) GetBridgeAddress() string
- func (m *EthereumConfig) GetChainId() string
- func (m *EthereumConfig) GetConfirmations() uint32
- func (m *EthereumConfig) GetNetworkId() string
- func (m *EthereumConfig) GetStakingBridgeAddresses() []string
- func (*EthereumConfig) ProtoMessage()
- func (m *EthereumConfig) Reset()
- func (m *EthereumConfig) String() string
- func (this *EthereumConfig) Validate() error
- func (m *EthereumConfig) XXX_DiscardUnknown()
- func (m *EthereumConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthereumConfig) XXX_Merge(src proto.Message)
- func (m *EthereumConfig) XXX_Size() int
- func (m *EthereumConfig) XXX_Unmarshal(b []byte) error
- type Fee
- func (f Fee) DeepClone() *Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetInfrastructureFee() string
- func (m *Fee) GetLiquidityFee() string
- func (m *Fee) GetMakerFee() string
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) String() string
- func (this *Fee) Validate() error
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type FeeFactors
- func (f FeeFactors) DeepClone() *FeeFactors
- func (*FeeFactors) Descriptor() ([]byte, []int)
- func (m *FeeFactors) GetInfrastructureFee() string
- func (m *FeeFactors) GetLiquidityFee() string
- func (m *FeeFactors) GetMakerFee() string
- func (*FeeFactors) ProtoMessage()
- func (m *FeeFactors) Reset()
- func (m *FeeFactors) String() string
- func (this *FeeFactors) Validate() error
- func (m *FeeFactors) XXX_DiscardUnknown()
- func (m *FeeFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeFactors) XXX_Merge(src proto.Message)
- func (m *FeeFactors) XXX_Size() int
- func (m *FeeFactors) XXX_Unmarshal(b []byte) error
- type Fees
- func (f Fees) DeepClone() *Fees
- func (*Fees) Descriptor() ([]byte, []int)
- func (m *Fees) GetFactors() *FeeFactors
- func (*Fees) ProtoMessage()
- func (m *Fees) Reset()
- func (m *Fees) String() string
- func (this *Fees) Validate() error
- func (m *Fees) XXX_DiscardUnknown()
- func (m *Fees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fees) XXX_Merge(src proto.Message)
- func (m *Fees) XXX_Size() int
- func (m *Fees) XXX_Unmarshal(b []byte) error
- type FinancialAmount
- func (*FinancialAmount) Descriptor() ([]byte, []int)
- func (m *FinancialAmount) GetAmount() string
- func (m *FinancialAmount) GetAsset() string
- func (*FinancialAmount) ProtoMessage()
- func (m *FinancialAmount) Reset()
- func (m *FinancialAmount) String() string
- func (this *FinancialAmount) Validate() error
- func (m *FinancialAmount) XXX_DiscardUnknown()
- func (m *FinancialAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinancialAmount) XXX_Merge(src proto.Message)
- func (m *FinancialAmount) XXX_Size() int
- func (m *FinancialAmount) XXX_Unmarshal(b []byte) error
- type Future
- func (f Future) DeepClone() *Future
- func (*Future) Descriptor() ([]byte, []int)
- func (m *Future) GetMaturity() string
- func (m *Future) GetOracleSpecBinding() *OracleSpecToFutureBinding
- func (m *Future) GetOracleSpecForSettlementPrice() *v1.OracleSpec
- func (m *Future) GetOracleSpecForTradingTermination() *v1.OracleSpec
- func (m *Future) GetQuoteName() string
- func (m *Future) GetSettlementAsset() string
- func (Future) IsProduct()
- func (*Future) ProtoMessage()
- func (m *Future) Reset()
- func (m *Future) String() string
- func (this *Future) Validate() error
- func (m *Future) XXX_DiscardUnknown()
- func (m *Future) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Future) XXX_Merge(src proto.Message)
- func (m *Future) XXX_Size() int
- func (m *Future) XXX_Unmarshal(b []byte) error
- type FutureProduct
- func (f FutureProduct) DeepClone() *FutureProduct
- func (*FutureProduct) Descriptor() ([]byte, []int)
- func (m *FutureProduct) GetMaturity() string
- func (m *FutureProduct) GetOracleSpecBinding() *OracleSpecToFutureBinding
- func (m *FutureProduct) GetOracleSpecForSettlementPrice() *v1.OracleSpecConfiguration
- func (m *FutureProduct) GetOracleSpecForTradingTermination() *v1.OracleSpecConfiguration
- func (m *FutureProduct) GetQuoteName() string
- func (m *FutureProduct) GetSettlementAsset() string
- func (*FutureProduct) ProtoMessage()
- func (m *FutureProduct) Reset()
- func (m *FutureProduct) String() string
- func (this *FutureProduct) Validate() error
- func (m *FutureProduct) XXX_DiscardUnknown()
- func (m *FutureProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FutureProduct) XXX_Merge(src proto.Message)
- func (m *FutureProduct) XXX_Size() int
- func (m *FutureProduct) XXX_Unmarshal(b []byte) error
- type GovernanceData
- func (*GovernanceData) Descriptor() ([]byte, []int)
- func (m *GovernanceData) GetNo() []*Vote
- func (m *GovernanceData) GetNoParty() map[string]*Vote
- func (m *GovernanceData) GetProposal() *Proposal
- func (m *GovernanceData) GetYes() []*Vote
- func (m *GovernanceData) GetYesParty() map[string]*Vote
- func (GovernanceData) IsEvent()
- func (*GovernanceData) ProtoMessage()
- func (m *GovernanceData) Reset()
- func (m *GovernanceData) String() string
- func (this *GovernanceData) Validate() error
- func (m *GovernanceData) XXX_DiscardUnknown()
- func (m *GovernanceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GovernanceData) XXX_Merge(src proto.Message)
- func (m *GovernanceData) XXX_Size() int
- func (m *GovernanceData) XXX_Unmarshal(b []byte) error
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)
- func (m *Identifier) GetBitcoinAddress() *BitcoinAddress
- func (m *Identifier) GetEthereumAddress() *EthereumAddress
- func (m *Identifier) GetIdentifier() isIdentifier_Identifier
- func (*Identifier) ProtoMessage()
- func (m *Identifier) Reset()
- func (m *Identifier) String() string
- func (this *Identifier) Validate() error
- func (m *Identifier) XXX_DiscardUnknown()
- func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Identifier) XXX_Merge(src proto.Message)
- func (*Identifier) XXX_OneofWrappers() []interface{}
- func (m *Identifier) XXX_Size() int
- func (m *Identifier) XXX_Unmarshal(b []byte) error
- type Identifier_BitcoinAddress
- type Identifier_EthereumAddress
- type Instrument
- func (i Instrument) DeepClone() *Instrument
- func (*Instrument) Descriptor() ([]byte, []int)
- func (m *Instrument) GetCode() string
- func (m *Instrument) GetFuture() *Future
- func (m *Instrument) GetId() string
- func (m *Instrument) GetMetadata() *InstrumentMetadata
- func (m *Instrument) GetName() string
- func (m *Instrument) GetProduct() isInstrument_Product
- func (*Instrument) ProtoMessage()
- func (m *Instrument) Reset()
- func (m *Instrument) String() string
- func (this *Instrument) Validate() error
- func (m *Instrument) XXX_DiscardUnknown()
- func (m *Instrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Instrument) XXX_Merge(src proto.Message)
- func (*Instrument) XXX_OneofWrappers() []interface{}
- func (m *Instrument) XXX_Size() int
- func (m *Instrument) XXX_Unmarshal(b []byte) error
- type InstrumentConfiguration
- func (i InstrumentConfiguration) DeepClone() *InstrumentConfiguration
- func (*InstrumentConfiguration) Descriptor() ([]byte, []int)
- func (m *InstrumentConfiguration) GetCode() string
- func (m *InstrumentConfiguration) GetFuture() *FutureProduct
- func (m *InstrumentConfiguration) GetName() string
- func (m *InstrumentConfiguration) GetProduct() isInstrumentConfiguration_Product
- func (*InstrumentConfiguration) ProtoMessage()
- func (m *InstrumentConfiguration) Reset()
- func (m *InstrumentConfiguration) String() string
- func (this *InstrumentConfiguration) Validate() error
- func (m *InstrumentConfiguration) XXX_DiscardUnknown()
- func (m *InstrumentConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstrumentConfiguration) XXX_Merge(src proto.Message)
- func (*InstrumentConfiguration) XXX_OneofWrappers() []interface{}
- func (m *InstrumentConfiguration) XXX_Size() int
- func (m *InstrumentConfiguration) XXX_Unmarshal(b []byte) error
- type InstrumentConfiguration_Future
- type InstrumentMetadata
- func (i InstrumentMetadata) DeepClone() *InstrumentMetadata
- func (*InstrumentMetadata) Descriptor() ([]byte, []int)
- func (m *InstrumentMetadata) GetTags() []string
- func (*InstrumentMetadata) ProtoMessage()
- func (m *InstrumentMetadata) Reset()
- func (m *InstrumentMetadata) String() string
- func (this *InstrumentMetadata) Validate() error
- func (m *InstrumentMetadata) XXX_DiscardUnknown()
- func (m *InstrumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstrumentMetadata) XXX_Merge(src proto.Message)
- func (m *InstrumentMetadata) XXX_Size() int
- func (m *InstrumentMetadata) XXX_Unmarshal(b []byte) error
- type Instrument_Future
- type Interval
- type LedgerEntry
- func (l LedgerEntry) DeepClone() *LedgerEntry
- func (*LedgerEntry) Descriptor() ([]byte, []int)
- func (m *LedgerEntry) GetAmount() string
- func (m *LedgerEntry) GetFromAccount() string
- func (m *LedgerEntry) GetReference() string
- func (m *LedgerEntry) GetTimestamp() int64
- func (m *LedgerEntry) GetToAccount() string
- func (m *LedgerEntry) GetType() string
- func (*LedgerEntry) ProtoMessage()
- func (m *LedgerEntry) Reset()
- func (m *LedgerEntry) String() string
- func (this *LedgerEntry) Validate() error
- func (m *LedgerEntry) XXX_DiscardUnknown()
- func (m *LedgerEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerEntry) XXX_Merge(src proto.Message)
- func (m *LedgerEntry) XXX_Size() int
- func (m *LedgerEntry) XXX_Unmarshal(b []byte) error
- type LiquidityMonitoringParameters
- func (l LiquidityMonitoringParameters) DeepClone() *LiquidityMonitoringParameters
- func (*LiquidityMonitoringParameters) Descriptor() ([]byte, []int)
- func (m *LiquidityMonitoringParameters) GetAuctionExtension() int64
- func (m *LiquidityMonitoringParameters) GetTargetStakeParameters() *TargetStakeParameters
- func (m *LiquidityMonitoringParameters) GetTriggeringRatio() float64
- func (*LiquidityMonitoringParameters) ProtoMessage()
- func (m *LiquidityMonitoringParameters) Reset()
- func (m *LiquidityMonitoringParameters) String() string
- func (this *LiquidityMonitoringParameters) Validate() error
- func (m *LiquidityMonitoringParameters) XXX_DiscardUnknown()
- func (m *LiquidityMonitoringParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityMonitoringParameters) XXX_Merge(src proto.Message)
- func (m *LiquidityMonitoringParameters) XXX_Size() int
- func (m *LiquidityMonitoringParameters) XXX_Unmarshal(b []byte) error
- type LiquidityOrder
- func (l LiquidityOrder) DeepClone() *LiquidityOrder
- func (*LiquidityOrder) Descriptor() ([]byte, []int)
- func (m *LiquidityOrder) GetOffset() int64
- func (m *LiquidityOrder) GetProportion() uint32
- func (m *LiquidityOrder) GetReference() PeggedReference
- func (*LiquidityOrder) ProtoMessage()
- func (m *LiquidityOrder) Reset()
- func (m *LiquidityOrder) String() string
- func (this *LiquidityOrder) Validate() error
- func (m *LiquidityOrder) XXX_DiscardUnknown()
- func (m *LiquidityOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityOrder) XXX_Merge(src proto.Message)
- func (m *LiquidityOrder) XXX_Size() int
- func (m *LiquidityOrder) XXX_Unmarshal(b []byte) error
- type LiquidityOrderReference
- func (l LiquidityOrderReference) DeepClone() *LiquidityOrderReference
- func (*LiquidityOrderReference) Descriptor() ([]byte, []int)
- func (m *LiquidityOrderReference) GetLiquidityOrder() *LiquidityOrder
- func (m *LiquidityOrderReference) GetOrderId() string
- func (*LiquidityOrderReference) ProtoMessage()
- func (m *LiquidityOrderReference) Reset()
- func (m *LiquidityOrderReference) String() string
- func (this *LiquidityOrderReference) Validate() error
- func (m *LiquidityOrderReference) XXX_DiscardUnknown()
- func (m *LiquidityOrderReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityOrderReference) XXX_Merge(src proto.Message)
- func (m *LiquidityOrderReference) XXX_Size() int
- func (m *LiquidityOrderReference) XXX_Unmarshal(b []byte) error
- type LiquidityProviderFeeShare
- func (l LiquidityProviderFeeShare) DeepClone() *LiquidityProviderFeeShare
- func (*LiquidityProviderFeeShare) Descriptor() ([]byte, []int)
- func (m *LiquidityProviderFeeShare) GetAverageEntryValuation() string
- func (m *LiquidityProviderFeeShare) GetEquityLikeShare() string
- func (m *LiquidityProviderFeeShare) GetParty() string
- func (*LiquidityProviderFeeShare) ProtoMessage()
- func (m *LiquidityProviderFeeShare) Reset()
- func (m *LiquidityProviderFeeShare) String() string
- func (this *LiquidityProviderFeeShare) Validate() error
- func (m *LiquidityProviderFeeShare) XXX_DiscardUnknown()
- func (m *LiquidityProviderFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProviderFeeShare) XXX_Merge(src proto.Message)
- func (m *LiquidityProviderFeeShare) XXX_Size() int
- func (m *LiquidityProviderFeeShare) XXX_Unmarshal(b []byte) error
- type LiquidityProvision
- func (l LiquidityProvision) DeepClone() *LiquidityProvision
- func (*LiquidityProvision) Descriptor() ([]byte, []int)
- func (l *LiquidityProvision) Float64Fee() float64
- func (m *LiquidityProvision) GetBuys() []*LiquidityOrderReference
- func (m *LiquidityProvision) GetCommitmentAmount() string
- func (m *LiquidityProvision) GetCreatedAt() int64
- func (m *LiquidityProvision) GetFee() string
- func (m *LiquidityProvision) GetId() string
- func (m *LiquidityProvision) GetMarketId() string
- func (m *LiquidityProvision) GetPartyId() string
- func (m *LiquidityProvision) GetReference() string
- func (m *LiquidityProvision) GetSells() []*LiquidityOrderReference
- func (m *LiquidityProvision) GetStatus() LiquidityProvision_Status
- func (m *LiquidityProvision) GetUpdatedAt() int64
- func (m *LiquidityProvision) GetVersion() string
- func (LiquidityProvision) IsEvent()
- func (*LiquidityProvision) ProtoMessage()
- func (m *LiquidityProvision) Reset()
- func (m *LiquidityProvision) String() string
- func (this *LiquidityProvision) Validate() error
- func (m *LiquidityProvision) XXX_DiscardUnknown()
- func (m *LiquidityProvision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LiquidityProvision) XXX_Merge(src proto.Message)
- func (m *LiquidityProvision) XXX_Size() int
- func (m *LiquidityProvision) XXX_Unmarshal(b []byte) error
- type LiquidityProvision_Status
- type LogNormalModelParams
- func (l LogNormalModelParams) DeepClone() *LogNormalModelParams
- func (*LogNormalModelParams) Descriptor() ([]byte, []int)
- func (m *LogNormalModelParams) GetMu() float64
- func (m *LogNormalModelParams) GetR() float64
- func (m *LogNormalModelParams) GetSigma() float64
- func (*LogNormalModelParams) ProtoMessage()
- func (m *LogNormalModelParams) Reset()
- func (m *LogNormalModelParams) String() string
- func (this *LogNormalModelParams) Validate() error
- func (m *LogNormalModelParams) XXX_DiscardUnknown()
- func (m *LogNormalModelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogNormalModelParams) XXX_Merge(src proto.Message)
- func (m *LogNormalModelParams) XXX_Size() int
- func (m *LogNormalModelParams) XXX_Unmarshal(b []byte) error
- type LogNormalRiskModel
- func (l LogNormalRiskModel) DeepClone() *LogNormalRiskModel
- func (*LogNormalRiskModel) Descriptor() ([]byte, []int)
- func (m *LogNormalRiskModel) GetParams() *LogNormalModelParams
- func (m *LogNormalRiskModel) GetRiskAversionParameter() float64
- func (m *LogNormalRiskModel) GetTau() float64
- func (LogNormalRiskModel) IsRiskModel()
- func (*LogNormalRiskModel) ProtoMessage()
- func (m *LogNormalRiskModel) Reset()
- func (m *LogNormalRiskModel) String() string
- func (this *LogNormalRiskModel) Validate() error
- func (m *LogNormalRiskModel) XXX_DiscardUnknown()
- func (m *LogNormalRiskModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogNormalRiskModel) XXX_Merge(src proto.Message)
- func (m *LogNormalRiskModel) XXX_Size() int
- func (m *LogNormalRiskModel) XXX_Unmarshal(b []byte) error
- type MarginCalculator
- func (m MarginCalculator) DeepClone() *MarginCalculator
- func (*MarginCalculator) Descriptor() ([]byte, []int)
- func (m *MarginCalculator) GetScalingFactors() *ScalingFactors
- func (*MarginCalculator) ProtoMessage()
- func (m *MarginCalculator) Reset()
- func (m *MarginCalculator) String() string
- func (this *MarginCalculator) Validate() error
- func (m *MarginCalculator) XXX_DiscardUnknown()
- func (m *MarginCalculator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarginCalculator) XXX_Merge(src proto.Message)
- func (m *MarginCalculator) XXX_Size() int
- func (m *MarginCalculator) XXX_Unmarshal(b []byte) error
- type MarginLevels
- func (*MarginLevels) Descriptor() ([]byte, []int)
- func (m *MarginLevels) GetAsset() string
- func (m *MarginLevels) GetCollateralReleaseLevel() string
- func (m *MarginLevels) GetInitialMargin() string
- func (m *MarginLevels) GetMaintenanceMargin() string
- func (m *MarginLevels) GetMarketId() string
- func (m *MarginLevels) GetPartyId() string
- func (m *MarginLevels) GetSearchLevel() string
- func (m *MarginLevels) GetTimestamp() int64
- func (MarginLevels) IsEvent()
- func (*MarginLevels) ProtoMessage()
- func (m *MarginLevels) Reset()
- func (m *MarginLevels) String() string
- func (this *MarginLevels) Validate() error
- func (m *MarginLevels) XXX_DiscardUnknown()
- func (m *MarginLevels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarginLevels) XXX_Merge(src proto.Message)
- func (m *MarginLevels) XXX_Size() int
- func (m *MarginLevels) XXX_Unmarshal(b []byte) error
- type Market
- func (m Market) DeepClone() *Market
- func (*Market) Descriptor() ([]byte, []int)
- func (m *Market) GetAsset() (string, error)
- func (m *Market) GetContinuous() *ContinuousTrading
- func (m *Market) GetDecimalPlaces() uint64
- func (m *Market) GetDiscrete() *DiscreteTrading
- func (m *Market) GetFees() *Fees
- func (m *Market) GetId() string
- func (m *Market) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
- func (m *Market) GetMarketTimestamps() *MarketTimestamps
- func (m *Market) GetOpeningAuction() *AuctionDuration
- func (m *Market) GetPriceMonitoringSettings() *PriceMonitoringSettings
- func (m *Market) GetState() Market_State
- func (m *Market) GetTradableInstrument() *TradableInstrument
- func (m *Market) GetTradingMode() Market_TradingMode
- func (m *Market) GetTradingModeConfig() isMarket_TradingModeConfig
- func (Market) IsEvent()
- func (*Market) ProtoMessage()
- func (m *Market) Reset()
- func (m *Market) String() string
- func (this *Market) Validate() error
- func (m *Market) XXX_DiscardUnknown()
- func (m *Market) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Market) XXX_Merge(src proto.Message)
- func (*Market) XXX_OneofWrappers() []interface{}
- func (m *Market) XXX_Size() int
- func (m *Market) XXX_Unmarshal(b []byte) error
- type MarketData
- func (m MarketData) DeepClone() *MarketData
- func (*MarketData) Descriptor() ([]byte, []int)
- func (m *MarketData) GetAuctionEnd() int64
- func (m *MarketData) GetAuctionStart() int64
- func (m *MarketData) GetBestBidPrice() string
- func (m *MarketData) GetBestBidVolume() uint64
- func (m *MarketData) GetBestOfferPrice() string
- func (m *MarketData) GetBestOfferVolume() uint64
- func (m *MarketData) GetBestStaticBidPrice() string
- func (m *MarketData) GetBestStaticBidVolume() uint64
- func (m *MarketData) GetBestStaticOfferPrice() string
- func (m *MarketData) GetBestStaticOfferVolume() uint64
- func (m *MarketData) GetExtensionTrigger() AuctionTrigger
- func (m *MarketData) GetIndicativePrice() string
- func (m *MarketData) GetIndicativeVolume() uint64
- func (m *MarketData) GetLiquidityProviderFeeShare() []*LiquidityProviderFeeShare
- func (m *MarketData) GetMarkPrice() string
- func (m *MarketData) GetMarket() string
- func (m *MarketData) GetMarketTradingMode() Market_TradingMode
- func (m *MarketData) GetMarketValueProxy() string
- func (m *MarketData) GetMidPrice() string
- func (m *MarketData) GetOpenInterest() uint64
- func (m *MarketData) GetPriceMonitoringBounds() []*PriceMonitoringBounds
- func (m *MarketData) GetStaticMidPrice() string
- func (m *MarketData) GetSuppliedStake() string
- func (m *MarketData) GetTargetStake() string
- func (m *MarketData) GetTimestamp() int64
- func (m *MarketData) GetTrigger() AuctionTrigger
- func (MarketData) IsEvent()
- func (*MarketData) ProtoMessage()
- func (m *MarketData) Reset()
- func (m *MarketData) String() string
- func (this *MarketData) Validate() error
- func (m *MarketData) XXX_DiscardUnknown()
- func (m *MarketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketData) XXX_Merge(src proto.Message)
- func (m *MarketData) XXX_Size() int
- func (m *MarketData) XXX_Unmarshal(b []byte) error
- type MarketDepth
- func (*MarketDepth) Descriptor() ([]byte, []int)
- func (m *MarketDepth) GetBuy() []*PriceLevel
- func (m *MarketDepth) GetMarketId() string
- func (m *MarketDepth) GetSell() []*PriceLevel
- func (m *MarketDepth) GetSequenceNumber() uint64
- func (*MarketDepth) ProtoMessage()
- func (m *MarketDepth) Reset()
- func (m *MarketDepth) String() string
- func (this *MarketDepth) Validate() error
- func (m *MarketDepth) XXX_DiscardUnknown()
- func (m *MarketDepth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketDepth) XXX_Merge(src proto.Message)
- func (m *MarketDepth) XXX_Size() int
- func (m *MarketDepth) XXX_Unmarshal(b []byte) error
- type MarketDepthUpdate
- func (*MarketDepthUpdate) Descriptor() ([]byte, []int)
- func (m *MarketDepthUpdate) GetBuy() []*PriceLevel
- func (m *MarketDepthUpdate) GetMarketId() string
- func (m *MarketDepthUpdate) GetSell() []*PriceLevel
- func (m *MarketDepthUpdate) GetSequenceNumber() uint64
- func (*MarketDepthUpdate) ProtoMessage()
- func (m *MarketDepthUpdate) Reset()
- func (m *MarketDepthUpdate) String() string
- func (this *MarketDepthUpdate) Validate() error
- func (m *MarketDepthUpdate) XXX_DiscardUnknown()
- func (m *MarketDepthUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketDepthUpdate) XXX_Merge(src proto.Message)
- func (m *MarketDepthUpdate) XXX_Size() int
- func (m *MarketDepthUpdate) XXX_Unmarshal(b []byte) error
- type MarketTimestamps
- func (m MarketTimestamps) DeepClone() *MarketTimestamps
- func (*MarketTimestamps) Descriptor() ([]byte, []int)
- func (m *MarketTimestamps) GetClose() int64
- func (m *MarketTimestamps) GetOpen() int64
- func (m *MarketTimestamps) GetPending() int64
- func (m *MarketTimestamps) GetProposed() int64
- func (*MarketTimestamps) ProtoMessage()
- func (m *MarketTimestamps) Reset()
- func (m *MarketTimestamps) String() string
- func (this *MarketTimestamps) Validate() error
- func (m *MarketTimestamps) XXX_DiscardUnknown()
- func (m *MarketTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketTimestamps) XXX_Merge(src proto.Message)
- func (m *MarketTimestamps) XXX_Size() int
- func (m *MarketTimestamps) XXX_Unmarshal(b []byte) error
- type Market_Continuous
- type Market_Discrete
- type Market_State
- type Market_TradingMode
- type NetworkParameter
- func (n NetworkParameter) DeepClone() *NetworkParameter
- func (*NetworkParameter) Descriptor() ([]byte, []int)
- func (m *NetworkParameter) GetKey() string
- func (m *NetworkParameter) GetValue() string
- func (*NetworkParameter) ProtoMessage()
- func (m *NetworkParameter) Reset()
- func (m *NetworkParameter) String() string
- func (this *NetworkParameter) Validate() error
- func (m *NetworkParameter) XXX_DiscardUnknown()
- func (m *NetworkParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkParameter) XXX_Merge(src proto.Message)
- func (m *NetworkParameter) XXX_Size() int
- func (m *NetworkParameter) XXX_Unmarshal(b []byte) error
- type NewAsset
- func (n NewAsset) DeepClone() *NewAsset
- func (*NewAsset) Descriptor() ([]byte, []int)
- func (m *NewAsset) GetChanges() *AssetDetails
- func (NewAsset) IsProposalChange()
- func (*NewAsset) ProtoMessage()
- func (m *NewAsset) Reset()
- func (m *NewAsset) String() string
- func (this *NewAsset) Validate() error
- func (m *NewAsset) XXX_DiscardUnknown()
- func (m *NewAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAsset) XXX_Merge(src proto.Message)
- func (m *NewAsset) XXX_Size() int
- func (m *NewAsset) XXX_Unmarshal(b []byte) error
- type NewMarket
- func (n NewMarket) DeepClone() *NewMarket
- func (*NewMarket) Descriptor() ([]byte, []int)
- func (m *NewMarket) GetChanges() *NewMarketConfiguration
- func (m *NewMarket) GetLiquidityCommitment() *NewMarketCommitment
- func (NewMarket) IsProposalChange()
- func (*NewMarket) ProtoMessage()
- func (m *NewMarket) Reset()
- func (m *NewMarket) String() string
- func (this *NewMarket) Validate() error
- func (m *NewMarket) XXX_DiscardUnknown()
- func (m *NewMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewMarket) XXX_Merge(src proto.Message)
- func (m *NewMarket) XXX_Size() int
- func (m *NewMarket) XXX_Unmarshal(b []byte) error
- type NewMarketCommitment
- func (n NewMarketCommitment) DeepClone() *NewMarketCommitment
- func (*NewMarketCommitment) Descriptor() ([]byte, []int)
- func (m *NewMarketCommitment) GetBuys() []*LiquidityOrder
- func (m *NewMarketCommitment) GetCommitmentAmount() string
- func (m *NewMarketCommitment) GetFee() string
- func (m *NewMarketCommitment) GetReference() string
- func (m *NewMarketCommitment) GetSells() []*LiquidityOrder
- func (*NewMarketCommitment) ProtoMessage()
- func (m *NewMarketCommitment) Reset()
- func (m *NewMarketCommitment) String() string
- func (this *NewMarketCommitment) Validate() error
- func (m *NewMarketCommitment) XXX_DiscardUnknown()
- func (m *NewMarketCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewMarketCommitment) XXX_Merge(src proto.Message)
- func (m *NewMarketCommitment) XXX_Size() int
- func (m *NewMarketCommitment) XXX_Unmarshal(b []byte) error
- type NewMarketConfiguration
- func (n NewMarketConfiguration) DeepClone() *NewMarketConfiguration
- func (*NewMarketConfiguration) Descriptor() ([]byte, []int)
- func (m *NewMarketConfiguration) GetContinuous() *ContinuousTrading
- func (m *NewMarketConfiguration) GetDecimalPlaces() uint64
- func (m *NewMarketConfiguration) GetDiscrete() *DiscreteTrading
- func (m *NewMarketConfiguration) GetInstrument() *InstrumentConfiguration
- func (m *NewMarketConfiguration) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
- func (m *NewMarketConfiguration) GetLogNormal() *LogNormalRiskModel
- func (m *NewMarketConfiguration) GetMetadata() []string
- func (m *NewMarketConfiguration) GetPriceMonitoringParameters() *PriceMonitoringParameters
- func (m *NewMarketConfiguration) GetRiskParameters() isNewMarketConfiguration_RiskParameters
- func (m *NewMarketConfiguration) GetSimple() *SimpleModelParams
- func (m *NewMarketConfiguration) GetTradingMode() isNewMarketConfiguration_TradingMode
- func (*NewMarketConfiguration) ProtoMessage()
- func (m *NewMarketConfiguration) Reset()
- func (m *NewMarketConfiguration) String() string
- func (this *NewMarketConfiguration) Validate() error
- func (m *NewMarketConfiguration) XXX_DiscardUnknown()
- func (m *NewMarketConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewMarketConfiguration) XXX_Merge(src proto.Message)
- func (*NewMarketConfiguration) XXX_OneofWrappers() []interface{}
- func (m *NewMarketConfiguration) XXX_Size() int
- func (m *NewMarketConfiguration) XXX_Unmarshal(b []byte) error
- type NewMarketConfiguration_Continuous
- type NewMarketConfiguration_Discrete
- type NewMarketConfiguration_LogNormal
- type NewMarketConfiguration_Simple
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAvatarUrl() string
- func (m *Node) GetDelegations() []*Delegation
- func (m *Node) GetEpochData() *EpochData
- func (m *Node) GetEthereumAdddress() string
- func (m *Node) GetId() string
- func (m *Node) GetInfoUrl() string
- func (m *Node) GetLocation() string
- func (m *Node) GetMaxIntendedStake() string
- func (m *Node) GetName() string
- func (m *Node) GetNormalisedScore() string
- func (m *Node) GetPendingStake() string
- func (m *Node) GetPubKey() string
- func (m *Node) GetScore() string
- func (m *Node) GetStakedByDelegates() string
- func (m *Node) GetStakedByOperator() string
- func (m *Node) GetStakedTotal() string
- func (m *Node) GetStatus() NodeStatus
- func (m *Node) GetTmPubKey() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (this *Node) Validate() error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)
- func (m *NodeData) GetInactiveNodes() uint32
- func (m *NodeData) GetStakedTotal() string
- func (m *NodeData) GetTotalNodes() uint32
- func (m *NodeData) GetUptime() float32
- func (m *NodeData) GetValidatingNodes() uint32
- func (*NodeData) ProtoMessage()
- func (m *NodeData) Reset()
- func (m *NodeData) String() string
- func (this *NodeData) Validate() error
- func (m *NodeData) XXX_DiscardUnknown()
- func (m *NodeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeData) XXX_Merge(src proto.Message)
- func (m *NodeData) XXX_Size() int
- func (m *NodeData) XXX_Unmarshal(b []byte) error
- type NodeStatus
- type OracleSpecToFutureBinding
- func (o OracleSpecToFutureBinding) DeepClone() *OracleSpecToFutureBinding
- func (*OracleSpecToFutureBinding) Descriptor() ([]byte, []int)
- func (m *OracleSpecToFutureBinding) GetSettlementPriceProperty() string
- func (m *OracleSpecToFutureBinding) GetTradingTerminationProperty() string
- func (*OracleSpecToFutureBinding) ProtoMessage()
- func (m *OracleSpecToFutureBinding) Reset()
- func (m *OracleSpecToFutureBinding) String() string
- func (this *OracleSpecToFutureBinding) Validate() error
- func (m *OracleSpecToFutureBinding) XXX_DiscardUnknown()
- func (m *OracleSpecToFutureBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleSpecToFutureBinding) XXX_Merge(src proto.Message)
- func (m *OracleSpecToFutureBinding) XXX_Size() int
- func (m *OracleSpecToFutureBinding) XXX_Unmarshal(b []byte) error
- type Order
- func (o *Order) Create(t time.Time) *Order
- func (o Order) DeepClone() *Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetBatchId() uint64
- func (m *Order) GetCreatedAt() int64
- func (m *Order) GetExpiresAt() int64
- func (m *Order) GetId() string
- func (m *Order) GetLiquidityProvisionId() string
- func (m *Order) GetMarketId() string
- func (m *Order) GetPartyId() string
- func (m *Order) GetPeggedOrder() *PeggedOrder
- func (m *Order) GetPrice() string
- func (m *Order) GetReason() OrderError
- func (m *Order) GetReference() string
- func (m *Order) GetRemaining() uint64
- func (m *Order) GetSide() Side
- func (m *Order) GetSize() uint64
- func (m *Order) GetStatus() Order_Status
- func (m *Order) GetTimeInForce() Order_TimeInForce
- func (m *Order) GetType() Order_Type
- func (m *Order) GetUpdatedAt() int64
- func (m *Order) GetVersion() uint64
- func (o *Order) HasTraded() bool
- func (Order) IsEvent()
- func (o *Order) IsExpireable() bool
- func (o *Order) IsFinished() bool
- func (o *Order) IsLiquidityOrder() bool
- func (o *Order) IsPersistent() bool
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (o *Order) Update(t time.Time) *Order
- func (this *Order) Validate() error
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderCancellationConfirmation
- func (*OrderCancellationConfirmation) Descriptor() ([]byte, []int)
- func (m *OrderCancellationConfirmation) GetOrder() *Order
- func (*OrderCancellationConfirmation) ProtoMessage()
- func (m *OrderCancellationConfirmation) Reset()
- func (m *OrderCancellationConfirmation) String() string
- func (this *OrderCancellationConfirmation) Validate() error
- func (m *OrderCancellationConfirmation) XXX_DiscardUnknown()
- func (m *OrderCancellationConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderCancellationConfirmation) XXX_Merge(src proto.Message)
- func (m *OrderCancellationConfirmation) XXX_Size() int
- func (m *OrderCancellationConfirmation) XXX_Unmarshal(b []byte) error
- type OrderConfirmation
- func (*OrderConfirmation) Descriptor() ([]byte, []int)
- func (m *OrderConfirmation) GetOrder() *Order
- func (m *OrderConfirmation) GetPassiveOrdersAffected() []*Order
- func (m *OrderConfirmation) GetTrades() []*Trade
- func (*OrderConfirmation) ProtoMessage()
- func (m *OrderConfirmation) Reset()
- func (m *OrderConfirmation) String() string
- func (this *OrderConfirmation) Validate() error
- func (m *OrderConfirmation) XXX_DiscardUnknown()
- func (m *OrderConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderConfirmation) XXX_Merge(src proto.Message)
- func (m *OrderConfirmation) XXX_Size() int
- func (m *OrderConfirmation) XXX_Unmarshal(b []byte) error
- type OrderError
- type Order_Status
- type Order_TimeInForce
- type Order_Type
- type Party
- func (p Party) DeepClone() *Party
- func (*Party) Descriptor() ([]byte, []int)
- func (m *Party) GetId() string
- func (Party) IsEvent()
- func (*Party) ProtoMessage()
- func (m *Party) Reset()
- func (m *Party) String() string
- func (this *Party) Validate() error
- func (m *Party) XXX_DiscardUnknown()
- func (m *Party) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Party) XXX_Merge(src proto.Message)
- func (m *Party) XXX_Size() int
- func (m *Party) XXX_Unmarshal(b []byte) error
- type PeggedOrder
- func (p PeggedOrder) DeepClone() *PeggedOrder
- func (*PeggedOrder) Descriptor() ([]byte, []int)
- func (m *PeggedOrder) GetOffset() int64
- func (m *PeggedOrder) GetReference() PeggedReference
- func (*PeggedOrder) ProtoMessage()
- func (m *PeggedOrder) Reset()
- func (m *PeggedOrder) String() string
- func (this *PeggedOrder) Validate() error
- func (m *PeggedOrder) XXX_DiscardUnknown()
- func (m *PeggedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeggedOrder) XXX_Merge(src proto.Message)
- func (m *PeggedOrder) XXX_Size() int
- func (m *PeggedOrder) XXX_Unmarshal(b []byte) error
- type PeggedReference
- type Position
- func (*Position) Descriptor() ([]byte, []int)
- func (m *Position) GetAverageEntryPrice() string
- func (m *Position) GetMarketId() string
- func (m *Position) GetOpenVolume() int64
- func (m *Position) GetPartyId() string
- func (m *Position) GetRealisedPnl() string
- func (m *Position) GetUnrealisedPnl() string
- func (m *Position) GetUpdatedAt() int64
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) String() string
- func (this *Position) Validate() error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type PositionTrade
- func (*PositionTrade) Descriptor() ([]byte, []int)
- func (m *PositionTrade) GetPrice() string
- func (m *PositionTrade) GetVolume() int64
- func (*PositionTrade) ProtoMessage()
- func (m *PositionTrade) Reset()
- func (m *PositionTrade) String() string
- func (this *PositionTrade) Validate() error
- func (m *PositionTrade) XXX_DiscardUnknown()
- func (m *PositionTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionTrade) XXX_Merge(src proto.Message)
- func (m *PositionTrade) XXX_Size() int
- func (m *PositionTrade) XXX_Unmarshal(b []byte) error
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (m *Price) GetValue() string
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) String() string
- func (this *Price) Validate() error
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type PriceLevel
- func (*PriceLevel) Descriptor() ([]byte, []int)
- func (m *PriceLevel) GetNumberOfOrders() uint64
- func (m *PriceLevel) GetPrice() string
- func (m *PriceLevel) GetVolume() uint64
- func (*PriceLevel) ProtoMessage()
- func (m *PriceLevel) Reset()
- func (m *PriceLevel) String() string
- func (this *PriceLevel) Validate() error
- func (m *PriceLevel) XXX_DiscardUnknown()
- func (m *PriceLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceLevel) XXX_Merge(src proto.Message)
- func (m *PriceLevel) XXX_Size() int
- func (m *PriceLevel) XXX_Unmarshal(b []byte) error
- type PriceMonitoringBounds
- func (p PriceMonitoringBounds) DeepClone() *PriceMonitoringBounds
- func (*PriceMonitoringBounds) Descriptor() ([]byte, []int)
- func (m *PriceMonitoringBounds) GetMaxValidPrice() string
- func (m *PriceMonitoringBounds) GetMinValidPrice() string
- func (m *PriceMonitoringBounds) GetReferencePrice() float64
- func (m *PriceMonitoringBounds) GetTrigger() *PriceMonitoringTrigger
- func (*PriceMonitoringBounds) ProtoMessage()
- func (m *PriceMonitoringBounds) Reset()
- func (m *PriceMonitoringBounds) String() string
- func (this *PriceMonitoringBounds) Validate() error
- func (m *PriceMonitoringBounds) XXX_DiscardUnknown()
- func (m *PriceMonitoringBounds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceMonitoringBounds) XXX_Merge(src proto.Message)
- func (m *PriceMonitoringBounds) XXX_Size() int
- func (m *PriceMonitoringBounds) XXX_Unmarshal(b []byte) error
- type PriceMonitoringParameters
- func (p PriceMonitoringParameters) DeepClone() *PriceMonitoringParameters
- func (*PriceMonitoringParameters) Descriptor() ([]byte, []int)
- func (m *PriceMonitoringParameters) GetTriggers() []*PriceMonitoringTrigger
- func (*PriceMonitoringParameters) ProtoMessage()
- func (m *PriceMonitoringParameters) Reset()
- func (m *PriceMonitoringParameters) String() string
- func (this *PriceMonitoringParameters) Validate() error
- func (m *PriceMonitoringParameters) XXX_DiscardUnknown()
- func (m *PriceMonitoringParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceMonitoringParameters) XXX_Merge(src proto.Message)
- func (m *PriceMonitoringParameters) XXX_Size() int
- func (m *PriceMonitoringParameters) XXX_Unmarshal(b []byte) error
- type PriceMonitoringSettings
- func (p PriceMonitoringSettings) DeepClone() *PriceMonitoringSettings
- func (*PriceMonitoringSettings) Descriptor() ([]byte, []int)
- func (m *PriceMonitoringSettings) GetParameters() *PriceMonitoringParameters
- func (m *PriceMonitoringSettings) GetUpdateFrequency() int64
- func (*PriceMonitoringSettings) ProtoMessage()
- func (m *PriceMonitoringSettings) Reset()
- func (m *PriceMonitoringSettings) String() string
- func (this *PriceMonitoringSettings) Validate() error
- func (m *PriceMonitoringSettings) XXX_DiscardUnknown()
- func (m *PriceMonitoringSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceMonitoringSettings) XXX_Merge(src proto.Message)
- func (m *PriceMonitoringSettings) XXX_Size() int
- func (m *PriceMonitoringSettings) XXX_Unmarshal(b []byte) error
- type PriceMonitoringTrigger
- func (p PriceMonitoringTrigger) DeepClone() *PriceMonitoringTrigger
- func (*PriceMonitoringTrigger) Descriptor() ([]byte, []int)
- func (m *PriceMonitoringTrigger) GetAuctionExtension() int64
- func (m *PriceMonitoringTrigger) GetHorizon() int64
- func (m *PriceMonitoringTrigger) GetProbability() float64
- func (*PriceMonitoringTrigger) ProtoMessage()
- func (m *PriceMonitoringTrigger) Reset()
- func (m *PriceMonitoringTrigger) String() string
- func (this *PriceMonitoringTrigger) Validate() error
- func (m *PriceMonitoringTrigger) XXX_DiscardUnknown()
- func (m *PriceMonitoringTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceMonitoringTrigger) XXX_Merge(src proto.Message)
- func (m *PriceMonitoringTrigger) XXX_Size() int
- func (m *PriceMonitoringTrigger) XXX_Unmarshal(b []byte) error
- type Proposal
- func (p Proposal) DeepClone() *Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) GetErrorDetails() string
- func (m *Proposal) GetId() string
- func (m *Proposal) GetPartyId() string
- func (m *Proposal) GetReason() ProposalError
- func (m *Proposal) GetReference() string
- func (m *Proposal) GetState() Proposal_State
- func (m *Proposal) GetTerms() *ProposalTerms
- func (m *Proposal) GetTimestamp() int64
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) String() string
- func (this *Proposal) Validate() error
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalError
- type ProposalTerms
- func (p ProposalTerms) DeepClone() *ProposalTerms
- func (*ProposalTerms) Descriptor() ([]byte, []int)
- func (m *ProposalTerms) GetChange() isProposalTerms_Change
- func (m *ProposalTerms) GetClosingTimestamp() int64
- func (m *ProposalTerms) GetEnactmentTimestamp() int64
- func (m *ProposalTerms) GetNewAsset() *NewAsset
- func (m *ProposalTerms) GetNewMarket() *NewMarket
- func (m *ProposalTerms) GetUpdateMarket() *UpdateMarket
- func (m *ProposalTerms) GetUpdateNetworkParameter() *UpdateNetworkParameter
- func (m *ProposalTerms) GetValidationTimestamp() int64
- func (*ProposalTerms) ProtoMessage()
- func (m *ProposalTerms) Reset()
- func (m *ProposalTerms) String() string
- func (this *ProposalTerms) Validate() error
- func (m *ProposalTerms) XXX_DiscardUnknown()
- func (m *ProposalTerms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalTerms) XXX_Merge(src proto.Message)
- func (*ProposalTerms) XXX_OneofWrappers() []interface{}
- func (m *ProposalTerms) XXX_Size() int
- func (m *ProposalTerms) XXX_Unmarshal(b []byte) error
- type ProposalTerms_NewAsset
- type ProposalTerms_NewMarket
- type ProposalTerms_UpdateMarket
- type ProposalTerms_UpdateNetworkParameter
- type Proposal_State
- type RemoveValidator
- func (*RemoveValidator) Descriptor() ([]byte, []int)
- func (m *RemoveValidator) GetId() *Identifier
- func (*RemoveValidator) ProtoMessage()
- func (m *RemoveValidator) Reset()
- func (m *RemoveValidator) String() string
- func (this *RemoveValidator) Validate() error
- func (m *RemoveValidator) XXX_DiscardUnknown()
- func (m *RemoveValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveValidator) XXX_Merge(src proto.Message)
- func (m *RemoveValidator) XXX_Size() int
- func (m *RemoveValidator) XXX_Unmarshal(b []byte) error
- type RewardDetails
- func (*RewardDetails) Descriptor() ([]byte, []int)
- func (m *RewardDetails) GetAmount() string
- func (m *RewardDetails) GetAssetId() string
- func (m *RewardDetails) GetEpoch() uint64
- func (m *RewardDetails) GetPartyId() string
- func (m *RewardDetails) GetPercentageOfTotal() string
- func (m *RewardDetails) GetReceivedAt() int64
- func (*RewardDetails) ProtoMessage()
- func (m *RewardDetails) Reset()
- func (m *RewardDetails) String() string
- func (this *RewardDetails) Validate() error
- func (m *RewardDetails) XXX_DiscardUnknown()
- func (m *RewardDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardDetails) XXX_Merge(src proto.Message)
- func (m *RewardDetails) XXX_Size() int
- func (m *RewardDetails) XXX_Unmarshal(b []byte) error
- type RewardPerAssetDetail
- func (*RewardPerAssetDetail) Descriptor() ([]byte, []int)
- func (m *RewardPerAssetDetail) GetAsset() string
- func (m *RewardPerAssetDetail) GetDetails() []*RewardDetails
- func (m *RewardPerAssetDetail) GetTotalForAsset() string
- func (*RewardPerAssetDetail) ProtoMessage()
- func (m *RewardPerAssetDetail) Reset()
- func (m *RewardPerAssetDetail) String() string
- func (this *RewardPerAssetDetail) Validate() error
- func (m *RewardPerAssetDetail) XXX_DiscardUnknown()
- func (m *RewardPerAssetDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardPerAssetDetail) XXX_Merge(src proto.Message)
- func (m *RewardPerAssetDetail) XXX_Size() int
- func (m *RewardPerAssetDetail) XXX_Unmarshal(b []byte) error
- type RiskFactor
- func (r RiskFactor) DeepClone() *RiskFactor
- func (*RiskFactor) Descriptor() ([]byte, []int)
- func (m *RiskFactor) GetLong() float64
- func (m *RiskFactor) GetMarket() string
- func (m *RiskFactor) GetShort() float64
- func (RiskFactor) IsEvent()
- func (*RiskFactor) ProtoMessage()
- func (m *RiskFactor) Reset()
- func (m *RiskFactor) String() string
- func (this *RiskFactor) Validate() error
- func (m *RiskFactor) XXX_DiscardUnknown()
- func (m *RiskFactor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RiskFactor) XXX_Merge(src proto.Message)
- func (m *RiskFactor) XXX_Size() int
- func (m *RiskFactor) XXX_Unmarshal(b []byte) error
- type RiskResult
- func (*RiskResult) Descriptor() ([]byte, []int)
- func (m *RiskResult) GetNextUpdateTimestamp() int64
- func (m *RiskResult) GetPredictedNextRiskFactors() map[string]*RiskFactor
- func (m *RiskResult) GetRiskFactors() map[string]*RiskFactor
- func (m *RiskResult) GetUpdatedTimestamp() int64
- func (*RiskResult) ProtoMessage()
- func (m *RiskResult) Reset()
- func (m *RiskResult) String() string
- func (this *RiskResult) Validate() error
- func (m *RiskResult) XXX_DiscardUnknown()
- func (m *RiskResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RiskResult) XXX_Merge(src proto.Message)
- func (m *RiskResult) XXX_Size() int
- func (m *RiskResult) XXX_Unmarshal(b []byte) error
- type ScalingFactors
- func (s ScalingFactors) DeepClone() *ScalingFactors
- func (*ScalingFactors) Descriptor() ([]byte, []int)
- func (m *ScalingFactors) GetCollateralRelease() float64
- func (m *ScalingFactors) GetInitialMargin() float64
- func (m *ScalingFactors) GetSearchLevel() float64
- func (*ScalingFactors) ProtoMessage()
- func (m *ScalingFactors) Reset()
- func (m *ScalingFactors) String() string
- func (this *ScalingFactors) Validate() error
- func (m *ScalingFactors) XXX_DiscardUnknown()
- func (m *ScalingFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScalingFactors) XXX_Merge(src proto.Message)
- func (m *ScalingFactors) XXX_Size() int
- func (m *ScalingFactors) XXX_Unmarshal(b []byte) error
- type Side
- type SimpleModelParams
- func (s SimpleModelParams) DeepClone() *SimpleModelParams
- func (*SimpleModelParams) Descriptor() ([]byte, []int)
- func (m *SimpleModelParams) GetFactorLong() float64
- func (m *SimpleModelParams) GetFactorShort() float64
- func (m *SimpleModelParams) GetMaxMoveUp() float64
- func (m *SimpleModelParams) GetMinMoveDown() float64
- func (m *SimpleModelParams) GetProbabilityOfTrading() float64
- func (SimpleModelParams) IsRiskModel()
- func (*SimpleModelParams) ProtoMessage()
- func (m *SimpleModelParams) Reset()
- func (m *SimpleModelParams) String() string
- func (this *SimpleModelParams) Validate() error
- func (m *SimpleModelParams) XXX_DiscardUnknown()
- func (m *SimpleModelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleModelParams) XXX_Merge(src proto.Message)
- func (m *SimpleModelParams) XXX_Size() int
- func (m *SimpleModelParams) XXX_Unmarshal(b []byte) error
- type SimpleRiskModel
- func (s SimpleRiskModel) DeepClone() *SimpleRiskModel
- func (*SimpleRiskModel) Descriptor() ([]byte, []int)
- func (m *SimpleRiskModel) GetParams() *SimpleModelParams
- func (SimpleRiskModel) IsRiskModel()
- func (*SimpleRiskModel) ProtoMessage()
- func (m *SimpleRiskModel) Reset()
- func (m *SimpleRiskModel) String() string
- func (this *SimpleRiskModel) Validate() error
- func (m *SimpleRiskModel) XXX_DiscardUnknown()
- func (m *SimpleRiskModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleRiskModel) XXX_Merge(src proto.Message)
- func (m *SimpleRiskModel) XXX_Size() int
- func (m *SimpleRiskModel) XXX_Unmarshal(b []byte) error
- type StakeDeposited
- func (*StakeDeposited) Descriptor() ([]byte, []int)
- func (m *StakeDeposited) GetAmount() string
- func (m *StakeDeposited) GetBlockTime() int64
- func (m *StakeDeposited) GetEthereumAddress() string
- func (m *StakeDeposited) GetVegaPublicKey() string
- func (*StakeDeposited) ProtoMessage()
- func (m *StakeDeposited) Reset()
- func (m *StakeDeposited) String() string
- func (this *StakeDeposited) Validate() error
- func (m *StakeDeposited) XXX_DiscardUnknown()
- func (m *StakeDeposited) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeDeposited) XXX_Merge(src proto.Message)
- func (m *StakeDeposited) XXX_Size() int
- func (m *StakeDeposited) XXX_Unmarshal(b []byte) error
- type StakeRemoved
- func (*StakeRemoved) Descriptor() ([]byte, []int)
- func (m *StakeRemoved) GetAmount() string
- func (m *StakeRemoved) GetBlockTime() int64
- func (m *StakeRemoved) GetEthereumAddress() string
- func (m *StakeRemoved) GetVegaPublicKey() string
- func (*StakeRemoved) ProtoMessage()
- func (m *StakeRemoved) Reset()
- func (m *StakeRemoved) String() string
- func (this *StakeRemoved) Validate() error
- func (m *StakeRemoved) XXX_DiscardUnknown()
- func (m *StakeRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeRemoved) XXX_Merge(src proto.Message)
- func (m *StakeRemoved) XXX_Size() int
- func (m *StakeRemoved) XXX_Unmarshal(b []byte) error
- type StakingEvent
- func (*StakingEvent) Descriptor() ([]byte, []int)
- func (m *StakingEvent) GetAction() isStakingEvent_Action
- func (m *StakingEvent) GetBlock() uint64
- func (m *StakingEvent) GetIndex() uint64
- func (m *StakingEvent) GetStakeDeposited() *StakeDeposited
- func (m *StakingEvent) GetStakeRemoved() *StakeRemoved
- func (*StakingEvent) ProtoMessage()
- func (m *StakingEvent) Reset()
- func (m *StakingEvent) String() string
- func (this *StakingEvent) Validate() error
- func (m *StakingEvent) XXX_DiscardUnknown()
- func (m *StakingEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakingEvent) XXX_Merge(src proto.Message)
- func (*StakingEvent) XXX_OneofWrappers() []interface{}
- func (m *StakingEvent) XXX_Size() int
- func (m *StakingEvent) XXX_Unmarshal(b []byte) error
- type StakingEvent_StakeDeposited
- type StakingEvent_StakeRemoved
- type TargetStakeParameters
- func (t TargetStakeParameters) DeepClone() *TargetStakeParameters
- func (*TargetStakeParameters) Descriptor() ([]byte, []int)
- func (m *TargetStakeParameters) GetScalingFactor() float64
- func (m *TargetStakeParameters) GetTimeWindow() int64
- func (*TargetStakeParameters) ProtoMessage()
- func (m *TargetStakeParameters) Reset()
- func (m *TargetStakeParameters) String() string
- func (this *TargetStakeParameters) Validate() error
- func (m *TargetStakeParameters) XXX_DiscardUnknown()
- func (m *TargetStakeParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetStakeParameters) XXX_Merge(src proto.Message)
- func (m *TargetStakeParameters) XXX_Size() int
- func (m *TargetStakeParameters) XXX_Unmarshal(b []byte) error
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)
- func (m *Timestamp) GetValue() int64
- func (*Timestamp) ProtoMessage()
- func (m *Timestamp) Reset()
- func (m *Timestamp) String() string
- func (this *Timestamp) Validate() error
- func (m *Timestamp) XXX_DiscardUnknown()
- func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timestamp) XXX_Merge(src proto.Message)
- func (m *Timestamp) XXX_Size() int
- func (m *Timestamp) XXX_Unmarshal(b []byte) error
- type TradableInstrument
- func (t TradableInstrument) DeepClone() *TradableInstrument
- func (*TradableInstrument) Descriptor() ([]byte, []int)
- func (m *TradableInstrument) GetInstrument() *Instrument
- func (m *TradableInstrument) GetLogNormalRiskModel() *LogNormalRiskModel
- func (m *TradableInstrument) GetMarginCalculator() *MarginCalculator
- func (m *TradableInstrument) GetRiskModel() isTradableInstrument_RiskModel
- func (m *TradableInstrument) GetSimpleRiskModel() *SimpleRiskModel
- func (*TradableInstrument) ProtoMessage()
- func (m *TradableInstrument) Reset()
- func (m *TradableInstrument) String() string
- func (this *TradableInstrument) Validate() error
- func (m *TradableInstrument) XXX_DiscardUnknown()
- func (m *TradableInstrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradableInstrument) XXX_Merge(src proto.Message)
- func (*TradableInstrument) XXX_OneofWrappers() []interface{}
- func (m *TradableInstrument) XXX_Size() int
- func (m *TradableInstrument) XXX_Unmarshal(b []byte) error
- type TradableInstrument_LogNormalRiskModel
- type TradableInstrument_SimpleRiskModel
- type Trade
- func (t Trade) DeepClone() *Trade
- func (*Trade) Descriptor() ([]byte, []int)
- func (m *Trade) GetAggressor() Side
- func (m *Trade) GetBuyOrder() string
- func (m *Trade) GetBuyer() string
- func (m *Trade) GetBuyerAuctionBatch() uint64
- func (m *Trade) GetBuyerFee() *Fee
- func (m *Trade) GetId() string
- func (m *Trade) GetMarketId() string
- func (m *Trade) GetPrice() string
- func (m *Trade) GetSellOrder() string
- func (m *Trade) GetSeller() string
- func (m *Trade) GetSellerAuctionBatch() uint64
- func (m *Trade) GetSellerFee() *Fee
- func (m *Trade) GetSize() uint64
- func (m *Trade) GetTimestamp() int64
- func (m *Trade) GetType() Trade_Type
- func (Trade) IsEvent()
- func (*Trade) ProtoMessage()
- func (m *Trade) Reset()
- func (t *Trade) SetIDs(aggressive, passive *Order, idx int)
- func (m *Trade) String() string
- func (this *Trade) Validate() error
- func (m *Trade) XXX_DiscardUnknown()
- func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trade) XXX_Merge(src proto.Message)
- func (m *Trade) XXX_Size() int
- func (m *Trade) XXX_Unmarshal(b []byte) error
- type TradeSet
- func (*TradeSet) Descriptor() ([]byte, []int)
- func (m *TradeSet) GetTrades() []*Trade
- func (*TradeSet) ProtoMessage()
- func (m *TradeSet) Reset()
- func (m *TradeSet) String() string
- func (this *TradeSet) Validate() error
- func (m *TradeSet) XXX_DiscardUnknown()
- func (m *TradeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeSet) XXX_Merge(src proto.Message)
- func (m *TradeSet) XXX_Size() int
- func (m *TradeSet) XXX_Unmarshal(b []byte) error
- type Trade_Type
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetAmount() *FinancialAmount
- func (m *Transfer) GetMinAmount() string
- func (m *Transfer) GetOwner() string
- func (m *Transfer) GetType() TransferType
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) String() string
- func (this *Transfer) Validate() error
- 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 (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type TransferBalance
- func (t TransferBalance) DeepClone() *TransferBalance
- func (*TransferBalance) Descriptor() ([]byte, []int)
- func (m *TransferBalance) GetAccount() *Account
- func (m *TransferBalance) GetBalance() string
- func (*TransferBalance) ProtoMessage()
- func (m *TransferBalance) Reset()
- func (m *TransferBalance) String() string
- func (this *TransferBalance) Validate() error
- func (m *TransferBalance) XXX_DiscardUnknown()
- func (m *TransferBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferBalance) XXX_Merge(src proto.Message)
- func (m *TransferBalance) XXX_Size() int
- func (m *TransferBalance) XXX_Unmarshal(b []byte) error
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)
- func (m *TransferRequest) GetAmount() string
- func (m *TransferRequest) GetAsset() string
- func (m *TransferRequest) GetFromAccount() []*Account
- func (m *TransferRequest) GetMinAmount() string
- func (m *TransferRequest) GetReference() string
- func (m *TransferRequest) GetToAccount() []*Account
- func (*TransferRequest) ProtoMessage()
- func (m *TransferRequest) Reset()
- func (m *TransferRequest) String() string
- func (this *TransferRequest) Validate() error
- func (m *TransferRequest) XXX_DiscardUnknown()
- func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferRequest) XXX_Merge(src proto.Message)
- func (m *TransferRequest) XXX_Size() int
- func (m *TransferRequest) XXX_Unmarshal(b []byte) error
- type TransferResponse
- func (t TransferResponse) DeepClone() *TransferResponse
- func (*TransferResponse) Descriptor() ([]byte, []int)
- func (m *TransferResponse) GetBalances() []*TransferBalance
- func (m *TransferResponse) GetTransfers() []*LedgerEntry
- func (*TransferResponse) ProtoMessage()
- func (m *TransferResponse) Reset()
- func (m *TransferResponse) String() string
- func (this *TransferResponse) Validate() error
- func (m *TransferResponse) XXX_DiscardUnknown()
- func (m *TransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferResponse) XXX_Merge(src proto.Message)
- func (m *TransferResponse) XXX_Size() int
- func (m *TransferResponse) XXX_Unmarshal(b []byte) error
- type TransferType
- type UpdateMarket
- func (u UpdateMarket) DeepClone() *UpdateMarket
- func (*UpdateMarket) Descriptor() ([]byte, []int)
- func (UpdateMarket) IsProposalChange()
- func (*UpdateMarket) ProtoMessage()
- func (m *UpdateMarket) Reset()
- func (m *UpdateMarket) String() string
- func (this *UpdateMarket) Validate() error
- func (m *UpdateMarket) XXX_DiscardUnknown()
- func (m *UpdateMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateMarket) XXX_Merge(src proto.Message)
- func (m *UpdateMarket) XXX_Size() int
- func (m *UpdateMarket) XXX_Unmarshal(b []byte) error
- type UpdateNetworkParameter
- func (u UpdateNetworkParameter) DeepClone() *UpdateNetworkParameter
- func (*UpdateNetworkParameter) Descriptor() ([]byte, []int)
- func (m *UpdateNetworkParameter) GetChanges() *NetworkParameter
- func (UpdateNetworkParameter) IsProposalChange()
- func (*UpdateNetworkParameter) ProtoMessage()
- func (m *UpdateNetworkParameter) Reset()
- func (m *UpdateNetworkParameter) String() string
- func (this *UpdateNetworkParameter) Validate() error
- func (m *UpdateNetworkParameter) XXX_DiscardUnknown()
- func (m *UpdateNetworkParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateNetworkParameter) XXX_Merge(src proto.Message)
- func (m *UpdateNetworkParameter) XXX_Size() int
- func (m *UpdateNetworkParameter) XXX_Unmarshal(b []byte) error
- type ValidatorEvent
- func (*ValidatorEvent) Descriptor() ([]byte, []int)
- func (m *ValidatorEvent) GetAction() isValidatorEvent_Action
- func (m *ValidatorEvent) GetAdd() *AddValidator
- func (m *ValidatorEvent) GetRm() *RemoveValidator
- func (m *ValidatorEvent) GetSourceId() string
- func (*ValidatorEvent) ProtoMessage()
- func (m *ValidatorEvent) Reset()
- func (m *ValidatorEvent) String() string
- func (this *ValidatorEvent) Validate() error
- func (m *ValidatorEvent) XXX_DiscardUnknown()
- func (m *ValidatorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorEvent) XXX_Merge(src proto.Message)
- func (*ValidatorEvent) XXX_OneofWrappers() []interface{}
- func (m *ValidatorEvent) XXX_Size() int
- func (m *ValidatorEvent) XXX_Unmarshal(b []byte) error
- type ValidatorEvent_Add
- type ValidatorEvent_Rm
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetPartyId() string
- func (m *Vote) GetProposalId() string
- func (m *Vote) GetTimestamp() int64
- func (m *Vote) GetTotalGovernanceTokenBalance() string
- func (m *Vote) GetTotalGovernanceTokenWeight() string
- func (m *Vote) GetValue() Vote_Value
- func (Vote) IsEvent()
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) String() string
- func (this *Vote) Validate() error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type Vote_Value
- type WithdrawExt
- func (*WithdrawExt) Descriptor() ([]byte, []int)
- func (m *WithdrawExt) GetErc20() *Erc20WithdrawExt
- func (m *WithdrawExt) GetExt() isWithdrawExt_Ext
- func (*WithdrawExt) ProtoMessage()
- func (m *WithdrawExt) Reset()
- func (m *WithdrawExt) String() string
- func (this *WithdrawExt) Validate() error
- func (m *WithdrawExt) XXX_DiscardUnknown()
- func (m *WithdrawExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawExt) XXX_Merge(src proto.Message)
- func (*WithdrawExt) XXX_OneofWrappers() []interface{}
- func (m *WithdrawExt) XXX_Size() int
- func (m *WithdrawExt) XXX_Unmarshal(b []byte) error
- type WithdrawExt_Erc20
- type Withdrawal
- func (*Withdrawal) Descriptor() ([]byte, []int)
- func (m *Withdrawal) GetAmount() string
- func (m *Withdrawal) GetAsset() string
- func (m *Withdrawal) GetCreatedTimestamp() int64
- func (m *Withdrawal) GetExpiry() int64
- func (m *Withdrawal) GetExt() *WithdrawExt
- func (m *Withdrawal) GetId() string
- func (m *Withdrawal) GetPartyId() string
- func (m *Withdrawal) GetRef() string
- func (m *Withdrawal) GetStatus() Withdrawal_Status
- func (m *Withdrawal) GetTxHash() string
- func (m *Withdrawal) GetWithdrawnTimestamp() int64
- func (Withdrawal) IsEvent()
- func (*Withdrawal) ProtoMessage()
- func (m *Withdrawal) Reset()
- func (m *Withdrawal) String() string
- func (this *Withdrawal) Validate() error
- func (m *Withdrawal) XXX_DiscardUnknown()
- func (m *Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Withdrawal) XXX_Merge(src proto.Message)
- func (m *Withdrawal) XXX_Size() int
- func (m *Withdrawal) XXX_Unmarshal(b []byte) error
- type Withdrawal_Status
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidMarketID = OrderError_ORDER_ERROR_INVALID_MARKET_ID ErrInvalidOrderID = OrderError_ORDER_ERROR_INVALID_ORDER_ID ErrOrderOutOfSequence = OrderError_ORDER_ERROR_OUT_OF_SEQUENCE ErrInvalidRemainingSize = OrderError_ORDER_ERROR_INVALID_REMAINING_SIZE ErrOrderRemovalFailure = OrderError_ORDER_ERROR_REMOVAL_FAILURE ErrInvalidExpirationDatetime = OrderError_ORDER_ERROR_INVALID_EXPIRATION_DATETIME ErrEditNotAllowed = OrderError_ORDER_ERROR_EDIT_NOT_ALLOWED ErrOrderAmendFailure = OrderError_ORDER_ERROR_AMEND_FAILURE ErrOrderNotFound = OrderError_ORDER_ERROR_NOT_FOUND ErrInvalidPartyID = OrderError_ORDER_ERROR_INVALID_PARTY_ID ErrInvalidSize = OrderError_ORDER_ERROR_INVALID_SIZE ErrInvalidPersistence = OrderError_ORDER_ERROR_INVALID_PERSISTENCE ErrInvalidType = OrderError_ORDER_ERROR_INVALID_TYPE ErrInvalidTimeInForce = OrderError_ORDER_ERROR_INVALID_TIME_IN_FORCE ErrPeggedOrderMustBeLimitOrder = OrderError_ORDER_ERROR_MUST_BE_LIMIT_ORDER ErrPeggedOrderMustBeGTTOrGTC = OrderError_ORDER_ERROR_MUST_BE_GTT_OR_GTC ErrPeggedOrderWithoutReferencePrice = OrderError_ORDER_ERROR_WITHOUT_REFERENCE_PRICE ErrPeggedOrderBuyCannotReferenceBestAskPrice = OrderError_ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE ErrPeggedOrderOffsetMustBeLessOrEqualToZero = OrderError_ORDER_ERROR_OFFSET_MUST_BE_LESS_OR_EQUAL_TO_ZERO ErrPeggedOrderOffsetMustBeLessThanZero = OrderError_ORDER_ERROR_OFFSET_MUST_BE_LESS_THAN_ZERO ErrPeggedOrderOffsetMustBeGreaterOrEqualToZero = OrderError_ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO ErrPeggedOrderSellCannotReferenceBestBidPrice = OrderError_ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE ErrPeggedOrderOffsetMustBeGreaterThanZero = OrderError_ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO ErrNonPersistentOrderOutOfBounds = OrderError_ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS )
var ( ErrNilTradableInstrument = errors.New("nil tradable instrument") ErrNilInstrument = errors.New("nil instrument") ErrNilProduct = errors.New("nil product") ErrUnknownAsset = errors.New("unknown asset") )
var AccountType_name = map[int32]string{
0: "ACCOUNT_TYPE_UNSPECIFIED",
1: "ACCOUNT_TYPE_INSURANCE",
2: "ACCOUNT_TYPE_SETTLEMENT",
3: "ACCOUNT_TYPE_MARGIN",
4: "ACCOUNT_TYPE_GENERAL",
5: "ACCOUNT_TYPE_FEES_INFRASTRUCTURE",
6: "ACCOUNT_TYPE_FEES_LIQUIDITY",
7: "ACCOUNT_TYPE_FEES_MAKER",
8: "ACCOUNT_TYPE_LOCK_WITHDRAW",
9: "ACCOUNT_TYPE_BOND",
10: "ACCOUNT_TYPE_EXTERNAL",
11: "ACCOUNT_TYPE_GLOBAL_INSURANCE",
12: "ACCOUNT_TYPE_GLOBAL_REWARD",
}
var AccountType_value = map[string]int32{
"ACCOUNT_TYPE_UNSPECIFIED": 0,
"ACCOUNT_TYPE_INSURANCE": 1,
"ACCOUNT_TYPE_SETTLEMENT": 2,
"ACCOUNT_TYPE_MARGIN": 3,
"ACCOUNT_TYPE_GENERAL": 4,
"ACCOUNT_TYPE_FEES_INFRASTRUCTURE": 5,
"ACCOUNT_TYPE_FEES_LIQUIDITY": 6,
"ACCOUNT_TYPE_FEES_MAKER": 7,
"ACCOUNT_TYPE_LOCK_WITHDRAW": 8,
"ACCOUNT_TYPE_BOND": 9,
"ACCOUNT_TYPE_EXTERNAL": 10,
"ACCOUNT_TYPE_GLOBAL_INSURANCE": 11,
"ACCOUNT_TYPE_GLOBAL_REWARD": 12,
}
var AuctionTrigger_name = map[int32]string{
0: "AUCTION_TRIGGER_UNSPECIFIED",
1: "AUCTION_TRIGGER_BATCH",
2: "AUCTION_TRIGGER_OPENING",
3: "AUCTION_TRIGGER_PRICE",
4: "AUCTION_TRIGGER_LIQUIDITY",
}
var AuctionTrigger_value = map[string]int32{
"AUCTION_TRIGGER_UNSPECIFIED": 0,
"AUCTION_TRIGGER_BATCH": 1,
"AUCTION_TRIGGER_OPENING": 2,
"AUCTION_TRIGGER_PRICE": 3,
"AUCTION_TRIGGER_LIQUIDITY": 4,
}
var ChainStatus_name = map[int32]string{
0: "CHAIN_STATUS_UNSPECIFIED",
1: "CHAIN_STATUS_DISCONNECTED",
2: "CHAIN_STATUS_REPLAYING",
3: "CHAIN_STATUS_CONNECTED",
}
var ChainStatus_value = map[string]int32{
"CHAIN_STATUS_UNSPECIFIED": 0,
"CHAIN_STATUS_DISCONNECTED": 1,
"CHAIN_STATUS_REPLAYING": 2,
"CHAIN_STATUS_CONNECTED": 3,
}
var Deposit_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_OPEN",
2: "STATUS_CANCELLED",
3: "STATUS_FINALIZED",
}
var Deposit_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_OPEN": 1,
"STATUS_CANCELLED": 2,
"STATUS_FINALIZED": 3,
}
var EpochAction_name = map[int32]string{
0: "EPOCH_ACTION_UNSPECIFIED",
1: "EPOCH_ACTION_START",
2: "EPOCH_ACTION_END",
}
var EpochAction_value = map[string]int32{
"EPOCH_ACTION_UNSPECIFIED": 0,
"EPOCH_ACTION_START": 1,
"EPOCH_ACTION_END": 2,
}
var (
ErrUnsupportedChainEvent = errors.New("unsupported chain event")
)
var Interval_name = map[int32]string{
0: "INTERVAL_UNSPECIFIED",
60: "INTERVAL_I1M",
300: "INTERVAL_I5M",
900: "INTERVAL_I15M",
3600: "INTERVAL_I1H",
21600: "INTERVAL_I6H",
86400: "INTERVAL_I1D",
}
var Interval_value = map[string]int32{
"INTERVAL_UNSPECIFIED": 0,
"INTERVAL_I1M": 60,
"INTERVAL_I5M": 300,
"INTERVAL_I15M": 900,
"INTERVAL_I1H": 3600,
"INTERVAL_I6H": 21600,
"INTERVAL_I1D": 86400,
}
var LiquidityProvision_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_ACTIVE",
2: "STATUS_STOPPED",
3: "STATUS_CANCELLED",
4: "STATUS_REJECTED",
5: "STATUS_UNDEPLOYED",
6: "STATUS_PENDING",
}
var LiquidityProvision_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_ACTIVE": 1,
"STATUS_STOPPED": 2,
"STATUS_CANCELLED": 3,
"STATUS_REJECTED": 4,
"STATUS_UNDEPLOYED": 5,
"STATUS_PENDING": 6,
}
var Market_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_PROPOSED",
2: "STATE_REJECTED",
3: "STATE_PENDING",
4: "STATE_CANCELLED",
5: "STATE_ACTIVE",
6: "STATE_SUSPENDED",
7: "STATE_CLOSED",
8: "STATE_TRADING_TERMINATED",
9: "STATE_SETTLED",
}
var Market_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_PROPOSED": 1,
"STATE_REJECTED": 2,
"STATE_PENDING": 3,
"STATE_CANCELLED": 4,
"STATE_ACTIVE": 5,
"STATE_SUSPENDED": 6,
"STATE_CLOSED": 7,
"STATE_TRADING_TERMINATED": 8,
"STATE_SETTLED": 9,
}
var Market_TradingMode_name = map[int32]string{
0: "TRADING_MODE_UNSPECIFIED",
1: "TRADING_MODE_CONTINUOUS",
2: "TRADING_MODE_BATCH_AUCTION",
3: "TRADING_MODE_OPENING_AUCTION",
4: "TRADING_MODE_MONITORING_AUCTION",
}
var Market_TradingMode_value = map[string]int32{
"TRADING_MODE_UNSPECIFIED": 0,
"TRADING_MODE_CONTINUOUS": 1,
"TRADING_MODE_BATCH_AUCTION": 2,
"TRADING_MODE_OPENING_AUCTION": 3,
"TRADING_MODE_MONITORING_AUCTION": 4,
}
var NodeStatus_name = map[int32]string{
0: "NODE_STATUS_UNSPECIFIED",
1: "NODE_STATUS_VALIDATOR",
2: "NODE_STATUS_NON_VALIDATOR",
}
var NodeStatus_value = map[string]int32{
"NODE_STATUS_UNSPECIFIED": 0,
"NODE_STATUS_VALIDATOR": 1,
"NODE_STATUS_NON_VALIDATOR": 2,
}
var OrderError_name = map[int32]string{
0: "ORDER_ERROR_UNSPECIFIED",
1: "ORDER_ERROR_INVALID_MARKET_ID",
2: "ORDER_ERROR_INVALID_ORDER_ID",
3: "ORDER_ERROR_OUT_OF_SEQUENCE",
4: "ORDER_ERROR_INVALID_REMAINING_SIZE",
5: "ORDER_ERROR_TIME_FAILURE",
6: "ORDER_ERROR_REMOVAL_FAILURE",
7: "ORDER_ERROR_INVALID_EXPIRATION_DATETIME",
8: "ORDER_ERROR_INVALID_ORDER_REFERENCE",
9: "ORDER_ERROR_EDIT_NOT_ALLOWED",
10: "ORDER_ERROR_AMEND_FAILURE",
11: "ORDER_ERROR_NOT_FOUND",
12: "ORDER_ERROR_INVALID_PARTY_ID",
13: "ORDER_ERROR_MARKET_CLOSED",
14: "ORDER_ERROR_MARGIN_CHECK_FAILED",
15: "ORDER_ERROR_MISSING_GENERAL_ACCOUNT",
16: "ORDER_ERROR_INTERNAL_ERROR",
17: "ORDER_ERROR_INVALID_SIZE",
18: "ORDER_ERROR_INVALID_PERSISTENCE",
19: "ORDER_ERROR_INVALID_TYPE",
20: "ORDER_ERROR_SELF_TRADING",
21: "ORDER_ERROR_INSUFFICIENT_FUNDS_TO_PAY_FEES",
22: "ORDER_ERROR_INCORRECT_MARKET_TYPE",
23: "ORDER_ERROR_INVALID_TIME_IN_FORCE",
24: "ORDER_ERROR_GFN_ORDER_DURING_AN_AUCTION",
25: "ORDER_ERROR_GFA_ORDER_DURING_CONTINUOUS_TRADING",
26: "ORDER_ERROR_CANNOT_AMEND_TO_GTT_WITHOUT_EXPIRYAT",
27: "ORDER_ERROR_EXPIRYAT_BEFORE_CREATEDAT",
28: "ORDER_ERROR_CANNOT_HAVE_GTC_AND_EXPIRYAT",
29: "ORDER_ERROR_CANNOT_AMEND_TO_FOK_OR_IOC",
30: "ORDER_ERROR_CANNOT_AMEND_TO_GFA_OR_GFN",
31: "ORDER_ERROR_CANNOT_AMEND_FROM_GFA_OR_GFN",
32: "ORDER_ERROR_CANNOT_SEND_IOC_ORDER_DURING_AUCTION",
33: "ORDER_ERROR_CANNOT_SEND_FOK_ORDER_DURING_AUCTION",
34: "ORDER_ERROR_MUST_BE_LIMIT_ORDER",
35: "ORDER_ERROR_MUST_BE_GTT_OR_GTC",
36: "ORDER_ERROR_WITHOUT_REFERENCE_PRICE",
37: "ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE",
38: "ORDER_ERROR_OFFSET_MUST_BE_LESS_OR_EQUAL_TO_ZERO",
39: "ORDER_ERROR_OFFSET_MUST_BE_LESS_THAN_ZERO",
40: "ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO",
41: "ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE",
42: "ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO",
43: "ORDER_ERROR_INSUFFICIENT_ASSET_BALANCE",
44: "ORDER_ERROR_CANNOT_AMEND_PEGGED_ORDER_DETAILS_ON_NON_PEGGED_ORDER",
45: "ORDER_ERROR_UNABLE_TO_REPRICE_PEGGED_ORDER",
46: "ORDER_ERROR_UNABLE_TO_AMEND_PRICE_ON_PEGGED_ORDER",
47: "ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS",
}
var OrderError_value = map[string]int32{
"ORDER_ERROR_UNSPECIFIED": 0,
"ORDER_ERROR_INVALID_MARKET_ID": 1,
"ORDER_ERROR_INVALID_ORDER_ID": 2,
"ORDER_ERROR_OUT_OF_SEQUENCE": 3,
"ORDER_ERROR_INVALID_REMAINING_SIZE": 4,
"ORDER_ERROR_TIME_FAILURE": 5,
"ORDER_ERROR_REMOVAL_FAILURE": 6,
"ORDER_ERROR_INVALID_EXPIRATION_DATETIME": 7,
"ORDER_ERROR_INVALID_ORDER_REFERENCE": 8,
"ORDER_ERROR_EDIT_NOT_ALLOWED": 9,
"ORDER_ERROR_AMEND_FAILURE": 10,
"ORDER_ERROR_NOT_FOUND": 11,
"ORDER_ERROR_INVALID_PARTY_ID": 12,
"ORDER_ERROR_MARKET_CLOSED": 13,
"ORDER_ERROR_MARGIN_CHECK_FAILED": 14,
"ORDER_ERROR_MISSING_GENERAL_ACCOUNT": 15,
"ORDER_ERROR_INTERNAL_ERROR": 16,
"ORDER_ERROR_INVALID_SIZE": 17,
"ORDER_ERROR_INVALID_PERSISTENCE": 18,
"ORDER_ERROR_INVALID_TYPE": 19,
"ORDER_ERROR_SELF_TRADING": 20,
"ORDER_ERROR_INSUFFICIENT_FUNDS_TO_PAY_FEES": 21,
"ORDER_ERROR_INCORRECT_MARKET_TYPE": 22,
"ORDER_ERROR_INVALID_TIME_IN_FORCE": 23,
"ORDER_ERROR_GFN_ORDER_DURING_AN_AUCTION": 24,
"ORDER_ERROR_GFA_ORDER_DURING_CONTINUOUS_TRADING": 25,
"ORDER_ERROR_CANNOT_AMEND_TO_GTT_WITHOUT_EXPIRYAT": 26,
"ORDER_ERROR_EXPIRYAT_BEFORE_CREATEDAT": 27,
"ORDER_ERROR_CANNOT_HAVE_GTC_AND_EXPIRYAT": 28,
"ORDER_ERROR_CANNOT_AMEND_TO_FOK_OR_IOC": 29,
"ORDER_ERROR_CANNOT_AMEND_TO_GFA_OR_GFN": 30,
"ORDER_ERROR_CANNOT_AMEND_FROM_GFA_OR_GFN": 31,
"ORDER_ERROR_CANNOT_SEND_IOC_ORDER_DURING_AUCTION": 32,
"ORDER_ERROR_CANNOT_SEND_FOK_ORDER_DURING_AUCTION": 33,
"ORDER_ERROR_MUST_BE_LIMIT_ORDER": 34,
"ORDER_ERROR_MUST_BE_GTT_OR_GTC": 35,
"ORDER_ERROR_WITHOUT_REFERENCE_PRICE": 36,
"ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE": 37,
"ORDER_ERROR_OFFSET_MUST_BE_LESS_OR_EQUAL_TO_ZERO": 38,
"ORDER_ERROR_OFFSET_MUST_BE_LESS_THAN_ZERO": 39,
"ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO": 40,
"ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE": 41,
"ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO": 42,
"ORDER_ERROR_INSUFFICIENT_ASSET_BALANCE": 43,
"ORDER_ERROR_CANNOT_AMEND_PEGGED_ORDER_DETAILS_ON_NON_PEGGED_ORDER": 44,
"ORDER_ERROR_UNABLE_TO_REPRICE_PEGGED_ORDER": 45,
"ORDER_ERROR_UNABLE_TO_AMEND_PRICE_ON_PEGGED_ORDER": 46,
"ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS": 47,
}
var Order_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_ACTIVE",
2: "STATUS_EXPIRED",
3: "STATUS_CANCELLED",
4: "STATUS_STOPPED",
5: "STATUS_FILLED",
6: "STATUS_REJECTED",
7: "STATUS_PARTIALLY_FILLED",
8: "STATUS_PARKED",
}
var Order_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_ACTIVE": 1,
"STATUS_EXPIRED": 2,
"STATUS_CANCELLED": 3,
"STATUS_STOPPED": 4,
"STATUS_FILLED": 5,
"STATUS_REJECTED": 6,
"STATUS_PARTIALLY_FILLED": 7,
"STATUS_PARKED": 8,
}
var Order_TimeInForce_name = map[int32]string{
0: "TIME_IN_FORCE_UNSPECIFIED",
1: "TIME_IN_FORCE_GTC",
2: "TIME_IN_FORCE_GTT",
3: "TIME_IN_FORCE_IOC",
4: "TIME_IN_FORCE_FOK",
5: "TIME_IN_FORCE_GFA",
6: "TIME_IN_FORCE_GFN",
}
var Order_TimeInForce_value = map[string]int32{
"TIME_IN_FORCE_UNSPECIFIED": 0,
"TIME_IN_FORCE_GTC": 1,
"TIME_IN_FORCE_GTT": 2,
"TIME_IN_FORCE_IOC": 3,
"TIME_IN_FORCE_FOK": 4,
"TIME_IN_FORCE_GFA": 5,
"TIME_IN_FORCE_GFN": 6,
}
var Order_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_LIMIT",
2: "TYPE_MARKET",
3: "TYPE_NETWORK",
}
var Order_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_LIMIT": 1,
"TYPE_MARKET": 2,
"TYPE_NETWORK": 3,
}
var PeggedReference_name = map[int32]string{
0: "PEGGED_REFERENCE_UNSPECIFIED",
1: "PEGGED_REFERENCE_MID",
2: "PEGGED_REFERENCE_BEST_BID",
3: "PEGGED_REFERENCE_BEST_ASK",
}
var PeggedReference_value = map[string]int32{
"PEGGED_REFERENCE_UNSPECIFIED": 0,
"PEGGED_REFERENCE_MID": 1,
"PEGGED_REFERENCE_BEST_BID": 2,
"PEGGED_REFERENCE_BEST_ASK": 3,
}
var ProposalError_name = map[int32]string{
0: "PROPOSAL_ERROR_UNSPECIFIED",
1: "PROPOSAL_ERROR_CLOSE_TIME_TOO_SOON",
2: "PROPOSAL_ERROR_CLOSE_TIME_TOO_LATE",
3: "PROPOSAL_ERROR_ENACT_TIME_TOO_SOON",
4: "PROPOSAL_ERROR_ENACT_TIME_TOO_LATE",
5: "PROPOSAL_ERROR_INSUFFICIENT_TOKENS",
6: "PROPOSAL_ERROR_INVALID_INSTRUMENT_SECURITY",
7: "PROPOSAL_ERROR_NO_PRODUCT",
8: "PROPOSAL_ERROR_UNSUPPORTED_PRODUCT",
9: "PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT_TIMESTAMP",
10: "PROPOSAL_ERROR_PRODUCT_MATURITY_IS_PASSED",
11: "PROPOSAL_ERROR_NO_TRADING_MODE",
12: "PROPOSAL_ERROR_UNSUPPORTED_TRADING_MODE",
13: "PROPOSAL_ERROR_NODE_VALIDATION_FAILED",
14: "PROPOSAL_ERROR_MISSING_BUILTIN_ASSET_FIELD",
15: "PROPOSAL_ERROR_MISSING_ERC20_CONTRACT_ADDRESS",
16: "PROPOSAL_ERROR_INVALID_ASSET",
17: "PROPOSAL_ERROR_INCOMPATIBLE_TIMESTAMPS",
18: "PROPOSAL_ERROR_NO_RISK_PARAMETERS",
19: "PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_KEY",
20: "PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_VALUE",
21: "PROPOSAL_ERROR_NETWORK_PARAMETER_VALIDATION_FAILED",
22: "PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_SMALL",
23: "PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_LARGE",
24: "PROPOSAL_ERROR_MARKET_MISSING_LIQUIDITY_COMMITMENT",
25: "PROPOSAL_ERROR_COULD_NOT_INSTANTIATE_MARKET",
26: "PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT",
27: "PROPOSAL_ERROR_MISSING_COMMITMENT_AMOUNT",
28: "PROPOSAL_ERROR_INVALID_FEE_AMOUNT",
29: "PROPOSAL_ERROR_INVALID_SHAPE",
30: "PROPOSAL_ERROR_INVALID_RISK_PARAMETER",
31: "PROPOSAL_ERROR_MAJORITY_THRESHOLD_NOT_REACHED",
32: "PROPOSAL_ERROR_PARTICIPATION_THRESHOLD_NOT_REACHED",
33: "PROPOSAL_ERROR_INVALID_ASSET_DETAILS",
}
var ProposalError_value = map[string]int32{
"PROPOSAL_ERROR_UNSPECIFIED": 0,
"PROPOSAL_ERROR_CLOSE_TIME_TOO_SOON": 1,
"PROPOSAL_ERROR_CLOSE_TIME_TOO_LATE": 2,
"PROPOSAL_ERROR_ENACT_TIME_TOO_SOON": 3,
"PROPOSAL_ERROR_ENACT_TIME_TOO_LATE": 4,
"PROPOSAL_ERROR_INSUFFICIENT_TOKENS": 5,
"PROPOSAL_ERROR_INVALID_INSTRUMENT_SECURITY": 6,
"PROPOSAL_ERROR_NO_PRODUCT": 7,
"PROPOSAL_ERROR_UNSUPPORTED_PRODUCT": 8,
"PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT_TIMESTAMP": 9,
"PROPOSAL_ERROR_PRODUCT_MATURITY_IS_PASSED": 10,
"PROPOSAL_ERROR_NO_TRADING_MODE": 11,
"PROPOSAL_ERROR_UNSUPPORTED_TRADING_MODE": 12,
"PROPOSAL_ERROR_NODE_VALIDATION_FAILED": 13,
"PROPOSAL_ERROR_MISSING_BUILTIN_ASSET_FIELD": 14,
"PROPOSAL_ERROR_MISSING_ERC20_CONTRACT_ADDRESS": 15,
"PROPOSAL_ERROR_INVALID_ASSET": 16,
"PROPOSAL_ERROR_INCOMPATIBLE_TIMESTAMPS": 17,
"PROPOSAL_ERROR_NO_RISK_PARAMETERS": 18,
"PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_KEY": 19,
"PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_VALUE": 20,
"PROPOSAL_ERROR_NETWORK_PARAMETER_VALIDATION_FAILED": 21,
"PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_SMALL": 22,
"PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_LARGE": 23,
"PROPOSAL_ERROR_MARKET_MISSING_LIQUIDITY_COMMITMENT": 24,
"PROPOSAL_ERROR_COULD_NOT_INSTANTIATE_MARKET": 25,
"PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT": 26,
"PROPOSAL_ERROR_MISSING_COMMITMENT_AMOUNT": 27,
"PROPOSAL_ERROR_INVALID_FEE_AMOUNT": 28,
"PROPOSAL_ERROR_INVALID_SHAPE": 29,
"PROPOSAL_ERROR_INVALID_RISK_PARAMETER": 30,
"PROPOSAL_ERROR_MAJORITY_THRESHOLD_NOT_REACHED": 31,
"PROPOSAL_ERROR_PARTICIPATION_THRESHOLD_NOT_REACHED": 32,
"PROPOSAL_ERROR_INVALID_ASSET_DETAILS": 33,
}
var Proposal_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "STATE_FAILED",
2: "STATE_OPEN",
3: "STATE_PASSED",
4: "STATE_REJECTED",
5: "STATE_DECLINED",
6: "STATE_ENACTED",
7: "STATE_WAITING_FOR_NODE_VOTE",
}
var Proposal_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STATE_FAILED": 1,
"STATE_OPEN": 2,
"STATE_PASSED": 3,
"STATE_REJECTED": 4,
"STATE_DECLINED": 5,
"STATE_ENACTED": 6,
"STATE_WAITING_FOR_NODE_VOTE": 7,
}
var Side_name = map[int32]string{
0: "SIDE_UNSPECIFIED",
1: "SIDE_BUY",
2: "SIDE_SELL",
}
var Side_value = map[string]int32{
"SIDE_UNSPECIFIED": 0,
"SIDE_BUY": 1,
"SIDE_SELL": 2,
}
var Trade_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_DEFAULT",
2: "TYPE_NETWORK_CLOSE_OUT_GOOD",
3: "TYPE_NETWORK_CLOSE_OUT_BAD",
}
var Trade_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_DEFAULT": 1,
"TYPE_NETWORK_CLOSE_OUT_GOOD": 2,
"TYPE_NETWORK_CLOSE_OUT_BAD": 3,
}
var TransferType_name = map[int32]string{
0: "TRANSFER_TYPE_UNSPECIFIED",
1: "TRANSFER_TYPE_LOSS",
2: "TRANSFER_TYPE_WIN",
3: "TRANSFER_TYPE_CLOSE",
4: "TRANSFER_TYPE_MTM_LOSS",
5: "TRANSFER_TYPE_MTM_WIN",
6: "TRANSFER_TYPE_MARGIN_LOW",
7: "TRANSFER_TYPE_MARGIN_HIGH",
8: "TRANSFER_TYPE_MARGIN_CONFISCATED",
9: "TRANSFER_TYPE_MAKER_FEE_PAY",
10: "TRANSFER_TYPE_MAKER_FEE_RECEIVE",
11: "TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY",
12: "TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE",
13: "TRANSFER_TYPE_LIQUIDITY_FEE_PAY",
14: "TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE",
15: "TRANSFER_TYPE_BOND_LOW",
16: "TRANSFER_TYPE_BOND_HIGH",
17: "TRANSFER_TYPE_WITHDRAW_LOCK",
18: "TRANSFER_TYPE_WITHDRAW",
19: "TRANSFER_TYPE_DEPOSIT",
20: "TRANSFER_TYPE_BOND_SLASHING",
21: "TRANSFER_TYPE_STAKE_REWARD",
}
var TransferType_value = map[string]int32{
"TRANSFER_TYPE_UNSPECIFIED": 0,
"TRANSFER_TYPE_LOSS": 1,
"TRANSFER_TYPE_WIN": 2,
"TRANSFER_TYPE_CLOSE": 3,
"TRANSFER_TYPE_MTM_LOSS": 4,
"TRANSFER_TYPE_MTM_WIN": 5,
"TRANSFER_TYPE_MARGIN_LOW": 6,
"TRANSFER_TYPE_MARGIN_HIGH": 7,
"TRANSFER_TYPE_MARGIN_CONFISCATED": 8,
"TRANSFER_TYPE_MAKER_FEE_PAY": 9,
"TRANSFER_TYPE_MAKER_FEE_RECEIVE": 10,
"TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY": 11,
"TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE": 12,
"TRANSFER_TYPE_LIQUIDITY_FEE_PAY": 13,
"TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE": 14,
"TRANSFER_TYPE_BOND_LOW": 15,
"TRANSFER_TYPE_BOND_HIGH": 16,
"TRANSFER_TYPE_WITHDRAW_LOCK": 17,
"TRANSFER_TYPE_WITHDRAW": 18,
"TRANSFER_TYPE_DEPOSIT": 19,
"TRANSFER_TYPE_BOND_SLASHING": 20,
"TRANSFER_TYPE_STAKE_REWARD": 21,
}
var Vote_Value_name = map[int32]string{
0: "VALUE_UNSPECIFIED",
1: "VALUE_NO",
2: "VALUE_YES",
}
var Vote_Value_value = map[string]int32{
"VALUE_UNSPECIFIED": 0,
"VALUE_NO": 1,
"VALUE_YES": 2,
}
var Withdrawal_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_OPEN",
2: "STATUS_CANCELLED",
3: "STATUS_FINALIZED",
}
var Withdrawal_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_OPEN": 1,
"STATUS_CANCELLED": 2,
"STATUS_FINALIZED": 3,
}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // Unique account identifier (used internally by Vega) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The party that the account belongs to, special values include `network`, which represents the Vega network and is // most commonly seen during liquidation of distressed trading positions Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Balance of the asset, the balance is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places // and importantly balances cannot be negative Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` // Asset identifier for the account Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` // Market identifier for the account, if [`AccountType`](#vega.AccountType).`ACCOUNT_TYPE_GENERAL` this will be empty MarketId string `protobuf:"bytes,5,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The account type related to this account Type AccountType `protobuf:"varint,6,opt,name=type,proto3,enum=vega.AccountType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents an account for an asset on Vega for a particular owner or party
func (*Account) Descriptor ¶
func (*Account) GetBalance ¶
func (*Account) GetMarketId ¶
func (*Account) GetType ¶
func (m *Account) GetType() AccountType
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountType ¶
type AccountType int32
Various collateral/account types as used by Vega
const ( // Default value AccountType_ACCOUNT_TYPE_UNSPECIFIED AccountType = 0 // Insurance pool accounts contain insurance pool funds for a market AccountType_ACCOUNT_TYPE_INSURANCE AccountType = 1 // Settlement accounts exist only during settlement or mark-to-market AccountType_ACCOUNT_TYPE_SETTLEMENT AccountType = 2 // Margin accounts contain margin funds for a party and each party will // have multiple margin accounts, one for each market they have traded in // // Margin account funds will alter as margin requirements on positions change AccountType_ACCOUNT_TYPE_MARGIN AccountType = 3 // General accounts contains general funds for a party. A party will // have multiple general accounts, one for each asset they want // to trade with // // General accounts are where funds are initially deposited or withdrawn from, // it is also the account where funds are taken to fulfil fees and initial margin requirements AccountType_ACCOUNT_TYPE_GENERAL AccountType = 4 // Infrastructure accounts contain fees earned by providing infrastructure on Vega AccountType_ACCOUNT_TYPE_FEES_INFRASTRUCTURE AccountType = 5 // Liquidity accounts contain fees earned by providing liquidity on Vega markets AccountType_ACCOUNT_TYPE_FEES_LIQUIDITY AccountType = 6 // This account is created to hold fees earned by placing orders that sit on the book // and are then matched with an incoming order to create a trade - These fees reward parties // who provide the best priced liquidity that actually allows trading to take place AccountType_ACCOUNT_TYPE_FEES_MAKER AccountType = 7 // This account is created to lock funds to be withdrawn by parties AccountType_ACCOUNT_TYPE_LOCK_WITHDRAW AccountType = 8 // This account is created to maintain liquidity providers funds commitments AccountType_ACCOUNT_TYPE_BOND AccountType = 9 // External account represents an external source (deposit/withdrawal) AccountType_ACCOUNT_TYPE_EXTERNAL AccountType = 10 // Global insurance account for the asset AccountType_ACCOUNT_TYPE_GLOBAL_INSURANCE AccountType = 11 // Global reward account for the asset AccountType_ACCOUNT_TYPE_GLOBAL_REWARD AccountType = 12 )
func (AccountType) EnumDescriptor ¶
func (AccountType) EnumDescriptor() ([]byte, []int)
func (AccountType) String ¶
func (x AccountType) String() string
type AddValidator ¶
type AddValidator struct { // The identifier of the validator Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A message to notify when a new validator is being added to the Vega network
func (*AddValidator) Descriptor ¶
func (*AddValidator) Descriptor() ([]byte, []int)
func (*AddValidator) GetId ¶
func (m *AddValidator) GetId() *Identifier
func (*AddValidator) ProtoMessage ¶
func (*AddValidator) ProtoMessage()
func (*AddValidator) Reset ¶
func (m *AddValidator) Reset()
func (*AddValidator) String ¶
func (m *AddValidator) String() string
func (*AddValidator) Validate ¶
func (this *AddValidator) Validate() error
func (*AddValidator) XXX_DiscardUnknown ¶
func (m *AddValidator) XXX_DiscardUnknown()
func (*AddValidator) XXX_Marshal ¶
func (m *AddValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddValidator) XXX_Merge ¶
func (m *AddValidator) XXX_Merge(src proto.Message)
func (*AddValidator) XXX_Size ¶
func (m *AddValidator) XXX_Size() int
func (*AddValidator) XXX_Unmarshal ¶
func (m *AddValidator) XXX_Unmarshal(b []byte) error
type Asset ¶
type Asset struct { // Internal identifier of the asset Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The definition of the external source for this asset Details *AssetDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The Vega representation of an external asset
func (*Asset) Descriptor ¶
func (*Asset) GetDetails ¶
func (m *Asset) GetDetails() *AssetDetails
func (Asset) IsEvent ¶
func (Asset) IsEvent()
IsEvent methods needs to be implemented so we can used mapped types in GQL union
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) XXX_DiscardUnknown ¶
func (m *Asset) XXX_DiscardUnknown()
func (*Asset) XXX_Marshal ¶
func (*Asset) XXX_Unmarshal ¶
type AssetDetails ¶
type AssetDetails struct { // Name of the asset (e.g: Great British Pound) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Symbol of the asset (e.g: GBP) Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` // Total circulating supply for the asset TotalSupply string `protobuf:"bytes,3,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` // Number of decimal / precision handled by this asset Decimals uint64 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` // Min stake required for this asset from liquidity providers MinLpStake string `protobuf:"bytes,5,opt,name=min_lp_stake,json=minLpStake,proto3" json:"min_lp_stake,omitempty"` // The source // // Types that are valid to be assigned to Source: // *AssetDetails_BuiltinAsset // *AssetDetails_Erc20 Source isAssetDetails_Source `protobuf_oneof:"source"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The Vega representation of an external asset
func (AssetDetails) DeepClone ¶
func (a AssetDetails) DeepClone() *AssetDetails
func (*AssetDetails) Descriptor ¶
func (*AssetDetails) Descriptor() ([]byte, []int)
func (*AssetDetails) GetBuiltinAsset ¶
func (m *AssetDetails) GetBuiltinAsset() *BuiltinAsset
func (*AssetDetails) GetDecimals ¶
func (m *AssetDetails) GetDecimals() uint64
func (*AssetDetails) GetErc20 ¶
func (m *AssetDetails) GetErc20() *ERC20
func (*AssetDetails) GetMinLpStake ¶
func (m *AssetDetails) GetMinLpStake() string
func (*AssetDetails) GetName ¶
func (m *AssetDetails) GetName() string
func (*AssetDetails) GetSource ¶
func (m *AssetDetails) GetSource() isAssetDetails_Source
func (*AssetDetails) GetSymbol ¶
func (m *AssetDetails) GetSymbol() string
func (*AssetDetails) GetTotalSupply ¶
func (m *AssetDetails) GetTotalSupply() string
func (*AssetDetails) ProtoMessage ¶
func (*AssetDetails) ProtoMessage()
func (*AssetDetails) Reset ¶
func (m *AssetDetails) Reset()
func (*AssetDetails) String ¶
func (m *AssetDetails) String() string
func (*AssetDetails) Validate ¶
func (this *AssetDetails) Validate() error
func (*AssetDetails) XXX_DiscardUnknown ¶
func (m *AssetDetails) XXX_DiscardUnknown()
func (*AssetDetails) XXX_Marshal ¶
func (m *AssetDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetDetails) XXX_Merge ¶
func (m *AssetDetails) XXX_Merge(src proto.Message)
func (*AssetDetails) XXX_OneofWrappers ¶
func (*AssetDetails) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AssetDetails) XXX_Size ¶
func (m *AssetDetails) XXX_Size() int
func (*AssetDetails) XXX_Unmarshal ¶
func (m *AssetDetails) XXX_Unmarshal(b []byte) error
type AssetDetails_BuiltinAsset ¶
type AssetDetails_BuiltinAsset struct {
BuiltinAsset *BuiltinAsset `protobuf:"bytes,101,opt,name=builtin_asset,json=builtinAsset,proto3,oneof"`
}
func (AssetDetails_BuiltinAsset) DeepClone ¶
func (a AssetDetails_BuiltinAsset) DeepClone() *AssetDetails_BuiltinAsset
type AssetDetails_Erc20 ¶
type AssetDetails_Erc20 struct {
Erc20 *ERC20 `protobuf:"bytes,102,opt,name=erc20,proto3,oneof"`
}
func (AssetDetails_Erc20) DeepClone ¶
func (a AssetDetails_Erc20) DeepClone() *AssetDetails_Erc20
type AuctionDuration ¶
type AuctionDuration struct { // Duration of the auction in seconds Duration int64 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"` //Target uncrossing trading volume Volume uint64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An auction duration is used to configure 3 auction periods:
- `duration > 0`, `volume == 0`: The auction will last for at least N seconds
- `duration == 0`, `volume > 0`: The auction will end once we can close with given traded volume
- `duration > 0`, `volume > 0`: The auction will take at least N seconds, but can end sooner if we can trade a certain volume
func (AuctionDuration) DeepClone ¶
func (a AuctionDuration) DeepClone() *AuctionDuration
func (*AuctionDuration) Descriptor ¶
func (*AuctionDuration) Descriptor() ([]byte, []int)
func (*AuctionDuration) GetDuration ¶
func (m *AuctionDuration) GetDuration() int64
func (*AuctionDuration) GetVolume ¶
func (m *AuctionDuration) GetVolume() uint64
func (*AuctionDuration) ProtoMessage ¶
func (*AuctionDuration) ProtoMessage()
func (*AuctionDuration) Reset ¶
func (m *AuctionDuration) Reset()
func (*AuctionDuration) String ¶
func (m *AuctionDuration) String() string
func (*AuctionDuration) Validate ¶
func (this *AuctionDuration) Validate() error
func (*AuctionDuration) XXX_DiscardUnknown ¶
func (m *AuctionDuration) XXX_DiscardUnknown()
func (*AuctionDuration) XXX_Marshal ¶
func (m *AuctionDuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionDuration) XXX_Merge ¶
func (m *AuctionDuration) XXX_Merge(src proto.Message)
func (*AuctionDuration) XXX_Size ¶
func (m *AuctionDuration) XXX_Size() int
func (*AuctionDuration) XXX_Unmarshal ¶
func (m *AuctionDuration) XXX_Unmarshal(b []byte) error
type AuctionIndicativeState ¶
type AuctionIndicativeState struct { // The market identifier for which this state relates to MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // The Indicative Uncrossing Price is the price at which all trades would occur if we uncrossed the auction now IndicativePrice string `protobuf:"bytes,2,opt,name=indicative_price,json=indicativePrice,proto3" json:"indicative_price,omitempty"` // The Indicative Uncrossing Volume is the volume available at the Indicative crossing price if we uncrossed the auction now IndicativeVolume uint64 `protobuf:"varint,3,opt,name=indicative_volume,json=indicativeVolume,proto3" json:"indicative_volume,omitempty"` // The timestamp at which the auction started AuctionStart int64 `protobuf:"varint,4,opt,name=auction_start,json=auctionStart,proto3" json:"auction_start,omitempty"` // The timestamp at which the auction is meant to stop AuctionEnd int64 `protobuf:"varint,5,opt,name=auction_end,json=auctionEnd,proto3" json:"auction_end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AuctionIndicativeState is used to emit an event with the indicative price/volume per market during an auction
func (*AuctionIndicativeState) Descriptor ¶
func (*AuctionIndicativeState) Descriptor() ([]byte, []int)
func (*AuctionIndicativeState) GetAuctionEnd ¶
func (m *AuctionIndicativeState) GetAuctionEnd() int64
func (*AuctionIndicativeState) GetAuctionStart ¶
func (m *AuctionIndicativeState) GetAuctionStart() int64
func (*AuctionIndicativeState) GetIndicativePrice ¶
func (m *AuctionIndicativeState) GetIndicativePrice() string
func (*AuctionIndicativeState) GetIndicativeVolume ¶
func (m *AuctionIndicativeState) GetIndicativeVolume() uint64
func (*AuctionIndicativeState) GetMarketId ¶
func (m *AuctionIndicativeState) GetMarketId() string
func (*AuctionIndicativeState) ProtoMessage ¶
func (*AuctionIndicativeState) ProtoMessage()
func (*AuctionIndicativeState) Reset ¶
func (m *AuctionIndicativeState) Reset()
func (*AuctionIndicativeState) String ¶
func (m *AuctionIndicativeState) String() string
func (*AuctionIndicativeState) Validate ¶
func (this *AuctionIndicativeState) Validate() error
func (*AuctionIndicativeState) XXX_DiscardUnknown ¶
func (m *AuctionIndicativeState) XXX_DiscardUnknown()
func (*AuctionIndicativeState) XXX_Marshal ¶
func (m *AuctionIndicativeState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionIndicativeState) XXX_Merge ¶
func (m *AuctionIndicativeState) XXX_Merge(src proto.Message)
func (*AuctionIndicativeState) XXX_Size ¶
func (m *AuctionIndicativeState) XXX_Size() int
func (*AuctionIndicativeState) XXX_Unmarshal ¶
func (m *AuctionIndicativeState) XXX_Unmarshal(b []byte) error
type AuctionTrigger ¶
type AuctionTrigger int32
Auction triggers indicate what condition triggered an auction (if market is in auction mode)
const ( // Default value for AuctionTrigger, no auction triggered AuctionTrigger_AUCTION_TRIGGER_UNSPECIFIED AuctionTrigger = 0 // Batch auction AuctionTrigger_AUCTION_TRIGGER_BATCH AuctionTrigger = 1 // Opening auction AuctionTrigger_AUCTION_TRIGGER_OPENING AuctionTrigger = 2 // Price monitoring trigger AuctionTrigger_AUCTION_TRIGGER_PRICE AuctionTrigger = 3 // Liquidity monitoring trigger AuctionTrigger_AUCTION_TRIGGER_LIQUIDITY AuctionTrigger = 4 )
func (AuctionTrigger) EnumDescriptor ¶
func (AuctionTrigger) EnumDescriptor() ([]byte, []int)
func (AuctionTrigger) String ¶
func (x AuctionTrigger) String() string
type BTCDeposit ¶
type BTCDeposit struct { // The Vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // The BTC wallet initiating the deposit SourceBtcAddress string `protobuf:"bytes,2,opt,name=source_btc_address,json=sourceBtcAddress,proto3" json:"source_btc_address,omitempty"` // The Vega party identifier (pub-key) which is the target of the deposit TargetPartyId string `protobuf:"bytes,3,opt,name=target_party_id,json=targetPartyId,proto3" json:"target_party_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Bitcoin deposit into Vega
func (*BTCDeposit) Descriptor ¶
func (*BTCDeposit) Descriptor() ([]byte, []int)
func (*BTCDeposit) GetSourceBtcAddress ¶
func (m *BTCDeposit) GetSourceBtcAddress() string
func (*BTCDeposit) GetTargetPartyId ¶
func (m *BTCDeposit) GetTargetPartyId() string
func (*BTCDeposit) GetVegaAssetId ¶
func (m *BTCDeposit) GetVegaAssetId() string
func (*BTCDeposit) ProtoMessage ¶
func (*BTCDeposit) ProtoMessage()
func (*BTCDeposit) Reset ¶
func (m *BTCDeposit) Reset()
func (*BTCDeposit) String ¶
func (m *BTCDeposit) String() string
func (*BTCDeposit) Validate ¶
func (this *BTCDeposit) Validate() error
func (*BTCDeposit) XXX_DiscardUnknown ¶
func (m *BTCDeposit) XXX_DiscardUnknown()
func (*BTCDeposit) XXX_Marshal ¶
func (m *BTCDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BTCDeposit) XXX_Merge ¶
func (m *BTCDeposit) XXX_Merge(src proto.Message)
func (*BTCDeposit) XXX_Size ¶
func (m *BTCDeposit) XXX_Size() int
func (*BTCDeposit) XXX_Unmarshal ¶
func (m *BTCDeposit) XXX_Unmarshal(b []byte) error
type BTCEvent ¶
type BTCEvent struct { // The index of the transaction Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The block in which the transaction happened Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` // The action // // Types that are valid to be assigned to Action: // *BTCEvent_Deposit // *BTCEvent_Withdrawal Action isBTCEvent_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event from the Bitcoin network
func (*BTCEvent) Descriptor ¶
func (*BTCEvent) GetDeposit ¶
func (m *BTCEvent) GetDeposit() *BTCDeposit
func (*BTCEvent) GetWithdrawal ¶
func (m *BTCEvent) GetWithdrawal() *BTCWithdrawal
func (*BTCEvent) ProtoMessage ¶
func (*BTCEvent) ProtoMessage()
func (*BTCEvent) XXX_DiscardUnknown ¶
func (m *BTCEvent) XXX_DiscardUnknown()
func (*BTCEvent) XXX_Marshal ¶
func (*BTCEvent) XXX_OneofWrappers ¶
func (*BTCEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BTCEvent) XXX_Unmarshal ¶
type BTCEvent_Deposit ¶
type BTCEvent_Deposit struct {
Deposit *BTCDeposit `protobuf:"bytes,1001,opt,name=deposit,proto3,oneof"`
}
type BTCEvent_Withdrawal ¶
type BTCEvent_Withdrawal struct {
Withdrawal *BTCWithdrawal `protobuf:"bytes,1002,opt,name=withdrawal,proto3,oneof"`
}
type BTCWithdrawal ¶
type BTCWithdrawal struct { // The vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // The party identifier (pub-key) initiating the withdrawal SourcePartyId string `protobuf:"bytes,2,opt,name=source_party_id,json=sourcePartyId,proto3" json:"source_party_id,omitempty"` // Target Bitcoin wallet address TargetBtcAddress string `protobuf:"bytes,3,opt,name=target_btc_address,json=targetBtcAddress,proto3" json:"target_btc_address,omitempty"` // The nonce reference of the transaction ReferenceNonce string `protobuf:"bytes,4,opt,name=reference_nonce,json=referenceNonce,proto3" json:"reference_nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Bitcoin withdrawal from Vega
func (*BTCWithdrawal) Descriptor ¶
func (*BTCWithdrawal) Descriptor() ([]byte, []int)
func (*BTCWithdrawal) GetReferenceNonce ¶
func (m *BTCWithdrawal) GetReferenceNonce() string
func (*BTCWithdrawal) GetSourcePartyId ¶
func (m *BTCWithdrawal) GetSourcePartyId() string
func (*BTCWithdrawal) GetTargetBtcAddress ¶
func (m *BTCWithdrawal) GetTargetBtcAddress() string
func (*BTCWithdrawal) GetVegaAssetId ¶
func (m *BTCWithdrawal) GetVegaAssetId() string
func (*BTCWithdrawal) ProtoMessage ¶
func (*BTCWithdrawal) ProtoMessage()
func (*BTCWithdrawal) Reset ¶
func (m *BTCWithdrawal) Reset()
func (*BTCWithdrawal) String ¶
func (m *BTCWithdrawal) String() string
func (*BTCWithdrawal) Validate ¶
func (this *BTCWithdrawal) Validate() error
func (*BTCWithdrawal) XXX_DiscardUnknown ¶
func (m *BTCWithdrawal) XXX_DiscardUnknown()
func (*BTCWithdrawal) XXX_Marshal ¶
func (m *BTCWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BTCWithdrawal) XXX_Merge ¶
func (m *BTCWithdrawal) XXX_Merge(src proto.Message)
func (*BTCWithdrawal) XXX_Size ¶
func (m *BTCWithdrawal) XXX_Size() int
func (*BTCWithdrawal) XXX_Unmarshal ¶
func (m *BTCWithdrawal) XXX_Unmarshal(b []byte) error
type BitcoinAddress ¶
type BitcoinAddress struct { // A Bitcoin address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used as a wrapper for a Bitcoin address (wallet)
func (*BitcoinAddress) Descriptor ¶
func (*BitcoinAddress) Descriptor() ([]byte, []int)
func (*BitcoinAddress) GetAddress ¶
func (m *BitcoinAddress) GetAddress() string
func (*BitcoinAddress) ProtoMessage ¶
func (*BitcoinAddress) ProtoMessage()
func (*BitcoinAddress) Reset ¶
func (m *BitcoinAddress) Reset()
func (*BitcoinAddress) String ¶
func (m *BitcoinAddress) String() string
func (*BitcoinAddress) Validate ¶
func (this *BitcoinAddress) Validate() error
func (*BitcoinAddress) XXX_DiscardUnknown ¶
func (m *BitcoinAddress) XXX_DiscardUnknown()
func (*BitcoinAddress) XXX_Marshal ¶
func (m *BitcoinAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BitcoinAddress) XXX_Merge ¶
func (m *BitcoinAddress) XXX_Merge(src proto.Message)
func (*BitcoinAddress) XXX_Size ¶
func (m *BitcoinAddress) XXX_Size() int
func (*BitcoinAddress) XXX_Unmarshal ¶
func (m *BitcoinAddress) XXX_Unmarshal(b []byte) error
type BuiltinAsset ¶
type BuiltinAsset struct { // Maximum amount that can be requested by a party through the built-in asset faucet at a time MaxFaucetAmountMint string `protobuf:"bytes,1,opt,name=max_faucet_amount_mint,json=maxFaucetAmountMint,proto3" json:"max_faucet_amount_mint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Vega internal asset
func (BuiltinAsset) DeepClone ¶
func (b BuiltinAsset) DeepClone() *BuiltinAsset
func (*BuiltinAsset) Descriptor ¶
func (*BuiltinAsset) Descriptor() ([]byte, []int)
func (*BuiltinAsset) GetMaxFaucetAmountMint ¶
func (m *BuiltinAsset) GetMaxFaucetAmountMint() string
func (*BuiltinAsset) ProtoMessage ¶
func (*BuiltinAsset) ProtoMessage()
func (*BuiltinAsset) Reset ¶
func (m *BuiltinAsset) Reset()
func (*BuiltinAsset) String ¶
func (m *BuiltinAsset) String() string
func (*BuiltinAsset) Validate ¶
func (this *BuiltinAsset) Validate() error
func (*BuiltinAsset) XXX_DiscardUnknown ¶
func (m *BuiltinAsset) XXX_DiscardUnknown()
func (*BuiltinAsset) XXX_Marshal ¶
func (m *BuiltinAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuiltinAsset) XXX_Merge ¶
func (m *BuiltinAsset) XXX_Merge(src proto.Message)
func (*BuiltinAsset) XXX_Size ¶
func (m *BuiltinAsset) XXX_Size() int
func (*BuiltinAsset) XXX_Unmarshal ¶
func (m *BuiltinAsset) XXX_Unmarshal(b []byte) error
type BuiltinAssetDeposit ¶
type BuiltinAssetDeposit struct { // A Vega network internal asset identifier VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // A Vega party identifier (pub-key) PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // The amount to be deposited Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A deposit for a Vega built-in asset
func (*BuiltinAssetDeposit) Descriptor ¶
func (*BuiltinAssetDeposit) Descriptor() ([]byte, []int)
func (*BuiltinAssetDeposit) GetAmount ¶
func (m *BuiltinAssetDeposit) GetAmount() string
func (*BuiltinAssetDeposit) GetPartyId ¶
func (m *BuiltinAssetDeposit) GetPartyId() string
func (*BuiltinAssetDeposit) GetVegaAssetId ¶
func (m *BuiltinAssetDeposit) GetVegaAssetId() string
func (*BuiltinAssetDeposit) PrepareToSign ¶
func (c *BuiltinAssetDeposit) PrepareToSign() ([]byte, error)
func (*BuiltinAssetDeposit) ProtoMessage ¶
func (*BuiltinAssetDeposit) ProtoMessage()
func (*BuiltinAssetDeposit) Reset ¶
func (m *BuiltinAssetDeposit) Reset()
func (*BuiltinAssetDeposit) String ¶
func (m *BuiltinAssetDeposit) String() string
func (*BuiltinAssetDeposit) Validate ¶
func (this *BuiltinAssetDeposit) Validate() error
func (*BuiltinAssetDeposit) XXX_DiscardUnknown ¶
func (m *BuiltinAssetDeposit) XXX_DiscardUnknown()
func (*BuiltinAssetDeposit) XXX_Marshal ¶
func (m *BuiltinAssetDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuiltinAssetDeposit) XXX_Merge ¶
func (m *BuiltinAssetDeposit) XXX_Merge(src proto.Message)
func (*BuiltinAssetDeposit) XXX_Size ¶
func (m *BuiltinAssetDeposit) XXX_Size() int
func (*BuiltinAssetDeposit) XXX_Unmarshal ¶
func (m *BuiltinAssetDeposit) XXX_Unmarshal(b []byte) error
type BuiltinAssetEvent ¶
type BuiltinAssetEvent struct { // Types that are valid to be assigned to Action: // *BuiltinAssetEvent_Deposit // *BuiltinAssetEvent_Withdrawal Action isBuiltinAssetEvent_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event related to a Vega built-in asset
func (*BuiltinAssetEvent) Descriptor ¶
func (*BuiltinAssetEvent) Descriptor() ([]byte, []int)
func (*BuiltinAssetEvent) GetAction ¶
func (m *BuiltinAssetEvent) GetAction() isBuiltinAssetEvent_Action
func (*BuiltinAssetEvent) GetDeposit ¶
func (m *BuiltinAssetEvent) GetDeposit() *BuiltinAssetDeposit
func (*BuiltinAssetEvent) GetWithdrawal ¶
func (m *BuiltinAssetEvent) GetWithdrawal() *BuiltinAssetWithdrawal
func (*BuiltinAssetEvent) PrepareToSign ¶
func (c *BuiltinAssetEvent) PrepareToSign() ([]byte, error)
func (*BuiltinAssetEvent) ProtoMessage ¶
func (*BuiltinAssetEvent) ProtoMessage()
func (*BuiltinAssetEvent) Reset ¶
func (m *BuiltinAssetEvent) Reset()
func (*BuiltinAssetEvent) String ¶
func (m *BuiltinAssetEvent) String() string
func (*BuiltinAssetEvent) Validate ¶
func (this *BuiltinAssetEvent) Validate() error
func (*BuiltinAssetEvent) XXX_DiscardUnknown ¶
func (m *BuiltinAssetEvent) XXX_DiscardUnknown()
func (*BuiltinAssetEvent) XXX_Marshal ¶
func (m *BuiltinAssetEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuiltinAssetEvent) XXX_Merge ¶
func (m *BuiltinAssetEvent) XXX_Merge(src proto.Message)
func (*BuiltinAssetEvent) XXX_OneofWrappers ¶
func (*BuiltinAssetEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*BuiltinAssetEvent) XXX_Size ¶
func (m *BuiltinAssetEvent) XXX_Size() int
func (*BuiltinAssetEvent) XXX_Unmarshal ¶
func (m *BuiltinAssetEvent) XXX_Unmarshal(b []byte) error
type BuiltinAssetEvent_Deposit ¶
type BuiltinAssetEvent_Deposit struct {
Deposit *BuiltinAssetDeposit `protobuf:"bytes,1001,opt,name=deposit,proto3,oneof"`
}
type BuiltinAssetEvent_Withdrawal ¶
type BuiltinAssetEvent_Withdrawal struct {
Withdrawal *BuiltinAssetWithdrawal `protobuf:"bytes,1002,opt,name=withdrawal,proto3,oneof"`
}
type BuiltinAssetWithdrawal ¶
type BuiltinAssetWithdrawal struct { // A Vega network internal asset identifier VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // A Vega network party identifier (pub-key) PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // The amount to be withdrawn Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A withdrawal for a Vega built-in asset
func (*BuiltinAssetWithdrawal) Descriptor ¶
func (*BuiltinAssetWithdrawal) Descriptor() ([]byte, []int)
func (*BuiltinAssetWithdrawal) GetAmount ¶
func (m *BuiltinAssetWithdrawal) GetAmount() string
func (*BuiltinAssetWithdrawal) GetPartyId ¶
func (m *BuiltinAssetWithdrawal) GetPartyId() string
func (*BuiltinAssetWithdrawal) GetVegaAssetId ¶
func (m *BuiltinAssetWithdrawal) GetVegaAssetId() string
func (*BuiltinAssetWithdrawal) PrepareToSign ¶
func (c *BuiltinAssetWithdrawal) PrepareToSign() ([]byte, error)
func (*BuiltinAssetWithdrawal) ProtoMessage ¶
func (*BuiltinAssetWithdrawal) ProtoMessage()
func (*BuiltinAssetWithdrawal) Reset ¶
func (m *BuiltinAssetWithdrawal) Reset()
func (*BuiltinAssetWithdrawal) String ¶
func (m *BuiltinAssetWithdrawal) String() string
func (*BuiltinAssetWithdrawal) Validate ¶
func (this *BuiltinAssetWithdrawal) Validate() error
func (*BuiltinAssetWithdrawal) XXX_DiscardUnknown ¶
func (m *BuiltinAssetWithdrawal) XXX_DiscardUnknown()
func (*BuiltinAssetWithdrawal) XXX_Marshal ¶
func (m *BuiltinAssetWithdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuiltinAssetWithdrawal) XXX_Merge ¶
func (m *BuiltinAssetWithdrawal) XXX_Merge(src proto.Message)
func (*BuiltinAssetWithdrawal) XXX_Size ¶
func (m *BuiltinAssetWithdrawal) XXX_Size() int
func (*BuiltinAssetWithdrawal) XXX_Unmarshal ¶
func (m *BuiltinAssetWithdrawal) XXX_Unmarshal(b []byte) error
type Candle ¶
type Candle struct { // Timestamp for the point in time when the candle was initially created/opened, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // An ISO-8601 datetime with nanosecond precision for when the candle was last updated Datetime string `protobuf:"bytes,2,opt,name=datetime,proto3" json:"datetime,omitempty"` // Highest price for trading during the candle interval High string `protobuf:"bytes,3,opt,name=high,proto3" json:"high,omitempty"` // Lowest price for trading during the candle interval Low string `protobuf:"bytes,4,opt,name=low,proto3" json:"low,omitempty"` // Open trade price Open string `protobuf:"bytes,5,opt,name=open,proto3" json:"open,omitempty"` // Closing trade price Close string `protobuf:"bytes,6,opt,name=close,proto3" json:"close,omitempty"` // Total trading volume during the candle interval Volume uint64 `protobuf:"varint,7,opt,name=volume,proto3" json:"volume,omitempty"` // Time interval for the candle - See [`Interval`](#vega.Interval) Interval Interval `protobuf:"varint,8,opt,name=interval,proto3,enum=vega.Interval" json:"interval,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the high, low, open, and closing prices for an interval of trading, referred to commonly as a candlestick or candle
func (*Candle) Descriptor ¶
func (*Candle) GetDatetime ¶
func (*Candle) GetInterval ¶
func (*Candle) GetTimestamp ¶
func (*Candle) ProtoMessage ¶
func (*Candle) ProtoMessage()
func (*Candle) XXX_DiscardUnknown ¶
func (m *Candle) XXX_DiscardUnknown()
func (*Candle) XXX_Marshal ¶
func (*Candle) XXX_Unmarshal ¶
type ChainStatus ¶
type ChainStatus int32
The Vega blockchain status as reported by the node the caller is connected to
const ( // Default value, always invalid ChainStatus_CHAIN_STATUS_UNSPECIFIED ChainStatus = 0 // Blockchain is disconnected ChainStatus_CHAIN_STATUS_DISCONNECTED ChainStatus = 1 // Blockchain is replaying historic transactions ChainStatus_CHAIN_STATUS_REPLAYING ChainStatus = 2 // Blockchain is connected and receiving transactions ChainStatus_CHAIN_STATUS_CONNECTED ChainStatus = 3 )
func (ChainStatus) EnumDescriptor ¶
func (ChainStatus) EnumDescriptor() ([]byte, []int)
func (ChainStatus) String ¶
func (x ChainStatus) String() string
type ContinuousTrading ¶
type ContinuousTrading struct { // Tick size TickSize string `protobuf:"bytes,1,opt,name=tick_size,json=tickSize,proto3" json:"tick_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Continuous trading
func (ContinuousTrading) DeepClone ¶
func (c ContinuousTrading) DeepClone() *ContinuousTrading
func (*ContinuousTrading) Descriptor ¶
func (*ContinuousTrading) Descriptor() ([]byte, []int)
func (*ContinuousTrading) GetTickSize ¶
func (m *ContinuousTrading) GetTickSize() string
func (*ContinuousTrading) ProtoMessage ¶
func (*ContinuousTrading) ProtoMessage()
func (*ContinuousTrading) Reset ¶
func (m *ContinuousTrading) Reset()
func (*ContinuousTrading) String ¶
func (m *ContinuousTrading) String() string
func (*ContinuousTrading) Validate ¶
func (this *ContinuousTrading) Validate() error
func (*ContinuousTrading) XXX_DiscardUnknown ¶
func (m *ContinuousTrading) XXX_DiscardUnknown()
func (*ContinuousTrading) XXX_Marshal ¶
func (m *ContinuousTrading) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContinuousTrading) XXX_Merge ¶
func (m *ContinuousTrading) XXX_Merge(src proto.Message)
func (*ContinuousTrading) XXX_Size ¶
func (m *ContinuousTrading) XXX_Size() int
func (*ContinuousTrading) XXX_Unmarshal ¶
func (m *ContinuousTrading) XXX_Unmarshal(b []byte) error
type Delegation ¶ added in v0.42.0
type Delegation struct { // Party which is delegating Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` // Node ID NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Amount delegated Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // Epoch of delegation EpochSeq string `protobuf:"bytes,4,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Delegation) Descriptor ¶ added in v0.42.0
func (*Delegation) Descriptor() ([]byte, []int)
func (*Delegation) GetAmount ¶ added in v0.42.0
func (m *Delegation) GetAmount() string
func (*Delegation) GetEpochSeq ¶ added in v0.42.0
func (m *Delegation) GetEpochSeq() string
func (*Delegation) GetNodeId ¶ added in v0.42.0
func (m *Delegation) GetNodeId() string
func (*Delegation) GetParty ¶ added in v0.42.0
func (m *Delegation) GetParty() string
func (*Delegation) ProtoMessage ¶ added in v0.42.0
func (*Delegation) ProtoMessage()
func (*Delegation) Reset ¶ added in v0.42.0
func (m *Delegation) Reset()
func (*Delegation) String ¶ added in v0.42.0
func (m *Delegation) String() string
func (*Delegation) Validate ¶ added in v0.42.0
func (this *Delegation) Validate() error
func (*Delegation) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *Delegation) XXX_DiscardUnknown()
func (*Delegation) XXX_Marshal ¶ added in v0.42.0
func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Delegation) XXX_Merge ¶ added in v0.42.0
func (m *Delegation) XXX_Merge(src proto.Message)
func (*Delegation) XXX_Size ¶ added in v0.42.0
func (m *Delegation) XXX_Size() int
func (*Delegation) XXX_Unmarshal ¶ added in v0.42.0
func (m *Delegation) XXX_Unmarshal(b []byte) error
type Deposit ¶
type Deposit struct { // Unique identifier for the deposit Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Status of the deposit Status Deposit_Status `protobuf:"varint,2,opt,name=status,proto3,enum=vega.Deposit_Status" json:"status,omitempty"` // Party identifier of the user initiating the deposit PartyId string `protobuf:"bytes,3,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // The Vega asset targeted by this deposit Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` // The amount to be deposited Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` // The hash of the transaction from the foreign chain TxHash string `protobuf:"bytes,6,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Timestamp for when the Vega account was updated with the deposit CreditedTimestamp int64 `protobuf:"varint,7,opt,name=credited_timestamp,json=creditedTimestamp,proto3" json:"credited_timestamp,omitempty"` // Timestamp for when the deposit was created on the Vega network CreatedTimestamp int64 `protobuf:"varint,8,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A deposit on to the Vega network
func (*Deposit) Descriptor ¶
func (*Deposit) GetCreatedTimestamp ¶
func (*Deposit) GetCreditedTimestamp ¶
func (*Deposit) GetPartyId ¶
func (*Deposit) GetStatus ¶
func (m *Deposit) GetStatus() Deposit_Status
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) XXX_DiscardUnknown ¶
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶
func (*Deposit) XXX_Unmarshal ¶
type Deposit_Status ¶
type Deposit_Status int32
The status of the deposit
const ( // Default value, always invalid Deposit_STATUS_UNSPECIFIED Deposit_Status = 0 // The deposit is being processed by the network Deposit_STATUS_OPEN Deposit_Status = 1 // The deposit has been cancelled by the network Deposit_STATUS_CANCELLED Deposit_Status = 2 // The deposit has been finalised and accounts have been updated Deposit_STATUS_FINALIZED Deposit_Status = 3 )
func (Deposit_Status) EnumDescriptor ¶
func (Deposit_Status) EnumDescriptor() ([]byte, []int)
func (Deposit_Status) String ¶
func (x Deposit_Status) String() string
type DiscreteTrading ¶
type DiscreteTrading struct { // Duration in nanoseconds, maximum 1 month (2592000000000000 ns) DurationNs int64 `protobuf:"varint,1,opt,name=duration_ns,json=durationNs,proto3" json:"duration_ns,omitempty"` // Tick size TickSize string `protobuf:"bytes,2,opt,name=tick_size,json=tickSize,proto3" json:"tick_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Discrete trading
func (DiscreteTrading) DeepClone ¶
func (d DiscreteTrading) DeepClone() *DiscreteTrading
func (*DiscreteTrading) Descriptor ¶
func (*DiscreteTrading) Descriptor() ([]byte, []int)
func (*DiscreteTrading) GetDurationNs ¶
func (m *DiscreteTrading) GetDurationNs() int64
func (*DiscreteTrading) GetTickSize ¶
func (m *DiscreteTrading) GetTickSize() string
func (*DiscreteTrading) ProtoMessage ¶
func (*DiscreteTrading) ProtoMessage()
func (*DiscreteTrading) Reset ¶
func (m *DiscreteTrading) Reset()
func (*DiscreteTrading) String ¶
func (m *DiscreteTrading) String() string
func (*DiscreteTrading) Validate ¶
func (this *DiscreteTrading) Validate() error
func (*DiscreteTrading) XXX_DiscardUnknown ¶
func (m *DiscreteTrading) XXX_DiscardUnknown()
func (*DiscreteTrading) XXX_Marshal ¶
func (m *DiscreteTrading) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscreteTrading) XXX_Merge ¶
func (m *DiscreteTrading) XXX_Merge(src proto.Message)
func (*DiscreteTrading) XXX_Size ¶
func (m *DiscreteTrading) XXX_Size() int
func (*DiscreteTrading) XXX_Unmarshal ¶
func (m *DiscreteTrading) XXX_Unmarshal(b []byte) error
type ERC20 ¶
type ERC20 struct { // The address of the contract for the token, on the ethereum network ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An ERC20 token based asset, living on the ethereum network
func (*ERC20) Descriptor ¶
func (*ERC20) GetContractAddress ¶
func (*ERC20) ProtoMessage ¶
func (*ERC20) ProtoMessage()
func (*ERC20) XXX_DiscardUnknown ¶
func (m *ERC20) XXX_DiscardUnknown()
func (*ERC20) XXX_Marshal ¶
func (*ERC20) XXX_Unmarshal ¶
type ERC20AssetDelist ¶
type ERC20AssetDelist struct { // The Vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An asset deny-listing for an ERC20 token
func (*ERC20AssetDelist) Descriptor ¶
func (*ERC20AssetDelist) Descriptor() ([]byte, []int)
func (*ERC20AssetDelist) GetVegaAssetId ¶
func (m *ERC20AssetDelist) GetVegaAssetId() string
func (*ERC20AssetDelist) PrepareToSign ¶
func (c *ERC20AssetDelist) PrepareToSign() ([]byte, error)
func (*ERC20AssetDelist) ProtoMessage ¶
func (*ERC20AssetDelist) ProtoMessage()
func (*ERC20AssetDelist) Reset ¶
func (m *ERC20AssetDelist) Reset()
func (*ERC20AssetDelist) String ¶
func (m *ERC20AssetDelist) String() string
func (*ERC20AssetDelist) Validate ¶
func (this *ERC20AssetDelist) Validate() error
func (*ERC20AssetDelist) XXX_DiscardUnknown ¶
func (m *ERC20AssetDelist) XXX_DiscardUnknown()
func (*ERC20AssetDelist) XXX_Marshal ¶
func (m *ERC20AssetDelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20AssetDelist) XXX_Merge ¶
func (m *ERC20AssetDelist) XXX_Merge(src proto.Message)
func (*ERC20AssetDelist) XXX_Size ¶
func (m *ERC20AssetDelist) XXX_Size() int
func (*ERC20AssetDelist) XXX_Unmarshal ¶
func (m *ERC20AssetDelist) XXX_Unmarshal(b []byte) error
type ERC20AssetList ¶
type ERC20AssetList struct { // The Vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An asset allow-listing for an ERC20 token
func (*ERC20AssetList) Descriptor ¶
func (*ERC20AssetList) Descriptor() ([]byte, []int)
func (*ERC20AssetList) GetVegaAssetId ¶
func (m *ERC20AssetList) GetVegaAssetId() string
func (*ERC20AssetList) PrepareToSign ¶
func (c *ERC20AssetList) PrepareToSign() ([]byte, error)
func (*ERC20AssetList) ProtoMessage ¶
func (*ERC20AssetList) ProtoMessage()
func (*ERC20AssetList) Reset ¶
func (m *ERC20AssetList) Reset()
func (*ERC20AssetList) String ¶
func (m *ERC20AssetList) String() string
func (*ERC20AssetList) Validate ¶
func (this *ERC20AssetList) Validate() error
func (*ERC20AssetList) XXX_DiscardUnknown ¶
func (m *ERC20AssetList) XXX_DiscardUnknown()
func (*ERC20AssetList) XXX_Marshal ¶
func (m *ERC20AssetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20AssetList) XXX_Merge ¶
func (m *ERC20AssetList) XXX_Merge(src proto.Message)
func (*ERC20AssetList) XXX_Size ¶
func (m *ERC20AssetList) XXX_Size() int
func (*ERC20AssetList) XXX_Unmarshal ¶
func (m *ERC20AssetList) XXX_Unmarshal(b []byte) error
type ERC20Deposit ¶
type ERC20Deposit struct { // The vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // The Ethereum wallet that initiated the deposit SourceEthereumAddress string `` /* 126-byte string literal not displayed */ // The Vega party identifier (pub-key) which is the target of the deposit TargetPartyId string `protobuf:"bytes,3,opt,name=target_party_id,json=targetPartyId,proto3" json:"target_party_id,omitempty"` // The amount to be deposited Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An asset deposit for an ERC20 token
func (*ERC20Deposit) Descriptor ¶
func (*ERC20Deposit) Descriptor() ([]byte, []int)
func (*ERC20Deposit) GetAmount ¶
func (m *ERC20Deposit) GetAmount() string
func (*ERC20Deposit) GetSourceEthereumAddress ¶
func (m *ERC20Deposit) GetSourceEthereumAddress() string
func (*ERC20Deposit) GetTargetPartyId ¶
func (m *ERC20Deposit) GetTargetPartyId() string
func (*ERC20Deposit) GetVegaAssetId ¶
func (m *ERC20Deposit) GetVegaAssetId() string
func (*ERC20Deposit) PrepareToSign ¶
func (c *ERC20Deposit) PrepareToSign() ([]byte, error)
func (*ERC20Deposit) ProtoMessage ¶
func (*ERC20Deposit) ProtoMessage()
func (*ERC20Deposit) Reset ¶
func (m *ERC20Deposit) Reset()
func (*ERC20Deposit) String ¶
func (m *ERC20Deposit) String() string
func (*ERC20Deposit) Validate ¶
func (this *ERC20Deposit) Validate() error
func (*ERC20Deposit) XXX_DiscardUnknown ¶
func (m *ERC20Deposit) XXX_DiscardUnknown()
func (*ERC20Deposit) XXX_Marshal ¶
func (m *ERC20Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20Deposit) XXX_Merge ¶
func (m *ERC20Deposit) XXX_Merge(src proto.Message)
func (*ERC20Deposit) XXX_Size ¶
func (m *ERC20Deposit) XXX_Size() int
func (*ERC20Deposit) XXX_Unmarshal ¶
func (m *ERC20Deposit) XXX_Unmarshal(b []byte) error
type ERC20Event ¶
type ERC20Event struct { // Index of the transaction Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The block in which the transaction was added Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` // The action // // Types that are valid to be assigned to Action: // *ERC20Event_AssetList // *ERC20Event_AssetDelist // *ERC20Event_Deposit // *ERC20Event_Withdrawal Action isERC20Event_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event related to an ERC20 token
func (*ERC20Event) Descriptor ¶
func (*ERC20Event) Descriptor() ([]byte, []int)
func (*ERC20Event) GetAction ¶
func (m *ERC20Event) GetAction() isERC20Event_Action
func (*ERC20Event) GetAssetDelist ¶
func (m *ERC20Event) GetAssetDelist() *ERC20AssetDelist
func (*ERC20Event) GetAssetList ¶
func (m *ERC20Event) GetAssetList() *ERC20AssetList
func (*ERC20Event) GetBlock ¶
func (m *ERC20Event) GetBlock() uint64
func (*ERC20Event) GetDeposit ¶
func (m *ERC20Event) GetDeposit() *ERC20Deposit
func (*ERC20Event) GetIndex ¶
func (m *ERC20Event) GetIndex() uint64
func (*ERC20Event) GetWithdrawal ¶
func (m *ERC20Event) GetWithdrawal() *ERC20Withdrawal
func (*ERC20Event) PrepareToSign ¶
func (c *ERC20Event) PrepareToSign() ([]byte, error)
func (*ERC20Event) ProtoMessage ¶
func (*ERC20Event) ProtoMessage()
func (*ERC20Event) Reset ¶
func (m *ERC20Event) Reset()
func (*ERC20Event) String ¶
func (m *ERC20Event) String() string
func (*ERC20Event) Validate ¶
func (this *ERC20Event) Validate() error
func (*ERC20Event) XXX_DiscardUnknown ¶
func (m *ERC20Event) XXX_DiscardUnknown()
func (*ERC20Event) XXX_Marshal ¶
func (m *ERC20Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20Event) XXX_Merge ¶
func (m *ERC20Event) XXX_Merge(src proto.Message)
func (*ERC20Event) XXX_OneofWrappers ¶
func (*ERC20Event) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ERC20Event) XXX_Size ¶
func (m *ERC20Event) XXX_Size() int
func (*ERC20Event) XXX_Unmarshal ¶
func (m *ERC20Event) XXX_Unmarshal(b []byte) error
type ERC20Event_AssetDelist ¶
type ERC20Event_AssetDelist struct {
AssetDelist *ERC20AssetDelist `protobuf:"bytes,1002,opt,name=asset_delist,json=assetDelist,proto3,oneof"`
}
type ERC20Event_AssetList ¶
type ERC20Event_AssetList struct {
AssetList *ERC20AssetList `protobuf:"bytes,1001,opt,name=asset_list,json=assetList,proto3,oneof"`
}
type ERC20Event_Deposit ¶
type ERC20Event_Deposit struct {
Deposit *ERC20Deposit `protobuf:"bytes,1003,opt,name=deposit,proto3,oneof"`
}
type ERC20Event_Withdrawal ¶
type ERC20Event_Withdrawal struct {
Withdrawal *ERC20Withdrawal `protobuf:"bytes,1004,opt,name=withdrawal,proto3,oneof"`
}
type ERC20Withdrawal ¶
type ERC20Withdrawal struct { // The Vega network internal identifier of the asset VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` // The target Ethereum wallet address TargetEthereumAddress string `` /* 126-byte string literal not displayed */ // The reference nonce used for the transaction ReferenceNonce string `protobuf:"bytes,3,opt,name=reference_nonce,json=referenceNonce,proto3" json:"reference_nonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An asset withdrawal for an ERC20 token
func (*ERC20Withdrawal) Descriptor ¶
func (*ERC20Withdrawal) Descriptor() ([]byte, []int)
func (*ERC20Withdrawal) GetReferenceNonce ¶
func (m *ERC20Withdrawal) GetReferenceNonce() string
func (*ERC20Withdrawal) GetTargetEthereumAddress ¶
func (m *ERC20Withdrawal) GetTargetEthereumAddress() string
func (*ERC20Withdrawal) GetVegaAssetId ¶
func (m *ERC20Withdrawal) GetVegaAssetId() string
func (*ERC20Withdrawal) PrepareToSign ¶
func (c *ERC20Withdrawal) PrepareToSign() ([]byte, error)
func (*ERC20Withdrawal) ProtoMessage ¶
func (*ERC20Withdrawal) ProtoMessage()
func (*ERC20Withdrawal) Reset ¶
func (m *ERC20Withdrawal) Reset()
func (*ERC20Withdrawal) String ¶
func (m *ERC20Withdrawal) String() string
func (*ERC20Withdrawal) Validate ¶
func (this *ERC20Withdrawal) Validate() error
func (*ERC20Withdrawal) XXX_DiscardUnknown ¶
func (m *ERC20Withdrawal) XXX_DiscardUnknown()
func (*ERC20Withdrawal) XXX_Marshal ¶
func (m *ERC20Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20Withdrawal) XXX_Merge ¶
func (m *ERC20Withdrawal) XXX_Merge(src proto.Message)
func (*ERC20Withdrawal) XXX_Size ¶
func (m *ERC20Withdrawal) XXX_Size() int
func (*ERC20Withdrawal) XXX_Unmarshal ¶
func (m *ERC20Withdrawal) XXX_Unmarshal(b []byte) error
type Epoch ¶ added in v0.42.0
type Epoch struct { // Sequence is used as epoch identifier Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // Timestamps for start/end etc Timestamps *EpochTimestamps `protobuf:"bytes,2,opt,name=timestamps,proto3" json:"timestamps,omitempty"` // Validators that participated in this epoch Validators []*Node `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"` // List of all delegations in epoch Delegations []*Delegation `protobuf:"bytes,4,rep,name=delegations,proto3" json:"delegations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Epoch) Descriptor ¶ added in v0.42.0
func (*Epoch) GetDelegations ¶ added in v0.42.0
func (m *Epoch) GetDelegations() []*Delegation
func (*Epoch) GetTimestamps ¶ added in v0.42.0
func (m *Epoch) GetTimestamps() *EpochTimestamps
func (*Epoch) GetValidators ¶ added in v0.42.0
func (*Epoch) ProtoMessage ¶ added in v0.42.0
func (*Epoch) ProtoMessage()
func (*Epoch) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *Epoch) XXX_DiscardUnknown()
func (*Epoch) XXX_Marshal ¶ added in v0.42.0
func (*Epoch) XXX_Unmarshal ¶ added in v0.42.0
type EpochAction ¶ added in v0.42.0
type EpochAction int32
What epoch action has occurred
const ( EpochAction_EPOCH_ACTION_UNSPECIFIED EpochAction = 0 // The epoch update is for a new epoch EpochAction_EPOCH_ACTION_START EpochAction = 1 // The epoch update is for the end of an epoch EpochAction_EPOCH_ACTION_END EpochAction = 2 )
func (EpochAction) EnumDescriptor ¶ added in v0.42.0
func (EpochAction) EnumDescriptor() ([]byte, []int)
func (EpochAction) String ¶ added in v0.42.0
func (x EpochAction) String() string
type EpochData ¶ added in v0.42.0
type EpochData struct { // Total number of epochs since node was created Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // Total number of offline epochs since node was created Offline int32 `protobuf:"varint,2,opt,name=offline,proto3" json:"offline,omitempty"` // Total number of online epochs since node was created Online int32 `protobuf:"varint,3,opt,name=online,proto3" json:"online,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EpochData) Descriptor ¶ added in v0.42.0
func (*EpochData) GetOffline ¶ added in v0.42.0
func (*EpochData) ProtoMessage ¶ added in v0.42.0
func (*EpochData) ProtoMessage()
func (*EpochData) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *EpochData) XXX_DiscardUnknown()
func (*EpochData) XXX_Marshal ¶ added in v0.42.0
func (*EpochData) XXX_Unmarshal ¶ added in v0.42.0
type EpochParticipation ¶ added in v0.42.0
type EpochParticipation struct { Epoch *Epoch `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Offline uint64 `protobuf:"varint,2,opt,name=offline,proto3" json:"offline,omitempty"` Online uint64 `protobuf:"varint,3,opt,name=online,proto3" json:"online,omitempty"` TotalRewards float64 `protobuf:"fixed64,4,opt,name=total_rewards,json=totalRewards,proto3" json:"total_rewards,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EpochParticipation) Descriptor ¶ added in v0.42.0
func (*EpochParticipation) Descriptor() ([]byte, []int)
func (*EpochParticipation) GetEpoch ¶ added in v0.42.0
func (m *EpochParticipation) GetEpoch() *Epoch
func (*EpochParticipation) GetOffline ¶ added in v0.42.0
func (m *EpochParticipation) GetOffline() uint64
func (*EpochParticipation) GetOnline ¶ added in v0.42.0
func (m *EpochParticipation) GetOnline() uint64
func (*EpochParticipation) GetTotalRewards ¶ added in v0.42.0
func (m *EpochParticipation) GetTotalRewards() float64
func (*EpochParticipation) ProtoMessage ¶ added in v0.42.0
func (*EpochParticipation) ProtoMessage()
func (*EpochParticipation) Reset ¶ added in v0.42.0
func (m *EpochParticipation) Reset()
func (*EpochParticipation) String ¶ added in v0.42.0
func (m *EpochParticipation) String() string
func (*EpochParticipation) Validate ¶ added in v0.42.0
func (this *EpochParticipation) Validate() error
func (*EpochParticipation) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *EpochParticipation) XXX_DiscardUnknown()
func (*EpochParticipation) XXX_Marshal ¶ added in v0.42.0
func (m *EpochParticipation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochParticipation) XXX_Merge ¶ added in v0.42.0
func (m *EpochParticipation) XXX_Merge(src proto.Message)
func (*EpochParticipation) XXX_Size ¶ added in v0.42.0
func (m *EpochParticipation) XXX_Size() int
func (*EpochParticipation) XXX_Unmarshal ¶ added in v0.42.0
func (m *EpochParticipation) XXX_Unmarshal(b []byte) error
type EpochTimestamps ¶ added in v0.42.0
type EpochTimestamps struct { // Timestamp of epoch start in nanoseconds // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Timestamp of epoch expiry in nanoseconds // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` ExpiryTime int64 `protobuf:"varint,2,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // Timestamp of epoch end in nanoseconds, empty if not started // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Height of first block in the epoch FirstBlock uint64 `protobuf:"varint,4,opt,name=first_block,json=firstBlock,proto3" json:"first_block,omitempty"` // Height of last block in the epoch, empty if not ended LastBlock uint64 `protobuf:"varint,5,opt,name=last_block,json=lastBlock,proto3" json:"last_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes in both human readable and block time when an epoch spans
func (*EpochTimestamps) Descriptor ¶ added in v0.42.0
func (*EpochTimestamps) Descriptor() ([]byte, []int)
func (*EpochTimestamps) GetEndTime ¶ added in v0.42.0
func (m *EpochTimestamps) GetEndTime() int64
func (*EpochTimestamps) GetExpiryTime ¶ added in v0.42.0
func (m *EpochTimestamps) GetExpiryTime() int64
func (*EpochTimestamps) GetFirstBlock ¶ added in v0.42.0
func (m *EpochTimestamps) GetFirstBlock() uint64
func (*EpochTimestamps) GetLastBlock ¶ added in v0.42.0
func (m *EpochTimestamps) GetLastBlock() uint64
func (*EpochTimestamps) GetStartTime ¶ added in v0.42.0
func (m *EpochTimestamps) GetStartTime() int64
func (*EpochTimestamps) ProtoMessage ¶ added in v0.42.0
func (*EpochTimestamps) ProtoMessage()
func (*EpochTimestamps) Reset ¶ added in v0.42.0
func (m *EpochTimestamps) Reset()
func (*EpochTimestamps) String ¶ added in v0.42.0
func (m *EpochTimestamps) String() string
func (*EpochTimestamps) Validate ¶ added in v0.42.0
func (this *EpochTimestamps) Validate() error
func (*EpochTimestamps) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *EpochTimestamps) XXX_DiscardUnknown()
func (*EpochTimestamps) XXX_Marshal ¶ added in v0.42.0
func (m *EpochTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochTimestamps) XXX_Merge ¶ added in v0.42.0
func (m *EpochTimestamps) XXX_Merge(src proto.Message)
func (*EpochTimestamps) XXX_Size ¶ added in v0.42.0
func (m *EpochTimestamps) XXX_Size() int
func (*EpochTimestamps) XXX_Unmarshal ¶ added in v0.42.0
func (m *EpochTimestamps) XXX_Unmarshal(b []byte) error
type Erc20WithdrawExt ¶
type Erc20WithdrawExt struct { // The address into which the bridge will release the funds ReceiverAddress string `protobuf:"bytes,1,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An extension of data required for the withdraw submissions
func (*Erc20WithdrawExt) Descriptor ¶
func (*Erc20WithdrawExt) Descriptor() ([]byte, []int)
func (*Erc20WithdrawExt) GetReceiverAddress ¶
func (m *Erc20WithdrawExt) GetReceiverAddress() string
func (*Erc20WithdrawExt) ProtoMessage ¶
func (*Erc20WithdrawExt) ProtoMessage()
func (*Erc20WithdrawExt) Reset ¶
func (m *Erc20WithdrawExt) Reset()
func (*Erc20WithdrawExt) String ¶
func (m *Erc20WithdrawExt) String() string
func (*Erc20WithdrawExt) Validate ¶
func (this *Erc20WithdrawExt) Validate() error
func (*Erc20WithdrawExt) XXX_DiscardUnknown ¶
func (m *Erc20WithdrawExt) XXX_DiscardUnknown()
func (*Erc20WithdrawExt) XXX_Marshal ¶
func (m *Erc20WithdrawExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Erc20WithdrawExt) XXX_Merge ¶
func (m *Erc20WithdrawExt) XXX_Merge(src proto.Message)
func (*Erc20WithdrawExt) XXX_Size ¶
func (m *Erc20WithdrawExt) XXX_Size() int
func (*Erc20WithdrawExt) XXX_Unmarshal ¶
func (m *Erc20WithdrawExt) XXX_Unmarshal(b []byte) error
type ErrorDetail ¶
type ErrorDetail struct { // A Vega API domain specific unique error code, useful for client side mappings, e.g. 10004 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // A message that describes the error in more detail, should describe the problem encountered Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Any inner error information that could add more context, or be helpful for error reporting Inner string `protobuf:"bytes,3,opt,name=inner,proto3" json:"inner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents Vega domain specific error information over gRPC/Protobuf
func (*ErrorDetail) Descriptor ¶
func (*ErrorDetail) Descriptor() ([]byte, []int)
func (*ErrorDetail) GetCode ¶
func (m *ErrorDetail) GetCode() int32
func (*ErrorDetail) GetInner ¶
func (m *ErrorDetail) GetInner() string
func (*ErrorDetail) GetMessage ¶
func (m *ErrorDetail) GetMessage() string
func (*ErrorDetail) ProtoMessage ¶
func (*ErrorDetail) ProtoMessage()
func (*ErrorDetail) Reset ¶
func (m *ErrorDetail) Reset()
func (*ErrorDetail) String ¶
func (m *ErrorDetail) String() string
func (*ErrorDetail) Validate ¶
func (this *ErrorDetail) Validate() error
func (*ErrorDetail) XXX_DiscardUnknown ¶
func (m *ErrorDetail) XXX_DiscardUnknown()
func (*ErrorDetail) XXX_Marshal ¶
func (m *ErrorDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorDetail) XXX_Merge ¶
func (m *ErrorDetail) XXX_Merge(src proto.Message)
func (*ErrorDetail) XXX_Size ¶
func (m *ErrorDetail) XXX_Size() int
func (*ErrorDetail) XXX_Unmarshal ¶
func (m *ErrorDetail) XXX_Unmarshal(b []byte) error
type EthereumAddress ¶
type EthereumAddress struct { // An Ethereum address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used as a wrapper for an Ethereum address (wallet/contract)
func (*EthereumAddress) Descriptor ¶
func (*EthereumAddress) Descriptor() ([]byte, []int)
func (*EthereumAddress) GetAddress ¶
func (m *EthereumAddress) GetAddress() string
func (*EthereumAddress) ProtoMessage ¶
func (*EthereumAddress) ProtoMessage()
func (*EthereumAddress) Reset ¶
func (m *EthereumAddress) Reset()
func (*EthereumAddress) String ¶
func (m *EthereumAddress) String() string
func (*EthereumAddress) Validate ¶
func (this *EthereumAddress) Validate() error
func (*EthereumAddress) XXX_DiscardUnknown ¶
func (m *EthereumAddress) XXX_DiscardUnknown()
func (*EthereumAddress) XXX_Marshal ¶
func (m *EthereumAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthereumAddress) XXX_Merge ¶
func (m *EthereumAddress) XXX_Merge(src proto.Message)
func (*EthereumAddress) XXX_Size ¶
func (m *EthereumAddress) XXX_Size() int
func (*EthereumAddress) XXX_Unmarshal ¶
func (m *EthereumAddress) XXX_Unmarshal(b []byte) error
type EthereumConfig ¶
type EthereumConfig struct { // Network identifier of this Ethereum network NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // Chain identifier of this Ethereum network ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Bridge address for this Ethereum network BridgeAddress string `protobuf:"bytes,3,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"` // Number of confirmations Confirmations uint32 `protobuf:"varint,4,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // Staking Bridge addresses for the ethereum network StakingBridgeAddresses []string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Ethereum configuration details
func (*EthereumConfig) Descriptor ¶
func (*EthereumConfig) Descriptor() ([]byte, []int)
func (*EthereumConfig) GetBridgeAddress ¶
func (m *EthereumConfig) GetBridgeAddress() string
func (*EthereumConfig) GetChainId ¶
func (m *EthereumConfig) GetChainId() string
func (*EthereumConfig) GetConfirmations ¶
func (m *EthereumConfig) GetConfirmations() uint32
func (*EthereumConfig) GetNetworkId ¶
func (m *EthereumConfig) GetNetworkId() string
func (*EthereumConfig) GetStakingBridgeAddresses ¶ added in v0.42.0
func (m *EthereumConfig) GetStakingBridgeAddresses() []string
func (*EthereumConfig) ProtoMessage ¶
func (*EthereumConfig) ProtoMessage()
func (*EthereumConfig) Reset ¶
func (m *EthereumConfig) Reset()
func (*EthereumConfig) String ¶
func (m *EthereumConfig) String() string
func (*EthereumConfig) Validate ¶
func (this *EthereumConfig) Validate() error
func (*EthereumConfig) XXX_DiscardUnknown ¶
func (m *EthereumConfig) XXX_DiscardUnknown()
func (*EthereumConfig) XXX_Marshal ¶
func (m *EthereumConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthereumConfig) XXX_Merge ¶
func (m *EthereumConfig) XXX_Merge(src proto.Message)
func (*EthereumConfig) XXX_Size ¶
func (m *EthereumConfig) XXX_Size() int
func (*EthereumConfig) XXX_Unmarshal ¶
func (m *EthereumConfig) XXX_Unmarshal(b []byte) error
type Fee ¶
type Fee struct { // Fee amount paid to the non-aggressive party of the trade MakerFee string `protobuf:"bytes,1,opt,name=maker_fee,json=makerFee,proto3" json:"maker_fee,omitempty"` // Fee amount paid for maintaining the Vega infrastructure InfrastructureFee string `protobuf:"bytes,2,opt,name=infrastructure_fee,json=infrastructureFee,proto3" json:"infrastructure_fee,omitempty"` // Fee amount paid to market makers LiquidityFee string `protobuf:"bytes,3,opt,name=liquidity_fee,json=liquidityFee,proto3" json:"liquidity_fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents any fees paid by a party, resulting from a trade
func (*Fee) Descriptor ¶
func (*Fee) GetInfrastructureFee ¶
func (*Fee) GetLiquidityFee ¶
func (*Fee) GetMakerFee ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (*Fee) XXX_DiscardUnknown ¶
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Unmarshal ¶
type FeeFactors ¶
type FeeFactors struct { // Maker fee MakerFee string `protobuf:"bytes,1,opt,name=maker_fee,json=makerFee,proto3" json:"maker_fee,omitempty"` // Infrastructure fee InfrastructureFee string `protobuf:"bytes,2,opt,name=infrastructure_fee,json=infrastructureFee,proto3" json:"infrastructure_fee,omitempty"` // Liquidity fee LiquidityFee string `protobuf:"bytes,3,opt,name=liquidity_fee,json=liquidityFee,proto3" json:"liquidity_fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Fee factors definition
func (FeeFactors) DeepClone ¶
func (f FeeFactors) DeepClone() *FeeFactors
func (*FeeFactors) Descriptor ¶
func (*FeeFactors) Descriptor() ([]byte, []int)
func (*FeeFactors) GetInfrastructureFee ¶
func (m *FeeFactors) GetInfrastructureFee() string
func (*FeeFactors) GetLiquidityFee ¶
func (m *FeeFactors) GetLiquidityFee() string
func (*FeeFactors) GetMakerFee ¶
func (m *FeeFactors) GetMakerFee() string
func (*FeeFactors) ProtoMessage ¶
func (*FeeFactors) ProtoMessage()
func (*FeeFactors) Reset ¶
func (m *FeeFactors) Reset()
func (*FeeFactors) String ¶
func (m *FeeFactors) String() string
func (*FeeFactors) Validate ¶
func (this *FeeFactors) Validate() error
func (*FeeFactors) XXX_DiscardUnknown ¶
func (m *FeeFactors) XXX_DiscardUnknown()
func (*FeeFactors) XXX_Marshal ¶
func (m *FeeFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeeFactors) XXX_Merge ¶
func (m *FeeFactors) XXX_Merge(src proto.Message)
func (*FeeFactors) XXX_Size ¶
func (m *FeeFactors) XXX_Size() int
func (*FeeFactors) XXX_Unmarshal ¶
func (m *FeeFactors) XXX_Unmarshal(b []byte) error
type Fees ¶
type Fees struct { // Fee factors Factors *FeeFactors `protobuf:"bytes,1,opt,name=factors,proto3" json:"factors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Fees definition
func (*Fees) Descriptor ¶
func (*Fees) GetFactors ¶
func (m *Fees) GetFactors() *FeeFactors
func (*Fees) ProtoMessage ¶
func (*Fees) ProtoMessage()
func (*Fees) XXX_DiscardUnknown ¶
func (m *Fees) XXX_DiscardUnknown()
func (*Fees) XXX_Unmarshal ¶
type FinancialAmount ¶
type FinancialAmount struct { // A signed integer amount of asset Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Asset identifier Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Asset value information used within a transfer
func (*FinancialAmount) Descriptor ¶
func (*FinancialAmount) Descriptor() ([]byte, []int)
func (*FinancialAmount) GetAmount ¶
func (m *FinancialAmount) GetAmount() string
func (*FinancialAmount) GetAsset ¶
func (m *FinancialAmount) GetAsset() string
func (*FinancialAmount) ProtoMessage ¶
func (*FinancialAmount) ProtoMessage()
func (*FinancialAmount) Reset ¶
func (m *FinancialAmount) Reset()
func (*FinancialAmount) String ¶
func (m *FinancialAmount) String() string
func (*FinancialAmount) Validate ¶
func (this *FinancialAmount) Validate() error
func (*FinancialAmount) XXX_DiscardUnknown ¶
func (m *FinancialAmount) XXX_DiscardUnknown()
func (*FinancialAmount) XXX_Marshal ¶
func (m *FinancialAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinancialAmount) XXX_Merge ¶
func (m *FinancialAmount) XXX_Merge(src proto.Message)
func (*FinancialAmount) XXX_Size ¶
func (m *FinancialAmount) XXX_Size() int
func (*FinancialAmount) XXX_Unmarshal ¶
func (m *FinancialAmount) XXX_Unmarshal(b []byte) error
type Future ¶
type Future struct { // The maturity for the future Maturity string `protobuf:"bytes,1,opt,name=maturity,proto3" json:"maturity,omitempty"` // The asset for the future SettlementAsset string `protobuf:"bytes,2,opt,name=settlement_asset,json=settlementAsset,proto3" json:"settlement_asset,omitempty"` // Quote name of the instrument QuoteName string `protobuf:"bytes,4,opt,name=quote_name,json=quoteName,proto3" json:"quote_name,omitempty"` // The oracle spec describing the settlement price oracle filter OracleSpecForSettlementPrice *v1.OracleSpec `` /* 151-byte string literal not displayed */ // the oracle spec describing the trading termination oracle filter OracleSpecForTradingTermination *v1.OracleSpec `` /* 160-byte string literal not displayed */ // The binding between the oracle spec and the oracle data OracleSpecBinding *OracleSpecToFutureBinding `protobuf:"bytes,7,opt,name=oracle_spec_binding,json=oracleSpecBinding,proto3" json:"oracle_spec_binding,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Future product definition
func (*Future) Descriptor ¶
func (*Future) GetMaturity ¶
func (*Future) GetOracleSpecBinding ¶
func (m *Future) GetOracleSpecBinding() *OracleSpecToFutureBinding
func (*Future) GetOracleSpecForSettlementPrice ¶
func (m *Future) GetOracleSpecForSettlementPrice() *v1.OracleSpec
func (*Future) GetOracleSpecForTradingTermination ¶
func (m *Future) GetOracleSpecForTradingTermination() *v1.OracleSpec
func (*Future) GetQuoteName ¶
func (*Future) GetSettlementAsset ¶
func (*Future) ProtoMessage ¶
func (*Future) ProtoMessage()
func (*Future) XXX_DiscardUnknown ¶
func (m *Future) XXX_DiscardUnknown()
func (*Future) XXX_Marshal ¶
func (*Future) XXX_Unmarshal ¶
type FutureProduct ¶
type FutureProduct struct { // Future product maturity (ISO8601/RFC3339 timestamp) Maturity string `protobuf:"bytes,1,opt,name=maturity,proto3" json:"maturity,omitempty"` // Product settlement asset identifier SettlementAsset string `protobuf:"bytes,2,opt,name=settlement_asset,json=settlementAsset,proto3" json:"settlement_asset,omitempty"` // Product quote name QuoteName string `protobuf:"bytes,3,opt,name=quote_name,json=quoteName,proto3" json:"quote_name,omitempty"` // The oracle spec describing the oracle data of settlement price OracleSpecForSettlementPrice *v1.OracleSpecConfiguration `` /* 151-byte string literal not displayed */ // The oracle spec describing the oracle data of trading termination OracleSpecForTradingTermination *v1.OracleSpecConfiguration `` /* 160-byte string literal not displayed */ // The binding between the oracle spec and the settlement price OracleSpecBinding *OracleSpecToFutureBinding `protobuf:"bytes,7,opt,name=oracle_spec_binding,json=oracleSpecBinding,proto3" json:"oracle_spec_binding,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Future product configuration
func (FutureProduct) DeepClone ¶
func (f FutureProduct) DeepClone() *FutureProduct
func (*FutureProduct) Descriptor ¶
func (*FutureProduct) Descriptor() ([]byte, []int)
func (*FutureProduct) GetMaturity ¶
func (m *FutureProduct) GetMaturity() string
func (*FutureProduct) GetOracleSpecBinding ¶
func (m *FutureProduct) GetOracleSpecBinding() *OracleSpecToFutureBinding
func (*FutureProduct) GetOracleSpecForSettlementPrice ¶
func (m *FutureProduct) GetOracleSpecForSettlementPrice() *v1.OracleSpecConfiguration
func (*FutureProduct) GetOracleSpecForTradingTermination ¶
func (m *FutureProduct) GetOracleSpecForTradingTermination() *v1.OracleSpecConfiguration
func (*FutureProduct) GetQuoteName ¶
func (m *FutureProduct) GetQuoteName() string
func (*FutureProduct) GetSettlementAsset ¶
func (m *FutureProduct) GetSettlementAsset() string
func (*FutureProduct) ProtoMessage ¶
func (*FutureProduct) ProtoMessage()
func (*FutureProduct) Reset ¶
func (m *FutureProduct) Reset()
func (*FutureProduct) String ¶
func (m *FutureProduct) String() string
func (*FutureProduct) Validate ¶
func (this *FutureProduct) Validate() error
func (*FutureProduct) XXX_DiscardUnknown ¶
func (m *FutureProduct) XXX_DiscardUnknown()
func (*FutureProduct) XXX_Marshal ¶
func (m *FutureProduct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FutureProduct) XXX_Merge ¶
func (m *FutureProduct) XXX_Merge(src proto.Message)
func (*FutureProduct) XXX_Size ¶
func (m *FutureProduct) XXX_Size() int
func (*FutureProduct) XXX_Unmarshal ¶
func (m *FutureProduct) XXX_Unmarshal(b []byte) error
type GovernanceData ¶
type GovernanceData struct { // The governance proposal Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // All "yes" votes in favour of the proposal above Yes []*Vote `protobuf:"bytes,2,rep,name=yes,proto3" json:"yes,omitempty"` // All "no" votes against the proposal above No []*Vote `protobuf:"bytes,3,rep,name=no,proto3" json:"no,omitempty"` // All latest YES votes by party (guaranteed to be unique), // where key (string) is the party ID (public key) and // value (Vote) is the vote cast by the given party YesParty map[string]*Vote `` /* 173-byte string literal not displayed */ // All latest NO votes by party (guaranteed to be unique), // where key (string) is the party ID (public key) and // value (Vote) is the vote cast by the given party NoParty map[string]*Vote `` /* 170-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Governance data
func (*GovernanceData) Descriptor ¶
func (*GovernanceData) Descriptor() ([]byte, []int)
func (*GovernanceData) GetNo ¶
func (m *GovernanceData) GetNo() []*Vote
func (*GovernanceData) GetNoParty ¶
func (m *GovernanceData) GetNoParty() map[string]*Vote
func (*GovernanceData) GetProposal ¶
func (m *GovernanceData) GetProposal() *Proposal
func (*GovernanceData) GetYes ¶
func (m *GovernanceData) GetYes() []*Vote
func (*GovernanceData) GetYesParty ¶
func (m *GovernanceData) GetYesParty() map[string]*Vote
func (GovernanceData) IsEvent ¶
func (GovernanceData) IsEvent()
func (*GovernanceData) ProtoMessage ¶
func (*GovernanceData) ProtoMessage()
func (*GovernanceData) Reset ¶
func (m *GovernanceData) Reset()
func (*GovernanceData) String ¶
func (m *GovernanceData) String() string
func (*GovernanceData) Validate ¶
func (this *GovernanceData) Validate() error
func (*GovernanceData) XXX_DiscardUnknown ¶
func (m *GovernanceData) XXX_DiscardUnknown()
func (*GovernanceData) XXX_Marshal ¶
func (m *GovernanceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GovernanceData) XXX_Merge ¶
func (m *GovernanceData) XXX_Merge(src proto.Message)
func (*GovernanceData) XXX_Size ¶
func (m *GovernanceData) XXX_Size() int
func (*GovernanceData) XXX_Unmarshal ¶
func (m *GovernanceData) XXX_Unmarshal(b []byte) error
type Identifier ¶
type Identifier struct { // The identifier // // Types that are valid to be assigned to Identifier: // *Identifier_EthereumAddress // *Identifier_BitcoinAddress Identifier isIdentifier_Identifier `protobuf_oneof:"identifier"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used as a wrapper type on any possible network address supported by Vega
func (*Identifier) Descriptor ¶
func (*Identifier) Descriptor() ([]byte, []int)
func (*Identifier) GetBitcoinAddress ¶
func (m *Identifier) GetBitcoinAddress() *BitcoinAddress
func (*Identifier) GetEthereumAddress ¶
func (m *Identifier) GetEthereumAddress() *EthereumAddress
func (*Identifier) GetIdentifier ¶
func (m *Identifier) GetIdentifier() isIdentifier_Identifier
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) Reset ¶
func (m *Identifier) Reset()
func (*Identifier) String ¶
func (m *Identifier) String() string
func (*Identifier) Validate ¶
func (this *Identifier) Validate() error
func (*Identifier) XXX_DiscardUnknown ¶
func (m *Identifier) XXX_DiscardUnknown()
func (*Identifier) XXX_Marshal ¶
func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Identifier) XXX_Merge ¶
func (m *Identifier) XXX_Merge(src proto.Message)
func (*Identifier) XXX_OneofWrappers ¶
func (*Identifier) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Identifier) XXX_Size ¶
func (m *Identifier) XXX_Size() int
func (*Identifier) XXX_Unmarshal ¶
func (m *Identifier) XXX_Unmarshal(b []byte) error
type Identifier_BitcoinAddress ¶
type Identifier_BitcoinAddress struct {
BitcoinAddress *BitcoinAddress `protobuf:"bytes,2,opt,name=bitcoin_address,json=bitcoinAddress,proto3,oneof"`
}
type Identifier_EthereumAddress ¶
type Identifier_EthereumAddress struct {
EthereumAddress *EthereumAddress `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3,oneof"`
}
type Instrument ¶
type Instrument struct { // Instrument identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Code for the instrument Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // Name of the instrument Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // A collection of instrument meta-data Metadata *InstrumentMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // The product the instrument is composed of // // Types that are valid to be assigned to Product: // *Instrument_Future Product isInstrument_Product `protobuf_oneof:"product"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Instrument definition
func (Instrument) DeepClone ¶
func (i Instrument) DeepClone() *Instrument
func (*Instrument) Descriptor ¶
func (*Instrument) Descriptor() ([]byte, []int)
func (*Instrument) GetCode ¶
func (m *Instrument) GetCode() string
func (*Instrument) GetFuture ¶
func (m *Instrument) GetFuture() *Future
func (*Instrument) GetId ¶
func (m *Instrument) GetId() string
func (*Instrument) GetMetadata ¶
func (m *Instrument) GetMetadata() *InstrumentMetadata
func (*Instrument) GetName ¶
func (m *Instrument) GetName() string
func (*Instrument) GetProduct ¶
func (m *Instrument) GetProduct() isInstrument_Product
func (*Instrument) ProtoMessage ¶
func (*Instrument) ProtoMessage()
func (*Instrument) Reset ¶
func (m *Instrument) Reset()
func (*Instrument) String ¶
func (m *Instrument) String() string
func (*Instrument) Validate ¶
func (this *Instrument) Validate() error
func (*Instrument) XXX_DiscardUnknown ¶
func (m *Instrument) XXX_DiscardUnknown()
func (*Instrument) XXX_Marshal ¶
func (m *Instrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Instrument) XXX_Merge ¶
func (m *Instrument) XXX_Merge(src proto.Message)
func (*Instrument) XXX_OneofWrappers ¶
func (*Instrument) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Instrument) XXX_Size ¶
func (m *Instrument) XXX_Size() int
func (*Instrument) XXX_Unmarshal ¶
func (m *Instrument) XXX_Unmarshal(b []byte) error
type InstrumentConfiguration ¶
type InstrumentConfiguration struct { // Instrument name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Instrument code Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // Product specification // // Types that are valid to be assigned to Product: // *InstrumentConfiguration_Future Product isInstrumentConfiguration_Product `protobuf_oneof:"product"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Instrument configuration
func (InstrumentConfiguration) DeepClone ¶
func (i InstrumentConfiguration) DeepClone() *InstrumentConfiguration
func (*InstrumentConfiguration) Descriptor ¶
func (*InstrumentConfiguration) Descriptor() ([]byte, []int)
func (*InstrumentConfiguration) GetCode ¶
func (m *InstrumentConfiguration) GetCode() string
func (*InstrumentConfiguration) GetFuture ¶
func (m *InstrumentConfiguration) GetFuture() *FutureProduct
func (*InstrumentConfiguration) GetName ¶
func (m *InstrumentConfiguration) GetName() string
func (*InstrumentConfiguration) GetProduct ¶
func (m *InstrumentConfiguration) GetProduct() isInstrumentConfiguration_Product
func (*InstrumentConfiguration) ProtoMessage ¶
func (*InstrumentConfiguration) ProtoMessage()
func (*InstrumentConfiguration) Reset ¶
func (m *InstrumentConfiguration) Reset()
func (*InstrumentConfiguration) String ¶
func (m *InstrumentConfiguration) String() string
func (*InstrumentConfiguration) Validate ¶
func (this *InstrumentConfiguration) Validate() error
func (*InstrumentConfiguration) XXX_DiscardUnknown ¶
func (m *InstrumentConfiguration) XXX_DiscardUnknown()
func (*InstrumentConfiguration) XXX_Marshal ¶
func (m *InstrumentConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstrumentConfiguration) XXX_Merge ¶
func (m *InstrumentConfiguration) XXX_Merge(src proto.Message)
func (*InstrumentConfiguration) XXX_OneofWrappers ¶
func (*InstrumentConfiguration) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*InstrumentConfiguration) XXX_Size ¶
func (m *InstrumentConfiguration) XXX_Size() int
func (*InstrumentConfiguration) XXX_Unmarshal ¶
func (m *InstrumentConfiguration) XXX_Unmarshal(b []byte) error
type InstrumentConfiguration_Future ¶
type InstrumentConfiguration_Future struct {
Future *FutureProduct `protobuf:"bytes,100,opt,name=future,proto3,oneof"`
}
func (InstrumentConfiguration_Future) DeepClone ¶
func (i InstrumentConfiguration_Future) DeepClone() *InstrumentConfiguration_Future
type InstrumentMetadata ¶
type InstrumentMetadata struct { // A list of 0 or more tags Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Instrument metadata definition
func (InstrumentMetadata) DeepClone ¶
func (i InstrumentMetadata) DeepClone() *InstrumentMetadata
func (*InstrumentMetadata) Descriptor ¶
func (*InstrumentMetadata) Descriptor() ([]byte, []int)
func (*InstrumentMetadata) GetTags ¶
func (m *InstrumentMetadata) GetTags() []string
func (*InstrumentMetadata) ProtoMessage ¶
func (*InstrumentMetadata) ProtoMessage()
func (*InstrumentMetadata) Reset ¶
func (m *InstrumentMetadata) Reset()
func (*InstrumentMetadata) String ¶
func (m *InstrumentMetadata) String() string
func (*InstrumentMetadata) Validate ¶
func (this *InstrumentMetadata) Validate() error
func (*InstrumentMetadata) XXX_DiscardUnknown ¶
func (m *InstrumentMetadata) XXX_DiscardUnknown()
func (*InstrumentMetadata) XXX_Marshal ¶
func (m *InstrumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstrumentMetadata) XXX_Merge ¶
func (m *InstrumentMetadata) XXX_Merge(src proto.Message)
func (*InstrumentMetadata) XXX_Size ¶
func (m *InstrumentMetadata) XXX_Size() int
func (*InstrumentMetadata) XXX_Unmarshal ¶
func (m *InstrumentMetadata) XXX_Unmarshal(b []byte) error
type Instrument_Future ¶
type Instrument_Future struct {
Future *Future `protobuf:"bytes,100,opt,name=future,proto3,oneof"`
}
func (Instrument_Future) DeepClone ¶
func (i Instrument_Future) DeepClone() *Instrument_Future
type Interval ¶
type Interval int32
Represents a set of time intervals that are used when querying for candle-stick data
const ( // Default value, always invalid Interval_INTERVAL_UNSPECIFIED Interval = 0 // 1 minute. Interval_INTERVAL_I1M Interval = 60 // 5 minutes. Interval_INTERVAL_I5M Interval = 300 // 15 minutes. Interval_INTERVAL_I15M Interval = 900 // 1 hour. Interval_INTERVAL_I1H Interval = 3600 // 6 hours. Interval_INTERVAL_I6H Interval = 21600 // 1 day. Interval_INTERVAL_I1D Interval = 86400 )
func (Interval) EnumDescriptor ¶
type LedgerEntry ¶
type LedgerEntry struct { // One or more accounts to transfer from FromAccount string `protobuf:"bytes,1,opt,name=from_account,json=fromAccount,proto3" json:"from_account,omitempty"` // One or more accounts to transfer to ToAccount string `protobuf:"bytes,2,opt,name=to_account,json=toAccount,proto3" json:"to_account,omitempty"` // An amount to transfer Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // A reference for auditing purposes Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // Type of ledger entry Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // Timestamp for the time the ledger entry was created, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a ledger entry on Vega
func (LedgerEntry) DeepClone ¶
func (l LedgerEntry) DeepClone() *LedgerEntry
func (*LedgerEntry) Descriptor ¶
func (*LedgerEntry) Descriptor() ([]byte, []int)
func (*LedgerEntry) GetAmount ¶
func (m *LedgerEntry) GetAmount() string
func (*LedgerEntry) GetFromAccount ¶
func (m *LedgerEntry) GetFromAccount() string
func (*LedgerEntry) GetReference ¶
func (m *LedgerEntry) GetReference() string
func (*LedgerEntry) GetTimestamp ¶
func (m *LedgerEntry) GetTimestamp() int64
func (*LedgerEntry) GetToAccount ¶
func (m *LedgerEntry) GetToAccount() string
func (*LedgerEntry) GetType ¶
func (m *LedgerEntry) GetType() string
func (*LedgerEntry) ProtoMessage ¶
func (*LedgerEntry) ProtoMessage()
func (*LedgerEntry) Reset ¶
func (m *LedgerEntry) Reset()
func (*LedgerEntry) String ¶
func (m *LedgerEntry) String() string
func (*LedgerEntry) Validate ¶
func (this *LedgerEntry) Validate() error
func (*LedgerEntry) XXX_DiscardUnknown ¶
func (m *LedgerEntry) XXX_DiscardUnknown()
func (*LedgerEntry) XXX_Marshal ¶
func (m *LedgerEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerEntry) XXX_Merge ¶
func (m *LedgerEntry) XXX_Merge(src proto.Message)
func (*LedgerEntry) XXX_Size ¶
func (m *LedgerEntry) XXX_Size() int
func (*LedgerEntry) XXX_Unmarshal ¶
func (m *LedgerEntry) XXX_Unmarshal(b []byte) error
type LiquidityMonitoringParameters ¶
type LiquidityMonitoringParameters struct { // Specifies parameters related to target stake calculation TargetStakeParameters *TargetStakeParameters `` /* 126-byte string literal not displayed */ // Specifies the triggering ratio for entering liquidity auction TriggeringRatio float64 `protobuf:"fixed64,2,opt,name=triggering_ratio,json=triggeringRatio,proto3" json:"triggering_ratio,omitempty"` // Specifies by how many seconds an auction should be extended if leaving the auction were to trigger a liquidity auction AuctionExtension int64 `protobuf:"varint,3,opt,name=auction_extension,json=auctionExtension,proto3" json:"auction_extension,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LiquidityMonitoringParameters contains settings used for liquidity monitoring
func (LiquidityMonitoringParameters) DeepClone ¶
func (l LiquidityMonitoringParameters) DeepClone() *LiquidityMonitoringParameters
func (*LiquidityMonitoringParameters) Descriptor ¶
func (*LiquidityMonitoringParameters) Descriptor() ([]byte, []int)
func (*LiquidityMonitoringParameters) GetAuctionExtension ¶
func (m *LiquidityMonitoringParameters) GetAuctionExtension() int64
func (*LiquidityMonitoringParameters) GetTargetStakeParameters ¶
func (m *LiquidityMonitoringParameters) GetTargetStakeParameters() *TargetStakeParameters
func (*LiquidityMonitoringParameters) GetTriggeringRatio ¶
func (m *LiquidityMonitoringParameters) GetTriggeringRatio() float64
func (*LiquidityMonitoringParameters) ProtoMessage ¶
func (*LiquidityMonitoringParameters) ProtoMessage()
func (*LiquidityMonitoringParameters) Reset ¶
func (m *LiquidityMonitoringParameters) Reset()
func (*LiquidityMonitoringParameters) String ¶
func (m *LiquidityMonitoringParameters) String() string
func (*LiquidityMonitoringParameters) Validate ¶
func (this *LiquidityMonitoringParameters) Validate() error
func (*LiquidityMonitoringParameters) XXX_DiscardUnknown ¶
func (m *LiquidityMonitoringParameters) XXX_DiscardUnknown()
func (*LiquidityMonitoringParameters) XXX_Marshal ¶
func (m *LiquidityMonitoringParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityMonitoringParameters) XXX_Merge ¶
func (m *LiquidityMonitoringParameters) XXX_Merge(src proto.Message)
func (*LiquidityMonitoringParameters) XXX_Size ¶
func (m *LiquidityMonitoringParameters) XXX_Size() int
func (*LiquidityMonitoringParameters) XXX_Unmarshal ¶
func (m *LiquidityMonitoringParameters) XXX_Unmarshal(b []byte) error
type LiquidityOrder ¶
type LiquidityOrder struct { // The pegged reference point for the order Reference PeggedReference `protobuf:"varint,1,opt,name=reference,proto3,enum=vega.PeggedReference" json:"reference,omitempty"` // The relative proportion of the commitment to be allocated at a price level Proportion uint32 `protobuf:"varint,2,opt,name=proportion,proto3" json:"proportion,omitempty"` // The offset/amount of units away for the order Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a liquidity order
func (LiquidityOrder) DeepClone ¶
func (l LiquidityOrder) DeepClone() *LiquidityOrder
func (*LiquidityOrder) Descriptor ¶
func (*LiquidityOrder) Descriptor() ([]byte, []int)
func (*LiquidityOrder) GetOffset ¶
func (m *LiquidityOrder) GetOffset() int64
func (*LiquidityOrder) GetProportion ¶
func (m *LiquidityOrder) GetProportion() uint32
func (*LiquidityOrder) GetReference ¶
func (m *LiquidityOrder) GetReference() PeggedReference
func (*LiquidityOrder) ProtoMessage ¶
func (*LiquidityOrder) ProtoMessage()
func (*LiquidityOrder) Reset ¶
func (m *LiquidityOrder) Reset()
func (*LiquidityOrder) String ¶
func (m *LiquidityOrder) String() string
func (*LiquidityOrder) Validate ¶
func (this *LiquidityOrder) Validate() error
func (*LiquidityOrder) XXX_DiscardUnknown ¶
func (m *LiquidityOrder) XXX_DiscardUnknown()
func (*LiquidityOrder) XXX_Marshal ¶
func (m *LiquidityOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityOrder) XXX_Merge ¶
func (m *LiquidityOrder) XXX_Merge(src proto.Message)
func (*LiquidityOrder) XXX_Size ¶
func (m *LiquidityOrder) XXX_Size() int
func (*LiquidityOrder) XXX_Unmarshal ¶
func (m *LiquidityOrder) XXX_Unmarshal(b []byte) error
type LiquidityOrderReference ¶
type LiquidityOrderReference struct { // Unique identifier of the pegged order generated by the core to fulfil this liquidity order OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // The liquidity order from the original submission LiquidityOrder *LiquidityOrder `protobuf:"bytes,2,opt,name=liquidity_order,json=liquidityOrder,proto3" json:"liquidity_order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A pair of a liquidity order and the id of the generated order by the core
func (LiquidityOrderReference) DeepClone ¶
func (l LiquidityOrderReference) DeepClone() *LiquidityOrderReference
func (*LiquidityOrderReference) Descriptor ¶
func (*LiquidityOrderReference) Descriptor() ([]byte, []int)
func (*LiquidityOrderReference) GetLiquidityOrder ¶
func (m *LiquidityOrderReference) GetLiquidityOrder() *LiquidityOrder
func (*LiquidityOrderReference) GetOrderId ¶
func (m *LiquidityOrderReference) GetOrderId() string
func (*LiquidityOrderReference) ProtoMessage ¶
func (*LiquidityOrderReference) ProtoMessage()
func (*LiquidityOrderReference) Reset ¶
func (m *LiquidityOrderReference) Reset()
func (*LiquidityOrderReference) String ¶
func (m *LiquidityOrderReference) String() string
func (*LiquidityOrderReference) Validate ¶
func (this *LiquidityOrderReference) Validate() error
func (*LiquidityOrderReference) XXX_DiscardUnknown ¶
func (m *LiquidityOrderReference) XXX_DiscardUnknown()
func (*LiquidityOrderReference) XXX_Marshal ¶
func (m *LiquidityOrderReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityOrderReference) XXX_Merge ¶
func (m *LiquidityOrderReference) XXX_Merge(src proto.Message)
func (*LiquidityOrderReference) XXX_Size ¶
func (m *LiquidityOrderReference) XXX_Size() int
func (*LiquidityOrderReference) XXX_Unmarshal ¶
func (m *LiquidityOrderReference) XXX_Unmarshal(b []byte) error
type LiquidityProviderFeeShare ¶
type LiquidityProviderFeeShare struct { string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` EquityLikeShare string `protobuf:"bytes,2,opt,name=equity_like_share,json=equityLikeShare,proto3" json:"equity_like_share,omitempty"` // The average entry valuation of the liquidity provider for the market }Party
The equity like share of liquidity fee for each liquidity provider
func (LiquidityProviderFeeShare) DeepClone ¶
func (l LiquidityProviderFeeShare) DeepClone() *LiquidityProviderFeeShare
func (*LiquidityProviderFeeShare) Descriptor ¶
func (*LiquidityProviderFeeShare) Descriptor() ([]byte, []int)
func (*LiquidityProviderFeeShare) GetAverageEntryValuation ¶
func (m *LiquidityProviderFeeShare) GetAverageEntryValuation() string
func (*LiquidityProviderFeeShare) GetEquityLikeShare ¶
func (m *LiquidityProviderFeeShare) GetEquityLikeShare() string
func (*LiquidityProviderFeeShare) GetParty ¶
func (m *LiquidityProviderFeeShare) GetParty() string
func (*LiquidityProviderFeeShare) ProtoMessage ¶
func (*LiquidityProviderFeeShare) ProtoMessage()
func (*LiquidityProviderFeeShare) Reset ¶
func (m *LiquidityProviderFeeShare) Reset()
func (*LiquidityProviderFeeShare) String ¶
func (m *LiquidityProviderFeeShare) String() string
func (*LiquidityProviderFeeShare) Validate ¶
func (this *LiquidityProviderFeeShare) Validate() error
func (*LiquidityProviderFeeShare) XXX_DiscardUnknown ¶
func (m *LiquidityProviderFeeShare) XXX_DiscardUnknown()
func (*LiquidityProviderFeeShare) XXX_Marshal ¶
func (m *LiquidityProviderFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProviderFeeShare) XXX_Merge ¶
func (m *LiquidityProviderFeeShare) XXX_Merge(src proto.Message)
func (*LiquidityProviderFeeShare) XXX_Size ¶
func (m *LiquidityProviderFeeShare) XXX_Size() int
func (*LiquidityProviderFeeShare) XXX_Unmarshal ¶
func (m *LiquidityProviderFeeShare) XXX_Unmarshal(b []byte) error
type LiquidityProvision ¶
type LiquidityProvision struct { // Unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique party identifier for the creator of the provision PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Timestamp for when the order was created at, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Timestamp for when the order was updated at, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Market identifier for the order, required field MarketId string `protobuf:"bytes,5,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,6,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,7,opt,name=fee,proto3" json:"fee,omitempty"` // A set of liquidity sell orders to meet the liquidity provision obligation Sells []*LiquidityOrderReference `protobuf:"bytes,8,rep,name=sells,proto3" json:"sells,omitempty"` // A set of liquidity buy orders to meet the liquidity provision obligation Buys []*LiquidityOrderReference `protobuf:"bytes,9,rep,name=buys,proto3" json:"buys,omitempty"` // Version of this liquidity provision order Version string `protobuf:"bytes,10,opt,name=version,proto3" json:"version,omitempty"` // Status of this liquidity provision order Status LiquidityProvision_Status `protobuf:"varint,11,opt,name=status,proto3,enum=vega.LiquidityProvision_Status" json:"status,omitempty"` // A reference shared between this liquidity provision and all it's orders Reference string `protobuf:"bytes,12,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An Liquidity provider commitment
func (LiquidityProvision) DeepClone ¶
func (l LiquidityProvision) DeepClone() *LiquidityProvision
func (*LiquidityProvision) Descriptor ¶
func (*LiquidityProvision) Descriptor() ([]byte, []int)
func (*LiquidityProvision) Float64Fee ¶
func (l *LiquidityProvision) Float64Fee() float64
Float64Fee tries to parse the Fee (string) into a float64. If parsing fails 0 is returned.
func (*LiquidityProvision) GetBuys ¶
func (m *LiquidityProvision) GetBuys() []*LiquidityOrderReference
func (*LiquidityProvision) GetCommitmentAmount ¶
func (m *LiquidityProvision) GetCommitmentAmount() string
func (*LiquidityProvision) GetCreatedAt ¶
func (m *LiquidityProvision) GetCreatedAt() int64
func (*LiquidityProvision) GetFee ¶
func (m *LiquidityProvision) GetFee() string
func (*LiquidityProvision) GetId ¶
func (m *LiquidityProvision) GetId() string
func (*LiquidityProvision) GetMarketId ¶
func (m *LiquidityProvision) GetMarketId() string
func (*LiquidityProvision) GetPartyId ¶
func (m *LiquidityProvision) GetPartyId() string
func (*LiquidityProvision) GetReference ¶
func (m *LiquidityProvision) GetReference() string
func (*LiquidityProvision) GetSells ¶
func (m *LiquidityProvision) GetSells() []*LiquidityOrderReference
func (*LiquidityProvision) GetStatus ¶
func (m *LiquidityProvision) GetStatus() LiquidityProvision_Status
func (*LiquidityProvision) GetUpdatedAt ¶
func (m *LiquidityProvision) GetUpdatedAt() int64
func (*LiquidityProvision) GetVersion ¶
func (m *LiquidityProvision) GetVersion() string
func (LiquidityProvision) IsEvent ¶
func (LiquidityProvision) IsEvent()
func (*LiquidityProvision) ProtoMessage ¶
func (*LiquidityProvision) ProtoMessage()
func (*LiquidityProvision) Reset ¶
func (m *LiquidityProvision) Reset()
func (*LiquidityProvision) String ¶
func (m *LiquidityProvision) String() string
func (*LiquidityProvision) Validate ¶
func (this *LiquidityProvision) Validate() error
func (*LiquidityProvision) XXX_DiscardUnknown ¶
func (m *LiquidityProvision) XXX_DiscardUnknown()
func (*LiquidityProvision) XXX_Marshal ¶
func (m *LiquidityProvision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LiquidityProvision) XXX_Merge ¶
func (m *LiquidityProvision) XXX_Merge(src proto.Message)
func (*LiquidityProvision) XXX_Size ¶
func (m *LiquidityProvision) XXX_Size() int
func (*LiquidityProvision) XXX_Unmarshal ¶
func (m *LiquidityProvision) XXX_Unmarshal(b []byte) error
type LiquidityProvision_Status ¶
type LiquidityProvision_Status int32
Status of a liquidity provision order
const ( // The default value LiquidityProvision_STATUS_UNSPECIFIED LiquidityProvision_Status = 0 // The liquidity provision is active LiquidityProvision_STATUS_ACTIVE LiquidityProvision_Status = 1 // The liquidity provision was stopped by the network LiquidityProvision_STATUS_STOPPED LiquidityProvision_Status = 2 // The liquidity provision was cancelled by the liquidity provider LiquidityProvision_STATUS_CANCELLED LiquidityProvision_Status = 3 // The liquidity provision was invalid and got rejected LiquidityProvision_STATUS_REJECTED LiquidityProvision_Status = 4 // The liquidity provision is valid and accepted by network, but orders aren't deployed LiquidityProvision_STATUS_UNDEPLOYED LiquidityProvision_Status = 5 // The liquidity provision is valid and accepted by network // but have never been deployed. I when it's possible to deploy them for the first time // margin check fails, then they will be cancelled without any penalties. LiquidityProvision_STATUS_PENDING LiquidityProvision_Status = 6 )
func (LiquidityProvision_Status) EnumDescriptor ¶
func (LiquidityProvision_Status) EnumDescriptor() ([]byte, []int)
func (LiquidityProvision_Status) String ¶
func (x LiquidityProvision_Status) String() string
type LogNormalModelParams ¶
type LogNormalModelParams struct { // Mu param Mu float64 `protobuf:"fixed64,1,opt,name=mu,proto3" json:"mu,omitempty"` // R param R float64 `protobuf:"fixed64,2,opt,name=r,proto3" json:"r,omitempty"` // Sigma param Sigma float64 `protobuf:"fixed64,3,opt,name=sigma,proto3" json:"sigma,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk model parameters for log normal
func (LogNormalModelParams) DeepClone ¶
func (l LogNormalModelParams) DeepClone() *LogNormalModelParams
func (*LogNormalModelParams) Descriptor ¶
func (*LogNormalModelParams) Descriptor() ([]byte, []int)
func (*LogNormalModelParams) GetMu ¶
func (m *LogNormalModelParams) GetMu() float64
func (*LogNormalModelParams) GetR ¶
func (m *LogNormalModelParams) GetR() float64
func (*LogNormalModelParams) GetSigma ¶
func (m *LogNormalModelParams) GetSigma() float64
func (*LogNormalModelParams) ProtoMessage ¶
func (*LogNormalModelParams) ProtoMessage()
func (*LogNormalModelParams) Reset ¶
func (m *LogNormalModelParams) Reset()
func (*LogNormalModelParams) String ¶
func (m *LogNormalModelParams) String() string
func (*LogNormalModelParams) Validate ¶
func (this *LogNormalModelParams) Validate() error
func (*LogNormalModelParams) XXX_DiscardUnknown ¶
func (m *LogNormalModelParams) XXX_DiscardUnknown()
func (*LogNormalModelParams) XXX_Marshal ¶
func (m *LogNormalModelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogNormalModelParams) XXX_Merge ¶
func (m *LogNormalModelParams) XXX_Merge(src proto.Message)
func (*LogNormalModelParams) XXX_Size ¶
func (m *LogNormalModelParams) XXX_Size() int
func (*LogNormalModelParams) XXX_Unmarshal ¶
func (m *LogNormalModelParams) XXX_Unmarshal(b []byte) error
type LogNormalRiskModel ¶
type LogNormalRiskModel struct { // Risk Aversion Parameter RiskAversionParameter float64 `` /* 128-byte string literal not displayed */ // Tau Tau float64 `protobuf:"fixed64,2,opt,name=tau,proto3" json:"tau,omitempty"` // Risk model parameters for log normal Params *LogNormalModelParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk model for log normal
func (LogNormalRiskModel) DeepClone ¶
func (l LogNormalRiskModel) DeepClone() *LogNormalRiskModel
func (*LogNormalRiskModel) Descriptor ¶
func (*LogNormalRiskModel) Descriptor() ([]byte, []int)
func (*LogNormalRiskModel) GetParams ¶
func (m *LogNormalRiskModel) GetParams() *LogNormalModelParams
func (*LogNormalRiskModel) GetRiskAversionParameter ¶
func (m *LogNormalRiskModel) GetRiskAversionParameter() float64
func (*LogNormalRiskModel) GetTau ¶
func (m *LogNormalRiskModel) GetTau() float64
func (LogNormalRiskModel) IsRiskModel ¶
func (LogNormalRiskModel) IsRiskModel()
func (*LogNormalRiskModel) ProtoMessage ¶
func (*LogNormalRiskModel) ProtoMessage()
func (*LogNormalRiskModel) Reset ¶
func (m *LogNormalRiskModel) Reset()
func (*LogNormalRiskModel) String ¶
func (m *LogNormalRiskModel) String() string
func (*LogNormalRiskModel) Validate ¶
func (this *LogNormalRiskModel) Validate() error
func (*LogNormalRiskModel) XXX_DiscardUnknown ¶
func (m *LogNormalRiskModel) XXX_DiscardUnknown()
func (*LogNormalRiskModel) XXX_Marshal ¶
func (m *LogNormalRiskModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogNormalRiskModel) XXX_Merge ¶
func (m *LogNormalRiskModel) XXX_Merge(src proto.Message)
func (*LogNormalRiskModel) XXX_Size ¶
func (m *LogNormalRiskModel) XXX_Size() int
func (*LogNormalRiskModel) XXX_Unmarshal ¶
func (m *LogNormalRiskModel) XXX_Unmarshal(b []byte) error
type MarginCalculator ¶
type MarginCalculator struct { // Scaling factors for margin calculation ScalingFactors *ScalingFactors `protobuf:"bytes,1,opt,name=scaling_factors,json=scalingFactors,proto3" json:"scaling_factors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Margin Calculator definition
func (MarginCalculator) DeepClone ¶
func (m MarginCalculator) DeepClone() *MarginCalculator
func (*MarginCalculator) Descriptor ¶
func (*MarginCalculator) Descriptor() ([]byte, []int)
func (*MarginCalculator) GetScalingFactors ¶
func (m *MarginCalculator) GetScalingFactors() *ScalingFactors
func (*MarginCalculator) ProtoMessage ¶
func (*MarginCalculator) ProtoMessage()
func (*MarginCalculator) Reset ¶
func (m *MarginCalculator) Reset()
func (*MarginCalculator) String ¶
func (m *MarginCalculator) String() string
func (*MarginCalculator) Validate ¶
func (this *MarginCalculator) Validate() error
func (*MarginCalculator) XXX_DiscardUnknown ¶
func (m *MarginCalculator) XXX_DiscardUnknown()
func (*MarginCalculator) XXX_Marshal ¶
func (m *MarginCalculator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarginCalculator) XXX_Merge ¶
func (m *MarginCalculator) XXX_Merge(src proto.Message)
func (*MarginCalculator) XXX_Size ¶
func (m *MarginCalculator) XXX_Size() int
func (*MarginCalculator) XXX_Unmarshal ¶
func (m *MarginCalculator) XXX_Unmarshal(b []byte) error
type MarginLevels ¶
type MarginLevels struct { // Maintenance margin value MaintenanceMargin string `protobuf:"bytes,1,opt,name=maintenance_margin,json=maintenanceMargin,proto3" json:"maintenance_margin,omitempty"` // Search level value SearchLevel string `protobuf:"bytes,2,opt,name=search_level,json=searchLevel,proto3" json:"search_level,omitempty"` // Initial margin value InitialMargin string `protobuf:"bytes,3,opt,name=initial_margin,json=initialMargin,proto3" json:"initial_margin,omitempty"` // Collateral release level value CollateralReleaseLevel string `` /* 129-byte string literal not displayed */ // Party identifier PartyId string `protobuf:"bytes,5,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Market identifier MarketId string `protobuf:"bytes,6,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Asset identifier Asset string `protobuf:"bytes,7,opt,name=asset,proto3" json:"asset,omitempty"` // Timestamp for the time the ledger entry was created, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` Timestamp int64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the margin levels for a party on a market at a given time
func (*MarginLevels) Descriptor ¶
func (*MarginLevels) Descriptor() ([]byte, []int)
func (*MarginLevels) GetAsset ¶
func (m *MarginLevels) GetAsset() string
func (*MarginLevels) GetCollateralReleaseLevel ¶
func (m *MarginLevels) GetCollateralReleaseLevel() string
func (*MarginLevels) GetInitialMargin ¶
func (m *MarginLevels) GetInitialMargin() string
func (*MarginLevels) GetMaintenanceMargin ¶
func (m *MarginLevels) GetMaintenanceMargin() string
func (*MarginLevels) GetMarketId ¶
func (m *MarginLevels) GetMarketId() string
func (*MarginLevels) GetPartyId ¶
func (m *MarginLevels) GetPartyId() string
func (*MarginLevels) GetSearchLevel ¶
func (m *MarginLevels) GetSearchLevel() string
func (*MarginLevels) GetTimestamp ¶
func (m *MarginLevels) GetTimestamp() int64
func (MarginLevels) IsEvent ¶
func (MarginLevels) IsEvent()
func (*MarginLevels) ProtoMessage ¶
func (*MarginLevels) ProtoMessage()
func (*MarginLevels) Reset ¶
func (m *MarginLevels) Reset()
func (*MarginLevels) String ¶
func (m *MarginLevels) String() string
func (*MarginLevels) Validate ¶
func (this *MarginLevels) Validate() error
func (*MarginLevels) XXX_DiscardUnknown ¶
func (m *MarginLevels) XXX_DiscardUnknown()
func (*MarginLevels) XXX_Marshal ¶
func (m *MarginLevels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarginLevels) XXX_Merge ¶
func (m *MarginLevels) XXX_Merge(src proto.Message)
func (*MarginLevels) XXX_Size ¶
func (m *MarginLevels) XXX_Size() int
func (*MarginLevels) XXX_Unmarshal ¶
func (m *MarginLevels) XXX_Unmarshal(b []byte) error
type Market ¶
type Market struct { // Unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Tradable instrument configuration TradableInstrument *TradableInstrument `protobuf:"bytes,2,opt,name=tradable_instrument,json=tradableInstrument,proto3" json:"tradable_instrument,omitempty"` // Number of decimal places that a price must be shifted by in order to get a // correct price denominated in the currency of the market, for example: // `realPrice = price / 10^decimalPlaces` DecimalPlaces uint64 `protobuf:"varint,3,opt,name=decimal_places,json=decimalPlaces,proto3" json:"decimal_places,omitempty"` // Fees configuration Fees *Fees `protobuf:"bytes,4,opt,name=fees,proto3" json:"fees,omitempty"` // Auction duration specifies how long the opening auction will run (minimum // duration and optionally a minimum traded volume) OpeningAuction *AuctionDuration `protobuf:"bytes,5,opt,name=opening_auction,json=openingAuction,proto3" json:"opening_auction,omitempty"` // Trading mode for the market // // Types that are valid to be assigned to TradingModeConfig: // *Market_Continuous // *Market_Discrete TradingModeConfig isMarket_TradingModeConfig `protobuf_oneof:"trading_mode_config"` // PriceMonitoringSettings for the market PriceMonitoringSettings *PriceMonitoringSettings `` /* 132-byte string literal not displayed */ // LiquidityMonitoringParameters for the market LiquidityMonitoringParameters *LiquidityMonitoringParameters `` /* 150-byte string literal not displayed */ // Current mode of execution of the market TradingMode Market_TradingMode `protobuf:"varint,8,opt,name=trading_mode,json=tradingMode,proto3,enum=vega.Market_TradingMode" json:"trading_mode,omitempty"` // Current state of the market State Market_State `protobuf:"varint,9,opt,name=state,proto3,enum=vega.Market_State" json:"state,omitempty"` // Timestamps for when the market stay changes MarketTimestamps *MarketTimestamps `protobuf:"bytes,10,opt,name=market_timestamps,json=marketTimestamps,proto3" json:"market_timestamps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Market definition
func (*Market) Descriptor ¶
func (*Market) GetContinuous ¶
func (m *Market) GetContinuous() *ContinuousTrading
func (*Market) GetDecimalPlaces ¶
func (*Market) GetDiscrete ¶
func (m *Market) GetDiscrete() *DiscreteTrading
func (*Market) GetLiquidityMonitoringParameters ¶
func (m *Market) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
func (*Market) GetMarketTimestamps ¶
func (m *Market) GetMarketTimestamps() *MarketTimestamps
func (*Market) GetOpeningAuction ¶
func (m *Market) GetOpeningAuction() *AuctionDuration
func (*Market) GetPriceMonitoringSettings ¶
func (m *Market) GetPriceMonitoringSettings() *PriceMonitoringSettings
func (*Market) GetState ¶
func (m *Market) GetState() Market_State
func (*Market) GetTradableInstrument ¶
func (m *Market) GetTradableInstrument() *TradableInstrument
func (*Market) GetTradingMode ¶
func (m *Market) GetTradingMode() Market_TradingMode
func (*Market) GetTradingModeConfig ¶
func (m *Market) GetTradingModeConfig() isMarket_TradingModeConfig
func (*Market) ProtoMessage ¶
func (*Market) ProtoMessage()
func (*Market) XXX_DiscardUnknown ¶
func (m *Market) XXX_DiscardUnknown()
func (*Market) XXX_Marshal ¶
func (*Market) XXX_OneofWrappers ¶
func (*Market) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Market) XXX_Unmarshal ¶
type MarketData ¶
type MarketData struct { // Mark price, as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places MarkPrice string `protobuf:"bytes,1,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` // Highest price level on an order book for buy orders, as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places BestBidPrice string `protobuf:"bytes,2,opt,name=best_bid_price,json=bestBidPrice,proto3" json:"best_bid_price,omitempty"` // Aggregated volume being bid at the best bid price BestBidVolume uint64 `protobuf:"varint,3,opt,name=best_bid_volume,json=bestBidVolume,proto3" json:"best_bid_volume,omitempty"` // Lowest price level on an order book for offer orders BestOfferPrice string `protobuf:"bytes,4,opt,name=best_offer_price,json=bestOfferPrice,proto3" json:"best_offer_price,omitempty"` // Aggregated volume being offered at the best offer price, as an integer, for example `123456` is a correctly // // formatted price of `1.23456` assuming market configured to 5 decimal places BestOfferVolume uint64 `protobuf:"varint,5,opt,name=best_offer_volume,json=bestOfferVolume,proto3" json:"best_offer_volume,omitempty"` // Highest price on the order book for buy orders not including pegged orders BestStaticBidPrice string `protobuf:"bytes,6,opt,name=best_static_bid_price,json=bestStaticBidPrice,proto3" json:"best_static_bid_price,omitempty"` // Total volume at the best static bid price excluding pegged orders BestStaticBidVolume uint64 `protobuf:"varint,7,opt,name=best_static_bid_volume,json=bestStaticBidVolume,proto3" json:"best_static_bid_volume,omitempty"` // Lowest price on the order book for sell orders not including pegged orders BestStaticOfferPrice string `protobuf:"bytes,8,opt,name=best_static_offer_price,json=bestStaticOfferPrice,proto3" json:"best_static_offer_price,omitempty"` // Total volume at the best static offer price excluding pegged orders BestStaticOfferVolume uint64 `` /* 129-byte string literal not displayed */ // Arithmetic average of the best bid price and best offer price, as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places MidPrice string `protobuf:"bytes,10,opt,name=mid_price,json=midPrice,proto3" json:"mid_price,omitempty"` // Arithmetic average of the best static bid price and best static offer price StaticMidPrice string `protobuf:"bytes,11,opt,name=static_mid_price,json=staticMidPrice,proto3" json:"static_mid_price,omitempty"` // Market identifier for the data Market string `protobuf:"bytes,12,opt,name=market,proto3" json:"market,omitempty"` // Timestamp at which this mark price was relevant, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` Timestamp int64 `protobuf:"varint,13,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The sum of the size of all positions greater than 0 on the market OpenInterest uint64 `protobuf:"varint,14,opt,name=open_interest,json=openInterest,proto3" json:"open_interest,omitempty"` // Time in seconds until the end of the auction (0 if currently not in auction period) AuctionEnd int64 `protobuf:"varint,15,opt,name=auction_end,json=auctionEnd,proto3" json:"auction_end,omitempty"` // Time until next auction (used in FBA's) - currently always 0 AuctionStart int64 `protobuf:"varint,16,opt,name=auction_start,json=auctionStart,proto3" json:"auction_start,omitempty"` // Indicative price (zero if not in auction) IndicativePrice string `protobuf:"bytes,17,opt,name=indicative_price,json=indicativePrice,proto3" json:"indicative_price,omitempty"` // Indicative volume (zero if not in auction) IndicativeVolume uint64 `protobuf:"varint,18,opt,name=indicative_volume,json=indicativeVolume,proto3" json:"indicative_volume,omitempty"` // The current trading mode for the market MarketTradingMode Market_TradingMode `` /* 145-byte string literal not displayed */ // When a market is in an auction trading mode, this field indicates what triggered the auction Trigger AuctionTrigger `protobuf:"varint,20,opt,name=trigger,proto3,enum=vega.AuctionTrigger" json:"trigger,omitempty"` // When a market auction is extended, this field indicates what caused the extension ExtensionTrigger AuctionTrigger `` /* 136-byte string literal not displayed */ // Targeted stake for the given market TargetStake string `protobuf:"bytes,22,opt,name=target_stake,json=targetStake,proto3" json:"target_stake,omitempty"` // Available stake for the given market SuppliedStake string `protobuf:"bytes,23,opt,name=supplied_stake,json=suppliedStake,proto3" json:"supplied_stake,omitempty"` // One or more price monitoring bounds for the current timestamp PriceMonitoringBounds []*PriceMonitoringBounds `` /* 127-byte string literal not displayed */ // the market value proxy MarketValueProxy string `protobuf:"bytes,25,opt,name=market_value_proxy,json=marketValueProxy,proto3" json:"market_value_proxy,omitempty"` // the equity like share of liquidity fee for each liquidity provider XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents data generated by a market when open
func (MarketData) DeepClone ¶
func (m MarketData) DeepClone() *MarketData
func (*MarketData) Descriptor ¶
func (*MarketData) Descriptor() ([]byte, []int)
func (*MarketData) GetAuctionEnd ¶
func (m *MarketData) GetAuctionEnd() int64
func (*MarketData) GetAuctionStart ¶
func (m *MarketData) GetAuctionStart() int64
func (*MarketData) GetBestBidPrice ¶
func (m *MarketData) GetBestBidPrice() string
func (*MarketData) GetBestBidVolume ¶
func (m *MarketData) GetBestBidVolume() uint64
func (*MarketData) GetBestOfferPrice ¶
func (m *MarketData) GetBestOfferPrice() string
func (*MarketData) GetBestOfferVolume ¶
func (m *MarketData) GetBestOfferVolume() uint64
func (*MarketData) GetBestStaticBidPrice ¶
func (m *MarketData) GetBestStaticBidPrice() string
func (*MarketData) GetBestStaticBidVolume ¶
func (m *MarketData) GetBestStaticBidVolume() uint64
func (*MarketData) GetBestStaticOfferPrice ¶
func (m *MarketData) GetBestStaticOfferPrice() string
func (*MarketData) GetBestStaticOfferVolume ¶
func (m *MarketData) GetBestStaticOfferVolume() uint64
func (*MarketData) GetExtensionTrigger ¶
func (m *MarketData) GetExtensionTrigger() AuctionTrigger
func (*MarketData) GetIndicativePrice ¶
func (m *MarketData) GetIndicativePrice() string
func (*MarketData) GetIndicativeVolume ¶
func (m *MarketData) GetIndicativeVolume() uint64
func (*MarketData) GetLiquidityProviderFeeShare ¶
func (m *MarketData) GetLiquidityProviderFeeShare() []*LiquidityProviderFeeShare
func (*MarketData) GetMarkPrice ¶
func (m *MarketData) GetMarkPrice() string
func (*MarketData) GetMarket ¶
func (m *MarketData) GetMarket() string
func (*MarketData) GetMarketTradingMode ¶
func (m *MarketData) GetMarketTradingMode() Market_TradingMode
func (*MarketData) GetMarketValueProxy ¶
func (m *MarketData) GetMarketValueProxy() string
func (*MarketData) GetMidPrice ¶
func (m *MarketData) GetMidPrice() string
func (*MarketData) GetOpenInterest ¶
func (m *MarketData) GetOpenInterest() uint64
func (*MarketData) GetPriceMonitoringBounds ¶
func (m *MarketData) GetPriceMonitoringBounds() []*PriceMonitoringBounds
func (*MarketData) GetStaticMidPrice ¶
func (m *MarketData) GetStaticMidPrice() string
func (*MarketData) GetSuppliedStake ¶
func (m *MarketData) GetSuppliedStake() string
func (*MarketData) GetTargetStake ¶
func (m *MarketData) GetTargetStake() string
func (*MarketData) GetTimestamp ¶
func (m *MarketData) GetTimestamp() int64
func (*MarketData) GetTrigger ¶
func (m *MarketData) GetTrigger() AuctionTrigger
func (MarketData) IsEvent ¶
func (MarketData) IsEvent()
func (*MarketData) ProtoMessage ¶
func (*MarketData) ProtoMessage()
func (*MarketData) Reset ¶
func (m *MarketData) Reset()
func (*MarketData) String ¶
func (m *MarketData) String() string
func (*MarketData) Validate ¶
func (this *MarketData) Validate() error
func (*MarketData) XXX_DiscardUnknown ¶
func (m *MarketData) XXX_DiscardUnknown()
func (*MarketData) XXX_Marshal ¶
func (m *MarketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketData) XXX_Merge ¶
func (m *MarketData) XXX_Merge(src proto.Message)
func (*MarketData) XXX_Size ¶
func (m *MarketData) XXX_Size() int
func (*MarketData) XXX_Unmarshal ¶
func (m *MarketData) XXX_Unmarshal(b []byte) error
type MarketDepth ¶
type MarketDepth struct { // Market identifier MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Collection of price levels for the buy side of the book Buy []*PriceLevel `protobuf:"bytes,2,rep,name=buy,proto3" json:"buy,omitempty"` // Collection of price levels for the sell side of the book Sell []*PriceLevel `protobuf:"bytes,3,rep,name=sell,proto3" json:"sell,omitempty"` // Sequence number for the market depth data returned SequenceNumber uint64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents market depth or order book data for the specified market on Vega
func (*MarketDepth) Descriptor ¶
func (*MarketDepth) Descriptor() ([]byte, []int)
func (*MarketDepth) GetBuy ¶
func (m *MarketDepth) GetBuy() []*PriceLevel
func (*MarketDepth) GetMarketId ¶
func (m *MarketDepth) GetMarketId() string
func (*MarketDepth) GetSell ¶
func (m *MarketDepth) GetSell() []*PriceLevel
func (*MarketDepth) GetSequenceNumber ¶
func (m *MarketDepth) GetSequenceNumber() uint64
func (*MarketDepth) ProtoMessage ¶
func (*MarketDepth) ProtoMessage()
func (*MarketDepth) Reset ¶
func (m *MarketDepth) Reset()
func (*MarketDepth) String ¶
func (m *MarketDepth) String() string
func (*MarketDepth) Validate ¶
func (this *MarketDepth) Validate() error
func (*MarketDepth) XXX_DiscardUnknown ¶
func (m *MarketDepth) XXX_DiscardUnknown()
func (*MarketDepth) XXX_Marshal ¶
func (m *MarketDepth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketDepth) XXX_Merge ¶
func (m *MarketDepth) XXX_Merge(src proto.Message)
func (*MarketDepth) XXX_Size ¶
func (m *MarketDepth) XXX_Size() int
func (*MarketDepth) XXX_Unmarshal ¶
func (m *MarketDepth) XXX_Unmarshal(b []byte) error
type MarketDepthUpdate ¶
type MarketDepthUpdate struct { // Market identifier MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Collection of updated price levels for the buy side of the book Buy []*PriceLevel `protobuf:"bytes,2,rep,name=buy,proto3" json:"buy,omitempty"` // Collection of updated price levels for the sell side of the book Sell []*PriceLevel `protobuf:"bytes,3,rep,name=sell,proto3" json:"sell,omitempty"` // Sequence number for the market depth update data returned SequenceNumber uint64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the changed market depth since the last update
func (*MarketDepthUpdate) Descriptor ¶
func (*MarketDepthUpdate) Descriptor() ([]byte, []int)
func (*MarketDepthUpdate) GetBuy ¶
func (m *MarketDepthUpdate) GetBuy() []*PriceLevel
func (*MarketDepthUpdate) GetMarketId ¶
func (m *MarketDepthUpdate) GetMarketId() string
func (*MarketDepthUpdate) GetSell ¶
func (m *MarketDepthUpdate) GetSell() []*PriceLevel
func (*MarketDepthUpdate) GetSequenceNumber ¶
func (m *MarketDepthUpdate) GetSequenceNumber() uint64
func (*MarketDepthUpdate) ProtoMessage ¶
func (*MarketDepthUpdate) ProtoMessage()
func (*MarketDepthUpdate) Reset ¶
func (m *MarketDepthUpdate) Reset()
func (*MarketDepthUpdate) String ¶
func (m *MarketDepthUpdate) String() string
func (*MarketDepthUpdate) Validate ¶
func (this *MarketDepthUpdate) Validate() error
func (*MarketDepthUpdate) XXX_DiscardUnknown ¶
func (m *MarketDepthUpdate) XXX_DiscardUnknown()
func (*MarketDepthUpdate) XXX_Marshal ¶
func (m *MarketDepthUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketDepthUpdate) XXX_Merge ¶
func (m *MarketDepthUpdate) XXX_Merge(src proto.Message)
func (*MarketDepthUpdate) XXX_Size ¶
func (m *MarketDepthUpdate) XXX_Size() int
func (*MarketDepthUpdate) XXX_Unmarshal ¶
func (m *MarketDepthUpdate) XXX_Unmarshal(b []byte) error
type MarketTimestamps ¶
type MarketTimestamps struct { // Time when the market is first proposed Proposed int64 `protobuf:"varint,1,opt,name=proposed,proto3" json:"proposed,omitempty"` // Time when the market has been voted in and is created into an opening auction Pending int64 `protobuf:"varint,2,opt,name=pending,proto3" json:"pending,omitempty"` // Time when the market has left the opening auction and is ready to accept trades Open int64 `protobuf:"varint,3,opt,name=open,proto3" json:"open,omitempty"` // Time when the market is closed Close int64 `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Time stamps for important times about creating, enacting etc the market
func (MarketTimestamps) DeepClone ¶
func (m MarketTimestamps) DeepClone() *MarketTimestamps
func (*MarketTimestamps) Descriptor ¶
func (*MarketTimestamps) Descriptor() ([]byte, []int)
func (*MarketTimestamps) GetClose ¶
func (m *MarketTimestamps) GetClose() int64
func (*MarketTimestamps) GetOpen ¶
func (m *MarketTimestamps) GetOpen() int64
func (*MarketTimestamps) GetPending ¶
func (m *MarketTimestamps) GetPending() int64
func (*MarketTimestamps) GetProposed ¶
func (m *MarketTimestamps) GetProposed() int64
func (*MarketTimestamps) ProtoMessage ¶
func (*MarketTimestamps) ProtoMessage()
func (*MarketTimestamps) Reset ¶
func (m *MarketTimestamps) Reset()
func (*MarketTimestamps) String ¶
func (m *MarketTimestamps) String() string
func (*MarketTimestamps) Validate ¶
func (this *MarketTimestamps) Validate() error
func (*MarketTimestamps) XXX_DiscardUnknown ¶
func (m *MarketTimestamps) XXX_DiscardUnknown()
func (*MarketTimestamps) XXX_Marshal ¶
func (m *MarketTimestamps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketTimestamps) XXX_Merge ¶
func (m *MarketTimestamps) XXX_Merge(src proto.Message)
func (*MarketTimestamps) XXX_Size ¶
func (m *MarketTimestamps) XXX_Size() int
func (*MarketTimestamps) XXX_Unmarshal ¶
func (m *MarketTimestamps) XXX_Unmarshal(b []byte) error
type Market_Continuous ¶
type Market_Continuous struct {
Continuous *ContinuousTrading `protobuf:"bytes,100,opt,name=continuous,proto3,oneof"`
}
func (Market_Continuous) DeepClone ¶
func (m Market_Continuous) DeepClone() *Market_Continuous
type Market_Discrete ¶
type Market_Discrete struct {
Discrete *DiscreteTrading `protobuf:"bytes,101,opt,name=discrete,proto3,oneof"`
}
func (Market_Discrete) DeepClone ¶
func (m Market_Discrete) DeepClone() *Market_Discrete
type Market_State ¶
type Market_State int32
The current state of the Market
const ( // Default value, invalid Market_STATE_UNSPECIFIED Market_State = 0 // The Governance proposal valid and accepted Market_STATE_PROPOSED Market_State = 1 // Outcome of governance votes is to reject the market Market_STATE_REJECTED Market_State = 2 // Governance vote passes/wins Market_STATE_PENDING Market_State = 3 // Market triggers cancellation condition or governance // votes to close before market becomes Active Market_STATE_CANCELLED Market_State = 4 // Enactment date reached and usual auction exit checks pass Market_STATE_ACTIVE Market_State = 5 // Price monitoring or liquidity monitoring trigger Market_STATE_SUSPENDED Market_State = 6 // Governance vote (to close) Market_STATE_CLOSED Market_State = 7 // Defined by the product (i.e. from a product parameter, // specified in market definition, giving close date/time) Market_STATE_TRADING_TERMINATED Market_State = 8 // Settlement triggered and completed as defined by product Market_STATE_SETTLED Market_State = 9 )
func (Market_State) EnumDescriptor ¶
func (Market_State) EnumDescriptor() ([]byte, []int)
func (Market_State) String ¶
func (x Market_State) String() string
type Market_TradingMode ¶
type Market_TradingMode int32
The trading mode the market is currently running, also referred to as 'market state'
const ( // Default value, this is invalid Market_TRADING_MODE_UNSPECIFIED Market_TradingMode = 0 // Normal trading Market_TRADING_MODE_CONTINUOUS Market_TradingMode = 1 // Auction trading (FBA) Market_TRADING_MODE_BATCH_AUCTION Market_TradingMode = 2 // Opening auction Market_TRADING_MODE_OPENING_AUCTION Market_TradingMode = 3 // Auction triggered by monitoring Market_TRADING_MODE_MONITORING_AUCTION Market_TradingMode = 4 )
func (Market_TradingMode) EnumDescriptor ¶
func (Market_TradingMode) EnumDescriptor() ([]byte, []int)
func (Market_TradingMode) String ¶
func (x Market_TradingMode) String() string
type NetworkParameter ¶
type NetworkParameter struct { // The unique key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value for the network parameter Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a network parameter on Vega
func (NetworkParameter) DeepClone ¶
func (n NetworkParameter) DeepClone() *NetworkParameter
func (*NetworkParameter) Descriptor ¶
func (*NetworkParameter) Descriptor() ([]byte, []int)
func (*NetworkParameter) GetKey ¶
func (m *NetworkParameter) GetKey() string
func (*NetworkParameter) GetValue ¶
func (m *NetworkParameter) GetValue() string
func (*NetworkParameter) ProtoMessage ¶
func (*NetworkParameter) ProtoMessage()
func (*NetworkParameter) Reset ¶
func (m *NetworkParameter) Reset()
func (*NetworkParameter) String ¶
func (m *NetworkParameter) String() string
func (*NetworkParameter) Validate ¶
func (this *NetworkParameter) Validate() error
func (*NetworkParameter) XXX_DiscardUnknown ¶
func (m *NetworkParameter) XXX_DiscardUnknown()
func (*NetworkParameter) XXX_Marshal ¶
func (m *NetworkParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkParameter) XXX_Merge ¶
func (m *NetworkParameter) XXX_Merge(src proto.Message)
func (*NetworkParameter) XXX_Size ¶
func (m *NetworkParameter) XXX_Size() int
func (*NetworkParameter) XXX_Unmarshal ¶
func (m *NetworkParameter) XXX_Unmarshal(b []byte) error
type NewAsset ¶
type NewAsset struct { // The configuration of the new asset Changes *AssetDetails `protobuf:"bytes,1,opt,name=changes,proto3" json:"changes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
New asset on Vega
func (*NewAsset) Descriptor ¶
func (*NewAsset) GetChanges ¶
func (m *NewAsset) GetChanges() *AssetDetails
func (NewAsset) IsProposalChange ¶
func (NewAsset) IsProposalChange()
func (*NewAsset) ProtoMessage ¶
func (*NewAsset) ProtoMessage()
func (*NewAsset) XXX_DiscardUnknown ¶
func (m *NewAsset) XXX_DiscardUnknown()
func (*NewAsset) XXX_Marshal ¶
func (*NewAsset) XXX_Unmarshal ¶
type NewMarket ¶
type NewMarket struct { // The configuration of the new market Changes *NewMarketConfiguration `protobuf:"bytes,1,opt,name=changes,proto3" json:"changes,omitempty"` // The commitment from the party creating the NewMarket proposal LiquidityCommitment *NewMarketCommitment `protobuf:"bytes,2,opt,name=liquidity_commitment,json=liquidityCommitment,proto3" json:"liquidity_commitment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
New market on Vega
func (*NewMarket) Descriptor ¶
func (*NewMarket) GetChanges ¶
func (m *NewMarket) GetChanges() *NewMarketConfiguration
func (*NewMarket) GetLiquidityCommitment ¶
func (m *NewMarket) GetLiquidityCommitment() *NewMarketCommitment
func (NewMarket) IsProposalChange ¶
func (NewMarket) IsProposalChange()
func (*NewMarket) ProtoMessage ¶
func (*NewMarket) ProtoMessage()
func (*NewMarket) XXX_DiscardUnknown ¶
func (m *NewMarket) XXX_DiscardUnknown()
func (*NewMarket) XXX_Marshal ¶
func (*NewMarket) XXX_Unmarshal ¶
type NewMarketCommitment ¶
type NewMarketCommitment struct { // Specified as a unitless number that represents the amount of settlement asset of the market CommitmentAmount string `protobuf:"bytes,1,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,2,opt,name=fee,proto3" json:"fee,omitempty"` // A set of liquidity sell orders to meet the liquidity provision obligation Sells []*LiquidityOrder `protobuf:"bytes,3,rep,name=sells,proto3" json:"sells,omitempty"` // A set of liquidity buy orders to meet the liquidity provision obligation Buys []*LiquidityOrder `protobuf:"bytes,4,rep,name=buys,proto3" json:"buys,omitempty"` // A reference to be associated to all orders created from this commitment Reference string `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A commitment of liquidity to be made by the party which proposes a market
func (NewMarketCommitment) DeepClone ¶
func (n NewMarketCommitment) DeepClone() *NewMarketCommitment
func (*NewMarketCommitment) Descriptor ¶
func (*NewMarketCommitment) Descriptor() ([]byte, []int)
func (*NewMarketCommitment) GetBuys ¶
func (m *NewMarketCommitment) GetBuys() []*LiquidityOrder
func (*NewMarketCommitment) GetCommitmentAmount ¶
func (m *NewMarketCommitment) GetCommitmentAmount() string
func (*NewMarketCommitment) GetFee ¶
func (m *NewMarketCommitment) GetFee() string
func (*NewMarketCommitment) GetReference ¶
func (m *NewMarketCommitment) GetReference() string
func (*NewMarketCommitment) GetSells ¶
func (m *NewMarketCommitment) GetSells() []*LiquidityOrder
func (*NewMarketCommitment) ProtoMessage ¶
func (*NewMarketCommitment) ProtoMessage()
func (*NewMarketCommitment) Reset ¶
func (m *NewMarketCommitment) Reset()
func (*NewMarketCommitment) String ¶
func (m *NewMarketCommitment) String() string
func (*NewMarketCommitment) Validate ¶
func (this *NewMarketCommitment) Validate() error
func (*NewMarketCommitment) XXX_DiscardUnknown ¶
func (m *NewMarketCommitment) XXX_DiscardUnknown()
func (*NewMarketCommitment) XXX_Marshal ¶
func (m *NewMarketCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewMarketCommitment) XXX_Merge ¶
func (m *NewMarketCommitment) XXX_Merge(src proto.Message)
func (*NewMarketCommitment) XXX_Size ¶
func (m *NewMarketCommitment) XXX_Size() int
func (*NewMarketCommitment) XXX_Unmarshal ¶
func (m *NewMarketCommitment) XXX_Unmarshal(b []byte) error
type NewMarketConfiguration ¶
type NewMarketConfiguration struct { // New market instrument configuration Instrument *InstrumentConfiguration `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Decimal places used for the new market DecimalPlaces uint64 `protobuf:"varint,2,opt,name=decimal_places,json=decimalPlaces,proto3" json:"decimal_places,omitempty"` // Optional new market meta data, tags Metadata []string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"` // Price monitoring parameters PriceMonitoringParameters *PriceMonitoringParameters `` /* 138-byte string literal not displayed */ // Liquidity monitoring parameters LiquidityMonitoringParameters *LiquidityMonitoringParameters `` /* 150-byte string literal not displayed */ // New market risk model parameters // // Types that are valid to be assigned to RiskParameters: // *NewMarketConfiguration_Simple // *NewMarketConfiguration_LogNormal RiskParameters isNewMarketConfiguration_RiskParameters `protobuf_oneof:"risk_parameters"` // Trading mode for the new market // // Types that are valid to be assigned to TradingMode: // *NewMarketConfiguration_Continuous // *NewMarketConfiguration_Discrete TradingMode isNewMarketConfiguration_TradingMode `protobuf_oneof:"trading_mode"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for a new market on Vega
func (NewMarketConfiguration) DeepClone ¶
func (n NewMarketConfiguration) DeepClone() *NewMarketConfiguration
func (*NewMarketConfiguration) Descriptor ¶
func (*NewMarketConfiguration) Descriptor() ([]byte, []int)
func (*NewMarketConfiguration) GetContinuous ¶
func (m *NewMarketConfiguration) GetContinuous() *ContinuousTrading
func (*NewMarketConfiguration) GetDecimalPlaces ¶
func (m *NewMarketConfiguration) GetDecimalPlaces() uint64
func (*NewMarketConfiguration) GetDiscrete ¶
func (m *NewMarketConfiguration) GetDiscrete() *DiscreteTrading
func (*NewMarketConfiguration) GetInstrument ¶
func (m *NewMarketConfiguration) GetInstrument() *InstrumentConfiguration
func (*NewMarketConfiguration) GetLiquidityMonitoringParameters ¶
func (m *NewMarketConfiguration) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
func (*NewMarketConfiguration) GetLogNormal ¶
func (m *NewMarketConfiguration) GetLogNormal() *LogNormalRiskModel
func (*NewMarketConfiguration) GetMetadata ¶
func (m *NewMarketConfiguration) GetMetadata() []string
func (*NewMarketConfiguration) GetPriceMonitoringParameters ¶
func (m *NewMarketConfiguration) GetPriceMonitoringParameters() *PriceMonitoringParameters
func (*NewMarketConfiguration) GetRiskParameters ¶
func (m *NewMarketConfiguration) GetRiskParameters() isNewMarketConfiguration_RiskParameters
func (*NewMarketConfiguration) GetSimple ¶
func (m *NewMarketConfiguration) GetSimple() *SimpleModelParams
func (*NewMarketConfiguration) GetTradingMode ¶
func (m *NewMarketConfiguration) GetTradingMode() isNewMarketConfiguration_TradingMode
func (*NewMarketConfiguration) ProtoMessage ¶
func (*NewMarketConfiguration) ProtoMessage()
func (*NewMarketConfiguration) Reset ¶
func (m *NewMarketConfiguration) Reset()
func (*NewMarketConfiguration) String ¶
func (m *NewMarketConfiguration) String() string
func (*NewMarketConfiguration) Validate ¶
func (this *NewMarketConfiguration) Validate() error
func (*NewMarketConfiguration) XXX_DiscardUnknown ¶
func (m *NewMarketConfiguration) XXX_DiscardUnknown()
func (*NewMarketConfiguration) XXX_Marshal ¶
func (m *NewMarketConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewMarketConfiguration) XXX_Merge ¶
func (m *NewMarketConfiguration) XXX_Merge(src proto.Message)
func (*NewMarketConfiguration) XXX_OneofWrappers ¶
func (*NewMarketConfiguration) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*NewMarketConfiguration) XXX_Size ¶
func (m *NewMarketConfiguration) XXX_Size() int
func (*NewMarketConfiguration) XXX_Unmarshal ¶
func (m *NewMarketConfiguration) XXX_Unmarshal(b []byte) error
type NewMarketConfiguration_Continuous ¶
type NewMarketConfiguration_Continuous struct {
Continuous *ContinuousTrading `protobuf:"bytes,200,opt,name=continuous,proto3,oneof"`
}
func (NewMarketConfiguration_Continuous) DeepClone ¶
func (n NewMarketConfiguration_Continuous) DeepClone() *NewMarketConfiguration_Continuous
type NewMarketConfiguration_Discrete ¶
type NewMarketConfiguration_Discrete struct {
Discrete *DiscreteTrading `protobuf:"bytes,201,opt,name=discrete,proto3,oneof"`
}
func (NewMarketConfiguration_Discrete) DeepClone ¶
func (n NewMarketConfiguration_Discrete) DeepClone() *NewMarketConfiguration_Discrete
type NewMarketConfiguration_LogNormal ¶
type NewMarketConfiguration_LogNormal struct {
LogNormal *LogNormalRiskModel `protobuf:"bytes,101,opt,name=log_normal,json=logNormal,proto3,oneof"`
}
func (NewMarketConfiguration_LogNormal) DeepClone ¶
func (n NewMarketConfiguration_LogNormal) DeepClone() *NewMarketConfiguration_LogNormal
type NewMarketConfiguration_Simple ¶
type NewMarketConfiguration_Simple struct {
Simple *SimpleModelParams `protobuf:"bytes,100,opt,name=simple,proto3,oneof"`
}
func (NewMarketConfiguration_Simple) DeepClone ¶
func (n NewMarketConfiguration_Simple) DeepClone() *NewMarketConfiguration_Simple
type Node ¶ added in v0.42.0
type Node struct { // The node ID (wallet ID) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Pub key of the node operator PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // Public key of Tendermint TmPubKey string `protobuf:"bytes,3,opt,name=tm_pub_key,json=tmPubKey,proto3" json:"tm_pub_key,omitempty"` // Ethereum public key of the node EthereumAdddress string `protobuf:"bytes,4,opt,name=ethereum_adddress,json=ethereumAdddress,proto3" json:"ethereum_adddress,omitempty"` // URL where I can find out more info on the node InfoUrl string `protobuf:"bytes,5,opt,name=info_url,json=infoUrl,proto3" json:"info_url,omitempty"` // Country code for the location of the node Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // The amount the node has put up themselves StakedByOperator string `protobuf:"bytes,7,opt,name=staked_by_operator,json=stakedByOperator,proto3" json:"staked_by_operator,omitempty"` // The amount of stake that has been delegated by token holders StakedByDelegates string `protobuf:"bytes,8,opt,name=staked_by_delegates,json=stakedByDelegates,proto3" json:"staked_by_delegates,omitempty"` // Total amount staked on node StakedTotal string `protobuf:"bytes,9,opt,name=staked_total,json=stakedTotal,proto3" json:"staked_total,omitempty"` // Max amount of (wanted) stake, is this a network param or a node param MaxIntendedStake string `protobuf:"bytes,10,opt,name=max_intended_stake,json=maxIntendedStake,proto3" json:"max_intended_stake,omitempty"` // Amount of stake on the next epoch PendingStake string `protobuf:"bytes,11,opt,name=pending_stake,json=pendingStake,proto3" json:"pending_stake,omitempty"` // Informantion about epoch EpochData *EpochData `protobuf:"bytes,12,opt,name=epoch_data,json=epochData,proto3" json:"epoch_data,omitempty"` // Node status Status NodeStatus `protobuf:"varint,13,opt,name=status,proto3,enum=vega.NodeStatus" json:"status,omitempty"` // Node's delegations Delegations []*Delegation `protobuf:"bytes,14,rep,name=delegations,proto3" json:"delegations,omitempty"` // Node score Score string `protobuf:"bytes,15,opt,name=score,proto3" json:"score,omitempty"` // Node normalised score NormalisedScore string `protobuf:"bytes,16,opt,name=normalised_score,json=normalisedScore,proto3" json:"normalised_score,omitempty"` // Node name Name string `protobuf:"bytes,17,opt,name=name,proto3" json:"name,omitempty"` // Avatar url AvatarUrl string `protobuf:"bytes,18,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶ added in v0.42.0
func (*Node) GetAvatarUrl ¶ added in v0.44.0
func (*Node) GetDelegations ¶ added in v0.43.0
func (m *Node) GetDelegations() []*Delegation
func (*Node) GetEpochData ¶ added in v0.42.0
func (*Node) GetEthereumAdddress ¶ added in v0.42.0
func (*Node) GetInfoUrl ¶ added in v0.42.0
func (*Node) GetLocation ¶ added in v0.42.0
func (*Node) GetMaxIntendedStake ¶ added in v0.42.0
func (*Node) GetNormalisedScore ¶ added in v0.42.0
func (*Node) GetPendingStake ¶ added in v0.42.0
func (*Node) GetStakedByDelegates ¶ added in v0.42.0
func (*Node) GetStakedByOperator ¶ added in v0.42.0
func (*Node) GetStakedTotal ¶ added in v0.42.0
func (*Node) GetStatus ¶ added in v0.42.0
func (m *Node) GetStatus() NodeStatus
func (*Node) GetTmPubKey ¶ added in v0.42.0
func (*Node) ProtoMessage ¶ added in v0.42.0
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Marshal ¶ added in v0.42.0
func (*Node) XXX_Unmarshal ¶ added in v0.42.0
type NodeData ¶ added in v0.42.0
type NodeData struct { // Total staked amount across all nodes StakedTotal string `protobuf:"bytes,1,opt,name=staked_total,json=stakedTotal,proto3" json:"staked_total,omitempty"` // Total number of nodes TotalNodes uint32 `protobuf:"varint,2,opt,name=total_nodes,json=totalNodes,proto3" json:"total_nodes,omitempty"` // Number of inactive nodes InactiveNodes uint32 `protobuf:"varint,3,opt,name=inactive_nodes,json=inactiveNodes,proto3" json:"inactive_nodes,omitempty"` // Number of nodes validating ValidatingNodes uint32 `protobuf:"varint,4,opt,name=validating_nodes,json=validatingNodes,proto3" json:"validating_nodes,omitempty"` // Total uptime for all epochs across all nodes Uptime float32 `protobuf:"fixed32,5,opt,name=uptime,proto3" json:"uptime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeData) Descriptor ¶ added in v0.42.0
func (*NodeData) GetInactiveNodes ¶ added in v0.42.0
func (*NodeData) GetStakedTotal ¶ added in v0.42.0
func (*NodeData) GetTotalNodes ¶ added in v0.42.0
func (*NodeData) GetValidatingNodes ¶ added in v0.42.0
func (*NodeData) ProtoMessage ¶ added in v0.42.0
func (*NodeData) ProtoMessage()
func (*NodeData) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *NodeData) XXX_DiscardUnknown()
func (*NodeData) XXX_Marshal ¶ added in v0.42.0
func (*NodeData) XXX_Unmarshal ¶ added in v0.42.0
type NodeStatus ¶ added in v0.42.0
type NodeStatus int32
Node status type
const ( NodeStatus_NODE_STATUS_UNSPECIFIED NodeStatus = 0 // The node is validating NodeStatus_NODE_STATUS_VALIDATOR NodeStatus = 1 // The node is non-validating NodeStatus_NODE_STATUS_NON_VALIDATOR NodeStatus = 2 )
func (NodeStatus) EnumDescriptor ¶ added in v0.42.0
func (NodeStatus) EnumDescriptor() ([]byte, []int)
func (NodeStatus) String ¶ added in v0.42.0
func (x NodeStatus) String() string
type OracleSpecToFutureBinding ¶
type OracleSpecToFutureBinding struct { // settlement_price_property holds the name of the property in the oracle data // that should be used as settlement price. // If it is set to "prices.BTC.value", then the Future will use the value of // this property as settlement price. SettlementPriceProperty string `` /* 132-byte string literal not displayed */ // the name of the property in the oracle data that signals termination of trading TradingTerminationProperty string `` /* 141-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
OracleSpecToFutureBinding tells on which property oracle data should be used as settlement price and which to use the trading terminated trigger
func (OracleSpecToFutureBinding) DeepClone ¶
func (o OracleSpecToFutureBinding) DeepClone() *OracleSpecToFutureBinding
func (*OracleSpecToFutureBinding) Descriptor ¶
func (*OracleSpecToFutureBinding) Descriptor() ([]byte, []int)
func (*OracleSpecToFutureBinding) GetSettlementPriceProperty ¶
func (m *OracleSpecToFutureBinding) GetSettlementPriceProperty() string
func (*OracleSpecToFutureBinding) GetTradingTerminationProperty ¶
func (m *OracleSpecToFutureBinding) GetTradingTerminationProperty() string
func (*OracleSpecToFutureBinding) ProtoMessage ¶
func (*OracleSpecToFutureBinding) ProtoMessage()
func (*OracleSpecToFutureBinding) Reset ¶
func (m *OracleSpecToFutureBinding) Reset()
func (*OracleSpecToFutureBinding) String ¶
func (m *OracleSpecToFutureBinding) String() string
func (*OracleSpecToFutureBinding) Validate ¶
func (this *OracleSpecToFutureBinding) Validate() error
func (*OracleSpecToFutureBinding) XXX_DiscardUnknown ¶
func (m *OracleSpecToFutureBinding) XXX_DiscardUnknown()
func (*OracleSpecToFutureBinding) XXX_Marshal ¶
func (m *OracleSpecToFutureBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleSpecToFutureBinding) XXX_Merge ¶
func (m *OracleSpecToFutureBinding) XXX_Merge(src proto.Message)
func (*OracleSpecToFutureBinding) XXX_Size ¶
func (m *OracleSpecToFutureBinding) XXX_Size() int
func (*OracleSpecToFutureBinding) XXX_Unmarshal ¶
func (m *OracleSpecToFutureBinding) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct { // Unique identifier for the order (set by the system after consensus) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Market identifier for the order MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Party identifier for the order PartyId string `protobuf:"bytes,3,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Side for the order, e.g. SIDE_BUY or SIDE_SELL - See [`Side`](#vega.Side) Side Side `protobuf:"varint,4,opt,name=side,proto3,enum=vega.Side" json:"side,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 Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"` // Size for the order, for example, in a futures market the size equals the number of contracts Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // Size remaining, when this reaches 0 then the order is fully filled and status becomes STATUS_FILLED Remaining uint64 `protobuf:"varint,7,opt,name=remaining,proto3" json:"remaining,omitempty"` // Time in force indicates how long an order will remain active before it is executed or expires. // - See [`Order.TimeInForce`](#vega.Order.TimeInForce) TimeInForce Order_TimeInForce `protobuf:"varint,8,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` // Type for the order - See [`Order.Type`](#vega.Order.Type) Type Order_Type `protobuf:"varint,9,opt,name=type,proto3,enum=vega.Order_Type" json:"type,omitempty"` // Timestamp for when the order was created at, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The current status for the order. See [`Order.Status`](#vega.Order.Status) // - For detail on `STATUS_REJECTED` please check the [`OrderError`](#vega.OrderError) value given in the `reason` field Status Order_Status `protobuf:"varint,11,opt,name=status,proto3,enum=vega.Order_Status" json:"status,omitempty"` // Timestamp for when the order will expire, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`, valid only for [`Order.TimeInForce`](#vega.Order.TimeInForce)`.TIME_IN_FORCE_GTT` ExpiresAt int64 `protobuf:"varint,12,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,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,13,opt,name=reference,proto3" json:"reference,omitempty"` // If the Order `status` is `STATUS_REJECTED` then an [`OrderError`](#vega.OrderError) reason will be specified // - The default for this field is `ORDER_ERROR_NONE` which signifies that there were no errors Reason OrderError `protobuf:"varint,14,opt,name=reason,proto3,enum=vega.OrderError" json:"reason,omitempty"` // Timestamp for when the Order was last updated, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // The version for the order, initial value is version 1 and is incremented after each successful amend Version uint64 `protobuf:"varint,16,opt,name=version,proto3" json:"version,omitempty"` // Batch identifier for the order, used internally for orders submitted during auctions // to keep track of the auction batch this order falls under (required for fees calculation) BatchId uint64 `protobuf:"varint,17,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // Pegged order details, used only if the order represents a pegged order. PeggedOrder *PeggedOrder `protobuf:"bytes,18,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"` // Is this order created as part of a liquidity provision, will be empty if not. LiquidityProvisionId string `protobuf:"bytes,19,opt,name=liquidity_provision_id,json=liquidityProvisionId,proto3" json:"liquidity_provision_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An order can be submitted, amended and cancelled on Vega in an attempt to make trades with other parties
func (*Order) Create ¶
Create sets the creation time (CreatedAt) to t and returns the updated order.
func (*Order) Descriptor ¶
func (*Order) GetBatchId ¶
func (*Order) GetCreatedAt ¶
func (*Order) GetExpiresAt ¶
func (*Order) GetLiquidityProvisionId ¶
func (*Order) GetMarketId ¶
func (*Order) GetPartyId ¶
func (*Order) GetPeggedOrder ¶
func (m *Order) GetPeggedOrder() *PeggedOrder
func (*Order) GetReason ¶
func (m *Order) GetReason() OrderError
func (*Order) GetReference ¶
func (*Order) GetRemaining ¶
func (*Order) GetStatus ¶
func (m *Order) GetStatus() Order_Status
func (*Order) GetTimeInForce ¶
func (m *Order) GetTimeInForce() Order_TimeInForce
func (*Order) GetType ¶
func (m *Order) GetType() Order_Type
func (*Order) GetUpdatedAt ¶
func (*Order) GetVersion ¶
func (*Order) IsExpireable ¶
func (*Order) IsFinished ¶
IsFinished returns true if an order is in any state different to ACTIVE and PARKED Basically any order which is never gonna trade anymore
func (*Order) IsLiquidityOrder ¶
func (*Order) IsPersistent ¶
IsPersistent returns true if the order is persistent. A persistent order is a Limit type order that might be matched in the future.
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) Update ¶
Update sets the modification time (UpdatedAt) to t and returns the updated order.
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderCancellationConfirmation ¶
type OrderCancellationConfirmation struct { // The order that was cancelled Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used when cancelling an Order
func (*OrderCancellationConfirmation) Descriptor ¶
func (*OrderCancellationConfirmation) Descriptor() ([]byte, []int)
func (*OrderCancellationConfirmation) GetOrder ¶
func (m *OrderCancellationConfirmation) GetOrder() *Order
func (*OrderCancellationConfirmation) ProtoMessage ¶
func (*OrderCancellationConfirmation) ProtoMessage()
func (*OrderCancellationConfirmation) Reset ¶
func (m *OrderCancellationConfirmation) Reset()
func (*OrderCancellationConfirmation) String ¶
func (m *OrderCancellationConfirmation) String() string
func (*OrderCancellationConfirmation) Validate ¶
func (this *OrderCancellationConfirmation) Validate() error
func (*OrderCancellationConfirmation) XXX_DiscardUnknown ¶
func (m *OrderCancellationConfirmation) XXX_DiscardUnknown()
func (*OrderCancellationConfirmation) XXX_Marshal ¶
func (m *OrderCancellationConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderCancellationConfirmation) XXX_Merge ¶
func (m *OrderCancellationConfirmation) XXX_Merge(src proto.Message)
func (*OrderCancellationConfirmation) XXX_Size ¶
func (m *OrderCancellationConfirmation) XXX_Size() int
func (*OrderCancellationConfirmation) XXX_Unmarshal ¶
func (m *OrderCancellationConfirmation) XXX_Unmarshal(b []byte) error
type OrderConfirmation ¶
type OrderConfirmation struct { // The order that was confirmed Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` // 0 or more trades that were emitted Trades []*Trade `protobuf:"bytes,2,rep,name=trades,proto3" json:"trades,omitempty"` // 0 or more passive orders that were affected PassiveOrdersAffected []*Order `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used when confirming an Order
func (*OrderConfirmation) Descriptor ¶
func (*OrderConfirmation) Descriptor() ([]byte, []int)
func (*OrderConfirmation) GetOrder ¶
func (m *OrderConfirmation) GetOrder() *Order
func (*OrderConfirmation) GetPassiveOrdersAffected ¶
func (m *OrderConfirmation) GetPassiveOrdersAffected() []*Order
func (*OrderConfirmation) GetTrades ¶
func (m *OrderConfirmation) GetTrades() []*Trade
func (*OrderConfirmation) ProtoMessage ¶
func (*OrderConfirmation) ProtoMessage()
func (*OrderConfirmation) Reset ¶
func (m *OrderConfirmation) Reset()
func (*OrderConfirmation) String ¶
func (m *OrderConfirmation) String() string
func (*OrderConfirmation) Validate ¶
func (this *OrderConfirmation) Validate() error
func (*OrderConfirmation) XXX_DiscardUnknown ¶
func (m *OrderConfirmation) XXX_DiscardUnknown()
func (*OrderConfirmation) XXX_Marshal ¶
func (m *OrderConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderConfirmation) XXX_Merge ¶
func (m *OrderConfirmation) XXX_Merge(src proto.Message)
func (*OrderConfirmation) XXX_Size ¶
func (m *OrderConfirmation) XXX_Size() int
func (*OrderConfirmation) XXX_Unmarshal ¶
func (m *OrderConfirmation) XXX_Unmarshal(b []byte) error
type OrderError ¶
type OrderError int32
OrderError codes are returned in the `[Order](#vega.Order).reason` field - If there is an issue with an order during its life-cycle, it will be marked with `status.ORDER_STATUS_REJECTED`
const ( // Default value, no error reported OrderError_ORDER_ERROR_UNSPECIFIED OrderError = 0 // Order was submitted for a market that does not exist OrderError_ORDER_ERROR_INVALID_MARKET_ID OrderError = 1 // Order was submitted with an invalid identifier OrderError_ORDER_ERROR_INVALID_ORDER_ID OrderError = 2 // Order was amended with a sequence number that was not previous version + 1 OrderError_ORDER_ERROR_OUT_OF_SEQUENCE OrderError = 3 // Order was amended with an invalid remaining size (e.g. remaining greater than total size) OrderError_ORDER_ERROR_INVALID_REMAINING_SIZE OrderError = 4 // Node was unable to get Vega (blockchain) time OrderError_ORDER_ERROR_TIME_FAILURE OrderError = 5 // Failed to remove an order from the book OrderError_ORDER_ERROR_REMOVAL_FAILURE OrderError = 6 // An order with `TimeInForce.TIME_IN_FORCE_GTT` was submitted or amended // with an expiration that was badly formatted or otherwise invalid OrderError_ORDER_ERROR_INVALID_EXPIRATION_DATETIME OrderError = 7 // Order was submitted or amended with an invalid reference field OrderError_ORDER_ERROR_INVALID_ORDER_REFERENCE OrderError = 8 // Order amend was submitted for an order field that cannot not be amended (e.g. order identifier) OrderError_ORDER_ERROR_EDIT_NOT_ALLOWED OrderError = 9 // Amend failure because amend details do not match original order OrderError_ORDER_ERROR_AMEND_FAILURE OrderError = 10 // Order not found in an order book or store OrderError_ORDER_ERROR_NOT_FOUND OrderError = 11 // Order was submitted with an invalid or missing party identifier OrderError_ORDER_ERROR_INVALID_PARTY_ID OrderError = 12 // Order was submitted for a market that has closed OrderError_ORDER_ERROR_MARKET_CLOSED OrderError = 13 // Order was submitted, but the party did not have enough collateral to cover the order OrderError_ORDER_ERROR_MARGIN_CHECK_FAILED OrderError = 14 // Order was submitted, but the party did not have an account for this asset OrderError_ORDER_ERROR_MISSING_GENERAL_ACCOUNT OrderError = 15 // Unspecified internal error OrderError_ORDER_ERROR_INTERNAL_ERROR OrderError = 16 // Order was submitted with an invalid or missing size (e.g. 0) OrderError_ORDER_ERROR_INVALID_SIZE OrderError = 17 // Order was submitted with an invalid persistence for its type OrderError_ORDER_ERROR_INVALID_PERSISTENCE OrderError = 18 // Order was submitted with an invalid type field OrderError_ORDER_ERROR_INVALID_TYPE OrderError = 19 // Order was stopped as it would have traded with another order submitted from the same party OrderError_ORDER_ERROR_SELF_TRADING OrderError = 20 // Order was submitted, but the party did not have enough collateral to cover the fees for the order OrderError_ORDER_ERROR_INSUFFICIENT_FUNDS_TO_PAY_FEES OrderError = 21 // Order was submitted with an incorrect or invalid market type OrderError_ORDER_ERROR_INCORRECT_MARKET_TYPE OrderError = 22 // Order was submitted with invalid time in force OrderError_ORDER_ERROR_INVALID_TIME_IN_FORCE OrderError = 23 // A GFN order has got to the market when it is in auction mode OrderError_ORDER_ERROR_GFN_ORDER_DURING_AN_AUCTION OrderError = 24 // A GFA order has got to the market when it is in continuous trading mode OrderError_ORDER_ERROR_GFA_ORDER_DURING_CONTINUOUS_TRADING OrderError = 25 // Attempt to amend order to GTT without ExpiryAt OrderError_ORDER_ERROR_CANNOT_AMEND_TO_GTT_WITHOUT_EXPIRYAT OrderError = 26 // Attempt to amend ExpiryAt to a value before CreatedAt OrderError_ORDER_ERROR_EXPIRYAT_BEFORE_CREATEDAT OrderError = 27 // Attempt to amend to GTC without an ExpiryAt value OrderError_ORDER_ERROR_CANNOT_HAVE_GTC_AND_EXPIRYAT OrderError = 28 // Amending to FOK or IOC is invalid OrderError_ORDER_ERROR_CANNOT_AMEND_TO_FOK_OR_IOC OrderError = 29 // Amending to GFA or GFN is invalid OrderError_ORDER_ERROR_CANNOT_AMEND_TO_GFA_OR_GFN OrderError = 30 // Amending from GFA or GFN is invalid OrderError_ORDER_ERROR_CANNOT_AMEND_FROM_GFA_OR_GFN OrderError = 31 // IOC orders are not allowed during auction OrderError_ORDER_ERROR_CANNOT_SEND_IOC_ORDER_DURING_AUCTION OrderError = 32 // FOK orders are not allowed during auction OrderError_ORDER_ERROR_CANNOT_SEND_FOK_ORDER_DURING_AUCTION OrderError = 33 // Pegged orders must be LIMIT orders OrderError_ORDER_ERROR_MUST_BE_LIMIT_ORDER OrderError = 34 // Pegged orders can only have TIF GTC or GTT OrderError_ORDER_ERROR_MUST_BE_GTT_OR_GTC OrderError = 35 // Pegged order must have a reference price OrderError_ORDER_ERROR_WITHOUT_REFERENCE_PRICE OrderError = 36 // Buy pegged order cannot reference best ask price OrderError_ORDER_ERROR_BUY_CANNOT_REFERENCE_BEST_ASK_PRICE OrderError = 37 // Pegged order offset must be <= 0 OrderError_ORDER_ERROR_OFFSET_MUST_BE_LESS_OR_EQUAL_TO_ZERO OrderError = 38 // Pegged order offset must be < 0 OrderError_ORDER_ERROR_OFFSET_MUST_BE_LESS_THAN_ZERO OrderError = 39 // Pegged order offset must be >= 0 OrderError_ORDER_ERROR_OFFSET_MUST_BE_GREATER_OR_EQUAL_TO_ZERO OrderError = 40 // Sell pegged order cannot reference best bid price OrderError_ORDER_ERROR_SELL_CANNOT_REFERENCE_BEST_BID_PRICE OrderError = 41 // Pegged order offset must be > zero OrderError_ORDER_ERROR_OFFSET_MUST_BE_GREATER_THAN_ZERO OrderError = 42 // The party has an insufficient balance, or does not have // a general account to submit the order (no deposits made // for the required asset) OrderError_ORDER_ERROR_INSUFFICIENT_ASSET_BALANCE OrderError = 43 // Cannot amend a non pegged orders details OrderError_ORDER_ERROR_CANNOT_AMEND_PEGGED_ORDER_DETAILS_ON_NON_PEGGED_ORDER OrderError = 44 // We are unable to re-price a pegged order because a market price is unavailable OrderError_ORDER_ERROR_UNABLE_TO_REPRICE_PEGGED_ORDER OrderError = 45 // It is not possible to amend the price of an existing pegged order OrderError_ORDER_ERROR_UNABLE_TO_AMEND_PRICE_ON_PEGGED_ORDER OrderError = 46 // An FOK, IOC, or GFN order was rejected because it resulted in trades outside the price bounds OrderError_ORDER_ERROR_NON_PERSISTENT_ORDER_OUT_OF_PRICE_BOUNDS OrderError = 47 )
func IsOrderError ¶
func IsOrderError(err error) (OrderError, bool)
func (OrderError) EnumDescriptor ¶
func (OrderError) EnumDescriptor() ([]byte, []int)
func (OrderError) Error ¶
func (err OrderError) Error() string
func (OrderError) String ¶
func (x OrderError) String() string
type Order_Status ¶
type Order_Status int32
Status values for an order See resulting status in [What order types are available to trade on Vega?](https://docs.testnet.vega.xyz/docs/trading-questions/#what-order-types-are-available-to-trade-on-vega) for more detail.
const ( // Default value, always invalid Order_STATUS_UNSPECIFIED Order_Status = 0 // Used for active unfilled or partially filled orders Order_STATUS_ACTIVE Order_Status = 1 // Used for expired GTT orders Order_STATUS_EXPIRED Order_Status = 2 // Used for orders cancelled by the party that created the order Order_STATUS_CANCELLED Order_Status = 3 // Used for unfilled FOK or IOC orders, and for orders that were stopped by the network Order_STATUS_STOPPED Order_Status = 4 // Used for closed fully filled orders Order_STATUS_FILLED Order_Status = 5 // Used for orders when not enough collateral was available to fill the margin requirements Order_STATUS_REJECTED Order_Status = 6 // Used for closed partially filled IOC orders Order_STATUS_PARTIALLY_FILLED Order_Status = 7 // Order has been removed from the order book and has been parked, this applies to pegged orders only Order_STATUS_PARKED Order_Status = 8 )
func (Order_Status) EnumDescriptor ¶
func (Order_Status) EnumDescriptor() ([]byte, []int)
func (Order_Status) String ¶
func (x Order_Status) String() string
type Order_TimeInForce ¶
type Order_TimeInForce int32
Time In Force for an order See [What order types are available to trade on Vega?](https://docs.testnet.vega.xyz/docs/trading-questions/#what-order-types-are-available-to-trade-on-vega) for more detail
const ( // Default value for TimeInForce, can be valid for an amend Order_TIME_IN_FORCE_UNSPECIFIED Order_TimeInForce = 0 // Good until cancelled Order_TIME_IN_FORCE_GTC Order_TimeInForce = 1 // Good until specified time Order_TIME_IN_FORCE_GTT Order_TimeInForce = 2 // Immediate or cancel Order_TIME_IN_FORCE_IOC Order_TimeInForce = 3 // Fill or kill Order_TIME_IN_FORCE_FOK Order_TimeInForce = 4 // Good for auction Order_TIME_IN_FORCE_GFA Order_TimeInForce = 5 // Good for normal Order_TIME_IN_FORCE_GFN Order_TimeInForce = 6 )
func (Order_TimeInForce) EnumDescriptor ¶
func (Order_TimeInForce) EnumDescriptor() ([]byte, []int)
func (Order_TimeInForce) String ¶
func (x Order_TimeInForce) String() string
type Order_Type ¶
type Order_Type int32
Type values for an order
const ( // Default value, always invalid Order_TYPE_UNSPECIFIED Order_Type = 0 // Used for Limit orders Order_TYPE_LIMIT Order_Type = 1 // Used for Market orders Order_TYPE_MARKET Order_Type = 2 // Used for orders where the initiating party is the network (with distressed parties) Order_TYPE_NETWORK Order_Type = 3 )
func (Order_Type) EnumDescriptor ¶
func (Order_Type) EnumDescriptor() ([]byte, []int)
func (Order_Type) String ¶
func (x Order_Type) String() string
type Party ¶
type Party struct { // A unique identifier for the party, typically represented by a public key Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A party represents an entity who wishes to trade on or query a Vega network
func (*Party) Descriptor ¶
func (*Party) ProtoMessage ¶
func (*Party) ProtoMessage()
func (*Party) XXX_DiscardUnknown ¶
func (m *Party) XXX_DiscardUnknown()
func (*Party) XXX_Marshal ¶
func (*Party) XXX_Unmarshal ¶
type PeggedOrder ¶
type PeggedOrder struct { // Which price point are we linked to Reference PeggedReference `protobuf:"varint,1,opt,name=reference,proto3,enum=vega.PeggedReference" json:"reference,omitempty"` // Offset from the price reference Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Pegged orders are limit orders where the price is specified in the form REFERENCE +/- OFFSET They can be used for any limit order that is valid during continuous trading
func (PeggedOrder) DeepClone ¶
func (p PeggedOrder) DeepClone() *PeggedOrder
func (*PeggedOrder) Descriptor ¶
func (*PeggedOrder) Descriptor() ([]byte, []int)
func (*PeggedOrder) GetOffset ¶
func (m *PeggedOrder) GetOffset() int64
func (*PeggedOrder) GetReference ¶
func (m *PeggedOrder) GetReference() PeggedReference
func (*PeggedOrder) ProtoMessage ¶
func (*PeggedOrder) ProtoMessage()
func (*PeggedOrder) Reset ¶
func (m *PeggedOrder) Reset()
func (*PeggedOrder) String ¶
func (m *PeggedOrder) String() string
func (*PeggedOrder) Validate ¶
func (this *PeggedOrder) Validate() error
func (*PeggedOrder) XXX_DiscardUnknown ¶
func (m *PeggedOrder) XXX_DiscardUnknown()
func (*PeggedOrder) XXX_Marshal ¶
func (m *PeggedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PeggedOrder) XXX_Merge ¶
func (m *PeggedOrder) XXX_Merge(src proto.Message)
func (*PeggedOrder) XXX_Size ¶
func (m *PeggedOrder) XXX_Size() int
func (*PeggedOrder) XXX_Unmarshal ¶
func (m *PeggedOrder) XXX_Unmarshal(b []byte) error
type PeggedReference ¶
type PeggedReference int32
A pegged reference defines which price point a pegged order is linked to - meaning the price for a pegged order is calculated from the value of the reference price point
const ( // Default value for PeggedReference, no reference given PeggedReference_PEGGED_REFERENCE_UNSPECIFIED PeggedReference = 0 // Mid price reference PeggedReference_PEGGED_REFERENCE_MID PeggedReference = 1 // Best bid price reference PeggedReference_PEGGED_REFERENCE_BEST_BID PeggedReference = 2 // Best ask price reference PeggedReference_PEGGED_REFERENCE_BEST_ASK PeggedReference = 3 )
func (PeggedReference) EnumDescriptor ¶
func (PeggedReference) EnumDescriptor() ([]byte, []int)
func (PeggedReference) String ¶
func (x PeggedReference) String() string
type Position ¶
type Position struct { // Market identifier MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Party identifier PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Open volume for the position, value is signed +ve for long and -ve for short OpenVolume int64 `protobuf:"varint,3,opt,name=open_volume,json=openVolume,proto3" json:"open_volume,omitempty"` // Realised profit and loss for the position, value is signed +ve for long and -ve for short RealisedPnl string `protobuf:"bytes,4,opt,name=realised_pnl,json=realisedPnl,proto3" json:"realised_pnl,omitempty"` // Unrealised profit and loss for the position, value is signed +ve for long and -ve for short UnrealisedPnl string `protobuf:"bytes,5,opt,name=unrealised_pnl,json=unrealisedPnl,proto3" json:"unrealised_pnl,omitempty"` // Average entry price for the position, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places AverageEntryPrice string `protobuf:"bytes,6,opt,name=average_entry_price,json=averageEntryPrice,proto3" json:"average_entry_price,omitempty"` // Timestamp for the latest time the position was updated UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents position data for a party on the specified market on Vega
func (*Position) Descriptor ¶
func (*Position) GetAverageEntryPrice ¶
func (*Position) GetMarketId ¶
func (*Position) GetOpenVolume ¶
func (*Position) GetPartyId ¶
func (*Position) GetRealisedPnl ¶
func (*Position) GetUnrealisedPnl ¶
func (*Position) GetUpdatedAt ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶
func (*Position) XXX_Unmarshal ¶
type PositionTrade ¶
type PositionTrade struct { // Volume for the position trade, value is signed +ve for long and -ve for short Volume int64 `protobuf:"varint,1,opt,name=volume,proto3" json:"volume,omitempty"` // Price for the position trade, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PositionTrade) Descriptor ¶
func (*PositionTrade) Descriptor() ([]byte, []int)
func (*PositionTrade) GetPrice ¶
func (m *PositionTrade) GetPrice() string
func (*PositionTrade) GetVolume ¶
func (m *PositionTrade) GetVolume() int64
func (*PositionTrade) ProtoMessage ¶
func (*PositionTrade) ProtoMessage()
func (*PositionTrade) Reset ¶
func (m *PositionTrade) Reset()
func (*PositionTrade) String ¶
func (m *PositionTrade) String() string
func (*PositionTrade) Validate ¶
func (this *PositionTrade) Validate() error
func (*PositionTrade) XXX_DiscardUnknown ¶
func (m *PositionTrade) XXX_DiscardUnknown()
func (*PositionTrade) XXX_Marshal ¶
func (m *PositionTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionTrade) XXX_Merge ¶
func (m *PositionTrade) XXX_Merge(src proto.Message)
func (*PositionTrade) XXX_Size ¶
func (m *PositionTrade) XXX_Size() int
func (*PositionTrade) XXX_Unmarshal ¶
func (m *PositionTrade) XXX_Unmarshal(b []byte) error
type Price ¶
type Price struct { // Price value, given as an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Price) Descriptor ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
type PriceLevel ¶
type PriceLevel struct { // Price for the price level, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // Number of orders at the price level NumberOfOrders uint64 `protobuf:"varint,2,opt,name=number_of_orders,json=numberOfOrders,proto3" json:"number_of_orders,omitempty"` // Volume at the price level Volume uint64 `protobuf:"varint,3,opt,name=volume,proto3" json:"volume,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a price level from market depth or order book data
func (*PriceLevel) Descriptor ¶
func (*PriceLevel) Descriptor() ([]byte, []int)
func (*PriceLevel) GetNumberOfOrders ¶
func (m *PriceLevel) GetNumberOfOrders() uint64
func (*PriceLevel) GetPrice ¶
func (m *PriceLevel) GetPrice() string
func (*PriceLevel) GetVolume ¶
func (m *PriceLevel) GetVolume() uint64
func (*PriceLevel) ProtoMessage ¶
func (*PriceLevel) ProtoMessage()
func (*PriceLevel) Reset ¶
func (m *PriceLevel) Reset()
func (*PriceLevel) String ¶
func (m *PriceLevel) String() string
func (*PriceLevel) Validate ¶
func (this *PriceLevel) Validate() error
func (*PriceLevel) XXX_DiscardUnknown ¶
func (m *PriceLevel) XXX_DiscardUnknown()
func (*PriceLevel) XXX_Marshal ¶
func (m *PriceLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceLevel) XXX_Merge ¶
func (m *PriceLevel) XXX_Merge(src proto.Message)
func (*PriceLevel) XXX_Size ¶
func (m *PriceLevel) XXX_Size() int
func (*PriceLevel) XXX_Unmarshal ¶
func (m *PriceLevel) XXX_Unmarshal(b []byte) error
type PriceMonitoringBounds ¶
type PriceMonitoringBounds struct { // Minimum price that isn't currently breaching the specified price monitoring trigger MinValidPrice string `protobuf:"bytes,1,opt,name=min_valid_price,json=minValidPrice,proto3" json:"min_valid_price,omitempty"` // Maximum price that isn't currently breaching the specified price monitoring trigger MaxValidPrice string `protobuf:"bytes,2,opt,name=max_valid_price,json=maxValidPrice,proto3" json:"max_valid_price,omitempty"` // Price monitoring trigger associated with the bounds Trigger *PriceMonitoringTrigger `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"` // Reference price used to calculate the valid price range ReferencePrice float64 `protobuf:"fixed64,4,opt,name=reference_price,json=referencePrice,proto3" json:"reference_price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a list of valid (at the current timestamp) price ranges per associated trigger
func (PriceMonitoringBounds) DeepClone ¶
func (p PriceMonitoringBounds) DeepClone() *PriceMonitoringBounds
func (*PriceMonitoringBounds) Descriptor ¶
func (*PriceMonitoringBounds) Descriptor() ([]byte, []int)
func (*PriceMonitoringBounds) GetMaxValidPrice ¶
func (m *PriceMonitoringBounds) GetMaxValidPrice() string
func (*PriceMonitoringBounds) GetMinValidPrice ¶
func (m *PriceMonitoringBounds) GetMinValidPrice() string
func (*PriceMonitoringBounds) GetReferencePrice ¶
func (m *PriceMonitoringBounds) GetReferencePrice() float64
func (*PriceMonitoringBounds) GetTrigger ¶
func (m *PriceMonitoringBounds) GetTrigger() *PriceMonitoringTrigger
func (*PriceMonitoringBounds) ProtoMessage ¶
func (*PriceMonitoringBounds) ProtoMessage()
func (*PriceMonitoringBounds) Reset ¶
func (m *PriceMonitoringBounds) Reset()
func (*PriceMonitoringBounds) String ¶
func (m *PriceMonitoringBounds) String() string
func (*PriceMonitoringBounds) Validate ¶
func (this *PriceMonitoringBounds) Validate() error
func (*PriceMonitoringBounds) XXX_DiscardUnknown ¶
func (m *PriceMonitoringBounds) XXX_DiscardUnknown()
func (*PriceMonitoringBounds) XXX_Marshal ¶
func (m *PriceMonitoringBounds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceMonitoringBounds) XXX_Merge ¶
func (m *PriceMonitoringBounds) XXX_Merge(src proto.Message)
func (*PriceMonitoringBounds) XXX_Size ¶
func (m *PriceMonitoringBounds) XXX_Size() int
func (*PriceMonitoringBounds) XXX_Unmarshal ¶
func (m *PriceMonitoringBounds) XXX_Unmarshal(b []byte) error
type PriceMonitoringParameters ¶
type PriceMonitoringParameters struct { Triggers []*PriceMonitoringTrigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriceMonitoringParameters contains a collection of triggers to be used for a given market
func (PriceMonitoringParameters) DeepClone ¶
func (p PriceMonitoringParameters) DeepClone() *PriceMonitoringParameters
func (*PriceMonitoringParameters) Descriptor ¶
func (*PriceMonitoringParameters) Descriptor() ([]byte, []int)
func (*PriceMonitoringParameters) GetTriggers ¶
func (m *PriceMonitoringParameters) GetTriggers() []*PriceMonitoringTrigger
func (*PriceMonitoringParameters) ProtoMessage ¶
func (*PriceMonitoringParameters) ProtoMessage()
func (*PriceMonitoringParameters) Reset ¶
func (m *PriceMonitoringParameters) Reset()
func (*PriceMonitoringParameters) String ¶
func (m *PriceMonitoringParameters) String() string
func (*PriceMonitoringParameters) Validate ¶
func (this *PriceMonitoringParameters) Validate() error
func (*PriceMonitoringParameters) XXX_DiscardUnknown ¶
func (m *PriceMonitoringParameters) XXX_DiscardUnknown()
func (*PriceMonitoringParameters) XXX_Marshal ¶
func (m *PriceMonitoringParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceMonitoringParameters) XXX_Merge ¶
func (m *PriceMonitoringParameters) XXX_Merge(src proto.Message)
func (*PriceMonitoringParameters) XXX_Size ¶
func (m *PriceMonitoringParameters) XXX_Size() int
func (*PriceMonitoringParameters) XXX_Unmarshal ¶
func (m *PriceMonitoringParameters) XXX_Unmarshal(b []byte) error
type PriceMonitoringSettings ¶
type PriceMonitoringSettings struct { // Specifies price monitoring parameters to be used for price monitoring purposes Parameters *PriceMonitoringParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` // Specifies how often (expressed in seconds) the price monitoring bounds should be updated UpdateFrequency int64 `protobuf:"varint,2,opt,name=update_frequency,json=updateFrequency,proto3" json:"update_frequency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriceMonitoringSettings contains the settings for price monitoring
func (PriceMonitoringSettings) DeepClone ¶
func (p PriceMonitoringSettings) DeepClone() *PriceMonitoringSettings
func (*PriceMonitoringSettings) Descriptor ¶
func (*PriceMonitoringSettings) Descriptor() ([]byte, []int)
func (*PriceMonitoringSettings) GetParameters ¶
func (m *PriceMonitoringSettings) GetParameters() *PriceMonitoringParameters
func (*PriceMonitoringSettings) GetUpdateFrequency ¶
func (m *PriceMonitoringSettings) GetUpdateFrequency() int64
func (*PriceMonitoringSettings) ProtoMessage ¶
func (*PriceMonitoringSettings) ProtoMessage()
func (*PriceMonitoringSettings) Reset ¶
func (m *PriceMonitoringSettings) Reset()
func (*PriceMonitoringSettings) String ¶
func (m *PriceMonitoringSettings) String() string
func (*PriceMonitoringSettings) Validate ¶
func (this *PriceMonitoringSettings) Validate() error
func (*PriceMonitoringSettings) XXX_DiscardUnknown ¶
func (m *PriceMonitoringSettings) XXX_DiscardUnknown()
func (*PriceMonitoringSettings) XXX_Marshal ¶
func (m *PriceMonitoringSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceMonitoringSettings) XXX_Merge ¶
func (m *PriceMonitoringSettings) XXX_Merge(src proto.Message)
func (*PriceMonitoringSettings) XXX_Size ¶
func (m *PriceMonitoringSettings) XXX_Size() int
func (*PriceMonitoringSettings) XXX_Unmarshal ¶
func (m *PriceMonitoringSettings) XXX_Unmarshal(b []byte) error
type PriceMonitoringTrigger ¶
type PriceMonitoringTrigger struct { // Price monitoring projection horizon τ in seconds Horizon int64 `protobuf:"varint,1,opt,name=horizon,proto3" json:"horizon,omitempty"` // Price monitoring probability level p Probability float64 `protobuf:"fixed64,2,opt,name=probability,proto3" json:"probability,omitempty"` // Price monitoring auction extension duration in seconds should the price // breach it's theoretical level over the specified horizon at the specified // probability level AuctionExtension int64 `protobuf:"varint,3,opt,name=auction_extension,json=auctionExtension,proto3" json:"auction_extension,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PriceMonitoringTrigger holds together price projection horizon τ, probability level p, and auction extension duration
func (PriceMonitoringTrigger) DeepClone ¶
func (p PriceMonitoringTrigger) DeepClone() *PriceMonitoringTrigger
func (*PriceMonitoringTrigger) Descriptor ¶
func (*PriceMonitoringTrigger) Descriptor() ([]byte, []int)
func (*PriceMonitoringTrigger) GetAuctionExtension ¶
func (m *PriceMonitoringTrigger) GetAuctionExtension() int64
func (*PriceMonitoringTrigger) GetHorizon ¶
func (m *PriceMonitoringTrigger) GetHorizon() int64
func (*PriceMonitoringTrigger) GetProbability ¶
func (m *PriceMonitoringTrigger) GetProbability() float64
func (*PriceMonitoringTrigger) ProtoMessage ¶
func (*PriceMonitoringTrigger) ProtoMessage()
func (*PriceMonitoringTrigger) Reset ¶
func (m *PriceMonitoringTrigger) Reset()
func (*PriceMonitoringTrigger) String ¶
func (m *PriceMonitoringTrigger) String() string
func (*PriceMonitoringTrigger) Validate ¶
func (this *PriceMonitoringTrigger) Validate() error
func (*PriceMonitoringTrigger) XXX_DiscardUnknown ¶
func (m *PriceMonitoringTrigger) XXX_DiscardUnknown()
func (*PriceMonitoringTrigger) XXX_Marshal ¶
func (m *PriceMonitoringTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceMonitoringTrigger) XXX_Merge ¶
func (m *PriceMonitoringTrigger) XXX_Merge(src proto.Message)
func (*PriceMonitoringTrigger) XXX_Size ¶
func (m *PriceMonitoringTrigger) XXX_Size() int
func (*PriceMonitoringTrigger) XXX_Unmarshal ¶
func (m *PriceMonitoringTrigger) XXX_Unmarshal(b []byte) error
type Proposal ¶
type Proposal struct { // Unique proposal identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Proposal reference Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // Party identifier of the author (the party submitting the proposal) PartyId string `protobuf:"bytes,3,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Proposal state - See (Proposal.State)[#vega.Proposal.State] definition State Proposal_State `protobuf:"varint,4,opt,name=state,proto3,enum=vega.Proposal_State" json:"state,omitempty"` // Proposal timestamp for date and time (in nanoseconds) when proposal was submitted to the network Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Proposal configuration and the actual change that is meant to be executed when proposal is enacted Terms *ProposalTerms `protobuf:"bytes,6,opt,name=terms,proto3" json:"terms,omitempty"` // A reason for the current state of the proposal, this may be set in case of REJECTED and FAILED statuses Reason ProposalError `protobuf:"varint,7,opt,name=reason,proto3,enum=vega.ProposalError" json:"reason,omitempty"` // The detailed error associated to the reason. ErrorDetails string `protobuf:"bytes,8,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Governance proposal
func (*Proposal) Descriptor ¶
func (*Proposal) GetErrorDetails ¶
func (*Proposal) GetPartyId ¶
func (*Proposal) GetReason ¶
func (m *Proposal) GetReason() ProposalError
func (*Proposal) GetReference ¶
func (*Proposal) GetState ¶
func (m *Proposal) GetState() Proposal_State
func (*Proposal) GetTerms ¶
func (m *Proposal) GetTerms() *ProposalTerms
func (*Proposal) GetTimestamp ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶
func (*Proposal) XXX_Unmarshal ¶
type ProposalError ¶
type ProposalError int32
A list of possible errors that can cause a proposal to be in state rejected or failed
const ( // Default value ProposalError_PROPOSAL_ERROR_UNSPECIFIED ProposalError = 0 // The specified close time is too early base on network parameters ProposalError_PROPOSAL_ERROR_CLOSE_TIME_TOO_SOON ProposalError = 1 // The specified close time is too late based on network parameters ProposalError_PROPOSAL_ERROR_CLOSE_TIME_TOO_LATE ProposalError = 2 // The specified enact time is too early based on network parameters ProposalError_PROPOSAL_ERROR_ENACT_TIME_TOO_SOON ProposalError = 3 // The specified enact time is too late based on network parameters ProposalError_PROPOSAL_ERROR_ENACT_TIME_TOO_LATE ProposalError = 4 // The proposer for this proposal as insufficient tokens ProposalError_PROPOSAL_ERROR_INSUFFICIENT_TOKENS ProposalError = 5 // The instrument quote name and base name were the same ProposalError_PROPOSAL_ERROR_INVALID_INSTRUMENT_SECURITY ProposalError = 6 // The proposal has no product ProposalError_PROPOSAL_ERROR_NO_PRODUCT ProposalError = 7 // The specified product is not supported ProposalError_PROPOSAL_ERROR_UNSUPPORTED_PRODUCT ProposalError = 8 // Invalid future maturity timestamp (expect RFC3339) ProposalError_PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT_TIMESTAMP ProposalError = 9 // The product maturity is past ProposalError_PROPOSAL_ERROR_PRODUCT_MATURITY_IS_PASSED ProposalError = 10 // The proposal has no trading mode ProposalError_PROPOSAL_ERROR_NO_TRADING_MODE ProposalError = 11 // The proposal has an unsupported trading mode ProposalError_PROPOSAL_ERROR_UNSUPPORTED_TRADING_MODE ProposalError = 12 // The proposal failed node validation ProposalError_PROPOSAL_ERROR_NODE_VALIDATION_FAILED ProposalError = 13 // A field is missing in a builtin asset source ProposalError_PROPOSAL_ERROR_MISSING_BUILTIN_ASSET_FIELD ProposalError = 14 // The contract address is missing in the ERC20 asset source ProposalError_PROPOSAL_ERROR_MISSING_ERC20_CONTRACT_ADDRESS ProposalError = 15 // The asset identifier is invalid or does not exist on the Vega network ProposalError_PROPOSAL_ERROR_INVALID_ASSET ProposalError = 16 // Proposal terms timestamps are not compatible (Validation < Closing < Enactment) ProposalError_PROPOSAL_ERROR_INCOMPATIBLE_TIMESTAMPS ProposalError = 17 // No risk parameters were specified ProposalError_PROPOSAL_ERROR_NO_RISK_PARAMETERS ProposalError = 18 // Invalid key in update network parameter proposal ProposalError_PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_KEY ProposalError = 19 // Invalid valid in update network parameter proposal ProposalError_PROPOSAL_ERROR_NETWORK_PARAMETER_INVALID_VALUE ProposalError = 20 // Validation failed for network parameter proposal ProposalError_PROPOSAL_ERROR_NETWORK_PARAMETER_VALIDATION_FAILED ProposalError = 21 // Opening auction duration is less than the network minimum opening auction time ProposalError_PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_SMALL ProposalError = 22 // Opening auction duration is more than the network minimum opening auction time ProposalError_PROPOSAL_ERROR_OPENING_AUCTION_DURATION_TOO_LARGE ProposalError = 23 // Market proposal is missing a liquidity commitment ProposalError_PROPOSAL_ERROR_MARKET_MISSING_LIQUIDITY_COMMITMENT ProposalError = 24 // Market proposal market could not be instantiate in execution ProposalError_PROPOSAL_ERROR_COULD_NOT_INSTANTIATE_MARKET ProposalError = 25 // Market proposal market contained invalid product definition ProposalError_PROPOSAL_ERROR_INVALID_FUTURE_PRODUCT ProposalError = 26 // Market proposal is missing commitment amount ProposalError_PROPOSAL_ERROR_MISSING_COMMITMENT_AMOUNT ProposalError = 27 // Market proposal have invalid fee ProposalError_PROPOSAL_ERROR_INVALID_FEE_AMOUNT ProposalError = 28 // Market proposal have invalid shape ProposalError_PROPOSAL_ERROR_INVALID_SHAPE ProposalError = 29 // Market proposal invalid risk parameter ProposalError_PROPOSAL_ERROR_INVALID_RISK_PARAMETER ProposalError = 30 // Proposal was declined because vote didn't reach the majority thershold required ProposalError_PROPOSAL_ERROR_MAJORITY_THRESHOLD_NOT_REACHED ProposalError = 31 // Proposal declined because the participation threshold was not reached ProposalError_PROPOSAL_ERROR_PARTICIPATION_THRESHOLD_NOT_REACHED ProposalError = 32 // Asset proposal invalid asset details ProposalError_PROPOSAL_ERROR_INVALID_ASSET_DETAILS ProposalError = 33 )
func (ProposalError) EnumDescriptor ¶
func (ProposalError) EnumDescriptor() ([]byte, []int)
func (ProposalError) String ¶
func (x ProposalError) String() string
type ProposalTerms ¶
type ProposalTerms struct { // Timestamp (Unix time in seconds) when voting closes for this proposal, // constrained by `minCloseInSeconds` and `maxCloseInSeconds` network parameters ClosingTimestamp int64 `protobuf:"varint,1,opt,name=closing_timestamp,json=closingTimestamp,proto3" json:"closing_timestamp,omitempty"` // Timestamp (Unix time in seconds) when proposal gets enacted (if passed), // constrained by `minEnactInSeconds` and `maxEnactInSeconds` network parameters EnactmentTimestamp int64 `protobuf:"varint,2,opt,name=enactment_timestamp,json=enactmentTimestamp,proto3" json:"enactment_timestamp,omitempty"` // Validation timestamp (Unix time in seconds) ValidationTimestamp int64 `protobuf:"varint,3,opt,name=validation_timestamp,json=validationTimestamp,proto3" json:"validation_timestamp,omitempty"` // Changes being proposed // // Types that are valid to be assigned to Change: // *ProposalTerms_UpdateMarket // *ProposalTerms_NewMarket // *ProposalTerms_UpdateNetworkParameter // *ProposalTerms_NewAsset Change isProposalTerms_Change `protobuf_oneof:"change"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Terms for a governance proposal on Vega
func (ProposalTerms) DeepClone ¶
func (p ProposalTerms) DeepClone() *ProposalTerms
func (*ProposalTerms) Descriptor ¶
func (*ProposalTerms) Descriptor() ([]byte, []int)
func (*ProposalTerms) GetChange ¶
func (m *ProposalTerms) GetChange() isProposalTerms_Change
func (*ProposalTerms) GetClosingTimestamp ¶
func (m *ProposalTerms) GetClosingTimestamp() int64
func (*ProposalTerms) GetEnactmentTimestamp ¶
func (m *ProposalTerms) GetEnactmentTimestamp() int64
func (*ProposalTerms) GetNewAsset ¶
func (m *ProposalTerms) GetNewAsset() *NewAsset
func (*ProposalTerms) GetNewMarket ¶
func (m *ProposalTerms) GetNewMarket() *NewMarket
func (*ProposalTerms) GetUpdateMarket ¶
func (m *ProposalTerms) GetUpdateMarket() *UpdateMarket
func (*ProposalTerms) GetUpdateNetworkParameter ¶
func (m *ProposalTerms) GetUpdateNetworkParameter() *UpdateNetworkParameter
func (*ProposalTerms) GetValidationTimestamp ¶
func (m *ProposalTerms) GetValidationTimestamp() int64
func (*ProposalTerms) ProtoMessage ¶
func (*ProposalTerms) ProtoMessage()
func (*ProposalTerms) Reset ¶
func (m *ProposalTerms) Reset()
func (*ProposalTerms) String ¶
func (m *ProposalTerms) String() string
func (*ProposalTerms) Validate ¶
func (this *ProposalTerms) Validate() error
func (*ProposalTerms) XXX_DiscardUnknown ¶
func (m *ProposalTerms) XXX_DiscardUnknown()
func (*ProposalTerms) XXX_Marshal ¶
func (m *ProposalTerms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalTerms) XXX_Merge ¶
func (m *ProposalTerms) XXX_Merge(src proto.Message)
func (*ProposalTerms) XXX_OneofWrappers ¶
func (*ProposalTerms) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ProposalTerms) XXX_Size ¶
func (m *ProposalTerms) XXX_Size() int
func (*ProposalTerms) XXX_Unmarshal ¶
func (m *ProposalTerms) XXX_Unmarshal(b []byte) error
type ProposalTerms_NewAsset ¶
type ProposalTerms_NewAsset struct {
NewAsset *NewAsset `protobuf:"bytes,104,opt,name=new_asset,json=newAsset,proto3,oneof"`
}
func (ProposalTerms_NewAsset) DeepClone ¶
func (p ProposalTerms_NewAsset) DeepClone() *ProposalTerms_NewAsset
type ProposalTerms_NewMarket ¶
type ProposalTerms_NewMarket struct {
NewMarket *NewMarket `protobuf:"bytes,102,opt,name=new_market,json=newMarket,proto3,oneof"`
}
func (ProposalTerms_NewMarket) DeepClone ¶
func (p ProposalTerms_NewMarket) DeepClone() *ProposalTerms_NewMarket
type ProposalTerms_UpdateMarket ¶
type ProposalTerms_UpdateMarket struct {
UpdateMarket *UpdateMarket `protobuf:"bytes,101,opt,name=update_market,json=updateMarket,proto3,oneof"`
}
func (ProposalTerms_UpdateMarket) DeepClone ¶
func (p ProposalTerms_UpdateMarket) DeepClone() *ProposalTerms_UpdateMarket
type ProposalTerms_UpdateNetworkParameter ¶
type ProposalTerms_UpdateNetworkParameter struct {
UpdateNetworkParameter *UpdateNetworkParameter `protobuf:"bytes,103,opt,name=update_network_parameter,json=updateNetworkParameter,proto3,oneof"`
}
func (ProposalTerms_UpdateNetworkParameter) DeepClone ¶
func (p ProposalTerms_UpdateNetworkParameter) DeepClone() *ProposalTerms_UpdateNetworkParameter
type Proposal_State ¶
type Proposal_State int32
Proposal state transition: Open ->
- Passed -> Enacted.
- Passed -> Failed.
- Declined
Rejected Proposal can enter Failed state from any other state
const ( // Default value, always invalid Proposal_STATE_UNSPECIFIED Proposal_State = 0 // Proposal enactment has failed - even though proposal has passed, its execution could not be performed Proposal_STATE_FAILED Proposal_State = 1 // Proposal is open for voting Proposal_STATE_OPEN Proposal_State = 2 // Proposal has gained enough support to be executed Proposal_STATE_PASSED Proposal_State = 3 // Proposal wasn't accepted (proposal terms failed validation due to wrong configuration or failing to meet network requirements) Proposal_STATE_REJECTED Proposal_State = 4 // Proposal didn't get enough votes (either failing to gain required participation or majority level) Proposal_STATE_DECLINED Proposal_State = 5 // Proposal enacted Proposal_STATE_ENACTED Proposal_State = 6 // Waiting for node validation of the proposal Proposal_STATE_WAITING_FOR_NODE_VOTE Proposal_State = 7 )
func (Proposal_State) EnumDescriptor ¶
func (Proposal_State) EnumDescriptor() ([]byte, []int)
func (Proposal_State) String ¶
func (x Proposal_State) String() string
type RemoveValidator ¶
type RemoveValidator struct { // The identifier of the validator Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A message to notify when a validator is being removed from the Vega network
func (*RemoveValidator) Descriptor ¶
func (*RemoveValidator) Descriptor() ([]byte, []int)
func (*RemoveValidator) GetId ¶
func (m *RemoveValidator) GetId() *Identifier
func (*RemoveValidator) ProtoMessage ¶
func (*RemoveValidator) ProtoMessage()
func (*RemoveValidator) Reset ¶
func (m *RemoveValidator) Reset()
func (*RemoveValidator) String ¶
func (m *RemoveValidator) String() string
func (*RemoveValidator) Validate ¶
func (this *RemoveValidator) Validate() error
func (*RemoveValidator) XXX_DiscardUnknown ¶
func (m *RemoveValidator) XXX_DiscardUnknown()
func (*RemoveValidator) XXX_Marshal ¶
func (m *RemoveValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveValidator) XXX_Merge ¶
func (m *RemoveValidator) XXX_Merge(src proto.Message)
func (*RemoveValidator) XXX_Size ¶
func (m *RemoveValidator) XXX_Size() int
func (*RemoveValidator) XXX_Unmarshal ¶
func (m *RemoveValidator) XXX_Unmarshal(b []byte) error
type RewardDetails ¶ added in v0.42.0
type RewardDetails struct { AssetId string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` PercentageOfTotal string `protobuf:"bytes,5,opt,name=percentage_of_total,json=percentageOfTotal,proto3" json:"percentage_of_total,omitempty"` ReceivedAt int64 `protobuf:"varint,6,opt,name=received_at,json=receivedAt,proto3" json:"received_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Details for a single reward payment
func (*RewardDetails) Descriptor ¶ added in v0.42.0
func (*RewardDetails) Descriptor() ([]byte, []int)
func (*RewardDetails) GetAmount ¶ added in v0.42.0
func (m *RewardDetails) GetAmount() string
func (*RewardDetails) GetAssetId ¶ added in v0.42.0
func (m *RewardDetails) GetAssetId() string
func (*RewardDetails) GetEpoch ¶ added in v0.42.0
func (m *RewardDetails) GetEpoch() uint64
func (*RewardDetails) GetPartyId ¶ added in v0.42.0
func (m *RewardDetails) GetPartyId() string
func (*RewardDetails) GetPercentageOfTotal ¶ added in v0.42.0
func (m *RewardDetails) GetPercentageOfTotal() string
func (*RewardDetails) GetReceivedAt ¶ added in v0.42.0
func (m *RewardDetails) GetReceivedAt() int64
func (*RewardDetails) ProtoMessage ¶ added in v0.42.0
func (*RewardDetails) ProtoMessage()
func (*RewardDetails) Reset ¶ added in v0.42.0
func (m *RewardDetails) Reset()
func (*RewardDetails) String ¶ added in v0.42.0
func (m *RewardDetails) String() string
func (*RewardDetails) Validate ¶ added in v0.42.0
func (this *RewardDetails) Validate() error
func (*RewardDetails) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *RewardDetails) XXX_DiscardUnknown()
func (*RewardDetails) XXX_Marshal ¶ added in v0.42.0
func (m *RewardDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardDetails) XXX_Merge ¶ added in v0.42.0
func (m *RewardDetails) XXX_Merge(src proto.Message)
func (*RewardDetails) XXX_Size ¶ added in v0.42.0
func (m *RewardDetails) XXX_Size() int
func (*RewardDetails) XXX_Unmarshal ¶ added in v0.42.0
func (m *RewardDetails) XXX_Unmarshal(b []byte) error
type RewardPerAssetDetail ¶ added in v0.42.0
type RewardPerAssetDetail struct { // asset details Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // rewards ordered by received_at Details []*RewardDetails `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // Total amount of rewards for the asset TotalForAsset string `protobuf:"bytes,3,opt,name=total_for_asset,json=totalForAsset,proto3" json:"total_for_asset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Details for rewards for a single asset
func (*RewardPerAssetDetail) Descriptor ¶ added in v0.42.0
func (*RewardPerAssetDetail) Descriptor() ([]byte, []int)
func (*RewardPerAssetDetail) GetAsset ¶ added in v0.42.0
func (m *RewardPerAssetDetail) GetAsset() string
func (*RewardPerAssetDetail) GetDetails ¶ added in v0.42.0
func (m *RewardPerAssetDetail) GetDetails() []*RewardDetails
func (*RewardPerAssetDetail) GetTotalForAsset ¶ added in v0.42.0
func (m *RewardPerAssetDetail) GetTotalForAsset() string
func (*RewardPerAssetDetail) ProtoMessage ¶ added in v0.42.0
func (*RewardPerAssetDetail) ProtoMessage()
func (*RewardPerAssetDetail) Reset ¶ added in v0.42.0
func (m *RewardPerAssetDetail) Reset()
func (*RewardPerAssetDetail) String ¶ added in v0.42.0
func (m *RewardPerAssetDetail) String() string
func (*RewardPerAssetDetail) Validate ¶ added in v0.42.0
func (this *RewardPerAssetDetail) Validate() error
func (*RewardPerAssetDetail) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *RewardPerAssetDetail) XXX_DiscardUnknown()
func (*RewardPerAssetDetail) XXX_Marshal ¶ added in v0.42.0
func (m *RewardPerAssetDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardPerAssetDetail) XXX_Merge ¶ added in v0.42.0
func (m *RewardPerAssetDetail) XXX_Merge(src proto.Message)
func (*RewardPerAssetDetail) XXX_Size ¶ added in v0.42.0
func (m *RewardPerAssetDetail) XXX_Size() int
func (*RewardPerAssetDetail) XXX_Unmarshal ¶ added in v0.42.0
func (m *RewardPerAssetDetail) XXX_Unmarshal(b []byte) error
type RiskFactor ¶
type RiskFactor struct { // Market ID that relates to this risk factor Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // Short Risk factor value Short float64 `protobuf:"fixed64,2,opt,name=short,proto3" json:"short,omitempty"` // Long Risk factor value Long float64 `protobuf:"fixed64,3,opt,name=long,proto3" json:"long,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk factors are used to calculate the current risk associated with orders trading on a given market
func (RiskFactor) DeepClone ¶
func (r RiskFactor) DeepClone() *RiskFactor
func (*RiskFactor) Descriptor ¶
func (*RiskFactor) Descriptor() ([]byte, []int)
func (*RiskFactor) GetLong ¶
func (m *RiskFactor) GetLong() float64
func (*RiskFactor) GetMarket ¶
func (m *RiskFactor) GetMarket() string
func (*RiskFactor) GetShort ¶
func (m *RiskFactor) GetShort() float64
func (RiskFactor) IsEvent ¶
func (RiskFactor) IsEvent()
func (*RiskFactor) ProtoMessage ¶
func (*RiskFactor) ProtoMessage()
func (*RiskFactor) Reset ¶
func (m *RiskFactor) Reset()
func (*RiskFactor) String ¶
func (m *RiskFactor) String() string
func (*RiskFactor) Validate ¶
func (this *RiskFactor) Validate() error
func (*RiskFactor) XXX_DiscardUnknown ¶
func (m *RiskFactor) XXX_DiscardUnknown()
func (*RiskFactor) XXX_Marshal ¶
func (m *RiskFactor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RiskFactor) XXX_Merge ¶
func (m *RiskFactor) XXX_Merge(src proto.Message)
func (*RiskFactor) XXX_Size ¶
func (m *RiskFactor) XXX_Size() int
func (*RiskFactor) XXX_Unmarshal ¶
func (m *RiskFactor) XXX_Unmarshal(b []byte) error
type RiskResult ¶
type RiskResult struct { // Timestamp for when risk factors were generated UpdatedTimestamp int64 `protobuf:"varint,1,opt,name=updated_timestamp,json=updatedTimestamp,proto3" json:"updated_timestamp,omitempty"` // Risk factors (long and short) for each margin-able asset/currency (usually == settlement assets) in the market RiskFactors map[string]*RiskFactor `` /* 182-byte string literal not displayed */ // Timestamp for when risk factors are expected to change (or empty if risk factors are continually updated) NextUpdateTimestamp int64 `protobuf:"varint,3,opt,name=next_update_timestamp,json=nextUpdateTimestamp,proto3" json:"next_update_timestamp,omitempty"` // Predicted risk factors at next change (what they would be if the change occurred now) PredictedNextRiskFactors map[string]*RiskFactor `` /* 225-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk results are calculated internally by Vega to attempt to maintain safe trading
func (*RiskResult) Descriptor ¶
func (*RiskResult) Descriptor() ([]byte, []int)
func (*RiskResult) GetNextUpdateTimestamp ¶
func (m *RiskResult) GetNextUpdateTimestamp() int64
func (*RiskResult) GetPredictedNextRiskFactors ¶
func (m *RiskResult) GetPredictedNextRiskFactors() map[string]*RiskFactor
func (*RiskResult) GetRiskFactors ¶
func (m *RiskResult) GetRiskFactors() map[string]*RiskFactor
func (*RiskResult) GetUpdatedTimestamp ¶
func (m *RiskResult) GetUpdatedTimestamp() int64
func (*RiskResult) ProtoMessage ¶
func (*RiskResult) ProtoMessage()
func (*RiskResult) Reset ¶
func (m *RiskResult) Reset()
func (*RiskResult) String ¶
func (m *RiskResult) String() string
func (*RiskResult) Validate ¶
func (this *RiskResult) Validate() error
func (*RiskResult) XXX_DiscardUnknown ¶
func (m *RiskResult) XXX_DiscardUnknown()
func (*RiskResult) XXX_Marshal ¶
func (m *RiskResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RiskResult) XXX_Merge ¶
func (m *RiskResult) XXX_Merge(src proto.Message)
func (*RiskResult) XXX_Size ¶
func (m *RiskResult) XXX_Size() int
func (*RiskResult) XXX_Unmarshal ¶
func (m *RiskResult) XXX_Unmarshal(b []byte) error
type ScalingFactors ¶
type ScalingFactors struct { // Search level SearchLevel float64 `protobuf:"fixed64,1,opt,name=search_level,json=searchLevel,proto3" json:"search_level,omitempty"` // Initial margin level InitialMargin float64 `protobuf:"fixed64,2,opt,name=initial_margin,json=initialMargin,proto3" json:"initial_margin,omitempty"` // Collateral release level CollateralRelease float64 `protobuf:"fixed64,3,opt,name=collateral_release,json=collateralRelease,proto3" json:"collateral_release,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Scaling Factors (for use in margin calculation)
func (ScalingFactors) DeepClone ¶
func (s ScalingFactors) DeepClone() *ScalingFactors
func (*ScalingFactors) Descriptor ¶
func (*ScalingFactors) Descriptor() ([]byte, []int)
func (*ScalingFactors) GetCollateralRelease ¶
func (m *ScalingFactors) GetCollateralRelease() float64
func (*ScalingFactors) GetInitialMargin ¶
func (m *ScalingFactors) GetInitialMargin() float64
func (*ScalingFactors) GetSearchLevel ¶
func (m *ScalingFactors) GetSearchLevel() float64
func (*ScalingFactors) ProtoMessage ¶
func (*ScalingFactors) ProtoMessage()
func (*ScalingFactors) Reset ¶
func (m *ScalingFactors) Reset()
func (*ScalingFactors) String ¶
func (m *ScalingFactors) String() string
func (*ScalingFactors) Validate ¶
func (this *ScalingFactors) Validate() error
func (*ScalingFactors) XXX_DiscardUnknown ¶
func (m *ScalingFactors) XXX_DiscardUnknown()
func (*ScalingFactors) XXX_Marshal ¶
func (m *ScalingFactors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScalingFactors) XXX_Merge ¶
func (m *ScalingFactors) XXX_Merge(src proto.Message)
func (*ScalingFactors) XXX_Size ¶
func (m *ScalingFactors) XXX_Size() int
func (*ScalingFactors) XXX_Unmarshal ¶
func (m *ScalingFactors) XXX_Unmarshal(b []byte) error
type Side ¶
type Side int32
A side relates to the direction of an order, to Buy, or Sell
func (Side) EnumDescriptor ¶
type SimpleModelParams ¶
type SimpleModelParams struct { // Pre-defined risk factor value for long FactorLong float64 `protobuf:"fixed64,1,opt,name=factor_long,json=factorLong,proto3" json:"factor_long,omitempty"` // Pre-defined risk factor value for short FactorShort float64 `protobuf:"fixed64,2,opt,name=factor_short,json=factorShort,proto3" json:"factor_short,omitempty"` // Pre-defined maximum price move up that the model considers as valid MaxMoveUp float64 `protobuf:"fixed64,3,opt,name=max_move_up,json=maxMoveUp,proto3" json:"max_move_up,omitempty"` // Pre-defined minimum price move down that the model considers as valid MinMoveDown float64 `protobuf:"fixed64,4,opt,name=min_move_down,json=minMoveDown,proto3" json:"min_move_down,omitempty"` // Pre-defined constant probability of trading ProbabilityOfTrading float64 `protobuf:"fixed64,5,opt,name=probability_of_trading,json=probabilityOfTrading,proto3" json:"probability_of_trading,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk model parameters for simple modelling
func (SimpleModelParams) DeepClone ¶
func (s SimpleModelParams) DeepClone() *SimpleModelParams
func (*SimpleModelParams) Descriptor ¶
func (*SimpleModelParams) Descriptor() ([]byte, []int)
func (*SimpleModelParams) GetFactorLong ¶
func (m *SimpleModelParams) GetFactorLong() float64
func (*SimpleModelParams) GetFactorShort ¶
func (m *SimpleModelParams) GetFactorShort() float64
func (*SimpleModelParams) GetMaxMoveUp ¶
func (m *SimpleModelParams) GetMaxMoveUp() float64
func (*SimpleModelParams) GetMinMoveDown ¶
func (m *SimpleModelParams) GetMinMoveDown() float64
func (*SimpleModelParams) GetProbabilityOfTrading ¶
func (m *SimpleModelParams) GetProbabilityOfTrading() float64
func (SimpleModelParams) IsRiskModel ¶
func (SimpleModelParams) IsRiskModel()
func (*SimpleModelParams) ProtoMessage ¶
func (*SimpleModelParams) ProtoMessage()
func (*SimpleModelParams) Reset ¶
func (m *SimpleModelParams) Reset()
func (*SimpleModelParams) String ¶
func (m *SimpleModelParams) String() string
func (*SimpleModelParams) Validate ¶
func (this *SimpleModelParams) Validate() error
func (*SimpleModelParams) XXX_DiscardUnknown ¶
func (m *SimpleModelParams) XXX_DiscardUnknown()
func (*SimpleModelParams) XXX_Marshal ¶
func (m *SimpleModelParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleModelParams) XXX_Merge ¶
func (m *SimpleModelParams) XXX_Merge(src proto.Message)
func (*SimpleModelParams) XXX_Size ¶
func (m *SimpleModelParams) XXX_Size() int
func (*SimpleModelParams) XXX_Unmarshal ¶
func (m *SimpleModelParams) XXX_Unmarshal(b []byte) error
type SimpleRiskModel ¶
type SimpleRiskModel struct { // Risk model params for simple modelling Params *SimpleModelParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Risk model for simple modelling
func (SimpleRiskModel) DeepClone ¶
func (s SimpleRiskModel) DeepClone() *SimpleRiskModel
func (*SimpleRiskModel) Descriptor ¶
func (*SimpleRiskModel) Descriptor() ([]byte, []int)
func (*SimpleRiskModel) GetParams ¶
func (m *SimpleRiskModel) GetParams() *SimpleModelParams
func (SimpleRiskModel) IsRiskModel ¶
func (SimpleRiskModel) IsRiskModel()
func (*SimpleRiskModel) ProtoMessage ¶
func (*SimpleRiskModel) ProtoMessage()
func (*SimpleRiskModel) Reset ¶
func (m *SimpleRiskModel) Reset()
func (*SimpleRiskModel) String ¶
func (m *SimpleRiskModel) String() string
func (*SimpleRiskModel) Validate ¶
func (this *SimpleRiskModel) Validate() error
func (*SimpleRiskModel) XXX_DiscardUnknown ¶
func (m *SimpleRiskModel) XXX_DiscardUnknown()
func (*SimpleRiskModel) XXX_Marshal ¶
func (m *SimpleRiskModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleRiskModel) XXX_Merge ¶
func (m *SimpleRiskModel) XXX_Merge(src proto.Message)
func (*SimpleRiskModel) XXX_Size ¶
func (m *SimpleRiskModel) XXX_Size() int
func (*SimpleRiskModel) XXX_Unmarshal ¶
func (m *SimpleRiskModel) XXX_Unmarshal(b []byte) error
type StakeDeposited ¶ added in v0.42.0
type StakeDeposited struct { // Ethereum Address of the user depositing stake (hex encode with 0x prefix) EthereumAddress string `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` // The public of the party receiving the stake deposit (hex encode) VegaPublicKey string `protobuf:"bytes,2,opt,name=vega_public_key,json=vegaPublicKey,proto3" json:"vega_public_key,omitempty"` // The amount deposited (base 10) Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // The time at which the block was produced // will be used to inform the core at what time // the stake started to be available. BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StakeDeposited) Descriptor ¶ added in v0.42.0
func (*StakeDeposited) Descriptor() ([]byte, []int)
func (*StakeDeposited) GetAmount ¶ added in v0.42.0
func (m *StakeDeposited) GetAmount() string
func (*StakeDeposited) GetBlockTime ¶ added in v0.42.0
func (m *StakeDeposited) GetBlockTime() int64
func (*StakeDeposited) GetEthereumAddress ¶ added in v0.42.0
func (m *StakeDeposited) GetEthereumAddress() string
func (*StakeDeposited) GetVegaPublicKey ¶ added in v0.42.0
func (m *StakeDeposited) GetVegaPublicKey() string
func (*StakeDeposited) ProtoMessage ¶ added in v0.42.0
func (*StakeDeposited) ProtoMessage()
func (*StakeDeposited) Reset ¶ added in v0.42.0
func (m *StakeDeposited) Reset()
func (*StakeDeposited) String ¶ added in v0.42.0
func (m *StakeDeposited) String() string
func (*StakeDeposited) Validate ¶ added in v0.42.0
func (this *StakeDeposited) Validate() error
func (*StakeDeposited) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *StakeDeposited) XXX_DiscardUnknown()
func (*StakeDeposited) XXX_Marshal ¶ added in v0.42.0
func (m *StakeDeposited) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeDeposited) XXX_Merge ¶ added in v0.42.0
func (m *StakeDeposited) XXX_Merge(src proto.Message)
func (*StakeDeposited) XXX_Size ¶ added in v0.42.0
func (m *StakeDeposited) XXX_Size() int
func (*StakeDeposited) XXX_Unmarshal ¶ added in v0.42.0
func (m *StakeDeposited) XXX_Unmarshal(b []byte) error
type StakeRemoved ¶ added in v0.42.0
type StakeRemoved struct { // Ethereum address of the user removing stake (hex encode with 0x prefix) EthereumAddress string `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` // The public key of the party from which to remove stake (hex encode) VegaPublicKey string `protobuf:"bytes,2,opt,name=vega_public_key,json=vegaPublicKey,proto3" json:"vega_public_key,omitempty"` // The amount removed (base 10) Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // The time at which the block was produced // will be used to inform the core at what time // the stake was made unavailable. BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StakeRemoved) Descriptor ¶ added in v0.42.0
func (*StakeRemoved) Descriptor() ([]byte, []int)
func (*StakeRemoved) GetAmount ¶ added in v0.42.0
func (m *StakeRemoved) GetAmount() string
func (*StakeRemoved) GetBlockTime ¶ added in v0.42.0
func (m *StakeRemoved) GetBlockTime() int64
func (*StakeRemoved) GetEthereumAddress ¶ added in v0.42.0
func (m *StakeRemoved) GetEthereumAddress() string
func (*StakeRemoved) GetVegaPublicKey ¶ added in v0.42.0
func (m *StakeRemoved) GetVegaPublicKey() string
func (*StakeRemoved) ProtoMessage ¶ added in v0.42.0
func (*StakeRemoved) ProtoMessage()
func (*StakeRemoved) Reset ¶ added in v0.42.0
func (m *StakeRemoved) Reset()
func (*StakeRemoved) String ¶ added in v0.42.0
func (m *StakeRemoved) String() string
func (*StakeRemoved) Validate ¶ added in v0.42.0
func (this *StakeRemoved) Validate() error
func (*StakeRemoved) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *StakeRemoved) XXX_DiscardUnknown()
func (*StakeRemoved) XXX_Marshal ¶ added in v0.42.0
func (m *StakeRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeRemoved) XXX_Merge ¶ added in v0.42.0
func (m *StakeRemoved) XXX_Merge(src proto.Message)
func (*StakeRemoved) XXX_Size ¶ added in v0.42.0
func (m *StakeRemoved) XXX_Size() int
func (*StakeRemoved) XXX_Unmarshal ¶ added in v0.42.0
func (m *StakeRemoved) XXX_Unmarshal(b []byte) error
type StakingEvent ¶ added in v0.42.0
type StakingEvent struct { // Index of the transaction Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The block in which the transaction was added Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` // Types that are valid to be assigned to Action: // *StakingEvent_StakeDeposited // *StakingEvent_StakeRemoved Action isStakingEvent_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StakingEvent) Descriptor ¶ added in v0.42.0
func (*StakingEvent) Descriptor() ([]byte, []int)
func (*StakingEvent) GetAction ¶ added in v0.42.0
func (m *StakingEvent) GetAction() isStakingEvent_Action
func (*StakingEvent) GetBlock ¶ added in v0.42.0
func (m *StakingEvent) GetBlock() uint64
func (*StakingEvent) GetIndex ¶ added in v0.42.0
func (m *StakingEvent) GetIndex() uint64
func (*StakingEvent) GetStakeDeposited ¶ added in v0.42.0
func (m *StakingEvent) GetStakeDeposited() *StakeDeposited
func (*StakingEvent) GetStakeRemoved ¶ added in v0.42.0
func (m *StakingEvent) GetStakeRemoved() *StakeRemoved
func (*StakingEvent) ProtoMessage ¶ added in v0.42.0
func (*StakingEvent) ProtoMessage()
func (*StakingEvent) Reset ¶ added in v0.42.0
func (m *StakingEvent) Reset()
func (*StakingEvent) String ¶ added in v0.42.0
func (m *StakingEvent) String() string
func (*StakingEvent) Validate ¶ added in v0.42.0
func (this *StakingEvent) Validate() error
func (*StakingEvent) XXX_DiscardUnknown ¶ added in v0.42.0
func (m *StakingEvent) XXX_DiscardUnknown()
func (*StakingEvent) XXX_Marshal ¶ added in v0.42.0
func (m *StakingEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakingEvent) XXX_Merge ¶ added in v0.42.0
func (m *StakingEvent) XXX_Merge(src proto.Message)
func (*StakingEvent) XXX_OneofWrappers ¶ added in v0.42.0
func (*StakingEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StakingEvent) XXX_Size ¶ added in v0.42.0
func (m *StakingEvent) XXX_Size() int
func (*StakingEvent) XXX_Unmarshal ¶ added in v0.42.0
func (m *StakingEvent) XXX_Unmarshal(b []byte) error
type StakingEvent_StakeDeposited ¶ added in v0.42.0
type StakingEvent_StakeDeposited struct {
StakeDeposited *StakeDeposited `protobuf:"bytes,1001,opt,name=stake_deposited,json=stakeDeposited,proto3,oneof"`
}
type StakingEvent_StakeRemoved ¶ added in v0.42.0
type StakingEvent_StakeRemoved struct {
StakeRemoved *StakeRemoved `protobuf:"bytes,1002,opt,name=stake_removed,json=stakeRemoved,proto3,oneof"`
}
type TargetStakeParameters ¶
type TargetStakeParameters struct { // Specifies length of time window expressed in seconds for target stake calculation TimeWindow int64 `protobuf:"varint,1,opt,name=time_window,json=timeWindow,proto3" json:"time_window,omitempty"` // Specifies scaling factors used in target stake calculation ScalingFactor float64 `protobuf:"fixed64,2,opt,name=scaling_factor,json=scalingFactor,proto3" json:"scaling_factor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TargetStakeParameters contains parameters used in target stake calculation
func (TargetStakeParameters) DeepClone ¶
func (t TargetStakeParameters) DeepClone() *TargetStakeParameters
func (*TargetStakeParameters) Descriptor ¶
func (*TargetStakeParameters) Descriptor() ([]byte, []int)
func (*TargetStakeParameters) GetScalingFactor ¶
func (m *TargetStakeParameters) GetScalingFactor() float64
func (*TargetStakeParameters) GetTimeWindow ¶
func (m *TargetStakeParameters) GetTimeWindow() int64
func (*TargetStakeParameters) ProtoMessage ¶
func (*TargetStakeParameters) ProtoMessage()
func (*TargetStakeParameters) Reset ¶
func (m *TargetStakeParameters) Reset()
func (*TargetStakeParameters) String ¶
func (m *TargetStakeParameters) String() string
func (*TargetStakeParameters) Validate ¶
func (this *TargetStakeParameters) Validate() error
func (*TargetStakeParameters) XXX_DiscardUnknown ¶
func (m *TargetStakeParameters) XXX_DiscardUnknown()
func (*TargetStakeParameters) XXX_Marshal ¶
func (m *TargetStakeParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TargetStakeParameters) XXX_Merge ¶
func (m *TargetStakeParameters) XXX_Merge(src proto.Message)
func (*TargetStakeParameters) XXX_Size ¶
func (m *TargetStakeParameters) XXX_Size() int
func (*TargetStakeParameters) XXX_Unmarshal ¶
func (m *TargetStakeParameters) XXX_Unmarshal(b []byte) error
type Timestamp ¶
type Timestamp struct { // Timestamp value Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A timestamp in nanoseconds since epoch See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp`
func (*Timestamp) Descriptor ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) XXX_DiscardUnknown ¶
func (m *Timestamp) XXX_DiscardUnknown()
func (*Timestamp) XXX_Marshal ¶
func (*Timestamp) XXX_Unmarshal ¶
type TradableInstrument ¶
type TradableInstrument struct { // Instrument details Instrument *Instrument `protobuf:"bytes,1,opt,name=instrument,proto3" json:"instrument,omitempty"` // Margin calculator for the instrument MarginCalculator *MarginCalculator `protobuf:"bytes,2,opt,name=margin_calculator,json=marginCalculator,proto3" json:"margin_calculator,omitempty"` // Risk model for use by the instrument // // Types that are valid to be assigned to RiskModel: // *TradableInstrument_LogNormalRiskModel // *TradableInstrument_SimpleRiskModel RiskModel isTradableInstrument_RiskModel `protobuf_oneof:"risk_model"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tradable Instrument definition
func (TradableInstrument) DeepClone ¶
func (t TradableInstrument) DeepClone() *TradableInstrument
func (*TradableInstrument) Descriptor ¶
func (*TradableInstrument) Descriptor() ([]byte, []int)
func (*TradableInstrument) GetInstrument ¶
func (m *TradableInstrument) GetInstrument() *Instrument
func (*TradableInstrument) GetLogNormalRiskModel ¶
func (m *TradableInstrument) GetLogNormalRiskModel() *LogNormalRiskModel
func (*TradableInstrument) GetMarginCalculator ¶
func (m *TradableInstrument) GetMarginCalculator() *MarginCalculator
func (*TradableInstrument) GetRiskModel ¶
func (m *TradableInstrument) GetRiskModel() isTradableInstrument_RiskModel
func (*TradableInstrument) GetSimpleRiskModel ¶
func (m *TradableInstrument) GetSimpleRiskModel() *SimpleRiskModel
func (*TradableInstrument) ProtoMessage ¶
func (*TradableInstrument) ProtoMessage()
func (*TradableInstrument) Reset ¶
func (m *TradableInstrument) Reset()
func (*TradableInstrument) String ¶
func (m *TradableInstrument) String() string
func (*TradableInstrument) Validate ¶
func (this *TradableInstrument) Validate() error
func (*TradableInstrument) XXX_DiscardUnknown ¶
func (m *TradableInstrument) XXX_DiscardUnknown()
func (*TradableInstrument) XXX_Marshal ¶
func (m *TradableInstrument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradableInstrument) XXX_Merge ¶
func (m *TradableInstrument) XXX_Merge(src proto.Message)
func (*TradableInstrument) XXX_OneofWrappers ¶
func (*TradableInstrument) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TradableInstrument) XXX_Size ¶
func (m *TradableInstrument) XXX_Size() int
func (*TradableInstrument) XXX_Unmarshal ¶
func (m *TradableInstrument) XXX_Unmarshal(b []byte) error
type TradableInstrument_LogNormalRiskModel ¶
type TradableInstrument_LogNormalRiskModel struct {
LogNormalRiskModel *LogNormalRiskModel `protobuf:"bytes,100,opt,name=log_normal_risk_model,json=logNormalRiskModel,proto3,oneof"`
}
func (TradableInstrument_LogNormalRiskModel) DeepClone ¶
func (t TradableInstrument_LogNormalRiskModel) DeepClone() *TradableInstrument_LogNormalRiskModel
type TradableInstrument_SimpleRiskModel ¶
type TradableInstrument_SimpleRiskModel struct {
SimpleRiskModel *SimpleRiskModel `protobuf:"bytes,101,opt,name=simple_risk_model,json=simpleRiskModel,proto3,oneof"`
}
func (TradableInstrument_SimpleRiskModel) DeepClone ¶
func (t TradableInstrument_SimpleRiskModel) DeepClone() *TradableInstrument_SimpleRiskModel
type Trade ¶
type Trade struct { // Unique identifier for the trade (generated by Vega) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Market identifier (the market that the trade occurred on) MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Price for the trade, the price is an integer, for example `123456` is a correctly // formatted price of `1.23456` assuming market configured to 5 decimal places Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` // Size filled for the trade Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // Unique party identifier for the buyer Buyer string `protobuf:"bytes,5,opt,name=buyer,proto3" json:"buyer,omitempty"` // Unique party identifier for the seller Seller string `protobuf:"bytes,6,opt,name=seller,proto3" json:"seller,omitempty"` // Direction of the aggressive party e.g. SIDE_BUY or SIDE_SELL - See [`Side`](#vega.Side) Aggressor Side `protobuf:"varint,7,opt,name=aggressor,proto3,enum=vega.Side" json:"aggressor,omitempty"` // Identifier of the order from the buy side BuyOrder string `protobuf:"bytes,8,opt,name=buy_order,json=buyOrder,proto3" json:"buy_order,omitempty"` // Identifier of the order from the sell side SellOrder string `protobuf:"bytes,9,opt,name=sell_order,json=sellOrder,proto3" json:"sell_order,omitempty"` // Timestamp for when the trade occurred, in nanoseconds since the epoch // - See [`VegaTimeResponse`](#api.VegaTimeResponse).`timestamp` Timestamp int64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Type for the trade - See [`Trade.Type`](#vega.Trade.Type) Type Trade_Type `protobuf:"varint,11,opt,name=type,proto3,enum=vega.Trade_Type" json:"type,omitempty"` // Fee amount charged to the buyer party for the trade BuyerFee *Fee `protobuf:"bytes,12,opt,name=buyer_fee,json=buyerFee,proto3" json:"buyer_fee,omitempty"` // Fee amount charged to the seller party for the trade SellerFee *Fee `protobuf:"bytes,13,opt,name=seller_fee,json=sellerFee,proto3" json:"seller_fee,omitempty"` // Auction batch number that the buy side order was placed in BuyerAuctionBatch uint64 `protobuf:"varint,14,opt,name=buyer_auction_batch,json=buyerAuctionBatch,proto3" json:"buyer_auction_batch,omitempty"` // Auction batch number that the sell side order was placed in SellerAuctionBatch uint64 `protobuf:"varint,15,opt,name=seller_auction_batch,json=sellerAuctionBatch,proto3" json:"seller_auction_batch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A trade occurs when an aggressive order crosses one or more passive orders on the order book for a market on Vega
func (*Trade) Descriptor ¶
func (*Trade) GetAggressor ¶
func (*Trade) GetBuyOrder ¶
func (*Trade) GetBuyerAuctionBatch ¶
func (*Trade) GetBuyerFee ¶
func (*Trade) GetMarketId ¶
func (*Trade) GetSellOrder ¶
func (*Trade) GetSellerAuctionBatch ¶
func (*Trade) GetSellerFee ¶
func (*Trade) GetTimestamp ¶
func (*Trade) GetType ¶
func (m *Trade) GetType() Trade_Type
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) XXX_DiscardUnknown ¶
func (m *Trade) XXX_DiscardUnknown()
func (*Trade) XXX_Marshal ¶
func (*Trade) XXX_Unmarshal ¶
type TradeSet ¶
type TradeSet struct { // A set of one or more trades Trades []*Trade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradeSet) Descriptor ¶
func (*TradeSet) ProtoMessage ¶
func (*TradeSet) ProtoMessage()
func (*TradeSet) XXX_DiscardUnknown ¶
func (m *TradeSet) XXX_DiscardUnknown()
func (*TradeSet) XXX_Marshal ¶
func (*TradeSet) XXX_Unmarshal ¶
type Trade_Type ¶
type Trade_Type int32
Type values for a trade
const ( // Default value, always invalid Trade_TYPE_UNSPECIFIED Trade_Type = 0 // Normal trading between two parties Trade_TYPE_DEFAULT Trade_Type = 1 // Trading initiated by the network with another party on the book, // which helps to zero-out the positions of one or more distressed parties Trade_TYPE_NETWORK_CLOSE_OUT_GOOD Trade_Type = 2 // Trading initiated by the network with another party off the book, // with a distressed party in order to zero-out the position of the party Trade_TYPE_NETWORK_CLOSE_OUT_BAD Trade_Type = 3 )
func (Trade_Type) EnumDescriptor ¶
func (Trade_Type) EnumDescriptor() ([]byte, []int)
func (Trade_Type) String ¶
func (x Trade_Type) String() string
type Transfer ¶
type Transfer struct { // Party identifier for the owner of the transfer Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // A financial amount (of an asset) to transfer Amount *FinancialAmount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // The type of transfer, gives the reason for the transfer Type TransferType `protobuf:"varint,3,opt,name=type,proto3,enum=vega.TransferType" json:"type,omitempty"` // A minimum amount MinAmount string `protobuf:"bytes,4,opt,name=min_amount,json=minAmount,proto3" json:"min_amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a financial transfer within Vega
func (*Transfer) Descriptor ¶
func (*Transfer) GetAmount ¶
func (m *Transfer) GetAmount() *FinancialAmount
func (*Transfer) GetMinAmount ¶
func (*Transfer) GetType ¶
func (m *Transfer) GetType() TransferType
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶
func (*Transfer) XXX_Unmarshal ¶
type TransferBalance ¶
type TransferBalance struct { // The account relating to the transfer Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The balance relating to the transfer Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the balance for an account during a transfer
func (TransferBalance) DeepClone ¶
func (t TransferBalance) DeepClone() *TransferBalance
func (*TransferBalance) Descriptor ¶
func (*TransferBalance) Descriptor() ([]byte, []int)
func (*TransferBalance) GetAccount ¶
func (m *TransferBalance) GetAccount() *Account
func (*TransferBalance) GetBalance ¶
func (m *TransferBalance) GetBalance() string
func (*TransferBalance) ProtoMessage ¶
func (*TransferBalance) ProtoMessage()
func (*TransferBalance) Reset ¶
func (m *TransferBalance) Reset()
func (*TransferBalance) String ¶
func (m *TransferBalance) String() string
func (*TransferBalance) Validate ¶
func (this *TransferBalance) Validate() error
func (*TransferBalance) XXX_DiscardUnknown ¶
func (m *TransferBalance) XXX_DiscardUnknown()
func (*TransferBalance) XXX_Marshal ¶
func (m *TransferBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferBalance) XXX_Merge ¶
func (m *TransferBalance) XXX_Merge(src proto.Message)
func (*TransferBalance) XXX_Size ¶
func (m *TransferBalance) XXX_Size() int
func (*TransferBalance) XXX_Unmarshal ¶
func (m *TransferBalance) XXX_Unmarshal(b []byte) error
type TransferRequest ¶
type TransferRequest struct { // One or more accounts to transfer from FromAccount []*Account `protobuf:"bytes,1,rep,name=from_account,json=fromAccount,proto3" json:"from_account,omitempty"` // One or more accounts to transfer to ToAccount []*Account `protobuf:"bytes,2,rep,name=to_account,json=toAccount,proto3" json:"to_account,omitempty"` // An amount to transfer for the asset Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // A minimum amount MinAmount string `protobuf:"bytes,4,opt,name=min_amount,json=minAmount,proto3" json:"min_amount,omitempty"` // Asset identifier Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` // A reference for auditing purposes Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request to transfer from one set of accounts to another
func (*TransferRequest) Descriptor ¶
func (*TransferRequest) Descriptor() ([]byte, []int)
func (*TransferRequest) GetAmount ¶
func (m *TransferRequest) GetAmount() string
func (*TransferRequest) GetAsset ¶
func (m *TransferRequest) GetAsset() string
func (*TransferRequest) GetFromAccount ¶
func (m *TransferRequest) GetFromAccount() []*Account
func (*TransferRequest) GetMinAmount ¶
func (m *TransferRequest) GetMinAmount() string
func (*TransferRequest) GetReference ¶
func (m *TransferRequest) GetReference() string
func (*TransferRequest) GetToAccount ¶
func (m *TransferRequest) GetToAccount() []*Account
func (*TransferRequest) ProtoMessage ¶
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) Reset ¶
func (m *TransferRequest) Reset()
func (*TransferRequest) String ¶
func (m *TransferRequest) String() string
func (*TransferRequest) Validate ¶
func (this *TransferRequest) Validate() error
func (*TransferRequest) XXX_DiscardUnknown ¶
func (m *TransferRequest) XXX_DiscardUnknown()
func (*TransferRequest) XXX_Marshal ¶
func (m *TransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferRequest) XXX_Merge ¶
func (m *TransferRequest) XXX_Merge(src proto.Message)
func (*TransferRequest) XXX_Size ¶
func (m *TransferRequest) XXX_Size() int
func (*TransferRequest) XXX_Unmarshal ¶
func (m *TransferRequest) XXX_Unmarshal(b []byte) error
type TransferResponse ¶
type TransferResponse struct { // One or more ledger entries representing the transfers Transfers []*LedgerEntry `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers,omitempty"` // One or more account balances Balances []*TransferBalance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the response from a transfer
func (TransferResponse) DeepClone ¶
func (t TransferResponse) DeepClone() *TransferResponse
func (*TransferResponse) Descriptor ¶
func (*TransferResponse) Descriptor() ([]byte, []int)
func (*TransferResponse) GetBalances ¶
func (m *TransferResponse) GetBalances() []*TransferBalance
func (*TransferResponse) GetTransfers ¶
func (m *TransferResponse) GetTransfers() []*LedgerEntry
func (*TransferResponse) ProtoMessage ¶
func (*TransferResponse) ProtoMessage()
func (*TransferResponse) Reset ¶
func (m *TransferResponse) Reset()
func (*TransferResponse) String ¶
func (m *TransferResponse) String() string
func (*TransferResponse) Validate ¶
func (this *TransferResponse) Validate() error
func (*TransferResponse) XXX_DiscardUnknown ¶
func (m *TransferResponse) XXX_DiscardUnknown()
func (*TransferResponse) XXX_Marshal ¶
func (m *TransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferResponse) XXX_Merge ¶
func (m *TransferResponse) XXX_Merge(src proto.Message)
func (*TransferResponse) XXX_Size ¶
func (m *TransferResponse) XXX_Size() int
func (*TransferResponse) XXX_Unmarshal ¶
func (m *TransferResponse) XXX_Unmarshal(b []byte) error
type TransferType ¶
type TransferType int32
Transfers can occur between parties on Vega, these are the types that indicate why a transfer took place
const ( // Default value, always invalid TransferType_TRANSFER_TYPE_UNSPECIFIED TransferType = 0 // Loss TransferType_TRANSFER_TYPE_LOSS TransferType = 1 // Win TransferType_TRANSFER_TYPE_WIN TransferType = 2 // Close TransferType_TRANSFER_TYPE_CLOSE TransferType = 3 // Mark to market loss TransferType_TRANSFER_TYPE_MTM_LOSS TransferType = 4 // Mark to market win TransferType_TRANSFER_TYPE_MTM_WIN TransferType = 5 // Margin too low TransferType_TRANSFER_TYPE_MARGIN_LOW TransferType = 6 // Margin too high TransferType_TRANSFER_TYPE_MARGIN_HIGH TransferType = 7 // Margin was confiscated TransferType_TRANSFER_TYPE_MARGIN_CONFISCATED TransferType = 8 // Pay maker fee TransferType_TRANSFER_TYPE_MAKER_FEE_PAY TransferType = 9 // Receive maker fee TransferType_TRANSFER_TYPE_MAKER_FEE_RECEIVE TransferType = 10 // Pay infrastructure fee TransferType_TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY TransferType = 11 // Receive infrastructure fee TransferType_TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE TransferType = 12 // Pay liquidity fee TransferType_TRANSFER_TYPE_LIQUIDITY_FEE_PAY TransferType = 13 // Receive liquidity fee TransferType_TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE TransferType = 14 // Bond too low TransferType_TRANSFER_TYPE_BOND_LOW TransferType = 15 // Bond too high TransferType_TRANSFER_TYPE_BOND_HIGH TransferType = 16 // Lock amount for withdraw TransferType_TRANSFER_TYPE_WITHDRAW_LOCK TransferType = 17 // Actual withdraw from system TransferType_TRANSFER_TYPE_WITHDRAW TransferType = 18 // Deposit funds TransferType_TRANSFER_TYPE_DEPOSIT TransferType = 19 // Bond slashing TransferType_TRANSFER_TYPE_BOND_SLASHING TransferType = 20 // Stake reward TransferType_TRANSFER_TYPE_STAKE_REWARD TransferType = 21 )
func (TransferType) EnumDescriptor ¶
func (TransferType) EnumDescriptor() ([]byte, []int)
func (TransferType) String ¶
func (x TransferType) String() string
type UpdateMarket ¶
type UpdateMarket struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update an existing market on Vega
func (UpdateMarket) DeepClone ¶
func (u UpdateMarket) DeepClone() *UpdateMarket
func (*UpdateMarket) Descriptor ¶
func (*UpdateMarket) Descriptor() ([]byte, []int)
func (UpdateMarket) IsProposalChange ¶
func (UpdateMarket) IsProposalChange()
func (*UpdateMarket) ProtoMessage ¶
func (*UpdateMarket) ProtoMessage()
func (*UpdateMarket) Reset ¶
func (m *UpdateMarket) Reset()
func (*UpdateMarket) String ¶
func (m *UpdateMarket) String() string
func (*UpdateMarket) Validate ¶
func (this *UpdateMarket) Validate() error
func (*UpdateMarket) XXX_DiscardUnknown ¶
func (m *UpdateMarket) XXX_DiscardUnknown()
func (*UpdateMarket) XXX_Marshal ¶
func (m *UpdateMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateMarket) XXX_Merge ¶
func (m *UpdateMarket) XXX_Merge(src proto.Message)
func (*UpdateMarket) XXX_Size ¶
func (m *UpdateMarket) XXX_Size() int
func (*UpdateMarket) XXX_Unmarshal ¶
func (m *UpdateMarket) XXX_Unmarshal(b []byte) error
type UpdateNetworkParameter ¶
type UpdateNetworkParameter struct { // The network parameter to update Changes *NetworkParameter `protobuf:"bytes,1,opt,name=changes,proto3" json:"changes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Update network configuration on Vega
func (UpdateNetworkParameter) DeepClone ¶
func (u UpdateNetworkParameter) DeepClone() *UpdateNetworkParameter
func (*UpdateNetworkParameter) Descriptor ¶
func (*UpdateNetworkParameter) Descriptor() ([]byte, []int)
func (*UpdateNetworkParameter) GetChanges ¶
func (m *UpdateNetworkParameter) GetChanges() *NetworkParameter
func (UpdateNetworkParameter) IsProposalChange ¶
func (UpdateNetworkParameter) IsProposalChange()
func (*UpdateNetworkParameter) ProtoMessage ¶
func (*UpdateNetworkParameter) ProtoMessage()
func (*UpdateNetworkParameter) Reset ¶
func (m *UpdateNetworkParameter) Reset()
func (*UpdateNetworkParameter) String ¶
func (m *UpdateNetworkParameter) String() string
func (*UpdateNetworkParameter) Validate ¶
func (this *UpdateNetworkParameter) Validate() error
func (*UpdateNetworkParameter) XXX_DiscardUnknown ¶
func (m *UpdateNetworkParameter) XXX_DiscardUnknown()
func (*UpdateNetworkParameter) XXX_Marshal ¶
func (m *UpdateNetworkParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateNetworkParameter) XXX_Merge ¶
func (m *UpdateNetworkParameter) XXX_Merge(src proto.Message)
func (*UpdateNetworkParameter) XXX_Size ¶
func (m *UpdateNetworkParameter) XXX_Size() int
func (*UpdateNetworkParameter) XXX_Unmarshal ¶
func (m *UpdateNetworkParameter) XXX_Unmarshal(b []byte) error
type ValidatorEvent ¶
type ValidatorEvent struct { // The source identifier of the event SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // The action // // Types that are valid to be assigned to Action: // *ValidatorEvent_Add // *ValidatorEvent_Rm Action isValidatorEvent_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event related to validator management with foreign networks
func (*ValidatorEvent) Descriptor ¶
func (*ValidatorEvent) Descriptor() ([]byte, []int)
func (*ValidatorEvent) GetAction ¶
func (m *ValidatorEvent) GetAction() isValidatorEvent_Action
func (*ValidatorEvent) GetAdd ¶
func (m *ValidatorEvent) GetAdd() *AddValidator
func (*ValidatorEvent) GetRm ¶
func (m *ValidatorEvent) GetRm() *RemoveValidator
func (*ValidatorEvent) GetSourceId ¶
func (m *ValidatorEvent) GetSourceId() string
func (*ValidatorEvent) ProtoMessage ¶
func (*ValidatorEvent) ProtoMessage()
func (*ValidatorEvent) Reset ¶
func (m *ValidatorEvent) Reset()
func (*ValidatorEvent) String ¶
func (m *ValidatorEvent) String() string
func (*ValidatorEvent) Validate ¶
func (this *ValidatorEvent) Validate() error
func (*ValidatorEvent) XXX_DiscardUnknown ¶
func (m *ValidatorEvent) XXX_DiscardUnknown()
func (*ValidatorEvent) XXX_Marshal ¶
func (m *ValidatorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorEvent) XXX_Merge ¶
func (m *ValidatorEvent) XXX_Merge(src proto.Message)
func (*ValidatorEvent) XXX_OneofWrappers ¶
func (*ValidatorEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ValidatorEvent) XXX_Size ¶
func (m *ValidatorEvent) XXX_Size() int
func (*ValidatorEvent) XXX_Unmarshal ¶
func (m *ValidatorEvent) XXX_Unmarshal(b []byte) error
type ValidatorEvent_Add ¶
type ValidatorEvent_Add struct {
Add *AddValidator `protobuf:"bytes,1001,opt,name=add,proto3,oneof"`
}
type ValidatorEvent_Rm ¶
type ValidatorEvent_Rm struct {
Rm *RemoveValidator `protobuf:"bytes,1002,opt,name=rm,proto3,oneof"`
}
type Vote ¶
type Vote struct { // Voter's party identifier PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // Actual vote Value Vote_Value `protobuf:"varint,2,opt,name=value,proto3,enum=vega.Vote_Value" json:"value,omitempty"` // Identifier of the proposal being voted on ProposalId string `protobuf:"bytes,3,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` // Vote timestamp for date and time (in nanoseconds) when vote was submitted to the network Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Total number of governance token for the party that casted the vote TotalGovernanceTokenBalance string `` /* 146-byte string literal not displayed */ // The weight of this vote based on the total of governance token TotalGovernanceTokenWeight string `` /* 143-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Governance vote
func (*Vote) Descriptor ¶
func (*Vote) GetPartyId ¶
func (*Vote) GetProposalId ¶
func (*Vote) GetTimestamp ¶
func (*Vote) GetTotalGovernanceTokenBalance ¶
func (*Vote) GetTotalGovernanceTokenWeight ¶
func (*Vote) GetValue ¶
func (m *Vote) GetValue() Vote_Value
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type Vote_Value ¶
type Vote_Value int32
Vote value
const ( // Default value, always invalid Vote_VALUE_UNSPECIFIED Vote_Value = 0 // A vote against the proposal Vote_VALUE_NO Vote_Value = 1 // A vote in favour of the proposal Vote_VALUE_YES Vote_Value = 2 )
func (Vote_Value) EnumDescriptor ¶
func (Vote_Value) EnumDescriptor() ([]byte, []int)
func (Vote_Value) String ¶
func (x Vote_Value) String() string
type WithdrawExt ¶
type WithdrawExt struct { // Foreign chain specifics // // Types that are valid to be assigned to Ext: // *WithdrawExt_Erc20 Ext isWithdrawExt_Ext `protobuf_oneof:"ext"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Withdrawal external details
func (*WithdrawExt) Descriptor ¶
func (*WithdrawExt) Descriptor() ([]byte, []int)
func (*WithdrawExt) GetErc20 ¶
func (m *WithdrawExt) GetErc20() *Erc20WithdrawExt
func (*WithdrawExt) GetExt ¶
func (m *WithdrawExt) GetExt() isWithdrawExt_Ext
func (*WithdrawExt) ProtoMessage ¶
func (*WithdrawExt) ProtoMessage()
func (*WithdrawExt) Reset ¶
func (m *WithdrawExt) Reset()
func (*WithdrawExt) String ¶
func (m *WithdrawExt) String() string
func (*WithdrawExt) Validate ¶
func (this *WithdrawExt) Validate() error
func (*WithdrawExt) XXX_DiscardUnknown ¶
func (m *WithdrawExt) XXX_DiscardUnknown()
func (*WithdrawExt) XXX_Marshal ¶
func (m *WithdrawExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawExt) XXX_Merge ¶
func (m *WithdrawExt) XXX_Merge(src proto.Message)
func (*WithdrawExt) XXX_OneofWrappers ¶
func (*WithdrawExt) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*WithdrawExt) XXX_Size ¶
func (m *WithdrawExt) XXX_Size() int
func (*WithdrawExt) XXX_Unmarshal ¶
func (m *WithdrawExt) XXX_Unmarshal(b []byte) error
type WithdrawExt_Erc20 ¶
type WithdrawExt_Erc20 struct {
Erc20 *Erc20WithdrawExt `protobuf:"bytes,1,opt,name=erc20,proto3,oneof"`
}
type Withdrawal ¶
type Withdrawal struct { // Unique identifier for the withdrawal Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique party identifier of the user initiating the withdrawal PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` // The amount to be withdrawn Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // The asset we want to withdraw funds from Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` // The status of the withdrawal Status Withdrawal_Status `protobuf:"varint,5,opt,name=status,proto3,enum=vega.Withdrawal_Status" json:"status,omitempty"` // The reference which is used by the foreign chain // to refer to this withdrawal Ref string `protobuf:"bytes,6,opt,name=ref,proto3" json:"ref,omitempty"` // The time until when the withdrawal is valid Expiry int64 `protobuf:"varint,7,opt,name=expiry,proto3" json:"expiry,omitempty"` // The hash of the foreign chain for this transaction TxHash string `protobuf:"bytes,8,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Timestamp for when the network started to process this withdrawal CreatedTimestamp int64 `protobuf:"varint,9,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"` // Timestamp for when the withdrawal was finalised by the network WithdrawnTimestamp int64 `protobuf:"varint,10,opt,name=withdrawn_timestamp,json=withdrawnTimestamp,proto3" json:"withdrawn_timestamp,omitempty"` // Foreign chain specifics Ext *WithdrawExt `protobuf:"bytes,11,opt,name=ext,proto3" json:"ext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A withdrawal from the Vega network
func (*Withdrawal) Descriptor ¶
func (*Withdrawal) Descriptor() ([]byte, []int)
func (*Withdrawal) GetAmount ¶
func (m *Withdrawal) GetAmount() string
func (*Withdrawal) GetAsset ¶
func (m *Withdrawal) GetAsset() string
func (*Withdrawal) GetCreatedTimestamp ¶
func (m *Withdrawal) GetCreatedTimestamp() int64
func (*Withdrawal) GetExpiry ¶
func (m *Withdrawal) GetExpiry() int64
func (*Withdrawal) GetExt ¶
func (m *Withdrawal) GetExt() *WithdrawExt
func (*Withdrawal) GetId ¶
func (m *Withdrawal) GetId() string
func (*Withdrawal) GetPartyId ¶
func (m *Withdrawal) GetPartyId() string
func (*Withdrawal) GetRef ¶
func (m *Withdrawal) GetRef() string
func (*Withdrawal) GetStatus ¶
func (m *Withdrawal) GetStatus() Withdrawal_Status
func (*Withdrawal) GetTxHash ¶
func (m *Withdrawal) GetTxHash() string
func (*Withdrawal) GetWithdrawnTimestamp ¶
func (m *Withdrawal) GetWithdrawnTimestamp() int64
func (Withdrawal) IsEvent ¶
func (Withdrawal) IsEvent()
func (*Withdrawal) ProtoMessage ¶
func (*Withdrawal) ProtoMessage()
func (*Withdrawal) Reset ¶
func (m *Withdrawal) Reset()
func (*Withdrawal) String ¶
func (m *Withdrawal) String() string
func (*Withdrawal) Validate ¶
func (this *Withdrawal) Validate() error
func (*Withdrawal) XXX_DiscardUnknown ¶
func (m *Withdrawal) XXX_DiscardUnknown()
func (*Withdrawal) XXX_Marshal ¶
func (m *Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Withdrawal) XXX_Merge ¶
func (m *Withdrawal) XXX_Merge(src proto.Message)
func (*Withdrawal) XXX_Size ¶
func (m *Withdrawal) XXX_Size() int
func (*Withdrawal) XXX_Unmarshal ¶
func (m *Withdrawal) XXX_Unmarshal(b []byte) error
type Withdrawal_Status ¶
type Withdrawal_Status int32
The status of the withdrawal
const ( // Default value, always invalid Withdrawal_STATUS_UNSPECIFIED Withdrawal_Status = 0 // The withdrawal is open and being processed by the network Withdrawal_STATUS_OPEN Withdrawal_Status = 1 // The withdrawal have been cancelled Withdrawal_STATUS_CANCELLED Withdrawal_Status = 2 // The withdrawal went through and is fully finalised, the funds are removed from the // Vega network and are unlocked on the foreign chain bridge, for example, on the Ethereum network Withdrawal_STATUS_FINALIZED Withdrawal_Status = 3 )
func (Withdrawal_Status) EnumDescriptor ¶
func (Withdrawal_Status) EnumDescriptor() ([]byte, []int)
func (Withdrawal_Status) String ¶
func (x Withdrawal_Status) String() string