Skip to content

types/app-factory

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

Ƭ AppFactoryAppClientParams: Expand<Omit<AppClientParams, "algorand" | "appSpec">>

Params to get an app client by ID from an app factory.

src/types/app-factory.ts:134


Ƭ AppFactoryCreateMethodCallParams: Expand<AppClientMethodCallParams & AppClientCompilationParams & CreateOnComplete & CreateSchema>

Params to specify a create method call for an app

src/types/app-factory.ts:129


Ƭ AppFactoryCreateParams: Expand<AppClientBareCallParams & AppClientCompilationParams & CreateOnComplete & CreateSchema>

Params to specify a bare (raw) create call for an app

src/types/app-factory.ts:126


Ƭ AppFactoryDeployParams: Expand<Omit<AppDeployParams, "createParams" | "updateParams" | "deleteParams" | "metadata"> & { appName?: string ; createParams?: Expand<AppClientMethodCallParams & CreateOnComplete & CreateSchema> | Expand<AppClientBareCallParams & CreateOnComplete & CreateSchema> ; deletable?: boolean ; deleteParams?: AppClientMethodCallParams | AppClientBareCallParams ; updatable?: boolean ; updateParams?: AppClientMethodCallParams | AppClientBareCallParams }>

Parameters to define a deployment for an AppFactory

src/types/app-factory.ts:140


AppFactoryResolveAppClientByCreatorAndNameParams

Section titled “AppFactoryResolveAppClientByCreatorAndNameParams”

Ƭ AppFactoryResolveAppClientByCreatorAndNameParams: Expand<Omit<ResolveAppClientByCreatorAndName, "algorand" | "appSpec">>

Params to get an app client by creator address and name from an app factory.

src/types/app-factory.ts:137


Ƭ CreateOnComplete: Object

onComplete parameter for a create app call

NameType
onComplete?Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>

src/types/app-factory.ts:102


Ƭ CreateSchema: Object

Specifies a schema used for creating an app

NameTypeDescription
extraProgramPages?numberNumber of extra pages required for the programs. Defaults to the number needed for the programs in this call if not specified. This is immutable once the app is created.
schema?{ globalByteSlices: number ; globalInts: number ; localByteSlices: number ; localInts: number }The state schema for the app. This is immutable once the app is created. By default uses the ARC32/ARC-56 spec.
schema.globalByteSlicesnumberThe number of byte slices saved in global state.
schema.globalIntsnumberThe number of integers saved in global state.
schema.localByteSlicesnumberThe number of byte slices saved in local state.
schema.localIntsnumberThe number of integers saved in local state.

src/types/app-factory.ts:107