ERC4262VaultDetection

Documentation for eth_defi.erc_4626.core.ERC4262VaultDetection Python class.

class ERC4262VaultDetection

Bases: object

A ERC-4626 detection.

Attributes summary

chain

address

first_seen_at_block

first_seen_at

features

updated_at

deposit_count

redeem_count

Methods summary

__init__(chain, address, ...)

get_spec()

Chain id/address tuple identifying this vault.

is_erc_7540()

Are we asynchronous vault

is_erc_7575()

Are we asynchronous vault

is_protocol_identifiable()

Did we correctly identify the protocol?

__init__(chain, address, first_seen_at_block, first_seen_at, features, updated_at, deposit_count, redeem_count)
Parameters
Return type

None

get_spec()

Chain id/address tuple identifying this vault.

Return type

eth_defi.vault.base.VaultSpec

is_erc_7540()

Are we asynchronous vault

Return type

bool

is_erc_7575()

Are we asynchronous vault

Return type

bool

is_protocol_identifiable()

Did we correctly identify the protocol?

Return type

bool