Pool Initialized with Hardcoded "version" Instead of Dynamic _poolVersion
In the createWithoutArgs
function of the QuantAMMWeightedPoolFactory
contract, the pool is created using a static "version" string instead of the _poolVersion
variable defined in the constructor, breaking the versioning system for weighted pools.
Here's the implementation of createWithoutArgs
function in QuantAMMWeightedPoolFactory
contract:
As seen above, static string "version" was used to initalize a new pool.
The static version string undermines version tracking and management, making it difficult for protocol teams to monitor or update pools effectively.
The static version string prevents accurate version tracking, increasing the risk of outdated pools remaining unpatched and exposing user funds to potential vulnerabilities.
Manual Review
Replace the static "version" string with _poolVersion
state variable:
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.