QuantAMM

QuantAMM
49,600 OP
View results
Submission Details
Severity: medium
Invalid

Unchecked External Calls

Summary

Location: MultiHopOracle.sol (lines 39-40)

The contract makes external calls to multiple oracles without proper
error handling or validation of returned values.

Vulnerability Details

Location: MultiHopOracle.sol (lines 39-40)

The contract makes external calls to multiple oracles without proper
error handling or validation of returned values.

Code Snippet:

(data, timestamp) = firstOracle.oracle.getData();

Impact


Silent failures leading to broken contract state or lost funds.

Tools Used

Recommendations

Implement proper error handling for oracle calls and add
validation for returned values. Consider adding timeout mechanisms and bounds
checking for timestamps.

Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Too generic

Support

FAQs

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