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
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user