@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.16
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/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +121 -121
- package/types/algorand-client-transaction-sender.d.ts +123 -123
- package/types/app-client.d.ts +311 -311
- package/types/app-factory.d.ts +126 -126
|
@@ -479,23 +479,23 @@ 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
|
-
|
|
483
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
|
+
maxFee?: AlgoAmount | undefined;
|
|
484
483
|
sender: SendingAddress;
|
|
484
|
+
lease?: string | Uint8Array | undefined;
|
|
485
485
|
rekeyTo?: ReadableAddress | undefined;
|
|
486
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
487
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
486
488
|
note?: string | Uint8Array | undefined;
|
|
487
|
-
lease?: string | Uint8Array | undefined;
|
|
488
489
|
staticFee?: AlgoAmount | undefined;
|
|
489
490
|
extraFee?: AlgoAmount | undefined;
|
|
490
|
-
maxFee?: AlgoAmount | undefined;
|
|
491
491
|
validityWindow?: number | bigint | undefined;
|
|
492
492
|
firstValidRound?: bigint | undefined;
|
|
493
493
|
lastValidRound?: bigint | undefined;
|
|
494
|
-
|
|
494
|
+
args?: Uint8Array[] | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
498
|
-
boxReferences?: (
|
|
498
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
499
499
|
accessReferences?: ResourceReference[] | undefined;
|
|
500
500
|
rejectVersion?: number | undefined;
|
|
501
501
|
appId?: 0 | undefined;
|
|
@@ -571,7 +571,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
571
571
|
accountReferences?: ReadableAddress[] | undefined;
|
|
572
572
|
appReferences?: bigint[] | undefined;
|
|
573
573
|
assetReferences?: bigint[] | undefined;
|
|
574
|
-
boxReferences?: (
|
|
574
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
575
575
|
accessReferences?: ResourceReference[] | undefined;
|
|
576
576
|
rejectVersion?: number | undefined;
|
|
577
577
|
approvalProgram: string | Uint8Array;
|
|
@@ -626,7 +626,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
626
626
|
accountReferences?: ReadableAddress[] | undefined;
|
|
627
627
|
appReferences?: bigint[] | undefined;
|
|
628
628
|
assetReferences?: bigint[] | undefined;
|
|
629
|
-
boxReferences?: (
|
|
629
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
630
630
|
accessReferences?: ResourceReference[] | undefined;
|
|
631
631
|
rejectVersion?: number | undefined;
|
|
632
632
|
} & {
|
|
@@ -681,7 +681,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
681
681
|
accountReferences?: ReadableAddress[] | undefined;
|
|
682
682
|
appReferences?: bigint[] | undefined;
|
|
683
683
|
assetReferences?: bigint[] | undefined;
|
|
684
|
-
boxReferences?: (
|
|
684
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
685
685
|
accessReferences?: ResourceReference[] | undefined;
|
|
686
686
|
rejectVersion?: number | undefined;
|
|
687
687
|
} & {
|
|
@@ -752,62 +752,68 @@ 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
|
+
maxFee?: AlgoAmount | undefined;
|
|
756
|
+
schema?: {
|
|
757
|
+
globalInts: number;
|
|
758
|
+
globalByteSlices: number;
|
|
759
|
+
localInts: number;
|
|
760
|
+
localByteSlices: number;
|
|
761
|
+
} | undefined;
|
|
756
762
|
sender: SendingAddress;
|
|
763
|
+
lease?: string | Uint8Array | undefined;
|
|
757
764
|
rekeyTo?: ReadableAddress | undefined;
|
|
765
|
+
approvalProgram: string | Uint8Array;
|
|
766
|
+
clearStateProgram: string | Uint8Array;
|
|
767
|
+
appId?: 0 | undefined;
|
|
768
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
769
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
758
770
|
note?: string | Uint8Array | undefined;
|
|
759
|
-
lease?: string | Uint8Array | undefined;
|
|
760
771
|
staticFee?: AlgoAmount | undefined;
|
|
761
772
|
extraFee?: AlgoAmount | undefined;
|
|
762
|
-
maxFee?: AlgoAmount | undefined;
|
|
763
773
|
validityWindow?: number | bigint | undefined;
|
|
764
774
|
firstValidRound?: bigint | undefined;
|
|
765
775
|
lastValidRound?: bigint | undefined;
|
|
766
|
-
appId?: 0 | undefined;
|
|
767
|
-
approvalProgram: string | Uint8Array;
|
|
768
|
-
clearStateProgram: string | Uint8Array;
|
|
769
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
770
776
|
accountReferences?: ReadableAddress[] | undefined;
|
|
771
777
|
appReferences?: bigint[] | undefined;
|
|
772
778
|
assetReferences?: bigint[] | undefined;
|
|
773
|
-
boxReferences?: (
|
|
779
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
774
780
|
accessReferences?: ResourceReference[] | undefined;
|
|
775
781
|
rejectVersion?: number | undefined;
|
|
776
|
-
schema?: {
|
|
777
|
-
globalInts: number;
|
|
778
|
-
globalByteSlices: number;
|
|
779
|
-
localInts: number;
|
|
780
|
-
localByteSlices: number;
|
|
781
|
-
} | undefined;
|
|
782
782
|
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (ABIValue | Transaction |
|
|
784
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
785
|
+
maxFee?: AlgoAmount | undefined;
|
|
785
786
|
sender: SendingAddress;
|
|
786
|
-
|
|
787
|
+
lease?: string | Uint8Array | undefined;
|
|
787
788
|
rekeyTo?: ReadableAddress | undefined;
|
|
789
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
790
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
788
791
|
note?: string | Uint8Array | undefined;
|
|
789
|
-
lease?: string | Uint8Array | undefined;
|
|
790
792
|
staticFee?: AlgoAmount | undefined;
|
|
791
793
|
extraFee?: AlgoAmount | undefined;
|
|
792
|
-
maxFee?: AlgoAmount | undefined;
|
|
793
794
|
validityWindow?: number | bigint | undefined;
|
|
794
795
|
firstValidRound?: bigint | undefined;
|
|
795
796
|
lastValidRound?: bigint | undefined;
|
|
796
|
-
appId: bigint;
|
|
797
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
798
797
|
args?: Uint8Array[] | undefined;
|
|
799
798
|
accountReferences?: ReadableAddress[] | undefined;
|
|
800
799
|
appReferences?: bigint[] | undefined;
|
|
801
800
|
assetReferences?: bigint[] | undefined;
|
|
802
|
-
boxReferences?: (
|
|
801
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
803
802
|
accessReferences?: ResourceReference[] | undefined;
|
|
804
803
|
rejectVersion?: number | undefined;
|
|
804
|
+
appId?: 0 | undefined;
|
|
805
805
|
approvalProgram: string | Uint8Array;
|
|
806
806
|
clearStateProgram: string | Uint8Array;
|
|
807
|
+
schema?: {
|
|
808
|
+
globalInts: number;
|
|
809
|
+
globalByteSlices: number;
|
|
810
|
+
localInts: number;
|
|
811
|
+
localByteSlices: number;
|
|
812
|
+
} | undefined;
|
|
813
|
+
extraProgramPages?: number | undefined;
|
|
807
814
|
}> | AppMethodCall<{
|
|
808
|
-
args?: Uint8Array[] | undefined;
|
|
809
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
810
815
|
sender: SendingAddress;
|
|
816
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
811
817
|
rekeyTo?: ReadableAddress | undefined;
|
|
812
818
|
note?: string | Uint8Array | undefined;
|
|
813
819
|
lease?: string | Uint8Array | undefined;
|
|
@@ -817,24 +823,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
817
823
|
validityWindow?: number | bigint | undefined;
|
|
818
824
|
firstValidRound?: bigint | undefined;
|
|
819
825
|
lastValidRound?: bigint | undefined;
|
|
820
|
-
|
|
826
|
+
appId: bigint;
|
|
827
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
|
+
args?: Uint8Array[] | undefined;
|
|
821
829
|
accountReferences?: ReadableAddress[] | undefined;
|
|
822
830
|
appReferences?: bigint[] | undefined;
|
|
823
831
|
assetReferences?: bigint[] | undefined;
|
|
824
|
-
boxReferences?: (
|
|
832
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
825
833
|
accessReferences?: ResourceReference[] | undefined;
|
|
826
834
|
rejectVersion?: number | undefined;
|
|
827
|
-
appId?: 0 | undefined;
|
|
828
835
|
approvalProgram: string | Uint8Array;
|
|
829
836
|
clearStateProgram: string | Uint8Array;
|
|
830
|
-
|
|
831
|
-
globalInts: number;
|
|
832
|
-
globalByteSlices: number;
|
|
833
|
-
localInts: number;
|
|
834
|
-
localByteSlices: number;
|
|
835
|
-
} | undefined;
|
|
836
|
-
extraProgramPages?: number | undefined;
|
|
837
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
837
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -893,55 +893,61 @@ 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
|
+
maxFee?: AlgoAmount | undefined;
|
|
897
897
|
sender: SendingAddress;
|
|
898
|
+
lease?: string | Uint8Array | undefined;
|
|
898
899
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
|
+
approvalProgram: string | Uint8Array;
|
|
901
|
+
clearStateProgram: string | Uint8Array;
|
|
902
|
+
appId: bigint;
|
|
903
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
904
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
899
905
|
note?: string | Uint8Array | undefined;
|
|
900
|
-
lease?: string | Uint8Array | undefined;
|
|
901
906
|
staticFee?: AlgoAmount | undefined;
|
|
902
907
|
extraFee?: AlgoAmount | undefined;
|
|
903
|
-
maxFee?: AlgoAmount | undefined;
|
|
904
908
|
validityWindow?: number | bigint | undefined;
|
|
905
909
|
firstValidRound?: bigint | undefined;
|
|
906
910
|
lastValidRound?: bigint | undefined;
|
|
907
|
-
appId: bigint;
|
|
908
|
-
approvalProgram: string | Uint8Array;
|
|
909
|
-
clearStateProgram: string | Uint8Array;
|
|
910
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
911
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
912
|
appReferences?: bigint[] | undefined;
|
|
913
913
|
assetReferences?: bigint[] | undefined;
|
|
914
|
-
boxReferences?: (
|
|
914
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
915
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
916
|
rejectVersion?: number | undefined;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (ABIValue | Transaction |
|
|
918
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
919
|
+
maxFee?: AlgoAmount | undefined;
|
|
919
920
|
sender: SendingAddress;
|
|
920
|
-
|
|
921
|
+
lease?: string | Uint8Array | undefined;
|
|
921
922
|
rekeyTo?: ReadableAddress | undefined;
|
|
923
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
924
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
922
925
|
note?: string | Uint8Array | undefined;
|
|
923
|
-
lease?: string | Uint8Array | undefined;
|
|
924
926
|
staticFee?: AlgoAmount | undefined;
|
|
925
927
|
extraFee?: AlgoAmount | undefined;
|
|
926
|
-
maxFee?: AlgoAmount | undefined;
|
|
927
928
|
validityWindow?: number | bigint | undefined;
|
|
928
929
|
firstValidRound?: bigint | undefined;
|
|
929
930
|
lastValidRound?: bigint | undefined;
|
|
930
|
-
appId: bigint;
|
|
931
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
932
931
|
args?: Uint8Array[] | undefined;
|
|
933
932
|
accountReferences?: ReadableAddress[] | undefined;
|
|
934
933
|
appReferences?: bigint[] | undefined;
|
|
935
934
|
assetReferences?: bigint[] | undefined;
|
|
936
|
-
boxReferences?: (
|
|
935
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
937
936
|
accessReferences?: ResourceReference[] | undefined;
|
|
938
937
|
rejectVersion?: number | undefined;
|
|
938
|
+
appId?: 0 | undefined;
|
|
939
939
|
approvalProgram: string | Uint8Array;
|
|
940
940
|
clearStateProgram: string | Uint8Array;
|
|
941
|
+
schema?: {
|
|
942
|
+
globalInts: number;
|
|
943
|
+
globalByteSlices: number;
|
|
944
|
+
localInts: number;
|
|
945
|
+
localByteSlices: number;
|
|
946
|
+
} | undefined;
|
|
947
|
+
extraProgramPages?: number | undefined;
|
|
941
948
|
}> | AppMethodCall<{
|
|
942
|
-
args?: Uint8Array[] | undefined;
|
|
943
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
944
949
|
sender: SendingAddress;
|
|
950
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
945
951
|
rekeyTo?: ReadableAddress | undefined;
|
|
946
952
|
note?: string | Uint8Array | undefined;
|
|
947
953
|
lease?: string | Uint8Array | undefined;
|
|
@@ -951,24 +957,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
951
957
|
validityWindow?: number | bigint | undefined;
|
|
952
958
|
firstValidRound?: bigint | undefined;
|
|
953
959
|
lastValidRound?: bigint | undefined;
|
|
954
|
-
|
|
960
|
+
appId: bigint;
|
|
961
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
962
|
+
args?: Uint8Array[] | undefined;
|
|
955
963
|
accountReferences?: ReadableAddress[] | undefined;
|
|
956
964
|
appReferences?: bigint[] | undefined;
|
|
957
965
|
assetReferences?: bigint[] | undefined;
|
|
958
|
-
boxReferences?: (
|
|
966
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
959
967
|
accessReferences?: ResourceReference[] | undefined;
|
|
960
968
|
rejectVersion?: number | undefined;
|
|
961
|
-
appId?: 0 | undefined;
|
|
962
969
|
approvalProgram: string | Uint8Array;
|
|
963
970
|
clearStateProgram: string | Uint8Array;
|
|
964
|
-
|
|
965
|
-
globalInts: number;
|
|
966
|
-
globalByteSlices: number;
|
|
967
|
-
localInts: number;
|
|
968
|
-
localByteSlices: number;
|
|
969
|
-
} | undefined;
|
|
970
|
-
extraProgramPages?: number | undefined;
|
|
971
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
971
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1025,53 +1025,59 @@ 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
|
+
maxFee?: AlgoAmount | undefined;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
+
lease?: string | Uint8Array | undefined;
|
|
1030
1031
|
rekeyTo?: ReadableAddress | undefined;
|
|
1032
|
+
appId: bigint;
|
|
1033
|
+
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
1034
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1031
1035
|
note?: string | Uint8Array | undefined;
|
|
1032
|
-
lease?: string | Uint8Array | undefined;
|
|
1033
1036
|
staticFee?: AlgoAmount | undefined;
|
|
1034
1037
|
extraFee?: AlgoAmount | undefined;
|
|
1035
|
-
maxFee?: AlgoAmount | undefined;
|
|
1036
1038
|
validityWindow?: number | bigint | undefined;
|
|
1037
1039
|
firstValidRound?: bigint | undefined;
|
|
1038
1040
|
lastValidRound?: bigint | undefined;
|
|
1039
|
-
appId: bigint;
|
|
1040
|
-
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
1041
1041
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1042
1042
|
appReferences?: bigint[] | undefined;
|
|
1043
1043
|
assetReferences?: bigint[] | undefined;
|
|
1044
|
-
boxReferences?: (
|
|
1044
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (ABIValue | Transaction |
|
|
1048
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
1049
|
+
maxFee?: AlgoAmount | undefined;
|
|
1049
1050
|
sender: SendingAddress;
|
|
1050
|
-
|
|
1051
|
+
lease?: string | Uint8Array | undefined;
|
|
1051
1052
|
rekeyTo?: ReadableAddress | undefined;
|
|
1053
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1054
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1052
1055
|
note?: string | Uint8Array | undefined;
|
|
1053
|
-
lease?: string | Uint8Array | undefined;
|
|
1054
1056
|
staticFee?: AlgoAmount | undefined;
|
|
1055
1057
|
extraFee?: AlgoAmount | undefined;
|
|
1056
|
-
maxFee?: AlgoAmount | undefined;
|
|
1057
1058
|
validityWindow?: number | bigint | undefined;
|
|
1058
1059
|
firstValidRound?: bigint | undefined;
|
|
1059
1060
|
lastValidRound?: bigint | undefined;
|
|
1060
|
-
appId: bigint;
|
|
1061
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1062
1061
|
args?: Uint8Array[] | undefined;
|
|
1063
1062
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1064
1063
|
appReferences?: bigint[] | undefined;
|
|
1065
1064
|
assetReferences?: bigint[] | undefined;
|
|
1066
|
-
boxReferences?: (
|
|
1065
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1067
1066
|
accessReferences?: ResourceReference[] | undefined;
|
|
1068
1067
|
rejectVersion?: number | undefined;
|
|
1068
|
+
appId?: 0 | undefined;
|
|
1069
1069
|
approvalProgram: string | Uint8Array;
|
|
1070
1070
|
clearStateProgram: string | Uint8Array;
|
|
1071
|
+
schema?: {
|
|
1072
|
+
globalInts: number;
|
|
1073
|
+
globalByteSlices: number;
|
|
1074
|
+
localInts: number;
|
|
1075
|
+
localByteSlices: number;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
extraProgramPages?: number | undefined;
|
|
1071
1078
|
}> | AppMethodCall<{
|
|
1072
|
-
args?: Uint8Array[] | undefined;
|
|
1073
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1074
1079
|
sender: SendingAddress;
|
|
1080
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1075
1081
|
rekeyTo?: ReadableAddress | undefined;
|
|
1076
1082
|
note?: string | Uint8Array | undefined;
|
|
1077
1083
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1081,24 +1087,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
1081
1087
|
validityWindow?: number | bigint | undefined;
|
|
1082
1088
|
firstValidRound?: bigint | undefined;
|
|
1083
1089
|
lastValidRound?: bigint | undefined;
|
|
1084
|
-
|
|
1090
|
+
appId: bigint;
|
|
1091
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1092
|
+
args?: Uint8Array[] | undefined;
|
|
1085
1093
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1086
1094
|
appReferences?: bigint[] | undefined;
|
|
1087
1095
|
assetReferences?: bigint[] | undefined;
|
|
1088
|
-
boxReferences?: (
|
|
1096
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1089
1097
|
accessReferences?: ResourceReference[] | undefined;
|
|
1090
1098
|
rejectVersion?: number | undefined;
|
|
1091
|
-
appId?: 0 | undefined;
|
|
1092
1099
|
approvalProgram: string | Uint8Array;
|
|
1093
1100
|
clearStateProgram: string | Uint8Array;
|
|
1094
|
-
|
|
1095
|
-
globalInts: number;
|
|
1096
|
-
globalByteSlices: number;
|
|
1097
|
-
localInts: number;
|
|
1098
|
-
localByteSlices: number;
|
|
1099
|
-
} | undefined;
|
|
1100
|
-
extraProgramPages?: number | undefined;
|
|
1101
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1101
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1155,53 +1155,59 @@ 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
|
+
maxFee?: AlgoAmount | undefined;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
+
lease?: string | Uint8Array | undefined;
|
|
1160
1161
|
rekeyTo?: ReadableAddress | undefined;
|
|
1162
|
+
appId: bigint;
|
|
1163
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1164
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1161
1165
|
note?: string | Uint8Array | undefined;
|
|
1162
|
-
lease?: string | Uint8Array | undefined;
|
|
1163
1166
|
staticFee?: AlgoAmount | undefined;
|
|
1164
1167
|
extraFee?: AlgoAmount | undefined;
|
|
1165
|
-
maxFee?: AlgoAmount | undefined;
|
|
1166
1168
|
validityWindow?: number | bigint | undefined;
|
|
1167
1169
|
firstValidRound?: bigint | undefined;
|
|
1168
1170
|
lastValidRound?: bigint | undefined;
|
|
1169
|
-
appId: bigint;
|
|
1170
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1171
1171
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
1173
1173
|
assetReferences?: bigint[] | undefined;
|
|
1174
|
-
boxReferences?: (
|
|
1174
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (ABIValue | Transaction |
|
|
1178
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
1179
|
+
maxFee?: AlgoAmount | undefined;
|
|
1179
1180
|
sender: SendingAddress;
|
|
1180
|
-
|
|
1181
|
+
lease?: string | Uint8Array | undefined;
|
|
1181
1182
|
rekeyTo?: ReadableAddress | undefined;
|
|
1183
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1184
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1182
1185
|
note?: string | Uint8Array | undefined;
|
|
1183
|
-
lease?: string | Uint8Array | undefined;
|
|
1184
1186
|
staticFee?: AlgoAmount | undefined;
|
|
1185
1187
|
extraFee?: AlgoAmount | undefined;
|
|
1186
|
-
maxFee?: AlgoAmount | undefined;
|
|
1187
1188
|
validityWindow?: number | bigint | undefined;
|
|
1188
1189
|
firstValidRound?: bigint | undefined;
|
|
1189
1190
|
lastValidRound?: bigint | undefined;
|
|
1190
|
-
appId: bigint;
|
|
1191
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1192
1191
|
args?: Uint8Array[] | undefined;
|
|
1193
1192
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1194
1193
|
appReferences?: bigint[] | undefined;
|
|
1195
1194
|
assetReferences?: bigint[] | undefined;
|
|
1196
|
-
boxReferences?: (
|
|
1195
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1197
1196
|
accessReferences?: ResourceReference[] | undefined;
|
|
1198
1197
|
rejectVersion?: number | undefined;
|
|
1198
|
+
appId?: 0 | undefined;
|
|
1199
1199
|
approvalProgram: string | Uint8Array;
|
|
1200
1200
|
clearStateProgram: string | Uint8Array;
|
|
1201
|
+
schema?: {
|
|
1202
|
+
globalInts: number;
|
|
1203
|
+
globalByteSlices: number;
|
|
1204
|
+
localInts: number;
|
|
1205
|
+
localByteSlices: number;
|
|
1206
|
+
} | undefined;
|
|
1207
|
+
extraProgramPages?: number | undefined;
|
|
1201
1208
|
}> | AppMethodCall<{
|
|
1202
|
-
args?: Uint8Array[] | undefined;
|
|
1203
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1204
1209
|
sender: SendingAddress;
|
|
1210
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1205
1211
|
rekeyTo?: ReadableAddress | undefined;
|
|
1206
1212
|
note?: string | Uint8Array | undefined;
|
|
1207
1213
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1211,24 +1217,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
1211
1217
|
validityWindow?: number | bigint | undefined;
|
|
1212
1218
|
firstValidRound?: bigint | undefined;
|
|
1213
1219
|
lastValidRound?: bigint | undefined;
|
|
1214
|
-
|
|
1220
|
+
appId: bigint;
|
|
1221
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1222
|
+
args?: Uint8Array[] | undefined;
|
|
1215
1223
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1216
1224
|
appReferences?: bigint[] | undefined;
|
|
1217
1225
|
assetReferences?: bigint[] | undefined;
|
|
1218
|
-
boxReferences?: (
|
|
1226
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1219
1227
|
accessReferences?: ResourceReference[] | undefined;
|
|
1220
1228
|
rejectVersion?: number | undefined;
|
|
1221
|
-
appId?: 0 | undefined;
|
|
1222
1229
|
approvalProgram: string | Uint8Array;
|
|
1223
1230
|
clearStateProgram: string | Uint8Array;
|
|
1224
|
-
|
|
1225
|
-
globalInts: number;
|
|
1226
|
-
globalByteSlices: number;
|
|
1227
|
-
localInts: number;
|
|
1228
|
-
localByteSlices: number;
|
|
1229
|
-
} | undefined;
|
|
1230
|
-
extraProgramPages?: number | undefined;
|
|
1231
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1231
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|