Add outcome type to API market descriptors (#325)

This commit is contained in:
Marshall Polaris 2022-05-24 14:31:49 -07:00 committed by GitHub
parent 5f385c2f9d
commit 2d8ad40e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ export type LiteMarket = {
description: string
tags: string[]
url: string
outcomeType: string
mechanism: string
pool: number
@ -57,6 +58,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
tags,
slug,
pool,
outcomeType,
mechanism,
volume7Days,
volume24Hours,
@ -88,6 +90,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
probability,
p,
totalLiquidity,
outcomeType,
mechanism,
volume7Days,
volume24Hours,