From 9c6c082de7d95e5988ee144051d58fd0ead79cd2 Mon Sep 17 00:00:00 2001 From: Milli Date: Sun, 29 May 2022 21:41:33 +0200 Subject: [PATCH] Added auto resolution time to contract --- common/contract.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/contract.ts b/common/contract.ts index 43c79cb6..5dceac84 100644 --- a/common/contract.ts +++ b/common/contract.ts @@ -28,8 +28,7 @@ export type FullContract< isResolved: boolean resolutionTime?: number // When the market is resolved resolution?: string - resolutionType: resolutionType - automaticResolution?: resolution + automaticResolution: resolution automaticResolutionTime?: number closeEmailsSent?: number @@ -98,7 +97,6 @@ export type Numeric = { } export type outcomeType = 'BINARY' | 'MULTI' | 'FREE_RESPONSE' | 'NUMERIC' -export type resolutionType = 'MANUAL' | 'COMBINED' export type resolution = 'YES' | 'NO' | 'MKT' | 'CANCEL' export const RESOLUTIONS = [ 'YES', 'NO', 'MKT', 'CANCEL'] as const