txlogcollector

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxLogCollector

type TxLogCollector struct {
	FromAddresses []common.Address
	LogIndices    []int
	Logs          map[int]*types.Log
	RWMu          *sync.RWMutex
	Style         lipgloss.Style
	ToAddresses   []common.Address
	TokenIDs      []*big.Int
	Tx            *types.Transaction
	TxID          common.Hash
}

func NewTxLogCollector

func NewTxLogCollector(log *types.Log) *TxLogCollector

func (*TxLogCollector) AddLog

func (transco *TxLogCollector) AddLog(log *types.Log)

func (*TxLogCollector) UniqueLogIndices

func (transco *TxLogCollector) UniqueLogIndices() int

func (*TxLogCollector) UniqueTokenIDs

func (transco *TxLogCollector) UniqueTokenIDs() int

Jump to

Keyboard shortcuts

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