In the contract NFTXMintRequestEligibility, the state variable manager is not used. The state variable reverseEligOnRedeem is assigned to a value during initialization but not used afterwards. There are also unused events, CanApproveMintRequestsSet, Reject, and Approve.
Handle
shw
Vulnerability details
Impact
In the contract
NFTXMintRequestEligibility
, the state variablemanager
is not used. The state variablereverseEligOnRedeem
is assigned to a value during initialization but not used afterwards. There are also unused events,CanApproveMintRequestsSet
,Reject
, andApprove
.Proof of Concept
Referenced code: NFTXMintRequestEligibility.sol#L28 NFTXMintRequestEligibility.sol#L31 NFTXMintRequestEligibility.sol#L44 NFTXMintRequestEligibility.sol#L50-L51
Tools Used
None
Recommended Mitigation Steps
Consider removing these variables and events to save gas.