BaseContract
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / BaseContract
Class: abstract BaseContract
Section titled “Class: abstract BaseContract”Defined in: packages/algo-ts/src/base-contract.ts:9
The base type for all Algorand TypeScript contracts
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”new BaseContract()
Section titled “new BaseContract()”new BaseContract():
BaseContract
Returns
Section titled “Returns”Methods
Section titled “Methods”approvalProgram()
Section titled “approvalProgram()”
abstractapprovalProgram():boolean|uint64
Defined in: packages/algo-ts/src/base-contract.ts:13
The program to be run when the On Completion Action is != ClearState (3)
Returns
Section titled “Returns”boolean | uint64
clearStateProgram()
Section titled “clearStateProgram()”clearStateProgram():
boolean|uint64
Defined in: packages/algo-ts/src/base-contract.ts:18
The program to be run when the On Completion Action is == ClearState (3)
Returns
Section titled “Returns”boolean | uint64