Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

No function to update Factory and Stadium addresses

Summary

The Distributor contract lacks the functionality to update the factory and stadium addresses after deployment. This limitation can be problematic if there is a need to change these addresses in the future due to various reasons, such as changes in contract ownership, migration to a new platform, or updates to the contract's ecosystem.

Vulnerability Details

Once deployed, the contract does not provide any means to update the FACTORY_ADDRESS and STADIUM_ADDRESS after initialization. This lack of flexibility can result in an inability to adapt to changing circumstances.

Impact

The absence of the ability to update the factory and stadium addresses can lead to operational inflexibility and potential difficulties in maintaining and evolving the contract.

Tools Used

Manual Review

Recommendations

Consider adding functions that allow authorized addresses to update the FACTORY_ADDRESS and STADIUM_ADDRESS.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.