Documentation ¶
Index ¶
- Variables
- func GasTicker(gasTicker *time.Ticker, providerPool *provider.Pool, queueOutput chan string)
- type Stats
- func (s *Stats) AddMint(amountTokens int64)
- func (s *Stats) AddSale(amountTokens int64, value *big.Int) float64
- func (s *Stats) Print(queueOutput chan string)
- func (s *Stats) Reset()
- func (s *Stats) StartTicker(intervalPrintStats time.Duration, queueOutput chan string)
- func (s *Stats) UpdateBalances() (*wallet.Wallets, error)
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 Stats ¶
type Stats struct { OwnEventsHistory []string EventHistory []*totra.HistoryTokenTransaction NewLogs uint64 NewListings uint64 EventsToFormat uint64 OutputLines uint64 DiscardedTransactions uint64 DiscardedTransfers uint64 DiscardedLowPrice uint64 DiscardedOtherERC uint64 DiscardedAlreadyKnownTX uint64 DiscardedUnknownCollection uint64 DiscardedMints uint64 // contains filtered or unexported fields }
func (*Stats) StartTicker ¶
Click to show internal directories.
Click to hide internal directories.