You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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.
v4-doc-drafts/reference-library/BeforeSwapDelta.md
Line 210 in 18006a3
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
The text was updated successfully, but these errors were encountered: