Added auto resolution time to contract
This commit is contained in:
parent
41a6ee6056
commit
9c6c082de7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user