fn apply_engine_balance_update(
ctx: &mut EngineCtx,
output: Option<&mut ApplyOutput>,
wallet: WalletAddress,
delta: Decimal,
reason: BalanceUpdateReason,
reference_id: Option<String>,
timestamp_ms: u64,
) -> Decimalfn apply_engine_balance_update(
ctx: &mut EngineCtx,
output: Option<&mut ApplyOutput>,
wallet: WalletAddress,
delta: Decimal,
reason: BalanceUpdateReason,
reference_id: Option<String>,
timestamp_ms: u64,
) -> Decimal