chainwatcher

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SlugWorker

func SlugWorker(slugTicker *time.Ticker, slugQueue *chan common.Address)

Types

type ChainWatcher

type ChainWatcher struct {
	Nodes *nodes.Nodes

	CollectionDB *collections.CollectionDB

	WebsocketsServer *ws.WebsocketsServer
	// contains filtered or unexported fields
}

func New

func New(nodes *nodes.Nodes, collectiondb *collections.CollectionDB) *ChainWatcher

func (*ChainWatcher) SubscribeToOrderFulfilled

func (cw *ChainWatcher) SubscribeToOrderFulfilled(queueEvents *chan *collections.Event)

func (*ChainWatcher) SubscribeToSales

func (cw *ChainWatcher) SubscribeToSales(queueEvents *chan *collections.Event)

type GItem

type GItem struct {
	ItemType   uint8          `json:"itemType"`
	Token      common.Address `json:"token"`
	Identifier *big.Int       `json:"identifier"`
	Amount     *big.Int       `json:"amount"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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