Skip to content

Extend LimitOrderHook to support native currency#118

Draft
gonzaotc wants to merge 10 commits into
OpenZeppelin:masterfrom
gonzaotc:limit-order-hook-native
Draft

Extend LimitOrderHook to support native currency#118
gonzaotc wants to merge 10 commits into
OpenZeppelin:masterfrom
gonzaotc:limit-order-hook-native

Conversation

@gonzaotc

@gonzaotc gonzaotc commented Jan 30, 2026

Copy link
Copy Markdown
Collaborator

Slightly refactors LimitOrderHook to fully support native currency

  • Includes fuzzing for the native version in test/general/LimitOrderHook.native.fuzz.t.sol
  • Performs light variable renamings for clarity and small gas optimizations
  • Patches a bug in cancelOrder that was preventing from receiving the accumulated fees in the last order removal (removingAllLiquidity == true)

Closes #116

@netlify

netlify Bot commented Jan 30, 2026

Copy link
Copy Markdown

Deploy Preview for uniswap-hooks-docs ready!

Name Link
🔨 Latest commit cf6d433
🔍 Latest deploy log https://app.netlify.com/projects/uniswap-hooks-docs/deploys/6980b36a09699a0008be03bc
😎 Deploy Preview https://deploy-preview-118--uniswap-hooks-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jan 30, 2026

Copy link
Copy Markdown

Deploy Preview for uniswap-hooks failed. Why did it fail? →

Name Link
🔨 Latest commit cf6d433
🔍 Latest deploy log https://app.netlify.com/projects/uniswap-hooks/deploys/6980b36ac9cd7c000874347e

@gonzaotc
gonzaotc marked this pull request as draft January 30, 2026 20:55
@gonzaotc
gonzaotc requested a review from luiz-lvj February 2, 2026 13:42
@gonzaotc
gonzaotc marked this pull request as ready for review February 2, 2026 13:43
@gonzaotc
gonzaotc marked this pull request as draft February 12, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LimitOrderHook: adding native token support

1 participant