There's a switch in the order of parameters in the AaveDivaWrapper's constructor contract and the AaveDivaWrapperCore contracts leading to _AaveV3Pool's function being called on the Diva protocol which will result in a lot of reverts
AaveDivaWrapperCore
Above order of parameters in the constructor is diva, Aave then owner while in the
AaveDivaWrapper
As shown above diva is being set to Aave and vice versa leading to a lot of function calls meant for diva being called on Aave and vice versa
this will render the protocol unusable essentially as we wouldn't be able to supply tokens to Aave, create contingent pools and many more.
consider switching the order in AaveDivaWrapper to match the one in AaveDivaWrapperCore.
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.