Add outcome type to API market descriptors (#325)
This commit is contained in:
parent
5f385c2f9d
commit
2d8ad40e70
|
@ -20,6 +20,7 @@ export type LiteMarket = {
|
||||||
description: string
|
description: string
|
||||||
tags: string[]
|
tags: string[]
|
||||||
url: string
|
url: string
|
||||||
|
outcomeType: string
|
||||||
mechanism: string
|
mechanism: string
|
||||||
|
|
||||||
pool: number
|
pool: number
|
||||||
|
@ -57,6 +58,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
|
||||||
tags,
|
tags,
|
||||||
slug,
|
slug,
|
||||||
pool,
|
pool,
|
||||||
|
outcomeType,
|
||||||
mechanism,
|
mechanism,
|
||||||
volume7Days,
|
volume7Days,
|
||||||
volume24Hours,
|
volume24Hours,
|
||||||
|
@ -88,6 +90,7 @@ export function toLiteMarket(contract: Contract): LiteMarket {
|
||||||
probability,
|
probability,
|
||||||
p,
|
p,
|
||||||
totalLiquidity,
|
totalLiquidity,
|
||||||
|
outcomeType,
|
||||||
mechanism,
|
mechanism,
|
||||||
volume7Days,
|
volume7Days,
|
||||||
volume24Hours,
|
volume24Hours,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user