Hierarchy

  • PyCompileOp

Constructors

Methods

  • Description: returns TEAL code using pyTeal compiler

    Parameters

    • filename: string

      : python filename in assets folder

    • Optional scInitParam: string

      : Smart contract initialization parameters.

    Returns string

  • Returns TEAL code from pyteal file (pyTEAL --> TEAL)

    Parameters

    • filename: string

      : name of the PyTeal code in /assets directory. Examples : [ gold.py, asa.py] MUST have .py extension

    • Optional scTmplParams: SCParams
    • logs: boolean = true

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

    Returns string

  • Parses scTmplParams and returns ReplaceParams and stringify object

    Parameters

    • Optional scTmplParams: SCParams

      smart contract template parameters

    • logs: boolean = true

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

    Returns [ReplaceParams, undefined | string]

Generated using TypeDoc