Module candid_parser::utils

source ·

Enums§

Functions§

  • Take a did file and outputs the init args and the service type (without init args). If the original did file contains imports, the output flattens the type definitions. For now, the comments from the original did file is omitted.
  • Merge canister metadata candid:args and candid:service into a service constructor. If candid:service already contains init args, returns the original did file.
  • Check compatibility of two service types
  • Check structural equality of two service types