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

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.
@@ -348,8 +348,8 @@ declare class AlgorandClientTransactionCreator {
348
348
  * @returns The application create transaction
349
349
  */
350
350
  appCreate: (params: {
351
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
351
  sender: SendingAddress;
352
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
353
353
  rekeyTo?: ReadableAddress | undefined;
354
354
  note?: string | Uint8Array | undefined;
355
355
  lease?: string | Uint8Array | undefined;
@@ -359,8 +359,8 @@ declare class AlgorandClientTransactionCreator {
359
359
  validityWindow?: number | bigint | undefined;
360
360
  firstValidRound?: bigint | undefined;
361
361
  lastValidRound?: bigint | undefined;
362
- args?: Uint8Array[] | undefined;
363
362
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
363
+ args?: Uint8Array[] | undefined;
364
364
  accountReferences?: ReadableAddress[] | undefined;
365
365
  appReferences?: bigint[] | undefined;
366
366
  assetReferences?: bigint[] | undefined;
@@ -417,7 +417,7 @@ declare class AlgorandClientTransactionCreator {
417
417
  */
418
418
  appUpdate: (params: {
419
419
  sender: SendingAddress;
420
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
420
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
421
421
  rekeyTo?: ReadableAddress | undefined;
422
422
  note?: string | Uint8Array | undefined;
423
423
  lease?: string | Uint8Array | undefined;
@@ -568,8 +568,8 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
572
571
  sender: SendingAddress;
572
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
573
573
  rekeyTo?: ReadableAddress | undefined;
574
574
  note?: string | Uint8Array | undefined;
575
575
  lease?: string | Uint8Array | undefined;
@@ -580,8 +580,6 @@ declare class AlgorandClientTransactionCreator {
580
580
  firstValidRound?: bigint | undefined;
581
581
  lastValidRound?: bigint | undefined;
582
582
  appId?: 0 | undefined;
583
- approvalProgram: string | Uint8Array;
584
- clearStateProgram: string | Uint8Array;
585
583
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
586
584
  accountReferences?: ReadableAddress[] | undefined;
587
585
  appReferences?: bigint[] | undefined;
@@ -589,6 +587,8 @@ declare class AlgorandClientTransactionCreator {
589
587
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
590
588
  accessReferences?: ResourceReference[] | undefined;
591
589
  rejectVersion?: number | undefined;
590
+ approvalProgram: string | Uint8Array;
591
+ clearStateProgram: string | Uint8Array;
592
592
  schema?: {
593
593
  globalInts: number;
594
594
  globalByteSlices: number;
@@ -597,9 +597,9 @@ declare class AlgorandClientTransactionCreator {
597
597
  } | undefined;
598
598
  extraProgramPages?: number | undefined;
599
599
  method: ABIMethod;
600
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
600
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
601
601
  sender: SendingAddress;
602
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
602
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
603
603
  rekeyTo?: ReadableAddress | undefined;
604
604
  note?: string | Uint8Array | undefined;
605
605
  lease?: string | Uint8Array | undefined;
@@ -609,8 +609,7 @@ declare class AlgorandClientTransactionCreator {
609
609
  validityWindow?: number | bigint | undefined;
610
610
  firstValidRound?: bigint | undefined;
611
611
  lastValidRound?: bigint | undefined;
612
- appId: bigint;
613
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
612
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
614
613
  args?: Uint8Array[] | undefined;
615
614
  accountReferences?: ReadableAddress[] | undefined;
616
615
  appReferences?: bigint[] | undefined;
@@ -618,11 +617,19 @@ declare class AlgorandClientTransactionCreator {
618
617
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
619
618
  accessReferences?: ResourceReference[] | undefined;
620
619
  rejectVersion?: number | undefined;
620
+ appId?: 0 | undefined;
621
621
  approvalProgram: string | Uint8Array;
622
622
  clearStateProgram: string | Uint8Array;
623
+ schema?: {
624
+ globalInts: number;
625
+ globalByteSlices: number;
626
+ localInts: number;
627
+ localByteSlices: number;
628
+ } | undefined;
629
+ extraProgramPages?: number | undefined;
623
630
  }> | AppMethodCall<{
624
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
625
631
  sender: SendingAddress;
632
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
626
633
  rekeyTo?: ReadableAddress | undefined;
627
634
  note?: string | Uint8Array | undefined;
628
635
  lease?: string | Uint8Array | undefined;
@@ -632,25 +639,18 @@ declare class AlgorandClientTransactionCreator {
632
639
  validityWindow?: number | bigint | undefined;
633
640
  firstValidRound?: bigint | undefined;
634
641
  lastValidRound?: bigint | undefined;
642
+ appId: bigint;
643
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
635
644
  args?: Uint8Array[] | undefined;
636
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
637
645
  accountReferences?: ReadableAddress[] | undefined;
638
646
  appReferences?: bigint[] | undefined;
639
647
  assetReferences?: bigint[] | undefined;
640
648
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
641
649
  accessReferences?: ResourceReference[] | undefined;
642
650
  rejectVersion?: number | undefined;
643
- appId?: 0 | undefined;
644
651
  approvalProgram: string | Uint8Array;
645
652
  clearStateProgram: string | Uint8Array;
646
- schema?: {
647
- globalInts: number;
648
- globalByteSlices: number;
649
- localInts: number;
650
- localByteSlices: number;
651
- } | undefined;
652
- extraProgramPages?: number | undefined;
653
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
653
+ }> | Promise<Transaction> | undefined)[] | undefined;
654
654
  }) => Promise<Expand<BuiltTransactions>>;
655
655
  /** Create an application update call with ABI method call transaction.
656
656
  *
@@ -702,8 +702,8 @@ declare class AlgorandClientTransactionCreator {
702
702
  * @returns The application ABI method update transaction
703
703
  */
704
704
  appUpdateMethodCall: (params: {
705
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
706
705
  sender: SendingAddress;
706
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
707
707
  rekeyTo?: ReadableAddress | undefined;
708
708
  note?: string | Uint8Array | undefined;
709
709
  lease?: string | Uint8Array | undefined;
@@ -714,8 +714,6 @@ declare class AlgorandClientTransactionCreator {
714
714
  firstValidRound?: bigint | undefined;
715
715
  lastValidRound?: bigint | undefined;
716
716
  appId: bigint;
717
- approvalProgram: string | Uint8Array;
718
- clearStateProgram: string | Uint8Array;
719
717
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
720
718
  accountReferences?: ReadableAddress[] | undefined;
721
719
  appReferences?: bigint[] | undefined;
@@ -723,10 +721,12 @@ declare class AlgorandClientTransactionCreator {
723
721
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
724
722
  accessReferences?: ResourceReference[] | undefined;
725
723
  rejectVersion?: number | undefined;
724
+ approvalProgram: string | Uint8Array;
725
+ clearStateProgram: string | Uint8Array;
726
726
  method: ABIMethod;
727
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
727
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
728
728
  sender: SendingAddress;
729
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
729
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
730
730
  rekeyTo?: ReadableAddress | undefined;
731
731
  note?: string | Uint8Array | undefined;
732
732
  lease?: string | Uint8Array | undefined;
@@ -736,8 +736,7 @@ declare class AlgorandClientTransactionCreator {
736
736
  validityWindow?: number | bigint | undefined;
737
737
  firstValidRound?: bigint | undefined;
738
738
  lastValidRound?: bigint | undefined;
739
- appId: bigint;
740
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
739
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
741
740
  args?: Uint8Array[] | undefined;
742
741
  accountReferences?: ReadableAddress[] | undefined;
743
742
  appReferences?: bigint[] | undefined;
@@ -745,11 +744,19 @@ declare class AlgorandClientTransactionCreator {
745
744
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
746
745
  accessReferences?: ResourceReference[] | undefined;
747
746
  rejectVersion?: number | undefined;
747
+ appId?: 0 | undefined;
748
748
  approvalProgram: string | Uint8Array;
749
749
  clearStateProgram: string | Uint8Array;
750
+ schema?: {
751
+ globalInts: number;
752
+ globalByteSlices: number;
753
+ localInts: number;
754
+ localByteSlices: number;
755
+ } | undefined;
756
+ extraProgramPages?: number | undefined;
750
757
  }> | AppMethodCall<{
751
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
752
758
  sender: SendingAddress;
759
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
753
760
  rekeyTo?: ReadableAddress | undefined;
754
761
  note?: string | Uint8Array | undefined;
755
762
  lease?: string | Uint8Array | undefined;
@@ -759,25 +766,18 @@ declare class AlgorandClientTransactionCreator {
759
766
  validityWindow?: number | bigint | undefined;
760
767
  firstValidRound?: bigint | undefined;
761
768
  lastValidRound?: bigint | undefined;
769
+ appId: bigint;
770
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
762
771
  args?: Uint8Array[] | undefined;
763
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
764
772
  accountReferences?: ReadableAddress[] | undefined;
765
773
  appReferences?: bigint[] | undefined;
766
774
  assetReferences?: bigint[] | undefined;
767
775
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
768
776
  accessReferences?: ResourceReference[] | undefined;
769
777
  rejectVersion?: number | undefined;
770
- appId?: 0 | undefined;
771
778
  approvalProgram: string | Uint8Array;
772
779
  clearStateProgram: string | Uint8Array;
773
- schema?: {
774
- globalInts: number;
775
- globalByteSlices: number;
776
- localInts: number;
777
- localByteSlices: number;
778
- } | undefined;
779
- extraProgramPages?: number | undefined;
780
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
780
+ }> | Promise<Transaction> | undefined)[] | undefined;
781
781
  }) => Promise<Expand<BuiltTransactions>>;
782
782
  /** Create an application delete call with ABI method call transaction.
783
783
  *
@@ -827,8 +827,8 @@ declare class AlgorandClientTransactionCreator {
827
827
  * @returns The application ABI method delete transaction
828
828
  */
829
829
  appDeleteMethodCall: (params: {
830
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
831
830
  sender: SendingAddress;
831
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
832
832
  rekeyTo?: ReadableAddress | undefined;
833
833
  note?: string | Uint8Array | undefined;
834
834
  lease?: string | Uint8Array | undefined;
@@ -847,9 +847,9 @@ declare class AlgorandClientTransactionCreator {
847
847
  accessReferences?: ResourceReference[] | undefined;
848
848
  rejectVersion?: number | undefined;
849
849
  method: ABIMethod;
850
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
850
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
851
851
  sender: SendingAddress;
852
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
852
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
853
853
  rekeyTo?: ReadableAddress | undefined;
854
854
  note?: string | Uint8Array | undefined;
855
855
  lease?: string | Uint8Array | undefined;
@@ -859,8 +859,7 @@ declare class AlgorandClientTransactionCreator {
859
859
  validityWindow?: number | bigint | undefined;
860
860
  firstValidRound?: bigint | undefined;
861
861
  lastValidRound?: bigint | undefined;
862
- appId: bigint;
863
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
862
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
864
863
  args?: Uint8Array[] | undefined;
865
864
  accountReferences?: ReadableAddress[] | undefined;
866
865
  appReferences?: bigint[] | undefined;
@@ -868,11 +867,19 @@ declare class AlgorandClientTransactionCreator {
868
867
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
869
868
  accessReferences?: ResourceReference[] | undefined;
870
869
  rejectVersion?: number | undefined;
870
+ appId?: 0 | undefined;
871
871
  approvalProgram: string | Uint8Array;
872
872
  clearStateProgram: string | Uint8Array;
873
+ schema?: {
874
+ globalInts: number;
875
+ globalByteSlices: number;
876
+ localInts: number;
877
+ localByteSlices: number;
878
+ } | undefined;
879
+ extraProgramPages?: number | undefined;
873
880
  }> | AppMethodCall<{
874
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
875
881
  sender: SendingAddress;
882
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
876
883
  rekeyTo?: ReadableAddress | undefined;
877
884
  note?: string | Uint8Array | undefined;
878
885
  lease?: string | Uint8Array | undefined;
@@ -882,25 +889,18 @@ declare class AlgorandClientTransactionCreator {
882
889
  validityWindow?: number | bigint | undefined;
883
890
  firstValidRound?: bigint | undefined;
884
891
  lastValidRound?: bigint | undefined;
892
+ appId: bigint;
893
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
885
894
  args?: Uint8Array[] | undefined;
886
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
887
895
  accountReferences?: ReadableAddress[] | undefined;
888
896
  appReferences?: bigint[] | undefined;
889
897
  assetReferences?: bigint[] | undefined;
890
898
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
891
899
  accessReferences?: ResourceReference[] | undefined;
892
900
  rejectVersion?: number | undefined;
893
- appId?: 0 | undefined;
894
901
  approvalProgram: string | Uint8Array;
895
902
  clearStateProgram: string | Uint8Array;
896
- schema?: {
897
- globalInts: number;
898
- globalByteSlices: number;
899
- localInts: number;
900
- localByteSlices: number;
901
- } | undefined;
902
- extraProgramPages?: number | undefined;
903
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
903
+ }> | Promise<Transaction> | undefined)[] | undefined;
904
904
  }) => Promise<Expand<BuiltTransactions>>;
905
905
  /** Create an application call with ABI method call transaction.
906
906
  *
@@ -950,8 +950,8 @@ declare class AlgorandClientTransactionCreator {
950
950
  * @returns The application ABI method call transaction
951
951
  */
952
952
  appCallMethodCall: (params: {
953
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
954
953
  sender: SendingAddress;
954
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
955
955
  rekeyTo?: ReadableAddress | undefined;
956
956
  note?: string | Uint8Array | undefined;
957
957
  lease?: string | Uint8Array | undefined;
@@ -970,9 +970,9 @@ declare class AlgorandClientTransactionCreator {
970
970
  accessReferences?: ResourceReference[] | undefined;
971
971
  rejectVersion?: number | undefined;
972
972
  method: ABIMethod;
973
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
973
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
974
974
  sender: SendingAddress;
975
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
975
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
976
976
  rekeyTo?: ReadableAddress | undefined;
977
977
  note?: string | Uint8Array | undefined;
978
978
  lease?: string | Uint8Array | undefined;
@@ -982,8 +982,7 @@ declare class AlgorandClientTransactionCreator {
982
982
  validityWindow?: number | bigint | undefined;
983
983
  firstValidRound?: bigint | undefined;
984
984
  lastValidRound?: bigint | undefined;
985
- appId: bigint;
986
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
985
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
987
986
  args?: Uint8Array[] | undefined;
988
987
  accountReferences?: ReadableAddress[] | undefined;
989
988
  appReferences?: bigint[] | undefined;
@@ -991,11 +990,19 @@ declare class AlgorandClientTransactionCreator {
991
990
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
992
991
  accessReferences?: ResourceReference[] | undefined;
993
992
  rejectVersion?: number | undefined;
993
+ appId?: 0 | undefined;
994
994
  approvalProgram: string | Uint8Array;
995
995
  clearStateProgram: string | Uint8Array;
996
+ schema?: {
997
+ globalInts: number;
998
+ globalByteSlices: number;
999
+ localInts: number;
1000
+ localByteSlices: number;
1001
+ } | undefined;
1002
+ extraProgramPages?: number | undefined;
996
1003
  }> | AppMethodCall<{
997
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
998
1004
  sender: SendingAddress;
1005
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
999
1006
  rekeyTo?: ReadableAddress | undefined;
1000
1007
  note?: string | Uint8Array | undefined;
1001
1008
  lease?: string | Uint8Array | undefined;
@@ -1005,25 +1012,18 @@ declare class AlgorandClientTransactionCreator {
1005
1012
  validityWindow?: number | bigint | undefined;
1006
1013
  firstValidRound?: bigint | undefined;
1007
1014
  lastValidRound?: bigint | undefined;
1015
+ appId: bigint;
1016
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1008
1017
  args?: Uint8Array[] | undefined;
1009
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1010
1018
  accountReferences?: ReadableAddress[] | undefined;
1011
1019
  appReferences?: bigint[] | undefined;
1012
1020
  assetReferences?: bigint[] | undefined;
1013
1021
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1014
1022
  accessReferences?: ResourceReference[] | undefined;
1015
1023
  rejectVersion?: number | undefined;
1016
- appId?: 0 | undefined;
1017
1024
  approvalProgram: string | Uint8Array;
1018
1025
  clearStateProgram: string | Uint8Array;
1019
- schema?: {
1020
- globalInts: number;
1021
- globalByteSlices: number;
1022
- localInts: number;
1023
- localByteSlices: number;
1024
- } | undefined;
1025
- extraProgramPages?: number | undefined;
1026
- }> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1026
+ }> | Promise<Transaction> | undefined)[] | undefined;
1027
1027
  }) => Promise<Expand<BuiltTransactions>>;
1028
1028
  /**
1029
1029
  * Create an online key registration transaction.