Skip to main content

MidnightTakeData

Git Source - Generated with forge doc

The Midnight take parameters carried by each Action.

If takerCallback reenters Bundler3 (e.g. TenorAdapter), at most one such action may execute per top-level Bundler3.multicall Call entry (see MidnightAdapterBase._midnightCallback).

With Action.allowRevert = true, follow-up reentrant actions in the same batch silently no-op with IncorrectReenterHash instead of failing the call.

struct MidnightTakeData {
uint256 takeUnits;
address takerCallback;
bytes takerCallbackData;
address receiverIfTakerIsSeller;
bytes ratifierData;
}