UNPKG

@cowprotocol/cow-sdk

Version:

## 📚 [Docs website](https://docs.cow.fi/)

30 lines (29 loc) • 855 B
import type { ExecutedAmounts } from './ExecutedAmounts'; export type CompetitionOrderStatus = { type: CompetitionOrderStatus.type; /** * A list of solvers who participated in the latest competition, sorted * by score in ascending order, where the last element is the winner. * * The presence of executed amounts defines whether the solver provided * a solution for the desired order. */ value?: Array<{ /** * Name of the solver. */ solver: string; executedAmounts?: ExecutedAmounts; }>; }; export declare namespace CompetitionOrderStatus { enum type { OPEN = "open", SCHEDULED = "scheduled", ACTIVE = "active", SOLVED = "solved", EXECUTING = "executing", TRADED = "traded", CANCELLED = "cancelled" } }