Omniscia rain protocol Audit

RedeemableERC20 Code Style Findings

RedeemableERC20 Code Style Findings

RER-01C: Non-Standard Error Capture

Description:

The linked assert(false) statement is non-standard.

Example:

contracts/redeemableERC20/RedeemableERC20.sol
325assert(false);

Recommendation:

We advise a revert statement to be utilized instead with a descriptive error message.

Alleviation:

A revert statement was properly introduced in place of the assert(false) instruction.