@algorandfoundation/algokit-utils 10.0.0-alpha.13 → 10.0.0-alpha.14
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/transactions/app-call.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.js.map +1 -1
- package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
- package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
- package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
- package/packages/transact/src/transactions/key-registration.d.ts +1 -8
- package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
- package/packages/transact/src/transactions/signed-transaction.js +1 -1
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +5 -1
- package/packages/transact/src/transactions/transaction.js +0 -1
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +0 -1
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/transact/index.d.ts +9 -9
- package/transact/index.js +3 -10
- package/transact/index.mjs +5 -9
- package/transactions/key-registration.d.ts +1 -1
- package/transactions/key-registration.js.map +1 -1
- package/transactions/key-registration.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/algorand-client-transaction-creator.d.ts +79 -79
- package/types/algorand-client-transaction-sender.d.ts +80 -80
- package/types/app-client.d.ts +152 -152
- package/types/app-factory.d.ts +78 -78
- package/types/composer.js +9 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +11 -4
- package/types/composer.mjs.map +1 -1
- package/packages/transact/src/transactions/common.d.ts +0 -37
|
@@ -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
|
+
args?: Uint8Array[] | undefined;
|
|
483
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
484
|
sender: SendingAddress;
|
|
483
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | 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;
|
|
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
555
555
|
*/
|
|
556
556
|
appUpdate: (params: {
|
|
557
557
|
sender: SendingAddress;
|
|
558
|
-
signer?:
|
|
558
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
559
559
|
rekeyTo?: ReadableAddress | undefined;
|
|
560
560
|
note?: string | Uint8Array | undefined;
|
|
561
561
|
lease?: string | Uint8Array | undefined;
|
|
@@ -752,9 +752,8 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
756
756
|
sender: SendingAddress;
|
|
757
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
758
757
|
rekeyTo?: ReadableAddress | undefined;
|
|
759
758
|
note?: string | Uint8Array | undefined;
|
|
760
759
|
lease?: string | Uint8Array | undefined;
|
|
@@ -764,6 +763,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
764
763
|
validityWindow?: number | bigint | undefined;
|
|
765
764
|
firstValidRound?: bigint | undefined;
|
|
766
765
|
lastValidRound?: bigint | undefined;
|
|
766
|
+
appId?: 0 | undefined;
|
|
767
|
+
approvalProgram: string | Uint8Array;
|
|
768
|
+
clearStateProgram: string | Uint8Array;
|
|
767
769
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
768
770
|
accountReferences?: ReadableAddress[] | undefined;
|
|
769
771
|
appReferences?: bigint[] | undefined;
|
|
@@ -771,8 +773,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
771
773
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
772
774
|
accessReferences?: ResourceReference[] | undefined;
|
|
773
775
|
rejectVersion?: number | undefined;
|
|
774
|
-
approvalProgram: string | Uint8Array;
|
|
775
|
-
clearStateProgram: string | Uint8Array;
|
|
776
776
|
schema?: {
|
|
777
777
|
globalInts: number;
|
|
778
778
|
globalByteSlices: number;
|
|
@@ -781,9 +781,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
781
781
|
} | undefined;
|
|
782
782
|
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (
|
|
784
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
785
785
|
sender: SendingAddress;
|
|
786
|
-
signer?:
|
|
786
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
787
787
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
788
|
note?: string | Uint8Array | undefined;
|
|
789
789
|
lease?: string | Uint8Array | undefined;
|
|
@@ -793,7 +793,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
793
793
|
validityWindow?: number | bigint | undefined;
|
|
794
794
|
firstValidRound?: bigint | undefined;
|
|
795
795
|
lastValidRound?: bigint | undefined;
|
|
796
|
-
|
|
796
|
+
appId: bigint;
|
|
797
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
797
798
|
args?: Uint8Array[] | undefined;
|
|
798
799
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
800
|
appReferences?: bigint[] | undefined;
|
|
@@ -801,19 +802,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
801
802
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
802
803
|
accessReferences?: ResourceReference[] | undefined;
|
|
803
804
|
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;
|
|
814
807
|
}> | AppMethodCall<{
|
|
808
|
+
args?: Uint8Array[] | undefined;
|
|
809
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
815
810
|
sender: SendingAddress;
|
|
816
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
817
811
|
rekeyTo?: ReadableAddress | undefined;
|
|
818
812
|
note?: string | Uint8Array | undefined;
|
|
819
813
|
lease?: string | Uint8Array | undefined;
|
|
@@ -823,18 +817,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
823
817
|
validityWindow?: number | bigint | undefined;
|
|
824
818
|
firstValidRound?: bigint | undefined;
|
|
825
819
|
lastValidRound?: bigint | undefined;
|
|
826
|
-
|
|
827
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
|
-
args?: Uint8Array[] | undefined;
|
|
820
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
829
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
830
822
|
appReferences?: bigint[] | undefined;
|
|
831
823
|
assetReferences?: bigint[] | undefined;
|
|
832
824
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
833
825
|
accessReferences?: ResourceReference[] | undefined;
|
|
834
826
|
rejectVersion?: number | undefined;
|
|
827
|
+
appId?: 0 | undefined;
|
|
835
828
|
approvalProgram: string | Uint8Array;
|
|
836
829
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
|
|
830
|
+
schema?: {
|
|
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;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -893,9 +893,8 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
897
897
|
sender: SendingAddress;
|
|
898
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
899
898
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
899
|
note?: string | Uint8Array | undefined;
|
|
901
900
|
lease?: string | Uint8Array | undefined;
|
|
@@ -905,6 +904,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
905
904
|
validityWindow?: number | bigint | undefined;
|
|
906
905
|
firstValidRound?: bigint | undefined;
|
|
907
906
|
lastValidRound?: bigint | undefined;
|
|
907
|
+
appId: bigint;
|
|
908
|
+
approvalProgram: string | Uint8Array;
|
|
909
|
+
clearStateProgram: string | Uint8Array;
|
|
908
910
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
909
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
910
912
|
appReferences?: bigint[] | undefined;
|
|
@@ -912,12 +914,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
912
914
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
913
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
914
916
|
rejectVersion?: number | undefined;
|
|
915
|
-
approvalProgram: string | Uint8Array;
|
|
916
|
-
clearStateProgram: string | Uint8Array;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (
|
|
918
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
919
919
|
sender: SendingAddress;
|
|
920
|
-
signer?:
|
|
920
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
921
921
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
922
|
note?: string | Uint8Array | undefined;
|
|
923
923
|
lease?: string | Uint8Array | undefined;
|
|
@@ -927,7 +927,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
927
927
|
validityWindow?: number | bigint | undefined;
|
|
928
928
|
firstValidRound?: bigint | undefined;
|
|
929
929
|
lastValidRound?: bigint | undefined;
|
|
930
|
-
|
|
930
|
+
appId: bigint;
|
|
931
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
931
932
|
args?: Uint8Array[] | undefined;
|
|
932
933
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
934
|
appReferences?: bigint[] | undefined;
|
|
@@ -935,19 +936,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
935
936
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
936
937
|
accessReferences?: ResourceReference[] | undefined;
|
|
937
938
|
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;
|
|
948
941
|
}> | AppMethodCall<{
|
|
942
|
+
args?: Uint8Array[] | undefined;
|
|
943
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
949
944
|
sender: SendingAddress;
|
|
950
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
951
945
|
rekeyTo?: ReadableAddress | undefined;
|
|
952
946
|
note?: string | Uint8Array | undefined;
|
|
953
947
|
lease?: string | Uint8Array | undefined;
|
|
@@ -957,18 +951,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
957
951
|
validityWindow?: number | bigint | undefined;
|
|
958
952
|
firstValidRound?: bigint | undefined;
|
|
959
953
|
lastValidRound?: bigint | undefined;
|
|
960
|
-
|
|
961
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
962
|
-
args?: Uint8Array[] | undefined;
|
|
954
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
963
955
|
accountReferences?: ReadableAddress[] | undefined;
|
|
964
956
|
appReferences?: bigint[] | undefined;
|
|
965
957
|
assetReferences?: bigint[] | undefined;
|
|
966
958
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
967
959
|
accessReferences?: ResourceReference[] | undefined;
|
|
968
960
|
rejectVersion?: number | undefined;
|
|
961
|
+
appId?: 0 | undefined;
|
|
969
962
|
approvalProgram: string | Uint8Array;
|
|
970
963
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
|
|
964
|
+
schema?: {
|
|
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;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1025,9 +1025,8 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1031
1030
|
rekeyTo?: ReadableAddress | undefined;
|
|
1032
1031
|
note?: string | Uint8Array | undefined;
|
|
1033
1032
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1037,6 +1036,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1037
1036
|
validityWindow?: number | bigint | undefined;
|
|
1038
1037
|
firstValidRound?: bigint | undefined;
|
|
1039
1038
|
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,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (
|
|
1048
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
1049
1049
|
sender: SendingAddress;
|
|
1050
|
-
signer?:
|
|
1050
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1051
1051
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1052
|
note?: string | Uint8Array | undefined;
|
|
1053
1053
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1057,7 +1057,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1057
1057
|
validityWindow?: number | bigint | undefined;
|
|
1058
1058
|
firstValidRound?: bigint | undefined;
|
|
1059
1059
|
lastValidRound?: bigint | undefined;
|
|
1060
|
-
|
|
1060
|
+
appId: bigint;
|
|
1061
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1061
1062
|
args?: Uint8Array[] | undefined;
|
|
1062
1063
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1064
|
appReferences?: bigint[] | undefined;
|
|
@@ -1065,19 +1066,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1065
1066
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1066
1067
|
accessReferences?: ResourceReference[] | undefined;
|
|
1067
1068
|
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;
|
|
1078
1071
|
}> | AppMethodCall<{
|
|
1072
|
+
args?: Uint8Array[] | undefined;
|
|
1073
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1079
1074
|
sender: SendingAddress;
|
|
1080
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1081
1075
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1076
|
note?: string | Uint8Array | undefined;
|
|
1083
1077
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1087,18 +1081,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1087
1081
|
validityWindow?: number | bigint | undefined;
|
|
1088
1082
|
firstValidRound?: bigint | undefined;
|
|
1089
1083
|
lastValidRound?: bigint | undefined;
|
|
1090
|
-
|
|
1091
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1092
|
-
args?: Uint8Array[] | undefined;
|
|
1084
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1093
1085
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1094
1086
|
appReferences?: bigint[] | undefined;
|
|
1095
1087
|
assetReferences?: bigint[] | undefined;
|
|
1096
1088
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1097
1089
|
accessReferences?: ResourceReference[] | undefined;
|
|
1098
1090
|
rejectVersion?: number | undefined;
|
|
1091
|
+
appId?: 0 | undefined;
|
|
1099
1092
|
approvalProgram: string | Uint8Array;
|
|
1100
1093
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
|
|
1094
|
+
schema?: {
|
|
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;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1155,9 +1155,8 @@ 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
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1161
1160
|
rekeyTo?: ReadableAddress | undefined;
|
|
1162
1161
|
note?: string | Uint8Array | undefined;
|
|
1163
1162
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1167,6 +1166,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1167
1166
|
validityWindow?: number | bigint | undefined;
|
|
1168
1167
|
firstValidRound?: bigint | undefined;
|
|
1169
1168
|
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,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (
|
|
1178
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
1179
1179
|
sender: SendingAddress;
|
|
1180
|
-
signer?:
|
|
1180
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1181
1181
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1182
|
note?: string | Uint8Array | undefined;
|
|
1183
1183
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1187,7 +1187,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1187
1187
|
validityWindow?: number | bigint | undefined;
|
|
1188
1188
|
firstValidRound?: bigint | undefined;
|
|
1189
1189
|
lastValidRound?: bigint | undefined;
|
|
1190
|
-
|
|
1190
|
+
appId: bigint;
|
|
1191
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1191
1192
|
args?: Uint8Array[] | undefined;
|
|
1192
1193
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1194
|
appReferences?: bigint[] | undefined;
|
|
@@ -1195,19 +1196,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1195
1196
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1196
1197
|
accessReferences?: ResourceReference[] | undefined;
|
|
1197
1198
|
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;
|
|
1208
1201
|
}> | AppMethodCall<{
|
|
1202
|
+
args?: Uint8Array[] | undefined;
|
|
1203
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1209
1204
|
sender: SendingAddress;
|
|
1210
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1211
1205
|
rekeyTo?: ReadableAddress | undefined;
|
|
1212
1206
|
note?: string | Uint8Array | undefined;
|
|
1213
1207
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1217,18 +1211,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1217
1211
|
validityWindow?: number | bigint | undefined;
|
|
1218
1212
|
firstValidRound?: bigint | undefined;
|
|
1219
1213
|
lastValidRound?: bigint | undefined;
|
|
1220
|
-
|
|
1221
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1222
|
-
args?: Uint8Array[] | undefined;
|
|
1214
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1223
1215
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1224
1216
|
appReferences?: bigint[] | undefined;
|
|
1225
1217
|
assetReferences?: bigint[] | undefined;
|
|
1226
1218
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1227
1219
|
accessReferences?: ResourceReference[] | undefined;
|
|
1228
1220
|
rejectVersion?: number | undefined;
|
|
1221
|
+
appId?: 0 | undefined;
|
|
1229
1222
|
approvalProgram: string | Uint8Array;
|
|
1230
1223
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
|
|
1224
|
+
schema?: {
|
|
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;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|
|
@@ -1277,7 +1277,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1277
1277
|
voteFirst: bigint;
|
|
1278
1278
|
voteLast: bigint;
|
|
1279
1279
|
voteKeyDilution: bigint;
|
|
1280
|
-
stateProofKey
|
|
1280
|
+
stateProofKey: Uint8Array;
|
|
1281
1281
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Register an offline key.
|