IndexedVaultFlowLog
Documentation for eth_defi.vault.flow_events.IndexedVaultFlowLog Python class.
- class IndexedVaultFlowLog
Bases:
objectRaw indexed log data returned by Hypersync for vault flow discovery.
Attributes summary
Contract address that emitted the log.
Log topics as hex strings.
ABI-encoded non-indexed event data.
Emitting block number.
Optional block timestamp as naive UTC.
Transaction hash as a hex string.
Log index inside the transaction.
Methods summary
__init__(address, topics, data, ...)- address: eth_typing.evm.HexAddress
Contract address that emitted the log.
- 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
address (eth_typing.evm.HexAddress) –
data (str) –
block_number (int) –
block_timestamp (Optional[datetime.datetime]) –
transaction_hash (str) –
log_index (int) –
- Return type
None