@algorandfoundation/algokit-utils 10.0.0-alpha.23 → 10.0.0-alpha.25

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 (55) hide show
  1. package/package.json +1 -1
  2. package/packages/algod_client/src/models/block.js.map +1 -1
  3. package/packages/algod_client/src/models/block.mjs.map +1 -1
  4. package/packages/algod_client/src/models/eval-delta-key-value.js +2 -2
  5. package/packages/algod_client/src/models/eval-delta-key-value.js.map +1 -1
  6. package/packages/algod_client/src/models/eval-delta-key-value.mjs +2 -2
  7. package/packages/algod_client/src/models/eval-delta-key-value.mjs.map +1 -1
  8. package/packages/algod_client/src/models/eval-delta.js +2 -2
  9. package/packages/algod_client/src/models/eval-delta.js.map +1 -1
  10. package/packages/algod_client/src/models/eval-delta.mjs +2 -2
  11. package/packages/algod_client/src/models/eval-delta.mjs.map +1 -1
  12. package/packages/common/src/codecs/primitives/bytes-base64.js +26 -0
  13. package/packages/common/src/codecs/primitives/bytes-base64.js.map +1 -0
  14. package/packages/common/src/codecs/primitives/bytes-base64.mjs +25 -0
  15. package/packages/common/src/codecs/primitives/bytes-base64.mjs.map +1 -0
  16. package/packages/transact/src/logicsig.d.ts +36 -22
  17. package/packages/transact/src/logicsig.js +69 -52
  18. package/packages/transact/src/logicsig.js.map +1 -1
  19. package/packages/transact/src/logicsig.mjs +70 -54
  20. package/packages/transact/src/logicsig.mjs.map +1 -1
  21. package/packages/transact/src/multisig.d.ts +4 -1
  22. package/packages/transact/src/multisig.js +17 -0
  23. package/packages/transact/src/multisig.js.map +1 -1
  24. package/packages/transact/src/multisig.mjs +17 -0
  25. package/packages/transact/src/multisig.mjs.map +1 -1
  26. package/packages/transact/src/signer.js +4 -1
  27. package/packages/transact/src/signer.js.map +1 -1
  28. package/packages/transact/src/signer.mjs +4 -1
  29. package/packages/transact/src/signer.mjs.map +1 -1
  30. package/packages/transact/src/transactions/signed-transaction-meta.js +6 -6
  31. package/packages/transact/src/transactions/signed-transaction-meta.js.map +1 -1
  32. package/packages/transact/src/transactions/signed-transaction-meta.mjs +6 -6
  33. package/packages/transact/src/transactions/signed-transaction-meta.mjs.map +1 -1
  34. package/packages/transact/src/transactions/signed-transaction.d.ts +4 -4
  35. package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
  36. package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
  37. package/testing/account.js +4 -2
  38. package/testing/account.js.map +1 -1
  39. package/testing/account.mjs +4 -2
  40. package/testing/account.mjs.map +1 -1
  41. package/transact/index.d.ts +3 -3
  42. package/transact/index.js +2 -1
  43. package/transact/index.mjs +2 -2
  44. package/types/account-manager.d.ts +6 -8
  45. package/types/account-manager.js +13 -3
  46. package/types/account-manager.js.map +1 -1
  47. package/types/account-manager.mjs +13 -3
  48. package/types/account-manager.mjs.map +1 -1
  49. package/types/algorand-client-transaction-creator.d.ts +70 -70
  50. package/types/algorand-client-transaction-sender.d.ts +70 -70
  51. package/types/app-client.d.ts +83 -83
  52. package/types/app-client.js.map +1 -1
  53. package/types/app-client.mjs.map +1 -1
  54. package/types/app-factory.d.ts +48 -48
  55. package/types/testing.d.ts +2 -2
@@ -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;
@@ -488,7 +488,7 @@ declare class AppClient {
488
488
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
489
489
  method: ABIMethod;
490
490
  onComplete: OnApplicationComplete.UpdateApplication;
491
- args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
491
+ args: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
492
492
  sender: SendingAddress;
493
493
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
494
494
  rekeyTo?: ReadableAddress | undefined;
@@ -500,8 +500,7 @@ declare class AppClient {
500
500
  validityWindow?: number | bigint | undefined;
501
501
  firstValidRound?: bigint | undefined;
502
502
  lastValidRound?: bigint | undefined;
503
- appId: bigint;
504
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
503
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
505
504
  args?: Uint8Array[] | undefined;
506
505
  accountReferences?: ReadableAddress[] | undefined;
507
506
  appReferences?: bigint[] | undefined;
@@ -509,11 +508,19 @@ declare class AppClient {
509
508
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
510
509
  accessReferences?: ResourceReference[] | undefined;
511
510
  rejectVersion?: number | undefined;
511
+ appId?: 0 | undefined;
512
512
  approvalProgram: string | Uint8Array;
513
513
  clearStateProgram: string | Uint8Array;
514
+ schema?: {
515
+ globalInts: number;
516
+ globalByteSlices: number;
517
+ localInts: number;
518
+ localByteSlices: number;
519
+ } | undefined;
520
+ extraProgramPages?: number | undefined;
514
521
  }> | AppMethodCall<{
515
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
516
522
  sender: SendingAddress;
523
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
517
524
  rekeyTo?: ReadableAddress | undefined;
518
525
  note?: string | Uint8Array | undefined;
519
526
  lease?: string | Uint8Array | undefined;
@@ -523,25 +530,18 @@ declare class AppClient {
523
530
  validityWindow?: number | bigint | undefined;
524
531
  firstValidRound?: bigint | undefined;
525
532
  lastValidRound?: bigint | undefined;
533
+ appId: bigint;
534
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
526
535
  args?: Uint8Array[] | undefined;
527
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
528
536
  accountReferences?: ReadableAddress[] | undefined;
529
537
  appReferences?: bigint[] | undefined;
530
538
  assetReferences?: bigint[] | undefined;
531
539
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
532
540
  accessReferences?: ResourceReference[] | undefined;
533
541
  rejectVersion?: number | undefined;
534
- appId?: 0 | undefined;
535
542
  approvalProgram: string | Uint8Array;
536
543
  clearStateProgram: string | Uint8Array;
537
- schema?: {
538
- globalInts: number;
539
- globalByteSlices: number;
540
- localInts: number;
541
- localByteSlices: number;
542
- } | undefined;
543
- extraProgramPages?: number | undefined;
544
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
544
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
545
545
  }>;
546
546
  /**
547
547
  * Return params for an opt-in ABI call
@@ -570,8 +570,9 @@ declare class AppClient {
570
570
  method: string;
571
571
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
572
572
  }) => Promise<{
573
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
573
+ appId: bigint;
574
574
  sender: SendingAddress;
575
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
575
576
  rekeyTo?: ReadableAddress | undefined;
576
577
  note?: string | Uint8Array | undefined;
577
578
  lease?: string | Uint8Array | undefined;
@@ -581,7 +582,6 @@ declare class AppClient {
581
582
  validityWindow?: number | bigint | undefined;
582
583
  firstValidRound?: bigint | undefined;
583
584
  lastValidRound?: bigint | undefined;
584
- appId: bigint;
585
585
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
586
586
  accountReferences?: ReadableAddress[] | undefined;
587
587
  appReferences?: bigint[] | undefined;
@@ -590,7 +590,7 @@ declare class AppClient {
590
590
  accessReferences?: ResourceReference[] | undefined;
591
591
  rejectVersion?: number | undefined;
592
592
  method: ABIMethod;
593
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
593
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
594
594
  sender: SendingAddress;
595
595
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
596
596
  rekeyTo?: ReadableAddress | undefined;
@@ -602,8 +602,7 @@ declare class AppClient {
602
602
  validityWindow?: number | bigint | undefined;
603
603
  firstValidRound?: bigint | undefined;
604
604
  lastValidRound?: bigint | undefined;
605
- appId: bigint;
606
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
605
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
607
606
  args?: Uint8Array[] | undefined;
608
607
  accountReferences?: ReadableAddress[] | undefined;
609
608
  appReferences?: bigint[] | undefined;
@@ -611,11 +610,19 @@ declare class AppClient {
611
610
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
612
611
  accessReferences?: ResourceReference[] | undefined;
613
612
  rejectVersion?: number | undefined;
613
+ appId?: 0 | undefined;
614
614
  approvalProgram: string | Uint8Array;
615
615
  clearStateProgram: string | Uint8Array;
616
+ schema?: {
617
+ globalInts: number;
618
+ globalByteSlices: number;
619
+ localInts: number;
620
+ localByteSlices: number;
621
+ } | undefined;
622
+ extraProgramPages?: number | undefined;
616
623
  }> | AppMethodCall<{
617
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
618
624
  sender: SendingAddress;
625
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
619
626
  rekeyTo?: ReadableAddress | undefined;
620
627
  note?: string | Uint8Array | undefined;
621
628
  lease?: string | Uint8Array | undefined;
@@ -625,25 +632,18 @@ declare class AppClient {
625
632
  validityWindow?: number | bigint | undefined;
626
633
  firstValidRound?: bigint | undefined;
627
634
  lastValidRound?: bigint | undefined;
635
+ appId: bigint;
636
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
628
637
  args?: Uint8Array[] | undefined;
629
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
630
638
  accountReferences?: ReadableAddress[] | undefined;
631
639
  appReferences?: bigint[] | undefined;
632
640
  assetReferences?: bigint[] | undefined;
633
641
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
634
642
  accessReferences?: ResourceReference[] | undefined;
635
643
  rejectVersion?: number | undefined;
636
- appId?: 0 | undefined;
637
644
  approvalProgram: string | Uint8Array;
638
645
  clearStateProgram: string | Uint8Array;
639
- schema?: {
640
- globalInts: number;
641
- globalByteSlices: number;
642
- localInts: number;
643
- localByteSlices: number;
644
- } | undefined;
645
- extraProgramPages?: number | undefined;
646
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
646
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
647
647
  }>;
648
648
  /**
649
649
  * Return params for an delete ABI call
@@ -672,8 +672,9 @@ declare class AppClient {
672
672
  method: string;
673
673
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
674
674
  }) => Promise<{
675
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
675
+ appId: bigint;
676
676
  sender: SendingAddress;
677
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
677
678
  rekeyTo?: ReadableAddress | undefined;
678
679
  note?: string | Uint8Array | undefined;
679
680
  lease?: string | Uint8Array | undefined;
@@ -683,7 +684,6 @@ declare class AppClient {
683
684
  validityWindow?: number | bigint | undefined;
684
685
  firstValidRound?: bigint | undefined;
685
686
  lastValidRound?: bigint | undefined;
686
- appId: bigint;
687
687
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
688
688
  accountReferences?: ReadableAddress[] | undefined;
689
689
  appReferences?: bigint[] | undefined;
@@ -692,7 +692,7 @@ declare class AppClient {
692
692
  accessReferences?: ResourceReference[] | undefined;
693
693
  rejectVersion?: number | undefined;
694
694
  method: ABIMethod;
695
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
695
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
696
696
  sender: SendingAddress;
697
697
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
698
698
  rekeyTo?: ReadableAddress | undefined;
@@ -704,8 +704,7 @@ declare class AppClient {
704
704
  validityWindow?: number | bigint | undefined;
705
705
  firstValidRound?: bigint | undefined;
706
706
  lastValidRound?: bigint | undefined;
707
- appId: bigint;
708
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
707
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
709
708
  args?: Uint8Array[] | undefined;
710
709
  accountReferences?: ReadableAddress[] | undefined;
711
710
  appReferences?: bigint[] | undefined;
@@ -713,11 +712,19 @@ declare class AppClient {
713
712
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
714
713
  accessReferences?: ResourceReference[] | undefined;
715
714
  rejectVersion?: number | undefined;
715
+ appId?: 0 | undefined;
716
716
  approvalProgram: string | Uint8Array;
717
717
  clearStateProgram: string | Uint8Array;
718
+ schema?: {
719
+ globalInts: number;
720
+ globalByteSlices: number;
721
+ localInts: number;
722
+ localByteSlices: number;
723
+ } | undefined;
724
+ extraProgramPages?: number | undefined;
718
725
  }> | AppMethodCall<{
719
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
720
726
  sender: SendingAddress;
727
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
721
728
  rekeyTo?: ReadableAddress | undefined;
722
729
  note?: string | Uint8Array | undefined;
723
730
  lease?: string | Uint8Array | undefined;
@@ -727,25 +734,18 @@ declare class AppClient {
727
734
  validityWindow?: number | bigint | undefined;
728
735
  firstValidRound?: bigint | undefined;
729
736
  lastValidRound?: bigint | undefined;
737
+ appId: bigint;
738
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
730
739
  args?: Uint8Array[] | undefined;
731
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
732
740
  accountReferences?: ReadableAddress[] | undefined;
733
741
  appReferences?: bigint[] | undefined;
734
742
  assetReferences?: bigint[] | undefined;
735
743
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
736
744
  accessReferences?: ResourceReference[] | undefined;
737
745
  rejectVersion?: number | undefined;
738
- appId?: 0 | undefined;
739
746
  approvalProgram: string | Uint8Array;
740
747
  clearStateProgram: string | Uint8Array;
741
- schema?: {
742
- globalInts: number;
743
- globalByteSlices: number;
744
- localInts: number;
745
- localByteSlices: number;
746
- } | undefined;
747
- extraProgramPages?: number | undefined;
748
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
748
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
749
749
  }>;
750
750
  /** Return params for an close out ABI call
751
751
  * @param params The parameters for the close out ABI method call
@@ -773,8 +773,9 @@ declare class AppClient {
773
773
  method: string;
774
774
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
775
775
  }) => Promise<{
776
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
776
+ appId: bigint;
777
777
  sender: SendingAddress;
778
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
778
779
  rekeyTo?: ReadableAddress | undefined;
779
780
  note?: string | Uint8Array | undefined;
780
781
  lease?: string | Uint8Array | undefined;
@@ -784,7 +785,6 @@ declare class AppClient {
784
785
  validityWindow?: number | bigint | undefined;
785
786
  firstValidRound?: bigint | undefined;
786
787
  lastValidRound?: bigint | undefined;
787
- appId: bigint;
788
788
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
789
789
  accountReferences?: ReadableAddress[] | undefined;
790
790
  appReferences?: bigint[] | undefined;
@@ -793,7 +793,7 @@ declare class AppClient {
793
793
  accessReferences?: ResourceReference[] | undefined;
794
794
  rejectVersion?: number | undefined;
795
795
  method: ABIMethod;
796
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
796
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
797
797
  sender: SendingAddress;
798
798
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
799
799
  rekeyTo?: ReadableAddress | undefined;
@@ -805,8 +805,7 @@ declare class AppClient {
805
805
  validityWindow?: number | bigint | undefined;
806
806
  firstValidRound?: bigint | undefined;
807
807
  lastValidRound?: bigint | undefined;
808
- appId: bigint;
809
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
808
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
810
809
  args?: Uint8Array[] | undefined;
811
810
  accountReferences?: ReadableAddress[] | undefined;
812
811
  appReferences?: bigint[] | undefined;
@@ -814,11 +813,19 @@ declare class AppClient {
814
813
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
815
814
  accessReferences?: ResourceReference[] | undefined;
816
815
  rejectVersion?: number | undefined;
816
+ appId?: 0 | undefined;
817
817
  approvalProgram: string | Uint8Array;
818
818
  clearStateProgram: string | Uint8Array;
819
+ schema?: {
820
+ globalInts: number;
821
+ globalByteSlices: number;
822
+ localInts: number;
823
+ localByteSlices: number;
824
+ } | undefined;
825
+ extraProgramPages?: number | undefined;
819
826
  }> | AppMethodCall<{
820
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
821
827
  sender: SendingAddress;
828
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
822
829
  rekeyTo?: ReadableAddress | undefined;
823
830
  note?: string | Uint8Array | undefined;
824
831
  lease?: string | Uint8Array | undefined;
@@ -828,25 +835,18 @@ declare class AppClient {
828
835
  validityWindow?: number | bigint | undefined;
829
836
  firstValidRound?: bigint | undefined;
830
837
  lastValidRound?: bigint | undefined;
838
+ appId: bigint;
839
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
831
840
  args?: Uint8Array[] | undefined;
832
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
833
841
  accountReferences?: ReadableAddress[] | undefined;
834
842
  appReferences?: bigint[] | undefined;
835
843
  assetReferences?: bigint[] | undefined;
836
844
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
837
845
  accessReferences?: ResourceReference[] | undefined;
838
846
  rejectVersion?: number | undefined;
839
- appId?: 0 | undefined;
840
847
  approvalProgram: string | Uint8Array;
841
848
  clearStateProgram: string | Uint8Array;
842
- schema?: {
843
- globalInts: number;
844
- globalByteSlices: number;
845
- localInts: number;
846
- localByteSlices: number;
847
- } | undefined;
848
- extraProgramPages?: number | undefined;
849
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
849
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
850
850
  }>;
851
851
  /** Return params for an ABI call
852
852
  * @param params The parameters for the ABI method call
@@ -874,8 +874,9 @@ declare class AppClient {
874
874
  method: string;
875
875
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
876
876
  } & CallOnComplete) => Promise<{
877
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
877
+ appId: bigint;
878
878
  sender: SendingAddress;
879
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
879
880
  rekeyTo?: ReadableAddress | undefined;
880
881
  note?: string | Uint8Array | undefined;
881
882
  lease?: string | Uint8Array | undefined;
@@ -885,7 +886,6 @@ declare class AppClient {
885
886
  validityWindow?: number | bigint | undefined;
886
887
  firstValidRound?: bigint | undefined;
887
888
  lastValidRound?: bigint | undefined;
888
- appId: bigint;
889
889
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
890
890
  accountReferences?: ReadableAddress[] | undefined;
891
891
  appReferences?: bigint[] | undefined;
@@ -894,7 +894,7 @@ declare class AppClient {
894
894
  accessReferences?: ResourceReference[] | undefined;
895
895
  rejectVersion?: number | undefined;
896
896
  method: ABIMethod;
897
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
897
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
898
898
  sender: SendingAddress;
899
899
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
900
900
  rekeyTo?: ReadableAddress | undefined;
@@ -906,8 +906,7 @@ declare class AppClient {
906
906
  validityWindow?: number | bigint | undefined;
907
907
  firstValidRound?: bigint | undefined;
908
908
  lastValidRound?: bigint | undefined;
909
- appId: bigint;
910
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
909
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
911
910
  args?: Uint8Array[] | undefined;
912
911
  accountReferences?: ReadableAddress[] | undefined;
913
912
  appReferences?: bigint[] | undefined;
@@ -915,11 +914,19 @@ declare class AppClient {
915
914
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
916
915
  accessReferences?: ResourceReference[] | undefined;
917
916
  rejectVersion?: number | undefined;
917
+ appId?: 0 | undefined;
918
918
  approvalProgram: string | Uint8Array;
919
919
  clearStateProgram: string | Uint8Array;
920
+ schema?: {
921
+ globalInts: number;
922
+ globalByteSlices: number;
923
+ localInts: number;
924
+ localByteSlices: number;
925
+ } | undefined;
926
+ extraProgramPages?: number | undefined;
920
927
  }> | AppMethodCall<{
921
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
922
928
  sender: SendingAddress;
929
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
923
930
  rekeyTo?: ReadableAddress | undefined;
924
931
  note?: string | Uint8Array | undefined;
925
932
  lease?: string | Uint8Array | undefined;
@@ -929,25 +936,18 @@ declare class AppClient {
929
936
  validityWindow?: number | bigint | undefined;
930
937
  firstValidRound?: bigint | undefined;
931
938
  lastValidRound?: bigint | undefined;
939
+ appId: bigint;
940
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
932
941
  args?: Uint8Array[] | undefined;
933
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
934
942
  accountReferences?: ReadableAddress[] | undefined;
935
943
  appReferences?: bigint[] | undefined;
936
944
  assetReferences?: bigint[] | undefined;
937
945
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
938
946
  accessReferences?: ResourceReference[] | undefined;
939
947
  rejectVersion?: number | undefined;
940
- appId?: 0 | undefined;
941
948
  approvalProgram: string | Uint8Array;
942
949
  clearStateProgram: string | Uint8Array;
943
- schema?: {
944
- globalInts: number;
945
- globalByteSlices: number;
946
- localInts: number;
947
- localByteSlices: number;
948
- } | undefined;
949
- extraProgramPages?: number | undefined;
950
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
950
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
951
951
  }>;
952
952
  } & {
953
953
  /** Interact with bare (raw) call parameters */bare: {
@@ -1110,7 +1110,6 @@ declare class AppClient {
1110
1110
  */
1111
1111
  fundAppAccount: (params: {
1112
1112
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1113
- amount: AlgoAmount;
1114
1113
  rekeyTo?: ReadableAddress | undefined;
1115
1114
  note?: string | Uint8Array | undefined;
1116
1115
  lease?: string | Uint8Array | undefined;
@@ -1120,6 +1119,7 @@ declare class AppClient {
1120
1119
  validityWindow?: number | bigint | undefined;
1121
1120
  firstValidRound?: bigint | undefined;
1122
1121
  lastValidRound?: bigint | undefined;
1122
+ amount: AlgoAmount;
1123
1123
  closeRemainderTo?: ReadableAddress | undefined;
1124
1124
  maxRoundsToWaitForConfirmation?: number | undefined;
1125
1125
  suppressLog?: boolean | undefined;
@@ -1420,7 +1420,6 @@ declare class AppClient {
1420
1420
  */
1421
1421
  fundAppAccount: (params: {
1422
1422
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1423
- amount: AlgoAmount;
1424
1423
  rekeyTo?: ReadableAddress | undefined;
1425
1424
  note?: string | Uint8Array | undefined;
1426
1425
  lease?: string | Uint8Array | undefined;
@@ -1430,6 +1429,7 @@ declare class AppClient {
1430
1429
  validityWindow?: number | bigint | undefined;
1431
1430
  firstValidRound?: bigint | undefined;
1432
1431
  lastValidRound?: bigint | undefined;
1432
+ amount: AlgoAmount;
1433
1433
  closeRemainderTo?: ReadableAddress | undefined;
1434
1434
  maxRoundsToWaitForConfirmation?: number | undefined;
1435
1435
  suppressLog?: boolean | undefined;
@@ -1474,8 +1474,8 @@ declare class AppClient {
1474
1474
  } & AppClientCompilationParams & SendParams) => Promise<{
1475
1475
  compiledApproval?: CompiledTeal | undefined;
1476
1476
  compiledClear?: CompiledTeal | undefined;
1477
- confirmations: PendingTransactionResponse[];
1478
1477
  transactions: Transaction[];
1478
+ confirmations: PendingTransactionResponse[];
1479
1479
  groupId: string | undefined;
1480
1480
  txIds: string[];
1481
1481
  returns?: ABIReturn[] | undefined;