The constructor parameters of the AaveDIVAWrapper contract are ordered differently from its parent contract AaveDIVAWrapperCore.
AaveDIVAWrapper contract inherits from AaveDIVAWrapperCore. The constructor arguments from AaveDIVAWrapper are passed to AaveDIVAWrapperCore and are used to initialize the contract. However, there's a mismatch between the parameters of the two contracts as shown below
AaveDIVAWrapperCore.sol#L52-L62
As shown above, the order of diva_ and aaveV3Pool_ has been switched in AaveDIVAWrapper.
Results in: DIVA address stored as Aave V3 pool address and Aave V3 pool address stored as DIVA address
All transactions that involve interactions with either protocol will revert.
The contract will need to be redeployed with the correct parameter ordering.
Manual
The constructor parameters of AaveDIVAWrapper should be reordered to match the parent contract's expected
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.