Documentation ¶
Index ¶
- type AssetBalance
- func (*AssetBalance) Descriptor() ([]byte, []int)
- func (m *AssetBalance) GetAsset() string
- func (m *AssetBalance) GetBalance() string
- func (m *AssetBalance) GetParty() string
- func (*AssetBalance) ProtoMessage()
- func (m *AssetBalance) Reset()
- func (m *AssetBalance) String() string
- func (this *AssetBalance) Validate() error
- func (m *AssetBalance) XXX_DiscardUnknown()
- func (m *AssetBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetBalance) XXX_Merge(src proto.Message)
- func (m *AssetBalance) XXX_Size() int
- func (m *AssetBalance) XXX_Unmarshal(b []byte) error
- type AssetEntry
- func (*AssetEntry) Descriptor() ([]byte, []int)
- func (m *AssetEntry) GetAssetDetails() *vega.AssetDetails
- func (m *AssetEntry) GetId() string
- func (*AssetEntry) ProtoMessage()
- func (m *AssetEntry) Reset()
- func (m *AssetEntry) String() string
- func (this *AssetEntry) Validate() error
- func (m *AssetEntry) XXX_DiscardUnknown()
- func (m *AssetEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetEntry) XXX_Merge(src proto.Message)
- func (m *AssetEntry) XXX_Size() int
- func (m *AssetEntry) XXX_Unmarshal(b []byte) error
- type Assets
- func (*Assets) Descriptor() ([]byte, []int)
- func (m *Assets) GetAssets() []*AssetEntry
- func (*Assets) ProtoMessage()
- func (m *Assets) Reset()
- func (m *Assets) String() string
- func (this *Assets) Validate() error
- func (m *Assets) XXX_DiscardUnknown()
- func (m *Assets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Assets) XXX_Merge(src proto.Message)
- func (m *Assets) XXX_Size() int
- func (m *Assets) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetHeight() int64
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (this *Block) Validate() error
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetAssets() []byte
- func (m *Checkpoint) GetBlock() []byte
- func (m *Checkpoint) GetCollateral() []byte
- func (m *Checkpoint) GetDelegation() []byte
- func (m *Checkpoint) GetEpoch() []byte
- func (m *Checkpoint) GetGovernance() []byte
- func (m *Checkpoint) GetNetworkParameters() []byte
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) String() string
- func (this *Checkpoint) Validate() error
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type CheckpointState
- func (*CheckpointState) Descriptor() ([]byte, []int)
- func (m *CheckpointState) GetHash() []byte
- func (m *CheckpointState) GetState() []byte
- func (*CheckpointState) ProtoMessage()
- func (m *CheckpointState) Reset()
- func (m *CheckpointState) String() string
- func (this *CheckpointState) Validate() error
- func (m *CheckpointState) XXX_DiscardUnknown()
- func (m *CheckpointState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckpointState) XXX_Merge(src proto.Message)
- func (m *CheckpointState) XXX_Size() int
- func (m *CheckpointState) XXX_Unmarshal(b []byte) error
- type Collateral
- func (*Collateral) Descriptor() ([]byte, []int)
- func (m *Collateral) GetBalances() []*AssetBalance
- func (*Collateral) ProtoMessage()
- func (m *Collateral) Reset()
- func (m *Collateral) String() string
- func (this *Collateral) Validate() error
- func (m *Collateral) XXX_DiscardUnknown()
- func (m *Collateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collateral) XXX_Merge(src proto.Message)
- func (m *Collateral) XXX_Size() int
- func (m *Collateral) XXX_Unmarshal(b []byte) error
- type Delegate
- func (*Delegate) Descriptor() ([]byte, []int)
- func (m *Delegate) GetActive() []*DelegateEntry
- func (m *Delegate) GetAutoDelegation() []string
- func (m *Delegate) GetPending() []*DelegateEntry
- func (*Delegate) ProtoMessage()
- func (m *Delegate) Reset()
- func (m *Delegate) String() string
- func (this *Delegate) Validate() error
- func (m *Delegate) XXX_DiscardUnknown()
- func (m *Delegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegate) XXX_Merge(src proto.Message)
- func (m *Delegate) XXX_Size() int
- func (m *Delegate) XXX_Unmarshal(b []byte) error
- type DelegateEntry
- func (*DelegateEntry) Descriptor() ([]byte, []int)
- func (m *DelegateEntry) GetAmount() string
- func (m *DelegateEntry) GetEpochSeq() uint64
- func (m *DelegateEntry) GetNode() string
- func (m *DelegateEntry) GetParty() string
- func (m *DelegateEntry) GetUndelegate() bool
- func (*DelegateEntry) ProtoMessage()
- func (m *DelegateEntry) Reset()
- func (m *DelegateEntry) String() string
- func (this *DelegateEntry) Validate() error
- func (m *DelegateEntry) XXX_DiscardUnknown()
- func (m *DelegateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegateEntry) XXX_Merge(src proto.Message)
- func (m *DelegateEntry) XXX_Size() int
- func (m *DelegateEntry) XXX_Unmarshal(b []byte) error
- type NetParams
- func (*NetParams) Descriptor() ([]byte, []int)
- func (m *NetParams) GetParams() []*vega.NetworkParameter
- func (*NetParams) ProtoMessage()
- func (m *NetParams) Reset()
- func (m *NetParams) String() string
- func (this *NetParams) Validate() error
- func (m *NetParams) XXX_DiscardUnknown()
- func (m *NetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetParams) XXX_Merge(src proto.Message)
- func (m *NetParams) XXX_Size() int
- func (m *NetParams) XXX_Unmarshal(b []byte) error
- type Proposals
- func (*Proposals) Descriptor() ([]byte, []int)
- func (m *Proposals) GetProposals() []*vega.Proposal
- func (*Proposals) ProtoMessage()
- func (m *Proposals) Reset()
- func (m *Proposals) String() string
- func (this *Proposals) Validate() error
- func (m *Proposals) XXX_DiscardUnknown()
- func (m *Proposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposals) XXX_Merge(src proto.Message)
- func (m *Proposals) XXX_Size() int
- func (m *Proposals) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetBalance ¶
type AssetBalance struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AssetBalance represents the total balance of a given asset for a party
func (*AssetBalance) Descriptor ¶
func (*AssetBalance) Descriptor() ([]byte, []int)
func (*AssetBalance) GetAsset ¶
func (m *AssetBalance) GetAsset() string
func (*AssetBalance) GetBalance ¶
func (m *AssetBalance) GetBalance() string
func (*AssetBalance) GetParty ¶
func (m *AssetBalance) GetParty() string
func (*AssetBalance) ProtoMessage ¶
func (*AssetBalance) ProtoMessage()
func (*AssetBalance) Reset ¶
func (m *AssetBalance) Reset()
func (*AssetBalance) String ¶
func (m *AssetBalance) String() string
func (*AssetBalance) Validate ¶
func (this *AssetBalance) Validate() error
func (*AssetBalance) XXX_DiscardUnknown ¶
func (m *AssetBalance) XXX_DiscardUnknown()
func (*AssetBalance) XXX_Marshal ¶
func (m *AssetBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetBalance) XXX_Merge ¶
func (m *AssetBalance) XXX_Merge(src proto.Message)
func (*AssetBalance) XXX_Size ¶
func (m *AssetBalance) XXX_Size() int
func (*AssetBalance) XXX_Unmarshal ¶
func (m *AssetBalance) XXX_Unmarshal(b []byte) error
type AssetEntry ¶
type AssetEntry struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AssetDetails *vega.AssetDetails `protobuf:"bytes,2,opt,name=asset_details,json=assetDetails,proto3" json:"asset_details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AssetEntrty is a single (enabled) asset
func (*AssetEntry) Descriptor ¶
func (*AssetEntry) Descriptor() ([]byte, []int)
func (*AssetEntry) GetAssetDetails ¶
func (m *AssetEntry) GetAssetDetails() *vega.AssetDetails
func (*AssetEntry) GetId ¶
func (m *AssetEntry) GetId() string
func (*AssetEntry) ProtoMessage ¶
func (*AssetEntry) ProtoMessage()
func (*AssetEntry) Reset ¶
func (m *AssetEntry) Reset()
func (*AssetEntry) String ¶
func (m *AssetEntry) String() string
func (*AssetEntry) Validate ¶
func (this *AssetEntry) Validate() error
func (*AssetEntry) XXX_DiscardUnknown ¶
func (m *AssetEntry) XXX_DiscardUnknown()
func (*AssetEntry) XXX_Marshal ¶
func (m *AssetEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetEntry) XXX_Merge ¶
func (m *AssetEntry) XXX_Merge(src proto.Message)
func (*AssetEntry) XXX_Size ¶
func (m *AssetEntry) XXX_Size() int
func (*AssetEntry) XXX_Unmarshal ¶
func (m *AssetEntry) XXX_Unmarshal(b []byte) error
type Assets ¶
type Assets struct { Assets []*AssetEntry `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Assets contains all the enabled assets as AssetEntries
func (*Assets) Descriptor ¶
func (*Assets) GetAssets ¶
func (m *Assets) GetAssets() []*AssetEntry
func (*Assets) ProtoMessage ¶
func (*Assets) ProtoMessage()
func (*Assets) XXX_DiscardUnknown ¶
func (m *Assets) XXX_DiscardUnknown()
func (*Assets) XXX_Marshal ¶
func (*Assets) XXX_Unmarshal ¶
type Block ¶
type Block struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Block message contains data related to block at which the checkpoint was created (ie block height)
func (*Block) Descriptor ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type Checkpoint ¶
type Checkpoint struct { Governance []byte `protobuf:"bytes,1,opt,name=governance,proto3" json:"governance,omitempty"` Assets []byte `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"` Collateral []byte `protobuf:"bytes,3,opt,name=collateral,proto3" json:"collateral,omitempty"` NetworkParameters []byte `protobuf:"bytes,4,opt,name=network_parameters,json=networkParameters,proto3" json:"network_parameters,omitempty"` Delegation []byte `protobuf:"bytes,5,opt,name=delegation,proto3" json:"delegation,omitempty"` Epoch []byte `protobuf:"bytes,6,opt,name=epoch,proto3" json:"epoch,omitempty"` Block []byte `protobuf:"bytes,7,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Checkpoint aggregates the various engine snapshots
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetAssets ¶
func (m *Checkpoint) GetAssets() []byte
func (*Checkpoint) GetBlock ¶
func (m *Checkpoint) GetBlock() []byte
func (*Checkpoint) GetCollateral ¶
func (m *Checkpoint) GetCollateral() []byte
func (*Checkpoint) GetDelegation ¶
func (m *Checkpoint) GetDelegation() []byte
func (*Checkpoint) GetEpoch ¶
func (m *Checkpoint) GetEpoch() []byte
func (*Checkpoint) GetGovernance ¶
func (m *Checkpoint) GetGovernance() []byte
func (*Checkpoint) GetNetworkParameters ¶
func (m *Checkpoint) GetNetworkParameters() []byte
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
func (*Checkpoint) Validate ¶
func (this *Checkpoint) Validate() error
func (*Checkpoint) XXX_DiscardUnknown ¶
func (m *Checkpoint) XXX_DiscardUnknown()
func (*Checkpoint) XXX_Marshal ¶
func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Checkpoint) XXX_Merge ¶
func (m *Checkpoint) XXX_Merge(src proto.Message)
func (*Checkpoint) XXX_Size ¶
func (m *Checkpoint) XXX_Size() int
func (*Checkpoint) XXX_Unmarshal ¶
func (m *Checkpoint) XXX_Unmarshal(b []byte) error
type CheckpointState ¶
type CheckpointState struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CheckpointState is the entire checkpoint serialised (basically serialised the Checkpoint message + hash)
func (*CheckpointState) Descriptor ¶
func (*CheckpointState) Descriptor() ([]byte, []int)
func (*CheckpointState) GetHash ¶
func (m *CheckpointState) GetHash() []byte
func (*CheckpointState) GetState ¶
func (m *CheckpointState) GetState() []byte
func (*CheckpointState) ProtoMessage ¶
func (*CheckpointState) ProtoMessage()
func (*CheckpointState) Reset ¶
func (m *CheckpointState) Reset()
func (*CheckpointState) String ¶
func (m *CheckpointState) String() string
func (*CheckpointState) Validate ¶
func (this *CheckpointState) Validate() error
func (*CheckpointState) XXX_DiscardUnknown ¶
func (m *CheckpointState) XXX_DiscardUnknown()
func (*CheckpointState) XXX_Marshal ¶
func (m *CheckpointState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckpointState) XXX_Merge ¶
func (m *CheckpointState) XXX_Merge(src proto.Message)
func (*CheckpointState) XXX_Size ¶
func (m *CheckpointState) XXX_Size() int
func (*CheckpointState) XXX_Unmarshal ¶
func (m *CheckpointState) XXX_Unmarshal(b []byte) error
type Collateral ¶
type Collateral struct { Balances []*AssetBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Collateral contains the balances per party
func (*Collateral) Descriptor ¶
func (*Collateral) Descriptor() ([]byte, []int)
func (*Collateral) GetBalances ¶
func (m *Collateral) GetBalances() []*AssetBalance
func (*Collateral) ProtoMessage ¶
func (*Collateral) ProtoMessage()
func (*Collateral) Reset ¶
func (m *Collateral) Reset()
func (*Collateral) String ¶
func (m *Collateral) String() string
func (*Collateral) Validate ¶
func (this *Collateral) Validate() error
func (*Collateral) XXX_DiscardUnknown ¶
func (m *Collateral) XXX_DiscardUnknown()
func (*Collateral) XXX_Marshal ¶
func (m *Collateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Collateral) XXX_Merge ¶
func (m *Collateral) XXX_Merge(src proto.Message)
func (*Collateral) XXX_Size ¶
func (m *Collateral) XXX_Size() int
func (*Collateral) XXX_Unmarshal ¶
func (m *Collateral) XXX_Unmarshal(b []byte) error
type Delegate ¶
type Delegate struct { Active []*DelegateEntry `protobuf:"bytes,1,rep,name=active,proto3" json:"active,omitempty"` Pending []*DelegateEntry `protobuf:"bytes,2,rep,name=pending,proto3" json:"pending,omitempty"` AutoDelegation []string `protobuf:"bytes,3,rep,name=auto_delegation,json=autoDelegation,proto3" json:"auto_delegation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delegate contains all entries for a checkpoint
func (*Delegate) Descriptor ¶
func (*Delegate) GetActive ¶
func (m *Delegate) GetActive() []*DelegateEntry
func (*Delegate) GetAutoDelegation ¶
func (*Delegate) GetPending ¶
func (m *Delegate) GetPending() []*DelegateEntry
func (*Delegate) ProtoMessage ¶
func (*Delegate) ProtoMessage()
func (*Delegate) XXX_DiscardUnknown ¶
func (m *Delegate) XXX_DiscardUnknown()
func (*Delegate) XXX_Marshal ¶
func (*Delegate) XXX_Unmarshal ¶
type DelegateEntry ¶
type DelegateEntry struct { Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` Undelegate bool `protobuf:"varint,4,opt,name=undelegate,proto3" json:"undelegate,omitempty"` EpochSeq uint64 `protobuf:"varint,5,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delegated amounts for party/node undelegate and epoch seq are only relevant for pending entries
func (*DelegateEntry) Descriptor ¶
func (*DelegateEntry) Descriptor() ([]byte, []int)
func (*DelegateEntry) GetAmount ¶
func (m *DelegateEntry) GetAmount() string
func (*DelegateEntry) GetEpochSeq ¶
func (m *DelegateEntry) GetEpochSeq() uint64
func (*DelegateEntry) GetNode ¶
func (m *DelegateEntry) GetNode() string
func (*DelegateEntry) GetParty ¶
func (m *DelegateEntry) GetParty() string
func (*DelegateEntry) GetUndelegate ¶
func (m *DelegateEntry) GetUndelegate() bool
func (*DelegateEntry) ProtoMessage ¶
func (*DelegateEntry) ProtoMessage()
func (*DelegateEntry) Reset ¶
func (m *DelegateEntry) Reset()
func (*DelegateEntry) String ¶
func (m *DelegateEntry) String() string
func (*DelegateEntry) Validate ¶
func (this *DelegateEntry) Validate() error
func (*DelegateEntry) XXX_DiscardUnknown ¶
func (m *DelegateEntry) XXX_DiscardUnknown()
func (*DelegateEntry) XXX_Marshal ¶
func (m *DelegateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegateEntry) XXX_Merge ¶
func (m *DelegateEntry) XXX_Merge(src proto.Message)
func (*DelegateEntry) XXX_Size ¶
func (m *DelegateEntry) XXX_Size() int
func (*DelegateEntry) XXX_Unmarshal ¶
func (m *DelegateEntry) XXX_Unmarshal(b []byte) error
type NetParams ¶
type NetParams struct { Params []*vega.NetworkParameter `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NetParams contains all network parameters
func (*NetParams) Descriptor ¶
func (*NetParams) GetParams ¶
func (m *NetParams) GetParams() []*vega.NetworkParameter
func (*NetParams) ProtoMessage ¶
func (*NetParams) ProtoMessage()
func (*NetParams) XXX_DiscardUnknown ¶
func (m *NetParams) XXX_DiscardUnknown()
func (*NetParams) XXX_Marshal ¶
func (*NetParams) XXX_Unmarshal ¶
type Proposals ¶
type Proposals struct { Proposals []*vega.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Proposals will contain all accepted proposals
func (*Proposals) Descriptor ¶
func (*Proposals) GetProposals ¶
func (*Proposals) ProtoMessage ¶
func (*Proposals) ProtoMessage()
func (*Proposals) XXX_DiscardUnknown ¶
func (m *Proposals) XXX_DiscardUnknown()