ExecuteParams
Git Source - Generated with forge doc
Parameters for batch execution.
maxFill/minFill = type(uint256).max is a renewal/close-out sentinel resolved against onchain state by
TenorRouterAdapterBase._resolveSentinel, not the ERC-20 "unlimited" idiom.
Sentinel resolution reverts SentinelResolvedToZero if it yields 0; opening flows must pass explicit bounds.
fillAxis == ASSETS caps and the slippage denominator both pin to the batch's side (see _initiatorIsBuyer).
_execute enforces that all actions share the same market (InconsistentMarket) and the same side
(InconsistentSide). The initiator is always the Midnight taker.
struct ExecuteParams {
uint256 deadline; // block.timestamp must be <= deadline (0 = no deadline).
FillAxis fillAxis;
uint256 maxFill; // Denominated in assets or units depending on fillAxis.
uint256 minFill; // Denominated in assets or units depending on fillAxis.
uint256 minPrice; // WAD-scaled assets-per-unit floor on the batch side (0 disables).
uint256 maxPrice; // WAD-scaled assets-per-unit ceiling on the batch side (MaxUint disables).
bool reduceOnly; // Crossing protection: reverts if the initiator's wrong side grows.
}