Detecting the Order
Last updated
Was this helpful?
Last updated
Was this helpful?
The first step in the solver workflow is highlighted with a green background in the diagram below.
Solvers monitor the DlnSource
contract for the CreatedOrder
event:
This event emits an Order
struct, which provides the information necessary to either fulfill or cancel the order. Further details about the Order
structure can be found .
Solvers evaluate whether an order is worth fulfilling based on its profitability. To ensure orders are attractive to solvers, integrators must configure them so that the spread between input and wanted assets covers all associated costs, including . Additional considerations around profitability are discussed in the following section.