ConventionalRouting
Algorand TypeScript / arc4 / ConventionalRouting
Defined in: arc4/index.ts:31
Defines conventional routing method names. When used, methods with these names will be implicitly routed to the corresponding application lifecycle event.
Remarks
Section titled “Remarks”This behaviour is independent of a contract explicitly implementing this interface. The interface is provided simply to improve the developer experience of using this feature.
Properties
Section titled “Properties”closeOutOfApplication?
Section titled “closeOutOfApplication?”
optionalcloseOutOfApplication:AnyFunction
Defined in: arc4/index.ts:35
The function to invoke when closing out of this application
createApplication?
Section titled “createApplication?”
optionalcreateApplication:AnyFunction
Defined in: arc4/index.ts:39
The function to invoke when creating this application
deleteApplication?
Section titled “deleteApplication?”
optionaldeleteApplication:AnyFunction
Defined in: arc4/index.ts:43
The function to invoke when deleting this application
optInToApplication?
Section titled “optInToApplication?”
optionaloptInToApplication:AnyFunction
Defined in: arc4/index.ts:47
The function to invoke when opting in to this application
updateApplication?
Section titled “updateApplication?”
optionalupdateApplication:AnyFunction
Defined in: arc4/index.ts:51
The function to invoke when updating this application