create_mellow_factory_candidate

Documentation for eth_defi.mellow.discovery.create_mellow_factory_candidate function.

create_mellow_factory_candidate(web3, chain_id, log, timestamp)

Create a factory candidate from a Hypersync log.

Parameters
  • web3 (web3.main.Web3) – Web3 whose ABI codec is used.

  • chain_id (int) – EVM chain id.

  • log (Any) – Hypersync log object.

  • timestamp (datetime.datetime) – Block timestamp.

Returns

Decoded factory candidate.

Return type

eth_defi.mellow.discovery.MellowFactoryCandidate