factory
Track dynamically created contracts.address: Factory contract address or array of addresses (required)event: Factory creation event ABI (required)parameter: Extract child address(event) => string(required)database: Factory database instance (required)
The
address parameter now supports arrays to track contracts from multiple factories simultaneously.Bugfix:
factory.address now correctly represents the factory contract address (not the child contract address). This ensures accurate identification of which factory created each contract.factorySqliteDatabase
Create SQLite factory database.No longer requires
await - returns the database instance synchronously.portalSqliteCache
Create SQLite cache for Portal responses.Import from
@subsquid/pipes/portal-cache/node instead of @subsquid/pipes/portal-cache.commonAbis
Pre-defined ABIs for standard contracts.Currently, only ERC20 ABIs are available in
commonAbis. For ERC721 and other token standards, use @subsquid/evm-typegen to generate custom ABIs from your contract JSON files.
