IVeloRouter
defines the interface for interacting with the Velo Router. However, the struct that defines the route is named route
(lowercase) instead of Route
(capitalized), leading to potential confusion within the protocol.
The IVeloRouter
interface defines the route struct as follows:
In Velodrome, within IRouter.sol, the router's struct is defined as follows:
As you can see, the struct is defined as route
in the protocol but as Route
in Velodrome. This discrepancy in the struct's definition can cause confusion.
The route struct is not defined with the same name as in Velodrome, which could lead to confusion.
Manual review.
To avoid confusion, define the route struct as Route
in IVeloRouter
instead of route
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.