Skip to content

AppClientDeployParams

@algorandfoundation/algokit-utils / types/app-client / AppClientDeployParams

types/app-client.AppClientDeployParams

Parameters to pass into ApplicationClient.deploy

Hierarchy

Table of contents

Properties

Properties

allowDelete

Optional allowDelete: boolean

Whether or not to allow deletes in the contract using the deploy-time deletability control if present in your contract. If this is not specified then it will automatically be determined based on the AppSpec definition

Inherited from

AppClientDeployCoreParams.allowDelete

Defined in

src/types/app-client.ts:173


allowUpdate

Optional allowUpdate: boolean

Whether or not to allow updates in the contract using the deploy-time updatability control if present in your contract. If this is not specified then it will automatically be determined based on the AppSpec definition

Inherited from

AppClientDeployCoreParams.allowUpdate

Defined in

src/types/app-client.ts:169


createArgs

Optional createArgs: AppClientCallArgs

Any args to pass to any create transaction that is issued as part of deployment

Inherited from

AppClientDeployCallInterfaceParams.createArgs

Defined in

src/types/app-client.ts:185


createOnCompleteAction

Optional createOnCompleteAction: "no_op" | "opt_in" | "close_out" | "update_application" | "delete_application" | NoOpOC | OptInOC | CloseOutOC | UpdateApplicationOC | DeleteApplicationOC

Override the on-completion action for the create call; defaults to NoOp

Inherited from

AppClientDeployCallInterfaceParams.createOnCompleteAction

Defined in

src/types/app-client.ts:187


deleteArgs

Optional deleteArgs: AppClientCallArgs

Any args to pass to any delete transaction that is issued as part of deployment

Inherited from

AppClientDeployCallInterfaceParams.deleteArgs

Defined in

src/types/app-client.ts:191


deployTimeParams

Optional deployTimeParams: TealTemplateParams

Any deploy-time parameters to replace in the TEAL code

Inherited from

AppClientDeployCallInterfaceParams.deployTimeParams

Defined in

src/types/app-client.ts:183


onSchemaBreak

Optional onSchemaBreak: OnSchemaBreak | "replace" | "fail" | "append"

What action to perform if a schema break is detected

Inherited from

AppClientDeployCoreParams.onSchemaBreak

Defined in

src/types/app-client.ts:175


onUpdate

Optional onUpdate: "replace" | "fail" | "append" | OnUpdate | "update"

What action to perform if a TEAL update is detected

Inherited from

AppClientDeployCoreParams.onUpdate

Defined in

src/types/app-client.ts:177


schema

Optional schema: Partial<AppStorageSchema>

Any overrides for the storage schema to request for the created app; by default the schema indicated by the app spec is used.

Defined in

src/types/app-client.ts:197


sendParams

Optional sendParams: Omit<SendTransactionParams, "skipSending" | "skipWaiting">

Parameters to control transaction sending

Inherited from

AppClientDeployCoreParams.sendParams

Defined in

src/types/app-client.ts:165


sender

Optional sender: SendTransactionFrom

The optional sender to send the transaction from, will use the application client’s default sender by default if specified

Inherited from

AppClientDeployCoreParams.sender

Defined in

src/types/app-client.ts:163


updateArgs

Optional updateArgs: AppClientCallArgs

Any args to pass to any update transaction that is issued as part of deployment

Inherited from

AppClientDeployCallInterfaceParams.updateArgs

Defined in

src/types/app-client.ts:189


version

Optional version: string

The version of the contract, uses “1.0” by default

Inherited from

AppClientDeployCoreParams.version

Defined in

src/types/app-client.ts:161