The OrderType designates one of four types for the order depending on two distinct preferences:

FULL indicates that the order does not support partial fills, whereas PARTIAL enables filling some fraction of the order, with the important caveat that each item must be cleanly divisible by the supplied fraction (i.e. no remainder after division).

OPEN indicates that the call to execute the order can be submitted by any account, whereas RESTRICTED requires that the order either be executed by the offerer or the zone of the order, or that a magic value indicating that the order is approved is returned upon calling validateOrder on the zone.

Generated

from enum valorem.trade.v1.OrderType

Enumeration Members

FULL_OPEN: 0

Generated

from enum value: FULL_OPEN = 0;

FULL_RESTRICTED: 2

Generated

from enum value: FULL_RESTRICTED = 2;

PARTIAL_OPEN: 1

Generated

from enum value: PARTIAL_OPEN = 1;

PARTIAL_RESTRICTED: 3

Generated

from enum value: PARTIAL_RESTRICTED = 3;

Generated using TypeDoc