Tadle

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

offerId is NOT initialized before use at PreMarkets contract making state of contract indeterminate

Hello Tradle,

offerid variable must be declared before using it.

In addition,

offerId are directly incremented without any checks for overflow or ensuring they haven't been tampered with. This could lead to inconsistencies in offer creation.

  • The contract assumes that certain parameters (e.g., params.marketPlace, params.tokenAddress) are valid addresses or enums without checks.

Updates

Lead Judging Commences

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

Support

FAQs

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