v1

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func (m *AssetBalance) XXX_DiscardUnknown()

func (*AssetBalance) XXX_Marshal added in v0.47.0

func (m *AssetBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetBalance) XXX_Merge added in v0.47.0

func (m *AssetBalance) XXX_Merge(src proto.Message)

func (*AssetBalance) XXX_Size added in v0.47.0

func (m *AssetBalance) XXX_Size() int

func (*AssetBalance) XXX_Unmarshal added in v0.47.0

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

func (m *AssetEntry) XXX_DiscardUnknown()

func (*AssetEntry) XXX_Marshal added in v0.47.0

func (m *AssetEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetEntry) XXX_Merge added in v0.47.0

func (m *AssetEntry) XXX_Merge(src proto.Message)

func (*AssetEntry) XXX_Size added in v0.47.0

func (m *AssetEntry) XXX_Size() int

func (*AssetEntry) XXX_Unmarshal added in v0.47.0

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) Descriptor() ([]byte, []int)

func (*Assets) GetAssets

func (m *Assets) GetAssets() []*AssetEntry

func (*Assets) ProtoMessage

func (*Assets) ProtoMessage()

func (*Assets) Reset

func (m *Assets) Reset()

func (*Assets) String

func (m *Assets) String() string

func (*Assets) Validate

func (this *Assets) Validate() error

func (*Assets) XXX_DiscardUnknown added in v0.47.0

func (m *Assets) XXX_DiscardUnknown()

func (*Assets) XXX_Marshal added in v0.47.0

func (m *Assets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Assets) XXX_Merge added in v0.47.0

func (m *Assets) XXX_Merge(src proto.Message)

func (*Assets) XXX_Size added in v0.47.0

func (m *Assets) XXX_Size() int

func (*Assets) XXX_Unmarshal added in v0.47.0

func (m *Assets) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Block) GetHeight

func (m *Block) GetHeight() int64

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) Validate

func (this *Block) Validate() error

func (*Block) XXX_DiscardUnknown added in v0.47.0

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal added in v0.47.0

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge added in v0.47.0

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size added in v0.47.0

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal added in v0.47.0

func (m *Block) XXX_Unmarshal(b []byte) error

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"`
	Rewards              []byte   `protobuf:"bytes,8,opt,name=rewards,proto3" json:"rewards,omitempty"`
	KeyRotations         []byte   `protobuf:"bytes,9,opt,name=key_rotations,json=keyRotations,proto3" json:"key_rotations,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) GetKeyRotations added in v0.47.0

func (m *Checkpoint) GetKeyRotations() []byte

func (*Checkpoint) GetNetworkParameters

func (m *Checkpoint) GetNetworkParameters() []byte

func (*Checkpoint) GetRewards added in v0.47.0

func (m *Checkpoint) GetRewards() []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 added in v0.47.0

func (m *Checkpoint) XXX_DiscardUnknown()

func (*Checkpoint) XXX_Marshal added in v0.47.0

func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Checkpoint) XXX_Merge added in v0.47.0

func (m *Checkpoint) XXX_Merge(src proto.Message)

func (*Checkpoint) XXX_Size added in v0.47.0

func (m *Checkpoint) XXX_Size() int

func (*Checkpoint) XXX_Unmarshal added in v0.47.0

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

func (m *CheckpointState) XXX_DiscardUnknown()

func (*CheckpointState) XXX_Marshal added in v0.47.0

func (m *CheckpointState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointState) XXX_Merge added in v0.47.0

func (m *CheckpointState) XXX_Merge(src proto.Message)

func (*CheckpointState) XXX_Size added in v0.47.0

func (m *CheckpointState) XXX_Size() int

func (*CheckpointState) XXX_Unmarshal added in v0.47.0

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

func (m *Collateral) XXX_DiscardUnknown()

func (*Collateral) XXX_Marshal added in v0.47.0

func (m *Collateral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Collateral) XXX_Merge added in v0.47.0

func (m *Collateral) XXX_Merge(src proto.Message)

func (*Collateral) XXX_Size added in v0.47.0

func (m *Collateral) XXX_Size() int

func (*Collateral) XXX_Unmarshal added in v0.47.0

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) Descriptor() ([]byte, []int)

func (*Delegate) GetActive

func (m *Delegate) GetActive() []*DelegateEntry

func (*Delegate) GetAutoDelegation

func (m *Delegate) GetAutoDelegation() []string

func (*Delegate) GetPending

func (m *Delegate) GetPending() []*DelegateEntry

func (*Delegate) ProtoMessage

func (*Delegate) ProtoMessage()

func (*Delegate) Reset

func (m *Delegate) Reset()

func (*Delegate) String

func (m *Delegate) String() string

func (*Delegate) Validate

func (this *Delegate) Validate() error

func (*Delegate) XXX_DiscardUnknown added in v0.47.0

func (m *Delegate) XXX_DiscardUnknown()

func (*Delegate) XXX_Marshal added in v0.47.0

func (m *Delegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Delegate) XXX_Merge added in v0.47.0

func (m *Delegate) XXX_Merge(src proto.Message)

func (*Delegate) XXX_Size added in v0.47.0

func (m *Delegate) XXX_Size() int

func (*Delegate) XXX_Unmarshal added in v0.47.0

func (m *Delegate) XXX_Unmarshal(b []byte) error

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

func (m *DelegateEntry) XXX_DiscardUnknown()

func (*DelegateEntry) XXX_Marshal added in v0.47.0

func (m *DelegateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegateEntry) XXX_Merge added in v0.47.0

func (m *DelegateEntry) XXX_Merge(src proto.Message)

func (*DelegateEntry) XXX_Size added in v0.47.0

func (m *DelegateEntry) XXX_Size() int

func (*DelegateEntry) XXX_Unmarshal added in v0.47.0

func (m *DelegateEntry) XXX_Unmarshal(b []byte) error

type KeyRotations added in v0.47.0

type KeyRotations struct {
	PendingKeyRotations  []*PendingKeyRotation `protobuf:"bytes,1,rep,name=pending_key_rotations,json=pendingKeyRotations,proto3" json:"pending_key_rotations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*KeyRotations) Descriptor added in v0.47.0

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

func (*KeyRotations) GetPendingKeyRotations added in v0.47.0

func (m *KeyRotations) GetPendingKeyRotations() []*PendingKeyRotation

func (*KeyRotations) ProtoMessage added in v0.47.0

func (*KeyRotations) ProtoMessage()

func (*KeyRotations) Reset added in v0.47.0

func (m *KeyRotations) Reset()

func (*KeyRotations) String added in v0.47.0

func (m *KeyRotations) String() string

func (*KeyRotations) Validate added in v0.47.0

func (this *KeyRotations) Validate() error

func (*KeyRotations) XXX_DiscardUnknown added in v0.47.0

func (m *KeyRotations) XXX_DiscardUnknown()

func (*KeyRotations) XXX_Marshal added in v0.47.0

func (m *KeyRotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyRotations) XXX_Merge added in v0.47.0

func (m *KeyRotations) XXX_Merge(src proto.Message)

func (*KeyRotations) XXX_Size added in v0.47.0

func (m *KeyRotations) XXX_Size() int

func (*KeyRotations) XXX_Unmarshal added in v0.47.0

func (m *KeyRotations) 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) Descriptor() ([]byte, []int)

func (*NetParams) GetParams

func (m *NetParams) GetParams() []*vega.NetworkParameter

func (*NetParams) ProtoMessage

func (*NetParams) ProtoMessage()

func (*NetParams) Reset

func (m *NetParams) Reset()

func (*NetParams) String

func (m *NetParams) String() string

func (*NetParams) Validate

func (this *NetParams) Validate() error

func (*NetParams) XXX_DiscardUnknown added in v0.47.0

func (m *NetParams) XXX_DiscardUnknown()

func (*NetParams) XXX_Marshal added in v0.47.0

func (m *NetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetParams) XXX_Merge added in v0.47.0

func (m *NetParams) XXX_Merge(src proto.Message)

func (*NetParams) XXX_Size added in v0.47.0

func (m *NetParams) XXX_Size() int

func (*NetParams) XXX_Unmarshal added in v0.47.0

func (m *NetParams) XXX_Unmarshal(b []byte) error

type PartyAmount added in v0.47.0

type PartyAmount struct {
	Party                string   `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"`
	Amount               string   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PartyAmount) Descriptor added in v0.47.0

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

func (*PartyAmount) GetAmount added in v0.47.0

func (m *PartyAmount) GetAmount() string

func (*PartyAmount) GetParty added in v0.47.0

func (m *PartyAmount) GetParty() string

func (*PartyAmount) ProtoMessage added in v0.47.0

func (*PartyAmount) ProtoMessage()

func (*PartyAmount) Reset added in v0.47.0

func (m *PartyAmount) Reset()

func (*PartyAmount) String added in v0.47.0

func (m *PartyAmount) String() string

func (*PartyAmount) Validate added in v0.47.0

func (this *PartyAmount) Validate() error

func (*PartyAmount) XXX_DiscardUnknown added in v0.47.0

func (m *PartyAmount) XXX_DiscardUnknown()

func (*PartyAmount) XXX_Marshal added in v0.47.0

func (m *PartyAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartyAmount) XXX_Merge added in v0.47.0

func (m *PartyAmount) XXX_Merge(src proto.Message)

func (*PartyAmount) XXX_Size added in v0.47.0

func (m *PartyAmount) XXX_Size() int

func (*PartyAmount) XXX_Unmarshal added in v0.47.0

func (m *PartyAmount) XXX_Unmarshal(b []byte) error

type PendingKeyRotation added in v0.47.0

type PendingKeyRotation struct {
	// Relative target block height is: target block height - current block height.
	// Useful for cross blockchain compatibility.
	RelativeTargetBlockHeight uint64   `` /* 141-byte string literal not displayed */
	NodeId                    string   `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NewPubKey                 string   `protobuf:"bytes,3,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"`
	NewPubKeyIndex            uint32   `protobuf:"varint,4,opt,name=new_pub_key_index,json=newPubKeyIndex,proto3" json:"new_pub_key_index,omitempty"`
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*PendingKeyRotation) Descriptor added in v0.47.0

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

func (*PendingKeyRotation) GetNewPubKey added in v0.47.0

func (m *PendingKeyRotation) GetNewPubKey() string

func (*PendingKeyRotation) GetNewPubKeyIndex added in v0.47.0

func (m *PendingKeyRotation) GetNewPubKeyIndex() uint32

func (*PendingKeyRotation) GetNodeId added in v0.47.0

func (m *PendingKeyRotation) GetNodeId() string

func (*PendingKeyRotation) GetRelativeTargetBlockHeight added in v0.47.0

func (m *PendingKeyRotation) GetRelativeTargetBlockHeight() uint64

func (*PendingKeyRotation) ProtoMessage added in v0.47.0

func (*PendingKeyRotation) ProtoMessage()

func (*PendingKeyRotation) Reset added in v0.47.0

func (m *PendingKeyRotation) Reset()

func (*PendingKeyRotation) String added in v0.47.0

func (m *PendingKeyRotation) String() string

func (*PendingKeyRotation) Validate added in v0.47.0

func (this *PendingKeyRotation) Validate() error

func (*PendingKeyRotation) XXX_DiscardUnknown added in v0.47.0

func (m *PendingKeyRotation) XXX_DiscardUnknown()

func (*PendingKeyRotation) XXX_Marshal added in v0.47.0

func (m *PendingKeyRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingKeyRotation) XXX_Merge added in v0.47.0

func (m *PendingKeyRotation) XXX_Merge(src proto.Message)

func (*PendingKeyRotation) XXX_Size added in v0.47.0

func (m *PendingKeyRotation) XXX_Size() int

func (*PendingKeyRotation) XXX_Unmarshal added in v0.47.0

func (m *PendingKeyRotation) XXX_Unmarshal(b []byte) error

type PendingRewardPayout added in v0.47.0

type PendingRewardPayout struct {
	FromAccount          string         `protobuf:"bytes,1,opt,name=from_account,json=fromAccount,proto3" json:"from_account,omitempty"`
	Asset                string         `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
	PartyAmount          []*PartyAmount `protobuf:"bytes,3,rep,name=party_amount,json=partyAmount,proto3" json:"party_amount,omitempty"`
	TotalReward          string         `protobuf:"bytes,4,opt,name=total_reward,json=totalReward,proto3" json:"total_reward,omitempty"`
	EpochSeq             string         `protobuf:"bytes,5,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"`
	Timestamp            int64          `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PendingRewardPayout) Descriptor added in v0.47.0

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

func (*PendingRewardPayout) GetAsset added in v0.47.0

func (m *PendingRewardPayout) GetAsset() string

func (*PendingRewardPayout) GetEpochSeq added in v0.47.0

func (m *PendingRewardPayout) GetEpochSeq() string

func (*PendingRewardPayout) GetFromAccount added in v0.47.0

func (m *PendingRewardPayout) GetFromAccount() string

func (*PendingRewardPayout) GetPartyAmount added in v0.47.0

func (m *PendingRewardPayout) GetPartyAmount() []*PartyAmount

func (*PendingRewardPayout) GetTimestamp added in v0.47.0

func (m *PendingRewardPayout) GetTimestamp() int64

func (*PendingRewardPayout) GetTotalReward added in v0.47.0

func (m *PendingRewardPayout) GetTotalReward() string

func (*PendingRewardPayout) ProtoMessage added in v0.47.0

func (*PendingRewardPayout) ProtoMessage()

func (*PendingRewardPayout) Reset added in v0.47.0

func (m *PendingRewardPayout) Reset()

func (*PendingRewardPayout) String added in v0.47.0

func (m *PendingRewardPayout) String() string

func (*PendingRewardPayout) Validate added in v0.47.0

func (this *PendingRewardPayout) Validate() error

func (*PendingRewardPayout) XXX_DiscardUnknown added in v0.47.0

func (m *PendingRewardPayout) XXX_DiscardUnknown()

func (*PendingRewardPayout) XXX_Marshal added in v0.47.0

func (m *PendingRewardPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PendingRewardPayout) XXX_Merge added in v0.47.0

func (m *PendingRewardPayout) XXX_Merge(src proto.Message)

func (*PendingRewardPayout) XXX_Size added in v0.47.0

func (m *PendingRewardPayout) XXX_Size() int

func (*PendingRewardPayout) XXX_Unmarshal added in v0.47.0

func (m *PendingRewardPayout) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Proposals) GetProposals

func (m *Proposals) GetProposals() []*vega.Proposal

func (*Proposals) ProtoMessage

func (*Proposals) ProtoMessage()

func (*Proposals) Reset

func (m *Proposals) Reset()

func (*Proposals) String

func (m *Proposals) String() string

func (*Proposals) Validate

func (this *Proposals) Validate() error

func (*Proposals) XXX_DiscardUnknown added in v0.47.0

func (m *Proposals) XXX_DiscardUnknown()

func (*Proposals) XXX_Marshal added in v0.47.0

func (m *Proposals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proposals) XXX_Merge added in v0.47.0

func (m *Proposals) XXX_Merge(src proto.Message)

func (*Proposals) XXX_Size added in v0.47.0

func (m *Proposals) XXX_Size() int

func (*Proposals) XXX_Unmarshal added in v0.47.0

func (m *Proposals) XXX_Unmarshal(b []byte) error

type RewardPayout added in v0.47.0

type RewardPayout struct {
	PayoutTime           int64                  `protobuf:"varint,1,opt,name=payout_time,json=payoutTime,proto3" json:"payout_time,omitempty"`
	RewardsPayout        []*PendingRewardPayout `protobuf:"bytes,2,rep,name=rewards_payout,json=rewardsPayout,proto3" json:"rewards_payout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*RewardPayout) Descriptor added in v0.47.0

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

func (*RewardPayout) GetPayoutTime added in v0.47.0

func (m *RewardPayout) GetPayoutTime() int64

func (*RewardPayout) GetRewardsPayout added in v0.47.0

func (m *RewardPayout) GetRewardsPayout() []*PendingRewardPayout

func (*RewardPayout) ProtoMessage added in v0.47.0

func (*RewardPayout) ProtoMessage()

func (*RewardPayout) Reset added in v0.47.0

func (m *RewardPayout) Reset()

func (*RewardPayout) String added in v0.47.0

func (m *RewardPayout) String() string

func (*RewardPayout) Validate added in v0.47.0

func (this *RewardPayout) Validate() error

func (*RewardPayout) XXX_DiscardUnknown added in v0.47.0

func (m *RewardPayout) XXX_DiscardUnknown()

func (*RewardPayout) XXX_Marshal added in v0.47.0

func (m *RewardPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardPayout) XXX_Merge added in v0.47.0

func (m *RewardPayout) XXX_Merge(src proto.Message)

func (*RewardPayout) XXX_Size added in v0.47.0

func (m *RewardPayout) XXX_Size() int

func (*RewardPayout) XXX_Unmarshal added in v0.47.0

func (m *RewardPayout) XXX_Unmarshal(b []byte) error

type Rewards added in v0.47.0

type Rewards struct {
	Rewards              []*RewardPayout `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Rewards) Descriptor added in v0.47.0

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

func (*Rewards) GetRewards added in v0.47.0

func (m *Rewards) GetRewards() []*RewardPayout

func (*Rewards) ProtoMessage added in v0.47.0

func (*Rewards) ProtoMessage()

func (*Rewards) Reset added in v0.47.0

func (m *Rewards) Reset()

func (*Rewards) String added in v0.47.0

func (m *Rewards) String() string

func (*Rewards) Validate added in v0.47.0

func (this *Rewards) Validate() error

func (*Rewards) XXX_DiscardUnknown added in v0.47.0

func (m *Rewards) XXX_DiscardUnknown()

func (*Rewards) XXX_Marshal added in v0.47.0

func (m *Rewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Rewards) XXX_Merge added in v0.47.0

func (m *Rewards) XXX_Merge(src proto.Message)

func (*Rewards) XXX_Size added in v0.47.0

func (m *Rewards) XXX_Size() int

func (*Rewards) XXX_Unmarshal added in v0.47.0

func (m *Rewards) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL