erc_4626.hypersync_discovery

Documentation for eth_defi.erc_4626.hypersync_discovery Python module.

Find ERC-4626 vaults onchain using HyperSync.

  • Use HyperSync’s index to quickly get ERC-4626 identification events from the chain

  • We do not use raw JSON-RPC, because Etheruem JSON-RPC is badly designed piece of crap for reading data

  • Use tons of heurestics to figure out what’s going on with vaults

  • This is because ERC-4626, like many other ERC standards, are very poorly designed, lacking proper identification events and interface introspection

Classes

HypersyncVaultDiscover

Autoscan the chain for 4626 vaults.

PotentialVaultMatch

Categorise contracts that emit ERC-4626 like events.