Contract
Algorand TypeScript / arc4 / Contract
Defined in: arc4/index.ts:14
The base type for all ARC4 contracts in Algorand TypeScript
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Contract():
Contract
Returns
Section titled “Returns”Contract
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”approvalProgram()
Section titled “approvalProgram()”approvalProgram():
boolean
Defined in: arc4/index.ts:19
Default implementation of an ARC4 approval program, routes transactions to ABI or bare methods based on application args and on completion actions
Returns
Section titled “Returns”boolean
Overrides
Section titled “Overrides”clearStateProgram()
Section titled “clearStateProgram()”clearStateProgram():
boolean|uint64
Defined in: base-contract.ts:18
The program to be run when the On Completion Action is == ClearState (3)
Returns
Section titled “Returns”boolean | uint64