The contract allows sellers to adjust their orders by changing the amount or price. However, it does not emit an event when an order is amended. This reduces transparency and complicates tracking for off-chain services like indexers, analytics dashboards, or monitoring bots.
Without an OrderAmended
event, there is no straightforward way for external systems to detect and respond to order updates, impacting the ecosystem's ability to monitor market changes in real-time.
Normal Behavior:
When a seller amends an order, the internal order
struct is updated to reflect the new amount or price.
Issue:
There is no event emitted after these updates.
External indexers and watchers have no on-chain signal that an order was changed, forcing them to continuously poll state which is inefficient and unreliable.
This leads to:
Poor UX for dApps relying on real-time data,
Increased infrastructure load on indexers,
Potential for stale or misleading order book displays.
Likelihood
This occurs every time an order is amended since no event is ever emitted.
Impact
Primarily affects the user experience and the ecosystem tools that rely on event streams.
Can lead to outdated or incorrect UIs, reducing trader trust and utility.
This example shows how the amendment changes the state without emitting any event, leaving external systems unaware of the modification.
This ensures that off-chain systems can reliably detect and react to order updates, improving overall transparency and user experience.
Events not properly indexed. Filtering and querying from analytic tools will be very in-efficient
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.