Function getProgram

  • returns program TEAL code.

    Parameters

    • fileName: string

      filename in /assets. Must end with .teal OR .py

    • assetPath: string = "assets"

      path to directory that include filename

    • Optional scInitParam: SCParams

      smart contract template parameters, used to set hardcoded values in .py or .teal smart contract.

    • logs: boolean = true

      only show logs on console when set as true. By default this value is true

    Returns string

Generated using TypeDoc