Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingProposalOrPartyFilter = errors.New("missing proposal or party filter")
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct { *subscribers.Base // contains filtered or unexported fields }
func NewAccounts ¶
type Assets ¶
type Assets struct { *subscribers.Base // contains filtered or unexported fields }
type Delegations ¶
type Delegations struct { *subscribers.Base // contains filtered or unexported fields }
Delegations is a storage for keeping track of delegation state from delegation balance update events.
func NewDelegations ¶
func NewDelegations(ctx context.Context) (delegations *Delegations)
func (*Delegations) List ¶
func (d *Delegations) List(party, node, epoch string) []*pb.Delegation
func (*Delegations) Push ¶
func (d *Delegations) Push(evts ...events.Event)
func (*Delegations) Types ¶
func (d *Delegations) Types() []events.Type
type Links ¶
type Links []eventspb.StakeLinking
func (Links) IntoPointers ¶
func (l Links) IntoPointers() []*eventspb.StakeLinking
type Markets ¶
type Markets struct { *subscribers.Base // contains filtered or unexported fields }
func NewMarkets ¶
type MarketsData ¶
type MarketsData struct { *subscribers.Base // contains filtered or unexported fields }
func NewMarketsData ¶
func NewMarketsData(ctx context.Context) (marketsData *MarketsData)
func (*MarketsData) List ¶
func (m *MarketsData) List(marketID string) []*vegapb.MarketData
func (*MarketsData) Push ¶
func (m *MarketsData) Push(evts ...events.Event)
func (*MarketsData) Types ¶
func (m *MarketsData) Types() []events.Type
type NetLimits ¶
type NetLimits struct { *subscribers.Base // contains filtered or unexported fields }
func NewNetLimits ¶
func (*NetLimits) Get ¶
func (n *NetLimits) Get() *vega.NetworkLimits
type NetParams ¶
type NetParams struct { *subscribers.Base // contains filtered or unexported fields }
func NewNetParams ¶
type Parties ¶
type Parties struct { *subscribers.Base // contains filtered or unexported fields }
func NewParties ¶
type PartiesStake ¶
type PartiesStake struct { *subscribers.Base // contains filtered or unexported fields }
func NewPartiesStake ¶
func NewPartiesStake(ctx context.Context, log *logging.Logger) (svc *PartiesStake)
func (*PartiesStake) List ¶
func (p *PartiesStake) List(party string) []*coreapipb.PartyStake
func (*PartiesStake) Push ¶
func (p *PartiesStake) Push(evts ...events.Event)
func (*PartiesStake) Types ¶
func (p *PartiesStake) Types() []events.Type
type Proposals ¶
type Proposals struct { *subscribers.Base // contains filtered or unexported fields }
func NewProposals ¶
type StakeLinkingEvent ¶
type StakeLinkingEvent interface { events.Event StakeLinking() eventspb.StakeLinking }
type Validators ¶
type Validators struct { *subscribers.Base // contains filtered or unexported fields }
func NewValidators ¶
func NewValidators(ctx context.Context) (assets *Validators)
func (*Validators) List ¶
func (a *Validators) List() []*eventspb.ValidatorUpdate
func (*Validators) Push ¶
func (a *Validators) Push(evts ...events.Event)
func (*Validators) Types ¶
func (a *Validators) Types() []events.Type
type Votes ¶
type Votes struct { *subscribers.Base // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.