StartParams<SF>: SF extends ContractStartFunction
    ? Parameters<SF>[1] extends undefined
        ? {
            terms: ReturnType<ZcfOf<SF>["getTerms"]>;
        }
        : {
            privateArgs: Parameters<SF>[1];
            terms: ReturnType<ZcfOf<SF>["getTerms"]>;
        }
    : never

Type Parameters

  • SF