Function fromEntries

  • Map storage entries to rpc pools

    Returns

    RpcPool[]

    Type Parameters

    • C extends RpcContext<MS>

    • MS extends MetadataStorage<{
          __meta: "markets";
          categories: undefined | ({ name: string; img?: string | undefined; ticker?: string | undefined; color?: string | undefined; })[];
          confidentialId: undefined | string;
          description: string;
          img: undefined | string;
          question: string;
          scalarType: undefined | "number" | "date";
          slug: string;
          tags: undefined | string[];
      }, MS>

    Parameters

    • ctx: C

      RpcContext

    • entries: [StorageKey<[u128]>, Option<ZeitgeistPrimitivesPool>][]

      [StorageKey<[u128]>, Option][]

    Returns Data<C, C extends RpcContext<MS> ? RpcPool : never, C extends IndexerContext ? IndexedPool<C, MS> : never, MS>[]

Generated using TypeDoc