The QuantAMMWeightedPool contract's constructor accepts a poolRegistry parameter without validating its value against known valid configurations. Since this value is stored as an immutable state variable and controls administrative functionality, an incorrect value could lead to misconfigured pool permissions that cannot be corrected without redeployment.
The poolRegistry is declared as an immutable state variable:
The poolRegistry value determines administrative functionality for the pool
Once set, it cannot be modified due to its immutable nature
Incorrect values could lead to:
Misconfigured administrative permissions
Unintended access control settings
Requirement for pool redeployment to fix issues
While this doesn't directly impact user funds, it affects pool governance and management capabilities
Manual Review
Define valid pool registry configurations as constants:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.