Open Cap Table Protocol Canton SDK - v0.2.84
    Preparing search index...

    Function createCompanyValuationReport

    • Create a CompanyValuationReport by exercising the CreateCompanyValuationReport choice on the OCP Factory contract.

      This function requires the FeaturedAppRight contract details to be provided for disclosed contracts, which is necessary for cross-domain contract interactions in Canton.

      Parameters

      Returns Promise<CreateCompanyValuationReportResult>

        const featuredAppRightContractDetails = {
      contractId: "1234567890abcdef",
      createdEventBlob: "serialized_contract_blob_here",
      synchronizerId: "sync_id_here",
      templateId: "FeaturedAppRight:template:id:here"
      };

      const result = await createCompanyValuationReport(client, {
      companyId: "company123",
      companyValuation: "1000000",
      observers: ["observer1", "observer2"],
      featuredAppRightContractDetails
      });