Function fromPrimitive

  • Parameters

    • asset: ZeitgeistPrimitivesAsset

    Returns {
        CategoricalOutcome: [MarketId, number];
    } | {
        ScalarOutcome: [MarketId, "Short" | "Long"];
    } | {
        Ztg: null;
    } | {
        PoolShare: number;
    }

Generated using TypeDoc