@algorandfoundation/algokit-utils 10.0.0-alpha.4 → 10.0.0-alpha.5

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 (33) hide show
  1. package/package.json +1 -1
  2. package/packages/algod_client/src/models/application-state-schema.d.ts +2 -2
  3. package/packages/algod_client/src/models/application-state-schema.js +2 -2
  4. package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
  5. package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
  6. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -1
  7. package/packages/common/src/json.mjs +2 -2
  8. package/packages/common/src/json.mjs.map +1 -1
  9. package/packages/indexer_client/src/models/application-state-schema.d.ts +2 -2
  10. package/packages/indexer_client/src/models/application-state-schema.js +2 -2
  11. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
  12. package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
  13. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
  14. package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
  15. package/packages/indexer_client/src/models/state-schema.js +2 -2
  16. package/packages/indexer_client/src/models/state-schema.js.map +1 -1
  17. package/packages/indexer_client/src/models/state-schema.mjs +2 -2
  18. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
  19. package/packages/indexer_client/src/models/transaction.d.ts +2 -2
  20. package/packages/indexer_client/src/models/transaction.js +2 -2
  21. package/packages/indexer_client/src/models/transaction.js.map +1 -1
  22. package/packages/indexer_client/src/models/transaction.mjs +2 -2
  23. package/packages/indexer_client/src/models/transaction.mjs.map +1 -1
  24. package/packages/sdk/src/utils/utils.mjs +2 -2
  25. package/packages/sdk/src/utils/utils.mjs.map +1 -1
  26. package/types/algorand-client-transaction-creator.d.ts +17 -17
  27. package/types/algorand-client-transaction-sender.d.ts +17 -17
  28. package/types/app-client.d.ts +40 -40
  29. package/types/app-factory.d.ts +12 -12
  30. package/types/app-manager.js +4 -4
  31. package/types/app-manager.js.map +1 -1
  32. package/types/app-manager.mjs +4 -4
  33. package/types/app-manager.mjs.map +1 -1
@@ -387,7 +387,6 @@ declare class AppClient {
387
387
  */
388
388
  fundAppAccount: (params: {
389
389
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
390
- amount: AlgoAmount;
391
390
  rekeyTo?: ReadableAddress | undefined;
392
391
  note?: string | Uint8Array | undefined;
393
392
  lease?: string | Uint8Array | undefined;
@@ -397,6 +396,7 @@ declare class AppClient {
397
396
  validityWindow?: number | bigint | undefined;
398
397
  firstValidRound?: bigint | undefined;
399
398
  lastValidRound?: bigint | undefined;
399
+ amount: AlgoAmount;
400
400
  closeRemainderTo?: ReadableAddress | undefined;
401
401
  maxRoundsToWaitForConfirmation?: number | undefined;
402
402
  suppressLog?: boolean | undefined;
@@ -407,7 +407,6 @@ declare class AppClient {
407
407
  sender: Address;
408
408
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
409
409
  receiver: Address;
410
- amount: AlgoAmount;
411
410
  rekeyTo?: ReadableAddress | undefined;
412
411
  note?: string | Uint8Array | undefined;
413
412
  lease?: string | Uint8Array | undefined;
@@ -417,6 +416,7 @@ declare class AppClient {
417
416
  validityWindow?: number | bigint | undefined;
418
417
  firstValidRound?: bigint | undefined;
419
418
  lastValidRound?: bigint | undefined;
419
+ amount: AlgoAmount;
420
420
  closeRemainderTo?: ReadableAddress | undefined;
421
421
  maxRoundsToWaitForConfirmation?: number | undefined;
422
422
  suppressLog?: boolean | undefined;
@@ -489,8 +489,9 @@ declare class AppClient {
489
489
  method: ABIMethod;
490
490
  onComplete: OnApplicationComplete.UpdateApplication;
491
491
  args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
492
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
492
+ args?: Uint8Array[] | undefined;
493
493
  sender: SendingAddress;
494
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
494
495
  rekeyTo?: ReadableAddress | undefined;
495
496
  note?: string | Uint8Array | undefined;
496
497
  lease?: string | Uint8Array | undefined;
@@ -500,7 +501,6 @@ declare class AppClient {
500
501
  validityWindow?: number | bigint | undefined;
501
502
  firstValidRound?: bigint | undefined;
502
503
  lastValidRound?: bigint | undefined;
503
- args?: Uint8Array[] | undefined;
504
504
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
505
505
  accountReferences?: ReadableAddress[] | undefined;
506
506
  appReferences?: bigint[] | undefined;
@@ -569,8 +569,9 @@ declare class AppClient {
569
569
  method: string;
570
570
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
571
571
  }) => Promise<{
572
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
572
+ appId: bigint;
573
573
  sender: SendingAddress;
574
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
574
575
  rekeyTo?: ReadableAddress | undefined;
575
576
  note?: string | Uint8Array | undefined;
576
577
  lease?: string | Uint8Array | undefined;
@@ -580,7 +581,6 @@ declare class AppClient {
580
581
  validityWindow?: number | bigint | undefined;
581
582
  firstValidRound?: bigint | undefined;
582
583
  lastValidRound?: bigint | undefined;
583
- appId: bigint;
584
584
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
585
585
  accountReferences?: ReadableAddress[] | undefined;
586
586
  appReferences?: bigint[] | undefined;
@@ -590,8 +590,9 @@ declare class AppClient {
590
590
  rejectVersion?: number | undefined;
591
591
  method: ABIMethod;
592
592
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
593
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
593
+ args?: Uint8Array[] | undefined;
594
594
  sender: SendingAddress;
595
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
595
596
  rekeyTo?: ReadableAddress | undefined;
596
597
  note?: string | Uint8Array | undefined;
597
598
  lease?: string | Uint8Array | undefined;
@@ -601,7 +602,6 @@ declare class AppClient {
601
602
  validityWindow?: number | bigint | undefined;
602
603
  firstValidRound?: bigint | undefined;
603
604
  lastValidRound?: bigint | undefined;
604
- args?: Uint8Array[] | undefined;
605
605
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
606
606
  accountReferences?: ReadableAddress[] | undefined;
607
607
  appReferences?: bigint[] | undefined;
@@ -670,8 +670,9 @@ declare class AppClient {
670
670
  method: string;
671
671
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
672
672
  }) => Promise<{
673
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
673
+ appId: bigint;
674
674
  sender: SendingAddress;
675
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
675
676
  rekeyTo?: ReadableAddress | undefined;
676
677
  note?: string | Uint8Array | undefined;
677
678
  lease?: string | Uint8Array | undefined;
@@ -681,7 +682,6 @@ declare class AppClient {
681
682
  validityWindow?: number | bigint | undefined;
682
683
  firstValidRound?: bigint | undefined;
683
684
  lastValidRound?: bigint | undefined;
684
- appId: bigint;
685
685
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
686
686
  accountReferences?: ReadableAddress[] | undefined;
687
687
  appReferences?: bigint[] | undefined;
@@ -691,8 +691,9 @@ declare class AppClient {
691
691
  rejectVersion?: number | undefined;
692
692
  method: ABIMethod;
693
693
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
694
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
694
+ args?: Uint8Array[] | undefined;
695
695
  sender: SendingAddress;
696
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
696
697
  rekeyTo?: ReadableAddress | undefined;
697
698
  note?: string | Uint8Array | undefined;
698
699
  lease?: string | Uint8Array | undefined;
@@ -702,7 +703,6 @@ declare class AppClient {
702
703
  validityWindow?: number | bigint | undefined;
703
704
  firstValidRound?: bigint | undefined;
704
705
  lastValidRound?: bigint | undefined;
705
- args?: Uint8Array[] | undefined;
706
706
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
707
707
  accountReferences?: ReadableAddress[] | undefined;
708
708
  appReferences?: bigint[] | undefined;
@@ -770,8 +770,9 @@ declare class AppClient {
770
770
  method: string;
771
771
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
772
772
  }) => Promise<{
773
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
773
+ appId: bigint;
774
774
  sender: SendingAddress;
775
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
775
776
  rekeyTo?: ReadableAddress | undefined;
776
777
  note?: string | Uint8Array | undefined;
777
778
  lease?: string | Uint8Array | undefined;
@@ -781,7 +782,6 @@ declare class AppClient {
781
782
  validityWindow?: number | bigint | undefined;
782
783
  firstValidRound?: bigint | undefined;
783
784
  lastValidRound?: bigint | undefined;
784
- appId: bigint;
785
785
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
786
786
  accountReferences?: ReadableAddress[] | undefined;
787
787
  appReferences?: bigint[] | undefined;
@@ -791,8 +791,9 @@ declare class AppClient {
791
791
  rejectVersion?: number | undefined;
792
792
  method: ABIMethod;
793
793
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
794
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
794
+ args?: Uint8Array[] | undefined;
795
795
  sender: SendingAddress;
796
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
796
797
  rekeyTo?: ReadableAddress | undefined;
797
798
  note?: string | Uint8Array | undefined;
798
799
  lease?: string | Uint8Array | undefined;
@@ -802,7 +803,6 @@ declare class AppClient {
802
803
  validityWindow?: number | bigint | undefined;
803
804
  firstValidRound?: bigint | undefined;
804
805
  lastValidRound?: bigint | undefined;
805
- args?: Uint8Array[] | undefined;
806
806
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
807
807
  accountReferences?: ReadableAddress[] | undefined;
808
808
  appReferences?: bigint[] | undefined;
@@ -870,8 +870,9 @@ declare class AppClient {
870
870
  method: string;
871
871
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
872
872
  } & CallOnComplete) => Promise<{
873
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
873
+ appId: bigint;
874
874
  sender: SendingAddress;
875
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
875
876
  rekeyTo?: ReadableAddress | undefined;
876
877
  note?: string | Uint8Array | undefined;
877
878
  lease?: string | Uint8Array | undefined;
@@ -881,7 +882,6 @@ declare class AppClient {
881
882
  validityWindow?: number | bigint | undefined;
882
883
  firstValidRound?: bigint | undefined;
883
884
  lastValidRound?: bigint | undefined;
884
- appId: bigint;
885
885
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
886
886
  accountReferences?: ReadableAddress[] | undefined;
887
887
  appReferences?: bigint[] | undefined;
@@ -891,8 +891,9 @@ declare class AppClient {
891
891
  rejectVersion?: number | undefined;
892
892
  method: ABIMethod;
893
893
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
894
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
894
+ args?: Uint8Array[] | undefined;
895
895
  sender: SendingAddress;
896
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
896
897
  rekeyTo?: ReadableAddress | undefined;
897
898
  note?: string | Uint8Array | undefined;
898
899
  lease?: string | Uint8Array | undefined;
@@ -902,7 +903,6 @@ declare class AppClient {
902
903
  validityWindow?: number | bigint | undefined;
903
904
  firstValidRound?: bigint | undefined;
904
905
  lastValidRound?: bigint | undefined;
905
- args?: Uint8Array[] | undefined;
906
906
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
907
907
  accountReferences?: ReadableAddress[] | undefined;
908
908
  appReferences?: bigint[] | undefined;
@@ -948,6 +948,7 @@ declare class AppClient {
948
948
  /** Interact with bare (raw) call parameters */bare: {
949
949
  /** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
950
950
  update: (params?: ({
951
+ args?: Uint8Array[] | undefined;
951
952
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
952
953
  rekeyTo?: ReadableAddress | undefined;
953
954
  note?: string | Uint8Array | undefined;
@@ -958,7 +959,6 @@ declare class AppClient {
958
959
  validityWindow?: number | bigint | undefined;
959
960
  firstValidRound?: bigint | undefined;
960
961
  lastValidRound?: bigint | undefined;
961
- args?: Uint8Array[] | undefined;
962
962
  accountReferences?: ReadableAddress[] | undefined;
963
963
  appReferences?: bigint[] | undefined;
964
964
  assetReferences?: bigint[] | undefined;
@@ -992,6 +992,7 @@ declare class AppClient {
992
992
  }>;
993
993
  /** Return params for an opt-in call */
994
994
  optIn: (params?: {
995
+ args?: Uint8Array[] | undefined;
995
996
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
996
997
  rekeyTo?: ReadableAddress | undefined;
997
998
  note?: string | Uint8Array | undefined;
@@ -1002,7 +1003,6 @@ declare class AppClient {
1002
1003
  validityWindow?: number | bigint | undefined;
1003
1004
  firstValidRound?: bigint | undefined;
1004
1005
  lastValidRound?: bigint | undefined;
1005
- args?: Uint8Array[] | undefined;
1006
1006
  accountReferences?: ReadableAddress[] | undefined;
1007
1007
  appReferences?: bigint[] | undefined;
1008
1008
  assetReferences?: bigint[] | undefined;
@@ -1013,6 +1013,7 @@ declare class AppClient {
1013
1013
  } | undefined) => AppCallParams;
1014
1014
  /** Return params for a delete call */
1015
1015
  delete: (params?: {
1016
+ args?: Uint8Array[] | undefined;
1016
1017
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1017
1018
  rekeyTo?: ReadableAddress | undefined;
1018
1019
  note?: string | Uint8Array | undefined;
@@ -1023,7 +1024,6 @@ declare class AppClient {
1023
1024
  validityWindow?: number | bigint | undefined;
1024
1025
  firstValidRound?: bigint | undefined;
1025
1026
  lastValidRound?: bigint | undefined;
1026
- args?: Uint8Array[] | undefined;
1027
1027
  accountReferences?: ReadableAddress[] | undefined;
1028
1028
  appReferences?: bigint[] | undefined;
1029
1029
  assetReferences?: bigint[] | undefined;
@@ -1034,6 +1034,7 @@ declare class AppClient {
1034
1034
  } | undefined) => AppDeleteParams;
1035
1035
  /** Return params for a clear state call */
1036
1036
  clearState: (params?: {
1037
+ args?: Uint8Array[] | undefined;
1037
1038
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1038
1039
  rekeyTo?: ReadableAddress | undefined;
1039
1040
  note?: string | Uint8Array | undefined;
@@ -1044,7 +1045,6 @@ declare class AppClient {
1044
1045
  validityWindow?: number | bigint | undefined;
1045
1046
  firstValidRound?: bigint | undefined;
1046
1047
  lastValidRound?: bigint | undefined;
1047
- args?: Uint8Array[] | undefined;
1048
1048
  accountReferences?: ReadableAddress[] | undefined;
1049
1049
  appReferences?: bigint[] | undefined;
1050
1050
  assetReferences?: bigint[] | undefined;
@@ -1055,6 +1055,7 @@ declare class AppClient {
1055
1055
  } | undefined) => AppCallParams;
1056
1056
  /** Return params for a close out call */
1057
1057
  closeOut: (params?: {
1058
+ args?: Uint8Array[] | undefined;
1058
1059
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1059
1060
  rekeyTo?: ReadableAddress | undefined;
1060
1061
  note?: string | Uint8Array | undefined;
@@ -1065,7 +1066,6 @@ declare class AppClient {
1065
1066
  validityWindow?: number | bigint | undefined;
1066
1067
  firstValidRound?: bigint | undefined;
1067
1068
  lastValidRound?: bigint | undefined;
1068
- args?: Uint8Array[] | undefined;
1069
1069
  accountReferences?: ReadableAddress[] | undefined;
1070
1070
  appReferences?: bigint[] | undefined;
1071
1071
  assetReferences?: bigint[] | undefined;
@@ -1076,6 +1076,7 @@ declare class AppClient {
1076
1076
  } | undefined) => AppCallParams;
1077
1077
  /** Return params for a call (defaults to no-op) */
1078
1078
  call: (params?: ({
1079
+ args?: Uint8Array[] | undefined;
1079
1080
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1080
1081
  rekeyTo?: ReadableAddress | undefined;
1081
1082
  note?: string | Uint8Array | undefined;
@@ -1086,7 +1087,6 @@ declare class AppClient {
1086
1087
  validityWindow?: number | bigint | undefined;
1087
1088
  firstValidRound?: bigint | undefined;
1088
1089
  lastValidRound?: bigint | undefined;
1089
- args?: Uint8Array[] | undefined;
1090
1090
  accountReferences?: ReadableAddress[] | undefined;
1091
1091
  appReferences?: bigint[] | undefined;
1092
1092
  assetReferences?: bigint[] | undefined;
@@ -1105,7 +1105,6 @@ declare class AppClient {
1105
1105
  */
1106
1106
  fundAppAccount: (params: {
1107
1107
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1108
- amount: AlgoAmount;
1109
1108
  rekeyTo?: ReadableAddress | undefined;
1110
1109
  note?: string | Uint8Array | undefined;
1111
1110
  lease?: string | Uint8Array | undefined;
@@ -1115,6 +1114,7 @@ declare class AppClient {
1115
1114
  validityWindow?: number | bigint | undefined;
1116
1115
  firstValidRound?: bigint | undefined;
1117
1116
  lastValidRound?: bigint | undefined;
1117
+ amount: AlgoAmount;
1118
1118
  closeRemainderTo?: ReadableAddress | undefined;
1119
1119
  maxRoundsToWaitForConfirmation?: number | undefined;
1120
1120
  suppressLog?: boolean | undefined;
@@ -1281,6 +1281,7 @@ declare class AppClient {
1281
1281
  /** Interact with bare (raw) call transactions */bare: {
1282
1282
  /** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
1283
1283
  update: (params?: ({
1284
+ args?: Uint8Array[] | undefined;
1284
1285
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1285
1286
  rekeyTo?: ReadableAddress | undefined;
1286
1287
  note?: string | Uint8Array | undefined;
@@ -1291,7 +1292,6 @@ declare class AppClient {
1291
1292
  validityWindow?: number | bigint | undefined;
1292
1293
  firstValidRound?: bigint | undefined;
1293
1294
  lastValidRound?: bigint | undefined;
1294
- args?: Uint8Array[] | undefined;
1295
1295
  accountReferences?: ReadableAddress[] | undefined;
1296
1296
  appReferences?: bigint[] | undefined;
1297
1297
  assetReferences?: bigint[] | undefined;
@@ -1302,6 +1302,7 @@ declare class AppClient {
1302
1302
  } & AppClientCompilationParams) | undefined) => Promise<Transaction>;
1303
1303
  /** Returns a transaction for an opt-in call */
1304
1304
  optIn: (params?: {
1305
+ args?: Uint8Array[] | undefined;
1305
1306
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1306
1307
  rekeyTo?: ReadableAddress | undefined;
1307
1308
  note?: string | Uint8Array | undefined;
@@ -1312,7 +1313,6 @@ declare class AppClient {
1312
1313
  validityWindow?: number | bigint | undefined;
1313
1314
  firstValidRound?: bigint | undefined;
1314
1315
  lastValidRound?: bigint | undefined;
1315
- args?: Uint8Array[] | undefined;
1316
1316
  accountReferences?: ReadableAddress[] | undefined;
1317
1317
  appReferences?: bigint[] | undefined;
1318
1318
  assetReferences?: bigint[] | undefined;
@@ -1323,6 +1323,7 @@ declare class AppClient {
1323
1323
  } | undefined) => Promise<Transaction>;
1324
1324
  /** Returns a transaction for a delete call */
1325
1325
  delete: (params?: {
1326
+ args?: Uint8Array[] | undefined;
1326
1327
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1327
1328
  rekeyTo?: ReadableAddress | undefined;
1328
1329
  note?: string | Uint8Array | undefined;
@@ -1333,7 +1334,6 @@ declare class AppClient {
1333
1334
  validityWindow?: number | bigint | undefined;
1334
1335
  firstValidRound?: bigint | undefined;
1335
1336
  lastValidRound?: bigint | undefined;
1336
- args?: Uint8Array[] | undefined;
1337
1337
  accountReferences?: ReadableAddress[] | undefined;
1338
1338
  appReferences?: bigint[] | undefined;
1339
1339
  assetReferences?: bigint[] | undefined;
@@ -1344,6 +1344,7 @@ declare class AppClient {
1344
1344
  } | undefined) => Promise<Transaction>;
1345
1345
  /** Returns a transaction for a clear state call */
1346
1346
  clearState: (params?: {
1347
+ args?: Uint8Array[] | undefined;
1347
1348
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1348
1349
  rekeyTo?: ReadableAddress | undefined;
1349
1350
  note?: string | Uint8Array | undefined;
@@ -1354,7 +1355,6 @@ declare class AppClient {
1354
1355
  validityWindow?: number | bigint | undefined;
1355
1356
  firstValidRound?: bigint | undefined;
1356
1357
  lastValidRound?: bigint | undefined;
1357
- args?: Uint8Array[] | undefined;
1358
1358
  accountReferences?: ReadableAddress[] | undefined;
1359
1359
  appReferences?: bigint[] | undefined;
1360
1360
  assetReferences?: bigint[] | undefined;
@@ -1365,6 +1365,7 @@ declare class AppClient {
1365
1365
  } | undefined) => Promise<Transaction>;
1366
1366
  /** Returns a transaction for a close out call */
1367
1367
  closeOut: (params?: {
1368
+ args?: Uint8Array[] | undefined;
1368
1369
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1369
1370
  rekeyTo?: ReadableAddress | undefined;
1370
1371
  note?: string | Uint8Array | undefined;
@@ -1375,7 +1376,6 @@ declare class AppClient {
1375
1376
  validityWindow?: number | bigint | undefined;
1376
1377
  firstValidRound?: bigint | undefined;
1377
1378
  lastValidRound?: bigint | undefined;
1378
- args?: Uint8Array[] | undefined;
1379
1379
  accountReferences?: ReadableAddress[] | undefined;
1380
1380
  appReferences?: bigint[] | undefined;
1381
1381
  assetReferences?: bigint[] | undefined;
@@ -1386,6 +1386,7 @@ declare class AppClient {
1386
1386
  } | undefined) => Promise<Transaction>;
1387
1387
  /** Returns a transaction for a call (defaults to no-op) */
1388
1388
  call: (params?: ({
1389
+ args?: Uint8Array[] | undefined;
1389
1390
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1390
1391
  rekeyTo?: ReadableAddress | undefined;
1391
1392
  note?: string | Uint8Array | undefined;
@@ -1396,7 +1397,6 @@ declare class AppClient {
1396
1397
  validityWindow?: number | bigint | undefined;
1397
1398
  firstValidRound?: bigint | undefined;
1398
1399
  lastValidRound?: bigint | undefined;
1399
- args?: Uint8Array[] | undefined;
1400
1400
  accountReferences?: ReadableAddress[] | undefined;
1401
1401
  appReferences?: bigint[] | undefined;
1402
1402
  assetReferences?: bigint[] | undefined;
@@ -1415,7 +1415,6 @@ declare class AppClient {
1415
1415
  */
1416
1416
  fundAppAccount: (params: {
1417
1417
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1418
- amount: AlgoAmount;
1419
1418
  rekeyTo?: ReadableAddress | undefined;
1420
1419
  note?: string | Uint8Array | undefined;
1421
1420
  lease?: string | Uint8Array | undefined;
@@ -1425,6 +1424,7 @@ declare class AppClient {
1425
1424
  validityWindow?: number | bigint | undefined;
1426
1425
  firstValidRound?: bigint | undefined;
1427
1426
  lastValidRound?: bigint | undefined;
1427
+ amount: AlgoAmount;
1428
1428
  closeRemainderTo?: ReadableAddress | undefined;
1429
1429
  maxRoundsToWaitForConfirmation?: number | undefined;
1430
1430
  suppressLog?: boolean | undefined;
@@ -1626,6 +1626,7 @@ declare class AppClient {
1626
1626
  /** Interact with bare (raw) calls */bare: {
1627
1627
  /** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
1628
1628
  update: (params?: ({
1629
+ args?: Uint8Array[] | undefined;
1629
1630
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1630
1631
  rekeyTo?: ReadableAddress | undefined;
1631
1632
  note?: string | Uint8Array | undefined;
@@ -1636,7 +1637,6 @@ declare class AppClient {
1636
1637
  validityWindow?: number | bigint | undefined;
1637
1638
  firstValidRound?: bigint | undefined;
1638
1639
  lastValidRound?: bigint | undefined;
1639
- args?: Uint8Array[] | undefined;
1640
1640
  accountReferences?: ReadableAddress[] | undefined;
1641
1641
  appReferences?: bigint[] | undefined;
1642
1642
  assetReferences?: bigint[] | undefined;
@@ -1658,6 +1658,7 @@ declare class AppClient {
1658
1658
  }>;
1659
1659
  /** Signs and sends an opt-in call */
1660
1660
  optIn: (params?: ({
1661
+ args?: Uint8Array[] | undefined;
1661
1662
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1662
1663
  rekeyTo?: ReadableAddress | undefined;
1663
1664
  note?: string | Uint8Array | undefined;
@@ -1668,7 +1669,6 @@ declare class AppClient {
1668
1669
  validityWindow?: number | bigint | undefined;
1669
1670
  firstValidRound?: bigint | undefined;
1670
1671
  lastValidRound?: bigint | undefined;
1671
- args?: Uint8Array[] | undefined;
1672
1672
  accountReferences?: ReadableAddress[] | undefined;
1673
1673
  appReferences?: bigint[] | undefined;
1674
1674
  assetReferences?: bigint[] | undefined;
@@ -1688,6 +1688,7 @@ declare class AppClient {
1688
1688
  }>;
1689
1689
  /** Signs and sends a delete call */
1690
1690
  delete: (params?: ({
1691
+ args?: Uint8Array[] | undefined;
1691
1692
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1692
1693
  rekeyTo?: ReadableAddress | undefined;
1693
1694
  note?: string | Uint8Array | undefined;
@@ -1698,7 +1699,6 @@ declare class AppClient {
1698
1699
  validityWindow?: number | bigint | undefined;
1699
1700
  firstValidRound?: bigint | undefined;
1700
1701
  lastValidRound?: bigint | undefined;
1701
- args?: Uint8Array[] | undefined;
1702
1702
  accountReferences?: ReadableAddress[] | undefined;
1703
1703
  appReferences?: bigint[] | undefined;
1704
1704
  assetReferences?: bigint[] | undefined;
@@ -1718,6 +1718,7 @@ declare class AppClient {
1718
1718
  }>;
1719
1719
  /** Signs and sends a clear state call */
1720
1720
  clearState: (params?: ({
1721
+ args?: Uint8Array[] | undefined;
1721
1722
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1722
1723
  rekeyTo?: ReadableAddress | undefined;
1723
1724
  note?: string | Uint8Array | undefined;
@@ -1728,7 +1729,6 @@ declare class AppClient {
1728
1729
  validityWindow?: number | bigint | undefined;
1729
1730
  firstValidRound?: bigint | undefined;
1730
1731
  lastValidRound?: bigint | undefined;
1731
- args?: Uint8Array[] | undefined;
1732
1732
  accountReferences?: ReadableAddress[] | undefined;
1733
1733
  appReferences?: bigint[] | undefined;
1734
1734
  assetReferences?: bigint[] | undefined;
@@ -1748,6 +1748,7 @@ declare class AppClient {
1748
1748
  }>;
1749
1749
  /** Signs and sends a close out call */
1750
1750
  closeOut: (params?: ({
1751
+ args?: Uint8Array[] | undefined;
1751
1752
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1752
1753
  rekeyTo?: ReadableAddress | undefined;
1753
1754
  note?: string | Uint8Array | undefined;
@@ -1758,7 +1759,6 @@ declare class AppClient {
1758
1759
  validityWindow?: number | bigint | undefined;
1759
1760
  firstValidRound?: bigint | undefined;
1760
1761
  lastValidRound?: bigint | undefined;
1761
- args?: Uint8Array[] | undefined;
1762
1762
  accountReferences?: ReadableAddress[] | undefined;
1763
1763
  appReferences?: bigint[] | undefined;
1764
1764
  assetReferences?: bigint[] | undefined;
@@ -1778,6 +1778,7 @@ declare class AppClient {
1778
1778
  }>;
1779
1779
  /** Signs and sends a call (defaults to no-op) */
1780
1780
  call: (params?: ({
1781
+ args?: Uint8Array[] | undefined;
1781
1782
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1782
1783
  rekeyTo?: ReadableAddress | undefined;
1783
1784
  note?: string | Uint8Array | undefined;
@@ -1788,7 +1789,6 @@ declare class AppClient {
1788
1789
  validityWindow?: number | bigint | undefined;
1789
1790
  firstValidRound?: bigint | undefined;
1790
1791
  lastValidRound?: bigint | undefined;
1791
- args?: Uint8Array[] | undefined;
1792
1792
  accountReferences?: ReadableAddress[] | undefined;
1793
1793
  appReferences?: bigint[] | undefined;
1794
1794
  assetReferences?: bigint[] | undefined;
@@ -247,8 +247,9 @@ declare class AppFactory {
247
247
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
248
248
  method: ABIMethod;
249
249
  args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
250
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
250
+ args?: Uint8Array[] | undefined;
251
251
  sender: SendingAddress;
252
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
252
253
  rekeyTo?: ReadableAddress | undefined;
253
254
  note?: string | Uint8Array | undefined;
254
255
  lease?: string | Uint8Array | undefined;
@@ -258,7 +259,6 @@ declare class AppFactory {
258
259
  validityWindow?: number | bigint | undefined;
259
260
  firstValidRound?: bigint | undefined;
260
261
  lastValidRound?: bigint | undefined;
261
- args?: Uint8Array[] | undefined;
262
262
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
263
263
  accountReferences?: ReadableAddress[] | undefined;
264
264
  appReferences?: bigint[] | undefined;
@@ -349,8 +349,9 @@ declare class AppFactory {
349
349
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
350
350
  method: ABIMethod;
351
351
  args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
352
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
+ args?: Uint8Array[] | undefined;
353
353
  sender: SendingAddress;
354
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
354
355
  rekeyTo?: ReadableAddress | undefined;
355
356
  note?: string | Uint8Array | undefined;
356
357
  lease?: string | Uint8Array | undefined;
@@ -360,7 +361,6 @@ declare class AppFactory {
360
361
  validityWindow?: number | bigint | undefined;
361
362
  firstValidRound?: bigint | undefined;
362
363
  lastValidRound?: bigint | undefined;
363
- args?: Uint8Array[] | undefined;
364
364
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
365
365
  accountReferences?: ReadableAddress[] | undefined;
366
366
  appReferences?: bigint[] | undefined;
@@ -451,8 +451,9 @@ declare class AppFactory {
451
451
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
452
452
  method: ABIMethod;
453
453
  args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
454
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
454
+ args?: Uint8Array[] | undefined;
455
455
  sender: SendingAddress;
456
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
456
457
  rekeyTo?: ReadableAddress | undefined;
457
458
  note?: string | Uint8Array | undefined;
458
459
  lease?: string | Uint8Array | undefined;
@@ -462,7 +463,6 @@ declare class AppFactory {
462
463
  validityWindow?: number | bigint | undefined;
463
464
  firstValidRound?: bigint | undefined;
464
465
  lastValidRound?: bigint | undefined;
465
- args?: Uint8Array[] | undefined;
466
466
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
467
467
  accountReferences?: ReadableAddress[] | undefined;
468
468
  appReferences?: bigint[] | undefined;
@@ -508,6 +508,7 @@ declare class AppFactory {
508
508
  bare: {
509
509
  /** Return params for a create bare call, including deploy-time TEAL template replacements and compilation if provided */
510
510
  create: (params?: {
511
+ args?: Uint8Array[] | undefined;
511
512
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
512
513
  rekeyTo?: ReadableAddress | undefined;
513
514
  note?: string | Uint8Array | undefined;
@@ -518,7 +519,6 @@ declare class AppFactory {
518
519
  validityWindow?: number | bigint | undefined;
519
520
  firstValidRound?: bigint | undefined;
520
521
  lastValidRound?: bigint | undefined;
521
- args?: Uint8Array[] | undefined;
522
522
  accountReferences?: ReadableAddress[] | undefined;
523
523
  appReferences?: bigint[] | undefined;
524
524
  assetReferences?: bigint[] | undefined;
@@ -557,6 +557,7 @@ declare class AppFactory {
557
557
  /** The number of byte slices saved in local state. */
558
558
  localByteSlices: number;
559
559
  };
560
+ args?: Uint8Array[] | undefined;
560
561
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
561
562
  rekeyTo?: ReadableAddress | undefined;
562
563
  note?: string | Uint8Array | undefined;
@@ -567,7 +568,6 @@ declare class AppFactory {
567
568
  validityWindow?: number | bigint | undefined;
568
569
  firstValidRound?: bigint | undefined;
569
570
  lastValidRound?: bigint | undefined;
570
- args?: Uint8Array[] | undefined;
571
571
  accountReferences?: ReadableAddress[] | undefined;
572
572
  appReferences?: bigint[] | undefined;
573
573
  assetReferences?: bigint[] | undefined;
@@ -586,6 +586,7 @@ declare class AppFactory {
586
586
  }>;
587
587
  /** Return params for a deployment update bare call */
588
588
  deployUpdate: (params?: {
589
+ args?: Uint8Array[] | undefined;
589
590
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
590
591
  rekeyTo?: ReadableAddress | undefined;
591
592
  note?: string | Uint8Array | undefined;
@@ -596,7 +597,6 @@ declare class AppFactory {
596
597
  validityWindow?: number | bigint | undefined;
597
598
  firstValidRound?: bigint | undefined;
598
599
  lastValidRound?: bigint | undefined;
599
- args?: Uint8Array[] | undefined;
600
600
  accountReferences?: ReadableAddress[] | undefined;
601
601
  appReferences?: bigint[] | undefined;
602
602
  assetReferences?: bigint[] | undefined;
@@ -605,6 +605,7 @@ declare class AppFactory {
605
605
  rejectVersion?: number | undefined;
606
606
  sender?: ReadableAddress | undefined;
607
607
  } | undefined) => {
608
+ args?: Uint8Array[] | undefined;
608
609
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
609
610
  rekeyTo?: ReadableAddress | undefined;
610
611
  note?: string | Uint8Array | undefined;
@@ -615,7 +616,6 @@ declare class AppFactory {
615
616
  validityWindow?: number | bigint | undefined;
616
617
  firstValidRound?: bigint | undefined;
617
618
  lastValidRound?: bigint | undefined;
618
- args?: Uint8Array[] | undefined;
619
619
  accountReferences?: ReadableAddress[] | undefined;
620
620
  appReferences?: bigint[] | undefined;
621
621
  assetReferences?: bigint[] | undefined;
@@ -630,6 +630,7 @@ declare class AppFactory {
630
630
  };
631
631
  /** Return params for a deployment delete bare call */
632
632
  deployDelete: (params?: {
633
+ args?: Uint8Array[] | undefined;
633
634
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
634
635
  rekeyTo?: ReadableAddress | undefined;
635
636
  note?: string | Uint8Array | undefined;
@@ -640,7 +641,6 @@ declare class AppFactory {
640
641
  validityWindow?: number | bigint | undefined;
641
642
  firstValidRound?: bigint | undefined;
642
643
  lastValidRound?: bigint | undefined;
643
- args?: Uint8Array[] | undefined;
644
644
  accountReferences?: ReadableAddress[] | undefined;
645
645
  appReferences?: bigint[] | undefined;
646
646
  assetReferences?: bigint[] | undefined;
@@ -649,6 +649,7 @@ declare class AppFactory {
649
649
  rejectVersion?: number | undefined;
650
650
  sender?: ReadableAddress | undefined;
651
651
  } | undefined) => {
652
+ args?: Uint8Array[] | undefined;
652
653
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
653
654
  rekeyTo?: ReadableAddress | undefined;
654
655
  note?: string | Uint8Array | undefined;
@@ -659,7 +660,6 @@ declare class AppFactory {
659
660
  validityWindow?: number | bigint | undefined;
660
661
  firstValidRound?: bigint | undefined;
661
662
  lastValidRound?: bigint | undefined;
662
- args?: Uint8Array[] | undefined;
663
663
  accountReferences?: ReadableAddress[] | undefined;
664
664
  appReferences?: bigint[] | undefined;
665
665
  assetReferences?: bigint[] | undefined;
@@ -102,10 +102,10 @@ var AppManager = class AppManager {
102
102
  approvalProgram: app.params.approvalProgram,
103
103
  clearStateProgram: app.params.clearStateProgram,
104
104
  creator: app.params.creator,
105
- localInts: Number(app.params.localStateSchema?.numUint ?? 0),
106
- localByteSlices: Number(app.params.localStateSchema?.numByteSlice ?? 0),
107
- globalInts: Number(app.params.globalStateSchema?.numUint ?? 0),
108
- globalByteSlices: Number(app.params.globalStateSchema?.numByteSlice ?? 0),
105
+ localInts: Number(app.params.localStateSchema?.numUints ?? 0),
106
+ localByteSlices: Number(app.params.localStateSchema?.numByteSlices ?? 0),
107
+ globalInts: Number(app.params.globalStateSchema?.numUints ?? 0),
108
+ globalByteSlices: Number(app.params.globalStateSchema?.numByteSlices ?? 0),
109
109
  extraProgramPages: Number(app.params.extraProgramPages ?? 0),
110
110
  globalState: AppManager.decodeAppState(convertedGlobalState)
111
111
  };