Background
Dependent on #2543
Remove class::Market order class variant and remove Fee::Protocol variant from the solvers crate domain.
Details
Since we dropped the support for legacy market orders, once we make sure
- All solvers are moved to use
solvers api directly (dropped support for "legacy" solvers)
- All solvers use limit orders for quotes
we can safely remove class::Market type of orders since those are not used anymore. Also, handling the fee could be simplified by removing the Fee::Protocol variant.
This task does not capture making these changes to the solvers API. This can be a separate PR since API changes should be kept plain and simple so we can revert them if needed.
Background
Dependent on #2543
Remove
class::Marketorder class variant and removeFee::Protocolvariant from thesolverscrate domain.Details
Since we dropped the support for legacy market orders, once we make sure
solversapi directly (dropped support for "legacy" solvers)we can safely remove
class::Markettype of orders since those are not used anymore. Also, handling the fee could be simplified by removing theFee::Protocolvariant.This task does not capture making these changes to the solvers API. This can be a separate PR since API changes should be kept plain and simple so we can revert them if needed.