Added auto resolution time to contract

This commit is contained in:
Milli 2022-05-29 21:41:33 +02:00
parent 41a6ee6056
commit 9c6c082de7

View File

@ -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