Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Incomplete Interface Definition for PreMarkets Contract

Summary

The IPerMarkets interface in IPerMarkets.sol is incomplete, missing several external function declarations that are present in the PreMarkets contract.

Vulnerability Details

The interface omits important functions such as createOffer, createTaker, listOffer, closeOffer, relistOffer, abortAskOffer, and abortBidTaker. These functions are crucial for interacting with the PreMarkets contract but are not declared in the interface.

Impact

This discrepancy can lead to type safety issues and potential errors when other contracts attempt to interact with PreMarkets through the interface. It may result in unexpected behavior or failed transactions if callers rely on the interface for function signatures.

Tools Used

Manual review

Recommendations

Update the IPerMarkets interface to include all external functions from the PreMarkets contract.

Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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