Skip to content

LogicSig

Constructors

new LogicSig()

new LogicSig(): LogicSig

Returns

LogicSig

Properties

programVersion

programVersion: number = 9

The program version to use in the generated TEAL. This is the number used in the “#pragma version” directive

Source

src/lib/lsig.ts:24


txn

txn: Txn

Source

src/lib/lsig.ts:19


txnGroup

txnGroup: Txn[]

Source

src/lib/lsig.ts:21


address

static address: () => Address

Returns

Address

Source

src/lib/lsig.ts:15


extend

static extend: <T>(…types) => Polytype.ClusteredConstructor<T>

Create a contract class that inherits from the given contracts. Inheritance is in order of arguments.

Type parameters

T extends NonEmptyArray<SuperConstructor>

Parameters

• …types: T

Returns

Polytype.ClusteredConstructor<T>

Source

src/lib/lsig.ts:13


program

static program: () => Brand<string, "bytes">

Returns

Brand<string, "bytes">

Source

src/lib/lsig.ts:17

Methods

logic()

abstract logic(…args): void

Parameters

• …args: any[]

Returns

void

Source

src/lib/lsig.ts:26