Documentation
¶
Index ¶
- Variables
- type AMMPoolEvent
- type AMMPoolStore
- type AMMPools
- type Account
- type AccountEvent
- type AccountService
- type AccountSource
- type Asset
- type AssetEvent
- type AssetStore
- type CancelledOrdersEvent
- type Checkpoint
- type CheckpointEvent
- type CheckpointStore
- type CoreSnapshotEvent
- type Delegation
- type DelegationBalanceEvent
- type DelegationStore
- type Deposit
- type DepositEvent
- type DepositStore
- type ERC20MultiSigSignerAddedEvent
- type ERC20MultiSigSignerEvent
- func (s *ERC20MultiSigSignerEvent) Flush(ctx context.Context) error
- func (m *ERC20MultiSigSignerEvent) Name() string
- func (m *ERC20MultiSigSignerEvent) Push(ctx context.Context, evt events.Event) error
- func (s *ERC20MultiSigSignerEvent) SetVegaTime(vegaTime time.Time)
- func (m *ERC20MultiSigSignerEvent) Types() []events.Type
- type ERC20MultiSigSignerEventStore
- type ERC20MultiSigSignerRemovedEvent
- type Epoch
- type EpochStore
- type EpochUpdateEvent
- type EthereumKeyRotation
- func (s *EthereumKeyRotation) Flush(ctx context.Context) error
- func (kr *EthereumKeyRotation) Name() string
- func (kr *EthereumKeyRotation) Push(ctx context.Context, evt events.Event) error
- func (s *EthereumKeyRotation) SetVegaTime(vegaTime time.Time)
- func (kr *EthereumKeyRotation) Types() []events.Type
- type EthereumKeyRotationEvent
- type EthereumKeyRotationService
- type ExpiredOrdersEvent
- type FeesStats
- type FeesStatsEvent
- type FeesStatsStore
- type FundingPaymentSubscriber
- func (ts *FundingPaymentSubscriber) Flush(ctx context.Context) error
- func (ts *FundingPaymentSubscriber) Name() string
- func (ts *FundingPaymentSubscriber) Push(ctx context.Context, evt events.Event) error
- func (s *FundingPaymentSubscriber) SetVegaTime(vegaTime time.Time)
- func (ts *FundingPaymentSubscriber) Types() []events.Type
- type FundingPaymentsEvent
- type FundingPaymentsStore
- type FundingPeriod
- type FundingPeriodDataPointEvent
- type FundingPeriodEvent
- type FundingPeriodStore
- type GameScore
- type GameScoreEvent
- type GameScoreStore
- type GovernanceService
- type KeyRotation
- type KeyRotationEvent
- type KeyRotationStore
- type Ledger
- type LedgerMovementEvents
- type LiquidityProvision
- type LiquidityProvisionEvent
- type LiquidityProvisionStore
- type LockedBalancesStore
- type LossSocEvt
- type MarginLevels
- type MarginLevelsEvent
- type MarginLevelsStore
- type MarginModeStore
- type MarginModes
- type MarketCreated
- type MarketCreatedEvent
- type MarketData
- type MarketDataEvent
- type MarketDataStore
- type MarketDepthService
- type MarketSvc
- type MarketUpdated
- type MarketUpdatedEvent
- type MarketsStore
- type NetworkLimitStore
- type NetworkLimits
- type NetworkLimitsEvent
- type NetworkParameter
- type NetworkParameterEvent
- type NetworkParameterStore
- type Node
- type NodeSignatureEvent
- type NodeStore
- type Notary
- type NotaryStore
- type OracleData
- type OracleDataEvent
- type OracleDataStore
- type OracleSpec
- type OracleSpecEvent
- type OracleSpecStore
- type Order
- type OrderEvent
- type OrderStore
- type PaidLiquidityFeesStats
- func (s *PaidLiquidityFeesStats) Flush(ctx context.Context) error
- func (r *PaidLiquidityFeesStats) Name() string
- func (r *PaidLiquidityFeesStats) Push(ctx context.Context, evt events.Event) error
- func (s *PaidLiquidityFeesStats) SetVegaTime(vegaTime time.Time)
- func (r *PaidLiquidityFeesStats) Types() []events.Type
- type PaidLiquidityFeesStatsEvent
- type PaidLiquidityFeesStatsStore
- type Party
- type PartyActivityStreak
- func (s *PartyActivityStreak) Flush(ctx context.Context) error
- func (pas *PartyActivityStreak) Name() string
- func (pas *PartyActivityStreak) Push(ctx context.Context, evt events.Event) error
- func (s *PartyActivityStreak) SetVegaTime(vegaTime time.Time)
- func (pas *PartyActivityStreak) Types() []events.Type
- type PartyActivityStreakEvent
- type PartyActivityStreakStore
- type PartyEvent
- type PartyMarginModeUpdatedEvent
- type PartyProfileUpdatedEvent
- type PartyStore
- type Position
- type PositionStore
- type Proposal
- type ProposalEvent
- type ProtocolUpgrade
- type ProtocolUpgradeProposalEvent
- type RefereeJoinedReferralSetEvent
- type RefereeJoinedTeam
- type RefereeSwitchedTeam
- type ReferralProgram
- type ReferralProgramEndedEvent
- type ReferralProgramStartedEvent
- type ReferralProgramUpdatedEvent
- type ReferralSetCreatedEvent
- type ReferralSetStatsUpdatedEvent
- type ReferralSets
- type ReferralSetsStore
- type ReferralStore
- type Reward
- type RewardPayoutEvent
- type RewardStore
- type RiskFactor
- type RiskFactorEvent
- type RiskFactorStore
- type SnapshotData
- type StakeLinking
- type StakeLinkingEvent
- type StakeLinkingStore
- type StopOrder
- type StopOrderEvent
- type StopOrderStore
- type TeamCreatedEvent
- type TeamStore
- type TeamUpdateEvent
- type Teams
- type TeamsStatsUpdated
- type TimeWeightedNotionalPosition
- func (s *TimeWeightedNotionalPosition) Flush(ctx context.Context) error
- func (tw *TimeWeightedNotionalPosition) Name() string
- func (tw *TimeWeightedNotionalPosition) Push(ctx context.Context, e events.Event) error
- func (s *TimeWeightedNotionalPosition) SetVegaTime(vegaTime time.Time)
- func (tw *TimeWeightedNotionalPosition) Types() []events.Type
- type TimeWeightedNotionalPositionStore
- type TimeWeightedNotionalPositionUpdatedEvent
- type TradeEvent
- type TradeSubscriber
- type TradesStore
- type TransactionResultEvent
- type TransactionResults
- func (s *TransactionResults) Flush(ctx context.Context) error
- func (tr *TransactionResults) Name() string
- func (tr *TransactionResults) Observe(ctx context.Context, retries int, partyIDs []string, hashes []string, ...) (transactions <-chan []events.TransactionResult, ref uint64)
- func (tr *TransactionResults) Push(ctx context.Context, evt events.Event) error
- func (s *TransactionResults) SetVegaTime(vegaTime time.Time)
- func (tr *TransactionResults) Types() []events.Type
- type Transfer
- type TransferEvent
- type TransferFeesDiscountUpdateEvent
- type TransferFeesEvent
- type TransferResponse
- type TransferStore
- type ValidatorRankingScoreEvent
- type ValidatorRewardScoreEvent
- type ValidatorUpdateEvent
- type VestingBalancesStore
- type VestingBalancesSummary
- func (s *VestingBalancesSummary) Flush(ctx context.Context) error
- func (v *VestingBalancesSummary) Name() string
- func (v *VestingBalancesSummary) Push(ctx context.Context, evt events.Event) error
- func (s *VestingBalancesSummary) SetVegaTime(vegaTime time.Time)
- func (v *VestingBalancesSummary) Types() []events.Type
- type VestingBalancesSummaryEvent
- type VestingStatsUpdated
- func (s *VestingStatsUpdated) Flush(ctx context.Context) error
- func (pas *VestingStatsUpdated) Name() string
- func (pas *VestingStatsUpdated) Push(ctx context.Context, evt events.Event) error
- func (s *VestingStatsUpdated) SetVegaTime(vegaTime time.Time)
- func (pas *VestingStatsUpdated) Types() []events.Type
- type VestingStatsUpdatedEvent
- type VestingStatsUpdatedStore
- type VolumeDiscountProgram
- func (s *VolumeDiscountProgram) Flush(ctx context.Context) error
- func (rp *VolumeDiscountProgram) Name() string
- func (rp *VolumeDiscountProgram) Push(ctx context.Context, evt events.Event) error
- func (s *VolumeDiscountProgram) SetVegaTime(vegaTime time.Time)
- func (rp *VolumeDiscountProgram) Types() []events.Type
- type VolumeDiscountProgramEndedEvent
- type VolumeDiscountProgramStartedEvent
- type VolumeDiscountProgramUpdatedEvent
- type VolumeDiscountStatsUpdated
- func (s *VolumeDiscountStatsUpdated) Flush(ctx context.Context) error
- func (pas *VolumeDiscountStatsUpdated) Name() string
- func (pas *VolumeDiscountStatsUpdated) Push(ctx context.Context, evt events.Event) error
- func (s *VolumeDiscountStatsUpdated) SetVegaTime(vegaTime time.Time)
- func (pas *VolumeDiscountStatsUpdated) Types() []events.Type
- type VolumeDiscountStatsUpdatedEvent
- type VolumeDiscountStatsUpdatedStore
- type VolumeDiscountStore
- type VolumeRebateProgram
- func (s *VolumeRebateProgram) Flush(ctx context.Context) error
- func (rp *VolumeRebateProgram) Name() string
- func (rp *VolumeRebateProgram) Push(ctx context.Context, evt events.Event) error
- func (s *VolumeRebateProgram) SetVegaTime(vegaTime time.Time)
- func (rp *VolumeRebateProgram) Types() []events.Type
- type VolumeRebateProgramEndedEvent
- type VolumeRebateProgramStartedEvent
- type VolumeRebateProgramUpdatedEvent
- type VolumeRebateStatsUpdated
- func (s *VolumeRebateStatsUpdated) Flush(ctx context.Context) error
- func (pas *VolumeRebateStatsUpdated) Name() string
- func (pas *VolumeRebateStatsUpdated) Push(ctx context.Context, evt events.Event) error
- func (s *VolumeRebateStatsUpdated) SetVegaTime(vegaTime time.Time)
- func (pas *VolumeRebateStatsUpdated) Types() []events.Type
- type VolumeRebateStatsUpdatedEvent
- type VolumeRebateStatsUpdatedStore
- type VolumeRebateStore
- type Vote
- type VoteEvent
- type Withdrawal
- type WithdrawalEvent
- type WithdrawalStore
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSignaturesForID = errors.New("no signatures for id")
Functions ¶
This section is empty.
Types ¶
type AMMPoolEvent ¶ added in v0.77.0
type AMMPoolStore ¶ added in v0.77.0
type AMMPools ¶ added in v0.77.0
type AMMPools struct {
// contains filtered or unexported fields
}
func NewAMMPools ¶ added in v0.77.0
func NewAMMPools(store AMMPoolStore, marketDepth MarketDepthService) *AMMPools
func (*AMMPools) SetVegaTime ¶ added in v0.77.0
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
func NewAccount ¶
func NewAccount(accounts AccountService) *Account
func (*Account) SetVegaTime ¶
type AccountService ¶
type AccountSource ¶
type Asset ¶
type Asset struct {
// contains filtered or unexported fields
}
func NewAsset ¶
func NewAsset(store AssetStore) *Asset
func (*Asset) SetVegaTime ¶
type CancelledOrdersEvent ¶ added in v0.76.0
type CancelledOrdersEvent interface {
ExpiredOrdersEvent
PartyID() string
}
type Checkpoint ¶
type Checkpoint struct {
// contains filtered or unexported fields
}
func NewCheckpoint ¶
func NewCheckpoint(store CheckpointStore) *Checkpoint
func (*Checkpoint) Name ¶ added in v0.77.0
func (n *Checkpoint) Name() string
func (*Checkpoint) SetVegaTime ¶
func (*Checkpoint) Types ¶
func (n *Checkpoint) Types() []events.Type
type CheckpointEvent ¶
type CheckpointEvent interface {
events.Event
Proto() eventspb.CheckpointEvent
}
type CheckpointStore ¶
type CheckpointStore interface {
Add(context.Context, entities.Checkpoint) error
}
type CoreSnapshotEvent ¶ added in v0.65.0
type CoreSnapshotEvent interface {
events.Event
SnapshotTakenEvent() eventspb.CoreSnapshotData
}
type Delegation ¶
type Delegation struct {
// contains filtered or unexported fields
}
func NewDelegation ¶
func NewDelegation(store DelegationStore) *Delegation
func (*Delegation) Name ¶ added in v0.77.0
func (ds *Delegation) Name() string
func (*Delegation) SetVegaTime ¶
func (*Delegation) Types ¶
func (ds *Delegation) Types() []events.Type
type DelegationBalanceEvent ¶
type DelegationBalanceEvent interface {
events.Event
Proto() eventspb.DelegationBalanceEvent
}
type DelegationStore ¶
type DelegationStore interface {
Add(context.Context, entities.Delegation) error
}
type Deposit ¶
type Deposit struct {
// contains filtered or unexported fields
}
func NewDeposit ¶
func NewDeposit(store DepositStore) *Deposit
func (*Deposit) SetVegaTime ¶
type DepositStore ¶
type ERC20MultiSigSignerAddedEvent ¶
type ERC20MultiSigSignerAddedEvent interface {
events.Event
Proto() eventspb.ERC20MultiSigSignerAdded
}
type ERC20MultiSigSignerEvent ¶
type ERC20MultiSigSignerEvent struct {
// contains filtered or unexported fields
}
func NewERC20MultiSigSignerEvent ¶
func NewERC20MultiSigSignerEvent(store ERC20MultiSigSignerEventStore) *ERC20MultiSigSignerEvent
func (*ERC20MultiSigSignerEvent) Name ¶ added in v0.77.0
func (m *ERC20MultiSigSignerEvent) Name() string
func (*ERC20MultiSigSignerEvent) SetVegaTime ¶
func (*ERC20MultiSigSignerEvent) Types ¶
func (m *ERC20MultiSigSignerEvent) Types() []events.Type
type ERC20MultiSigSignerEventStore ¶
type ERC20MultiSigSignerEventStore interface {
Add(ctx context.Context, e *entities.ERC20MultiSigSignerEvent) error
}
type ERC20MultiSigSignerRemovedEvent ¶
type ERC20MultiSigSignerRemovedEvent interface {
events.Event
Proto() eventspb.ERC20MultiSigSignerRemoved
}
type Epoch ¶
type Epoch struct {
// contains filtered or unexported fields
}
func NewEpoch ¶
func NewEpoch(store EpochStore) *Epoch
func (*Epoch) SetVegaTime ¶
type EpochUpdateEvent ¶
type EpochUpdateEvent interface {
events.Event
Proto() eventspb.EpochEvent
}
type EthereumKeyRotation ¶
type EthereumKeyRotation struct {
// contains filtered or unexported fields
}
func NewEthereumKeyRotation ¶
func NewEthereumKeyRotation(service EthereumKeyRotationService) *EthereumKeyRotation
func (*EthereumKeyRotation) Name ¶ added in v0.77.0
func (kr *EthereumKeyRotation) Name() string
func (*EthereumKeyRotation) SetVegaTime ¶
func (*EthereumKeyRotation) Types ¶
func (kr *EthereumKeyRotation) Types() []events.Type
type EthereumKeyRotationEvent ¶
type EthereumKeyRotationEvent interface {
events.Event
EthereumKeyRotation() eventspb.EthereumKeyRotation
}
type EthereumKeyRotationService ¶
type EthereumKeyRotationService interface {
Add(context.Context, entities.EthereumKeyRotation) error
}
type ExpiredOrdersEvent ¶ added in v0.68.0
type FeesStats ¶ added in v0.73.0
type FeesStats struct {
// contains filtered or unexported fields
}
func NewFeesStats ¶ added in v0.73.0
func NewFeesStats(store FeesStatsStore) *FeesStats
func (*FeesStats) SetVegaTime ¶ added in v0.73.0
type FeesStatsEvent ¶ added in v0.73.0
type FeesStatsStore ¶ added in v0.73.0
type FundingPaymentSubscriber ¶ added in v0.73.0
type FundingPaymentSubscriber struct {
// contains filtered or unexported fields
}
func NewFundingPaymentsSubscriber ¶ added in v0.73.0
func NewFundingPaymentsSubscriber(store FundingPaymentsStore) *FundingPaymentSubscriber
func (*FundingPaymentSubscriber) Flush ¶ added in v0.73.0
func (ts *FundingPaymentSubscriber) Flush(ctx context.Context) error
func (*FundingPaymentSubscriber) Name ¶ added in v0.77.0
func (ts *FundingPaymentSubscriber) Name() string
func (*FundingPaymentSubscriber) SetVegaTime ¶ added in v0.73.0
func (*FundingPaymentSubscriber) Types ¶ added in v0.73.0
func (ts *FundingPaymentSubscriber) Types() []events.Type
type FundingPaymentsEvent ¶ added in v0.73.0
type FundingPaymentsEvent interface {
events.Event
FundingPayments() *eventspb.FundingPayments
}
type FundingPaymentsStore ¶ added in v0.73.0
type FundingPeriod ¶ added in v0.73.0
type FundingPeriod struct {
// contains filtered or unexported fields
}
func NewFundingPeriod ¶ added in v0.73.0
func NewFundingPeriod(store FundingPeriodStore) *FundingPeriod
func (*FundingPeriod) Name ¶ added in v0.77.0
func (fp *FundingPeriod) Name() string
func (*FundingPeriod) SetVegaTime ¶ added in v0.73.0
func (*FundingPeriod) Types ¶ added in v0.73.0
func (fp *FundingPeriod) Types() []events.Type
type FundingPeriodDataPointEvent ¶ added in v0.73.0
type FundingPeriodDataPointEvent interface {
events.Event
FundingPeriodDataPoint() *eventspb.FundingPeriodDataPoint
}
type FundingPeriodEvent ¶ added in v0.73.0
type FundingPeriodEvent interface {
events.Event
FundingPeriod() *eventspb.FundingPeriod
}
type FundingPeriodStore ¶ added in v0.73.0
type FundingPeriodStore interface {
AddFundingPeriod(ctx context.Context, period *entities.FundingPeriod) error
AddDataPoint(ctx context.Context, dataPoint *entities.FundingPeriodDataPoint) error
}
type GameScore ¶ added in v0.77.0
type GameScore struct {
// contains filtered or unexported fields
}
func NewGameScore ¶ added in v0.77.0
func NewGameScore(store GameScoreStore) *GameScore
func (*GameScore) SetVegaTime ¶ added in v0.77.0
type GameScoreEvent ¶ added in v0.77.0
type GameScoreEvent interface {
events.Event
GameScoreEvent() eventspb.GameScores
}
type GameScoreStore ¶ added in v0.77.0
type GameScoreStore interface {
AddTeamScore(context.Context, entities.GameTeamScore) error
AddPartyScore(context.Context, entities.GamePartyScore) error
}
type GovernanceService ¶
type KeyRotation ¶
type KeyRotation struct {
// contains filtered or unexported fields
}
func NewKeyRotation ¶
func NewKeyRotation(store KeyRotationStore) *KeyRotation
func (*KeyRotation) Name ¶ added in v0.77.0
func (kr *KeyRotation) Name() string
func (*KeyRotation) SetVegaTime ¶
func (*KeyRotation) Types ¶
func (kr *KeyRotation) Types() []events.Type
type KeyRotationEvent ¶
type KeyRotationEvent interface {
events.Event
KeyRotation() eventspb.KeyRotation
}
type KeyRotationStore ¶
type KeyRotationStore interface {
Upsert(context.Context, *entities.KeyRotation) error
}
type Ledger ¶
type Ledger interface {
AddLedgerEntry(entities.LedgerEntry) error
AddTransferResponse(*vega.LedgerMovement)
Flush(ctx context.Context) error
}
type LedgerMovementEvents ¶ added in v0.74.0
type LedgerMovementEvents interface {
events.Event
LedgerMovements() []*vega.LedgerMovement
}
type LiquidityProvision ¶
type LiquidityProvision struct {
// contains filtered or unexported fields
}
func NewLiquidityProvision ¶
func NewLiquidityProvision(store LiquidityProvisionStore) *LiquidityProvision
func (*LiquidityProvision) Name ¶ added in v0.77.0
func (lp *LiquidityProvision) Name() string
func (*LiquidityProvision) SetVegaTime ¶
func (*LiquidityProvision) Types ¶
func (lp *LiquidityProvision) Types() []events.Type
type LiquidityProvisionEvent ¶
type LiquidityProvisionEvent interface {
events.Event
LiquidityProvision() *vega.LiquidityProvision
}
type LiquidityProvisionStore ¶
type LockedBalancesStore ¶ added in v0.73.0
type LossSocEvt ¶ added in v0.79.0
type MarginLevels ¶
type MarginLevels struct {
// contains filtered or unexported fields
}
func NewMarginLevels ¶
func NewMarginLevels(store MarginLevelsStore, accountSource AccountSource) *MarginLevels
func (*MarginLevels) Name ¶ added in v0.77.0
func (ml *MarginLevels) Name() string
func (*MarginLevels) SetVegaTime ¶
func (*MarginLevels) Types ¶
func (ml *MarginLevels) Types() []events.Type
type MarginLevelsEvent ¶
type MarginLevelsEvent interface {
events.Event
MarginLevels() vega.MarginLevels
}
type MarginLevelsStore ¶
type MarginModeStore ¶ added in v0.74.0
type MarginModeStore interface {
UpdatePartyMarginMode(ctx context.Context, update entities.PartyMarginMode) error
}
type MarginModes ¶ added in v0.74.0
type MarginModes struct {
// contains filtered or unexported fields
}
func NewMarginModes ¶ added in v0.74.0
func NewMarginModes(store MarginModeStore) *MarginModes
func (*MarginModes) Name ¶ added in v0.77.0
func (t *MarginModes) Name() string
func (*MarginModes) SetVegaTime ¶ added in v0.74.0
func (*MarginModes) Types ¶ added in v0.74.0
func (t *MarginModes) Types() []events.Type
type MarketCreated ¶
type MarketCreated struct {
// contains filtered or unexported fields
}
func NewMarketCreated ¶
func NewMarketCreated(store MarketsStore) *MarketCreated
func (*MarketCreated) Name ¶ added in v0.77.0
func (m *MarketCreated) Name() string
func (*MarketCreated) SetVegaTime ¶
func (*MarketCreated) Types ¶
func (m *MarketCreated) Types() []events.Type
type MarketData ¶
type MarketData struct {
// contains filtered or unexported fields
}
func NewMarketData ¶
func NewMarketData(store MarketDataStore) *MarketData
func (*MarketData) Name ¶ added in v0.77.0
func (md *MarketData) Name() string
func (*MarketData) SetVegaTime ¶
func (*MarketData) Types ¶
func (md *MarketData) Types() []events.Type
type MarketDataEvent ¶
type MarketDataEvent interface {
events.Event
MarketData() types.MarketData
}
type MarketDataStore ¶
type MarketDepthService ¶
type MarketUpdated ¶
type MarketUpdated struct {
// contains filtered or unexported fields
}
func NewMarketUpdated ¶
func NewMarketUpdated(store MarketsStore) *MarketUpdated
func (*MarketUpdated) Name ¶ added in v0.77.0
func (m *MarketUpdated) Name() string
func (*MarketUpdated) SetVegaTime ¶
func (*MarketUpdated) Types ¶
func (m *MarketUpdated) Types() []events.Type
type NetworkLimitStore ¶
type NetworkLimitStore interface {
Add(context.Context, entities.NetworkLimits) error
}
type NetworkLimits ¶
type NetworkLimits struct {
// contains filtered or unexported fields
}
func NewNetworkLimitSub ¶
func NewNetworkLimitSub(store NetworkLimitStore) *NetworkLimits
func (*NetworkLimits) Name ¶ added in v0.77.0
func (nl *NetworkLimits) Name() string
func (*NetworkLimits) SetVegaTime ¶
func (*NetworkLimits) Types ¶
func (nl *NetworkLimits) Types() []events.Type
type NetworkLimitsEvent ¶
type NetworkLimitsEvent interface {
events.Event
NetworkLimits() *vega.NetworkLimits
}
type NetworkParameter ¶
type NetworkParameter struct {
// contains filtered or unexported fields
}
func NewNetworkParameter ¶
func NewNetworkParameter(store NetworkParameterStore) *NetworkParameter
func (*NetworkParameter) Name ¶ added in v0.77.0
func (n *NetworkParameter) Name() string
func (*NetworkParameter) SetVegaTime ¶
func (*NetworkParameter) Types ¶
func (n *NetworkParameter) Types() []events.Type
type NetworkParameterEvent ¶
type NetworkParameterEvent interface {
events.Event
NetworkParameter() vega.NetworkParameter
}
type NetworkParameterStore ¶
type NetworkParameterStore interface {
Add(context.Context, entities.NetworkParameter) error
}
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) SetVegaTime ¶
type NodeSignatureEvent ¶
type NodeSignatureEvent interface {
events.Event
NodeSignature() commandspb.NodeSignature
}
type NodeStore ¶
type NodeStore interface {
UpsertNode(context.Context, *entities.Node) error
UpsertRanking(context.Context, *entities.RankingScore, *entities.RankingScoreAux) error
UpsertScore(context.Context, *entities.RewardScore, *entities.RewardScoreAux) error
UpdatePublicKey(context.Context, *entities.KeyRotation) error
AddNodeAnnouncedEvent(context.Context, string, time.Time, *entities.ValidatorUpdateAux) error
UpdateEthereumAddress(ctx context.Context, kr entities.EthereumKeyRotation) error
}
type Notary ¶
type Notary struct {
// contains filtered or unexported fields
}
func NewNotary ¶
func NewNotary(store NotaryStore) *Notary
func (*Notary) SetVegaTime ¶
type NotaryStore ¶
type NotaryStore interface {
Add(context.Context, *entities.NodeSignature) error
}
type OracleData ¶
type OracleData struct {
// contains filtered or unexported fields
}
func NewOracleData ¶
func NewOracleData(store OracleDataStore) *OracleData
func (*OracleData) Name ¶ added in v0.77.0
func (od *OracleData) Name() string
func (*OracleData) SetVegaTime ¶
func (*OracleData) Types ¶
func (od *OracleData) Types() []events.Type
type OracleDataEvent ¶
type OracleDataEvent interface {
events.Event
OracleData() vegapb.OracleData
}
type OracleDataStore ¶
type OracleDataStore interface {
Add(context.Context, *entities.OracleData) error
}
type OracleSpec ¶
type OracleSpec struct {
// contains filtered or unexported fields
}
func NewOracleSpec ¶
func NewOracleSpec(store OracleSpecStore) *OracleSpec
func (*OracleSpec) Name ¶ added in v0.77.0
func (od *OracleSpec) Name() string
func (*OracleSpec) SetVegaTime ¶
func (*OracleSpec) Types ¶
func (od *OracleSpec) Types() []events.Type
type OracleSpecEvent ¶
type OracleSpecEvent interface {
events.Event
OracleSpec() *vegapb.OracleSpec
}
type OracleSpecStore ¶
type OracleSpecStore interface {
Upsert(context.Context, *entities.OracleSpec) error
}
type Order ¶
type Order struct {
// contains filtered or unexported fields
}
func NewOrder ¶
func NewOrder(store OrderStore, depthService MarketDepthService) *Order
func (*Order) SetVegaTime ¶
type OrderStore ¶
type PaidLiquidityFeesStats ¶ added in v0.73.0
type PaidLiquidityFeesStats struct {
// contains filtered or unexported fields
}
func NewPaidLiquidityFeesStats ¶ added in v0.73.0
func NewPaidLiquidityFeesStats(store PaidLiquidityFeesStatsStore) *PaidLiquidityFeesStats
func (*PaidLiquidityFeesStats) Name ¶ added in v0.77.0
func (r *PaidLiquidityFeesStats) Name() string
func (*PaidLiquidityFeesStats) SetVegaTime ¶ added in v0.73.0
func (*PaidLiquidityFeesStats) Types ¶ added in v0.73.0
func (r *PaidLiquidityFeesStats) Types() []events.Type
type PaidLiquidityFeesStatsEvent ¶ added in v0.73.0
type PaidLiquidityFeesStatsEvent interface {
events.Event
PaidLiquidityFeesStats() *eventspb.PaidLiquidityFeesStats
}
type PaidLiquidityFeesStatsStore ¶ added in v0.73.0
type PaidLiquidityFeesStatsStore interface {
Add(ctx context.Context, stats *entities.PaidLiquidityFeesStats) error
}
type Party ¶
type Party struct {
// contains filtered or unexported fields
}
func NewParty ¶
func NewParty(store PartyStore) *Party
func (*Party) SetVegaTime ¶
type PartyActivityStreak ¶ added in v0.73.0
type PartyActivityStreak struct {
// contains filtered or unexported fields
}
func NewPartyActivityStreak ¶ added in v0.73.0
func NewPartyActivityStreak(store PartyActivityStreakStore) *PartyActivityStreak
func (*PartyActivityStreak) Name ¶ added in v0.77.0
func (pas *PartyActivityStreak) Name() string
func (*PartyActivityStreak) SetVegaTime ¶ added in v0.73.0
func (*PartyActivityStreak) Types ¶ added in v0.73.0
func (pas *PartyActivityStreak) Types() []events.Type
type PartyActivityStreakEvent ¶ added in v0.73.0
type PartyActivityStreakEvent interface {
events.Event
PartyActivityStreak() *eventspb.PartyActivityStreak
}
type PartyActivityStreakStore ¶ added in v0.73.0
type PartyActivityStreakStore interface {
Add(context.Context, *entities.PartyActivityStreak) error
}
type PartyMarginModeUpdatedEvent ¶ added in v0.74.0
type PartyMarginModeUpdatedEvent interface {
events.Event
PartyMarginModeUpdated() *eventspb.PartyMarginModeUpdated
}
type PartyProfileUpdatedEvent ¶ added in v0.74.0
type PartyProfileUpdatedEvent interface {
events.Event
PartyProfileUpdated() *eventspb.PartyProfileUpdated
}
type PartyStore ¶
type Position ¶
type Position struct {
// contains filtered or unexported fields
}
func NewPosition ¶
func NewPosition(store PositionStore, mktSvc MarketSvc) *Position
func (*Position) SetVegaTime ¶
type PositionStore ¶
type PositionStore interface {
Add(context.Context, entities.Position) error
GetByMarket(ctx context.Context, marketID string) ([]entities.Position, error)
GetByMarketAndParty(ctx context.Context, marketID string, partyID string) (entities.Position, error)
GetByMarketAndParties(ctx context.Context, marketID string, parties []string) ([]entities.Position, error)
Flush(ctx context.Context) error
}
type Proposal ¶
type Proposal struct {
// contains filtered or unexported fields
}
func NewProposal ¶
func NewProposal(store proposalAdder) *Proposal
func (*Proposal) SetVegaTime ¶
type ProposalEvent ¶
type ProtocolUpgrade ¶ added in v0.61.0
type ProtocolUpgrade struct {
// contains filtered or unexported fields
}
func NewProtocolUpgrade ¶ added in v0.61.0
func NewProtocolUpgrade(store pupAdder) *ProtocolUpgrade
func (*ProtocolUpgrade) Name ¶ added in v0.77.0
func (ps *ProtocolUpgrade) Name() string
func (*ProtocolUpgrade) SetVegaTime ¶ added in v0.61.0
func (*ProtocolUpgrade) Types ¶ added in v0.61.0
func (ps *ProtocolUpgrade) Types() []events.Type
type ProtocolUpgradeProposalEvent ¶ added in v0.61.0
type ProtocolUpgradeProposalEvent interface {
events.Event
ProtocolUpgradeProposalEvent() eventspb.ProtocolUpgradeEvent
}
type RefereeJoinedReferralSetEvent ¶ added in v0.73.0
type RefereeJoinedReferralSetEvent interface {
events.Event
GetProtoEvent() *eventspb.RefereeJoinedReferralSet
}
type RefereeJoinedTeam ¶ added in v0.73.0
type RefereeJoinedTeam interface {
events.Event
RefereeJoinedTeam() *eventspb.RefereeJoinedTeam
}
type RefereeSwitchedTeam ¶ added in v0.73.0
type RefereeSwitchedTeam interface {
events.Event
RefereeSwitchedTeam() *eventspb.RefereeSwitchedTeam
}
type ReferralProgram ¶ added in v0.73.0
type ReferralProgram struct {
// contains filtered or unexported fields
}
func NewReferralProgram ¶ added in v0.73.0
func NewReferralProgram(store ReferralStore) *ReferralProgram
func (*ReferralProgram) Name ¶ added in v0.77.0
func (rp *ReferralProgram) Name() string
func (*ReferralProgram) SetVegaTime ¶ added in v0.73.0
func (*ReferralProgram) Types ¶ added in v0.73.0
func (rp *ReferralProgram) Types() []events.Type
type ReferralProgramEndedEvent ¶ added in v0.73.0
type ReferralProgramEndedEvent interface {
events.Event
GetReferralProgramEnded() *eventspb.ReferralProgramEnded
}
type ReferralProgramStartedEvent ¶ added in v0.73.0
type ReferralProgramStartedEvent interface {
events.Event
GetReferralProgramStarted() *eventspb.ReferralProgramStarted
}
type ReferralProgramUpdatedEvent ¶ added in v0.73.0
type ReferralProgramUpdatedEvent interface {
events.Event
GetReferralProgramUpdated() *eventspb.ReferralProgramUpdated
}
type ReferralSetCreatedEvent ¶ added in v0.73.0
type ReferralSetCreatedEvent interface {
events.Event
GetProtoEvent() *eventspb.ReferralSetCreated
}
type ReferralSetStatsUpdatedEvent ¶ added in v0.73.0
type ReferralSetStatsUpdatedEvent interface {
events.Event
GetProtoEvent() *eventspb.ReferralSetStatsUpdated
}
type ReferralSets ¶ added in v0.73.0
type ReferralSets struct {
// contains filtered or unexported fields
}
func NewReferralSets ¶ added in v0.73.0
func NewReferralSets(store ReferralSetsStore) *ReferralSets
func (*ReferralSets) Name ¶ added in v0.77.0
func (rs *ReferralSets) Name() string
func (*ReferralSets) SetVegaTime ¶ added in v0.73.0
func (*ReferralSets) Types ¶ added in v0.73.0
func (rs *ReferralSets) Types() []events.Type
type ReferralSetsStore ¶ added in v0.73.0
type ReferralSetsStore interface {
AddReferralSet(ctx context.Context, referralSet *entities.ReferralSet) error
RefereeJoinedReferralSet(ctx context.Context, referee *entities.ReferralSetReferee) error
AddReferralSetStats(ctx context.Context, stats *entities.ReferralSetStats) error
}
type ReferralStore ¶ added in v0.73.0
type ReferralStore interface {
AddReferralProgram(ctx context.Context, referral *entities.ReferralProgram) error
UpdateReferralProgram(ctx context.Context, referral *entities.ReferralProgram) error
EndReferralProgram(ctx context.Context, version uint64, endedAt time.Time, vegaTime time.Time, seqNum uint64) error
}
type Reward ¶
type Reward struct {
// contains filtered or unexported fields
}
func NewReward ¶
func NewReward(store RewardStore) *Reward
func (*Reward) SetVegaTime ¶
type RewardPayoutEvent ¶
type RewardPayoutEvent interface {
events.Event
RewardPayoutEvent() eventspb.RewardPayoutEvent
}
type RiskFactor ¶
type RiskFactor struct {
// contains filtered or unexported fields
}
func NewRiskFactor ¶
func NewRiskFactor(store RiskFactorStore) *RiskFactor
func (*RiskFactor) Name ¶ added in v0.77.0
func (rf *RiskFactor) Name() string
func (*RiskFactor) SetVegaTime ¶
func (*RiskFactor) Types ¶
func (rf *RiskFactor) Types() []events.Type
type RiskFactorEvent ¶
type RiskFactorEvent interface {
events.Event
RiskFactor() vega.RiskFactor
}
type RiskFactorStore ¶
type RiskFactorStore interface {
Upsert(context.Context, *entities.RiskFactor) error
}
type SnapshotData ¶ added in v0.65.0
type SnapshotData struct {
// contains filtered or unexported fields
}
func NewSnapshotData ¶ added in v0.65.0
func NewSnapshotData(store snapAdder) *SnapshotData
func (*SnapshotData) Name ¶ added in v0.77.0
func (s *SnapshotData) Name() string
func (*SnapshotData) SetVegaTime ¶ added in v0.65.0
func (*SnapshotData) Types ¶ added in v0.65.0
func (s *SnapshotData) Types() []events.Type
type StakeLinking ¶
type StakeLinking struct {
// contains filtered or unexported fields
}
func NewStakeLinking ¶
func NewStakeLinking(store StakeLinkingStore) *StakeLinking
func (*StakeLinking) Name ¶ added in v0.77.0
func (sl *StakeLinking) Name() string
func (*StakeLinking) SetVegaTime ¶
func (*StakeLinking) Types ¶
func (sl *StakeLinking) Types() []events.Type
type StakeLinkingEvent ¶
type StakeLinkingEvent interface {
events.Event
StakeLinking() eventspb.StakeLinking
}
type StakeLinkingStore ¶
type StakeLinkingStore interface {
Upsert(ctx context.Context, linking *entities.StakeLinking) error
}
type StopOrder ¶ added in v0.72.0
type StopOrder struct {
// contains filtered or unexported fields
}
func NewStopOrder ¶ added in v0.72.0
func NewStopOrder(store StopOrderStore) *StopOrder
func (*StopOrder) SetVegaTime ¶ added in v0.72.0
type StopOrderEvent ¶ added in v0.72.0
type StopOrderEvent interface {
events.Event
StopOrder() *pbevents.StopOrderEvent
}
type StopOrderStore ¶ added in v0.72.0
type TeamCreatedEvent ¶ added in v0.73.0
type TeamCreatedEvent interface {
events.Event
TeamCreated() *eventspb.TeamCreated
}
type TeamStore ¶ added in v0.73.0
type TeamStore interface {
AddTeam(ctx context.Context, team *entities.Team) error
UpdateTeam(ctx context.Context, team *entities.TeamUpdated) error
RefereeJoinedTeam(ctx context.Context, referee *entities.TeamMember) error
RefereeSwitchedTeam(ctx context.Context, referee *entities.RefereeTeamSwitch) error
TeamsStatsUpdated(ctx context.Context, stats *eventspb.TeamsStatsUpdated) error
}
type TeamUpdateEvent ¶ added in v0.73.0
type TeamUpdateEvent interface {
events.Event
TeamUpdated() *eventspb.TeamUpdated
}
type Teams ¶ added in v0.73.0
type Teams struct {
// contains filtered or unexported fields
}
func (*Teams) SetVegaTime ¶ added in v0.73.0
type TeamsStatsUpdated ¶ added in v0.74.0
type TeamsStatsUpdated interface {
events.Event
TeamsStatsUpdated() *eventspb.TeamsStatsUpdated
}
type TimeWeightedNotionalPosition ¶ added in v0.75.0
type TimeWeightedNotionalPosition struct {
// contains filtered or unexported fields
}
func NewTimeWeightedNotionalPosition ¶ added in v0.75.0
func NewTimeWeightedNotionalPosition(store TimeWeightedNotionalPositionStore) *TimeWeightedNotionalPosition
func (*TimeWeightedNotionalPosition) Name ¶ added in v0.77.0
func (tw *TimeWeightedNotionalPosition) Name() string
func (*TimeWeightedNotionalPosition) SetVegaTime ¶ added in v0.75.0
func (*TimeWeightedNotionalPosition) Types ¶ added in v0.75.0
func (tw *TimeWeightedNotionalPosition) Types() []events.Type
type TimeWeightedNotionalPositionStore ¶ added in v0.75.0
type TimeWeightedNotionalPositionStore interface {
Upsert(ctx context.Context, twNotionalPos entities.TimeWeightedNotionalPosition) error
}
type TimeWeightedNotionalPositionUpdatedEvent ¶ added in v0.75.0
type TimeWeightedNotionalPositionUpdatedEvent interface {
events.Event
TimeWeightedNotionalPositionUpdated() *eventspb.TimeWeightedNotionalPositionUpdated
}
type TradeSubscriber ¶
type TradeSubscriber struct {
// contains filtered or unexported fields
}
func NewTradesSubscriber ¶
func NewTradesSubscriber(store TradesStore) *TradeSubscriber
func (*TradeSubscriber) Name ¶ added in v0.77.0
func (ts *TradeSubscriber) Name() string
func (*TradeSubscriber) SetVegaTime ¶
func (*TradeSubscriber) Types ¶
func (ts *TradeSubscriber) Types() []events.Type
type TradesStore ¶
type TransactionResultEvent ¶ added in v0.74.0
type TransactionResultEvent interface {
events.Event
TransactionResult() events.TransactionResult
}
type TransactionResults ¶ added in v0.74.0
type TransactionResults struct {
// contains filtered or unexported fields
}
func NewTransactionResults ¶ added in v0.74.0
func NewTransactionResults(log *logging.Logger) *TransactionResults
func (*TransactionResults) Name ¶ added in v0.77.0
func (tr *TransactionResults) Name() string
func (*TransactionResults) Observe ¶ added in v0.74.0
func (tr *TransactionResults) Observe(ctx context.Context, retries int, partyIDs []string, hashes []string, status *bool, ) (transactions <-chan []events.TransactionResult, ref uint64)
func (*TransactionResults) SetVegaTime ¶ added in v0.74.0
func (*TransactionResults) Types ¶ added in v0.74.0
func (tr *TransactionResults) Types() []events.Type
type Transfer ¶
type Transfer struct {
// contains filtered or unexported fields
}
func NewTransfer ¶
func NewTransfer(store TransferStore, accountSource AccountSource) *Transfer
func (*Transfer) SetVegaTime ¶
type TransferEvent ¶
type TransferFeesDiscountUpdateEvent ¶ added in v0.74.0
type TransferFeesDiscountUpdateEvent interface {
events.Event
TransferFeesDiscount() eventspb.TransferFeesDiscount
}
type TransferFeesEvent ¶ added in v0.73.0
type TransferFeesEvent interface {
events.Event
TransferFees() eventspb.TransferFees
}
type TransferResponse ¶
type TransferResponse struct {
// contains filtered or unexported fields
}
func NewTransferResponse ¶
func NewTransferResponse(ledger Ledger, accounts AccountService) *TransferResponse
func (*TransferResponse) Name ¶ added in v0.77.0
func (t *TransferResponse) Name() string
func (*TransferResponse) SetVegaTime ¶
func (*TransferResponse) Types ¶
func (t *TransferResponse) Types() []events.Type
type TransferStore ¶
type ValidatorRankingScoreEvent ¶
type ValidatorRankingScoreEvent interface {
events.Event
ValidatorRankingEvent() eventspb.ValidatorRankingEvent
}
type ValidatorRewardScoreEvent ¶
type ValidatorRewardScoreEvent interface {
events.Event
ValidatorScoreEvent() eventspb.ValidatorScoreEvent
}
type ValidatorUpdateEvent ¶
type ValidatorUpdateEvent interface {
events.Event
ValidatorUpdate() eventspb.ValidatorUpdate
}
type VestingBalancesStore ¶ added in v0.73.0
type VestingBalancesStore interface {
Add(ctx context.Context, balance entities.PartyVestingBalance) error
}
type VestingBalancesSummary ¶ added in v0.73.0
type VestingBalancesSummary struct {
// contains filtered or unexported fields
}
func NewVestingBalancesSummary ¶ added in v0.73.0
func NewVestingBalancesSummary( vestingStore VestingBalancesStore, lockedStore LockedBalancesStore, ) *VestingBalancesSummary
func (*VestingBalancesSummary) Name ¶ added in v0.77.0
func (v *VestingBalancesSummary) Name() string
func (*VestingBalancesSummary) SetVegaTime ¶ added in v0.73.0
func (*VestingBalancesSummary) Types ¶ added in v0.73.0
func (v *VestingBalancesSummary) Types() []events.Type
type VestingBalancesSummaryEvent ¶ added in v0.73.0
type VestingBalancesSummaryEvent interface {
events.Event
VestingBalancesSummary() *eventspb.VestingBalancesSummary
}
type VestingStatsUpdated ¶ added in v0.73.0
type VestingStatsUpdated struct {
// contains filtered or unexported fields
}
func NewVestingStatsUpdated ¶ added in v0.73.0
func NewVestingStatsUpdated(store VestingStatsUpdatedStore) *VestingStatsUpdated
func (*VestingStatsUpdated) Name ¶ added in v0.77.0
func (pas *VestingStatsUpdated) Name() string
func (*VestingStatsUpdated) SetVegaTime ¶ added in v0.73.0
func (*VestingStatsUpdated) Types ¶ added in v0.73.0
func (pas *VestingStatsUpdated) Types() []events.Type
type VestingStatsUpdatedEvent ¶ added in v0.73.0
type VestingStatsUpdatedEvent interface {
events.Event
VestingStatsUpdated() *eventspb.VestingStatsUpdated
}
type VestingStatsUpdatedStore ¶ added in v0.73.0
type VestingStatsUpdatedStore interface {
Add(context.Context, *entities.VestingStatsUpdated) error
}
type VolumeDiscountProgram ¶ added in v0.73.0
type VolumeDiscountProgram struct {
// contains filtered or unexported fields
}
func NewVolumeDiscountProgram ¶ added in v0.73.0
func NewVolumeDiscountProgram(store VolumeDiscountStore) *VolumeDiscountProgram
func (*VolumeDiscountProgram) Name ¶ added in v0.77.0
func (rp *VolumeDiscountProgram) Name() string
func (*VolumeDiscountProgram) SetVegaTime ¶ added in v0.73.0
func (*VolumeDiscountProgram) Types ¶ added in v0.73.0
func (rp *VolumeDiscountProgram) Types() []events.Type
type VolumeDiscountProgramEndedEvent ¶ added in v0.73.0
type VolumeDiscountProgramEndedEvent interface {
events.Event
GetVolumeDiscountProgramEnded() *eventspb.VolumeDiscountProgramEnded
}
type VolumeDiscountProgramStartedEvent ¶ added in v0.73.0
type VolumeDiscountProgramStartedEvent interface {
events.Event
GetVolumeDiscountProgramStarted() *eventspb.VolumeDiscountProgramStarted
}
type VolumeDiscountProgramUpdatedEvent ¶ added in v0.73.0
type VolumeDiscountProgramUpdatedEvent interface {
events.Event
GetVolumeDiscountProgramUpdated() *eventspb.VolumeDiscountProgramUpdated
}
type VolumeDiscountStatsUpdated ¶ added in v0.73.0
type VolumeDiscountStatsUpdated struct {
// contains filtered or unexported fields
}
func NewVolumeDiscountStatsUpdated ¶ added in v0.73.0
func NewVolumeDiscountStatsUpdated(store VolumeDiscountStatsUpdatedStore) *VolumeDiscountStatsUpdated
func (*VolumeDiscountStatsUpdated) Name ¶ added in v0.77.0
func (pas *VolumeDiscountStatsUpdated) Name() string
func (*VolumeDiscountStatsUpdated) SetVegaTime ¶ added in v0.73.0
func (*VolumeDiscountStatsUpdated) Types ¶ added in v0.73.0
func (pas *VolumeDiscountStatsUpdated) Types() []events.Type
type VolumeDiscountStatsUpdatedEvent ¶ added in v0.73.0
type VolumeDiscountStatsUpdatedEvent interface {
events.Event
VolumeDiscountStatsUpdated() *eventspb.VolumeDiscountStatsUpdated
}
type VolumeDiscountStatsUpdatedStore ¶ added in v0.73.0
type VolumeDiscountStatsUpdatedStore interface {
Add(context.Context, *entities.VolumeDiscountStats) error
}
type VolumeDiscountStore ¶ added in v0.73.0
type VolumeDiscountStore interface {
AddVolumeDiscountProgram(ctx context.Context, referral *entities.VolumeDiscountProgram) error
UpdateVolumeDiscountProgram(ctx context.Context, referral *entities.VolumeDiscountProgram) error
EndVolumeDiscountProgram(ctx context.Context, version uint64, endedAt time.Time, vegaTime time.Time, seqNum uint64) error
}
type VolumeRebateProgram ¶ added in v0.77.8
type VolumeRebateProgram struct {
// contains filtered or unexported fields
}
func NewVolumeRebateProgram ¶ added in v0.77.8
func NewVolumeRebateProgram(store VolumeRebateStore) *VolumeRebateProgram
func (*VolumeRebateProgram) Name ¶ added in v0.77.8
func (rp *VolumeRebateProgram) Name() string
func (*VolumeRebateProgram) SetVegaTime ¶ added in v0.77.8
func (*VolumeRebateProgram) Types ¶ added in v0.77.8
func (rp *VolumeRebateProgram) Types() []events.Type
type VolumeRebateProgramEndedEvent ¶ added in v0.77.8
type VolumeRebateProgramEndedEvent interface {
events.Event
GetVolumeRebateProgramEnded() *eventspb.VolumeRebateProgramEnded
}
type VolumeRebateProgramStartedEvent ¶ added in v0.77.8
type VolumeRebateProgramStartedEvent interface {
events.Event
GetVolumeRebateProgramStarted() *eventspb.VolumeRebateProgramStarted
}
type VolumeRebateProgramUpdatedEvent ¶ added in v0.77.8
type VolumeRebateProgramUpdatedEvent interface {
events.Event
GetVolumeRebateProgramUpdated() *eventspb.VolumeRebateProgramUpdated
}
type VolumeRebateStatsUpdated ¶ added in v0.77.8
type VolumeRebateStatsUpdated struct {
// contains filtered or unexported fields
}
func NewVolumeRebateStatsUpdated ¶ added in v0.77.8
func NewVolumeRebateStatsUpdated(store VolumeRebateStatsUpdatedStore) *VolumeRebateStatsUpdated
func (*VolumeRebateStatsUpdated) Name ¶ added in v0.77.8
func (pas *VolumeRebateStatsUpdated) Name() string
func (*VolumeRebateStatsUpdated) SetVegaTime ¶ added in v0.77.8
func (*VolumeRebateStatsUpdated) Types ¶ added in v0.77.8
func (pas *VolumeRebateStatsUpdated) Types() []events.Type
type VolumeRebateStatsUpdatedEvent ¶ added in v0.77.8
type VolumeRebateStatsUpdatedEvent interface {
events.Event
VolumeRebateStatsUpdated() *eventspb.VolumeRebateStatsUpdated
}
type VolumeRebateStatsUpdatedStore ¶ added in v0.77.8
type VolumeRebateStatsUpdatedStore interface {
Add(context.Context, *entities.VolumeRebateStats) error
}
type VolumeRebateStore ¶ added in v0.77.8
type VolumeRebateStore interface {
AddVolumeRebateProgram(ctx context.Context, referral *entities.VolumeRebateProgram) error
UpdateVolumeRebateProgram(ctx context.Context, referral *entities.VolumeRebateProgram) error
EndVolumeRebateProgram(ctx context.Context, version uint64, endedAt time.Time, vegaTime time.Time, seqNum uint64) error
}
type Vote ¶
type Vote struct {
// contains filtered or unexported fields
}
func NewVote ¶
func NewVote(store GovernanceService) *Vote
func (*Vote) SetVegaTime ¶
type Withdrawal ¶
type Withdrawal struct {
// contains filtered or unexported fields
}
func NewWithdrawal ¶
func NewWithdrawal(store WithdrawalStore) *Withdrawal
func (*Withdrawal) Name ¶ added in v0.77.0
func (w *Withdrawal) Name() string
func (*Withdrawal) SetVegaTime ¶
func (*Withdrawal) Types ¶
func (w *Withdrawal) Types() []events.Type
type WithdrawalEvent ¶
type WithdrawalEvent interface {
events.Event
Withdrawal() vega.Withdrawal
}
type WithdrawalStore ¶
type WithdrawalStore interface {
Upsert(context.Context, *entities.Withdrawal) error
}
Source Files
¶
- account.go
- amm_pool.go
- asset.go
- checkpoint.go
- delegations.go
- deposits.go
- epoch.go
- erc20_multisig_event.go
- ethereum_key_rotation.go
- fees_stats.go
- funding_payments.go
- funding_period.go
- game_scores.go
- key_rotation.go
- ledger_movement.go
- liquidity_provision.go
- margin_levels.go
- margin_mode_events.go
- margin_modes.go
- market_created.go
- market_data.go
- market_updated.go
- network_limits.go
- network_parameters.go
- node.go
- notary.go
- oracle_data.go
- oracle_spec.go
- order.go
- paid_liquidity_fee_stats.go
- party.go
- party_activity_streak.go
- position.go
- proposal.go
- protocol_upgrade_proposal.go
- referral_programs.go
- referral_sets.go
- rewards.go
- risk_factors.go
- snapshot_data.go
- stake_linking.go
- stop_orders.go
- subscriber.go
- teams.go
- time_weighted_notional_position.go
- trades.go
- transaction_results.go
- transfers.go
- vesting_stats_updated.go
- vesting_summary.go
- volume_discount_programs.go
- volume_discount_stats_updated.go
- volume_rebate_programs.go
- volume_rebate_stats_updated.go
- vote.go
- withdrawals.go
Click to show internal directories.
Click to hide internal directories.