Documentation ¶
Index ¶
- Variables
- type Account
- func (a Account) DeepClone() *Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAsset() string
- func (x *Account) GetBalance() string
- func (x *Account) GetId() string
- func (x *Account) GetMarketId() string
- func (x *Account) GetOwner() string
- func (x *Account) GetType() AccountType
- func (Account) IsEvent()
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type Asset
- func (a Asset) DeepClone() *Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetDetails() *AssetDetails
- func (x *Asset) GetId() string
- func (Asset) IsEvent()
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
- type AssetDetails
- func (a AssetDetails) DeepClone() *AssetDetails
- func (*AssetDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AssetDetails) GetBuiltinAsset() *BuiltinAsset
- func (x *AssetDetails) GetDecimals() uint64
- func (x *AssetDetails) GetErc20() *ERC20
- func (x *AssetDetails) GetName() string
- func (x *AssetDetails) GetQuantum() string
- func (m *AssetDetails) GetSource() isAssetDetails_Source
- func (x *AssetDetails) GetSymbol() string
- func (x *AssetDetails) GetTotalSupply() string
- func (*AssetDetails) ProtoMessage()
- func (x *AssetDetails) ProtoReflect() protoreflect.Message
- func (x *AssetDetails) Reset()
- func (x *AssetDetails) String() string
- type AssetDetailsUpdate
- func (*AssetDetailsUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *AssetDetailsUpdate) GetDecimals() uint64
- func (x *AssetDetailsUpdate) GetErc20() *ERC20Update
- func (x *AssetDetailsUpdate) GetName() string
- func (x *AssetDetailsUpdate) GetQuantum() string
- func (m *AssetDetailsUpdate) GetSource() isAssetDetailsUpdate_Source
- func (x *AssetDetailsUpdate) GetSymbol() string
- func (x *AssetDetailsUpdate) GetTotalSupply() string
- func (*AssetDetailsUpdate) ProtoMessage()
- func (x *AssetDetailsUpdate) ProtoReflect() protoreflect.Message
- func (x *AssetDetailsUpdate) Reset()
- func (x *AssetDetailsUpdate) String() string
- type AssetDetailsUpdate_Erc20
- type AssetDetails_BuiltinAsset
- type AssetDetails_Erc20
- type AuctionDuration
- func (a AuctionDuration) DeepClone() *AuctionDuration
- func (*AuctionDuration) Descriptor() ([]byte, []int)deprecated
- func (x *AuctionDuration) GetDuration() int64
- func (x *AuctionDuration) GetVolume() uint64
- func (*AuctionDuration) ProtoMessage()
- func (x *AuctionDuration) ProtoReflect() protoreflect.Message
- func (x *AuctionDuration) Reset()
- func (x *AuctionDuration) String() string
- type AuctionIndicativeState
- func (*AuctionIndicativeState) Descriptor() ([]byte, []int)deprecated
- func (x *AuctionIndicativeState) GetAuctionEnd() int64
- func (x *AuctionIndicativeState) GetAuctionStart() int64
- func (x *AuctionIndicativeState) GetIndicativePrice() string
- func (x *AuctionIndicativeState) GetIndicativeVolume() uint64
- func (x *AuctionIndicativeState) GetMarketId() string
- func (*AuctionIndicativeState) ProtoMessage()
- func (x *AuctionIndicativeState) ProtoReflect() protoreflect.Message
- func (x *AuctionIndicativeState) Reset()
- func (x *AuctionIndicativeState) String() string
- type AuctionTrigger
- func (AuctionTrigger) Descriptor() protoreflect.EnumDescriptor
- func (x AuctionTrigger) Enum() *AuctionTrigger
- func (AuctionTrigger) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuctionTrigger) Number() protoreflect.EnumNumber
- func (x AuctionTrigger) String() string
- func (AuctionTrigger) Type() protoreflect.EnumType
- type BuiltinAsset
- func (b BuiltinAsset) DeepClone() *BuiltinAsset
- func (*BuiltinAsset) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltinAsset) GetMaxFaucetAmountMint() string
- func (*BuiltinAsset) ProtoMessage()
- func (x *BuiltinAsset) ProtoReflect() protoreflect.Message
- func (x *BuiltinAsset) Reset()
- func (x *BuiltinAsset) String() string
- type BuiltinAssetDeposit
- func (*BuiltinAssetDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltinAssetDeposit) GetAmount() string
- func (x *BuiltinAssetDeposit) GetPartyId() string
- func (x *BuiltinAssetDeposit) GetVegaAssetId() string
- func (c *BuiltinAssetDeposit) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetDeposit) ProtoMessage()
- func (x *BuiltinAssetDeposit) ProtoReflect() protoreflect.Message
- func (x *BuiltinAssetDeposit) Reset()
- func (x *BuiltinAssetDeposit) String() string
- type BuiltinAssetEvent
- func (*BuiltinAssetEvent) Descriptor() ([]byte, []int)deprecated
- func (m *BuiltinAssetEvent) GetAction() isBuiltinAssetEvent_Action
- func (x *BuiltinAssetEvent) GetDeposit() *BuiltinAssetDeposit
- func (x *BuiltinAssetEvent) GetWithdrawal() *BuiltinAssetWithdrawal
- func (c *BuiltinAssetEvent) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetEvent) ProtoMessage()
- func (x *BuiltinAssetEvent) ProtoReflect() protoreflect.Message
- func (x *BuiltinAssetEvent) Reset()
- func (x *BuiltinAssetEvent) String() string
- type BuiltinAssetEvent_Deposit
- type BuiltinAssetEvent_Withdrawal
- type BuiltinAssetWithdrawal
- func (*BuiltinAssetWithdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltinAssetWithdrawal) GetAmount() string
- func (x *BuiltinAssetWithdrawal) GetPartyId() string
- func (x *BuiltinAssetWithdrawal) GetVegaAssetId() string
- func (c *BuiltinAssetWithdrawal) PrepareToSign() ([]byte, error)
- func (*BuiltinAssetWithdrawal) ProtoMessage()
- func (x *BuiltinAssetWithdrawal) ProtoReflect() protoreflect.Message
- func (x *BuiltinAssetWithdrawal) Reset()
- func (x *BuiltinAssetWithdrawal) String() string
- type Candle
- func (*Candle) Descriptor() ([]byte, []int)deprecated
- func (x *Candle) GetClose() string
- func (x *Candle) GetDatetime() string
- func (x *Candle) GetHigh() string
- func (x *Candle) GetInterval() Interval
- func (x *Candle) GetLow() string
- func (x *Candle) GetOpen() string
- func (x *Candle) GetTimestamp() int64
- func (x *Candle) GetVolume() uint64
- func (*Candle) ProtoMessage()
- func (x *Candle) ProtoReflect() protoreflect.Message
- func (x *Candle) Reset()
- func (x *Candle) String() string
- type ChainStatus
- func (ChainStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ChainStatus) Enum() *ChainStatus
- func (ChainStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChainStatus) Number() protoreflect.EnumNumber
- func (x ChainStatus) String() string
- func (ChainStatus) Type() protoreflect.EnumType
- type Delegation
- func (*Delegation) Descriptor() ([]byte, []int)deprecated
- func (x *Delegation) GetAmount() string
- func (x *Delegation) GetEpochSeq() string
- func (x *Delegation) GetNodeId() string
- func (x *Delegation) GetParty() string
- func (*Delegation) ProtoMessage()
- func (x *Delegation) ProtoReflect() protoreflect.Message
- func (x *Delegation) Reset()
- func (x *Delegation) String() string
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)deprecated
- func (x *Deposit) GetAmount() string
- func (x *Deposit) GetAsset() string
- func (x *Deposit) GetCreatedTimestamp() int64
- func (x *Deposit) GetCreditedTimestamp() int64
- func (x *Deposit) GetId() string
- func (x *Deposit) GetPartyId() string
- func (x *Deposit) GetStatus() Deposit_Status
- func (x *Deposit) GetTxHash() string
- func (Deposit) IsEvent()
- func (*Deposit) ProtoMessage()
- func (x *Deposit) ProtoReflect() protoreflect.Message
- func (x *Deposit) Reset()
- func (x *Deposit) String() string
- type Deposit_Status
- func (Deposit_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Deposit_Status) Enum() *Deposit_Status
- func (Deposit_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Deposit_Status) Number() protoreflect.EnumNumber
- func (x Deposit_Status) String() string
- func (Deposit_Status) Type() protoreflect.EnumType
- type DispatchMetric
- func (DispatchMetric) Descriptor() protoreflect.EnumDescriptor
- func (x DispatchMetric) Enum() *DispatchMetric
- func (DispatchMetric) EnumDescriptor() ([]byte, []int)deprecated
- func (x DispatchMetric) Number() protoreflect.EnumNumber
- func (x DispatchMetric) String() string
- func (DispatchMetric) Type() protoreflect.EnumType
- type DispatchStrategy
- func (*DispatchStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *DispatchStrategy) GetAssetForMetric() string
- func (x *DispatchStrategy) GetMarkets() []string
- func (x *DispatchStrategy) GetMetric() DispatchMetric
- func (*DispatchStrategy) ProtoMessage()
- func (x *DispatchStrategy) ProtoReflect() protoreflect.Message
- func (x *DispatchStrategy) Reset()
- func (x *DispatchStrategy) String() string
- type ERC20
- func (e ERC20) DeepClone() *ERC20
- func (*ERC20) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20) GetContractAddress() string
- func (x *ERC20) GetLifetimeLimit() string
- func (x *ERC20) GetWithdrawThreshold() string
- func (*ERC20) ProtoMessage()
- func (x *ERC20) ProtoReflect() protoreflect.Message
- func (x *ERC20) Reset()
- func (x *ERC20) String() string
- type ERC20AssetDelist
- func (*ERC20AssetDelist) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20AssetDelist) GetVegaAssetId() string
- func (c *ERC20AssetDelist) PrepareToSign() ([]byte, error)
- func (*ERC20AssetDelist) ProtoMessage()
- func (x *ERC20AssetDelist) ProtoReflect() protoreflect.Message
- func (x *ERC20AssetDelist) Reset()
- func (x *ERC20AssetDelist) String() string
- type ERC20AssetList
- func (*ERC20AssetList) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20AssetList) GetVegaAssetId() string
- func (c *ERC20AssetList) PrepareToSign() ([]byte, error)
- func (*ERC20AssetList) ProtoMessage()
- func (x *ERC20AssetList) ProtoReflect() protoreflect.Message
- func (x *ERC20AssetList) Reset()
- func (x *ERC20AssetList) String() string
- type ERC20Deposit
- func (*ERC20Deposit) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20Deposit) GetAmount() string
- func (x *ERC20Deposit) GetSourceEthereumAddress() string
- func (x *ERC20Deposit) GetTargetPartyId() string
- func (x *ERC20Deposit) GetVegaAssetId() string
- func (c *ERC20Deposit) PrepareToSign() ([]byte, error)
- func (*ERC20Deposit) ProtoMessage()
- func (x *ERC20Deposit) ProtoReflect() protoreflect.Message
- func (x *ERC20Deposit) Reset()
- func (x *ERC20Deposit) String() string
- type ERC20Event
- func (*ERC20Event) Descriptor() ([]byte, []int)deprecated
- func (m *ERC20Event) GetAction() isERC20Event_Action
- func (x *ERC20Event) GetAssetDelist() *ERC20AssetDelist
- func (x *ERC20Event) GetAssetList() *ERC20AssetList
- func (x *ERC20Event) GetBlock() uint64
- func (x *ERC20Event) GetDeposit() *ERC20Deposit
- func (x *ERC20Event) GetIndex() uint64
- func (x *ERC20Event) GetWithdrawal() *ERC20Withdrawal
- func (c *ERC20Event) PrepareToSign() ([]byte, error)
- func (*ERC20Event) ProtoMessage()
- func (x *ERC20Event) ProtoReflect() protoreflect.Message
- func (x *ERC20Event) Reset()
- func (x *ERC20Event) String() string
- type ERC20Event_AssetDelist
- type ERC20Event_AssetList
- type ERC20Event_Deposit
- type ERC20Event_Withdrawal
- type ERC20MultiSigEvent
- func (*ERC20MultiSigEvent) Descriptor() ([]byte, []int)deprecated
- func (m *ERC20MultiSigEvent) GetAction() isERC20MultiSigEvent_Action
- func (x *ERC20MultiSigEvent) GetBlock() uint64
- func (x *ERC20MultiSigEvent) GetIndex() uint64
- func (x *ERC20MultiSigEvent) GetSignerAdded() *ERC20SignerAdded
- func (x *ERC20MultiSigEvent) GetSignerRemoved() *ERC20SignerRemoved
- func (x *ERC20MultiSigEvent) GetThresholdSet() *ERC20ThresholdSet
- func (*ERC20MultiSigEvent) ProtoMessage()
- func (x *ERC20MultiSigEvent) ProtoReflect() protoreflect.Message
- func (x *ERC20MultiSigEvent) Reset()
- func (x *ERC20MultiSigEvent) String() string
- type ERC20MultiSigEvent_SignerAdded
- type ERC20MultiSigEvent_SignerRemoved
- type ERC20MultiSigEvent_ThresholdSet
- type ERC20SignerAdded
- func (*ERC20SignerAdded) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20SignerAdded) GetBlockTime() int64
- func (x *ERC20SignerAdded) GetNewSigner() string
- func (x *ERC20SignerAdded) GetNonce() string
- func (*ERC20SignerAdded) ProtoMessage()
- func (x *ERC20SignerAdded) ProtoReflect() protoreflect.Message
- func (x *ERC20SignerAdded) Reset()
- func (x *ERC20SignerAdded) String() string
- type ERC20SignerRemoved
- func (*ERC20SignerRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20SignerRemoved) GetBlockTime() int64
- func (x *ERC20SignerRemoved) GetNonce() string
- func (x *ERC20SignerRemoved) GetOldSigner() string
- func (*ERC20SignerRemoved) ProtoMessage()
- func (x *ERC20SignerRemoved) ProtoReflect() protoreflect.Message
- func (x *ERC20SignerRemoved) Reset()
- func (x *ERC20SignerRemoved) String() string
- type ERC20ThresholdSet
- func (*ERC20ThresholdSet) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20ThresholdSet) GetBlockTime() int64
- func (x *ERC20ThresholdSet) GetNewThreshold() uint32
- func (x *ERC20ThresholdSet) GetNonce() string
- func (*ERC20ThresholdSet) ProtoMessage()
- func (x *ERC20ThresholdSet) ProtoReflect() protoreflect.Message
- func (x *ERC20ThresholdSet) Reset()
- func (x *ERC20ThresholdSet) String() string
- type ERC20Update
- func (*ERC20Update) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20Update) GetLifetimeLimit() string
- func (x *ERC20Update) GetWithdrawThreshold() string
- func (*ERC20Update) ProtoMessage()
- func (x *ERC20Update) ProtoReflect() protoreflect.Message
- func (x *ERC20Update) Reset()
- func (x *ERC20Update) String() string
- type ERC20Withdrawal
- func (*ERC20Withdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *ERC20Withdrawal) GetReferenceNonce() string
- func (x *ERC20Withdrawal) GetTargetEthereumAddress() string
- func (x *ERC20Withdrawal) GetVegaAssetId() string
- func (c *ERC20Withdrawal) PrepareToSign() ([]byte, error)
- func (*ERC20Withdrawal) ProtoMessage()
- func (x *ERC20Withdrawal) ProtoReflect() protoreflect.Message
- func (x *ERC20Withdrawal) Reset()
- func (x *ERC20Withdrawal) String() string
- type Epoch
- func (*Epoch) Descriptor() ([]byte, []int)deprecated
- func (x *Epoch) GetDelegations() []*Delegation
- func (x *Epoch) GetSeq() uint64
- func (x *Epoch) GetTimestamps() *EpochTimestamps
- func (x *Epoch) GetValidators() []*Node
- func (*Epoch) ProtoMessage()
- func (x *Epoch) ProtoReflect() protoreflect.Message
- func (x *Epoch) Reset()
- func (x *Epoch) String() string
- type EpochAction
- func (EpochAction) Descriptor() protoreflect.EnumDescriptor
- func (x EpochAction) Enum() *EpochAction
- func (EpochAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x EpochAction) Number() protoreflect.EnumNumber
- func (x EpochAction) String() string
- func (EpochAction) Type() protoreflect.EnumType
- type EpochData
- func (*EpochData) Descriptor() ([]byte, []int)deprecated
- func (x *EpochData) GetOffline() int32
- func (x *EpochData) GetOnline() int32
- func (x *EpochData) GetTotal() int32
- func (*EpochData) ProtoMessage()
- func (x *EpochData) ProtoReflect() protoreflect.Message
- func (x *EpochData) Reset()
- func (x *EpochData) String() string
- type EpochParticipation
- func (*EpochParticipation) Descriptor() ([]byte, []int)deprecated
- func (x *EpochParticipation) GetEpoch() *Epoch
- func (x *EpochParticipation) GetOffline() uint64
- func (x *EpochParticipation) GetOnline() uint64
- func (x *EpochParticipation) GetTotalRewards() float64
- func (*EpochParticipation) ProtoMessage()
- func (x *EpochParticipation) ProtoReflect() protoreflect.Message
- func (x *EpochParticipation) Reset()
- func (x *EpochParticipation) String() string
- type EpochTimestamps
- func (*EpochTimestamps) Descriptor() ([]byte, []int)deprecated
- func (x *EpochTimestamps) GetEndTime() int64
- func (x *EpochTimestamps) GetExpiryTime() int64
- func (x *EpochTimestamps) GetFirstBlock() uint64
- func (x *EpochTimestamps) GetLastBlock() uint64
- func (x *EpochTimestamps) GetStartTime() int64
- func (*EpochTimestamps) ProtoMessage()
- func (x *EpochTimestamps) ProtoReflect() protoreflect.Message
- func (x *EpochTimestamps) Reset()
- func (x *EpochTimestamps) String() string
- type Erc20WithdrawExt
- type ErrorDetail
- func (*ErrorDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetail) GetCode() int32
- func (x *ErrorDetail) GetInner() string
- func (x *ErrorDetail) GetMessage() string
- func (*ErrorDetail) ProtoMessage()
- func (x *ErrorDetail) ProtoReflect() protoreflect.Message
- func (x *ErrorDetail) Reset()
- func (x *ErrorDetail) String() string
- type EthereumConfig
- func (*EthereumConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumConfig) GetChainId() string
- func (x *EthereumConfig) GetCollateralBridgeContract() *EthereumContractConfig
- func (x *EthereumConfig) GetConfirmations() uint32
- func (x *EthereumConfig) GetMultisigControlContract() *EthereumContractConfig
- func (x *EthereumConfig) GetNetworkId() string
- func (x *EthereumConfig) GetStakingBridgeContract() *EthereumContractConfig
- func (x *EthereumConfig) GetTokenVestingContract() *EthereumContractConfig
- func (*EthereumConfig) ProtoMessage()
- func (x *EthereumConfig) ProtoReflect() protoreflect.Message
- func (x *EthereumConfig) Reset()
- func (x *EthereumConfig) String() string
- type EthereumContractConfig
- func (*EthereumContractConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumContractConfig) GetAddress() string
- func (x *EthereumContractConfig) GetDeploymentBlockHeight() uint64
- func (*EthereumContractConfig) ProtoMessage()
- func (x *EthereumContractConfig) ProtoReflect() protoreflect.Message
- func (x *EthereumContractConfig) Reset()
- func (x *EthereumContractConfig) String() string
- type Fee
- func (f Fee) DeepClone() *Fee
- func (*Fee) Descriptor() ([]byte, []int)deprecated
- func (x *Fee) GetInfrastructureFee() string
- func (x *Fee) GetLiquidityFee() string
- func (x *Fee) GetMakerFee() string
- func (*Fee) ProtoMessage()
- func (x *Fee) ProtoReflect() protoreflect.Message
- func (x *Fee) Reset()
- func (x *Fee) String() string
- type FeeFactors
- func (f FeeFactors) DeepClone() *FeeFactors
- func (*FeeFactors) Descriptor() ([]byte, []int)deprecated
- func (x *FeeFactors) GetInfrastructureFee() string
- func (x *FeeFactors) GetLiquidityFee() string
- func (x *FeeFactors) GetMakerFee() string
- func (*FeeFactors) ProtoMessage()
- func (x *FeeFactors) ProtoReflect() protoreflect.Message
- func (x *FeeFactors) Reset()
- func (x *FeeFactors) String() string
- type Fees
- type FinancialAmount
- func (*FinancialAmount) Descriptor() ([]byte, []int)deprecated
- func (x *FinancialAmount) GetAmount() string
- func (x *FinancialAmount) GetAsset() string
- func (*FinancialAmount) ProtoMessage()
- func (x *FinancialAmount) ProtoReflect() protoreflect.Message
- func (x *FinancialAmount) Reset()
- func (x *FinancialAmount) String() string
- type Future
- func (f Future) DeepClone() *Future
- func (*Future) Descriptor() ([]byte, []int)deprecated
- func (x *Future) GetOracleSpecBinding() *OracleSpecToFutureBinding
- func (x *Future) GetOracleSpecForSettlementPrice() *v1.OracleSpec
- func (x *Future) GetOracleSpecForTradingTermination() *v1.OracleSpec
- func (x *Future) GetQuoteName() string
- func (x *Future) GetSettlementAsset() string
- func (x *Future) GetSettlementPriceDecimals() uint32
- func (Future) IsProduct()
- func (*Future) ProtoMessage()
- func (x *Future) ProtoReflect() protoreflect.Message
- func (x *Future) Reset()
- func (x *Future) String() string
- type FutureProduct
- func (f FutureProduct) DeepClone() *FutureProduct
- func (*FutureProduct) Descriptor() ([]byte, []int)deprecated
- func (x *FutureProduct) GetOracleSpecBinding() *OracleSpecToFutureBinding
- func (x *FutureProduct) GetOracleSpecForSettlementPrice() *v1.OracleSpecConfiguration
- func (x *FutureProduct) GetOracleSpecForTradingTermination() *v1.OracleSpecConfiguration
- func (x *FutureProduct) GetQuoteName() string
- func (x *FutureProduct) GetSettlementAsset() string
- func (x *FutureProduct) GetSettlementPriceDecimals() uint32
- func (*FutureProduct) ProtoMessage()
- func (x *FutureProduct) ProtoReflect() protoreflect.Message
- func (x *FutureProduct) Reset()
- func (x *FutureProduct) String() string
- type GovernanceData
- func (*GovernanceData) Descriptor() ([]byte, []int)deprecated
- func (x *GovernanceData) GetNo() []*Vote
- func (x *GovernanceData) GetNoParty() map[string]*Vote
- func (x *GovernanceData) GetProposal() *Proposal
- func (x *GovernanceData) GetYes() []*Vote
- func (x *GovernanceData) GetYesParty() map[string]*Vote
- func (GovernanceData) IsEvent()
- func (*GovernanceData) ProtoMessage()
- func (x *GovernanceData) ProtoReflect() protoreflect.Message
- func (x *GovernanceData) Reset()
- func (x *GovernanceData) String() string
- type Instrument
- func (i Instrument) DeepClone() *Instrument
- func (*Instrument) Descriptor() ([]byte, []int)deprecated
- func (x *Instrument) GetCode() string
- func (x *Instrument) GetFuture() *Future
- func (x *Instrument) GetId() string
- func (x *Instrument) GetMetadata() *InstrumentMetadata
- func (x *Instrument) GetName() string
- func (m *Instrument) GetProduct() isInstrument_Product
- func (*Instrument) ProtoMessage()
- func (x *Instrument) ProtoReflect() protoreflect.Message
- func (x *Instrument) Reset()
- func (x *Instrument) String() string
- type InstrumentConfiguration
- func (i InstrumentConfiguration) DeepClone() *InstrumentConfiguration
- func (*InstrumentConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentConfiguration) GetCode() string
- func (x *InstrumentConfiguration) GetFuture() *FutureProduct
- func (x *InstrumentConfiguration) GetName() string
- func (m *InstrumentConfiguration) GetProduct() isInstrumentConfiguration_Product
- func (*InstrumentConfiguration) ProtoMessage()
- func (x *InstrumentConfiguration) ProtoReflect() protoreflect.Message
- func (x *InstrumentConfiguration) Reset()
- func (x *InstrumentConfiguration) String() string
- type InstrumentConfiguration_Future
- type InstrumentMetadata
- func (i InstrumentMetadata) DeepClone() *InstrumentMetadata
- func (*InstrumentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *InstrumentMetadata) GetTags() []string
- func (*InstrumentMetadata) ProtoMessage()
- func (x *InstrumentMetadata) ProtoReflect() protoreflect.Message
- func (x *InstrumentMetadata) Reset()
- func (x *InstrumentMetadata) String() string
- type Instrument_Future
- type Interval
- type KeyValueBundle
- func (*KeyValueBundle) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueBundle) GetKey() string
- func (x *KeyValueBundle) GetTolerance() string
- func (x *KeyValueBundle) GetValue() *StateVarValue
- func (*KeyValueBundle) ProtoMessage()
- func (x *KeyValueBundle) ProtoReflect() protoreflect.Message
- func (x *KeyValueBundle) Reset()
- func (x *KeyValueBundle) String() string
- type LedgerEntry
- func (l LedgerEntry) DeepClone() *LedgerEntry
- func (*LedgerEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerEntry) GetAmount() string
- func (x *LedgerEntry) GetFromAccount() string
- func (x *LedgerEntry) GetReference() string
- func (x *LedgerEntry) GetTimestamp() int64
- func (x *LedgerEntry) GetToAccount() string
- func (x *LedgerEntry) GetType() string
- func (*LedgerEntry) ProtoMessage()
- func (x *LedgerEntry) ProtoReflect() protoreflect.Message
- func (x *LedgerEntry) Reset()
- func (x *LedgerEntry) String() string
- type LiquidityMonitoringParameters
- func (l LiquidityMonitoringParameters) DeepClone() *LiquidityMonitoringParameters
- func (*LiquidityMonitoringParameters) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityMonitoringParameters) GetAuctionExtension() int64
- func (x *LiquidityMonitoringParameters) GetTargetStakeParameters() *TargetStakeParameters
- func (x *LiquidityMonitoringParameters) GetTriggeringRatio() float64
- func (*LiquidityMonitoringParameters) ProtoMessage()
- func (x *LiquidityMonitoringParameters) ProtoReflect() protoreflect.Message
- func (x *LiquidityMonitoringParameters) Reset()
- func (x *LiquidityMonitoringParameters) String() string
- type LiquidityOrder
- func (l LiquidityOrder) DeepClone() *LiquidityOrder
- func (*LiquidityOrder) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityOrder) GetOffset() string
- func (x *LiquidityOrder) GetProportion() uint32
- func (x *LiquidityOrder) GetReference() PeggedReference
- func (*LiquidityOrder) ProtoMessage()
- func (x *LiquidityOrder) ProtoReflect() protoreflect.Message
- func (x *LiquidityOrder) Reset()
- func (x *LiquidityOrder) String() string
- type LiquidityOrderReference
- func (l LiquidityOrderReference) DeepClone() *LiquidityOrderReference
- func (*LiquidityOrderReference) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityOrderReference) GetLiquidityOrder() *LiquidityOrder
- func (x *LiquidityOrderReference) GetOrderId() string
- func (*LiquidityOrderReference) ProtoMessage()
- func (x *LiquidityOrderReference) ProtoReflect() protoreflect.Message
- func (x *LiquidityOrderReference) Reset()
- func (x *LiquidityOrderReference) String() string
- type LiquidityProviderFeeShare
- func (l LiquidityProviderFeeShare) DeepClone() *LiquidityProviderFeeShare
- func (*LiquidityProviderFeeShare) Descriptor() ([]byte, []int)deprecated
- func (x *LiquidityProviderFeeShare) GetAverageEntryValuation() string
- func (x *LiquidityProviderFeeShare) GetEquityLikeShare() string
- func (x *LiquidityProviderFeeShare) GetParty() string
- func (*LiquidityProviderFeeShare) ProtoMessage()
- func (x *LiquidityProviderFeeShare) ProtoReflect() protoreflect.Message
- func (x *LiquidityProviderFeeShare) Reset()
- func (x *LiquidityProviderFeeShare) String() string
- type LiquidityProvision
- func (l LiquidityProvision) DeepClone() *LiquidityProvision
- func (*LiquidityProvision) Descriptor() ([]byte, []int)deprecated
- func (l *LiquidityProvision) Float64Fee() float64
- func (x *LiquidityProvision) GetBuys() []*LiquidityOrderReference
- func (x *LiquidityProvision) GetCommitmentAmount() string
- func (x *LiquidityProvision) GetCreatedAt() int64
- func (x *LiquidityProvision) GetFee() string
- func (x *LiquidityProvision) GetId() string
- func (x *LiquidityProvision) GetMarketId() string
- func (x *LiquidityProvision) GetPartyId() string
- func (x *LiquidityProvision) GetReference() string
- func (x *LiquidityProvision) GetSells() []*LiquidityOrderReference
- func (x *LiquidityProvision) GetStatus() LiquidityProvision_Status
- func (x *LiquidityProvision) GetUpdatedAt() int64
- func (x *LiquidityProvision) GetVersion() uint64
- func (LiquidityProvision) IsEvent()
- func (*LiquidityProvision) ProtoMessage()
- func (x *LiquidityProvision) ProtoReflect() protoreflect.Message
- func (x *LiquidityProvision) Reset()
- func (x *LiquidityProvision) String() string
- type LiquidityProvision_Status
- func (LiquidityProvision_Status) Descriptor() protoreflect.EnumDescriptor
- func (x LiquidityProvision_Status) Enum() *LiquidityProvision_Status
- func (LiquidityProvision_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x LiquidityProvision_Status) Number() protoreflect.EnumNumber
- func (x LiquidityProvision_Status) String() string
- func (LiquidityProvision_Status) Type() protoreflect.EnumType
- type LogNormalModelParams
- func (l LogNormalModelParams) DeepClone() *LogNormalModelParams
- func (*LogNormalModelParams) Descriptor() ([]byte, []int)deprecated
- func (x *LogNormalModelParams) GetMu() float64
- func (x *LogNormalModelParams) GetR() float64
- func (x *LogNormalModelParams) GetSigma() float64
- func (*LogNormalModelParams) ProtoMessage()
- func (x *LogNormalModelParams) ProtoReflect() protoreflect.Message
- func (x *LogNormalModelParams) Reset()
- func (x *LogNormalModelParams) String() string
- type LogNormalRiskModel
- func (l LogNormalRiskModel) DeepClone() *LogNormalRiskModel
- func (*LogNormalRiskModel) Descriptor() ([]byte, []int)deprecated
- func (x *LogNormalRiskModel) GetParams() *LogNormalModelParams
- func (x *LogNormalRiskModel) GetRiskAversionParameter() float64
- func (x *LogNormalRiskModel) GetTau() float64
- func (LogNormalRiskModel) IsRiskModel()
- func (*LogNormalRiskModel) ProtoMessage()
- func (x *LogNormalRiskModel) ProtoReflect() protoreflect.Message
- func (x *LogNormalRiskModel) Reset()
- func (x *LogNormalRiskModel) String() string
- type MarginCalculator
- func (m MarginCalculator) DeepClone() *MarginCalculator
- func (*MarginCalculator) Descriptor() ([]byte, []int)deprecated
- func (x *MarginCalculator) GetScalingFactors() *ScalingFactors
- func (*MarginCalculator) ProtoMessage()
- func (x *MarginCalculator) ProtoReflect() protoreflect.Message
- func (x *MarginCalculator) Reset()
- func (x *MarginCalculator) String() string
- type MarginLevels
- func (*MarginLevels) Descriptor() ([]byte, []int)deprecated
- func (x *MarginLevels) GetAsset() string
- func (x *MarginLevels) GetCollateralReleaseLevel() string
- func (x *MarginLevels) GetInitialMargin() string
- func (x *MarginLevels) GetMaintenanceMargin() string
- func (x *MarginLevels) GetMarketId() string
- func (x *MarginLevels) GetPartyId() string
- func (x *MarginLevels) GetSearchLevel() string
- func (x *MarginLevels) GetTimestamp() int64
- func (MarginLevels) IsEvent()
- func (*MarginLevels) ProtoMessage()
- func (x *MarginLevels) ProtoReflect() protoreflect.Message
- func (x *MarginLevels) Reset()
- func (x *MarginLevels) String() string
- type Market
- func (m Market) DeepClone() *Market
- func (*Market) Descriptor() ([]byte, []int)deprecated
- func (m *Market) GetAsset() (string, error)
- func (x *Market) GetDecimalPlaces() uint64
- func (x *Market) GetFees() *Fees
- func (x *Market) GetId() string
- func (x *Market) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
- func (x *Market) GetMarketTimestamps() *MarketTimestamps
- func (x *Market) GetOpeningAuction() *AuctionDuration
- func (x *Market) GetPositionDecimalPlaces() uint64
- func (x *Market) GetPriceMonitoringSettings() *PriceMonitoringSettings
- func (x *Market) GetState() Market_State
- func (x *Market) GetTradableInstrument() *TradableInstrument
- func (x *Market) GetTradingMode() Market_TradingMode
- func (Market) IsEvent()
- func (*Market) ProtoMessage()
- func (x *Market) ProtoReflect() protoreflect.Message
- func (x *Market) Reset()
- func (x *Market) String() string
- type MarketData
- func (m MarketData) DeepClone() *MarketData
- func (*MarketData) Descriptor() ([]byte, []int)deprecated
- func (x *MarketData) GetAuctionEnd() int64
- func (x *MarketData) GetAuctionStart() int64
- func (x *MarketData) GetBestBidPrice() string
- func (x *MarketData) GetBestBidVolume() uint64
- func (x *MarketData) GetBestOfferPrice() string
- func (x *MarketData) GetBestOfferVolume() uint64
- func (x *MarketData) GetBestStaticBidPrice() string
- func (x *MarketData) GetBestStaticBidVolume() uint64
- func (x *MarketData) GetBestStaticOfferPrice() string
- func (x *MarketData) GetBestStaticOfferVolume() uint64
- func (x *MarketData) GetExtensionTrigger() AuctionTrigger
- func (x *MarketData) GetIndicativePrice() string
- func (x *MarketData) GetIndicativeVolume() uint64
- func (x *MarketData) GetLiquidityProviderFeeShare() []*LiquidityProviderFeeShare
- func (x *MarketData) GetMarkPrice() string
- func (x *MarketData) GetMarket() string
- func (x *MarketData) GetMarketTradingMode() Market_TradingMode
- func (x *MarketData) GetMarketValueProxy() string
- func (x *MarketData) GetMidPrice() string
- func (x *MarketData) GetOpenInterest() uint64
- func (x *MarketData) GetPriceMonitoringBounds() []*PriceMonitoringBounds
- func (x *MarketData) GetStaticMidPrice() string
- func (x *MarketData) GetSuppliedStake() string
- func (x *MarketData) GetTargetStake() string
- func (x *MarketData) GetTimestamp() int64
- func (x *MarketData) GetTrigger() AuctionTrigger
- func (MarketData) IsEvent()
- func (*MarketData) ProtoMessage()
- func (x *MarketData) ProtoReflect() protoreflect.Message
- func (x *MarketData) Reset()
- func (x *MarketData) String() string
- type MarketDepth
- func (*MarketDepth) Descriptor() ([]byte, []int)deprecated
- func (x *MarketDepth) GetBuy() []*PriceLevel
- func (x *MarketDepth) GetMarketId() string
- func (x *MarketDepth) GetSell() []*PriceLevel
- func (x *MarketDepth) GetSequenceNumber() uint64
- func (*MarketDepth) ProtoMessage()
- func (x *MarketDepth) ProtoReflect() protoreflect.Message
- func (x *MarketDepth) Reset()
- func (x *MarketDepth) String() string
- type MarketDepthUpdate
- func (*MarketDepthUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *MarketDepthUpdate) GetBuy() []*PriceLevel
- func (x *MarketDepthUpdate) GetMarketId() string
- func (x *MarketDepthUpdate) GetPreviousSequenceNumber() uint64
- func (x *MarketDepthUpdate) GetSell() []*PriceLevel
- func (x *MarketDepthUpdate) GetSequenceNumber() uint64
- func (*MarketDepthUpdate) ProtoMessage()
- func (x *MarketDepthUpdate) ProtoReflect() protoreflect.Message
- func (x *MarketDepthUpdate) Reset()
- func (x *MarketDepthUpdate) String() string
- type MarketTimestamps
- func (m MarketTimestamps) DeepClone() *MarketTimestamps
- func (*MarketTimestamps) Descriptor() ([]byte, []int)deprecated
- func (x *MarketTimestamps) GetClose() int64
- func (x *MarketTimestamps) GetOpen() int64
- func (x *MarketTimestamps) GetPending() int64
- func (x *MarketTimestamps) GetProposed() int64
- func (*MarketTimestamps) ProtoMessage()
- func (x *MarketTimestamps) ProtoReflect() protoreflect.Message
- func (x *MarketTimestamps) Reset()
- func (x *MarketTimestamps) String() string
- type Market_State
- func (Market_State) Descriptor() protoreflect.EnumDescriptor
- func (x Market_State) Enum() *Market_State
- func (Market_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Market_State) Number() protoreflect.EnumNumber
- func (x Market_State) String() string
- func (Market_State) Type() protoreflect.EnumType
- type Market_TradingMode
- func (Market_TradingMode) Descriptor() protoreflect.EnumDescriptor
- func (x Market_TradingMode) Enum() *Market_TradingMode
- func (Market_TradingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Market_TradingMode) Number() protoreflect.EnumNumber
- func (x Market_TradingMode) String() string
- func (Market_TradingMode) Type() protoreflect.EnumType
- type MatrixValue
- type NetworkLimits
- func (n NetworkLimits) DeepClone() *NetworkLimits
- func (*NetworkLimits) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkLimits) GetBootstrapBlockCount() uint32
- func (x *NetworkLimits) GetBootstrapFinished() bool
- func (x *NetworkLimits) GetCanProposeAsset() bool
- func (x *NetworkLimits) GetCanProposeMarket() bool
- func (x *NetworkLimits) GetGenesisLoaded() bool
- func (x *NetworkLimits) GetProposeAssetEnabled() bool
- func (x *NetworkLimits) GetProposeAssetEnabledFrom() int64
- func (x *NetworkLimits) GetProposeMarketEnabled() bool
- func (x *NetworkLimits) GetProposeMarketEnabledFrom() int64
- func (*NetworkLimits) ProtoMessage()
- func (x *NetworkLimits) ProtoReflect() protoreflect.Message
- func (x *NetworkLimits) Reset()
- func (x *NetworkLimits) String() string
- type NetworkParameter
- func (n NetworkParameter) DeepClone() *NetworkParameter
- func (*NetworkParameter) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkParameter) GetKey() string
- func (x *NetworkParameter) GetValue() string
- func (*NetworkParameter) ProtoMessage()
- func (x *NetworkParameter) ProtoReflect() protoreflect.Message
- func (x *NetworkParameter) Reset()
- func (x *NetworkParameter) String() string
- type NewAsset
- func (n NewAsset) DeepClone() *NewAsset
- func (*NewAsset) Descriptor() ([]byte, []int)deprecated
- func (x *NewAsset) GetChanges() *AssetDetails
- func (NewAsset) IsProposalChange()
- func (*NewAsset) ProtoMessage()
- func (x *NewAsset) ProtoReflect() protoreflect.Message
- func (x *NewAsset) Reset()
- func (x *NewAsset) String() string
- type NewFreeform
- type NewMarket
- func (n NewMarket) DeepClone() *NewMarket
- func (*NewMarket) Descriptor() ([]byte, []int)deprecated
- func (x *NewMarket) GetChanges() *NewMarketConfiguration
- func (x *NewMarket) GetLiquidityCommitment() *NewMarketCommitment
- func (NewMarket) IsProposalChange()
- func (*NewMarket) ProtoMessage()
- func (x *NewMarket) ProtoReflect() protoreflect.Message
- func (x *NewMarket) Reset()
- func (x *NewMarket) String() string
- type NewMarketCommitment
- func (n NewMarketCommitment) DeepClone() *NewMarketCommitment
- func (*NewMarketCommitment) Descriptor() ([]byte, []int)deprecated
- func (x *NewMarketCommitment) GetBuys() []*LiquidityOrder
- func (x *NewMarketCommitment) GetCommitmentAmount() string
- func (x *NewMarketCommitment) GetFee() string
- func (x *NewMarketCommitment) GetReference() string
- func (x *NewMarketCommitment) GetSells() []*LiquidityOrder
- func (*NewMarketCommitment) ProtoMessage()
- func (x *NewMarketCommitment) ProtoReflect() protoreflect.Message
- func (x *NewMarketCommitment) Reset()
- func (x *NewMarketCommitment) String() string
- type NewMarketConfiguration
- func (n NewMarketConfiguration) DeepClone() *NewMarketConfiguration
- func (*NewMarketConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *NewMarketConfiguration) GetDecimalPlaces() uint64
- func (x *NewMarketConfiguration) GetInstrument() *InstrumentConfiguration
- func (x *NewMarketConfiguration) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
- func (x *NewMarketConfiguration) GetLogNormal() *LogNormalRiskModel
- func (x *NewMarketConfiguration) GetMetadata() []string
- func (x *NewMarketConfiguration) GetPositionDecimalPlaces() uint64
- func (x *NewMarketConfiguration) GetPriceMonitoringParameters() *PriceMonitoringParameters
- func (m *NewMarketConfiguration) GetRiskParameters() isNewMarketConfiguration_RiskParameters
- func (x *NewMarketConfiguration) GetSimple() *SimpleModelParams
- func (*NewMarketConfiguration) ProtoMessage()
- func (x *NewMarketConfiguration) ProtoReflect() protoreflect.Message
- func (x *NewMarketConfiguration) Reset()
- func (x *NewMarketConfiguration) String() string
- type NewMarketConfiguration_LogNormal
- type NewMarketConfiguration_Simple
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAvatarUrl() string
- func (x *Node) GetDelegations() []*Delegation
- func (x *Node) GetEpochData() *EpochData
- func (x *Node) GetEthereumAdddress() string
- func (x *Node) GetId() string
- func (x *Node) GetInfoUrl() string
- func (x *Node) GetLocation() string
- func (x *Node) GetMaxIntendedStake() string
- func (x *Node) GetName() string
- func (x *Node) GetPendingStake() string
- func (x *Node) GetPubKey() string
- func (x *Node) GetRankingScore() *RankingScore
- func (x *Node) GetRewardScore() *RewardScore
- func (x *Node) GetStakedByDelegates() string
- func (x *Node) GetStakedByOperator() string
- func (x *Node) GetStakedTotal() string
- func (x *Node) GetStatus() NodeStatus
- func (x *Node) GetTmPubKey() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)deprecated
- func (x *NodeData) GetInactiveNodes() uint32
- func (x *NodeData) GetStakedTotal() string
- func (x *NodeData) GetTotalNodes() uint32
- func (x *NodeData) GetUptime() float32
- func (x *NodeData) GetValidatingNodes() uint32
- func (*NodeData) ProtoMessage()
- func (x *NodeData) ProtoReflect() protoreflect.Message
- func (x *NodeData) Reset()
- func (x *NodeData) String() string
- type NodeStatus
- type OracleSpecToFutureBinding
- func (o OracleSpecToFutureBinding) DeepClone() *OracleSpecToFutureBinding
- func (*OracleSpecToFutureBinding) Descriptor() ([]byte, []int)deprecated
- func (x *OracleSpecToFutureBinding) GetSettlementPriceProperty() string
- func (x *OracleSpecToFutureBinding) GetTradingTerminationProperty() string
- func (*OracleSpecToFutureBinding) ProtoMessage()
- func (x *OracleSpecToFutureBinding) ProtoReflect() protoreflect.Message
- func (x *OracleSpecToFutureBinding) Reset()
- func (x *OracleSpecToFutureBinding) String() string
- type Order
- func (o *Order) Create(t time.Time) *Order
- func (o Order) DeepClone() *Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetBatchId() uint64
- func (x *Order) GetCreatedAt() int64
- func (x *Order) GetExpiresAt() int64
- func (x *Order) GetId() string
- func (x *Order) GetLiquidityProvisionId() string
- func (x *Order) GetMarketId() string
- func (x *Order) GetPartyId() string
- func (x *Order) GetPeggedOrder() *PeggedOrder
- func (x *Order) GetPrice() string
- func (x *Order) GetReason() OrderError
- func (x *Order) GetReference() string
- func (x *Order) GetRemaining() uint64
- func (x *Order) GetSide() Side
- func (x *Order) GetSize() uint64
- func (x *Order) GetStatus() Order_Status
- func (x *Order) GetTimeInForce() Order_TimeInForce
- func (x *Order) GetType() Order_Type
- func (x *Order) GetUpdatedAt() int64
- func (x *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 (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- func (o *Order) Update(t time.Time) *Order
- type OrderCancellationConfirmation
- func (*OrderCancellationConfirmation) Descriptor() ([]byte, []int)deprecated
- func (x *OrderCancellationConfirmation) GetOrder() *Order
- func (*OrderCancellationConfirmation) ProtoMessage()
- func (x *OrderCancellationConfirmation) ProtoReflect() protoreflect.Message
- func (x *OrderCancellationConfirmation) Reset()
- func (x *OrderCancellationConfirmation) String() string
- type OrderConfirmation
- func (*OrderConfirmation) Descriptor() ([]byte, []int)deprecated
- func (x *OrderConfirmation) GetOrder() *Order
- func (x *OrderConfirmation) GetPassiveOrdersAffected() []*Order
- func (x *OrderConfirmation) GetTrades() []*Trade
- func (*OrderConfirmation) ProtoMessage()
- func (x *OrderConfirmation) ProtoReflect() protoreflect.Message
- func (x *OrderConfirmation) Reset()
- func (x *OrderConfirmation) String() string
- type OrderError
- func (OrderError) Descriptor() protoreflect.EnumDescriptor
- func (x OrderError) Enum() *OrderError
- func (OrderError) EnumDescriptor() ([]byte, []int)deprecated
- func (err OrderError) Error() string
- func (x OrderError) Number() protoreflect.EnumNumber
- func (x OrderError) String() string
- func (OrderError) Type() protoreflect.EnumType
- type Order_Status
- func (Order_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Order_Status) Enum() *Order_Status
- func (Order_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Order_Status) Number() protoreflect.EnumNumber
- func (x Order_Status) String() string
- func (Order_Status) Type() protoreflect.EnumType
- type Order_TimeInForce
- func (Order_TimeInForce) Descriptor() protoreflect.EnumDescriptor
- func (x Order_TimeInForce) Enum() *Order_TimeInForce
- func (Order_TimeInForce) EnumDescriptor() ([]byte, []int)deprecated
- func (x Order_TimeInForce) Number() protoreflect.EnumNumber
- func (x Order_TimeInForce) String() string
- func (Order_TimeInForce) Type() protoreflect.EnumType
- type Order_Type
- type Party
- type PeggedOrder
- func (p PeggedOrder) DeepClone() *PeggedOrder
- func (*PeggedOrder) Descriptor() ([]byte, []int)deprecated
- func (x *PeggedOrder) GetOffset() string
- func (x *PeggedOrder) GetReference() PeggedReference
- func (*PeggedOrder) ProtoMessage()
- func (x *PeggedOrder) ProtoReflect() protoreflect.Message
- func (x *PeggedOrder) Reset()
- func (x *PeggedOrder) String() string
- type PeggedReference
- func (PeggedReference) Descriptor() protoreflect.EnumDescriptor
- func (x PeggedReference) Enum() *PeggedReference
- func (PeggedReference) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeggedReference) Number() protoreflect.EnumNumber
- func (x PeggedReference) String() string
- func (PeggedReference) Type() protoreflect.EnumType
- type Position
- func (*Position) Descriptor() ([]byte, []int)deprecated
- func (x *Position) GetAverageEntryPrice() string
- func (x *Position) GetMarketId() string
- func (x *Position) GetOpenVolume() int64
- func (x *Position) GetPartyId() string
- func (x *Position) GetRealisedPnl() string
- func (x *Position) GetUnrealisedPnl() string
- func (x *Position) GetUpdatedAt() int64
- func (*Position) ProtoMessage()
- func (x *Position) ProtoReflect() protoreflect.Message
- func (x *Position) Reset()
- func (x *Position) String() string
- type PositionTrade
- func (*PositionTrade) Descriptor() ([]byte, []int)deprecated
- func (x *PositionTrade) GetPrice() string
- func (x *PositionTrade) GetVolume() int64
- func (*PositionTrade) ProtoMessage()
- func (x *PositionTrade) ProtoReflect() protoreflect.Message
- func (x *PositionTrade) Reset()
- func (x *PositionTrade) String() string
- type Price
- type PriceLevel
- func (*PriceLevel) Descriptor() ([]byte, []int)deprecated
- func (x *PriceLevel) GetNumberOfOrders() uint64
- func (x *PriceLevel) GetPrice() string
- func (x *PriceLevel) GetVolume() uint64
- func (*PriceLevel) ProtoMessage()
- func (x *PriceLevel) ProtoReflect() protoreflect.Message
- func (x *PriceLevel) Reset()
- func (x *PriceLevel) String() string
- type PriceMonitoringBounds
- func (p PriceMonitoringBounds) DeepClone() *PriceMonitoringBounds
- func (*PriceMonitoringBounds) Descriptor() ([]byte, []int)deprecated
- func (x *PriceMonitoringBounds) GetMaxValidPrice() string
- func (x *PriceMonitoringBounds) GetMinValidPrice() string
- func (x *PriceMonitoringBounds) GetReferencePrice() string
- func (x *PriceMonitoringBounds) GetTrigger() *PriceMonitoringTrigger
- func (*PriceMonitoringBounds) ProtoMessage()
- func (x *PriceMonitoringBounds) ProtoReflect() protoreflect.Message
- func (x *PriceMonitoringBounds) Reset()
- func (x *PriceMonitoringBounds) String() string
- type PriceMonitoringParameters
- func (p PriceMonitoringParameters) DeepClone() *PriceMonitoringParameters
- func (*PriceMonitoringParameters) Descriptor() ([]byte, []int)deprecated
- func (x *PriceMonitoringParameters) GetTriggers() []*PriceMonitoringTrigger
- func (*PriceMonitoringParameters) ProtoMessage()
- func (x *PriceMonitoringParameters) ProtoReflect() protoreflect.Message
- func (x *PriceMonitoringParameters) Reset()
- func (x *PriceMonitoringParameters) String() string
- func (p *PriceMonitoringParameters) Validate() error
- type PriceMonitoringSettings
- func (p PriceMonitoringSettings) DeepClone() *PriceMonitoringSettings
- func (*PriceMonitoringSettings) Descriptor() ([]byte, []int)deprecated
- func (x *PriceMonitoringSettings) GetParameters() *PriceMonitoringParameters
- func (x *PriceMonitoringSettings) GetUpdateFrequency() int64
- func (*PriceMonitoringSettings) ProtoMessage()
- func (x *PriceMonitoringSettings) ProtoReflect() protoreflect.Message
- func (x *PriceMonitoringSettings) Reset()
- func (x *PriceMonitoringSettings) String() string
- type PriceMonitoringTrigger
- func (p PriceMonitoringTrigger) DeepClone() *PriceMonitoringTrigger
- func (*PriceMonitoringTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *PriceMonitoringTrigger) GetAuctionExtension() int64
- func (x *PriceMonitoringTrigger) GetHorizon() int64
- func (x *PriceMonitoringTrigger) GetProbability() string
- func (*PriceMonitoringTrigger) ProtoMessage()
- func (x *PriceMonitoringTrigger) ProtoReflect() protoreflect.Message
- func (x *PriceMonitoringTrigger) Reset()
- func (x *PriceMonitoringTrigger) String() string
- func (p *PriceMonitoringTrigger) Validate() error
- type Proposal
- func (p Proposal) DeepClone() *Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetErrorDetails() string
- func (x *Proposal) GetId() string
- func (x *Proposal) GetPartyId() string
- func (x *Proposal) GetRationale() *ProposalRationale
- func (x *Proposal) GetReason() ProposalError
- func (x *Proposal) GetReference() string
- func (x *Proposal) GetState() Proposal_State
- func (x *Proposal) GetTerms() *ProposalTerms
- func (x *Proposal) GetTimestamp() int64
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposalError
- func (ProposalError) Descriptor() protoreflect.EnumDescriptor
- func (x ProposalError) Enum() *ProposalError
- func (ProposalError) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProposalError) Number() protoreflect.EnumNumber
- func (x ProposalError) String() string
- func (ProposalError) Type() protoreflect.EnumType
- type ProposalRationale
- func (*ProposalRationale) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalRationale) GetDescription() string
- func (x *ProposalRationale) GetHash() string
- func (x *ProposalRationale) GetUrl() string
- func (*ProposalRationale) ProtoMessage()
- func (x *ProposalRationale) ProtoReflect() protoreflect.Message
- func (x *ProposalRationale) Reset()
- func (x *ProposalRationale) String() string
- type ProposalTerms
- func (p ProposalTerms) DeepClone() *ProposalTerms
- func (*ProposalTerms) Descriptor() ([]byte, []int)deprecated
- func (m *ProposalTerms) GetChange() isProposalTerms_Change
- func (x *ProposalTerms) GetClosingTimestamp() int64
- func (x *ProposalTerms) GetEnactmentTimestamp() int64
- func (x *ProposalTerms) GetNewAsset() *NewAsset
- func (x *ProposalTerms) GetNewFreeform() *NewFreeform
- func (x *ProposalTerms) GetNewMarket() *NewMarket
- func (x *ProposalTerms) GetUpdateAsset() *UpdateAsset
- func (x *ProposalTerms) GetUpdateMarket() *UpdateMarket
- func (x *ProposalTerms) GetUpdateNetworkParameter() *UpdateNetworkParameter
- func (x *ProposalTerms) GetValidationTimestamp() int64
- func (*ProposalTerms) ProtoMessage()
- func (x *ProposalTerms) ProtoReflect() protoreflect.Message
- func (x *ProposalTerms) Reset()
- func (x *ProposalTerms) String() string
- type ProposalTerms_NewAsset
- type ProposalTerms_NewFreeform
- type ProposalTerms_NewMarket
- type ProposalTerms_UpdateAsset
- type ProposalTerms_UpdateMarket
- type ProposalTerms_UpdateNetworkParameter
- type Proposal_State
- func (Proposal_State) Descriptor() protoreflect.EnumDescriptor
- func (x Proposal_State) Enum() *Proposal_State
- func (Proposal_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Proposal_State) Number() protoreflect.EnumNumber
- func (x Proposal_State) String() string
- func (Proposal_State) Type() protoreflect.EnumType
- type RankingScore
- func (*RankingScore) Descriptor() ([]byte, []int)deprecated
- func (x *RankingScore) GetPerformanceScore() string
- func (x *RankingScore) GetPreviousStatus() ValidatorNodeStatus
- func (x *RankingScore) GetRankingScore() string
- func (x *RankingScore) GetStakeScore() string
- func (x *RankingScore) GetStatus() ValidatorNodeStatus
- func (x *RankingScore) GetVotingPower() uint32
- func (*RankingScore) ProtoMessage()
- func (x *RankingScore) ProtoReflect() protoreflect.Message
- func (x *RankingScore) Reset()
- func (x *RankingScore) String() string
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetAmount() string
- func (x *Reward) GetAssetId() string
- func (x *Reward) GetEpoch() uint64
- func (x *Reward) GetMarketId() string
- func (x *Reward) GetPartyId() string
- func (x *Reward) GetPercentageOfTotal() string
- func (x *Reward) GetReceivedAt() int64
- func (x *Reward) GetRewardType() string
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type RewardScore
- func (*RewardScore) Descriptor() ([]byte, []int)deprecated
- func (x *RewardScore) GetMultisigScore() string
- func (x *RewardScore) GetNormalisedScore() string
- func (x *RewardScore) GetPerformanceScore() string
- func (x *RewardScore) GetRawValidatorScore() string
- func (x *RewardScore) GetValidatorScore() string
- func (x *RewardScore) GetValidatorStatus() ValidatorNodeStatus
- func (*RewardScore) ProtoMessage()
- func (x *RewardScore) ProtoReflect() protoreflect.Message
- func (x *RewardScore) Reset()
- func (x *RewardScore) String() string
- type RewardSummary
- func (*RewardSummary) Descriptor() ([]byte, []int)deprecated
- func (x *RewardSummary) GetAmount() string
- func (x *RewardSummary) GetAssetId() string
- func (x *RewardSummary) GetPartyId() string
- func (*RewardSummary) ProtoMessage()
- func (x *RewardSummary) ProtoReflect() protoreflect.Message
- func (x *RewardSummary) Reset()
- func (x *RewardSummary) String() string
- type RiskFactor
- func (r RiskFactor) DeepClone() *RiskFactor
- func (*RiskFactor) Descriptor() ([]byte, []int)deprecated
- func (x *RiskFactor) GetLong() string
- func (x *RiskFactor) GetMarket() string
- func (x *RiskFactor) GetShort() string
- func (RiskFactor) IsEvent()
- func (*RiskFactor) ProtoMessage()
- func (x *RiskFactor) ProtoReflect() protoreflect.Message
- func (x *RiskFactor) Reset()
- func (x *RiskFactor) String() string
- type ScalarValue
- type ScalingFactors
- func (s ScalingFactors) DeepClone() *ScalingFactors
- func (*ScalingFactors) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingFactors) GetCollateralRelease() float64
- func (x *ScalingFactors) GetInitialMargin() float64
- func (x *ScalingFactors) GetSearchLevel() float64
- func (*ScalingFactors) ProtoMessage()
- func (x *ScalingFactors) ProtoReflect() protoreflect.Message
- func (x *ScalingFactors) Reset()
- func (x *ScalingFactors) String() string
- type Side
- type SimpleModelParams
- func (s SimpleModelParams) DeepClone() *SimpleModelParams
- func (*SimpleModelParams) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleModelParams) GetFactorLong() float64
- func (x *SimpleModelParams) GetFactorShort() float64
- func (x *SimpleModelParams) GetMaxMoveUp() float64
- func (x *SimpleModelParams) GetMinMoveDown() float64
- func (x *SimpleModelParams) GetProbabilityOfTrading() float64
- func (SimpleModelParams) IsRiskModel()
- func (*SimpleModelParams) ProtoMessage()
- func (x *SimpleModelParams) ProtoReflect() protoreflect.Message
- func (x *SimpleModelParams) Reset()
- func (x *SimpleModelParams) String() string
- type SimpleRiskModel
- func (s SimpleRiskModel) DeepClone() *SimpleRiskModel
- func (*SimpleRiskModel) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleRiskModel) GetParams() *SimpleModelParams
- func (SimpleRiskModel) IsRiskModel()
- func (*SimpleRiskModel) ProtoMessage()
- func (x *SimpleRiskModel) ProtoReflect() protoreflect.Message
- func (x *SimpleRiskModel) Reset()
- func (x *SimpleRiskModel) String() string
- type StakeDeposited
- func (*StakeDeposited) Descriptor() ([]byte, []int)deprecated
- func (x *StakeDeposited) GetAmount() string
- func (x *StakeDeposited) GetBlockTime() int64
- func (x *StakeDeposited) GetEthereumAddress() string
- func (x *StakeDeposited) GetVegaPublicKey() string
- func (*StakeDeposited) ProtoMessage()
- func (x *StakeDeposited) ProtoReflect() protoreflect.Message
- func (x *StakeDeposited) Reset()
- func (x *StakeDeposited) String() string
- type StakeRemoved
- func (*StakeRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *StakeRemoved) GetAmount() string
- func (x *StakeRemoved) GetBlockTime() int64
- func (x *StakeRemoved) GetEthereumAddress() string
- func (x *StakeRemoved) GetVegaPublicKey() string
- func (*StakeRemoved) ProtoMessage()
- func (x *StakeRemoved) ProtoReflect() protoreflect.Message
- func (x *StakeRemoved) Reset()
- func (x *StakeRemoved) String() string
- type StakeTotalSupply
- func (*StakeTotalSupply) Descriptor() ([]byte, []int)deprecated
- func (x *StakeTotalSupply) GetTokenAddress() string
- func (x *StakeTotalSupply) GetTotalSupply() string
- func (*StakeTotalSupply) ProtoMessage()
- func (x *StakeTotalSupply) ProtoReflect() protoreflect.Message
- func (x *StakeTotalSupply) Reset()
- func (x *StakeTotalSupply) String() string
- type StakingEvent
- func (*StakingEvent) Descriptor() ([]byte, []int)deprecated
- func (m *StakingEvent) GetAction() isStakingEvent_Action
- func (x *StakingEvent) GetBlock() uint64
- func (x *StakingEvent) GetIndex() uint64
- func (x *StakingEvent) GetStakeDeposited() *StakeDeposited
- func (x *StakingEvent) GetStakeRemoved() *StakeRemoved
- func (x *StakingEvent) GetTotalSupply() *StakeTotalSupply
- func (*StakingEvent) ProtoMessage()
- func (x *StakingEvent) ProtoReflect() protoreflect.Message
- func (x *StakingEvent) Reset()
- func (x *StakingEvent) String() string
- type StakingEvent_StakeDeposited
- type StakingEvent_StakeRemoved
- type StakingEvent_TotalSupply
- type StateValueProposal
- func (*StateValueProposal) Descriptor() ([]byte, []int)deprecated
- func (x *StateValueProposal) GetEventId() string
- func (x *StateValueProposal) GetKvb() []*KeyValueBundle
- func (x *StateValueProposal) GetStateVarId() string
- func (*StateValueProposal) ProtoMessage()
- func (x *StateValueProposal) ProtoReflect() protoreflect.Message
- func (x *StateValueProposal) Reset()
- func (x *StateValueProposal) String() string
- type StateVarValue
- func (*StateVarValue) Descriptor() ([]byte, []int)deprecated
- func (x *StateVarValue) GetMatrixVal() *MatrixValue
- func (x *StateVarValue) GetScalarVal() *ScalarValue
- func (m *StateVarValue) GetValue() isStateVarValue_Value
- func (x *StateVarValue) GetVectorVal() *VectorValue
- func (*StateVarValue) ProtoMessage()
- func (x *StateVarValue) ProtoReflect() protoreflect.Message
- func (x *StateVarValue) Reset()
- func (x *StateVarValue) String() string
- type StateVarValue_MatrixVal
- type StateVarValue_ScalarVal
- type StateVarValue_VectorVal
- type TargetStakeParameters
- func (t TargetStakeParameters) DeepClone() *TargetStakeParameters
- func (*TargetStakeParameters) Descriptor() ([]byte, []int)deprecated
- func (x *TargetStakeParameters) GetScalingFactor() float64
- func (x *TargetStakeParameters) GetTimeWindow() int64
- func (*TargetStakeParameters) ProtoMessage()
- func (x *TargetStakeParameters) ProtoReflect() protoreflect.Message
- func (x *TargetStakeParameters) Reset()
- func (x *TargetStakeParameters) String() string
- type Timestamp
- type TradableInstrument
- func (t TradableInstrument) DeepClone() *TradableInstrument
- func (*TradableInstrument) Descriptor() ([]byte, []int)deprecated
- func (x *TradableInstrument) GetInstrument() *Instrument
- func (x *TradableInstrument) GetLogNormalRiskModel() *LogNormalRiskModel
- func (x *TradableInstrument) GetMarginCalculator() *MarginCalculator
- func (m *TradableInstrument) GetRiskModel() isTradableInstrument_RiskModel
- func (x *TradableInstrument) GetSimpleRiskModel() *SimpleRiskModel
- func (*TradableInstrument) ProtoMessage()
- func (x *TradableInstrument) ProtoReflect() protoreflect.Message
- func (x *TradableInstrument) Reset()
- func (x *TradableInstrument) String() string
- type TradableInstrument_LogNormalRiskModel
- type TradableInstrument_SimpleRiskModel
- type Trade
- func (t Trade) DeepClone() *Trade
- func (*Trade) Descriptor() ([]byte, []int)deprecated
- func (x *Trade) GetAggressor() Side
- func (x *Trade) GetBuyOrder() string
- func (x *Trade) GetBuyer() string
- func (x *Trade) GetBuyerAuctionBatch() uint64
- func (x *Trade) GetBuyerFee() *Fee
- func (x *Trade) GetId() string
- func (x *Trade) GetMarketId() string
- func (x *Trade) GetPrice() string
- func (x *Trade) GetSellOrder() string
- func (x *Trade) GetSeller() string
- func (x *Trade) GetSellerAuctionBatch() uint64
- func (x *Trade) GetSellerFee() *Fee
- func (x *Trade) GetSize() uint64
- func (x *Trade) GetTimestamp() int64
- func (x *Trade) GetType() Trade_Type
- func (Trade) IsEvent()
- func (*Trade) ProtoMessage()
- func (x *Trade) ProtoReflect() protoreflect.Message
- func (x *Trade) Reset()
- func (t *Trade) SetIDs(aggressive, passive *Order, idx int)
- func (x *Trade) String() string
- type TradeSet
- type Trade_Type
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAmount() *FinancialAmount
- func (x *Transfer) GetMarketId() string
- func (x *Transfer) GetMinAmount() string
- func (x *Transfer) GetOwner() string
- func (x *Transfer) GetType() TransferType
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type TransferBalance
- func (t TransferBalance) DeepClone() *TransferBalance
- func (*TransferBalance) Descriptor() ([]byte, []int)deprecated
- func (x *TransferBalance) GetAccount() *Account
- func (x *TransferBalance) GetBalance() string
- func (*TransferBalance) ProtoMessage()
- func (x *TransferBalance) ProtoReflect() protoreflect.Message
- func (x *TransferBalance) Reset()
- func (x *TransferBalance) String() string
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRequest) GetAmount() string
- func (x *TransferRequest) GetAsset() string
- func (x *TransferRequest) GetFromAccount() []*Account
- func (x *TransferRequest) GetMinAmount() string
- func (x *TransferRequest) GetReference() string
- func (x *TransferRequest) GetToAccount() []*Account
- func (*TransferRequest) ProtoMessage()
- func (x *TransferRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRequest) Reset()
- func (x *TransferRequest) String() string
- type TransferResponse
- func (t TransferResponse) DeepClone() *TransferResponse
- func (*TransferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransferResponse) GetBalances() []*TransferBalance
- func (x *TransferResponse) GetTransfers() []*LedgerEntry
- func (*TransferResponse) ProtoMessage()
- func (x *TransferResponse) ProtoReflect() protoreflect.Message
- func (x *TransferResponse) Reset()
- func (x *TransferResponse) String() string
- type TransferType
- func (TransferType) Descriptor() protoreflect.EnumDescriptor
- func (x TransferType) Enum() *TransferType
- func (TransferType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransferType) Number() protoreflect.EnumNumber
- func (x TransferType) String() string
- func (TransferType) Type() protoreflect.EnumType
- type Uint64Value
- type UpdateAsset
- func (*UpdateAsset) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAsset) GetAssetId() string
- func (x *UpdateAsset) GetChanges() *AssetDetailsUpdate
- func (*UpdateAsset) ProtoMessage()
- func (x *UpdateAsset) ProtoReflect() protoreflect.Message
- func (x *UpdateAsset) Reset()
- func (x *UpdateAsset) String() string
- type UpdateFutureProduct
- func (*UpdateFutureProduct) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFutureProduct) GetOracleSpecBinding() *OracleSpecToFutureBinding
- func (x *UpdateFutureProduct) GetOracleSpecForSettlementPrice() *v1.OracleSpecConfiguration
- func (x *UpdateFutureProduct) GetOracleSpecForTradingTermination() *v1.OracleSpecConfiguration
- func (x *UpdateFutureProduct) GetQuoteName() string
- func (x *UpdateFutureProduct) GetSettlementPriceDecimals() uint32
- func (*UpdateFutureProduct) ProtoMessage()
- func (x *UpdateFutureProduct) ProtoReflect() protoreflect.Message
- func (x *UpdateFutureProduct) Reset()
- func (x *UpdateFutureProduct) String() string
- type UpdateInstrumentConfiguration
- func (*UpdateInstrumentConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstrumentConfiguration) GetCode() string
- func (x *UpdateInstrumentConfiguration) GetFuture() *UpdateFutureProduct
- func (m *UpdateInstrumentConfiguration) GetProduct() isUpdateInstrumentConfiguration_Product
- func (*UpdateInstrumentConfiguration) ProtoMessage()
- func (x *UpdateInstrumentConfiguration) ProtoReflect() protoreflect.Message
- func (x *UpdateInstrumentConfiguration) Reset()
- func (x *UpdateInstrumentConfiguration) String() string
- type UpdateInstrumentConfiguration_Future
- type UpdateMarket
- func (u UpdateMarket) DeepClone() *UpdateMarket
- func (*UpdateMarket) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMarket) GetChanges() *UpdateMarketConfiguration
- func (x *UpdateMarket) GetMarketId() string
- func (UpdateMarket) IsProposalChange()
- func (*UpdateMarket) ProtoMessage()
- func (x *UpdateMarket) ProtoReflect() protoreflect.Message
- func (x *UpdateMarket) Reset()
- func (x *UpdateMarket) String() string
- type UpdateMarketConfiguration
- func (*UpdateMarketConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMarketConfiguration) GetInstrument() *UpdateInstrumentConfiguration
- func (x *UpdateMarketConfiguration) GetLiquidityMonitoringParameters() *LiquidityMonitoringParameters
- func (x *UpdateMarketConfiguration) GetLogNormal() *LogNormalRiskModel
- func (x *UpdateMarketConfiguration) GetMetadata() []string
- func (x *UpdateMarketConfiguration) GetPriceMonitoringParameters() *PriceMonitoringParameters
- func (m *UpdateMarketConfiguration) GetRiskParameters() isUpdateMarketConfiguration_RiskParameters
- func (x *UpdateMarketConfiguration) GetSimple() *SimpleModelParams
- func (*UpdateMarketConfiguration) ProtoMessage()
- func (x *UpdateMarketConfiguration) ProtoReflect() protoreflect.Message
- func (x *UpdateMarketConfiguration) Reset()
- func (x *UpdateMarketConfiguration) String() string
- type UpdateMarketConfiguration_LogNormal
- type UpdateMarketConfiguration_Simple
- type UpdateNetworkParameter
- func (u UpdateNetworkParameter) DeepClone() *UpdateNetworkParameter
- func (*UpdateNetworkParameter) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkParameter) GetChanges() *NetworkParameter
- func (UpdateNetworkParameter) IsProposalChange()
- func (*UpdateNetworkParameter) ProtoMessage()
- func (x *UpdateNetworkParameter) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkParameter) Reset()
- func (x *UpdateNetworkParameter) String() string
- type ValidatorNodeStatus
- func (ValidatorNodeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ValidatorNodeStatus) Enum() *ValidatorNodeStatus
- func (ValidatorNodeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidatorNodeStatus) Number() protoreflect.EnumNumber
- func (x ValidatorNodeStatus) String() string
- func (ValidatorNodeStatus) Type() protoreflect.EnumType
- type VectorValue
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetPartyId() string
- func (x *Vote) GetProposalId() string
- func (x *Vote) GetTimestamp() int64
- func (x *Vote) GetTotalEquityLikeShareWeight() string
- func (x *Vote) GetTotalGovernanceTokenBalance() string
- func (x *Vote) GetTotalGovernanceTokenWeight() string
- func (x *Vote) GetValue() Vote_Value
- func (Vote) IsEvent()
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
- type Vote_Value
- type WithdrawExt
- func (*WithdrawExt) Descriptor() ([]byte, []int)deprecated
- func (x *WithdrawExt) GetErc20() *Erc20WithdrawExt
- func (m *WithdrawExt) GetExt() isWithdrawExt_Ext
- func (*WithdrawExt) ProtoMessage()
- func (x *WithdrawExt) ProtoReflect() protoreflect.Message
- func (x *WithdrawExt) Reset()
- func (x *WithdrawExt) String() string
- type WithdrawExt_Erc20
- type Withdrawal
- func (*Withdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *Withdrawal) GetAmount() string
- func (x *Withdrawal) GetAsset() string
- func (x *Withdrawal) GetCreatedTimestamp() int64
- func (x *Withdrawal) GetExpiry() int64
- func (x *Withdrawal) GetExt() *WithdrawExt
- func (x *Withdrawal) GetId() string
- func (x *Withdrawal) GetPartyId() string
- func (x *Withdrawal) GetRef() string
- func (x *Withdrawal) GetStatus() Withdrawal_Status
- func (x *Withdrawal) GetTxHash() string
- func (x *Withdrawal) GetWithdrawnTimestamp() int64
- func (Withdrawal) IsEvent()
- func (*Withdrawal) ProtoMessage()
- func (x *Withdrawal) ProtoReflect() protoreflect.Message
- func (x *Withdrawal) Reset()
- func (x *Withdrawal) String() string
- type Withdrawal_Status
- func (Withdrawal_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Withdrawal_Status) Enum() *Withdrawal_Status
- func (Withdrawal_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Withdrawal_Status) Number() protoreflect.EnumNumber
- func (x Withdrawal_Status) String() string
- func (Withdrawal_Status) Type() protoreflect.EnumType
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 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 ( 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", 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", 34: "PROPOSAL_ERROR_UNKNOWN_TYPE", 35: "PROPOSAL_ERROR_UNKNOWN_RISK_PARAMETER_TYPE", 36: "PROPOSAL_ERROR_INVALID_FREEFORM", 37: "PROPOSAL_ERROR_INSUFFICIENT_EQUITY_LIKE_SHARE", 38: "PROPOSAL_ERROR_INVALID_MARKET", 39: "PROPOSAL_ERROR_TOO_MANY_MARKET_DECIMAL_PLACES", 40: "PROPOSAL_ERROR_TOO_MANY_PRICE_MONITORING_TRIGGERS", } 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_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, "PROPOSAL_ERROR_UNKNOWN_TYPE": 34, "PROPOSAL_ERROR_UNKNOWN_RISK_PARAMETER_TYPE": 35, "PROPOSAL_ERROR_INVALID_FREEFORM": 36, "PROPOSAL_ERROR_INSUFFICIENT_EQUITY_LIKE_SHARE": 37, "PROPOSAL_ERROR_INVALID_MARKET": 38, "PROPOSAL_ERROR_TOO_MANY_MARKET_DECIMAL_PLACES": 39, "PROPOSAL_ERROR_TOO_MANY_PRICE_MONITORING_TRIGGERS": 40, } )
Enum value maps for ProposalError.
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", } 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, } )
Enum value maps for Proposal_State.
var ( Vote_Value_name = map[int32]string{ 0: "VALUE_UNSPECIFIED", 1: "VALUE_NO", 2: "VALUE_YES", } Vote_Value_value = map[string]int32{ "VALUE_UNSPECIFIED": 0, "VALUE_NO": 1, "VALUE_YES": 2, } )
Enum value maps for Vote_Value.
var ( ErrNilTradableInstrument = errors.New("nil tradable instrument") ErrNilInstrument = errors.New("nil instrument") ErrNilProduct = errors.New("nil product") ErrUnknownAsset = errors.New("unknown asset") )
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", } 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, } )
Enum value maps for Market_State.
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", } 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, } )
Enum value maps for Market_TradingMode.
var ( Side_name = map[int32]string{ 0: "SIDE_UNSPECIFIED", 1: "SIDE_BUY", 2: "SIDE_SELL", } Side_value = map[string]int32{ "SIDE_UNSPECIFIED": 0, "SIDE_BUY": 1, "SIDE_SELL": 2, } )
Enum value maps for Side.
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", } 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, } )
Enum value maps for Interval.
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", } 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, } )
Enum value maps for AuctionTrigger.
var ( PeggedReference_name = map[int32]string{ 0: "PEGGED_REFERENCE_UNSPECIFIED", 1: "PEGGED_REFERENCE_MID", 2: "PEGGED_REFERENCE_BEST_BID", 3: "PEGGED_REFERENCE_BEST_ASK", } PeggedReference_value = map[string]int32{ "PEGGED_REFERENCE_UNSPECIFIED": 0, "PEGGED_REFERENCE_MID": 1, "PEGGED_REFERENCE_BEST_BID": 2, "PEGGED_REFERENCE_BEST_ASK": 3, } )
Enum value maps for PeggedReference.
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", 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", } 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_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, } )
Enum value maps for OrderError.
var ( ChainStatus_name = map[int32]string{ 0: "CHAIN_STATUS_UNSPECIFIED", 1: "CHAIN_STATUS_DISCONNECTED", 2: "CHAIN_STATUS_REPLAYING", 3: "CHAIN_STATUS_CONNECTED", } ChainStatus_value = map[string]int32{ "CHAIN_STATUS_UNSPECIFIED": 0, "CHAIN_STATUS_DISCONNECTED": 1, "CHAIN_STATUS_REPLAYING": 2, "CHAIN_STATUS_CONNECTED": 3, } )
Enum value maps for ChainStatus.
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", 13: "ACCOUNT_TYPE_PENDING_TRANSFERS", 14: "ACCOUNT_TYPE_REWARD_TAKER_PAID_FEES", 15: "ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES", 16: "ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES", 17: "ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS", } 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, "ACCOUNT_TYPE_PENDING_TRANSFERS": 13, "ACCOUNT_TYPE_REWARD_TAKER_PAID_FEES": 14, "ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES": 15, "ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES": 16, "ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS": 17, } )
Enum value maps for AccountType.
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", 22: "TRANSFER_TYPE_TRANSFER_FUNDS_SEND", 23: "TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE", } 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, "TRANSFER_TYPE_TRANSFER_FUNDS_SEND": 22, "TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE": 23, } )
Enum value maps for TransferType.
var ( DispatchMetric_name = map[int32]string{ 0: "DISPATCH_METRIC_UNSPECIFIED", 1: "DISPATCH_METRIC_TAKER_FEES_PAID", 2: "DISPATCH_METRIC_MAKER_FEES_RECEIVED", 3: "DISPATCH_METRIC_LP_FEES_RECEIVED", 4: "DISPATCH_METRIC_MARKET_VALUE", } DispatchMetric_value = map[string]int32{ "DISPATCH_METRIC_UNSPECIFIED": 0, "DISPATCH_METRIC_TAKER_FEES_PAID": 1, "DISPATCH_METRIC_MAKER_FEES_RECEIVED": 2, "DISPATCH_METRIC_LP_FEES_RECEIVED": 3, "DISPATCH_METRIC_MARKET_VALUE": 4, } )
Enum value maps for DispatchMetric.
var ( NodeStatus_name = map[int32]string{ 0: "NODE_STATUS_UNSPECIFIED", 1: "NODE_STATUS_VALIDATOR", 2: "NODE_STATUS_NON_VALIDATOR", } NodeStatus_value = map[string]int32{ "NODE_STATUS_UNSPECIFIED": 0, "NODE_STATUS_VALIDATOR": 1, "NODE_STATUS_NON_VALIDATOR": 2, } )
Enum value maps for NodeStatus.
var ( EpochAction_name = map[int32]string{ 0: "EPOCH_ACTION_UNSPECIFIED", 1: "EPOCH_ACTION_START", 2: "EPOCH_ACTION_END", } EpochAction_value = map[string]int32{ "EPOCH_ACTION_UNSPECIFIED": 0, "EPOCH_ACTION_START": 1, "EPOCH_ACTION_END": 2, } )
Enum value maps for EpochAction.
var ( ValidatorNodeStatus_name = map[int32]string{ 0: "VALIDATOR_NODE_STATUS_UNSPECIFIED", 1: "VALIDATOR_NODE_STATUS_TENDERMINT", 2: "VALIDATOR_NODE_STATUS_ERSATZ", 3: "VALIDATOR_NODE_STATUS_PENDING", } ValidatorNodeStatus_value = map[string]int32{ "VALIDATOR_NODE_STATUS_UNSPECIFIED": 0, "VALIDATOR_NODE_STATUS_TENDERMINT": 1, "VALIDATOR_NODE_STATUS_ERSATZ": 2, "VALIDATOR_NODE_STATUS_PENDING": 3, } )
Enum value maps for ValidatorNodeStatus.
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", } 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, } )
Enum value maps for Order_TimeInForce.
var ( Order_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_LIMIT", 2: "TYPE_MARKET", 3: "TYPE_NETWORK", } Order_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_LIMIT": 1, "TYPE_MARKET": 2, "TYPE_NETWORK": 3, } )
Enum value maps for Order_Type.
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", } 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, } )
Enum value maps for Order_Status.
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", } Trade_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_DEFAULT": 1, "TYPE_NETWORK_CLOSE_OUT_GOOD": 2, "TYPE_NETWORK_CLOSE_OUT_BAD": 3, } )
Enum value maps for Trade_Type.
var ( Deposit_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_OPEN", 2: "STATUS_CANCELLED", 3: "STATUS_FINALIZED", } Deposit_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_OPEN": 1, "STATUS_CANCELLED": 2, "STATUS_FINALIZED": 3, } )
Enum value maps for Deposit_Status.
var ( Withdrawal_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_OPEN", 2: "STATUS_REJECTED", 3: "STATUS_FINALIZED", } Withdrawal_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_OPEN": 1, "STATUS_REJECTED": 2, "STATUS_FINALIZED": 3, } )
Enum value maps for Withdrawal_Status.
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", } 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, } )
Enum value maps for LiquidityProvision_Status.
var (
ErrUnsupportedChainEvent = errors.New("unsupported chain event")
)
var File_vega_assets_proto protoreflect.FileDescriptor
var File_vega_chain_events_proto protoreflect.FileDescriptor
var File_vega_governance_proto protoreflect.FileDescriptor
var File_vega_markets_proto protoreflect.FileDescriptor
var File_vega_vega_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
Represents an account for an asset on Vega for a particular owner or party
func (*Account) Descriptor
deprecated
func (*Account) GetBalance ¶
func (*Account) GetMarketId ¶
func (*Account) GetType ¶
func (x *Account) GetType() AccountType
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶ added in v0.49.0
func (x *Account) ProtoReflect() protoreflect.Message
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 // Per asset account used to store pending transfers (if any) AccountType_ACCOUNT_TYPE_PENDING_TRANSFERS AccountType = 13 // Per asset reward account for fees paid by takers AccountType_ACCOUNT_TYPE_REWARD_TAKER_PAID_FEES AccountType = 14 // Per asset reward account for fees received by makers AccountType_ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES AccountType = 15 // Per asset reward account for fees received by liquidity providers AccountType_ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES AccountType = 16 // Per asset reward account for market proposers when the market goes above some trading threshold AccountType_ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS AccountType = 17 )
func (AccountType) Descriptor ¶ added in v0.49.0
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶ added in v0.49.0
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶ added in v0.49.0
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶ added in v0.49.0
func (AccountType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
The Vega representation of an external asset
func (*Asset) Descriptor
deprecated
func (*Asset) GetDetails ¶
func (x *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) ProtoReflect ¶ added in v0.49.0
func (x *Asset) ProtoReflect() protoreflect.Message
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"` // The minimum economically meaningful amount in the asset Quantum string `protobuf:"bytes,5,opt,name=quantum,proto3" json:"quantum,omitempty"` // The source // // Types that are assignable to Source: // *AssetDetails_BuiltinAsset // *AssetDetails_Erc20 Source isAssetDetails_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
The Vega representation of an external asset
func (AssetDetails) DeepClone ¶
func (a AssetDetails) DeepClone() *AssetDetails
func (*AssetDetails) Descriptor
deprecated
func (*AssetDetails) Descriptor() ([]byte, []int)
Deprecated: Use AssetDetails.ProtoReflect.Descriptor instead.
func (*AssetDetails) GetBuiltinAsset ¶
func (x *AssetDetails) GetBuiltinAsset() *BuiltinAsset
func (*AssetDetails) GetDecimals ¶
func (x *AssetDetails) GetDecimals() uint64
func (*AssetDetails) GetErc20 ¶
func (x *AssetDetails) GetErc20() *ERC20
func (*AssetDetails) GetName ¶
func (x *AssetDetails) GetName() string
func (*AssetDetails) GetQuantum ¶ added in v0.48.0
func (x *AssetDetails) GetQuantum() string
func (*AssetDetails) GetSource ¶
func (m *AssetDetails) GetSource() isAssetDetails_Source
func (*AssetDetails) GetSymbol ¶
func (x *AssetDetails) GetSymbol() string
func (*AssetDetails) GetTotalSupply ¶
func (x *AssetDetails) GetTotalSupply() string
func (*AssetDetails) ProtoMessage ¶
func (*AssetDetails) ProtoMessage()
func (*AssetDetails) ProtoReflect ¶ added in v0.49.0
func (x *AssetDetails) ProtoReflect() protoreflect.Message
func (*AssetDetails) Reset ¶
func (x *AssetDetails) Reset()
func (*AssetDetails) String ¶
func (x *AssetDetails) String() string
type AssetDetailsUpdate ¶ added in v0.51.1
type AssetDetailsUpdate 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"` // The minimum economically meaningful amount in the asset Quantum string `protobuf:"bytes,5,opt,name=quantum,proto3" json:"quantum,omitempty"` // The source // // Types that are assignable to Source: // *AssetDetailsUpdate_Erc20 Source isAssetDetailsUpdate_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
The changes to apply on an existing asset.
func (*AssetDetailsUpdate) Descriptor
deprecated
added in
v0.51.1
func (*AssetDetailsUpdate) Descriptor() ([]byte, []int)
Deprecated: Use AssetDetailsUpdate.ProtoReflect.Descriptor instead.
func (*AssetDetailsUpdate) GetDecimals ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetDecimals() uint64
func (*AssetDetailsUpdate) GetErc20 ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetErc20() *ERC20Update
func (*AssetDetailsUpdate) GetName ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetName() string
func (*AssetDetailsUpdate) GetQuantum ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetQuantum() string
func (*AssetDetailsUpdate) GetSource ¶ added in v0.51.1
func (m *AssetDetailsUpdate) GetSource() isAssetDetailsUpdate_Source
func (*AssetDetailsUpdate) GetSymbol ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetSymbol() string
func (*AssetDetailsUpdate) GetTotalSupply ¶ added in v0.51.1
func (x *AssetDetailsUpdate) GetTotalSupply() string
func (*AssetDetailsUpdate) ProtoMessage ¶ added in v0.51.1
func (*AssetDetailsUpdate) ProtoMessage()
func (*AssetDetailsUpdate) ProtoReflect ¶ added in v0.51.1
func (x *AssetDetailsUpdate) ProtoReflect() protoreflect.Message
func (*AssetDetailsUpdate) Reset ¶ added in v0.51.1
func (x *AssetDetailsUpdate) Reset()
func (*AssetDetailsUpdate) String ¶ added in v0.51.1
func (x *AssetDetailsUpdate) String() string
type AssetDetailsUpdate_Erc20 ¶ added in v0.51.1
type AssetDetailsUpdate_Erc20 struct { // An Ethereum ERC20 asset Erc20 *ERC20Update `protobuf:"bytes,101,opt,name=erc20,proto3,oneof"` }
type AssetDetails_BuiltinAsset ¶
type AssetDetails_BuiltinAsset struct { // A built-in asset 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 { // An Ethereum ERC20 asset 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"` // contains filtered or unexported fields }
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
deprecated
func (*AuctionDuration) Descriptor() ([]byte, []int)
Deprecated: Use AuctionDuration.ProtoReflect.Descriptor instead.
func (*AuctionDuration) GetDuration ¶
func (x *AuctionDuration) GetDuration() int64
func (*AuctionDuration) GetVolume ¶
func (x *AuctionDuration) GetVolume() uint64
func (*AuctionDuration) ProtoMessage ¶
func (*AuctionDuration) ProtoMessage()
func (*AuctionDuration) ProtoReflect ¶ added in v0.49.0
func (x *AuctionDuration) ProtoReflect() protoreflect.Message
func (*AuctionDuration) Reset ¶
func (x *AuctionDuration) Reset()
func (*AuctionDuration) String ¶
func (x *AuctionDuration) String() string
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"` // contains filtered or unexported fields }
AuctionIndicativeState is used to emit an event with the indicative price/volume per market during an auction
func (*AuctionIndicativeState) Descriptor
deprecated
func (*AuctionIndicativeState) Descriptor() ([]byte, []int)
Deprecated: Use AuctionIndicativeState.ProtoReflect.Descriptor instead.
func (*AuctionIndicativeState) GetAuctionEnd ¶
func (x *AuctionIndicativeState) GetAuctionEnd() int64
func (*AuctionIndicativeState) GetAuctionStart ¶
func (x *AuctionIndicativeState) GetAuctionStart() int64
func (*AuctionIndicativeState) GetIndicativePrice ¶
func (x *AuctionIndicativeState) GetIndicativePrice() string
func (*AuctionIndicativeState) GetIndicativeVolume ¶
func (x *AuctionIndicativeState) GetIndicativeVolume() uint64
func (*AuctionIndicativeState) GetMarketId ¶
func (x *AuctionIndicativeState) GetMarketId() string
func (*AuctionIndicativeState) ProtoMessage ¶
func (*AuctionIndicativeState) ProtoMessage()
func (*AuctionIndicativeState) ProtoReflect ¶ added in v0.49.0
func (x *AuctionIndicativeState) ProtoReflect() protoreflect.Message
func (*AuctionIndicativeState) Reset ¶
func (x *AuctionIndicativeState) Reset()
func (*AuctionIndicativeState) String ¶
func (x *AuctionIndicativeState) String() string
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) Descriptor ¶ added in v0.49.0
func (AuctionTrigger) Descriptor() protoreflect.EnumDescriptor
func (AuctionTrigger) Enum ¶ added in v0.49.0
func (x AuctionTrigger) Enum() *AuctionTrigger
func (AuctionTrigger) EnumDescriptor
deprecated
func (AuctionTrigger) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuctionTrigger.Descriptor instead.
func (AuctionTrigger) Number ¶ added in v0.49.0
func (x AuctionTrigger) Number() protoreflect.EnumNumber
func (AuctionTrigger) String ¶
func (x AuctionTrigger) String() string
func (AuctionTrigger) Type ¶ added in v0.49.0
func (AuctionTrigger) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
A Vega internal asset
func (BuiltinAsset) DeepClone ¶
func (b BuiltinAsset) DeepClone() *BuiltinAsset
func (*BuiltinAsset) Descriptor
deprecated
func (*BuiltinAsset) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinAsset.ProtoReflect.Descriptor instead.
func (*BuiltinAsset) GetMaxFaucetAmountMint ¶
func (x *BuiltinAsset) GetMaxFaucetAmountMint() string
func (*BuiltinAsset) ProtoMessage ¶
func (*BuiltinAsset) ProtoMessage()
func (*BuiltinAsset) ProtoReflect ¶ added in v0.49.0
func (x *BuiltinAsset) ProtoReflect() protoreflect.Message
func (*BuiltinAsset) Reset ¶
func (x *BuiltinAsset) Reset()
func (*BuiltinAsset) String ¶
func (x *BuiltinAsset) String() string
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"` // contains filtered or unexported fields }
A deposit for a Vega built-in asset
func (*BuiltinAssetDeposit) Descriptor
deprecated
func (*BuiltinAssetDeposit) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinAssetDeposit.ProtoReflect.Descriptor instead.
func (*BuiltinAssetDeposit) GetAmount ¶
func (x *BuiltinAssetDeposit) GetAmount() string
func (*BuiltinAssetDeposit) GetPartyId ¶
func (x *BuiltinAssetDeposit) GetPartyId() string
func (*BuiltinAssetDeposit) GetVegaAssetId ¶
func (x *BuiltinAssetDeposit) GetVegaAssetId() string
func (*BuiltinAssetDeposit) PrepareToSign ¶
func (c *BuiltinAssetDeposit) PrepareToSign() ([]byte, error)
func (*BuiltinAssetDeposit) ProtoMessage ¶
func (*BuiltinAssetDeposit) ProtoMessage()
func (*BuiltinAssetDeposit) ProtoReflect ¶ added in v0.49.0
func (x *BuiltinAssetDeposit) ProtoReflect() protoreflect.Message
func (*BuiltinAssetDeposit) Reset ¶
func (x *BuiltinAssetDeposit) Reset()
func (*BuiltinAssetDeposit) String ¶
func (x *BuiltinAssetDeposit) String() string
type BuiltinAssetEvent ¶
type BuiltinAssetEvent struct { // Types that are assignable to Action: // *BuiltinAssetEvent_Deposit // *BuiltinAssetEvent_Withdrawal Action isBuiltinAssetEvent_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
An event related to a Vega built-in asset
func (*BuiltinAssetEvent) Descriptor
deprecated
func (*BuiltinAssetEvent) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinAssetEvent.ProtoReflect.Descriptor instead.
func (*BuiltinAssetEvent) GetAction ¶
func (m *BuiltinAssetEvent) GetAction() isBuiltinAssetEvent_Action
func (*BuiltinAssetEvent) GetDeposit ¶
func (x *BuiltinAssetEvent) GetDeposit() *BuiltinAssetDeposit
func (*BuiltinAssetEvent) GetWithdrawal ¶
func (x *BuiltinAssetEvent) GetWithdrawal() *BuiltinAssetWithdrawal
func (*BuiltinAssetEvent) PrepareToSign ¶
func (c *BuiltinAssetEvent) PrepareToSign() ([]byte, error)
func (*BuiltinAssetEvent) ProtoMessage ¶
func (*BuiltinAssetEvent) ProtoMessage()
func (*BuiltinAssetEvent) ProtoReflect ¶ added in v0.49.0
func (x *BuiltinAssetEvent) ProtoReflect() protoreflect.Message
func (*BuiltinAssetEvent) Reset ¶
func (x *BuiltinAssetEvent) Reset()
func (*BuiltinAssetEvent) String ¶
func (x *BuiltinAssetEvent) String() string
type BuiltinAssetEvent_Deposit ¶
type BuiltinAssetEvent_Deposit struct { // Built-in asset deposit Deposit *BuiltinAssetDeposit `protobuf:"bytes,1001,opt,name=deposit,proto3,oneof"` }
type BuiltinAssetEvent_Withdrawal ¶
type BuiltinAssetEvent_Withdrawal struct { // Built-in asset withdrawal 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"` // contains filtered or unexported fields }
A withdrawal for a Vega built-in asset
func (*BuiltinAssetWithdrawal) Descriptor
deprecated
func (*BuiltinAssetWithdrawal) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinAssetWithdrawal.ProtoReflect.Descriptor instead.
func (*BuiltinAssetWithdrawal) GetAmount ¶
func (x *BuiltinAssetWithdrawal) GetAmount() string
func (*BuiltinAssetWithdrawal) GetPartyId ¶
func (x *BuiltinAssetWithdrawal) GetPartyId() string
func (*BuiltinAssetWithdrawal) GetVegaAssetId ¶
func (x *BuiltinAssetWithdrawal) GetVegaAssetId() string
func (*BuiltinAssetWithdrawal) PrepareToSign ¶
func (c *BuiltinAssetWithdrawal) PrepareToSign() ([]byte, error)
func (*BuiltinAssetWithdrawal) ProtoMessage ¶
func (*BuiltinAssetWithdrawal) ProtoMessage()
func (*BuiltinAssetWithdrawal) ProtoReflect ¶ added in v0.49.0
func (x *BuiltinAssetWithdrawal) ProtoReflect() protoreflect.Message
func (*BuiltinAssetWithdrawal) Reset ¶
func (x *BuiltinAssetWithdrawal) Reset()
func (*BuiltinAssetWithdrawal) String ¶
func (x *BuiltinAssetWithdrawal) String() string
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"` // contains filtered or unexported fields }
Represents the high, low, open, and closing prices for an interval of trading, referred to commonly as a candlestick or candle
func (*Candle) Descriptor
deprecated
func (*Candle) GetDatetime ¶
func (*Candle) GetInterval ¶
func (*Candle) GetTimestamp ¶
func (*Candle) ProtoMessage ¶
func (*Candle) ProtoMessage()
func (*Candle) ProtoReflect ¶ added in v0.49.0
func (x *Candle) ProtoReflect() protoreflect.Message
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) Descriptor ¶ added in v0.49.0
func (ChainStatus) Descriptor() protoreflect.EnumDescriptor
func (ChainStatus) Enum ¶ added in v0.49.0
func (x ChainStatus) Enum() *ChainStatus
func (ChainStatus) EnumDescriptor
deprecated
func (ChainStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChainStatus.Descriptor instead.
func (ChainStatus) Number ¶ added in v0.49.0
func (x ChainStatus) Number() protoreflect.EnumNumber
func (ChainStatus) String ¶
func (x ChainStatus) String() string
func (ChainStatus) Type ¶ added in v0.49.0
func (ChainStatus) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*Delegation) Descriptor
deprecated
added in
v0.42.0
func (*Delegation) Descriptor() ([]byte, []int)
Deprecated: Use Delegation.ProtoReflect.Descriptor instead.
func (*Delegation) GetAmount ¶ added in v0.42.0
func (x *Delegation) GetAmount() string
func (*Delegation) GetEpochSeq ¶ added in v0.42.0
func (x *Delegation) GetEpochSeq() string
func (*Delegation) GetNodeId ¶ added in v0.42.0
func (x *Delegation) GetNodeId() string
func (*Delegation) GetParty ¶ added in v0.42.0
func (x *Delegation) GetParty() string
func (*Delegation) ProtoMessage ¶ added in v0.42.0
func (*Delegation) ProtoMessage()
func (*Delegation) ProtoReflect ¶ added in v0.49.0
func (x *Delegation) ProtoReflect() protoreflect.Message
func (*Delegation) Reset ¶ added in v0.42.0
func (x *Delegation) Reset()
func (*Delegation) String ¶ added in v0.42.0
func (x *Delegation) String() string
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"` // contains filtered or unexported fields }
A deposit on to the Vega network
func (*Deposit) Descriptor
deprecated
func (*Deposit) GetCreatedTimestamp ¶
func (*Deposit) GetCreditedTimestamp ¶
func (*Deposit) GetPartyId ¶
func (*Deposit) GetStatus ¶
func (x *Deposit) GetStatus() Deposit_Status
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) ProtoReflect ¶ added in v0.49.0
func (x *Deposit) ProtoReflect() protoreflect.Message
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) Descriptor ¶ added in v0.49.0
func (Deposit_Status) Descriptor() protoreflect.EnumDescriptor
func (Deposit_Status) Enum ¶ added in v0.49.0
func (x Deposit_Status) Enum() *Deposit_Status
func (Deposit_Status) EnumDescriptor
deprecated
func (Deposit_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deposit_Status.Descriptor instead.
func (Deposit_Status) Number ¶ added in v0.49.0
func (x Deposit_Status) Number() protoreflect.EnumNumber
func (Deposit_Status) String ¶
func (x Deposit_Status) String() string
func (Deposit_Status) Type ¶ added in v0.49.0
func (Deposit_Status) Type() protoreflect.EnumType
type DispatchMetric ¶ added in v0.51.0
type DispatchMetric int32
const ( DispatchMetric_DISPATCH_METRIC_UNSPECIFIED DispatchMetric = 0 // Dispatch metric that is using the total taker fees paid in the market DispatchMetric_DISPATCH_METRIC_TAKER_FEES_PAID DispatchMetric = 1 // Dispatch metric that is using the total maker fees received in the market DispatchMetric_DISPATCH_METRIC_MAKER_FEES_RECEIVED DispatchMetric = 2 // Dispatch metric that is using the total LP fees received in the market DispatchMetric_DISPATCH_METRIC_LP_FEES_RECEIVED DispatchMetric = 3 // Dispatch metric that is using total value of the market if above the required threshold and not paid given proposer bonus yet DispatchMetric_DISPATCH_METRIC_MARKET_VALUE DispatchMetric = 4 )
func (DispatchMetric) Descriptor ¶ added in v0.51.0
func (DispatchMetric) Descriptor() protoreflect.EnumDescriptor
func (DispatchMetric) Enum ¶ added in v0.51.0
func (x DispatchMetric) Enum() *DispatchMetric
func (DispatchMetric) EnumDescriptor
deprecated
added in
v0.51.0
func (DispatchMetric) EnumDescriptor() ([]byte, []int)
Deprecated: Use DispatchMetric.Descriptor instead.
func (DispatchMetric) Number ¶ added in v0.51.0
func (x DispatchMetric) Number() protoreflect.EnumNumber
func (DispatchMetric) String ¶ added in v0.51.0
func (x DispatchMetric) String() string
func (DispatchMetric) Type ¶ added in v0.51.0
func (DispatchMetric) Type() protoreflect.EnumType
type DispatchStrategy ¶ added in v0.51.0
type DispatchStrategy struct { // The asset to use for metric AssetForMetric string `protobuf:"bytes,1,opt,name=asset_for_metric,json=assetForMetric,proto3" json:"asset_for_metric,omitempty"` // The metric to apply Metric DispatchMetric `protobuf:"varint,2,opt,name=metric,proto3,enum=vega.DispatchMetric" json:"metric,omitempty"` // Optional markets in scope Markets []string `protobuf:"bytes,3,rep,name=markets,proto3" json:"markets,omitempty"` // contains filtered or unexported fields }
func (*DispatchStrategy) Descriptor
deprecated
added in
v0.51.0
func (*DispatchStrategy) Descriptor() ([]byte, []int)
Deprecated: Use DispatchStrategy.ProtoReflect.Descriptor instead.
func (*DispatchStrategy) GetAssetForMetric ¶ added in v0.51.0
func (x *DispatchStrategy) GetAssetForMetric() string
func (*DispatchStrategy) GetMarkets ¶ added in v0.51.0
func (x *DispatchStrategy) GetMarkets() []string
func (*DispatchStrategy) GetMetric ¶ added in v0.51.0
func (x *DispatchStrategy) GetMetric() DispatchMetric
func (*DispatchStrategy) ProtoMessage ¶ added in v0.51.0
func (*DispatchStrategy) ProtoMessage()
func (*DispatchStrategy) ProtoReflect ¶ added in v0.51.0
func (x *DispatchStrategy) ProtoReflect() protoreflect.Message
func (*DispatchStrategy) Reset ¶ added in v0.51.0
func (x *DispatchStrategy) Reset()
func (*DispatchStrategy) String ¶ added in v0.51.0
func (x *DispatchStrategy) String() string
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"` // The lifetime limits deposit per address // note: this is a temporary measure for restricted mainnet LifetimeLimit string `protobuf:"bytes,2,opt,name=lifetime_limit,json=lifetimeLimit,proto3" json:"lifetime_limit,omitempty"` // The maximum allowed per withdraw // note: this is a temporary measure for restricted mainnet WithdrawThreshold string `protobuf:"bytes,3,opt,name=withdraw_threshold,json=withdrawThreshold,proto3" json:"withdraw_threshold,omitempty"` // contains filtered or unexported fields }
An ERC20 token based asset, living on the ethereum network
func (*ERC20) Descriptor
deprecated
func (*ERC20) GetContractAddress ¶
func (*ERC20) GetLifetimeLimit ¶ added in v0.51.0
func (*ERC20) GetWithdrawThreshold ¶ added in v0.51.0
func (*ERC20) ProtoMessage ¶
func (*ERC20) ProtoMessage()
func (*ERC20) ProtoReflect ¶ added in v0.49.0
func (x *ERC20) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
An asset deny-listing for an ERC20 token
func (*ERC20AssetDelist) Descriptor
deprecated
func (*ERC20AssetDelist) Descriptor() ([]byte, []int)
Deprecated: Use ERC20AssetDelist.ProtoReflect.Descriptor instead.
func (*ERC20AssetDelist) GetVegaAssetId ¶
func (x *ERC20AssetDelist) GetVegaAssetId() string
func (*ERC20AssetDelist) PrepareToSign ¶
func (c *ERC20AssetDelist) PrepareToSign() ([]byte, error)
func (*ERC20AssetDelist) ProtoMessage ¶
func (*ERC20AssetDelist) ProtoMessage()
func (*ERC20AssetDelist) ProtoReflect ¶ added in v0.49.0
func (x *ERC20AssetDelist) ProtoReflect() protoreflect.Message
func (*ERC20AssetDelist) Reset ¶
func (x *ERC20AssetDelist) Reset()
func (*ERC20AssetDelist) String ¶
func (x *ERC20AssetDelist) String() string
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"` // contains filtered or unexported fields }
An asset allow-listing for an ERC20 token
func (*ERC20AssetList) Descriptor
deprecated
func (*ERC20AssetList) Descriptor() ([]byte, []int)
Deprecated: Use ERC20AssetList.ProtoReflect.Descriptor instead.
func (*ERC20AssetList) GetVegaAssetId ¶
func (x *ERC20AssetList) GetVegaAssetId() string
func (*ERC20AssetList) PrepareToSign ¶
func (c *ERC20AssetList) PrepareToSign() ([]byte, error)
func (*ERC20AssetList) ProtoMessage ¶
func (*ERC20AssetList) ProtoMessage()
func (*ERC20AssetList) ProtoReflect ¶ added in v0.49.0
func (x *ERC20AssetList) ProtoReflect() protoreflect.Message
func (*ERC20AssetList) Reset ¶
func (x *ERC20AssetList) Reset()
func (*ERC20AssetList) String ¶
func (x *ERC20AssetList) String() string
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"` // contains filtered or unexported fields }
An asset deposit for an ERC20 token
func (*ERC20Deposit) Descriptor
deprecated
func (*ERC20Deposit) Descriptor() ([]byte, []int)
Deprecated: Use ERC20Deposit.ProtoReflect.Descriptor instead.
func (*ERC20Deposit) GetAmount ¶
func (x *ERC20Deposit) GetAmount() string
func (*ERC20Deposit) GetSourceEthereumAddress ¶
func (x *ERC20Deposit) GetSourceEthereumAddress() string
func (*ERC20Deposit) GetTargetPartyId ¶
func (x *ERC20Deposit) GetTargetPartyId() string
func (*ERC20Deposit) GetVegaAssetId ¶
func (x *ERC20Deposit) GetVegaAssetId() string
func (*ERC20Deposit) PrepareToSign ¶
func (c *ERC20Deposit) PrepareToSign() ([]byte, error)
func (*ERC20Deposit) ProtoMessage ¶
func (*ERC20Deposit) ProtoMessage()
func (*ERC20Deposit) ProtoReflect ¶ added in v0.49.0
func (x *ERC20Deposit) ProtoReflect() protoreflect.Message
func (*ERC20Deposit) Reset ¶
func (x *ERC20Deposit) Reset()
func (*ERC20Deposit) String ¶
func (x *ERC20Deposit) String() string
type ERC20Event ¶
type ERC20Event struct { // Index of the log in 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 assignable to Action: // *ERC20Event_AssetList // *ERC20Event_AssetDelist // *ERC20Event_Deposit // *ERC20Event_Withdrawal Action isERC20Event_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
An event related to an ERC20 token
func (*ERC20Event) Descriptor
deprecated
func (*ERC20Event) Descriptor() ([]byte, []int)
Deprecated: Use ERC20Event.ProtoReflect.Descriptor instead.
func (*ERC20Event) GetAction ¶
func (m *ERC20Event) GetAction() isERC20Event_Action
func (*ERC20Event) GetAssetDelist ¶
func (x *ERC20Event) GetAssetDelist() *ERC20AssetDelist
func (*ERC20Event) GetAssetList ¶
func (x *ERC20Event) GetAssetList() *ERC20AssetList
func (*ERC20Event) GetBlock ¶
func (x *ERC20Event) GetBlock() uint64
func (*ERC20Event) GetDeposit ¶
func (x *ERC20Event) GetDeposit() *ERC20Deposit
func (*ERC20Event) GetIndex ¶
func (x *ERC20Event) GetIndex() uint64
func (*ERC20Event) GetWithdrawal ¶
func (x *ERC20Event) GetWithdrawal() *ERC20Withdrawal
func (*ERC20Event) PrepareToSign ¶
func (c *ERC20Event) PrepareToSign() ([]byte, error)
func (*ERC20Event) ProtoMessage ¶
func (*ERC20Event) ProtoMessage()
func (*ERC20Event) ProtoReflect ¶ added in v0.49.0
func (x *ERC20Event) ProtoReflect() protoreflect.Message
func (*ERC20Event) Reset ¶
func (x *ERC20Event) Reset()
func (*ERC20Event) String ¶
func (x *ERC20Event) String() string
type ERC20Event_AssetDelist ¶
type ERC20Event_AssetDelist struct { // De-list an ERC20 asset AssetDelist *ERC20AssetDelist `protobuf:"bytes,1002,opt,name=asset_delist,json=assetDelist,proto3,oneof"` }
type ERC20Event_AssetList ¶
type ERC20Event_AssetList struct { // List an ERC20 asset AssetList *ERC20AssetList `protobuf:"bytes,1001,opt,name=asset_list,json=assetList,proto3,oneof"` }
type ERC20Event_Deposit ¶
type ERC20Event_Deposit struct { // Deposit ERC20 asset Deposit *ERC20Deposit `protobuf:"bytes,1003,opt,name=deposit,proto3,oneof"` }
type ERC20Event_Withdrawal ¶
type ERC20Event_Withdrawal struct { // Withdraw ERC20 asset Withdrawal *ERC20Withdrawal `protobuf:"bytes,1004,opt,name=withdrawal,proto3,oneof"` }
type ERC20MultiSigEvent ¶ added in v0.49.0
type ERC20MultiSigEvent struct { // Index of the log in 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 assignable to Action: // *ERC20MultiSigEvent_SignerAdded // *ERC20MultiSigEvent_SignerRemoved // *ERC20MultiSigEvent_ThresholdSet Action isERC20MultiSigEvent_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
An event related to the ERC20 MultiSig
func (*ERC20MultiSigEvent) Descriptor
deprecated
added in
v0.49.0
func (*ERC20MultiSigEvent) Descriptor() ([]byte, []int)
Deprecated: Use ERC20MultiSigEvent.ProtoReflect.Descriptor instead.
func (*ERC20MultiSigEvent) GetAction ¶ added in v0.49.0
func (m *ERC20MultiSigEvent) GetAction() isERC20MultiSigEvent_Action
func (*ERC20MultiSigEvent) GetBlock ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) GetBlock() uint64
func (*ERC20MultiSigEvent) GetIndex ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) GetIndex() uint64
func (*ERC20MultiSigEvent) GetSignerAdded ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) GetSignerAdded() *ERC20SignerAdded
func (*ERC20MultiSigEvent) GetSignerRemoved ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) GetSignerRemoved() *ERC20SignerRemoved
func (*ERC20MultiSigEvent) GetThresholdSet ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) GetThresholdSet() *ERC20ThresholdSet
func (*ERC20MultiSigEvent) ProtoMessage ¶ added in v0.49.0
func (*ERC20MultiSigEvent) ProtoMessage()
func (*ERC20MultiSigEvent) ProtoReflect ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) ProtoReflect() protoreflect.Message
func (*ERC20MultiSigEvent) Reset ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) Reset()
func (*ERC20MultiSigEvent) String ¶ added in v0.49.0
func (x *ERC20MultiSigEvent) String() string
type ERC20MultiSigEvent_SignerAdded ¶ added in v0.49.0
type ERC20MultiSigEvent_SignerAdded struct { // Add a signer to the erc20 bridge SignerAdded *ERC20SignerAdded `protobuf:"bytes,1001,opt,name=signer_added,json=signerAdded,proto3,oneof"` }
type ERC20MultiSigEvent_SignerRemoved ¶ added in v0.49.0
type ERC20MultiSigEvent_SignerRemoved struct { // Remove a signer from the erc20 bridge SignerRemoved *ERC20SignerRemoved `protobuf:"bytes,1002,opt,name=signer_removed,json=signerRemoved,proto3,oneof"` }
type ERC20MultiSigEvent_ThresholdSet ¶ added in v0.49.0
type ERC20MultiSigEvent_ThresholdSet struct { // Threshold set ThresholdSet *ERC20ThresholdSet `protobuf:"bytes,1003,opt,name=threshold_set,json=thresholdSet,proto3,oneof"` }
type ERC20SignerAdded ¶ added in v0.49.0
type ERC20SignerAdded struct { // The ethereum address of the new signer NewSigner string `protobuf:"bytes,1,opt,name=new_signer,json=newSigner,proto3" json:"new_signer,omitempty"` // The nonce create by the vega network used for this new signer Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,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,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // contains filtered or unexported fields }
A new signer added to the ERC20 bridge
func (*ERC20SignerAdded) Descriptor
deprecated
added in
v0.49.0
func (*ERC20SignerAdded) Descriptor() ([]byte, []int)
Deprecated: Use ERC20SignerAdded.ProtoReflect.Descriptor instead.
func (*ERC20SignerAdded) GetBlockTime ¶ added in v0.49.0
func (x *ERC20SignerAdded) GetBlockTime() int64
func (*ERC20SignerAdded) GetNewSigner ¶ added in v0.49.0
func (x *ERC20SignerAdded) GetNewSigner() string
func (*ERC20SignerAdded) GetNonce ¶ added in v0.49.0
func (x *ERC20SignerAdded) GetNonce() string
func (*ERC20SignerAdded) ProtoMessage ¶ added in v0.49.0
func (*ERC20SignerAdded) ProtoMessage()
func (*ERC20SignerAdded) ProtoReflect ¶ added in v0.49.0
func (x *ERC20SignerAdded) ProtoReflect() protoreflect.Message
func (*ERC20SignerAdded) Reset ¶ added in v0.49.0
func (x *ERC20SignerAdded) Reset()
func (*ERC20SignerAdded) String ¶ added in v0.49.0
func (x *ERC20SignerAdded) String() string
type ERC20SignerRemoved ¶ added in v0.49.0
type ERC20SignerRemoved struct { // The ethereum address of the old signer OldSigner string `protobuf:"bytes,1,opt,name=old_signer,json=oldSigner,proto3" json:"old_signer,omitempty"` // The nonce create by the vega network used for this old signer Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,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,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // contains filtered or unexported fields }
A signer removed from the ERC20 bridge
func (*ERC20SignerRemoved) Descriptor
deprecated
added in
v0.49.0
func (*ERC20SignerRemoved) Descriptor() ([]byte, []int)
Deprecated: Use ERC20SignerRemoved.ProtoReflect.Descriptor instead.
func (*ERC20SignerRemoved) GetBlockTime ¶ added in v0.49.0
func (x *ERC20SignerRemoved) GetBlockTime() int64
func (*ERC20SignerRemoved) GetNonce ¶ added in v0.49.0
func (x *ERC20SignerRemoved) GetNonce() string
func (*ERC20SignerRemoved) GetOldSigner ¶ added in v0.49.0
func (x *ERC20SignerRemoved) GetOldSigner() string
func (*ERC20SignerRemoved) ProtoMessage ¶ added in v0.49.0
func (*ERC20SignerRemoved) ProtoMessage()
func (*ERC20SignerRemoved) ProtoReflect ¶ added in v0.49.0
func (x *ERC20SignerRemoved) ProtoReflect() protoreflect.Message
func (*ERC20SignerRemoved) Reset ¶ added in v0.49.0
func (x *ERC20SignerRemoved) Reset()
func (*ERC20SignerRemoved) String ¶ added in v0.49.0
func (x *ERC20SignerRemoved) String() string
type ERC20ThresholdSet ¶ added in v0.49.0
type ERC20ThresholdSet struct { // The new threshold NewThreshold uint32 `protobuf:"varint,1,opt,name=new_threshold,json=newThreshold,proto3" json:"new_threshold,omitempty"` // The nonce create by the vega network Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,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,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // contains filtered or unexported fields }
The threshold have been updated on the multisigcontrol
func (*ERC20ThresholdSet) Descriptor
deprecated
added in
v0.49.0
func (*ERC20ThresholdSet) Descriptor() ([]byte, []int)
Deprecated: Use ERC20ThresholdSet.ProtoReflect.Descriptor instead.
func (*ERC20ThresholdSet) GetBlockTime ¶ added in v0.49.0
func (x *ERC20ThresholdSet) GetBlockTime() int64
func (*ERC20ThresholdSet) GetNewThreshold ¶ added in v0.49.0
func (x *ERC20ThresholdSet) GetNewThreshold() uint32
func (*ERC20ThresholdSet) GetNonce ¶ added in v0.49.0
func (x *ERC20ThresholdSet) GetNonce() string
func (*ERC20ThresholdSet) ProtoMessage ¶ added in v0.49.0
func (*ERC20ThresholdSet) ProtoMessage()
func (*ERC20ThresholdSet) ProtoReflect ¶ added in v0.49.0
func (x *ERC20ThresholdSet) ProtoReflect() protoreflect.Message
func (*ERC20ThresholdSet) Reset ¶ added in v0.49.0
func (x *ERC20ThresholdSet) Reset()
func (*ERC20ThresholdSet) String ¶ added in v0.49.0
func (x *ERC20ThresholdSet) String() string
type ERC20Update ¶ added in v0.51.1
type ERC20Update struct { // The lifetime limits deposit per address. // This is will be interpreted against the asset decimals. // note: this is a temporary measure for restricted mainnet LifetimeLimit string `protobuf:"bytes,1,opt,name=lifetime_limit,json=lifetimeLimit,proto3" json:"lifetime_limit,omitempty"` // The maximum allowed per withdraw. // This is will be interpreted against the asset decimals. // note: this is a temporary measure for restricted mainnet WithdrawThreshold string `protobuf:"bytes,2,opt,name=withdraw_threshold,json=withdrawThreshold,proto3" json:"withdraw_threshold,omitempty"` // contains filtered or unexported fields }
func (*ERC20Update) Descriptor
deprecated
added in
v0.51.1
func (*ERC20Update) Descriptor() ([]byte, []int)
Deprecated: Use ERC20Update.ProtoReflect.Descriptor instead.
func (*ERC20Update) GetLifetimeLimit ¶ added in v0.51.1
func (x *ERC20Update) GetLifetimeLimit() string
func (*ERC20Update) GetWithdrawThreshold ¶ added in v0.51.1
func (x *ERC20Update) GetWithdrawThreshold() string
func (*ERC20Update) ProtoMessage ¶ added in v0.51.1
func (*ERC20Update) ProtoMessage()
func (*ERC20Update) ProtoReflect ¶ added in v0.51.1
func (x *ERC20Update) ProtoReflect() protoreflect.Message
func (*ERC20Update) Reset ¶ added in v0.51.1
func (x *ERC20Update) Reset()
func (*ERC20Update) String ¶ added in v0.51.1
func (x *ERC20Update) String() string
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"` // contains filtered or unexported fields }
An asset withdrawal for an ERC20 token
func (*ERC20Withdrawal) Descriptor
deprecated
func (*ERC20Withdrawal) Descriptor() ([]byte, []int)
Deprecated: Use ERC20Withdrawal.ProtoReflect.Descriptor instead.
func (*ERC20Withdrawal) GetReferenceNonce ¶
func (x *ERC20Withdrawal) GetReferenceNonce() string
func (*ERC20Withdrawal) GetTargetEthereumAddress ¶
func (x *ERC20Withdrawal) GetTargetEthereumAddress() string
func (*ERC20Withdrawal) GetVegaAssetId ¶
func (x *ERC20Withdrawal) GetVegaAssetId() string
func (*ERC20Withdrawal) PrepareToSign ¶
func (c *ERC20Withdrawal) PrepareToSign() ([]byte, error)
func (*ERC20Withdrawal) ProtoMessage ¶
func (*ERC20Withdrawal) ProtoMessage()
func (*ERC20Withdrawal) ProtoReflect ¶ added in v0.49.0
func (x *ERC20Withdrawal) ProtoReflect() protoreflect.Message
func (*ERC20Withdrawal) Reset ¶
func (x *ERC20Withdrawal) Reset()
func (*ERC20Withdrawal) String ¶
func (x *ERC20Withdrawal) String() string
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"` // contains filtered or unexported fields }
func (*Epoch) Descriptor
deprecated
added in
v0.42.0
func (*Epoch) GetDelegations ¶ added in v0.42.0
func (x *Epoch) GetDelegations() []*Delegation
func (*Epoch) GetTimestamps ¶ added in v0.42.0
func (x *Epoch) GetTimestamps() *EpochTimestamps
func (*Epoch) GetValidators ¶ added in v0.42.0
func (*Epoch) ProtoMessage ¶ added in v0.42.0
func (*Epoch) ProtoMessage()
func (*Epoch) ProtoReflect ¶ added in v0.49.0
func (x *Epoch) ProtoReflect() protoreflect.Message
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) Descriptor ¶ added in v0.49.0
func (EpochAction) Descriptor() protoreflect.EnumDescriptor
func (EpochAction) Enum ¶ added in v0.49.0
func (x EpochAction) Enum() *EpochAction
func (EpochAction) EnumDescriptor
deprecated
added in
v0.42.0
func (EpochAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use EpochAction.Descriptor instead.
func (EpochAction) Number ¶ added in v0.49.0
func (x EpochAction) Number() protoreflect.EnumNumber
func (EpochAction) String ¶ added in v0.42.0
func (x EpochAction) String() string
func (EpochAction) Type ¶ added in v0.49.0
func (EpochAction) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*EpochData) Descriptor
deprecated
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) ProtoReflect ¶ added in v0.49.0
func (x *EpochData) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*EpochParticipation) Descriptor
deprecated
added in
v0.42.0
func (*EpochParticipation) Descriptor() ([]byte, []int)
Deprecated: Use EpochParticipation.ProtoReflect.Descriptor instead.
func (*EpochParticipation) GetEpoch ¶ added in v0.42.0
func (x *EpochParticipation) GetEpoch() *Epoch
func (*EpochParticipation) GetOffline ¶ added in v0.42.0
func (x *EpochParticipation) GetOffline() uint64
func (*EpochParticipation) GetOnline ¶ added in v0.42.0
func (x *EpochParticipation) GetOnline() uint64
func (*EpochParticipation) GetTotalRewards ¶ added in v0.42.0
func (x *EpochParticipation) GetTotalRewards() float64
func (*EpochParticipation) ProtoMessage ¶ added in v0.42.0
func (*EpochParticipation) ProtoMessage()
func (*EpochParticipation) ProtoReflect ¶ added in v0.49.0
func (x *EpochParticipation) ProtoReflect() protoreflect.Message
func (*EpochParticipation) Reset ¶ added in v0.42.0
func (x *EpochParticipation) Reset()
func (*EpochParticipation) String ¶ added in v0.42.0
func (x *EpochParticipation) String() string
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"` // contains filtered or unexported fields }
Describes in both human readable and block time when an epoch spans
func (*EpochTimestamps) Descriptor
deprecated
added in
v0.42.0
func (*EpochTimestamps) Descriptor() ([]byte, []int)
Deprecated: Use EpochTimestamps.ProtoReflect.Descriptor instead.
func (*EpochTimestamps) GetEndTime ¶ added in v0.42.0
func (x *EpochTimestamps) GetEndTime() int64
func (*EpochTimestamps) GetExpiryTime ¶ added in v0.42.0
func (x *EpochTimestamps) GetExpiryTime() int64
func (*EpochTimestamps) GetFirstBlock ¶ added in v0.42.0
func (x *EpochTimestamps) GetFirstBlock() uint64
func (*EpochTimestamps) GetLastBlock ¶ added in v0.42.0
func (x *EpochTimestamps) GetLastBlock() uint64
func (*EpochTimestamps) GetStartTime ¶ added in v0.42.0
func (x *EpochTimestamps) GetStartTime() int64
func (*EpochTimestamps) ProtoMessage ¶ added in v0.42.0
func (*EpochTimestamps) ProtoMessage()
func (*EpochTimestamps) ProtoReflect ¶ added in v0.49.0
func (x *EpochTimestamps) ProtoReflect() protoreflect.Message
func (*EpochTimestamps) Reset ¶ added in v0.42.0
func (x *EpochTimestamps) Reset()
func (*EpochTimestamps) String ¶ added in v0.42.0
func (x *EpochTimestamps) String() string
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"` // contains filtered or unexported fields }
An extension of data required for the withdraw submissions
func (*Erc20WithdrawExt) Descriptor
deprecated
func (*Erc20WithdrawExt) Descriptor() ([]byte, []int)
Deprecated: Use Erc20WithdrawExt.ProtoReflect.Descriptor instead.
func (*Erc20WithdrawExt) GetReceiverAddress ¶
func (x *Erc20WithdrawExt) GetReceiverAddress() string
func (*Erc20WithdrawExt) ProtoMessage ¶
func (*Erc20WithdrawExt) ProtoMessage()
func (*Erc20WithdrawExt) ProtoReflect ¶ added in v0.49.0
func (x *Erc20WithdrawExt) ProtoReflect() protoreflect.Message
func (*Erc20WithdrawExt) Reset ¶
func (x *Erc20WithdrawExt) Reset()
func (*Erc20WithdrawExt) String ¶
func (x *Erc20WithdrawExt) String() string
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"` // contains filtered or unexported fields }
Represents Vega domain specific error information over gRPC/Protobuf
func (*ErrorDetail) Descriptor
deprecated
func (*ErrorDetail) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.
func (*ErrorDetail) GetCode ¶
func (x *ErrorDetail) GetCode() int32
func (*ErrorDetail) GetInner ¶
func (x *ErrorDetail) GetInner() string