@algorandfoundation/algokit-utils 10.0.0-alpha.26 → 10.0.0-alpha.27
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/package.json +1 -1
- package/packages/transact/src/logicsig.js +1 -0
- package/packages/transact/src/logicsig.js.map +1 -1
- package/packages/transact/src/logicsig.mjs +2 -1
- package/packages/transact/src/logicsig.mjs.map +1 -1
- package/packages/transact/src/multisig.js +4 -1
- package/packages/transact/src/multisig.js.map +1 -1
- package/packages/transact/src/multisig.mjs +5 -2
- package/packages/transact/src/multisig.mjs.map +1 -1
- package/packages/transact/src/signer.js +5 -1
- package/packages/transact/src/signer.js.map +1 -1
- package/packages/transact/src/signer.mjs +6 -2
- package/packages/transact/src/signer.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +26 -26
- package/types/algorand-client-transaction-sender.d.ts +26 -26
- package/types/app-client.d.ts +50 -50
- package/types/app-factory.d.ts +22 -22
- package/types/composer.d.ts +2 -2
- package/types/composer.js +9 -19
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +10 -20
- package/types/composer.mjs.map +1 -1
|
@@ -348,8 +348,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
348
348
|
* @returns The application create transaction
|
|
349
349
|
*/
|
|
350
350
|
appCreate: (params: {
|
|
351
|
-
|
|
351
|
+
args?: Uint8Array[] | undefined;
|
|
352
352
|
sender: SendingAddress;
|
|
353
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
353
354
|
rekeyTo?: ReadableAddress | undefined;
|
|
354
355
|
note?: string | Uint8Array | undefined;
|
|
355
356
|
lease?: string | Uint8Array | undefined;
|
|
@@ -360,7 +361,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
360
361
|
firstValidRound?: bigint | undefined;
|
|
361
362
|
lastValidRound?: bigint | undefined;
|
|
362
363
|
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;
|
|
@@ -568,8 +568,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
568
568
|
* @returns The application ABI method create transaction
|
|
569
569
|
*/
|
|
570
570
|
appCreateMethodCall: (params: {
|
|
571
|
-
|
|
571
|
+
appId?: 0 | undefined;
|
|
572
572
|
sender: SendingAddress;
|
|
573
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
573
574
|
rekeyTo?: ReadableAddress | undefined;
|
|
574
575
|
note?: string | Uint8Array | undefined;
|
|
575
576
|
lease?: string | Uint8Array | undefined;
|
|
@@ -579,7 +580,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
579
580
|
validityWindow?: number | bigint | undefined;
|
|
580
581
|
firstValidRound?: bigint | undefined;
|
|
581
582
|
lastValidRound?: bigint | undefined;
|
|
582
|
-
appId?: 0 | undefined;
|
|
583
583
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
584
584
|
accountReferences?: ReadableAddress[] | undefined;
|
|
585
585
|
appReferences?: bigint[] | undefined;
|
|
@@ -597,9 +597,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
597
597
|
} | undefined;
|
|
598
598
|
extraProgramPages?: number | undefined;
|
|
599
599
|
method: ABIMethod;
|
|
600
|
-
args?: (Transaction |
|
|
601
|
-
|
|
600
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
601
|
+
args?: Uint8Array[] | undefined;
|
|
602
602
|
sender: SendingAddress;
|
|
603
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
603
604
|
rekeyTo?: ReadableAddress | undefined;
|
|
604
605
|
note?: string | Uint8Array | undefined;
|
|
605
606
|
lease?: string | Uint8Array | undefined;
|
|
@@ -610,7 +611,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
610
611
|
firstValidRound?: bigint | undefined;
|
|
611
612
|
lastValidRound?: bigint | undefined;
|
|
612
613
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
613
|
-
args?: Uint8Array[] | undefined;
|
|
614
614
|
accountReferences?: ReadableAddress[] | undefined;
|
|
615
615
|
appReferences?: bigint[] | undefined;
|
|
616
616
|
assetReferences?: bigint[] | undefined;
|
|
@@ -650,7 +650,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
650
650
|
rejectVersion?: number | undefined;
|
|
651
651
|
approvalProgram: string | Uint8Array;
|
|
652
652
|
clearStateProgram: string | Uint8Array;
|
|
653
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
653
|
+
}> | AppMethodCall<AppMethodCallParams> | 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,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
702
702
|
* @returns The application ABI method update transaction
|
|
703
703
|
*/
|
|
704
704
|
appUpdateMethodCall: (params: {
|
|
705
|
-
|
|
705
|
+
appId: bigint;
|
|
706
706
|
sender: SendingAddress;
|
|
707
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
707
708
|
rekeyTo?: ReadableAddress | undefined;
|
|
708
709
|
note?: string | Uint8Array | undefined;
|
|
709
710
|
lease?: string | Uint8Array | undefined;
|
|
@@ -713,7 +714,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
713
714
|
validityWindow?: number | bigint | undefined;
|
|
714
715
|
firstValidRound?: bigint | undefined;
|
|
715
716
|
lastValidRound?: bigint | undefined;
|
|
716
|
-
appId: bigint;
|
|
717
717
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
718
718
|
accountReferences?: ReadableAddress[] | undefined;
|
|
719
719
|
appReferences?: bigint[] | undefined;
|
|
@@ -724,9 +724,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
724
724
|
approvalProgram: string | Uint8Array;
|
|
725
725
|
clearStateProgram: string | Uint8Array;
|
|
726
726
|
method: ABIMethod;
|
|
727
|
-
args?: (Transaction |
|
|
728
|
-
|
|
727
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
728
|
+
args?: Uint8Array[] | undefined;
|
|
729
729
|
sender: SendingAddress;
|
|
730
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
730
731
|
rekeyTo?: ReadableAddress | undefined;
|
|
731
732
|
note?: string | Uint8Array | undefined;
|
|
732
733
|
lease?: string | Uint8Array | undefined;
|
|
@@ -737,7 +738,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
737
738
|
firstValidRound?: bigint | undefined;
|
|
738
739
|
lastValidRound?: bigint | undefined;
|
|
739
740
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
740
|
-
args?: Uint8Array[] | undefined;
|
|
741
741
|
accountReferences?: ReadableAddress[] | undefined;
|
|
742
742
|
appReferences?: bigint[] | undefined;
|
|
743
743
|
assetReferences?: bigint[] | undefined;
|
|
@@ -777,7 +777,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
777
777
|
rejectVersion?: number | undefined;
|
|
778
778
|
approvalProgram: string | Uint8Array;
|
|
779
779
|
clearStateProgram: string | Uint8Array;
|
|
780
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
780
|
+
}> | AppMethodCall<AppMethodCallParams> | 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,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
827
827
|
* @returns The application ABI method delete transaction
|
|
828
828
|
*/
|
|
829
829
|
appDeleteMethodCall: (params: {
|
|
830
|
-
|
|
830
|
+
appId: bigint;
|
|
831
831
|
sender: SendingAddress;
|
|
832
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
832
833
|
rekeyTo?: ReadableAddress | undefined;
|
|
833
834
|
note?: string | Uint8Array | undefined;
|
|
834
835
|
lease?: string | Uint8Array | undefined;
|
|
@@ -838,7 +839,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
838
839
|
validityWindow?: number | bigint | undefined;
|
|
839
840
|
firstValidRound?: bigint | undefined;
|
|
840
841
|
lastValidRound?: bigint | undefined;
|
|
841
|
-
appId: bigint;
|
|
842
842
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
843
843
|
accountReferences?: ReadableAddress[] | undefined;
|
|
844
844
|
appReferences?: bigint[] | undefined;
|
|
@@ -847,9 +847,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
847
847
|
accessReferences?: ResourceReference[] | undefined;
|
|
848
848
|
rejectVersion?: number | undefined;
|
|
849
849
|
method: ABIMethod;
|
|
850
|
-
args?: (Transaction |
|
|
851
|
-
|
|
850
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
851
|
+
args?: Uint8Array[] | undefined;
|
|
852
852
|
sender: SendingAddress;
|
|
853
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
853
854
|
rekeyTo?: ReadableAddress | undefined;
|
|
854
855
|
note?: string | Uint8Array | undefined;
|
|
855
856
|
lease?: string | Uint8Array | undefined;
|
|
@@ -860,7 +861,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
860
861
|
firstValidRound?: bigint | undefined;
|
|
861
862
|
lastValidRound?: bigint | undefined;
|
|
862
863
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
863
|
-
args?: Uint8Array[] | undefined;
|
|
864
864
|
accountReferences?: ReadableAddress[] | undefined;
|
|
865
865
|
appReferences?: bigint[] | undefined;
|
|
866
866
|
assetReferences?: bigint[] | undefined;
|
|
@@ -900,7 +900,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
900
900
|
rejectVersion?: number | undefined;
|
|
901
901
|
approvalProgram: string | Uint8Array;
|
|
902
902
|
clearStateProgram: string | Uint8Array;
|
|
903
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
903
|
+
}> | AppMethodCall<AppMethodCallParams> | 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,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
950
950
|
* @returns The application ABI method call transaction
|
|
951
951
|
*/
|
|
952
952
|
appCallMethodCall: (params: {
|
|
953
|
-
|
|
953
|
+
appId: bigint;
|
|
954
954
|
sender: SendingAddress;
|
|
955
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
955
956
|
rekeyTo?: ReadableAddress | undefined;
|
|
956
957
|
note?: string | Uint8Array | undefined;
|
|
957
958
|
lease?: string | Uint8Array | undefined;
|
|
@@ -961,7 +962,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
961
962
|
validityWindow?: number | bigint | undefined;
|
|
962
963
|
firstValidRound?: bigint | undefined;
|
|
963
964
|
lastValidRound?: bigint | undefined;
|
|
964
|
-
appId: bigint;
|
|
965
965
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
966
966
|
accountReferences?: ReadableAddress[] | undefined;
|
|
967
967
|
appReferences?: bigint[] | undefined;
|
|
@@ -970,9 +970,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
970
970
|
accessReferences?: ResourceReference[] | undefined;
|
|
971
971
|
rejectVersion?: number | undefined;
|
|
972
972
|
method: ABIMethod;
|
|
973
|
-
args?: (Transaction |
|
|
974
|
-
|
|
973
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
974
|
+
args?: Uint8Array[] | undefined;
|
|
975
975
|
sender: SendingAddress;
|
|
976
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
976
977
|
rekeyTo?: ReadableAddress | undefined;
|
|
977
978
|
note?: string | Uint8Array | undefined;
|
|
978
979
|
lease?: string | Uint8Array | undefined;
|
|
@@ -983,7 +984,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
983
984
|
firstValidRound?: bigint | undefined;
|
|
984
985
|
lastValidRound?: bigint | undefined;
|
|
985
986
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
986
|
-
args?: Uint8Array[] | undefined;
|
|
987
987
|
accountReferences?: ReadableAddress[] | undefined;
|
|
988
988
|
appReferences?: bigint[] | undefined;
|
|
989
989
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1023,7 +1023,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1023
1023
|
rejectVersion?: number | undefined;
|
|
1024
1024
|
approvalProgram: string | Uint8Array;
|
|
1025
1025
|
clearStateProgram: string | Uint8Array;
|
|
1026
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1026
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1027
1027
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Create an online key registration transaction.
|
|
@@ -479,8 +479,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
479
479
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
480
480
|
*/
|
|
481
481
|
appCreate: (params: {
|
|
482
|
-
|
|
482
|
+
args?: Uint8Array[] | undefined;
|
|
483
483
|
sender: SendingAddress;
|
|
484
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
484
485
|
rekeyTo?: ReadableAddress | undefined;
|
|
485
486
|
note?: string | Uint8Array | undefined;
|
|
486
487
|
lease?: string | Uint8Array | undefined;
|
|
@@ -491,7 +492,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
491
492
|
firstValidRound?: bigint | undefined;
|
|
492
493
|
lastValidRound?: bigint | undefined;
|
|
493
494
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
|
-
args?: Uint8Array[] | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
@@ -752,8 +752,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
752
752
|
* @returns The result of the application ABI method create transaction and the transaction that was sent
|
|
753
753
|
*/
|
|
754
754
|
appCreateMethodCall: (params: {
|
|
755
|
-
|
|
755
|
+
appId?: 0 | undefined;
|
|
756
756
|
sender: SendingAddress;
|
|
757
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
757
758
|
rekeyTo?: ReadableAddress | undefined;
|
|
758
759
|
note?: string | Uint8Array | undefined;
|
|
759
760
|
lease?: string | Uint8Array | undefined;
|
|
@@ -763,7 +764,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
763
764
|
validityWindow?: number | bigint | undefined;
|
|
764
765
|
firstValidRound?: bigint | undefined;
|
|
765
766
|
lastValidRound?: bigint | undefined;
|
|
766
|
-
appId?: 0 | undefined;
|
|
767
767
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
768
768
|
accountReferences?: ReadableAddress[] | undefined;
|
|
769
769
|
appReferences?: bigint[] | undefined;
|
|
@@ -781,9 +781,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
781
781
|
} | undefined;
|
|
782
782
|
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (Transaction |
|
|
785
|
-
|
|
784
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
785
|
+
args?: Uint8Array[] | undefined;
|
|
786
786
|
sender: SendingAddress;
|
|
787
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
787
788
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
789
|
note?: string | Uint8Array | undefined;
|
|
789
790
|
lease?: string | Uint8Array | undefined;
|
|
@@ -794,7 +795,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
794
795
|
firstValidRound?: bigint | undefined;
|
|
795
796
|
lastValidRound?: bigint | undefined;
|
|
796
797
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
797
|
-
args?: Uint8Array[] | undefined;
|
|
798
798
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
799
|
appReferences?: bigint[] | undefined;
|
|
800
800
|
assetReferences?: bigint[] | undefined;
|
|
@@ -834,7 +834,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
834
834
|
rejectVersion?: number | undefined;
|
|
835
835
|
approvalProgram: string | Uint8Array;
|
|
836
836
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
837
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -893,8 +893,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
893
893
|
* @returns The result of the application ABI method update transaction and the transaction that was sent
|
|
894
894
|
*/
|
|
895
895
|
appUpdateMethodCall: (params: {
|
|
896
|
-
|
|
896
|
+
appId: bigint;
|
|
897
897
|
sender: SendingAddress;
|
|
898
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
898
899
|
rekeyTo?: ReadableAddress | undefined;
|
|
899
900
|
note?: string | Uint8Array | undefined;
|
|
900
901
|
lease?: string | Uint8Array | undefined;
|
|
@@ -904,7 +905,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
904
905
|
validityWindow?: number | bigint | undefined;
|
|
905
906
|
firstValidRound?: bigint | undefined;
|
|
906
907
|
lastValidRound?: bigint | undefined;
|
|
907
|
-
appId: bigint;
|
|
908
908
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
909
909
|
accountReferences?: ReadableAddress[] | undefined;
|
|
910
910
|
appReferences?: bigint[] | undefined;
|
|
@@ -915,9 +915,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
915
915
|
approvalProgram: string | Uint8Array;
|
|
916
916
|
clearStateProgram: string | Uint8Array;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (Transaction |
|
|
919
|
-
|
|
918
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
919
|
+
args?: Uint8Array[] | undefined;
|
|
920
920
|
sender: SendingAddress;
|
|
921
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
921
922
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
923
|
note?: string | Uint8Array | undefined;
|
|
923
924
|
lease?: string | Uint8Array | undefined;
|
|
@@ -928,7 +929,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
928
929
|
firstValidRound?: bigint | undefined;
|
|
929
930
|
lastValidRound?: bigint | undefined;
|
|
930
931
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
931
|
-
args?: Uint8Array[] | undefined;
|
|
932
932
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
933
|
appReferences?: bigint[] | undefined;
|
|
934
934
|
assetReferences?: bigint[] | undefined;
|
|
@@ -968,7 +968,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
968
968
|
rejectVersion?: number | undefined;
|
|
969
969
|
approvalProgram: string | Uint8Array;
|
|
970
970
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
971
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1025,8 +1025,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1025
1025
|
* @returns The result of the application ABI method delete transaction and the transaction that was sent
|
|
1026
1026
|
*/
|
|
1027
1027
|
appDeleteMethodCall: (params: {
|
|
1028
|
-
|
|
1028
|
+
appId: bigint;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1030
1031
|
rekeyTo?: ReadableAddress | undefined;
|
|
1031
1032
|
note?: string | Uint8Array | undefined;
|
|
1032
1033
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1036,7 +1037,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1036
1037
|
validityWindow?: number | bigint | undefined;
|
|
1037
1038
|
firstValidRound?: bigint | undefined;
|
|
1038
1039
|
lastValidRound?: bigint | undefined;
|
|
1039
|
-
appId: bigint;
|
|
1040
1040
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
1041
1041
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1042
1042
|
appReferences?: bigint[] | undefined;
|
|
@@ -1045,9 +1045,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (Transaction |
|
|
1049
|
-
|
|
1048
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1049
|
+
args?: Uint8Array[] | undefined;
|
|
1050
1050
|
sender: SendingAddress;
|
|
1051
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1051
1052
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1053
|
note?: string | Uint8Array | undefined;
|
|
1053
1054
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1058,7 +1059,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1058
1059
|
firstValidRound?: bigint | undefined;
|
|
1059
1060
|
lastValidRound?: bigint | undefined;
|
|
1060
1061
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1061
|
-
args?: Uint8Array[] | undefined;
|
|
1062
1062
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1063
|
appReferences?: bigint[] | undefined;
|
|
1064
1064
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1098,7 +1098,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1098
1098
|
rejectVersion?: number | undefined;
|
|
1099
1099
|
approvalProgram: string | Uint8Array;
|
|
1100
1100
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1101
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1155,8 +1155,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1155
1155
|
* @returns The result of the application ABI method call transaction and the transaction that was sent
|
|
1156
1156
|
*/
|
|
1157
1157
|
appCallMethodCall: (params: {
|
|
1158
|
-
|
|
1158
|
+
appId: bigint;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1160
1161
|
rekeyTo?: ReadableAddress | undefined;
|
|
1161
1162
|
note?: string | Uint8Array | undefined;
|
|
1162
1163
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1166,7 +1167,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1166
1167
|
validityWindow?: number | bigint | undefined;
|
|
1167
1168
|
firstValidRound?: bigint | undefined;
|
|
1168
1169
|
lastValidRound?: bigint | undefined;
|
|
1169
|
-
appId: bigint;
|
|
1170
1170
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1171
1171
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
@@ -1175,9 +1175,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (Transaction |
|
|
1179
|
-
|
|
1178
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1179
|
+
args?: Uint8Array[] | undefined;
|
|
1180
1180
|
sender: SendingAddress;
|
|
1181
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1181
1182
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1183
|
note?: string | Uint8Array | undefined;
|
|
1183
1184
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1188,7 +1189,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
1188
1189
|
firstValidRound?: bigint | undefined;
|
|
1189
1190
|
lastValidRound?: bigint | undefined;
|
|
1190
1191
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1191
|
-
args?: Uint8Array[] | undefined;
|
|
1192
1192
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1193
|
appReferences?: bigint[] | undefined;
|
|
1194
1194
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1228,7 +1228,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1228
1228
|
rejectVersion?: number | undefined;
|
|
1229
1229
|
approvalProgram: string | Uint8Array;
|
|
1230
1230
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1231
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|