Closed code423n4 closed 3 years ago
shw
The variable eligibilityManager in the contract NFTXVaultFactoryUpgradeable is not set or used. However, this variable is referenced in the function deployEligibilityStorage of NFTXVaultUpgradeable, which should be initialized.
eligibilityManager
NFTXVaultFactoryUpgradeable
deployEligibilityStorage
NFTXVaultUpgradeable
Referenced code: NFTXVaultFactoryUpgradeable.sol#L24 NFTXVaultUpgradeable.sol#L163-L177
None
Add functions in NFTXVaultFactoryUpgradeable to set the variable eligibilityManager.
Handle
shw
Vulnerability details
Impact
The variable
eligibilityManager
in the contractNFTXVaultFactoryUpgradeable
is not set or used. However, this variable is referenced in the functiondeployEligibilityStorage
ofNFTXVaultUpgradeable
, which should be initialized.Proof of Concept
Referenced code: NFTXVaultFactoryUpgradeable.sol#L24 NFTXVaultUpgradeable.sol#L163-L177
Tools Used
None
Recommended Mitigation Steps
Add functions in
NFTXVaultFactoryUpgradeable
to set the variableeligibilityManager
.