Type alias FullMarketFragment

FullMarketFragment: {
    __typename?: "Market";
    bonds?: {
        __typename?: "MarketBonds";
        creation?: {
            __typename?: "MarketBond";
            isSettled: boolean;
            value: any;
            who: string;
        } | null;
        oracle?: {
            __typename?: "MarketBond";
            isSettled: boolean;
            value: any;
            who: string;
        } | null;
    } | null;
    categories?: ({
        __typename?: "CategoryMetadata";
        color?: string | null;
        name?: string | null;
        ticker?: string | null;
    } | null)[] | null;
    creation: string;
    creator: string;
    creatorFee?: number | null;
    deadlines?: {
        __typename?: "MarketDeadlines";
        disputeDuration: any;
        gracePeriod: any;
        oracleDuration: any;
    } | null;
    description?: string | null;
    disputeMechanism: string;
    id: string;
    img?: string | null;
    marketId: number;
    marketType: {
        __typename?: "MarketType";
        categorical?: string | null;
        scalar?: (string | null)[] | null;
    };
    metadata: string;
    oracle: string;
    outcomeAssets: (string | null)[];
    period: {
        __typename?: "MarketPeriod";
        block?: (any | null)[] | null;
        end: any;
        start: any;
        timestamp?: (any | null)[] | null;
    };
    pool?: {
        __typename?: "Pool";
        accountId?: string | null;
        baseAsset: string;
        createdAt: any;
        id: string;
        marketId: number;
        poolId: number;
        poolStatus: string;
        scoringRule: string;
        swapFee: string;
        totalSubsidy: string;
        totalWeight: string;
        volume: any;
        weights: ({
            __typename?: "Weight";
            assetId: string;
            len: any;
        } | null)[];
        ztgQty: any;
    } | null;
    question?: string | null;
    rejectReason?: string | null;
    report?: {
        __typename?: "MarketReport";
        at?: number | null;
        by?: string | null;
        outcome: {
            __typename?: "OutcomeReport";
            categorical?: number | null;
            scalar?: any | null;
        };
    } | null;
    resolvedOutcome?: string | null;
    scalarType?: string | null;
    scoringRule: string;
    slug?: string | null;
    status: MarketStatus;
    tags?: (string | null)[] | null;
}

Type declaration

  • Optional __typename?: "Market"
  • Optional bonds?: {
        __typename?: "MarketBonds";
        creation?: {
            __typename?: "MarketBond";
            isSettled: boolean;
            value: any;
            who: string;
        } | null;
        oracle?: {
            __typename?: "MarketBond";
            isSettled: boolean;
            value: any;
            who: string;
        } | null;
    } | null
  • Optional categories?: ({
        __typename?: "CategoryMetadata";
        color?: string | null;
        name?: string | null;
        ticker?: string | null;
    } | null)[] | null
  • creation: string
  • creator: string
  • Optional creatorFee?: number | null
  • Optional deadlines?: {
        __typename?: "MarketDeadlines";
        disputeDuration: any;
        gracePeriod: any;
        oracleDuration: any;
    } | null
  • Optional description?: string | null
  • disputeMechanism: string
  • id: string
  • Optional img?: string | null
  • marketId: number
  • marketType: {
        __typename?: "MarketType";
        categorical?: string | null;
        scalar?: (string | null)[] | null;
    }
    • Optional __typename?: "MarketType"
    • Optional categorical?: string | null
    • Optional scalar?: (string | null)[] | null
  • metadata: string
  • oracle: string
  • outcomeAssets: (string | null)[]
  • period: {
        __typename?: "MarketPeriod";
        block?: (any | null)[] | null;
        end: any;
        start: any;
        timestamp?: (any | null)[] | null;
    }
    • Optional __typename?: "MarketPeriod"
    • Optional block?: (any | null)[] | null
    • end: any
    • start: any
    • Optional timestamp?: (any | null)[] | null
  • Optional pool?: {
        __typename?: "Pool";
        accountId?: string | null;
        baseAsset: string;
        createdAt: any;
        id: string;
        marketId: number;
        poolId: number;
        poolStatus: string;
        scoringRule: string;
        swapFee: string;
        totalSubsidy: string;
        totalWeight: string;
        volume: any;
        weights: ({
            __typename?: "Weight";
            assetId: string;
            len: any;
        } | null)[];
        ztgQty: any;
    } | null
  • Optional question?: string | null
  • Optional rejectReason?: string | null
  • Optional report?: {
        __typename?: "MarketReport";
        at?: number | null;
        by?: string | null;
        outcome: {
            __typename?: "OutcomeReport";
            categorical?: number | null;
            scalar?: any | null;
        };
    } | null
  • Optional resolvedOutcome?: string | null
  • Optional scalarType?: string | null
  • scoringRule: string
  • Optional slug?: string | null
  • status: MarketStatus
  • Optional tags?: (string | null)[] | null

Generated using TypeDoc