Skip to main content

Trade Batches

The system makes use of epochs to efficiently group actions and executions on chain. All actions occurring in a specific epoch will be grouped together and executed simultaneously. Once an epoch has ended, the system will use a satisfactory external oracle price as a calculation reference point to perform liquidity transfer between various pools, and also add and remove liquidity from various pools. This all happens in a single effcient transaction.

The system also makes use of concepts such as a Minimum Executing Waiting Threshold (MEWT) to ensure a suffcient period of time has passed by before choosing an appropriate oracle price for the calculation.

The countdown to the end of the current epoch can be seen on the detailed view (Morgan mode) for that market.