Action
Git Source - Generated with forge doc
Per-action parameters.
take carries the Midnight take parameters (MidnightTakeData).
allowRevert only catches reverts from the inner take call; other per-action paths still abort the batch.
allowRevert does not bound the caught call's gas: a reverting action can consume most of the batch's
remaining gas before being caught.
feeAdjuster/feeAdjusterData are trusted to mirror the callback's actual fee (formula and rate); the
router does not cross-check them. Misconfigured fee adjustment params may skew fill/slippage accounting for the
whole batch. feeAdjuster may be address(0) when callbacks charge no initiator fees.
struct Action {
MidnightTakeData take;
bool allowRevert;
Offer offer;
address clamp;
bytes clampData;
address feeAdjuster;
bytes feeAdjusterData;
}
Properties
| Name | Type | Description |
|---|---|---|
take | MidnightTakeData | |
allowRevert | bool | |
offer | Offer | |
clamp | address | |
clampData | bytes | |
feeAdjuster | address | |
feeAdjusterData | bytes |