diff --git a/docs/code/classes/types_application_client.ApplicationClient.md b/docs/code/classes/types_application_client.ApplicationClient.md index 7099f82b..bc27fde5 100644 --- a/docs/code/classes/types_application_client.ApplicationClient.md +++ b/docs/code/classes/types_application_client.ApplicationClient.md @@ -57,7 +57,7 @@ Create a new ApplicationClient instance #### Defined in -[types/application-client.ts:146](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L146) +[types/application-client.ts:147](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L147) ## Properties @@ -67,7 +67,7 @@ Create a new ApplicationClient instance #### Defined in -[types/application-client.ts:136](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L136) +[types/application-client.ts:137](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L137) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[types/application-client.ts:135](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L135) +[types/application-client.ts:136](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L136) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[types/application-client.ts:138](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L138) +[types/application-client.ts:139](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L139) ___ @@ -97,7 +97,7 @@ ___ #### Defined in -[types/application-client.ts:137](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L137) +[types/application-client.ts:138](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L138) ___ @@ -107,7 +107,7 @@ ___ #### Defined in -[types/application-client.ts:128](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L128) +[types/application-client.ts:129](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L129) ___ @@ -117,7 +117,7 @@ ___ #### Defined in -[types/application-client.ts:130](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L130) +[types/application-client.ts:131](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L131) ___ @@ -127,7 +127,7 @@ ___ #### Defined in -[types/application-client.ts:133](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L133) +[types/application-client.ts:134](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L134) ___ @@ -137,7 +137,7 @@ ___ #### Defined in -[types/application-client.ts:129](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L129) +[types/application-client.ts:130](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L130) ___ @@ -147,7 +147,7 @@ ___ #### Defined in -[types/application-client.ts:132](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L132) +[types/application-client.ts:133](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L133) ___ @@ -157,7 +157,7 @@ ___ #### Defined in -[types/application-client.ts:131](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L131) +[types/application-client.ts:132](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L132) ## Methods @@ -178,7 +178,7 @@ ___ #### Defined in -[types/application-client.ts:382](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L382) +[types/application-client.ts:383](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L383) ___ @@ -198,7 +198,7 @@ ___ #### Defined in -[types/application-client.ts:362](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L362) +[types/application-client.ts:363](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L363) ___ @@ -218,7 +218,7 @@ ___ #### Defined in -[types/application-client.ts:374](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L374) +[types/application-client.ts:375](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L375) ___ @@ -238,7 +238,7 @@ ___ #### Defined in -[types/application-client.ts:370](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L370) +[types/application-client.ts:371](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L371) ___ @@ -258,7 +258,7 @@ ___ #### Defined in -[types/application-client.ts:281](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L281) +[types/application-client.ts:282](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L282) ___ @@ -278,7 +278,7 @@ ___ #### Defined in -[types/application-client.ts:378](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L378) +[types/application-client.ts:379](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L379) ___ @@ -312,7 +312,7 @@ The metadata and transaction result(s) of the deployment, or just the metadata i #### Defined in -[types/application-client.ts:190](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L190) +[types/application-client.ts:191](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L191) ___ @@ -332,7 +332,7 @@ ___ #### Defined in -[types/application-client.ts:433](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L433) +[types/application-client.ts:434](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L434) ___ @@ -346,7 +346,7 @@ ___ #### Defined in -[types/application-client.ts:448](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L448) +[types/application-client.ts:449](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L449) ___ @@ -366,7 +366,7 @@ ___ #### Defined in -[types/application-client.ts:413](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L413) +[types/application-client.ts:414](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L414) ___ @@ -386,7 +386,7 @@ ___ #### Defined in -[types/application-client.ts:366](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L366) +[types/application-client.ts:367](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L367) ___ @@ -406,4 +406,4 @@ ___ #### Defined in -[types/application-client.ts:327](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L327) +[types/application-client.ts:328](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L328) diff --git a/docs/code/enums/types_app.OnSchemaBreak.md b/docs/code/enums/types_app.OnSchemaBreak.md index 1147983c..0406cdfa 100644 --- a/docs/code/enums/types_app.OnSchemaBreak.md +++ b/docs/code/enums/types_app.OnSchemaBreak.md @@ -23,7 +23,7 @@ Fail the deployment #### Defined in -[types/app.ts:222](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L222) +[types/app.ts:224](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L224) ___ @@ -35,4 +35,4 @@ Delete the app and create a new one in its place #### Defined in -[types/app.ts:224](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L224) +[types/app.ts:226](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L226) diff --git a/docs/code/enums/types_app.OnUpdate.md b/docs/code/enums/types_app.OnUpdate.md index 47e58eb8..1d15649c 100644 --- a/docs/code/enums/types_app.OnUpdate.md +++ b/docs/code/enums/types_app.OnUpdate.md @@ -24,7 +24,7 @@ Fail the deployment #### Defined in -[types/app.ts:212](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L212) +[types/app.ts:214](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L214) ___ @@ -36,7 +36,7 @@ Delete the app and create a new one in its place #### Defined in -[types/app.ts:216](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L216) +[types/app.ts:218](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L218) ___ @@ -48,4 +48,4 @@ Update the app #### Defined in -[types/app.ts:214](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L214) +[types/app.ts:216](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L216) diff --git a/docs/code/interfaces/types_app.ABIAppCallArgs.md b/docs/code/interfaces/types_app.ABIAppCallArgs.md index 2cf288ec..9cb53a80 100644 --- a/docs/code/interfaces/types_app.ABIAppCallArgs.md +++ b/docs/code/interfaces/types_app.ABIAppCallArgs.md @@ -19,13 +19,13 @@ App call args for an ABI call ### args -• **args**: `ABIArgument`[] +• **args**: [`ABIAppCallArg`](../modules/types_app.md#abiappcallarg)[] The ABI args to pass in #### Defined in -[types/app.ts:69](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L69) +[types/app.ts:71](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L71) ___ @@ -37,7 +37,7 @@ Any box references to load #### Defined in -[types/app.ts:73](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L73) +[types/app.ts:75](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L75) ___ @@ -49,7 +49,7 @@ The optional lease for the transaction #### Defined in -[types/app.ts:71](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L71) +[types/app.ts:73](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L73) ___ @@ -63,4 +63,4 @@ The ABI method to call, either: #### Defined in -[types/app.ts:67](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L67) +[types/app.ts:69](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L69) diff --git a/docs/code/interfaces/types_app.AppCallParams.md b/docs/code/interfaces/types_app.AppCallParams.md index deac8b2d..e2d28f36 100644 --- a/docs/code/interfaces/types_app.AppCallParams.md +++ b/docs/code/interfaces/types_app.AppCallParams.md @@ -39,7 +39,7 @@ The id of the app to call #### Defined in -[types/app.ts:112](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L112) +[types/app.ts:114](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L114) ___ @@ -51,7 +51,7 @@ The arguments passed in to the app call #### Defined in -[types/app.ts:122](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L122) +[types/app.ts:124](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L124) ___ @@ -63,7 +63,7 @@ The type of call, everything except create (@see createApp ) and update (@see up #### Defined in -[types/app.ts:114](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L114) +[types/app.ts:116](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L116) ___ @@ -91,7 +91,7 @@ The account to make the call from #### Defined in -[types/app.ts:116](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L116) +[types/app.ts:118](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L118) ___ @@ -135,7 +135,7 @@ The (optional) transaction note #### Defined in -[types/app.ts:120](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L120) +[types/app.ts:122](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L122) ___ @@ -196,4 +196,4 @@ Optional transaction parameters #### Defined in -[types/app.ts:118](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L118) +[types/app.ts:120](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L120) diff --git a/docs/code/interfaces/types_app.AppCallTransactionResult.md b/docs/code/interfaces/types_app.AppCallTransactionResult.md index 257c49de..a7f3e9ca 100644 --- a/docs/code/interfaces/types_app.AppCallTransactionResult.md +++ b/docs/code/interfaces/types_app.AppCallTransactionResult.md @@ -46,7 +46,7 @@ If an ABI method was called the processed return value #### Defined in -[types/app.ts:154](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L154) +[types/app.ts:156](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L156) ___ diff --git a/docs/code/interfaces/types_app.AppDeployMetadata.md b/docs/code/interfaces/types_app.AppDeployMetadata.md index 861cab51..cfc1b6b4 100644 --- a/docs/code/interfaces/types_app.AppDeployMetadata.md +++ b/docs/code/interfaces/types_app.AppDeployMetadata.md @@ -35,7 +35,7 @@ Whether or not the app is deletable / permanent / unspecified #### Defined in -[types/app.ts:175](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L175) +[types/app.ts:177](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L177) ___ @@ -47,7 +47,7 @@ The unique name identifier of the app within the creator account #### Defined in -[types/app.ts:171](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L171) +[types/app.ts:173](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L173) ___ @@ -59,7 +59,7 @@ Whether or not the app is updatable / immutable / unspecified #### Defined in -[types/app.ts:177](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L177) +[types/app.ts:179](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L179) ___ @@ -71,4 +71,4 @@ The version of app that is / will be deployed #### Defined in -[types/app.ts:173](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L173) +[types/app.ts:175](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L175) diff --git a/docs/code/interfaces/types_app.AppDeploymentParams.md b/docs/code/interfaces/types_app.AppDeploymentParams.md index 3d20b31d..95a74973 100644 --- a/docs/code/interfaces/types_app.AppDeploymentParams.md +++ b/docs/code/interfaces/types_app.AppDeploymentParams.md @@ -48,7 +48,7 @@ Omit.approvalProgram #### Defined in -[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) +[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) ___ @@ -64,7 +64,7 @@ Omit.clearStateProgram #### Defined in -[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) +[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) ___ @@ -76,7 +76,7 @@ Any args to pass to any create transaction that is issued as part of deployment #### Defined in -[types/app.ts:240](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L240) +[types/app.ts:242](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L242) ___ @@ -88,7 +88,7 @@ Any args to pass to any delete transaction that is issued as part of deployment #### Defined in -[types/app.ts:244](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L244) +[types/app.ts:246](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L246) ___ @@ -100,7 +100,7 @@ Any deploy-time parameters to replace in the TEAL code #### Defined in -[types/app.ts:232](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L232) +[types/app.ts:234](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L234) ___ @@ -112,7 +112,7 @@ Optional cached value of the existing apps for the given creator #### Defined in -[types/app.ts:238](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L238) +[types/app.ts:240](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L240) ___ @@ -144,7 +144,7 @@ Omit.from #### Defined in -[types/app.ts:85](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L85) +[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) ___ @@ -188,7 +188,7 @@ The deployment metadata #### Defined in -[types/app.ts:230](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L230) +[types/app.ts:232](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L232) ___ @@ -200,7 +200,7 @@ What action to perform if a schema break is detected #### Defined in -[types/app.ts:234](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L234) +[types/app.ts:236](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L236) ___ @@ -212,7 +212,7 @@ What action to perform if a TEAL update is detected #### Defined in -[types/app.ts:236](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L236) +[types/app.ts:238](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L238) ___ @@ -228,7 +228,7 @@ Omit.schema #### Defined in -[types/app.ts:101](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L101) +[types/app.ts:103](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L103) ___ @@ -260,7 +260,7 @@ Omit.transactionParams #### Defined in -[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) +[types/app.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L93) ___ @@ -272,4 +272,4 @@ Any args to pass to any update transaction that is issued as part of deployment #### Defined in -[types/app.ts:242](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L242) +[types/app.ts:244](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L244) diff --git a/docs/code/interfaces/types_app.AppLookup.md b/docs/code/interfaces/types_app.AppLookup.md index bf563741..5675dd42 100644 --- a/docs/code/interfaces/types_app.AppLookup.md +++ b/docs/code/interfaces/types_app.AppLookup.md @@ -21,7 +21,7 @@ A lookup of name -> Algorand app for a creator #### Defined in -[types/app.ts:195](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L195) +[types/app.ts:197](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L197) ___ @@ -31,4 +31,4 @@ ___ #### Defined in -[types/app.ts:194](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L194) +[types/app.ts:196](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L196) diff --git a/docs/code/interfaces/types_app.AppMetadata.md b/docs/code/interfaces/types_app.AppMetadata.md index ca7ac46c..a911ac3c 100644 --- a/docs/code/interfaces/types_app.AppMetadata.md +++ b/docs/code/interfaces/types_app.AppMetadata.md @@ -71,7 +71,7 @@ The metadata when the app was created #### Defined in -[types/app.ts:187](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L187) +[types/app.ts:189](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L189) ___ @@ -83,7 +83,7 @@ The round the app was created #### Defined in -[types/app.ts:183](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L183) +[types/app.ts:185](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L185) ___ @@ -99,7 +99,7 @@ Whether or not the app is deletable / permanent / unspecified #### Defined in -[types/app.ts:175](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L175) +[types/app.ts:177](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L177) ___ @@ -111,7 +111,7 @@ Whether or not the app is deleted #### Defined in -[types/app.ts:189](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L189) +[types/app.ts:191](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L191) ___ @@ -127,7 +127,7 @@ The unique name identifier of the app within the creator account #### Defined in -[types/app.ts:171](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L171) +[types/app.ts:173](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L173) ___ @@ -143,7 +143,7 @@ Whether or not the app is updatable / immutable / unspecified #### Defined in -[types/app.ts:177](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L177) +[types/app.ts:179](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L179) ___ @@ -155,7 +155,7 @@ The last round that the app was updated #### Defined in -[types/app.ts:185](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L185) +[types/app.ts:187](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L187) ___ @@ -171,4 +171,4 @@ The version of app that is / will be deployed #### Defined in -[types/app.ts:173](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L173) +[types/app.ts:175](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L175) diff --git a/docs/code/interfaces/types_app.AppStorageSchema.md b/docs/code/interfaces/types_app.AppStorageSchema.md index 5312d055..77fc5421 100644 --- a/docs/code/interfaces/types_app.AppStorageSchema.md +++ b/docs/code/interfaces/types_app.AppStorageSchema.md @@ -26,7 +26,7 @@ Any extra pages that are needed for the smart contract; if left blank then the r #### Defined in -[types/app.ts:136](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L136) +[types/app.ts:138](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L138) ___ @@ -38,7 +38,7 @@ Restricts number of byte slices in global state #### Defined in -[types/app.ts:134](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L134) +[types/app.ts:136](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L136) ___ @@ -50,7 +50,7 @@ Restricts number of ints in global state #### Defined in -[types/app.ts:132](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L132) +[types/app.ts:134](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L134) ___ @@ -62,7 +62,7 @@ Restricts number of byte slices in per-user local state #### Defined in -[types/app.ts:130](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L130) +[types/app.ts:132](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L132) ___ @@ -74,4 +74,4 @@ Restricts number of ints in per-user local state #### Defined in -[types/app.ts:128](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L128) +[types/app.ts:130](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L130) diff --git a/docs/code/interfaces/types_app.CompiledTeal.md b/docs/code/interfaces/types_app.CompiledTeal.md index 77517c2d..e5623e1c 100644 --- a/docs/code/interfaces/types_app.CompiledTeal.md +++ b/docs/code/interfaces/types_app.CompiledTeal.md @@ -25,7 +25,7 @@ The compiled code #### Defined in -[types/app.ts:144](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L144) +[types/app.ts:146](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L146) ___ @@ -37,7 +37,7 @@ The base64 encoded code as a byte array #### Defined in -[types/app.ts:148](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L148) +[types/app.ts:150](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L150) ___ @@ -49,7 +49,7 @@ The has returned by the compiler #### Defined in -[types/app.ts:146](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L146) +[types/app.ts:148](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L148) ___ @@ -61,4 +61,4 @@ Original TEAL code #### Defined in -[types/app.ts:142](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L142) +[types/app.ts:144](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L144) diff --git a/docs/code/interfaces/types_app.CreateAppParams.md b/docs/code/interfaces/types_app.CreateAppParams.md index c46ea79f..4033c011 100644 --- a/docs/code/interfaces/types_app.CreateAppParams.md +++ b/docs/code/interfaces/types_app.CreateAppParams.md @@ -44,7 +44,7 @@ CreateOrUpdateAppParams.approvalProgram #### Defined in -[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) +[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) ___ @@ -60,7 +60,7 @@ CreateOrUpdateAppParams.args #### Defined in -[types/app.ts:95](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L95) +[types/app.ts:97](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L97) ___ @@ -76,7 +76,7 @@ CreateOrUpdateAppParams.clearStateProgram #### Defined in -[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) +[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) ___ @@ -108,7 +108,7 @@ CreateOrUpdateAppParams.from #### Defined in -[types/app.ts:85](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L85) +[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) ___ @@ -156,7 +156,7 @@ CreateOrUpdateAppParams.note #### Defined in -[types/app.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L93) +[types/app.ts:95](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L95) ___ @@ -168,7 +168,7 @@ The storage schema to request for the created app #### Defined in -[types/app.ts:101](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L101) +[types/app.ts:103](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L103) ___ @@ -233,4 +233,4 @@ CreateOrUpdateAppParams.transactionParams #### Defined in -[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) +[types/app.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L93) diff --git a/docs/code/interfaces/types_app.UpdateAppParams.md b/docs/code/interfaces/types_app.UpdateAppParams.md index d1936bad..26df8468 100644 --- a/docs/code/interfaces/types_app.UpdateAppParams.md +++ b/docs/code/interfaces/types_app.UpdateAppParams.md @@ -40,7 +40,7 @@ The id of the app to update #### Defined in -[types/app.ts:107](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L107) +[types/app.ts:109](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L109) ___ @@ -56,7 +56,7 @@ CreateOrUpdateAppParams.approvalProgram #### Defined in -[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) +[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) ___ @@ -72,7 +72,7 @@ CreateOrUpdateAppParams.args #### Defined in -[types/app.ts:95](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L95) +[types/app.ts:97](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L97) ___ @@ -88,7 +88,7 @@ CreateOrUpdateAppParams.clearStateProgram #### Defined in -[types/app.ts:89](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L89) +[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) ___ @@ -120,7 +120,7 @@ CreateOrUpdateAppParams.from #### Defined in -[types/app.ts:85](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L85) +[types/app.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L87) ___ @@ -168,7 +168,7 @@ CreateOrUpdateAppParams.note #### Defined in -[types/app.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L93) +[types/app.ts:95](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L95) ___ @@ -233,4 +233,4 @@ CreateOrUpdateAppParams.transactionParams #### Defined in -[types/app.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L91) +[types/app.ts:93](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L93) diff --git a/docs/code/interfaces/types_application_client.AppClientDeployParams.md b/docs/code/interfaces/types_application_client.AppClientDeployParams.md index 8b18a569..a52afb90 100644 --- a/docs/code/interfaces/types_application_client.AppClientDeployParams.md +++ b/docs/code/interfaces/types_application_client.AppClientDeployParams.md @@ -33,7 +33,7 @@ If this is not specified then it will automatically be determined based on the A #### Defined in -[types/application-client.ts:73](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L73) +[types/application-client.ts:74](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L74) ___ @@ -46,7 +46,7 @@ If this is not specified then it will automatically be determined based on the A #### Defined in -[types/application-client.ts:69](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L69) +[types/application-client.ts:70](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L70) ___ @@ -58,7 +58,7 @@ Any args to pass to any create transaction that is issued as part of deployment #### Defined in -[types/application-client.ts:83](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L83) +[types/application-client.ts:84](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L84) ___ @@ -70,7 +70,7 @@ Any args to pass to any delete transaction that is issued as part of deployment #### Defined in -[types/application-client.ts:87](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L87) +[types/application-client.ts:88](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L88) ___ @@ -82,7 +82,7 @@ Any deploy-time parameters to replace in the TEAL code #### Defined in -[types/application-client.ts:77](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L77) +[types/application-client.ts:78](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L78) ___ @@ -94,7 +94,7 @@ What action to perform if a schema break is detected #### Defined in -[types/application-client.ts:79](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L79) +[types/application-client.ts:80](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L80) ___ @@ -106,7 +106,7 @@ What action to perform if a TEAL update is detected #### Defined in -[types/application-client.ts:81](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L81) +[types/application-client.ts:82](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L82) ___ @@ -118,7 +118,7 @@ Parameters to control transaction sending #### Defined in -[types/application-client.ts:75](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L75) +[types/application-client.ts:76](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L76) ___ @@ -130,7 +130,7 @@ The optional sender to send the transaction from, will use the application clien #### Defined in -[types/application-client.ts:65](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L65) +[types/application-client.ts:66](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L66) ___ @@ -142,7 +142,7 @@ Any args to pass to any update transaction that is issued as part of deployment #### Defined in -[types/application-client.ts:85](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L85) +[types/application-client.ts:86](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L86) ___ @@ -154,4 +154,4 @@ The version of the contract, uses "1.0" by default #### Defined in -[types/application-client.ts:63](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L63) +[types/application-client.ts:64](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L64) diff --git a/docs/code/interfaces/types_application_client.ResolveAppById.md b/docs/code/interfaces/types_application_client.ResolveAppById.md index 58ab998f..7fe3a23f 100644 --- a/docs/code/interfaces/types_application_client.ResolveAppById.md +++ b/docs/code/interfaces/types_application_client.ResolveAppById.md @@ -23,7 +23,7 @@ The id of an existing app to call using this client, or 0 if the app hasn't been #### Defined in -[types/application-client.ts:42](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L42) +[types/application-client.ts:43](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L43) ___ @@ -39,4 +39,4 @@ ApplicationClient.deploy (default: uses the name in the ABI contract) #### Defined in -[types/application-client.ts:44](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L44) +[types/application-client.ts:45](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L45) diff --git a/docs/code/modules/index.md b/docs/code/modules/index.md index b3c02131..bfcbf23f 100644 --- a/docs/code/modules/index.md +++ b/docs/code/modules/index.md @@ -172,7 +172,7 @@ The information about the compiled file #### Defined in -[app.ts:264](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/app.ts#L264) +[app.ts:279](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/app.ts#L279) ___ @@ -684,7 +684,7 @@ The data about the app #### Defined in -[app.ts:253](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/app.ts#L253) +[app.ts:268](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/app.ts#L268) ___ diff --git a/docs/code/modules/types_app.md b/docs/code/modules/types_app.md index b877c5fd..9259cc0d 100644 --- a/docs/code/modules/types_app.md +++ b/docs/code/modules/types_app.md @@ -29,6 +29,7 @@ ### Type Aliases +- [ABIAppCallArg](types_app.md#abiappcallarg) - [ABIReturn](types_app.md#abireturn) - [AppCallArgs](types_app.md#appcallargs) @@ -42,6 +43,16 @@ ## Type Aliases +### ABIAppCallArg + +Ƭ **ABIAppCallArg**: `ABIArgument` \| [`TransactionToSign`](../interfaces/types_transaction.TransactionToSign.md) \| `Transaction` + +#### Defined in + +[types/app.ts:59](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L59) + +___ + ### ABIReturn Ƭ **ABIReturn**: { `decodeError`: `undefined` ; `rawReturnValue`: `Uint8Array` ; `returnValue`: `ABIValue` } \| { `decodeError`: `Error` ; `rawReturnValue`: `undefined` ; `returnValue`: `undefined` } @@ -50,7 +61,7 @@ The return value of an ABI method call #### Defined in -[types/app.ts:158](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L158) +[types/app.ts:160](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L160) ___ @@ -64,7 +75,7 @@ Arguments to pass to an app call either: #### Defined in -[types/app.ts:80](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L80) +[types/app.ts:82](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app.ts#L82) ## Variables diff --git a/docs/code/modules/types_application_client.md b/docs/code/modules/types_application_client.md index f413af7e..4b07dc3e 100644 --- a/docs/code/modules/types_application_client.md +++ b/docs/code/modules/types_application_client.md @@ -26,13 +26,13 @@ ### AppClientCallArgs -Ƭ **AppClientCallArgs**: { `args?`: [`RawAppCallArgs`](../interfaces/types_app.RawAppCallArgs.md) } \| { `method`: `string` ; `methodArgs`: `Omit`<[`ABIAppCallArgs`](../interfaces/types_app.ABIAppCallArgs.md), ``"method"``\> \| `ABIArgument`[] } +Ƭ **AppClientCallArgs**: { `args?`: [`RawAppCallArgs`](../interfaces/types_app.RawAppCallArgs.md) } \| { `method`: `string` ; `methodArgs`: `Omit`<[`ABIAppCallArgs`](../interfaces/types_app.ABIAppCallArgs.md), ``"method"``\> \| [`ABIAppCallArg`](types_app.md#abiappcallarg)[] } The arguments to pass to an Application Client smart contract call #### Defined in -[types/application-client.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L91) +[types/application-client.ts:92](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L92) ___ @@ -44,7 +44,7 @@ Parameters to construct a ApplicationClient contract call #### Defined in -[types/application-client.ts:104](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L104) +[types/application-client.ts:105](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L105) ___ @@ -56,7 +56,7 @@ Parameters for creating a contract using ApplicationClient #### Defined in -[types/application-client.ts:114](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L114) +[types/application-client.ts:115](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L115) ___ @@ -68,7 +68,7 @@ Parameters for updating a contract using ApplicationClient #### Defined in -[types/application-client.ts:124](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L124) +[types/application-client.ts:125](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L125) ___ @@ -80,7 +80,7 @@ The details of an ARC-0032 app spec specified app #### Defined in -[types/application-client.ts:48](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L48) +[types/application-client.ts:49](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L49) ___ @@ -96,4 +96,4 @@ getCreatorAppsByName #### Defined in -[types/application-client.ts:23](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L23) +[types/application-client.ts:24](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/application-client.ts#L24) diff --git a/src/app.ts b/src/app.ts index 3d04875b..06d12c4b 100644 --- a/src/app.ts +++ b/src/app.ts @@ -191,6 +191,7 @@ export function getAppArgsForTransaction(args?: AppCallArgs) { // Most of these values aren't being used since the transaction is discarded const dummyAtc = new AtomicTransactionComposer() const dummyAccount = algosdk.generateAccount() + const dummySigner = makeBasicAccountTransactionSigner(dummyAccount) const dummyAppId = 1 const dummyParams = { fee: 1, @@ -199,14 +200,28 @@ export function getAppArgsForTransaction(args?: AppCallArgs) { genesisID: 'a', lastRound: 1, } + const methodArgs = args.args?.map((a) => { + if (typeof a !== 'object') { + return a + } + // Handle the various forms of transactions to wrangle them for ATC + return 'txn' in a + ? a + : 'transaction' in a + ? { txn: a.transaction, signer: dummySigner } + : 'txID' in a + ? { txn: a, signer: dummySigner } + : a + }) + const dummyOnComplete = OnApplicationComplete.NoOpOC dummyAtc.addMethodCall({ method: 'txnCount' in args.method ? args.method : new ABIMethod(args.method), - methodArgs: args.args, + methodArgs, // Rest are dummy values appID: dummyAppId, sender: dummyAccount.addr, - signer: makeBasicAccountTransactionSigner(dummyAccount), + signer: dummySigner, suggestedParams: dummyParams, onComplete: dummyOnComplete, }) diff --git a/src/types/app.ts b/src/types/app.ts index 98d3ffcd..648c94a2 100644 --- a/src/types/app.ts +++ b/src/types/app.ts @@ -1,5 +1,5 @@ -import { ABIArgument, ABIMethod, ABIMethodParams, ABIValue, Address, SuggestedParams } from 'algosdk' -import { SendTransactionFrom, SendTransactionParams, SendTransactionResult, TransactionNote } from './transaction' +import { ABIArgument, ABIMethod, ABIMethodParams, ABIValue, Address, SuggestedParams, Transaction } from 'algosdk' +import { SendTransactionFrom, SendTransactionParams, SendTransactionResult, TransactionNote, TransactionToSign } from './transaction' /** The name of the TEAL template variable for deploy-time immutability control */ export const UPDATABLE_TEMPLATE_NAME = 'TMPL_UPDATABLE' @@ -56,6 +56,8 @@ export interface RawAppCallArgs { lease?: string | Uint8Array } +export type ABIAppCallArg = ABIArgument | TransactionToSign | Transaction + /** * App call args for an ABI call */ @@ -66,7 +68,7 @@ export interface ABIAppCallArgs { **/ method: ABIMethodParams | ABIMethod /** The ABI args to pass in */ - args: ABIArgument[] + args: ABIAppCallArg[] /** The optional lease for the transaction */ lease?: string | Uint8Array /** Any box references to load */ diff --git a/src/types/application-client.ts b/src/types/application-client.ts index e8e6a5be..6fca19ec 100644 --- a/src/types/application-client.ts +++ b/src/types/application-client.ts @@ -1,9 +1,10 @@ -import algosdk, { ABIArgument, ABIMethodParams, Algodv2, getApplicationAddress, Indexer, SuggestedParams } from 'algosdk' +import algosdk, { ABIMethodParams, Algodv2, getApplicationAddress, Indexer, SuggestedParams } from 'algosdk' import { Buffer } from 'buffer' import { callApp, createApp, updateApp } from '../app' import { deployApp, getCreatorAppsByName, performTemplateSubstitution, replaceDeployTimeControlParams } from '../deploy-app' import { getSenderAddress } from '../transaction' import { + ABIAppCallArg, ABIAppCallArgs, AppCallArgs, AppLookup, @@ -97,7 +98,7 @@ export type AppClientCallArgs = /** If calling an ABI method then either the name of the method, or the ABI signature */ method: string /** Either the ABI arguments or an object with the ABI arguments and other parameters like boxes */ - methodArgs: Omit | ABIArgument[] + methodArgs: Omit | ABIAppCallArg[] } /** Parameters to construct a ApplicationClient contract call */