@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
13 lines (12 loc) • 351 B
TypeScript
import type { Quote } from './Quote';
/**
* The protocol fee is taken as a percent of the order price improvement which is a difference between the executed price and the best quote.
*/
export type PriceImprovement = {
factor: number;
maxVolumeFactor: number;
/**
* The best quote received.
*/
quote: Quote;
};