cost property
All-in account debit: premium + (trading − subsidy) + builder + penalty
- inventoryImpact — exactly what the chain withdraws (the deployed
compute_mint_quote'sall_in_cost); pass this (plus your buffer) as maxCost.
Implementation
final double cost;