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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -479,8 +479,8 @@ 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
483
482
  sender: SendingAddress;
483
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
484
484
  rekeyTo?: ReadableAddress | undefined;
485
485
  note?: string | Uint8Array | undefined;
486
486
  lease?: string | Uint8Array | undefined;
@@ -490,8 +490,8 @@ declare class AlgorandClientTransactionSender {
490
490
  validityWindow?: number | bigint | undefined;
491
491
  firstValidRound?: bigint | undefined;
492
492
  lastValidRound?: bigint | undefined;
493
- args?: Uint8Array[] | undefined;
494
493
  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?: AddressWithTransactionSigner | TransactionSigner | undefined;
558
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
559
559
  rekeyTo?: ReadableAddress | undefined;
560
560
  note?: string | Uint8Array | undefined;
561
561
  lease?: string | Uint8Array | undefined;
@@ -752,8 +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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
756
755
  sender: SendingAddress;
756
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
757
757
  rekeyTo?: ReadableAddress | undefined;
758
758
  note?: string | Uint8Array | undefined;
759
759
  lease?: string | Uint8Array | undefined;
@@ -764,8 +764,6 @@ declare class AlgorandClientTransactionSender {
764
764
  firstValidRound?: bigint | undefined;
765
765
  lastValidRound?: bigint | undefined;
766
766
  appId?: 0 | undefined;
767
- approvalProgram: string | Uint8Array;
768
- clearStateProgram: string | Uint8Array;
769
767
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
770
768
  accountReferences?: ReadableAddress[] | undefined;
771
769
  appReferences?: bigint[] | undefined;
@@ -773,6 +771,8 @@ declare class AlgorandClientTransactionSender {
773
771
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
774
772
  accessReferences?: ResourceReference[] | undefined;
775
773
  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?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
784
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
785
785
  sender: SendingAddress;
786
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
786
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
787
787
  rekeyTo?: ReadableAddress | undefined;
788
788
  note?: string | Uint8Array | undefined;
789
789
  lease?: string | Uint8Array | undefined;
@@ -793,8 +793,7 @@ declare class AlgorandClientTransactionSender {
793
793
  validityWindow?: number | bigint | undefined;
794
794
  firstValidRound?: bigint | undefined;
795
795
  lastValidRound?: bigint | undefined;
796
- appId: bigint;
797
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
796
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
798
797
  args?: Uint8Array[] | undefined;
799
798
  accountReferences?: ReadableAddress[] | undefined;
800
799
  appReferences?: bigint[] | undefined;
@@ -802,11 +801,19 @@ declare class AlgorandClientTransactionSender {
802
801
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
809
815
  sender: SendingAddress;
816
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
810
817
  rekeyTo?: ReadableAddress | undefined;
811
818
  note?: string | Uint8Array | undefined;
812
819
  lease?: string | Uint8Array | undefined;
@@ -816,25 +823,18 @@ declare class AlgorandClientTransactionSender {
816
823
  validityWindow?: number | bigint | undefined;
817
824
  firstValidRound?: bigint | undefined;
818
825
  lastValidRound?: bigint | undefined;
826
+ appId: bigint;
827
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
819
828
  args?: Uint8Array[] | undefined;
820
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
821
829
  accountReferences?: ReadableAddress[] | undefined;
822
830
  appReferences?: bigint[] | undefined;
823
831
  assetReferences?: bigint[] | undefined;
824
832
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- 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;
837
+ }> | Promise<Transaction> | undefined)[] | undefined;
838
838
  } & SendParams) => Promise<SendAppCreateTransactionResult>;
839
839
  /**
840
840
  * Update a smart contract via an ABI method.
@@ -893,8 +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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
897
896
  sender: SendingAddress;
897
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
898
898
  rekeyTo?: ReadableAddress | undefined;
899
899
  note?: string | Uint8Array | undefined;
900
900
  lease?: string | Uint8Array | undefined;
@@ -905,8 +905,6 @@ declare class AlgorandClientTransactionSender {
905
905
  firstValidRound?: bigint | undefined;
906
906
  lastValidRound?: bigint | undefined;
907
907
  appId: bigint;
908
- approvalProgram: string | Uint8Array;
909
- clearStateProgram: string | Uint8Array;
910
908
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
911
909
  accountReferences?: ReadableAddress[] | undefined;
912
910
  appReferences?: bigint[] | undefined;
@@ -914,10 +912,12 @@ declare class AlgorandClientTransactionSender {
914
912
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
915
913
  accessReferences?: ResourceReference[] | undefined;
916
914
  rejectVersion?: number | undefined;
915
+ approvalProgram: string | Uint8Array;
916
+ clearStateProgram: string | Uint8Array;
917
917
  method: ABIMethod;
918
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
918
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
919
919
  sender: SendingAddress;
920
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
920
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
921
921
  rekeyTo?: ReadableAddress | undefined;
922
922
  note?: string | Uint8Array | undefined;
923
923
  lease?: string | Uint8Array | undefined;
@@ -927,8 +927,7 @@ declare class AlgorandClientTransactionSender {
927
927
  validityWindow?: number | bigint | undefined;
928
928
  firstValidRound?: bigint | undefined;
929
929
  lastValidRound?: bigint | undefined;
930
- appId: bigint;
931
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
930
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
932
931
  args?: Uint8Array[] | undefined;
933
932
  accountReferences?: ReadableAddress[] | undefined;
934
933
  appReferences?: bigint[] | undefined;
@@ -936,11 +935,19 @@ declare class AlgorandClientTransactionSender {
936
935
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
943
949
  sender: SendingAddress;
950
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
944
951
  rekeyTo?: ReadableAddress | undefined;
945
952
  note?: string | Uint8Array | undefined;
946
953
  lease?: string | Uint8Array | undefined;
@@ -950,25 +957,18 @@ declare class AlgorandClientTransactionSender {
950
957
  validityWindow?: number | bigint | undefined;
951
958
  firstValidRound?: bigint | undefined;
952
959
  lastValidRound?: bigint | undefined;
960
+ appId: bigint;
961
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
953
962
  args?: Uint8Array[] | undefined;
954
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
955
963
  accountReferences?: ReadableAddress[] | undefined;
956
964
  appReferences?: bigint[] | undefined;
957
965
  assetReferences?: bigint[] | undefined;
958
966
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- 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;
971
+ }> | Promise<Transaction> | undefined)[] | undefined;
972
972
  } & SendParams) => Promise<SendAppUpdateTransactionResult>;
973
973
  /**
974
974
  * Delete a smart contract via an ABI method.
@@ -1025,8 +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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1029
1028
  sender: SendingAddress;
1029
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1030
1030
  rekeyTo?: ReadableAddress | undefined;
1031
1031
  note?: string | Uint8Array | undefined;
1032
1032
  lease?: string | Uint8Array | undefined;
@@ -1045,9 +1045,9 @@ declare class AlgorandClientTransactionSender {
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1048
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
1049
1049
  sender: SendingAddress;
1050
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1050
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1051
1051
  rekeyTo?: ReadableAddress | undefined;
1052
1052
  note?: string | Uint8Array | undefined;
1053
1053
  lease?: string | Uint8Array | undefined;
@@ -1057,8 +1057,7 @@ declare class AlgorandClientTransactionSender {
1057
1057
  validityWindow?: number | bigint | undefined;
1058
1058
  firstValidRound?: bigint | undefined;
1059
1059
  lastValidRound?: bigint | undefined;
1060
- appId: bigint;
1061
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1060
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1062
1061
  args?: Uint8Array[] | undefined;
1063
1062
  accountReferences?: ReadableAddress[] | undefined;
1064
1063
  appReferences?: bigint[] | undefined;
@@ -1066,11 +1065,19 @@ declare class AlgorandClientTransactionSender {
1066
1065
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1073
1079
  sender: SendingAddress;
1080
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1074
1081
  rekeyTo?: ReadableAddress | undefined;
1075
1082
  note?: string | Uint8Array | undefined;
1076
1083
  lease?: string | Uint8Array | undefined;
@@ -1080,25 +1087,18 @@ declare class AlgorandClientTransactionSender {
1080
1087
  validityWindow?: number | bigint | undefined;
1081
1088
  firstValidRound?: bigint | undefined;
1082
1089
  lastValidRound?: bigint | undefined;
1090
+ appId: bigint;
1091
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1083
1092
  args?: Uint8Array[] | undefined;
1084
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1085
1093
  accountReferences?: ReadableAddress[] | undefined;
1086
1094
  appReferences?: bigint[] | undefined;
1087
1095
  assetReferences?: bigint[] | undefined;
1088
1096
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- 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;
1101
+ }> | Promise<Transaction> | undefined)[] | undefined;
1102
1102
  } & SendParams) => Promise<SendAppTransactionResult>;
1103
1103
  /**
1104
1104
  * Call a smart contract via an ABI method.
@@ -1155,8 +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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1159
1158
  sender: SendingAddress;
1159
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1160
1160
  rekeyTo?: ReadableAddress | undefined;
1161
1161
  note?: string | Uint8Array | undefined;
1162
1162
  lease?: string | Uint8Array | undefined;
@@ -1175,9 +1175,9 @@ declare class AlgorandClientTransactionSender {
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1178
+ args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
1179
1179
  sender: SendingAddress;
1180
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1180
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1181
1181
  rekeyTo?: ReadableAddress | undefined;
1182
1182
  note?: string | Uint8Array | undefined;
1183
1183
  lease?: string | Uint8Array | undefined;
@@ -1187,8 +1187,7 @@ declare class AlgorandClientTransactionSender {
1187
1187
  validityWindow?: number | bigint | undefined;
1188
1188
  firstValidRound?: bigint | undefined;
1189
1189
  lastValidRound?: bigint | undefined;
1190
- appId: bigint;
1191
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1190
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1192
1191
  args?: Uint8Array[] | undefined;
1193
1192
  accountReferences?: ReadableAddress[] | undefined;
1194
1193
  appReferences?: bigint[] | undefined;
@@ -1196,11 +1195,19 @@ declare class AlgorandClientTransactionSender {
1196
1195
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1203
1209
  sender: SendingAddress;
1210
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1204
1211
  rekeyTo?: ReadableAddress | undefined;
1205
1212
  note?: string | Uint8Array | undefined;
1206
1213
  lease?: string | Uint8Array | undefined;
@@ -1210,25 +1217,18 @@ declare class AlgorandClientTransactionSender {
1210
1217
  validityWindow?: number | bigint | undefined;
1211
1218
  firstValidRound?: bigint | undefined;
1212
1219
  lastValidRound?: bigint | undefined;
1220
+ appId: bigint;
1221
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1213
1222
  args?: Uint8Array[] | undefined;
1214
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1215
1223
  accountReferences?: ReadableAddress[] | undefined;
1216
1224
  appReferences?: bigint[] | undefined;
1217
1225
  assetReferences?: bigint[] | undefined;
1218
1226
  boxReferences?: (BoxReference | BoxIdentifier)[] | 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
- 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;
1231
+ }> | Promise<Transaction> | undefined)[] | undefined;
1232
1232
  } & SendParams) => Promise<SendAppTransactionResult>;
1233
1233
  /**
1234
1234
  * Register an online key.