Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

ethutils

Go helpers: addresses, registry load, index walk, balances scanner, simulate, reverted-reason dump.

go get github.com/grassrootseconomics/ethutils

LGPL-3.0. Docs: pkg.go.dev/github.com/grassrootseconomics/ethutils.

Registry

GetGESmartContracts(rpc, registry) resolves registry identifiers. Missing / zero addresses are omitted. Tracker uses this to seed the watchlist.

Identifier bytes32 = ASCII name, right-padded: cast format-bytes32-string AccountIndex.

getAllTokensFromTokenIndex walks entryCount / entry on both TokenIndex and PoolIndex.