Market Schemas

Haiko introduces the concept of Flexible Market Schemas, allowing markets to be customised to enable, disable or upgrade specific features over time.

For example:

  • Markets can be deployed with Limit Orders and Strategy Vaults disabled, for a more classic V3 experience

  • Linear (V2) pools can be upgraded over time to Concentrated (V3+) pools

  • Dutch Auction Markets can be configured to facilitate token offerings

  • Strategy Only Markets allow RFQ-like quoting for more efficient execution

To allow options to be upgraded over time, a market must be deployed with a nominated Controller. Markets deployed without a controller can still be customised, but not upgraded.

Each market configuration can be set as Upgradeable or Fixed on a modular basis.

Market ConfigurationOptions

Valid limits

Min lower limit, Max lower limit, Min upper limit, Max upper limit

Valid width

Min width, Max width

Add liquidity

Enable, Disable, Owner Only, Strategy Only

Remove Liquidity

Enable, Disable, Owner Only, Strategy Only

Create Bid Orders

Enable, Disable, Owner Only, Strategy Only

Create Ask Orders

Enable, Disable, Owner Only, Strategy Only

Collect Orders

Enable, Disable, Owner Only, Strategy Only

Swap

Enable, Disable, Owner Only, Strategy Only

Last updated