erc_4626.scan

Documentation for eth_defi.erc_4626.scan Python module.

Turn vault discoveries to human-readable and machine-readable tables.

Functions

create_vault_scan_record(web3, detection, ...)

Create a row in the result table.

create_vault_scan_record_subprocess(...)

Process remaining vault data reads using multiprocessing

create_vault_scan_record(web3, detection, block_identifier, token_cache)

Create a row in the result table.

  • Connect to the chain to read further vault metadata via JSON-RPC calls

Returns

Dict for human-readable tables, with internal columns prefixed with å underscore

Parameters
Return type

dict

create_vault_scan_record_subprocess(web3factory, detection, block_number)

Process remaining vault data reads using multiprocessing

  • Runs in a subprocess

  • See create_vault_scan_record()

  • Because Vault classes does reads using Python instance objects in serial manner, we want to speed up by doing many vaults parallel

Parameters
Return type

dict