Skip to content

AppClientDeployParams

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

types/app-client.AppClientDeployParams

Parameters to pass into ApplicationClient.deploy

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

AppClientDeployCoreParams.allowDelete

src/types/app-client.ts:173


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

AppClientDeployCoreParams.allowUpdate

src/types/app-client.ts:169


Optional createArgs: AppClientCallArgs

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

AppClientDeployCallInterfaceParams.createArgs

src/types/app-client.ts:185


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

AppClientDeployCallInterfaceParams.createOnCompleteAction

src/types/app-client.ts:187


Optional deleteArgs: AppClientCallArgs

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

AppClientDeployCallInterfaceParams.deleteArgs

src/types/app-client.ts:191


Optional deployTimeParams: TealTemplateParams

Any deploy-time parameters to replace in the TEAL code

AppClientDeployCallInterfaceParams.deployTimeParams

src/types/app-client.ts:183


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

What action to perform if a schema break is detected

AppClientDeployCoreParams.onSchemaBreak

src/types/app-client.ts:175


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

What action to perform if a TEAL update is detected

AppClientDeployCoreParams.onUpdate

src/types/app-client.ts:177


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.

src/types/app-client.ts:197


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

Parameters to control transaction sending

AppClientDeployCoreParams.sendParams

src/types/app-client.ts:165


Optional sender: SendTransactionFrom

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

AppClientDeployCoreParams.sender

src/types/app-client.ts:163


Optional updateArgs: AppClientCallArgs

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

AppClientDeployCallInterfaceParams.updateArgs

src/types/app-client.ts:189


Optional version: string

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

AppClientDeployCoreParams.version

src/types/app-client.ts:161