get_upshift_multi_asset_discovery_events
Documentation for eth_defi.erc_4626.discovery_base.get_upshift_multi_asset_discovery_events function.
- get_upshift_multi_asset_discovery_events(web3)
Get Upshift multi-asset events we use in vault discovery.
Upshift has two vault families relevant for discovery:
Older TokenizedAccount/ERC-4626-like vaults, such as Upshift AZT, emit the standard ERC-4626
Deposit/Withdrawtopics and are already covered byget_standard_erc_4626_vault_discovery_events().Newer
multiAssetVaultvaults emit a custom multi-assetDeposittopic because the event needs to includeassetIn. Some large vaults have not emitted withdrawal events yet due to lock-up/pre-deposit mechanics, so the deposit event alone must be enough to seed a lead. When withdrawal request/processed events exist, we still scan them to keep the diagnostic redemption counter useful.
Upshift vault API reports Tori Ecosystem Vault as
internal_type=multiAssetVault.