Skip to content

创建文章

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types app.OnUpdate

@algorandfoundation/algokit-utils / types/app / OnUpdate

Enumeration: OnUpdate

types/app.OnUpdate

What action to perform when deploying an app and an update is detected in the TEAL code

Table of contents

Enumeration Members

Enumeration Members

AppendApp

AppendApp = 3

Create a new app

Defined in

src/types/app.ts:277


Fail

Fail = 0

Fail the deployment

Defined in

src/types/app.ts:271


ReplaceApp

ReplaceApp = 2

Delete the app and create a new one in its place

Defined in

src/types/app.ts:275


UpdateApp

UpdateApp = 1

Update the app

Defined in

src/types/app.ts:273