-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- The `afterSwap` hook receives the `beforeSwapDelta` as a parameter. |
This line in the docs states that the afterSwap hook receives the beforeSwapDelta as a parameter, but neither IHooks.sol nor BaseHook.sol shows such a parameter.
https://github.com/Uniswap/v4-core/blob/e8e63c87afb433b650c2387d6d839a239ee05653/src/interfaces/IHooks.sol#L120-L126
https://github.com/Uniswap/v4-periphery/blob/d325f82761b2b37daed44ca237382c83243b1a32/src/base/hooks/BaseHook.sol#L111-L117
Metadata
Metadata
Assignees
Labels
No labels