20,000 USDC
View results
Submission Details
Severity: gas

Custom error has no error details

Summary

Consider adding parameters to the error to indicate which user or values caused the failure.

Impact

Instances (15):

File: utils/Errors.sol
​
4: error PoolConfig();
​
5: error LoanTooSmall();
​
6: error LoanTooLarge();
​
7: error RatioTooHigh();
​
8: error FeeTooHigh();
​
9: error TokenMismatch();
​
10: error Unauthorized();
​
11: error AuctionStarted();
​
12: error AuctionNotStarted();
​
13: error AuctionEnded();
​
14: error AuctionNotEnded();
​
15: error RateTooHigh();
​
16: error PoolTooSmall();
​
17: error ZeroCollateral();
​
18: error AuctionTooShort();
​

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!