@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
11 lines (10 loc) • 412 B
TypeScript
import { Order } from './generated';
import { EnrichedOrder } from './types';
/**
* Apply programmatic transformations to an order.
*
* For example, transformations may be applied to an order to recognise it as a Native EthFlow order.
* @param order to apply transformations to
* @returns An order with the total fee added.
*/
export declare function transformOrder(order: Order): EnrichedOrder;