Documentation ¶
Index ¶
- Variables
- func GasTicker(gasTicker *time.Ticker, providerPool *provider.Pool, queueOutput chan string)
- type Gloomberg
- func (m Gloomberg) CreatePeriodicTask(name string, runEvery time.Duration, run func(*Gloomberg))
- func (m Gloomberg) CreateScheduledTask(name string, runAt time.Time, run func(*Gloomberg))
- func (gb *Gloomberg) Pr(message string)
- func (gb *Gloomberg) PrDMod(mod string, message string)
- func (gb *Gloomberg) PrDModf(mod string, format string, a ...any)
- func (gb *Gloomberg) PrMod(mod string, message string)
- func (gb *Gloomberg) PrModf(mod string, format string, a ...any)
- func (gb *Gloomberg) PrVMod(mod string, message string)
- func (gb *Gloomberg) PrVModf(mod string, format string, a ...any)
- func (gb *Gloomberg) PrWarn(message string)
- func (gb *Gloomberg) PrWithKeywordAndIcon(icon string, keyword string, message string)
- func (gb *Gloomberg) Prf(format string, a ...any)
- func (gb *Gloomberg) SendSlugsToServer()
- func (eh Gloomberg) SubscribNewBlocks() chan uint64
- func (eh Gloomberg) SubscribeCollectionOffer() chan *models.CollectionOffer
- func (eh Gloomberg) SubscribeItemListed() chan *models.ItemListed
- func (eh Gloomberg) SubscribeItemReceivedBid() chan *models.ItemReceivedBid
- func (eh Gloomberg) SubscribePrintToTerminal() chan string
- func (eh Gloomberg) SubscribeSeawatcherMgmt() chan *models.MgmtEvent
- func (eh Gloomberg) SubscribeTokenTransactions() chan *totra.TokenTransaction
- func (eh Gloomberg) SubscribeTxWithLogs() chan *chawagoModels.TxWithLogs
- type Stats
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWalletBalance = fmt.Errorf("error fetching wallet balance")
ErrWalletBalance given for issues while fetching wallet balances.
Functions ¶
Types ¶
type Gloomberg ¶
type Gloomberg struct { // Nodes *nodes.Nodes ProviderPool *provider.Pool Watcher *watch.Watcher CollectionDB *collections.CollectionDB OwnWallets *wallet.Wallets Stats *Stats Ranks map[common.Address]map[int64]degendb.TokenRank Rdb rueidis.Client Rueidi *rueidica.Rueidica QueueSlugs chan common.Address // contains filtered or unexported fields }
func (Gloomberg) CreatePeriodicTask ¶ added in v0.8.2
func (Gloomberg) CreateScheduledTask ¶ added in v0.8.2
func (*Gloomberg) PrDMod ¶ added in v0.8.2
PrDMod prints messages from gloomberg to the terminal if debug mode is enabled.
func (*Gloomberg) PrDModf ¶ added in v0.8.2
PrDModf formats and prints messages from gloomberg to the terminal if debug mode is enabled.
func (*Gloomberg) PrModf ¶ added in v0.8.2
PrModf formats and prints messages from gloomberg to the terminal.
func (*Gloomberg) PrVMod ¶ added in v0.8.2
PrVMod prints messages from gloomberg to the terminal if verbose mode is enabled.
func (*Gloomberg) PrVModf ¶ added in v0.8.2
PrVModf formats and prints messages from gloomberg to the terminal if verbose mode is enabled.
func (*Gloomberg) PrWithKeywordAndIcon ¶ added in v0.7.5
func (*Gloomberg) Prf ¶ added in v0.7.6
Prf formats and prints messages from gloomberg to the terminal.
func (*Gloomberg) SendSlugsToServer ¶
func (gb *Gloomberg) SendSlugsToServer()
func (Gloomberg) SubscribNewBlocks ¶ added in v0.7.3
func (eh Gloomberg) SubscribNewBlocks() chan uint64
func (Gloomberg) SubscribeCollectionOffer ¶ added in v0.7.3
func (eh Gloomberg) SubscribeCollectionOffer() chan *models.CollectionOffer
func (Gloomberg) SubscribeItemListed ¶ added in v0.7.1
func (eh Gloomberg) SubscribeItemListed() chan *models.ItemListed
func (Gloomberg) SubscribeItemReceivedBid ¶ added in v0.7.3
func (eh Gloomberg) SubscribeItemReceivedBid() chan *models.ItemReceivedBid
func (Gloomberg) SubscribePrintToTerminal ¶ added in v0.7.1
func (eh Gloomberg) SubscribePrintToTerminal() chan string
func (Gloomberg) SubscribeSeawatcherMgmt ¶ added in v0.8.0
func (Gloomberg) SubscribeTokenTransactions ¶ added in v0.7.3
func (eh Gloomberg) SubscribeTokenTransactions() chan *totra.TokenTransaction
func (Gloomberg) SubscribeTxWithLogs ¶ added in v0.7.1
func (eh Gloomberg) SubscribeTxWithLogs() chan *chawagoModels.TxWithLogs
type Stats ¶ added in v0.9.1
type Stats struct { RecentEvents mapset.Set[*degendb.RecentEvent] OwnEventsHistory []string EventHistory []*totra.HistoryTokenTransaction NewLogs uint64 NewListings uint64 EventsToFormat uint64 OutputLines uint64 // contains filtered or unexported fields }
func (*Stats) StartTicker ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.