@algorandfoundation/algokit-utils 7.0.0 → 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +14 -3
  2. package/account/account.d.ts +4 -1
  3. package/account/account.js +4 -3
  4. package/account/account.js.map +1 -1
  5. package/account/account.mjs +5 -4
  6. package/account/account.mjs.map +1 -1
  7. package/account/get-dispenser-account.d.ts +1 -1
  8. package/amount.d.ts +1 -0
  9. package/amount.js +3 -2
  10. package/amount.js.map +1 -1
  11. package/amount.mjs +3 -3
  12. package/amount.mjs.map +1 -1
  13. package/app-client.d.ts +4 -4
  14. package/app-client.js +4 -4
  15. package/app-client.js.map +1 -1
  16. package/app-client.mjs +4 -4
  17. package/app-client.mjs.map +1 -1
  18. package/app-deploy.js +23 -5
  19. package/app-deploy.js.map +1 -1
  20. package/app-deploy.mjs +24 -6
  21. package/app-deploy.mjs.map +1 -1
  22. package/app.js +7 -4
  23. package/app.js.map +1 -1
  24. package/app.mjs +7 -4
  25. package/app.mjs.map +1 -1
  26. package/index.js +1 -1
  27. package/index.mjs +2 -2
  28. package/indexer-lookup.d.ts +10 -8
  29. package/indexer-lookup.js +14 -10
  30. package/indexer-lookup.js.map +1 -1
  31. package/indexer-lookup.mjs +14 -10
  32. package/indexer-lookup.mjs.map +1 -1
  33. package/network-client.d.ts +1 -7
  34. package/network-client.js +2 -9
  35. package/network-client.js.map +1 -1
  36. package/network-client.mjs +2 -9
  37. package/network-client.mjs.map +1 -1
  38. package/package.json +2 -2
  39. package/testing/_asset.d.ts +2 -1
  40. package/testing/account.d.ts +4 -3
  41. package/testing/account.js +8 -2
  42. package/testing/account.js.map +1 -1
  43. package/testing/account.mjs +9 -3
  44. package/testing/account.mjs.map +1 -1
  45. package/testing/fixtures/algorand-fixture.js +5 -6
  46. package/testing/fixtures/algorand-fixture.js.map +1 -1
  47. package/testing/fixtures/algorand-fixture.mjs +5 -6
  48. package/testing/fixtures/algorand-fixture.mjs.map +1 -1
  49. package/testing/test-logger.js +7 -1
  50. package/testing/test-logger.js.map +1 -1
  51. package/testing/test-logger.mjs +7 -1
  52. package/testing/test-logger.mjs.map +1 -1
  53. package/transaction/perform-atomic-transaction-composer-simulate.d.ts +4 -1
  54. package/transaction/perform-atomic-transaction-composer-simulate.js +14 -10
  55. package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -1
  56. package/transaction/perform-atomic-transaction-composer-simulate.mjs +15 -11
  57. package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -1
  58. package/transaction/transaction.d.ts +1 -17
  59. package/transaction/transaction.js +110 -82
  60. package/transaction/transaction.js.map +1 -1
  61. package/transaction/transaction.mjs +112 -83
  62. package/transaction/transaction.mjs.map +1 -1
  63. package/transfer/transfer.js +3 -1
  64. package/transfer/transfer.js.map +1 -1
  65. package/transfer/transfer.mjs +3 -1
  66. package/transfer/transfer.mjs.map +1 -1
  67. package/types/account-manager.d.ts +20 -20
  68. package/types/account-manager.js +27 -20
  69. package/types/account-manager.js.map +1 -1
  70. package/types/account-manager.mjs +28 -21
  71. package/types/account-manager.mjs.map +1 -1
  72. package/types/account.d.ts +8 -8
  73. package/types/account.js +2 -2
  74. package/types/account.js.map +1 -1
  75. package/types/account.mjs +3 -3
  76. package/types/account.mjs.map +1 -1
  77. package/types/algo-http-client-with-retry.d.ts +1 -2
  78. package/types/algo-http-client-with-retry.js +33 -3
  79. package/types/algo-http-client-with-retry.js.map +1 -1
  80. package/types/algo-http-client-with-retry.mjs +32 -2
  81. package/types/algo-http-client-with-retry.mjs.map +1 -1
  82. package/types/algorand-client-transaction-creator.d.ts +11 -11
  83. package/types/algorand-client-transaction-sender.d.ts +97 -97
  84. package/types/algorand-client-transaction-sender.js.map +1 -1
  85. package/types/algorand-client-transaction-sender.mjs.map +1 -1
  86. package/types/algorand-client.d.ts +3 -3
  87. package/types/algorand-client.js +1 -1
  88. package/types/algorand-client.js.map +1 -1
  89. package/types/algorand-client.mjs +1 -1
  90. package/types/algorand-client.mjs.map +1 -1
  91. package/types/app-client.d.ts +280 -279
  92. package/types/app-client.js +10 -10
  93. package/types/app-client.js.map +1 -1
  94. package/types/app-client.mjs +11 -11
  95. package/types/app-client.mjs.map +1 -1
  96. package/types/app-deployer.d.ts +4 -4
  97. package/types/app-deployer.js +22 -23
  98. package/types/app-deployer.js.map +1 -1
  99. package/types/app-deployer.mjs +23 -24
  100. package/types/app-deployer.mjs.map +1 -1
  101. package/types/app-factory.d.ts +128 -138
  102. package/types/app-factory.js +4 -3
  103. package/types/app-factory.js.map +1 -1
  104. package/types/app-factory.mjs +5 -4
  105. package/types/app-factory.mjs.map +1 -1
  106. package/types/app-manager.d.ts +5 -5
  107. package/types/app-manager.js +11 -15
  108. package/types/app-manager.js.map +1 -1
  109. package/types/app-manager.mjs +12 -16
  110. package/types/app-manager.mjs.map +1 -1
  111. package/types/app.d.ts +4 -4
  112. package/types/app.js.map +1 -1
  113. package/types/app.mjs.map +1 -1
  114. package/types/asset-manager.d.ts +5 -5
  115. package/types/asset-manager.js +8 -11
  116. package/types/asset-manager.js.map +1 -1
  117. package/types/asset-manager.mjs +8 -11
  118. package/types/asset-manager.mjs.map +1 -1
  119. package/types/client-manager.d.ts +2 -9
  120. package/types/client-manager.js +9 -19
  121. package/types/client-manager.js.map +1 -1
  122. package/types/client-manager.mjs +9 -19
  123. package/types/client-manager.mjs.map +1 -1
  124. package/types/composer.d.ts +22 -22
  125. package/types/composer.js +73 -83
  126. package/types/composer.js.map +1 -1
  127. package/types/composer.mjs +74 -84
  128. package/types/composer.mjs.map +1 -1
  129. package/types/dispenser-client.d.ts +2 -1
  130. package/types/dispenser-client.js +5 -1
  131. package/types/dispenser-client.js.map +1 -1
  132. package/types/dispenser-client.mjs +5 -1
  133. package/types/dispenser-client.mjs.map +1 -1
  134. package/types/indexer.d.ts +74 -755
  135. package/types/indexer.js.map +1 -1
  136. package/types/indexer.mjs.map +1 -1
  137. package/types/kmd-account-manager.d.ts +2 -2
  138. package/types/kmd-account-manager.js.map +1 -1
  139. package/types/kmd-account-manager.mjs.map +1 -1
  140. package/types/network-client.d.ts +1 -1
  141. package/types/network-client.js.map +1 -1
  142. package/types/network-client.mjs.map +1 -1
  143. package/types/testing.d.ts +5 -6
  144. package/types/urlTokenBaseHTTPClient.d.ts +0 -40
  145. package/types/urlTokenBaseHTTPClient.js +0 -153
  146. package/types/urlTokenBaseHTTPClient.js.map +0 -1
  147. package/types/urlTokenBaseHTTPClient.mjs +0 -151
  148. package/types/urlTokenBaseHTTPClient.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import algosdk from 'algosdk';
1
+ import algosdk, { Address } from 'algosdk';
2
2
  import { TransactionSignerAccount } from './account';
3
3
  import { AlgorandClientInterface } from './algorand-client-interface';
4
4
  import { AlgoAmount } from './amount';
@@ -17,13 +17,13 @@ import ABIValue = algosdk.ABIValue;
17
17
  import Algodv2 = algosdk.Algodv2;
18
18
  import Indexer = algosdk.Indexer;
19
19
  import OnApplicationComplete = algosdk.OnApplicationComplete;
20
- import SourceMap = algosdk.SourceMap;
20
+ import SourceMap = algosdk.ProgramSourceMap;
21
21
  import SuggestedParams = algosdk.SuggestedParams;
22
22
  import TransactionSigner = algosdk.TransactionSigner;
23
23
  /** Configuration to resolve app by creator and name `getCreatorAppsByName` */
24
24
  export type ResolveAppByCreatorAndNameBase = {
25
25
  /** The address of the app creator account to resolve the app by */
26
- creatorAddress: string;
26
+ creatorAddress: Address | string;
27
27
  /** The optional name override to resolve the app by within the creator account (default: uses the name in the ABI contract) */
28
28
  name?: string;
29
29
  /** The mechanism to find an existing app instance metadata for the given creator and name; either:
@@ -206,7 +206,7 @@ export interface AppClientParams {
206
206
  */
207
207
  appName?: string;
208
208
  /** Optional address to use for the account to use as the default sender for calls. */
209
- defaultSender?: string;
209
+ defaultSender?: Address | string;
210
210
  /** Optional signer to use as the default signer for default sender calls (if not specified then the signer will be resolved from `AlgorandClient`). */
211
211
  defaultSigner?: TransactionSigner;
212
212
  /** Optional source map for the approval program */
@@ -224,12 +224,12 @@ export type CallOnComplete = {
224
224
  /** AppClient common parameters for a bare app call */
225
225
  export type AppClientBareCallParams = Expand<Omit<CommonAppCallParams, 'appId' | 'sender' | 'onComplete'> & {
226
226
  /** The address of the account sending the transaction, if undefined then the app client's defaultSender is used. */
227
- sender?: string;
227
+ sender?: Address | string;
228
228
  }>;
229
229
  /** AppClient common parameters for an ABI method call */
230
230
  export type AppClientMethodCallParams = Expand<Omit<CommonAppCallParams, 'appId' | 'sender' | 'method' | 'args'> & {
231
231
  /** The address of the account sending the transaction, if undefined then the app client's defaultSender is used. */
232
- sender?: string;
232
+ sender?: Address | string;
233
233
  /** The method name or method signature to call if an ABI call is being emitted
234
234
  * @example Method name
235
235
  * `my_method`
@@ -251,12 +251,12 @@ export type AppClientMethodCallParams = Expand<Omit<CommonAppCallParams, 'appId'
251
251
  /** Parameters for funding an app account */
252
252
  export type FundAppParams = Expand<Omit<PaymentParams, 'receiver' | 'sender'> & SendParams & {
253
253
  /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
254
- sender?: string;
254
+ sender?: Address | string;
255
255
  }>;
256
256
  /** Resolve an app client instance by looking up an app created by the given creator with the given name */
257
257
  export type ResolveAppClientByCreatorAndName = Expand<Omit<AppClientParams, 'appId'> & {
258
258
  /** The address of the creator account for the app */
259
- creatorAddress: string;
259
+ creatorAddress: Address | string;
260
260
  /** An optional cached app lookup that matches a name to on-chain details;
261
261
  * either this is needed or indexer is required to be passed in to this `ClientManager` on construction.
262
262
  */
@@ -316,8 +316,8 @@ export declare class AppClient {
316
316
  /** The ID of the app instance this client is linked to. */
317
317
  get appId(): bigint;
318
318
  /** The app address of the app instance this client is linked to. */
319
- get appAddress(): string;
320
- /** The name of the app (from the ARC-32 / ARC-56 app spec). */
319
+ get appAddress(): algosdk.Address;
320
+ /** The name of the app (from the ARC-32 / ARC-56 app spec or override). */
321
321
  get appName(): string;
322
322
  /** The ARC-56 app spec being used */
323
323
  get appSpec(): Arc56Contract;
@@ -341,59 +341,59 @@ export declare class AppClient {
341
341
  get params(): {
342
342
  /** Return params for a payment transaction to fund the app account */
343
343
  fundAppAccount: (params: {
344
- lease?: string | Uint8Array | undefined;
345
- note?: string | Uint8Array | undefined;
346
- amount: AlgoAmount;
347
- closeRemainderTo?: string | undefined;
348
344
  maxFee?: AlgoAmount | undefined;
345
+ note?: string | Uint8Array | undefined;
349
346
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
350
- rekeyTo?: string | undefined;
347
+ lease?: string | Uint8Array | undefined;
348
+ rekeyTo?: string | algosdk.Address | undefined;
351
349
  staticFee?: AlgoAmount | undefined;
352
350
  extraFee?: AlgoAmount | undefined;
353
- validityWindow?: number | undefined;
351
+ validityWindow?: number | bigint | undefined;
354
352
  firstValidRound?: bigint | undefined;
355
353
  lastValidRound?: bigint | undefined;
354
+ amount: AlgoAmount;
355
+ closeRemainderTo?: string | algosdk.Address | undefined;
356
356
  maxRoundsToWaitForConfirmation?: number | undefined;
357
357
  suppressLog?: boolean | undefined;
358
358
  populateAppCallResources?: boolean | undefined;
359
- sender?: string | undefined;
359
+ sender?: string | algosdk.Address | undefined;
360
360
  }) => {
361
- sender: string;
361
+ sender: algosdk.Address;
362
362
  signer: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
363
- receiver: string;
364
- lease?: string | Uint8Array | undefined;
365
- note?: string | Uint8Array | undefined;
366
- amount: AlgoAmount;
367
- closeRemainderTo?: string | undefined;
363
+ receiver: algosdk.Address;
368
364
  maxFee?: AlgoAmount | undefined;
369
- rekeyTo?: string | undefined;
365
+ note?: string | Uint8Array | undefined;
366
+ lease?: string | Uint8Array | undefined;
367
+ rekeyTo?: string | algosdk.Address | undefined;
370
368
  staticFee?: AlgoAmount | undefined;
371
369
  extraFee?: AlgoAmount | undefined;
372
- validityWindow?: number | undefined;
370
+ validityWindow?: number | bigint | undefined;
373
371
  firstValidRound?: bigint | undefined;
374
372
  lastValidRound?: bigint | undefined;
373
+ amount: AlgoAmount;
374
+ closeRemainderTo?: string | algosdk.Address | undefined;
375
375
  maxRoundsToWaitForConfirmation?: number | undefined;
376
376
  suppressLog?: boolean | undefined;
377
377
  populateAppCallResources?: boolean | undefined;
378
378
  };
379
379
  /** Return params for an update ABI call, including deploy-time TEAL template replacements and compilation if provided */
380
380
  update: (params: {
381
- lease?: string | Uint8Array | undefined;
382
- note?: string | Uint8Array | undefined;
383
381
  maxFee?: AlgoAmount | undefined;
382
+ note?: string | Uint8Array | undefined;
384
383
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
385
- rekeyTo?: string | undefined;
384
+ onComplete?: algosdk.OnApplicationComplete | undefined;
385
+ lease?: string | Uint8Array | undefined;
386
+ rekeyTo?: string | algosdk.Address | undefined;
386
387
  staticFee?: AlgoAmount | undefined;
387
388
  extraFee?: AlgoAmount | undefined;
388
- validityWindow?: number | undefined;
389
+ validityWindow?: number | bigint | undefined;
389
390
  firstValidRound?: bigint | undefined;
390
391
  lastValidRound?: bigint | undefined;
391
- onComplete?: algosdk.OnApplicationComplete | undefined;
392
- accountReferences?: string[] | undefined;
392
+ accountReferences?: (string | algosdk.Address)[] | undefined;
393
393
  appReferences?: bigint[] | undefined;
394
394
  assetReferences?: bigint[] | undefined;
395
395
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
396
- sender?: string | undefined;
396
+ sender?: string | algosdk.Address | undefined;
397
397
  method: string;
398
398
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
399
399
  } & AppClientCompilationParams) => Promise<{
@@ -403,22 +403,22 @@ export declare class AppClient {
403
403
  clearStateProgram: Uint8Array;
404
404
  compiledApproval?: import("./app").CompiledTeal | undefined;
405
405
  compiledClear?: import("./app").CompiledTeal | undefined;
406
- lease?: string | Uint8Array | undefined;
407
- note?: string | Uint8Array | undefined;
408
406
  maxFee?: AlgoAmount | undefined;
407
+ note?: string | Uint8Array | undefined;
409
408
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
410
- rekeyTo?: string | undefined;
409
+ onComplete?: algosdk.OnApplicationComplete | undefined;
410
+ lease?: string | Uint8Array | undefined;
411
+ rekeyTo?: string | algosdk.Address | undefined;
411
412
  staticFee?: AlgoAmount | undefined;
412
413
  extraFee?: AlgoAmount | undefined;
413
- validityWindow?: number | undefined;
414
+ validityWindow?: number | bigint | undefined;
414
415
  firstValidRound?: bigint | undefined;
415
416
  lastValidRound?: bigint | undefined;
416
- onComplete?: algosdk.OnApplicationComplete | undefined;
417
- accountReferences?: string[] | undefined;
417
+ accountReferences?: (string | algosdk.Address)[] | undefined;
418
418
  appReferences?: bigint[] | undefined;
419
419
  assetReferences?: bigint[] | undefined;
420
420
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
421
- sender?: string | undefined;
421
+ sender?: string | algosdk.Address | undefined;
422
422
  method: string;
423
423
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
424
424
  /** Any deploy-time parameters to replace in the TEAL code */
@@ -429,25 +429,25 @@ export declare class AppClient {
429
429
  deletable?: boolean | undefined;
430
430
  } & {
431
431
  appId: bigint;
432
- sender: string;
432
+ sender: algosdk.Address;
433
433
  signer: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
434
434
  method: Arc56Method;
435
435
  onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC;
436
436
  args: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
437
- lease?: string | Uint8Array | undefined;
438
- note?: string | Uint8Array | undefined;
437
+ sender: string | algosdk.Address;
439
438
  maxFee?: AlgoAmount | undefined;
439
+ note?: string | Uint8Array | undefined;
440
440
  args?: Uint8Array[] | undefined;
441
441
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
442
- sender: string;
443
- rekeyTo?: string | undefined;
442
+ onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
443
+ lease?: string | Uint8Array | undefined;
444
+ rekeyTo?: string | algosdk.Address | undefined;
444
445
  staticFee?: AlgoAmount | undefined;
445
446
  extraFee?: AlgoAmount | undefined;
446
- validityWindow?: number | undefined;
447
+ validityWindow?: number | bigint | undefined;
447
448
  firstValidRound?: bigint | undefined;
448
449
  lastValidRound?: bigint | undefined;
449
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
450
- accountReferences?: string[] | undefined;
450
+ accountReferences?: (string | algosdk.Address)[] | undefined;
451
451
  appReferences?: bigint[] | undefined;
452
452
  assetReferences?: bigint[] | undefined;
453
453
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
@@ -457,25 +457,25 @@ export declare class AppClient {
457
457
  globalInts: number;
458
458
  globalByteSlices: number;
459
459
  localInts: number;
460
- localByteSlices: number; /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
460
+ localByteSlices: number;
461
461
  } | undefined;
462
462
  extraProgramPages?: number | undefined;
463
463
  }> | AppMethodCall<{
464
- sender: string;
464
+ sender: string | algosdk.Address;
465
465
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
466
- rekeyTo?: string | undefined;
466
+ rekeyTo?: string | algosdk.Address | undefined;
467
467
  note?: string | Uint8Array | undefined;
468
468
  lease?: string | Uint8Array | undefined;
469
469
  staticFee?: AlgoAmount | undefined;
470
470
  extraFee?: AlgoAmount | undefined;
471
471
  maxFee?: AlgoAmount | undefined;
472
- validityWindow?: number | undefined;
472
+ validityWindow?: number | bigint | undefined;
473
473
  firstValidRound?: bigint | undefined;
474
474
  lastValidRound?: bigint | undefined;
475
475
  appId: bigint;
476
476
  onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
477
477
  args?: Uint8Array[] | undefined;
478
- accountReferences?: string[] | undefined;
478
+ accountReferences?: (string | algosdk.Address)[] | undefined;
479
479
  appReferences?: bigint[] | undefined;
480
480
  assetReferences?: bigint[] | undefined;
481
481
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
@@ -485,85 +485,85 @@ export declare class AppClient {
485
485
  }>;
486
486
  /** Return params for an opt-in ABI call */
487
487
  optIn: (params: {
488
- lease?: string | Uint8Array | undefined;
489
- note?: string | Uint8Array | undefined;
490
488
  maxFee?: AlgoAmount | undefined;
489
+ note?: string | Uint8Array | undefined;
491
490
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
492
- rekeyTo?: string | undefined;
491
+ onComplete?: algosdk.OnApplicationComplete | undefined;
492
+ lease?: string | Uint8Array | undefined;
493
+ rekeyTo?: string | algosdk.Address | undefined;
493
494
  staticFee?: AlgoAmount | undefined;
494
495
  extraFee?: AlgoAmount | undefined;
495
- validityWindow?: number | undefined;
496
+ validityWindow?: number | bigint | undefined;
496
497
  firstValidRound?: bigint | undefined;
497
498
  lastValidRound?: bigint | undefined;
498
- onComplete?: algosdk.OnApplicationComplete | undefined;
499
- accountReferences?: string[] | undefined;
499
+ accountReferences?: (string | algosdk.Address)[] | undefined;
500
500
  appReferences?: bigint[] | undefined;
501
501
  assetReferences?: bigint[] | undefined;
502
502
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
503
- sender?: string | undefined;
503
+ sender?: string | algosdk.Address | undefined;
504
504
  method: string;
505
505
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
506
506
  }) => Promise<AppCallMethodCall>;
507
507
  /** Return params for an delete ABI call */
508
508
  delete: (params: {
509
- lease?: string | Uint8Array | undefined;
510
- note?: string | Uint8Array | undefined;
511
509
  maxFee?: AlgoAmount | undefined;
510
+ note?: string | Uint8Array | undefined;
512
511
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
513
- rekeyTo?: string | undefined;
512
+ onComplete?: algosdk.OnApplicationComplete | undefined;
513
+ lease?: string | Uint8Array | undefined;
514
+ rekeyTo?: string | algosdk.Address | undefined;
514
515
  staticFee?: AlgoAmount | undefined;
515
516
  extraFee?: AlgoAmount | undefined;
516
- validityWindow?: number | undefined;
517
+ validityWindow?: number | bigint | undefined;
517
518
  firstValidRound?: bigint | undefined;
518
519
  lastValidRound?: bigint | undefined;
519
- onComplete?: algosdk.OnApplicationComplete | undefined;
520
- accountReferences?: string[] | undefined;
520
+ accountReferences?: (string | algosdk.Address)[] | undefined;
521
521
  appReferences?: bigint[] | undefined;
522
522
  assetReferences?: bigint[] | undefined;
523
523
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
524
- sender?: string | undefined;
524
+ sender?: string | algosdk.Address | undefined;
525
525
  method: string;
526
526
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
527
527
  }) => Promise<AppDeleteMethodCall>;
528
528
  /** Return params for an close out ABI call */
529
529
  closeOut: (params: {
530
- lease?: string | Uint8Array | undefined;
531
- note?: string | Uint8Array | undefined;
532
530
  maxFee?: AlgoAmount | undefined;
531
+ note?: string | Uint8Array | undefined;
533
532
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
534
- rekeyTo?: string | undefined;
533
+ onComplete?: algosdk.OnApplicationComplete | undefined;
534
+ lease?: string | Uint8Array | undefined;
535
+ rekeyTo?: string | algosdk.Address | undefined;
535
536
  staticFee?: AlgoAmount | undefined;
536
537
  extraFee?: AlgoAmount | undefined;
537
- validityWindow?: number | undefined;
538
+ validityWindow?: number | bigint | undefined;
538
539
  firstValidRound?: bigint | undefined;
539
540
  lastValidRound?: bigint | undefined;
540
- onComplete?: algosdk.OnApplicationComplete | undefined;
541
- accountReferences?: string[] | undefined;
541
+ accountReferences?: (string | algosdk.Address)[] | undefined;
542
542
  appReferences?: bigint[] | undefined;
543
543
  assetReferences?: bigint[] | undefined;
544
544
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
545
- sender?: string | undefined;
545
+ sender?: string | algosdk.Address | undefined;
546
546
  method: string;
547
547
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
548
548
  }) => Promise<AppCallMethodCall>;
549
549
  /** Return params for an ABI call */
550
550
  call: (params: {
551
- lease?: string | Uint8Array | undefined;
552
- note?: string | Uint8Array | undefined;
553
551
  maxFee?: AlgoAmount | undefined;
552
+ note?: string | Uint8Array | undefined;
554
553
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
555
- rekeyTo?: string | undefined;
554
+ onComplete?: algosdk.OnApplicationComplete | undefined;
555
+ lease?: string | Uint8Array | undefined;
556
+ rekeyTo?: string | algosdk.Address | undefined;
556
557
  staticFee?: AlgoAmount | undefined;
557
558
  extraFee?: AlgoAmount | undefined;
558
- validityWindow?: number | undefined;
559
+ validityWindow?: number | bigint | undefined;
559
560
  firstValidRound?: bigint | undefined;
560
561
  lastValidRound?: bigint | undefined;
561
- onComplete?: algosdk.OnApplicationComplete | undefined;
562
- accountReferences?: string[] | undefined;
562
+ accountReferences?: (string | algosdk.Address)[] | undefined;
563
563
  appReferences?: bigint[] | undefined;
564
564
  assetReferences?: bigint[] | undefined;
565
565
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
566
- sender?: string | undefined;
566
+ sender?: string | algosdk.Address | undefined;
567
567
  method: string;
568
568
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
569
569
  } & CallOnComplete) => Promise<AppCallMethodCall>;
@@ -571,38 +571,38 @@ export declare class AppClient {
571
571
  /** Interact with bare (raw) call parameters */ bare: {
572
572
  /** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
573
573
  update: (params?: ({
574
- lease?: string | Uint8Array | undefined;
575
- note?: string | Uint8Array | undefined;
576
574
  maxFee?: AlgoAmount | undefined;
575
+ note?: string | Uint8Array | undefined;
577
576
  args?: Uint8Array[] | undefined;
578
577
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
579
- rekeyTo?: string | undefined;
578
+ lease?: string | Uint8Array | undefined;
579
+ rekeyTo?: string | algosdk.Address | undefined;
580
580
  staticFee?: AlgoAmount | undefined;
581
581
  extraFee?: AlgoAmount | undefined;
582
- validityWindow?: number | undefined;
582
+ validityWindow?: number | bigint | undefined;
583
583
  firstValidRound?: bigint | undefined;
584
584
  lastValidRound?: bigint | undefined;
585
- accountReferences?: string[] | undefined;
585
+ accountReferences?: (string | algosdk.Address)[] | undefined;
586
586
  appReferences?: bigint[] | undefined;
587
587
  assetReferences?: bigint[] | undefined;
588
588
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
589
- sender?: string | undefined;
589
+ sender?: string | algosdk.Address | undefined;
590
590
  } & AppClientCompilationParams) | undefined) => Promise<{
591
- sender: string;
591
+ sender: string | algosdk.Address;
592
592
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
593
- rekeyTo?: string | undefined;
593
+ rekeyTo?: string | algosdk.Address | undefined;
594
594
  note?: string | Uint8Array | undefined;
595
595
  lease?: string | Uint8Array | undefined;
596
596
  staticFee?: AlgoAmount | undefined;
597
597
  extraFee?: AlgoAmount | undefined;
598
598
  maxFee?: AlgoAmount | undefined;
599
- validityWindow?: number | undefined;
599
+ validityWindow?: number | bigint | undefined;
600
600
  firstValidRound?: bigint | undefined;
601
601
  lastValidRound?: bigint | undefined;
602
602
  appId: bigint;
603
603
  onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
604
604
  args?: Uint8Array[] | undefined;
605
- accountReferences?: string[] | undefined;
605
+ accountReferences?: (string | algosdk.Address)[] | undefined;
606
606
  appReferences?: bigint[] | undefined;
607
607
  assetReferences?: bigint[] | undefined;
608
608
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
@@ -611,98 +611,98 @@ export declare class AppClient {
611
611
  }>;
612
612
  /** Return params for an opt-in call */
613
613
  optIn: (params?: {
614
- lease?: string | Uint8Array | undefined;
615
- note?: string | Uint8Array | undefined;
616
614
  maxFee?: AlgoAmount | undefined;
615
+ note?: string | Uint8Array | undefined;
617
616
  args?: Uint8Array[] | undefined;
618
617
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
619
- rekeyTo?: string | undefined;
618
+ lease?: string | Uint8Array | undefined;
619
+ rekeyTo?: string | algosdk.Address | undefined;
620
620
  staticFee?: AlgoAmount | undefined;
621
621
  extraFee?: AlgoAmount | undefined;
622
- validityWindow?: number | undefined;
622
+ validityWindow?: number | bigint | undefined;
623
623
  firstValidRound?: bigint | undefined;
624
624
  lastValidRound?: bigint | undefined;
625
- accountReferences?: string[] | undefined;
625
+ accountReferences?: (string | algosdk.Address)[] | undefined;
626
626
  appReferences?: bigint[] | undefined;
627
627
  assetReferences?: bigint[] | undefined;
628
628
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
629
- sender?: string | undefined;
629
+ sender?: string | algosdk.Address | undefined;
630
630
  } | undefined) => AppCallParams;
631
631
  /** Return params for a delete call */
632
632
  delete: (params?: {
633
- lease?: string | Uint8Array | undefined;
634
- note?: string | Uint8Array | undefined;
635
633
  maxFee?: AlgoAmount | undefined;
634
+ note?: string | Uint8Array | undefined;
636
635
  args?: Uint8Array[] | undefined;
637
636
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
638
- rekeyTo?: string | undefined;
637
+ lease?: string | Uint8Array | undefined;
638
+ rekeyTo?: string | algosdk.Address | undefined;
639
639
  staticFee?: AlgoAmount | undefined;
640
640
  extraFee?: AlgoAmount | undefined;
641
- validityWindow?: number | undefined;
641
+ validityWindow?: number | bigint | undefined;
642
642
  firstValidRound?: bigint | undefined;
643
643
  lastValidRound?: bigint | undefined;
644
- accountReferences?: string[] | undefined;
644
+ accountReferences?: (string | algosdk.Address)[] | undefined;
645
645
  appReferences?: bigint[] | undefined;
646
646
  assetReferences?: bigint[] | undefined;
647
647
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
648
- sender?: string | undefined;
648
+ sender?: string | algosdk.Address | undefined;
649
649
  } | undefined) => AppDeleteParams;
650
650
  /** Return params for a clear state call */
651
651
  clearState: (params?: {
652
- lease?: string | Uint8Array | undefined;
653
- note?: string | Uint8Array | undefined;
654
652
  maxFee?: AlgoAmount | undefined;
653
+ note?: string | Uint8Array | undefined;
655
654
  args?: Uint8Array[] | undefined;
656
655
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
657
- rekeyTo?: string | undefined;
656
+ lease?: string | Uint8Array | undefined;
657
+ rekeyTo?: string | algosdk.Address | undefined;
658
658
  staticFee?: AlgoAmount | undefined;
659
659
  extraFee?: AlgoAmount | undefined;
660
- validityWindow?: number | undefined;
660
+ validityWindow?: number | bigint | undefined;
661
661
  firstValidRound?: bigint | undefined;
662
662
  lastValidRound?: bigint | undefined;
663
- accountReferences?: string[] | undefined;
663
+ accountReferences?: (string | algosdk.Address)[] | undefined;
664
664
  appReferences?: bigint[] | undefined;
665
665
  assetReferences?: bigint[] | undefined;
666
666
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
667
- sender?: string | undefined;
667
+ sender?: string | algosdk.Address | undefined;
668
668
  } | undefined) => AppCallParams;
669
669
  /** Return params for a close out call */
670
670
  closeOut: (params?: {
671
- lease?: string | Uint8Array | undefined;
672
- note?: string | Uint8Array | undefined;
673
671
  maxFee?: AlgoAmount | undefined;
672
+ note?: string | Uint8Array | undefined;
674
673
  args?: Uint8Array[] | undefined;
675
674
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
676
- rekeyTo?: string | undefined;
675
+ lease?: string | Uint8Array | undefined;
676
+ rekeyTo?: string | algosdk.Address | undefined;
677
677
  staticFee?: AlgoAmount | undefined;
678
678
  extraFee?: AlgoAmount | undefined;
679
- validityWindow?: number | undefined;
679
+ validityWindow?: number | bigint | undefined;
680
680
  firstValidRound?: bigint | undefined;
681
681
  lastValidRound?: bigint | undefined;
682
- accountReferences?: string[] | undefined;
682
+ accountReferences?: (string | algosdk.Address)[] | undefined;
683
683
  appReferences?: bigint[] | undefined;
684
684
  assetReferences?: bigint[] | undefined;
685
685
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
686
- sender?: string | undefined;
686
+ sender?: string | algosdk.Address | undefined;
687
687
  } | undefined) => AppCallParams;
688
688
  /** Return params for a call (defaults to no-op) */
689
689
  call: (params?: ({
690
- lease?: string | Uint8Array | undefined;
691
- note?: string | Uint8Array | undefined;
692
690
  maxFee?: AlgoAmount | undefined;
691
+ note?: string | Uint8Array | undefined;
693
692
  args?: Uint8Array[] | undefined;
694
693
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
695
- rekeyTo?: string | undefined;
694
+ lease?: string | Uint8Array | undefined;
695
+ rekeyTo?: string | algosdk.Address | undefined;
696
696
  staticFee?: AlgoAmount | undefined;
697
697
  extraFee?: AlgoAmount | undefined;
698
- validityWindow?: number | undefined;
698
+ validityWindow?: number | bigint | undefined;
699
699
  firstValidRound?: bigint | undefined;
700
700
  lastValidRound?: bigint | undefined;
701
- accountReferences?: string[] | undefined;
701
+ accountReferences?: (string | algosdk.Address)[] | undefined;
702
702
  appReferences?: bigint[] | undefined;
703
703
  assetReferences?: bigint[] | undefined;
704
704
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
705
- sender?: string | undefined;
705
+ sender?: string | algosdk.Address | undefined;
706
706
  } & CallOnComplete) | undefined) => AppCallParams;
707
707
  };
708
708
  };
@@ -710,43 +710,43 @@ export declare class AppClient {
710
710
  get createTransaction(): {
711
711
  /** Return transaction for a payment transaction to fund the app account */
712
712
  fundAppAccount: (params: {
713
- lease?: string | Uint8Array | undefined;
714
- note?: string | Uint8Array | undefined;
715
- amount: AlgoAmount;
716
- closeRemainderTo?: string | undefined;
717
713
  maxFee?: AlgoAmount | undefined;
714
+ note?: string | Uint8Array | undefined;
718
715
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
719
- rekeyTo?: string | undefined;
716
+ lease?: string | Uint8Array | undefined;
717
+ rekeyTo?: string | algosdk.Address | undefined;
720
718
  staticFee?: AlgoAmount | undefined;
721
719
  extraFee?: AlgoAmount | undefined;
722
- validityWindow?: number | undefined;
720
+ validityWindow?: number | bigint | undefined;
723
721
  firstValidRound?: bigint | undefined;
724
722
  lastValidRound?: bigint | undefined;
723
+ amount: AlgoAmount;
724
+ closeRemainderTo?: string | algosdk.Address | undefined;
725
725
  maxRoundsToWaitForConfirmation?: number | undefined;
726
726
  suppressLog?: boolean | undefined;
727
727
  populateAppCallResources?: boolean | undefined;
728
- sender?: string | undefined;
728
+ sender?: string | algosdk.Address | undefined;
729
729
  }) => Promise<algosdk.Transaction>;
730
730
  /**
731
731
  * Return transactions for an update ABI call, including deploy-time TEAL template replacements and compilation if provided
732
732
  */
733
733
  update: (params: {
734
- lease?: string | Uint8Array | undefined;
735
- note?: string | Uint8Array | undefined;
736
734
  maxFee?: AlgoAmount | undefined;
735
+ note?: string | Uint8Array | undefined;
737
736
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
738
- rekeyTo?: string | undefined;
737
+ onComplete?: algosdk.OnApplicationComplete | undefined;
738
+ lease?: string | Uint8Array | undefined;
739
+ rekeyTo?: string | algosdk.Address | undefined;
739
740
  staticFee?: AlgoAmount | undefined;
740
741
  extraFee?: AlgoAmount | undefined;
741
- validityWindow?: number | undefined;
742
+ validityWindow?: number | bigint | undefined;
742
743
  firstValidRound?: bigint | undefined;
743
744
  lastValidRound?: bigint | undefined;
744
- onComplete?: algosdk.OnApplicationComplete | undefined;
745
- accountReferences?: string[] | undefined;
745
+ accountReferences?: (string | algosdk.Address)[] | undefined;
746
746
  appReferences?: bigint[] | undefined;
747
747
  assetReferences?: bigint[] | undefined;
748
748
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
749
- sender?: string | undefined;
749
+ sender?: string | algosdk.Address | undefined;
750
750
  method: string;
751
751
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
752
752
  } & AppClientCompilationParams) => Promise<{
@@ -758,22 +758,22 @@ export declare class AppClient {
758
758
  * Return transactions for an opt-in ABI call
759
759
  */
760
760
  optIn: (params: {
761
- lease?: string | Uint8Array | undefined;
762
- note?: string | Uint8Array | undefined;
763
761
  maxFee?: AlgoAmount | undefined;
762
+ note?: string | Uint8Array | undefined;
764
763
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
765
- rekeyTo?: string | undefined;
764
+ onComplete?: algosdk.OnApplicationComplete | undefined;
765
+ lease?: string | Uint8Array | undefined;
766
+ rekeyTo?: string | algosdk.Address | undefined;
766
767
  staticFee?: AlgoAmount | undefined;
767
768
  extraFee?: AlgoAmount | undefined;
768
- validityWindow?: number | undefined;
769
+ validityWindow?: number | bigint | undefined;
769
770
  firstValidRound?: bigint | undefined;
770
771
  lastValidRound?: bigint | undefined;
771
- onComplete?: algosdk.OnApplicationComplete | undefined;
772
- accountReferences?: string[] | undefined;
772
+ accountReferences?: (string | algosdk.Address)[] | undefined;
773
773
  appReferences?: bigint[] | undefined;
774
774
  assetReferences?: bigint[] | undefined;
775
775
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
776
- sender?: string | undefined;
776
+ sender?: string | algosdk.Address | undefined;
777
777
  method: string;
778
778
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
779
779
  }) => Promise<{
@@ -785,22 +785,22 @@ export declare class AppClient {
785
785
  * Return transactions for a delete ABI call
786
786
  */
787
787
  delete: (params: {
788
- lease?: string | Uint8Array | undefined;
789
- note?: string | Uint8Array | undefined;
790
788
  maxFee?: AlgoAmount | undefined;
789
+ note?: string | Uint8Array | undefined;
791
790
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
792
- rekeyTo?: string | undefined;
791
+ onComplete?: algosdk.OnApplicationComplete | undefined;
792
+ lease?: string | Uint8Array | undefined;
793
+ rekeyTo?: string | algosdk.Address | undefined;
793
794
  staticFee?: AlgoAmount | undefined;
794
795
  extraFee?: AlgoAmount | undefined;
795
- validityWindow?: number | undefined;
796
+ validityWindow?: number | bigint | undefined;
796
797
  firstValidRound?: bigint | undefined;
797
798
  lastValidRound?: bigint | undefined;
798
- onComplete?: algosdk.OnApplicationComplete | undefined;
799
- accountReferences?: string[] | undefined;
799
+ accountReferences?: (string | algosdk.Address)[] | undefined;
800
800
  appReferences?: bigint[] | undefined;
801
801
  assetReferences?: bigint[] | undefined;
802
802
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
803
- sender?: string | undefined;
803
+ sender?: string | algosdk.Address | undefined;
804
804
  method: string;
805
805
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
806
806
  }) => Promise<{
@@ -812,22 +812,22 @@ export declare class AppClient {
812
812
  * Return transactions for a close out ABI call
813
813
  */
814
814
  closeOut: (params: {
815
- lease?: string | Uint8Array | undefined;
816
- note?: string | Uint8Array | undefined;
817
815
  maxFee?: AlgoAmount | undefined;
816
+ note?: string | Uint8Array | undefined;
818
817
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
819
- rekeyTo?: string | undefined;
818
+ onComplete?: algosdk.OnApplicationComplete | undefined;
819
+ lease?: string | Uint8Array | undefined;
820
+ rekeyTo?: string | algosdk.Address | undefined;
820
821
  staticFee?: AlgoAmount | undefined;
821
822
  extraFee?: AlgoAmount | undefined;
822
- validityWindow?: number | undefined;
823
+ validityWindow?: number | bigint | undefined;
823
824
  firstValidRound?: bigint | undefined;
824
825
  lastValidRound?: bigint | undefined;
825
- onComplete?: algosdk.OnApplicationComplete | undefined;
826
- accountReferences?: string[] | undefined;
826
+ accountReferences?: (string | algosdk.Address)[] | undefined;
827
827
  appReferences?: bigint[] | undefined;
828
828
  assetReferences?: bigint[] | undefined;
829
829
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
830
- sender?: string | undefined;
830
+ sender?: string | algosdk.Address | undefined;
831
831
  method: string;
832
832
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
833
833
  }) => Promise<{
@@ -839,22 +839,22 @@ export declare class AppClient {
839
839
  * Return transactions for an ABI call (defaults to no-op)
840
840
  */
841
841
  call: (params: {
842
- lease?: string | Uint8Array | undefined;
843
- note?: string | Uint8Array | undefined;
844
842
  maxFee?: AlgoAmount | undefined;
843
+ note?: string | Uint8Array | undefined;
845
844
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
846
- rekeyTo?: string | undefined;
845
+ onComplete?: algosdk.OnApplicationComplete | undefined;
846
+ lease?: string | Uint8Array | undefined;
847
+ rekeyTo?: string | algosdk.Address | undefined;
847
848
  staticFee?: AlgoAmount | undefined;
848
849
  extraFee?: AlgoAmount | undefined;
849
- validityWindow?: number | undefined;
850
+ validityWindow?: number | bigint | undefined;
850
851
  firstValidRound?: bigint | undefined;
851
852
  lastValidRound?: bigint | undefined;
852
- onComplete?: algosdk.OnApplicationComplete | undefined;
853
- accountReferences?: string[] | undefined;
853
+ accountReferences?: (string | algosdk.Address)[] | undefined;
854
854
  appReferences?: bigint[] | undefined;
855
855
  assetReferences?: bigint[] | undefined;
856
856
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
857
- sender?: string | undefined;
857
+ sender?: string | algosdk.Address | undefined;
858
858
  method: string;
859
859
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
860
860
  } & CallOnComplete) => Promise<{
@@ -866,117 +866,117 @@ export declare class AppClient {
866
866
  /** Interact with bare (raw) call transactions */ bare: {
867
867
  /** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
868
868
  update: (params?: ({
869
- lease?: string | Uint8Array | undefined;
870
- note?: string | Uint8Array | undefined;
871
869
  maxFee?: AlgoAmount | undefined;
870
+ note?: string | Uint8Array | undefined;
872
871
  args?: Uint8Array[] | undefined;
873
872
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
874
- rekeyTo?: string | undefined;
873
+ lease?: string | Uint8Array | undefined;
874
+ rekeyTo?: string | algosdk.Address | undefined;
875
875
  staticFee?: AlgoAmount | undefined;
876
876
  extraFee?: AlgoAmount | undefined;
877
- validityWindow?: number | undefined;
877
+ validityWindow?: number | bigint | undefined;
878
878
  firstValidRound?: bigint | undefined;
879
879
  lastValidRound?: bigint | undefined;
880
- accountReferences?: string[] | undefined;
880
+ accountReferences?: (string | algosdk.Address)[] | undefined;
881
881
  appReferences?: bigint[] | undefined;
882
882
  assetReferences?: bigint[] | undefined;
883
883
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
884
- sender?: string | undefined;
884
+ sender?: string | algosdk.Address | undefined;
885
885
  } & AppClientCompilationParams) | undefined) => Promise<algosdk.Transaction>;
886
886
  /** Returns a transaction for an opt-in call */
887
887
  optIn: (params?: {
888
- lease?: string | Uint8Array | undefined;
889
- note?: string | Uint8Array | undefined;
890
888
  maxFee?: AlgoAmount | undefined;
889
+ note?: string | Uint8Array | undefined;
891
890
  args?: Uint8Array[] | undefined;
892
891
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
893
- rekeyTo?: string | undefined;
892
+ lease?: string | Uint8Array | undefined;
893
+ rekeyTo?: string | algosdk.Address | undefined;
894
894
  staticFee?: AlgoAmount | undefined;
895
895
  extraFee?: AlgoAmount | undefined;
896
- validityWindow?: number | undefined;
896
+ validityWindow?: number | bigint | undefined;
897
897
  firstValidRound?: bigint | undefined;
898
898
  lastValidRound?: bigint | undefined;
899
- accountReferences?: string[] | undefined;
899
+ accountReferences?: (string | algosdk.Address)[] | undefined;
900
900
  appReferences?: bigint[] | undefined;
901
901
  assetReferences?: bigint[] | undefined;
902
902
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
903
- sender?: string | undefined;
903
+ sender?: string | algosdk.Address | undefined;
904
904
  } | undefined) => Promise<algosdk.Transaction>;
905
905
  /** Returns a transaction for a delete call */
906
906
  delete: (params?: {
907
- lease?: string | Uint8Array | undefined;
908
- note?: string | Uint8Array | undefined;
909
907
  maxFee?: AlgoAmount | undefined;
908
+ note?: string | Uint8Array | undefined;
910
909
  args?: Uint8Array[] | undefined;
911
910
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
912
- rekeyTo?: string | undefined;
911
+ lease?: string | Uint8Array | undefined;
912
+ rekeyTo?: string | algosdk.Address | undefined;
913
913
  staticFee?: AlgoAmount | undefined;
914
914
  extraFee?: AlgoAmount | undefined;
915
- validityWindow?: number | undefined;
915
+ validityWindow?: number | bigint | undefined;
916
916
  firstValidRound?: bigint | undefined;
917
917
  lastValidRound?: bigint | undefined;
918
- accountReferences?: string[] | undefined;
918
+ accountReferences?: (string | algosdk.Address)[] | undefined;
919
919
  appReferences?: bigint[] | undefined;
920
920
  assetReferences?: bigint[] | undefined;
921
921
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
922
- sender?: string | undefined;
922
+ sender?: string | algosdk.Address | undefined;
923
923
  } | undefined) => Promise<algosdk.Transaction>;
924
924
  /** Returns a transaction for a clear state call */
925
925
  clearState: (params?: {
926
- lease?: string | Uint8Array | undefined;
927
- note?: string | Uint8Array | undefined;
928
926
  maxFee?: AlgoAmount | undefined;
927
+ note?: string | Uint8Array | undefined;
929
928
  args?: Uint8Array[] | undefined;
930
929
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
931
- rekeyTo?: string | undefined;
930
+ lease?: string | Uint8Array | undefined;
931
+ rekeyTo?: string | algosdk.Address | undefined;
932
932
  staticFee?: AlgoAmount | undefined;
933
933
  extraFee?: AlgoAmount | undefined;
934
- validityWindow?: number | undefined;
934
+ validityWindow?: number | bigint | undefined;
935
935
  firstValidRound?: bigint | undefined;
936
936
  lastValidRound?: bigint | undefined;
937
- accountReferences?: string[] | undefined;
937
+ accountReferences?: (string | algosdk.Address)[] | undefined;
938
938
  appReferences?: bigint[] | undefined;
939
939
  assetReferences?: bigint[] | undefined;
940
940
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
941
- sender?: string | undefined;
941
+ sender?: string | algosdk.Address | undefined;
942
942
  } | undefined) => Promise<algosdk.Transaction>;
943
943
  /** Returns a transaction for a close out call */
944
944
  closeOut: (params?: {
945
- lease?: string | Uint8Array | undefined;
946
- note?: string | Uint8Array | undefined;
947
945
  maxFee?: AlgoAmount | undefined;
946
+ note?: string | Uint8Array | undefined;
948
947
  args?: Uint8Array[] | undefined;
949
948
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
950
- rekeyTo?: string | undefined;
949
+ lease?: string | Uint8Array | undefined;
950
+ rekeyTo?: string | algosdk.Address | undefined;
951
951
  staticFee?: AlgoAmount | undefined;
952
952
  extraFee?: AlgoAmount | undefined;
953
- validityWindow?: number | undefined;
953
+ validityWindow?: number | bigint | undefined;
954
954
  firstValidRound?: bigint | undefined;
955
955
  lastValidRound?: bigint | undefined;
956
- accountReferences?: string[] | undefined;
956
+ accountReferences?: (string | algosdk.Address)[] | undefined;
957
957
  appReferences?: bigint[] | undefined;
958
958
  assetReferences?: bigint[] | undefined;
959
959
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
960
- sender?: string | undefined;
960
+ sender?: string | algosdk.Address | undefined;
961
961
  } | undefined) => Promise<algosdk.Transaction>;
962
962
  /** Returns a transaction for a call (defaults to no-op) */
963
963
  call: (params?: ({
964
- lease?: string | Uint8Array | undefined;
965
- note?: string | Uint8Array | undefined;
966
964
  maxFee?: AlgoAmount | undefined;
965
+ note?: string | Uint8Array | undefined;
967
966
  args?: Uint8Array[] | undefined;
968
967
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
969
- rekeyTo?: string | undefined;
968
+ lease?: string | Uint8Array | undefined;
969
+ rekeyTo?: string | algosdk.Address | undefined;
970
970
  staticFee?: AlgoAmount | undefined;
971
971
  extraFee?: AlgoAmount | undefined;
972
- validityWindow?: number | undefined;
972
+ validityWindow?: number | bigint | undefined;
973
973
  firstValidRound?: bigint | undefined;
974
974
  lastValidRound?: bigint | undefined;
975
- accountReferences?: string[] | undefined;
975
+ accountReferences?: (string | algosdk.Address)[] | undefined;
976
976
  appReferences?: bigint[] | undefined;
977
977
  assetReferences?: bigint[] | undefined;
978
978
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
979
- sender?: string | undefined;
979
+ sender?: string | algosdk.Address | undefined;
980
980
  } & CallOnComplete) | undefined) => Promise<algosdk.Transaction>;
981
981
  };
982
982
  };
@@ -984,22 +984,22 @@ export declare class AppClient {
984
984
  get send(): {
985
985
  /** Sign and send transactions for a payment transaction to fund the app account */
986
986
  fundAppAccount: (params: {
987
- lease?: string | Uint8Array | undefined;
988
- note?: string | Uint8Array | undefined;
989
- amount: AlgoAmount;
990
- closeRemainderTo?: string | undefined;
991
987
  maxFee?: AlgoAmount | undefined;
988
+ note?: string | Uint8Array | undefined;
992
989
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
993
- rekeyTo?: string | undefined;
990
+ lease?: string | Uint8Array | undefined;
991
+ rekeyTo?: string | algosdk.Address | undefined;
994
992
  staticFee?: AlgoAmount | undefined;
995
993
  extraFee?: AlgoAmount | undefined;
996
- validityWindow?: number | undefined;
994
+ validityWindow?: number | bigint | undefined;
997
995
  firstValidRound?: bigint | undefined;
998
996
  lastValidRound?: bigint | undefined;
997
+ amount: AlgoAmount;
998
+ closeRemainderTo?: string | algosdk.Address | undefined;
999
999
  maxRoundsToWaitForConfirmation?: number | undefined;
1000
1000
  suppressLog?: boolean | undefined;
1001
1001
  populateAppCallResources?: boolean | undefined;
1002
- sender?: string | undefined;
1002
+ sender?: string | algosdk.Address | undefined;
1003
1003
  } & SendParams) => Promise<{
1004
1004
  groupId: string;
1005
1005
  txIds: string[];
@@ -1013,22 +1013,22 @@ export declare class AppClient {
1013
1013
  * Sign and send transactions for an update ABI call, including deploy-time TEAL template replacements and compilation if provided
1014
1014
  */
1015
1015
  update: (params: {
1016
- lease?: string | Uint8Array | undefined;
1017
- note?: string | Uint8Array | undefined;
1018
1016
  maxFee?: AlgoAmount | undefined;
1017
+ note?: string | Uint8Array | undefined;
1019
1018
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1020
- rekeyTo?: string | undefined;
1019
+ onComplete?: algosdk.OnApplicationComplete | undefined;
1020
+ lease?: string | Uint8Array | undefined;
1021
+ rekeyTo?: string | algosdk.Address | undefined;
1021
1022
  staticFee?: AlgoAmount | undefined;
1022
1023
  extraFee?: AlgoAmount | undefined;
1023
- validityWindow?: number | undefined;
1024
+ validityWindow?: number | bigint | undefined;
1024
1025
  firstValidRound?: bigint | undefined;
1025
1026
  lastValidRound?: bigint | undefined;
1026
- onComplete?: algosdk.OnApplicationComplete | undefined;
1027
- accountReferences?: string[] | undefined;
1027
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1028
1028
  appReferences?: bigint[] | undefined;
1029
1029
  assetReferences?: bigint[] | undefined;
1030
1030
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1031
- sender?: string | undefined;
1031
+ sender?: string | algosdk.Address | undefined;
1032
1032
  method: string;
1033
1033
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1034
1034
  } & AppClientCompilationParams & SendParams) => Promise<{
@@ -1047,22 +1047,22 @@ export declare class AppClient {
1047
1047
  * Sign and send transactions for an opt-in ABI call
1048
1048
  */
1049
1049
  optIn: (params: {
1050
- lease?: string | Uint8Array | undefined;
1051
- note?: string | Uint8Array | undefined;
1052
1050
  maxFee?: AlgoAmount | undefined;
1051
+ note?: string | Uint8Array | undefined;
1053
1052
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1054
- rekeyTo?: string | undefined;
1053
+ onComplete?: algosdk.OnApplicationComplete | undefined;
1054
+ lease?: string | Uint8Array | undefined;
1055
+ rekeyTo?: string | algosdk.Address | undefined;
1055
1056
  staticFee?: AlgoAmount | undefined;
1056
1057
  extraFee?: AlgoAmount | undefined;
1057
- validityWindow?: number | undefined;
1058
+ validityWindow?: number | bigint | undefined;
1058
1059
  firstValidRound?: bigint | undefined;
1059
1060
  lastValidRound?: bigint | undefined;
1060
- onComplete?: algosdk.OnApplicationComplete | undefined;
1061
- accountReferences?: string[] | undefined;
1061
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1062
1062
  appReferences?: bigint[] | undefined;
1063
1063
  assetReferences?: bigint[] | undefined;
1064
1064
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1065
- sender?: string | undefined;
1065
+ sender?: string | algosdk.Address | undefined;
1066
1066
  method: string;
1067
1067
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1068
1068
  } & SendParams) => Promise<Omit<{
@@ -1079,22 +1079,22 @@ export declare class AppClient {
1079
1079
  * Sign and send transactions for a delete ABI call
1080
1080
  */
1081
1081
  delete: (params: {
1082
- lease?: string | Uint8Array | undefined;
1083
- note?: string | Uint8Array | undefined;
1084
1082
  maxFee?: AlgoAmount | undefined;
1083
+ note?: string | Uint8Array | undefined;
1085
1084
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1086
- rekeyTo?: string | undefined;
1085
+ onComplete?: algosdk.OnApplicationComplete | undefined;
1086
+ lease?: string | Uint8Array | undefined;
1087
+ rekeyTo?: string | algosdk.Address | undefined;
1087
1088
  staticFee?: AlgoAmount | undefined;
1088
1089
  extraFee?: AlgoAmount | undefined;
1089
- validityWindow?: number | undefined;
1090
+ validityWindow?: number | bigint | undefined;
1090
1091
  firstValidRound?: bigint | undefined;
1091
1092
  lastValidRound?: bigint | undefined;
1092
- onComplete?: algosdk.OnApplicationComplete | undefined;
1093
- accountReferences?: string[] | undefined;
1093
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1094
1094
  appReferences?: bigint[] | undefined;
1095
1095
  assetReferences?: bigint[] | undefined;
1096
1096
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1097
- sender?: string | undefined;
1097
+ sender?: string | algosdk.Address | undefined;
1098
1098
  method: string;
1099
1099
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1100
1100
  } & SendParams) => Promise<Omit<{
@@ -1111,22 +1111,22 @@ export declare class AppClient {
1111
1111
  * Sign and send transactions for a close out ABI call
1112
1112
  */
1113
1113
  closeOut: (params: {
1114
- lease?: string | Uint8Array | undefined;
1115
- note?: string | Uint8Array | undefined;
1116
1114
  maxFee?: AlgoAmount | undefined;
1115
+ note?: string | Uint8Array | undefined;
1117
1116
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1118
- rekeyTo?: string | undefined;
1117
+ onComplete?: algosdk.OnApplicationComplete | undefined;
1118
+ lease?: string | Uint8Array | undefined;
1119
+ rekeyTo?: string | algosdk.Address | undefined;
1119
1120
  staticFee?: AlgoAmount | undefined;
1120
1121
  extraFee?: AlgoAmount | undefined;
1121
- validityWindow?: number | undefined;
1122
+ validityWindow?: number | bigint | undefined;
1122
1123
  firstValidRound?: bigint | undefined;
1123
1124
  lastValidRound?: bigint | undefined;
1124
- onComplete?: algosdk.OnApplicationComplete | undefined;
1125
- accountReferences?: string[] | undefined;
1125
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1126
1126
  appReferences?: bigint[] | undefined;
1127
1127
  assetReferences?: bigint[] | undefined;
1128
1128
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1129
- sender?: string | undefined;
1129
+ sender?: string | algosdk.Address | undefined;
1130
1130
  method: string;
1131
1131
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1132
1132
  } & SendParams) => Promise<Omit<{
@@ -1143,22 +1143,22 @@ export declare class AppClient {
1143
1143
  * Sign and send transactions for a call (defaults to no-op)
1144
1144
  */
1145
1145
  call: (params: {
1146
- lease?: string | Uint8Array | undefined;
1147
- note?: string | Uint8Array | undefined;
1148
1146
  maxFee?: AlgoAmount | undefined;
1147
+ note?: string | Uint8Array | undefined;
1149
1148
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1150
- rekeyTo?: string | undefined;
1149
+ onComplete?: algosdk.OnApplicationComplete | undefined;
1150
+ lease?: string | Uint8Array | undefined;
1151
+ rekeyTo?: string | algosdk.Address | undefined;
1151
1152
  staticFee?: AlgoAmount | undefined;
1152
1153
  extraFee?: AlgoAmount | undefined;
1153
- validityWindow?: number | undefined;
1154
+ validityWindow?: number | bigint | undefined;
1154
1155
  firstValidRound?: bigint | undefined;
1155
1156
  lastValidRound?: bigint | undefined;
1156
- onComplete?: algosdk.OnApplicationComplete | undefined;
1157
- accountReferences?: string[] | undefined;
1157
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1158
1158
  appReferences?: bigint[] | undefined;
1159
1159
  assetReferences?: bigint[] | undefined;
1160
1160
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1161
- sender?: string | undefined;
1161
+ sender?: string | algosdk.Address | undefined;
1162
1162
  method: string;
1163
1163
  args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1164
1164
  } & CallOnComplete & SendParams) => Promise<Omit<{
@@ -1175,22 +1175,22 @@ export declare class AppClient {
1175
1175
  /** Interact with bare (raw) calls */ bare: {
1176
1176
  /** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
1177
1177
  update: (params?: ({
1178
- lease?: string | Uint8Array | undefined;
1179
- note?: string | Uint8Array | undefined;
1180
1178
  maxFee?: AlgoAmount | undefined;
1179
+ note?: string | Uint8Array | undefined;
1181
1180
  args?: Uint8Array[] | undefined;
1182
1181
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1183
- rekeyTo?: string | undefined;
1182
+ lease?: string | Uint8Array | undefined;
1183
+ rekeyTo?: string | algosdk.Address | undefined;
1184
1184
  staticFee?: AlgoAmount | undefined;
1185
1185
  extraFee?: AlgoAmount | undefined;
1186
- validityWindow?: number | undefined;
1186
+ validityWindow?: number | bigint | undefined;
1187
1187
  firstValidRound?: bigint | undefined;
1188
1188
  lastValidRound?: bigint | undefined;
1189
- accountReferences?: string[] | undefined;
1189
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1190
1190
  appReferences?: bigint[] | undefined;
1191
1191
  assetReferences?: bigint[] | undefined;
1192
1192
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1193
- sender?: string | undefined;
1193
+ sender?: string | algosdk.Address | undefined;
1194
1194
  } & AppClientCompilationParams & SendParams) | undefined) => Promise<{
1195
1195
  compiledApproval?: import("./app").CompiledTeal | undefined;
1196
1196
  compiledClear?: import("./app").CompiledTeal | undefined;
@@ -1205,22 +1205,22 @@ export declare class AppClient {
1205
1205
  }>;
1206
1206
  /** Signs and sends an opt-in call */
1207
1207
  optIn: (params?: ({
1208
- lease?: string | Uint8Array | undefined;
1209
- note?: string | Uint8Array | undefined;
1210
1208
  maxFee?: AlgoAmount | undefined;
1209
+ note?: string | Uint8Array | undefined;
1211
1210
  args?: Uint8Array[] | undefined;
1212
1211
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1213
- rekeyTo?: string | undefined;
1212
+ lease?: string | Uint8Array | undefined;
1213
+ rekeyTo?: string | algosdk.Address | undefined;
1214
1214
  staticFee?: AlgoAmount | undefined;
1215
1215
  extraFee?: AlgoAmount | undefined;
1216
- validityWindow?: number | undefined;
1216
+ validityWindow?: number | bigint | undefined;
1217
1217
  firstValidRound?: bigint | undefined;
1218
1218
  lastValidRound?: bigint | undefined;
1219
- accountReferences?: string[] | undefined;
1219
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1220
1220
  appReferences?: bigint[] | undefined;
1221
1221
  assetReferences?: bigint[] | undefined;
1222
1222
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1223
- sender?: string | undefined;
1223
+ sender?: string | algosdk.Address | undefined;
1224
1224
  } & SendParams) | undefined) => Promise<{
1225
1225
  groupId: string;
1226
1226
  txIds: string[];
@@ -1233,22 +1233,22 @@ export declare class AppClient {
1233
1233
  }>;
1234
1234
  /** Signs and sends a delete call */
1235
1235
  delete: (params?: ({
1236
- lease?: string | Uint8Array | undefined;
1237
- note?: string | Uint8Array | undefined;
1238
1236
  maxFee?: AlgoAmount | undefined;
1237
+ note?: string | Uint8Array | undefined;
1239
1238
  args?: Uint8Array[] | undefined;
1240
1239
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1241
- rekeyTo?: string | undefined;
1240
+ lease?: string | Uint8Array | undefined;
1241
+ rekeyTo?: string | algosdk.Address | undefined;
1242
1242
  staticFee?: AlgoAmount | undefined;
1243
1243
  extraFee?: AlgoAmount | undefined;
1244
- validityWindow?: number | undefined;
1244
+ validityWindow?: number | bigint | undefined;
1245
1245
  firstValidRound?: bigint | undefined;
1246
1246
  lastValidRound?: bigint | undefined;
1247
- accountReferences?: string[] | undefined;
1247
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1248
1248
  appReferences?: bigint[] | undefined;
1249
1249
  assetReferences?: bigint[] | undefined;
1250
1250
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1251
- sender?: string | undefined;
1251
+ sender?: string | algosdk.Address | undefined;
1252
1252
  } & SendParams) | undefined) => Promise<{
1253
1253
  groupId: string;
1254
1254
  txIds: string[];
@@ -1261,22 +1261,22 @@ export declare class AppClient {
1261
1261
  }>;
1262
1262
  /** Signs and sends a clear state call */
1263
1263
  clearState: (params?: ({
1264
- lease?: string | Uint8Array | undefined;
1265
- note?: string | Uint8Array | undefined;
1266
1264
  maxFee?: AlgoAmount | undefined;
1265
+ note?: string | Uint8Array | undefined;
1267
1266
  args?: Uint8Array[] | undefined;
1268
1267
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1269
- rekeyTo?: string | undefined;
1268
+ lease?: string | Uint8Array | undefined;
1269
+ rekeyTo?: string | algosdk.Address | undefined;
1270
1270
  staticFee?: AlgoAmount | undefined;
1271
1271
  extraFee?: AlgoAmount | undefined;
1272
- validityWindow?: number | undefined;
1272
+ validityWindow?: number | bigint | undefined;
1273
1273
  firstValidRound?: bigint | undefined;
1274
1274
  lastValidRound?: bigint | undefined;
1275
- accountReferences?: string[] | undefined;
1275
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1276
1276
  appReferences?: bigint[] | undefined;
1277
1277
  assetReferences?: bigint[] | undefined;
1278
1278
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1279
- sender?: string | undefined;
1279
+ sender?: string | algosdk.Address | undefined;
1280
1280
  } & SendParams) | undefined) => Promise<{
1281
1281
  groupId: string;
1282
1282
  txIds: string[];
@@ -1289,22 +1289,22 @@ export declare class AppClient {
1289
1289
  }>;
1290
1290
  /** Signs and sends a close out call */
1291
1291
  closeOut: (params?: ({
1292
- lease?: string | Uint8Array | undefined;
1293
- note?: string | Uint8Array | undefined;
1294
1292
  maxFee?: AlgoAmount | undefined;
1293
+ note?: string | Uint8Array | undefined;
1295
1294
  args?: Uint8Array[] | undefined;
1296
1295
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1297
- rekeyTo?: string | undefined;
1296
+ lease?: string | Uint8Array | undefined;
1297
+ rekeyTo?: string | algosdk.Address | undefined;
1298
1298
  staticFee?: AlgoAmount | undefined;
1299
1299
  extraFee?: AlgoAmount | undefined;
1300
- validityWindow?: number | undefined;
1300
+ validityWindow?: number | bigint | undefined;
1301
1301
  firstValidRound?: bigint | undefined;
1302
1302
  lastValidRound?: bigint | undefined;
1303
- accountReferences?: string[] | undefined;
1303
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1304
1304
  appReferences?: bigint[] | undefined;
1305
1305
  assetReferences?: bigint[] | undefined;
1306
1306
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1307
- sender?: string | undefined;
1307
+ sender?: string | algosdk.Address | undefined;
1308
1308
  } & SendParams) | undefined) => Promise<{
1309
1309
  groupId: string;
1310
1310
  txIds: string[];
@@ -1317,22 +1317,22 @@ export declare class AppClient {
1317
1317
  }>;
1318
1318
  /** Signs and sends a call (defaults to no-op) */
1319
1319
  call: (params?: ({
1320
- lease?: string | Uint8Array | undefined;
1321
- note?: string | Uint8Array | undefined;
1322
1320
  maxFee?: AlgoAmount | undefined;
1321
+ note?: string | Uint8Array | undefined;
1323
1322
  args?: Uint8Array[] | undefined;
1324
1323
  signer?: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
1325
- rekeyTo?: string | undefined;
1324
+ lease?: string | Uint8Array | undefined;
1325
+ rekeyTo?: string | algosdk.Address | undefined;
1326
1326
  staticFee?: AlgoAmount | undefined;
1327
1327
  extraFee?: AlgoAmount | undefined;
1328
- validityWindow?: number | undefined;
1328
+ validityWindow?: number | bigint | undefined;
1329
1329
  firstValidRound?: bigint | undefined;
1330
1330
  lastValidRound?: bigint | undefined;
1331
- accountReferences?: string[] | undefined;
1331
+ accountReferences?: (string | algosdk.Address)[] | undefined;
1332
1332
  appReferences?: bigint[] | undefined;
1333
1333
  assetReferences?: bigint[] | undefined;
1334
1334
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1335
- sender?: string | undefined;
1335
+ sender?: string | algosdk.Address | undefined;
1336
1336
  } & CallOnComplete & SendParams) | undefined) => Promise<{
1337
1337
  groupId: string;
1338
1338
  txIds: string[];
@@ -1351,7 +1351,7 @@ export declare class AppClient {
1351
1351
  * Methods to access local state for the current app
1352
1352
  * @param address The address of the account to get the local state for
1353
1353
  */
1354
- local: (address: string) => {
1354
+ local: (address: string | algosdk.Address) => {
1355
1355
  /**
1356
1356
  * Returns all single-key state values in a record keyed by the key name and the value a decoded ABI value.
1357
1357
  */
@@ -1471,7 +1471,7 @@ export declare class AppClient {
1471
1471
  * @param address The address of the account to get the local state for
1472
1472
  * @returns The local state
1473
1473
  */
1474
- getLocalState(address: string): Promise<AppState>;
1474
+ getLocalState(address: Address | string): Promise<AppState>;
1475
1475
  /**
1476
1476
  * Returns the names of all current boxes for the current app.
1477
1477
  * @returns The names of the boxes
@@ -1696,12 +1696,12 @@ export declare class ApplicationClient {
1696
1696
  deleted: boolean;
1697
1697
  appId: number | bigint;
1698
1698
  appAddress: string;
1699
+ /** Any deploy-time parameters to replace in the TEAL code */
1699
1700
  name: string;
1700
1701
  version: string;
1701
1702
  deletable?: boolean | undefined;
1702
1703
  updatable?: boolean | undefined;
1703
1704
  return?: ABIReturn | undefined;
1704
- /** Configuration to resolve app by creator and name `getCreatorAppsByName` */
1705
1705
  operationPerformed: "update" | "create";
1706
1706
  } | {
1707
1707
  compiledApproval: import("./app").CompiledTeal;
@@ -1716,6 +1716,7 @@ export declare class ApplicationClient {
1716
1716
  deleted: boolean;
1717
1717
  appId: number | bigint;
1718
1718
  appAddress: string;
1719
+ /** Any deploy-time parameters to replace in the TEAL code */
1719
1720
  name: string;
1720
1721
  version: string;
1721
1722
  deletable?: boolean | undefined;