Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tmpl

Hierarchy

Index

Constructors

constructor

Properties

name

name: string

op

op: Op

type

type: TealType

Methods

And

  • Take the logical And of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using And() with two arguments.

    Parameters

    Returns Expr

Or

  • Take the logical Or of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using Or() with two arguments.

    Parameters

    Returns Expr

add

and

eq

ge

gt

invert

le

lt

mod

mul

ne

or

sub

teal

toString

  • toString(): string

truediv

typeOf

xor

Static addr

  • addr(placeholder: string): Tmpl
  • Create a new Addr template.

    Parameters

    • placeholder: string

      The name to use for this template variable. Must start with TMPL_ and only consist of uppercase alphanumeric characters and underscores.

    Returns Tmpl

Static bytes

  • bytes(placeholder: string): Tmpl
  • Create a new Bytes template.

    Parameters

    • placeholder: string

      The name to use for this template variable. Must start with TMPL_ and only consist of uppercase alphanumeric characters and underscores.

    Returns Tmpl

Static int

  • int(placeholder: string): Tmpl
  • Create a new Int template.

    Parameters

    • placeholder: string

      The name to use for this template variable. Must start with TMPL_ and only consist of uppercase alphanumeric characters and underscores.

    Returns Tmpl

Generated using TypeDoc