IndexedVaultFlowLog

Documentation for eth_defi.vault.flow_events.IndexedVaultFlowLog Python class.

class IndexedVaultFlowLog

Bases: object

Raw indexed log data returned by Hypersync for vault flow discovery.

Attributes summary

address

Contract address that emitted the log.

topics

Log topics as hex strings.

data

ABI-encoded non-indexed event data.

block_number

Emitting block number.

block_timestamp

Optional block timestamp as naive UTC.

transaction_hash

Transaction hash as a hex string.

log_index

Log index inside the transaction.

Methods summary

__init__(address, topics, data, ...)

address: eth_typing.evm.HexAddress

Contract address that emitted the log.

topics: list[str | None]

Log topics as hex strings.

data: str

ABI-encoded non-indexed event data.

block_number: int

Emitting block number.

block_timestamp: Optional[datetime.datetime]

Optional block timestamp as naive UTC.

transaction_hash: str

Transaction hash as a hex string.

log_index: int

Log index inside the transaction.

__init__(address, topics, data, block_number, block_timestamp, transaction_hash, log_index)
Parameters
Return type

None