sui_adapter_latest::programmable_transactions::trace_utils

Function trace_merge_coins

Source
pub fn trace_merge_coins(
    context: &mut ExecutionContext<'_, '_, '_>,
    trace_builder_opt: &mut Option<MoveTraceBuilder>,
    coin_type: &Type,
    input_infos: &[(u64, ObjectID)],
    target_coin: &Coin,
) -> Result<(), ExecutionError>
Expand description

Inserts merge coins event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.