MellowFactoryCandidate
Documentation for eth_defi.mellow.discovery.MellowFactoryCandidate Python class.
- class MellowFactoryCandidate
Bases:
objectMellow vault candidate decoded from
Factory.Created.- Parameters
chain – EVM chain id.
address – Canonical Mellow
Vaultproxy address.factory_address – Factory address that emitted the creation log.
factory_version – Factory deployment version.
owner – Owner argument from the factory event.
created_block – Block where the vault was created.
created_at – Block timestamp as naive UTC datetime.
transaction_hash – Creation transaction hash.
log_index – Log index in the creation transaction.
init_params – Raw ABI-encoded init parameters.
Attributes summary
chainaddressfactory_addressfactory_versionownercreated_blockcreated_attransaction_hashlog_indexinit_paramsMethods summary
__init__(chain, address, factory_address, ...)- __init__(chain, address, factory_address, factory_version, owner, created_block, created_at, transaction_hash, log_index, init_params)
- Parameters
chain (int) –
address (eth_typing.evm.HexAddress) –
factory_address (eth_typing.evm.HexAddress) –
factory_version (int) –
owner (eth_typing.evm.HexAddress) –
created_block (int) –
created_at (datetime.datetime) –
transaction_hash (str) –
log_index (int) –
init_params (bytes) –
- Return type
None