Libraries
CurrencySettler.sol
CurrencySettler is the in-repository settlement library used by the hook. These findings compare its use with the swap pool's test-utility dependency and identify unreachable code and inaccurate comments.
Reviewed source: src/libraries/CurrencySettler.sol at commit bcd45b2.
No separate finding is counted on this page. The affected paths link to their complete write-ups below.
Shared findings
- DICES-11 · Informational: Production code uses a settler from v4-core's test utilities — The hook uses this SafeERC20-based library, while InternalSwapPool imports the v4-core test utility.
- DICES-16 · Informational: Code that cannot run or has no effect — The payer != address(this) transferFrom branch is unreachable in the shipped call graph.
- DICES-17 · Informational: Documentation and comments promise things the code does not do — The settlement comment attributes token settlement to the hook rather than the swap pool.