Pre-Hooks
These are actions that execute before the swap, allowing pre-hooks to be used to “set up” an order. Some examples including:- Unstaking tokens just-in-time for trading
- Claiming an airdrop right before dumping
- Signing token approvals so that the approval and the trade itself are batched together as a single action
Post-Hooks
These are actions that execute after the swap, taking advantage of trade proceeds. Examples include:- Bridging funds to L2s
- Staking funds