Dria

Swan
NFTHardhat
21,000 USDC
View results
Submission Details
Severity: high
Invalid

swanManager.sol contract missing initialize() method

Summary

SwanManager contract uses an upgradeable pattern but lacks of necessary initialize() method.

Vulnerability Details

SwanManager contract follows an upgradeable pattern provided by OpenZeppelin’s OwnableUpgradeable and Initializable features, specifically designed for upgradeable contracts.

contract SwanManager is OwnableUpgradeable {
....
constructor() {
_disableInitializers();
}

However there is no initialize() method in the contract.

Impact

The contract’s ownership would not be assigned, criticial functions would be inaccessible

Tools Used

Manual Review

Recommendations

Implement the necessary function

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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