glicker

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	OwnEventsHistory []string
	EventHistory     []*collections.Event

	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
}
var (
	StatsTicker *Stats
)

func New

func New(context context.Context, wallets *models.Wallets, numCollections int) *Stats

func (*Stats) AddMint

func (s *Stats) AddMint()

func (*Stats) AddSale

func (s *Stats) AddSale(value *big.Int) float64

func (*Stats) Print

func (s *Stats) Print()

func (*Stats) Reset

func (s *Stats) Reset()

func (*Stats) StartTicker

func (s *Stats) StartTicker(intervalPrintStats time.Duration)

func (*Stats) UpdateBalances

func (s *Stats) UpdateBalances()

Jump to

Keyboard shortcuts

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