Contract that logs actions to the order book to be viewed on-chain
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: