Module balance

Module balance 

Source
Expand description

Sequential pipeline that feeds the schema::balance CF.

Mirrors index_transactions in sui-core::rpc_index: for every transaction in the checkpoint, call sui_types::balance_change::derive_detailed_balance_changes_2 and forward the returned (coin_amount, address_amount) deltas straight into the CF as a single combined merge operand per (owner, coin_type).

The derive_detailed_balance_changes_2 helper already consolidates input and output coin objects (for the coin side) and parses the effects’ accumulator writes (for the address side), so the pipeline doesn’t need to walk objects itself.

Structs§

Balance
Pipeline marker for balance.
Delta