Skip to content

ConventionalRouting

Algorand TypeScript


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.

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.

optional closeOutOfApplication: AnyFunction

Defined in: arc4/index.ts:35

The function to invoke when closing out of this application


optional createApplication: AnyFunction

Defined in: arc4/index.ts:39

The function to invoke when creating this application


optional deleteApplication: AnyFunction

Defined in: arc4/index.ts:43

The function to invoke when deleting this application


optional optInToApplication: AnyFunction

Defined in: arc4/index.ts:47

The function to invoke when opting in to this application


optional updateApplication: AnyFunction

Defined in: arc4/index.ts:51

The function to invoke when updating this application