evmtokenbalances

package
v0.7.20 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package evmtokenbalances implements the EVM token balances analyzer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyzer added in v0.1.13

func NewAnalyzer(
	runtime common.Runtime,
	cfg config.ItemBasedAnalyzerConfig,
	sdkPT *sdkConfig.ParaTime,
	sourceClient nodeapi.RuntimeApiLite,
	target storage.TargetStorage,
	logger *log.Logger,
) (analyzer.Analyzer, error)

Types

type StaleTokenBalance

type StaleTokenBalance struct {
	TokenAddr                  string
	AccountAddr                string
	Type                       common.TokenType
	Balance                    *big.Int
	TokenAddrContextIdentifier string
	TokenAddrContextVersion    int
	TokenAddrData              []byte
	DownloadRound              uint64

	// Not necessary for native tokens.
	AccountAddrContextIdentifier *string
	AccountAddrContextVersion    *int
	AccountAddrData              []byte
}

Jump to

Keyboard shortcuts

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