Identify the assets, components, and code revisions in scope.
TWAMM hook
This document describes the findings of the manual review of TWAMM hook. The work was undertaken from Jan 19 to Jan 24, 2024.
Why this engagement is relevant
Published 2025-01-24. Use the original report to inspect the reviewed revision, methodology, findings, and scope.
This document describes the findings of the manual review of TWAMM hook. The work was undertaken from Jan 19 to Jan 24, 2024.
This protocol consists of a single Uniswap-v4 hook contract that establishes orders in arbitrary
pools. The contract serves as a time-weighted-average market maker (TWAMM) for swapping
orders on the Uniswap-v4 protocol. Traders submit swapping orders by depositing their funds to
this hook which is coupled to a Uni-v4 pool, consisting of two tokens, but also specify the time
frame in which the order is executed, effectively trading many very small token amounts over the
specified trading period.
The hook makes sure to execute those orders and reward the original depositors with the output
reserves the hook obtained.
Look at the questions and the evidence.
Review the techniques used and the assumptions they depend on.
Follow the findings, responses, and final status in the source report.
Have a related system
you want to discuss?
Share your codebase, security priorities and target release.