build_accountable_settlement_rows_from_logs

Documentation for eth_defi.erc_4626.vault_protocol.accountable.settlement.build_accountable_settlement_rows_from_logs function.

build_accountable_settlement_rows_from_logs(vault, logs, event_by_topic=None)

Build and de-duplicate Accountable settlement transaction markers.

A strategy fulfilment can emit several RedeemClaimable logs in one transaction. The generic settlement table has no amount columns, so this collapses such logs to one marker while preserving distinct transactions in the same block.

Parameters
Returns

Unique rows sorted by block and transaction hash.

Raises

ValueError – If a candidate log cannot be decoded by the ABI.

Return type

list[eth_defi.vault.settlement_data.VaultSettlement]