Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Arg

An expression to get an argument when running in signature verification mode.

Hierarchy

Index

Constructors

constructor

  • new Arg(index: number): Arg
  • Get an argument for this program.

    Should only be used in signature verification mode. For application mode arguments, see :any:TxnObject.application_args.

    Parameters

    • index: number

      The integer index of the argument to get. Must be between 0 and 255 inclusive.

    Returns Arg

Properties

index

index: number

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

Generated using TypeDoc