_poolParams
struct input are not all validated.
The createContingentPool
function is directly passing the _poolParams
struct to _createContingentPool
without performing any input validation at the external function level. This can be risky because _poolParams
is being supplied by external users.
_poolParams.collateralToken is the only one validated
it could lead to unwanted behavior, such as:
Tokens being sent to address(0)
(effectively burning them).
Failed transactions when interacting with the DIVA Protocol or Aave due to invalid inputs.
Manual review
Validation of the params in the createContingentPool :
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.