UNPKG

@cowprotocol/cow-sdk

Version:

<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>

30 lines (29 loc) 884 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" } }