Order types

It is possible to open several types of order:

uint8 constant PUBLIC_ORDER = 0;
uint8 constant PRIVATE_ORDER = 1;
uint8 constant PUBLIC_ORDER_WITH_HOOK = 2;
uint8 constant PRIVATE_ORDER_WITH_HOOK = 3;
  • public and private order types are used for public and private intents respectively.

  • hook orders are currently available on OP stack chains.

Last updated