stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

Missing value verification

Summary

Certain functions lack a value safety check, the values of the arguments should be verified to allow only the ones that comply with the contract's logic.

Vulnerability Details

In the constructor, the contract must ensure that _maxLinkFee is different from zero.

Impact

Results in logic errors causing the contract to behave unexpectedly or incorrectly.

Tools Used

VS Code
Manual Review

Recommendations

I recommend that you verify the values provided in the arguments. The issue can be ad- dressed by utilizing a require statement.

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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