The order settler is called by the transaction script when something is executed on the exchange. It calls Sway’s built-in log function to create a reciept that can be seen by an indexer. Below is something resembling the order settler code for Sail Exchange:Documentation Index
Fetch the complete documentation index at: https://docs.sail.exchange/llms.txt
Use this file to discover all available pages before exploring further.
order_settler.sw

