From de0251bc22d554e2ace4d2d3d061dc1054656bcd Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 13 May 2024 23:45:45 +0200 Subject: [node] Big Contracts lib refactoring --- nodejs/lib/types.ts | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'nodejs/lib/types.ts') diff --git a/nodejs/lib/types.ts b/nodejs/lib/types.ts index a8e748c..e4d750f 100644 --- a/nodejs/lib/types.ts +++ b/nodejs/lib/types.ts @@ -30,29 +30,6 @@ export type Chart = { submittedOn: Date; }; -export type Contract = { - id: string; - factionSymbol: string; - type: string; - terms: { - deadline: Date; - payment: { - onAccepted: number; - onFulfilled: number; - }, - deliver: Array<{ - tradeSymbol: string; - destinationSymbol: string; - unitsRequired: number; - unitsFulfilled: number; - }>; - }; - accepted: boolean; - fulfilled: boolean; - expiration: Date; - deadlineToAccept: Date; -}; - export type Cooldown = { shipSymbol: string; totalSeconds: number; -- cgit v1.2.3