@algorandfoundation/algokit-utils 10.0.0-alpha.1 → 10.0.0-alpha.2
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.
- package/README.md +27 -5
- package/package.json +1 -1
- package/packages/algo25/src/english.js.map +1 -1
- package/packages/algo25/src/english.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/account-manager.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +80 -80
- package/types/algorand-client-transaction-sender.d.ts +82 -82
- package/types/app-client.d.ts +259 -259
- package/types/app-factory.d.ts +87 -87
- package/types/composer.d.ts +1 -0
- package/types/composer.js +11 -0
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +11 -0
- package/types/composer.mjs.map +1 -1
|
@@ -347,23 +347,23 @@ declare class AlgorandClientTransactionCreator {
|
|
|
347
347
|
* @returns The application create transaction
|
|
348
348
|
*/
|
|
349
349
|
appCreate: (params: {
|
|
350
|
-
|
|
351
|
-
note?: string | Uint8Array | undefined;
|
|
352
|
-
maxFee?: AlgoAmount | undefined;
|
|
350
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
353
351
|
sender: SendingAddress;
|
|
354
|
-
lease?: string | Uint8Array | undefined;
|
|
355
352
|
rekeyTo?: ReadableAddress | undefined;
|
|
356
|
-
|
|
357
|
-
|
|
353
|
+
note?: string | Uint8Array | undefined;
|
|
354
|
+
lease?: string | Uint8Array | undefined;
|
|
358
355
|
staticFee?: AlgoAmount | undefined;
|
|
359
356
|
extraFee?: AlgoAmount | undefined;
|
|
357
|
+
maxFee?: AlgoAmount | undefined;
|
|
360
358
|
validityWindow?: number | bigint | undefined;
|
|
361
359
|
firstValidRound?: bigint | undefined;
|
|
362
360
|
lastValidRound?: bigint | undefined;
|
|
361
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
362
|
+
args?: Uint8Array[] | undefined;
|
|
363
363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
364
364
|
appReferences?: bigint[] | undefined;
|
|
365
365
|
assetReferences?: bigint[] | undefined;
|
|
366
|
-
boxReferences?: (
|
|
366
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
367
367
|
accessReferences?: AccessReference[] | undefined;
|
|
368
368
|
rejectVersion?: number | undefined;
|
|
369
369
|
approvalProgram: string | Uint8Array;
|
|
@@ -430,7 +430,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
430
430
|
accountReferences?: ReadableAddress[] | undefined;
|
|
431
431
|
appReferences?: bigint[] | undefined;
|
|
432
432
|
assetReferences?: bigint[] | undefined;
|
|
433
|
-
boxReferences?: (
|
|
433
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
434
434
|
accessReferences?: AccessReference[] | undefined;
|
|
435
435
|
rejectVersion?: number | undefined;
|
|
436
436
|
approvalProgram: string | Uint8Array;
|
|
@@ -562,52 +562,52 @@ declare class AlgorandClientTransactionCreator {
|
|
|
562
562
|
* @returns The application ABI method create transaction
|
|
563
563
|
*/
|
|
564
564
|
appCreateMethodCall: (params: {
|
|
565
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
566
|
+
sender: SendingAddress;
|
|
567
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
565
568
|
note?: string | Uint8Array | undefined;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
+
lease?: string | Uint8Array | undefined;
|
|
570
|
+
staticFee?: AlgoAmount | undefined;
|
|
571
|
+
extraFee?: AlgoAmount | undefined;
|
|
569
572
|
maxFee?: AlgoAmount | undefined;
|
|
573
|
+
validityWindow?: number | bigint | undefined;
|
|
574
|
+
firstValidRound?: bigint | undefined;
|
|
575
|
+
lastValidRound?: bigint | undefined;
|
|
570
576
|
schema?: {
|
|
571
577
|
globalInts: number;
|
|
572
578
|
globalByteSlices: number;
|
|
573
579
|
localInts: number;
|
|
574
580
|
localByteSlices: number;
|
|
575
581
|
} | undefined;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
582
|
+
approvalProgram: string | Uint8Array;
|
|
583
|
+
clearStateProgram: string | Uint8Array;
|
|
579
584
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
580
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
581
|
-
staticFee?: AlgoAmount | undefined;
|
|
582
|
-
extraFee?: AlgoAmount | undefined;
|
|
583
|
-
validityWindow?: number | bigint | undefined;
|
|
584
|
-
firstValidRound?: bigint | undefined;
|
|
585
|
-
lastValidRound?: bigint | undefined;
|
|
586
585
|
accountReferences?: ReadableAddress[] | undefined;
|
|
587
586
|
appReferences?: bigint[] | undefined;
|
|
588
587
|
assetReferences?: bigint[] | undefined;
|
|
589
|
-
boxReferences?: (
|
|
588
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
590
589
|
accessReferences?: AccessReference[] | undefined;
|
|
591
590
|
rejectVersion?: number | undefined;
|
|
591
|
+
extraProgramPages?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (
|
|
594
|
-
|
|
595
|
-
note?: string | Uint8Array | undefined;
|
|
596
|
-
maxFee?: AlgoAmount | undefined;
|
|
593
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
|
|
594
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
597
595
|
sender: SendingAddress;
|
|
598
|
-
lease?: string | Uint8Array | undefined;
|
|
599
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
600
|
-
|
|
601
|
-
|
|
597
|
+
note?: string | Uint8Array | undefined;
|
|
598
|
+
lease?: string | Uint8Array | undefined;
|
|
602
599
|
staticFee?: AlgoAmount | undefined;
|
|
603
600
|
extraFee?: AlgoAmount | undefined;
|
|
601
|
+
maxFee?: AlgoAmount | undefined;
|
|
604
602
|
validityWindow?: number | bigint | undefined;
|
|
605
603
|
firstValidRound?: bigint | undefined;
|
|
606
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
|
+
args?: Uint8Array[] | undefined;
|
|
607
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
608
|
appReferences?: bigint[] | undefined;
|
|
609
609
|
assetReferences?: bigint[] | undefined;
|
|
610
|
-
boxReferences?: (
|
|
610
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
611
611
|
accessReferences?: AccessReference[] | undefined;
|
|
612
612
|
rejectVersion?: number | undefined;
|
|
613
613
|
approvalProgram: string | Uint8Array;
|
|
@@ -637,7 +637,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
637
637
|
accountReferences?: ReadableAddress[] | undefined;
|
|
638
638
|
appReferences?: bigint[] | undefined;
|
|
639
639
|
assetReferences?: bigint[] | undefined;
|
|
640
|
-
boxReferences?: (
|
|
640
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
641
641
|
accessReferences?: AccessReference[] | undefined;
|
|
642
642
|
rejectVersion?: number | undefined;
|
|
643
643
|
approvalProgram: string | Uint8Array;
|
|
@@ -693,46 +693,46 @@ declare class AlgorandClientTransactionCreator {
|
|
|
693
693
|
* @returns The application ABI method update transaction
|
|
694
694
|
*/
|
|
695
695
|
appUpdateMethodCall: (params: {
|
|
696
|
-
|
|
697
|
-
note?: string | Uint8Array | undefined;
|
|
698
|
-
approvalProgram: string | Uint8Array;
|
|
699
|
-
clearStateProgram: string | Uint8Array;
|
|
700
|
-
maxFee?: AlgoAmount | undefined;
|
|
696
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
701
697
|
sender: SendingAddress;
|
|
702
|
-
lease?: string | Uint8Array | undefined;
|
|
703
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
704
|
-
|
|
705
|
-
|
|
699
|
+
note?: string | Uint8Array | undefined;
|
|
700
|
+
lease?: string | Uint8Array | undefined;
|
|
706
701
|
staticFee?: AlgoAmount | undefined;
|
|
707
702
|
extraFee?: AlgoAmount | undefined;
|
|
703
|
+
maxFee?: AlgoAmount | undefined;
|
|
708
704
|
validityWindow?: number | bigint | undefined;
|
|
709
705
|
firstValidRound?: bigint | undefined;
|
|
710
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
+
approvalProgram: string | Uint8Array;
|
|
708
|
+
clearStateProgram: string | Uint8Array;
|
|
709
|
+
appId: bigint;
|
|
710
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
711
711
|
accountReferences?: ReadableAddress[] | undefined;
|
|
712
712
|
appReferences?: bigint[] | undefined;
|
|
713
713
|
assetReferences?: bigint[] | undefined;
|
|
714
|
-
boxReferences?: (
|
|
714
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
715
715
|
accessReferences?: AccessReference[] | undefined;
|
|
716
716
|
rejectVersion?: number | undefined;
|
|
717
717
|
method: ABIMethod;
|
|
718
|
-
args?: (
|
|
719
|
-
|
|
720
|
-
note?: string | Uint8Array | undefined;
|
|
721
|
-
maxFee?: AlgoAmount | undefined;
|
|
718
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
|
|
719
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
722
720
|
sender: SendingAddress;
|
|
723
|
-
lease?: string | Uint8Array | undefined;
|
|
724
721
|
rekeyTo?: ReadableAddress | undefined;
|
|
725
|
-
|
|
726
|
-
|
|
722
|
+
note?: string | Uint8Array | undefined;
|
|
723
|
+
lease?: string | Uint8Array | undefined;
|
|
727
724
|
staticFee?: AlgoAmount | undefined;
|
|
728
725
|
extraFee?: AlgoAmount | undefined;
|
|
726
|
+
maxFee?: AlgoAmount | undefined;
|
|
729
727
|
validityWindow?: number | bigint | undefined;
|
|
730
728
|
firstValidRound?: bigint | undefined;
|
|
731
729
|
lastValidRound?: bigint | undefined;
|
|
730
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
731
|
+
args?: Uint8Array[] | undefined;
|
|
732
732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
733
733
|
appReferences?: bigint[] | undefined;
|
|
734
734
|
assetReferences?: bigint[] | undefined;
|
|
735
|
-
boxReferences?: (
|
|
735
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
736
736
|
accessReferences?: AccessReference[] | undefined;
|
|
737
737
|
rejectVersion?: number | undefined;
|
|
738
738
|
approvalProgram: string | Uint8Array;
|
|
@@ -762,7 +762,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
762
762
|
accountReferences?: ReadableAddress[] | undefined;
|
|
763
763
|
appReferences?: bigint[] | undefined;
|
|
764
764
|
assetReferences?: bigint[] | undefined;
|
|
765
|
-
boxReferences?: (
|
|
765
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
766
766
|
accessReferences?: AccessReference[] | undefined;
|
|
767
767
|
rejectVersion?: number | undefined;
|
|
768
768
|
approvalProgram: string | Uint8Array;
|
|
@@ -816,44 +816,44 @@ declare class AlgorandClientTransactionCreator {
|
|
|
816
816
|
* @returns The application ABI method delete transaction
|
|
817
817
|
*/
|
|
818
818
|
appDeleteMethodCall: (params: {
|
|
819
|
-
|
|
820
|
-
note?: string | Uint8Array | undefined;
|
|
821
|
-
maxFee?: AlgoAmount | undefined;
|
|
819
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
822
820
|
sender: SendingAddress;
|
|
823
|
-
lease?: string | Uint8Array | undefined;
|
|
824
821
|
rekeyTo?: ReadableAddress | undefined;
|
|
825
|
-
|
|
826
|
-
|
|
822
|
+
note?: string | Uint8Array | undefined;
|
|
823
|
+
lease?: string | Uint8Array | undefined;
|
|
827
824
|
staticFee?: AlgoAmount | undefined;
|
|
828
825
|
extraFee?: AlgoAmount | undefined;
|
|
826
|
+
maxFee?: AlgoAmount | undefined;
|
|
829
827
|
validityWindow?: number | bigint | undefined;
|
|
830
828
|
firstValidRound?: bigint | undefined;
|
|
831
829
|
lastValidRound?: bigint | undefined;
|
|
830
|
+
appId: bigint;
|
|
831
|
+
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
832
832
|
accountReferences?: ReadableAddress[] | undefined;
|
|
833
833
|
appReferences?: bigint[] | undefined;
|
|
834
834
|
assetReferences?: bigint[] | undefined;
|
|
835
|
-
boxReferences?: (
|
|
835
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
836
836
|
accessReferences?: AccessReference[] | undefined;
|
|
837
837
|
rejectVersion?: number | undefined;
|
|
838
838
|
method: ABIMethod;
|
|
839
|
-
args?: (
|
|
840
|
-
|
|
841
|
-
note?: string | Uint8Array | undefined;
|
|
842
|
-
maxFee?: AlgoAmount | undefined;
|
|
839
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
|
|
840
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
843
841
|
sender: SendingAddress;
|
|
844
|
-
lease?: string | Uint8Array | undefined;
|
|
845
842
|
rekeyTo?: ReadableAddress | undefined;
|
|
846
|
-
|
|
847
|
-
|
|
843
|
+
note?: string | Uint8Array | undefined;
|
|
844
|
+
lease?: string | Uint8Array | undefined;
|
|
848
845
|
staticFee?: AlgoAmount | undefined;
|
|
849
846
|
extraFee?: AlgoAmount | undefined;
|
|
847
|
+
maxFee?: AlgoAmount | undefined;
|
|
850
848
|
validityWindow?: number | bigint | undefined;
|
|
851
849
|
firstValidRound?: bigint | undefined;
|
|
852
850
|
lastValidRound?: bigint | undefined;
|
|
851
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
852
|
+
args?: Uint8Array[] | undefined;
|
|
853
853
|
accountReferences?: ReadableAddress[] | undefined;
|
|
854
854
|
appReferences?: bigint[] | undefined;
|
|
855
855
|
assetReferences?: bigint[] | undefined;
|
|
856
|
-
boxReferences?: (
|
|
856
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
857
857
|
accessReferences?: AccessReference[] | undefined;
|
|
858
858
|
rejectVersion?: number | undefined;
|
|
859
859
|
approvalProgram: string | Uint8Array;
|
|
@@ -883,7 +883,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
883
883
|
accountReferences?: ReadableAddress[] | undefined;
|
|
884
884
|
appReferences?: bigint[] | undefined;
|
|
885
885
|
assetReferences?: bigint[] | undefined;
|
|
886
|
-
boxReferences?: (
|
|
886
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
887
887
|
accessReferences?: AccessReference[] | undefined;
|
|
888
888
|
rejectVersion?: number | undefined;
|
|
889
889
|
approvalProgram: string | Uint8Array;
|
|
@@ -937,44 +937,44 @@ declare class AlgorandClientTransactionCreator {
|
|
|
937
937
|
* @returns The application ABI method call transaction
|
|
938
938
|
*/
|
|
939
939
|
appCallMethodCall: (params: {
|
|
940
|
-
|
|
941
|
-
note?: string | Uint8Array | undefined;
|
|
942
|
-
maxFee?: AlgoAmount | undefined;
|
|
940
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
943
941
|
sender: SendingAddress;
|
|
944
|
-
lease?: string | Uint8Array | undefined;
|
|
945
942
|
rekeyTo?: ReadableAddress | undefined;
|
|
946
|
-
|
|
947
|
-
|
|
943
|
+
note?: string | Uint8Array | undefined;
|
|
944
|
+
lease?: string | Uint8Array | undefined;
|
|
948
945
|
staticFee?: AlgoAmount | undefined;
|
|
949
946
|
extraFee?: AlgoAmount | undefined;
|
|
947
|
+
maxFee?: AlgoAmount | undefined;
|
|
950
948
|
validityWindow?: number | bigint | undefined;
|
|
951
949
|
firstValidRound?: bigint | undefined;
|
|
952
950
|
lastValidRound?: bigint | undefined;
|
|
951
|
+
appId: bigint;
|
|
952
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
953
953
|
accountReferences?: ReadableAddress[] | undefined;
|
|
954
954
|
appReferences?: bigint[] | undefined;
|
|
955
955
|
assetReferences?: bigint[] | undefined;
|
|
956
|
-
boxReferences?: (
|
|
956
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
957
957
|
accessReferences?: AccessReference[] | undefined;
|
|
958
958
|
rejectVersion?: number | undefined;
|
|
959
959
|
method: ABIMethod;
|
|
960
|
-
args?: (
|
|
961
|
-
|
|
962
|
-
note?: string | Uint8Array | undefined;
|
|
963
|
-
maxFee?: AlgoAmount | undefined;
|
|
960
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
|
|
961
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
964
962
|
sender: SendingAddress;
|
|
965
|
-
lease?: string | Uint8Array | undefined;
|
|
966
963
|
rekeyTo?: ReadableAddress | undefined;
|
|
967
|
-
|
|
968
|
-
|
|
964
|
+
note?: string | Uint8Array | undefined;
|
|
965
|
+
lease?: string | Uint8Array | undefined;
|
|
969
966
|
staticFee?: AlgoAmount | undefined;
|
|
970
967
|
extraFee?: AlgoAmount | undefined;
|
|
968
|
+
maxFee?: AlgoAmount | undefined;
|
|
971
969
|
validityWindow?: number | bigint | undefined;
|
|
972
970
|
firstValidRound?: bigint | undefined;
|
|
973
971
|
lastValidRound?: bigint | undefined;
|
|
972
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
973
|
+
args?: Uint8Array[] | undefined;
|
|
974
974
|
accountReferences?: ReadableAddress[] | undefined;
|
|
975
975
|
appReferences?: bigint[] | undefined;
|
|
976
976
|
assetReferences?: bigint[] | undefined;
|
|
977
|
-
boxReferences?: (
|
|
977
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
978
978
|
accessReferences?: AccessReference[] | undefined;
|
|
979
979
|
rejectVersion?: number | undefined;
|
|
980
980
|
approvalProgram: string | Uint8Array;
|
|
@@ -1004,7 +1004,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1004
1004
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1005
1005
|
appReferences?: bigint[] | undefined;
|
|
1006
1006
|
assetReferences?: bigint[] | undefined;
|
|
1007
|
-
boxReferences?: (
|
|
1007
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1008
1008
|
accessReferences?: AccessReference[] | undefined;
|
|
1009
1009
|
rejectVersion?: number | undefined;
|
|
1010
1010
|
approvalProgram: string | Uint8Array;
|