get_vault_event_topic_map

Documentation for eth_defi.erc_4626.discovery_base.get_vault_event_topic_map function.

get_vault_event_topic_map(web3)

Build a mapping from topic0 signature to event kind.

Used by discovery implementations to classify events.

Returns

Dict mapping topic0 hex string to VaultEventKind

Return type

dict[str, eth_defi.erc_4626.discovery_base.VaultEventKind]