Core contracts
TrustedRouters.sol
TrustedRouters manages router trust, resolves the original caller and supplies inherited ownership controls. Its affected paths are documented in the shared findings below.
Reviewed source: src/core/TrustedRouters.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-04 · Low: The deployment script leaves a single EOA as owner on mainnet by default — The hook inherits OpenZeppelin Ownable through this contract, including single-step transfer and renunciation.
- DICES-06 · Low: The launch-block guard does not stop anyone who uses the trusted router — One router list is used for caller resolution and exemption from the launch-block restriction.
- DICES-16 · Informational: Code that cannot run or has no effect — The hook resolves the router caller twice per swap, but the swap pool ignores both results.
- DICES-22 · Informational: Unbounded inputs — setTrustedRouter accepts the zero address.