IMMProvider. The executor calls it to settle each fill.
executeSwap parameters
The executor computes
amountOut only from a ladder your key signed, within its size, expiry and protections. Delivering less than amountOut makes the trade revert on the taker’s minAmountOut.
Deploy BasicMMProvider
BasicMMProvider.sol is the reference implementation. It accepts fills from the executor only and pays amountOut.