@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.15

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.
@@ -480,8 +480,8 @@ declare class AlgorandClientTransactionSender {
480
480
  */
481
481
  appCreate: (params: {
482
482
  args?: Uint8Array[] | undefined;
483
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
484
483
  sender: SendingAddress;
484
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
485
485
  rekeyTo?: ReadableAddress | undefined;
486
486
  note?: string | Uint8Array | undefined;
487
487
  lease?: string | Uint8Array | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
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,9 +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
- 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,7 +781,8 @@ declare class AlgorandClientTransactionSender {
781
781
  } | undefined;
782
782
  extraProgramPages?: number | undefined;
783
783
  method: ABIMethod;
784
- args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
784
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
785
+ args?: Uint8Array[] | undefined;
785
786
  sender: SendingAddress;
786
787
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
787
788
  rekeyTo?: ReadableAddress | undefined;
@@ -793,21 +794,26 @@ declare class AlgorandClientTransactionSender {
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
- args?: Uint8Array[] | undefined;
797
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
799
798
  accountReferences?: ReadableAddress[] | undefined;
800
799
  appReferences?: bigint[] | undefined;
801
800
  assetReferences?: bigint[] | undefined;
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
- 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
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
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
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
+ }> | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
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,9 +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
- approvalProgram: string | Uint8Array;
909
- clearStateProgram: string | Uint8Array;
910
908
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
911
909
  accountReferences?: ReadableAddress[] | undefined;
912
910
  appReferences?: bigint[] | undefined;
@@ -914,8 +912,11 @@ 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?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
918
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
919
+ args?: Uint8Array[] | undefined;
919
920
  sender: SendingAddress;
920
921
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
921
922
  rekeyTo?: ReadableAddress | undefined;
@@ -927,21 +928,26 @@ declare class AlgorandClientTransactionSender {
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
- args?: Uint8Array[] | undefined;
931
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
933
932
  accountReferences?: ReadableAddress[] | undefined;
934
933
  appReferences?: bigint[] | undefined;
935
934
  assetReferences?: bigint[] | undefined;
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
- 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
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
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
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
+ }> | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
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,7 +1045,8 @@ declare class AlgorandClientTransactionSender {
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
1048
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1049
+ args?: Uint8Array[] | undefined;
1049
1050
  sender: SendingAddress;
1050
1051
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1051
1052
  rekeyTo?: ReadableAddress | undefined;
@@ -1057,21 +1058,26 @@ declare class AlgorandClientTransactionSender {
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
- args?: Uint8Array[] | undefined;
1061
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1063
1062
  accountReferences?: ReadableAddress[] | undefined;
1064
1063
  appReferences?: bigint[] | undefined;
1065
1064
  assetReferences?: bigint[] | undefined;
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
- 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
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
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
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
+ }> | 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
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,7 +1175,8 @@ declare class AlgorandClientTransactionSender {
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
1178
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1179
+ args?: Uint8Array[] | undefined;
1179
1180
  sender: SendingAddress;
1180
1181
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1181
1182
  rekeyTo?: ReadableAddress | undefined;
@@ -1187,21 +1188,26 @@ declare class AlgorandClientTransactionSender {
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
- args?: Uint8Array[] | undefined;
1191
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1193
1192
  accountReferences?: ReadableAddress[] | undefined;
1194
1193
  appReferences?: bigint[] | undefined;
1195
1194
  assetReferences?: bigint[] | undefined;
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
- 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
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
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
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
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1232
1232
  } & SendParams) => Promise<SendAppTransactionResult>;
1233
1233
  /**
1234
1234
  * Register an online key.