Function boundConfigFromJSON

  • Parses a GPCBoundConfig from a JSON-compatible representation, potentially received directly from JSON.parse. See JSONProofConfig for information about the format.

    Parameters

    • jsonConfig: {
          circuitIdentifier: `${string}_${string}`;
          pods: {};
          tuples?: {};
          uniquePODs?: boolean;
      }

      the JSON representation

      • circuitIdentifier: `${string}_${string}`
      • pods: {}
        • Optional tuples?: {}
          • Optional uniquePODs?: boolean

        Returns GPCBoundConfig

        a config object

        Throws

        if the config is invalid

      Generated using TypeDoc