ERC4262VaultDetection
Documentation for eth_defi.erc_4626.core.ERC4262VaultDetection Python class.
- class ERC4262VaultDetection
Bases:
objectA ERC-4626 detection.
Attributes summary
Chain
Vault contract address
When this vault was first seen
When this vault was first seen
Detected features fo this vault
When this entry was scanned on chain
Number of on-chain deposit events observed.
Number of on-chain redeem events observed.
Number of vault configuration events observed.
Methods summary
__init__(chain, address, ...[, ...])get_spec()Chain id/address tuple identifying this vault.
Are we asynchronous vault
Are we asynchronous vault
Did we correctly identify the protocol?
- chain: int
Chain
- address: eth_typing.evm.HexAddress
Vault contract address
- first_seen_at_block: int
When this vault was first seen
- first_seen_at: datetime.datetime
When this vault was first seen
- features: set[eth_defi.erc_4626.core.ERC4626Feature]
Detected features fo this vault
- updated_at: datetime.datetime
When this entry was scanned on chain
- deposit_count: int
Number of on-chain deposit events observed.
Zero for native protocols (GRVT, Lighter, Hibachi) that do not support on-chain deposit/redeem event tracking.
- redeem_count: int
Number of on-chain redeem events observed.
Zero for native protocols that do not support on-chain event tracking.
- configuration_count: int
Number of vault configuration events observed.
Used by T3tris migration-pool vaults, which may never emit vault-local deposit events.
getattraccess in activity filtering keeps old persisted detections compatible after this slot was added.
- get_spec()
Chain id/address tuple identifying this vault.
- Return type
- is_protocol_identifiable()
Did we correctly identify the protocol?
- Return type
- is_erc_7540()
Are we asynchronous vault
- Return type
- is_erc_7575()
Are we asynchronous vault
- Return type
- __init__(chain, address, first_seen_at_block, first_seen_at, features, updated_at, deposit_count, redeem_count, configuration_count=0)
- Parameters
chain (int) –
address (eth_typing.evm.HexAddress) –
first_seen_at_block (int) –
first_seen_at (datetime.datetime) –
features (set[eth_defi.erc_4626.core.ERC4626Feature]) –
updated_at (datetime.datetime) –
deposit_count (int) –
redeem_count (int) –
configuration_count (int) –
- Return type
None