@algorandfoundation/algokit-utils 10.0.0-alpha.16 → 10.0.0-alpha.17

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,18 +479,18 @@ 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
- maxFee?: AlgoAmount | undefined;
483
482
  sender: SendingAddress;
484
- lease?: string | Uint8Array | undefined;
483
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
485
484
  rekeyTo?: ReadableAddress | undefined;
486
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
487
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
488
485
  note?: string | Uint8Array | undefined;
486
+ lease?: string | Uint8Array | undefined;
489
487
  staticFee?: AlgoAmount | undefined;
490
488
  extraFee?: AlgoAmount | undefined;
489
+ maxFee?: AlgoAmount | undefined;
491
490
  validityWindow?: number | bigint | undefined;
492
491
  firstValidRound?: bigint | undefined;
493
492
  lastValidRound?: bigint | undefined;
493
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
494
494
  args?: Uint8Array[] | undefined;
495
495
  accountReferences?: ReadableAddress[] | undefined;
496
496
  appReferences?: 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,48 +752,48 @@ 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
- maxFee?: AlgoAmount | undefined;
756
- schema?: {
757
- globalInts: number;
758
- globalByteSlices: number;
759
- localInts: number;
760
- localByteSlices: number;
761
- } | undefined;
762
- sender: SendingAddress;
763
- lease?: string | Uint8Array | undefined;
764
- rekeyTo?: ReadableAddress | undefined;
765
755
  approvalProgram: string | Uint8Array;
766
756
  clearStateProgram: string | Uint8Array;
767
757
  appId?: 0 | undefined;
768
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
769
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
758
+ extraProgramPages?: number | undefined;
759
+ sender: SendingAddress;
760
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
761
+ rekeyTo?: ReadableAddress | undefined;
770
762
  note?: string | Uint8Array | undefined;
763
+ lease?: string | Uint8Array | undefined;
771
764
  staticFee?: AlgoAmount | undefined;
772
765
  extraFee?: AlgoAmount | undefined;
766
+ maxFee?: AlgoAmount | undefined;
773
767
  validityWindow?: number | bigint | undefined;
774
768
  firstValidRound?: bigint | undefined;
775
769
  lastValidRound?: bigint | undefined;
770
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
776
771
  accountReferences?: ReadableAddress[] | undefined;
777
772
  appReferences?: bigint[] | undefined;
778
773
  assetReferences?: bigint[] | undefined;
779
774
  boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
780
775
  accessReferences?: ResourceReference[] | undefined;
781
776
  rejectVersion?: number | undefined;
782
- extraProgramPages?: number | undefined;
777
+ schema?: {
778
+ globalInts: number;
779
+ globalByteSlices: number;
780
+ localInts: number;
781
+ localByteSlices: number;
782
+ } | undefined;
783
783
  method: ABIMethod;
784
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
785
- maxFee?: AlgoAmount | undefined;
784
+ args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
786
785
  sender: SendingAddress;
787
- lease?: string | Uint8Array | undefined;
786
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
788
787
  rekeyTo?: ReadableAddress | undefined;
789
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
790
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
791
788
  note?: string | Uint8Array | undefined;
789
+ lease?: string | Uint8Array | undefined;
792
790
  staticFee?: AlgoAmount | undefined;
793
791
  extraFee?: AlgoAmount | undefined;
792
+ maxFee?: AlgoAmount | undefined;
794
793
  validityWindow?: number | bigint | undefined;
795
794
  firstValidRound?: bigint | undefined;
796
795
  lastValidRound?: bigint | undefined;
796
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
797
797
  args?: Uint8Array[] | undefined;
798
798
  accountReferences?: ReadableAddress[] | undefined;
799
799
  appReferences?: bigint[] | undefined;
@@ -813,7 +813,7 @@ declare class AlgorandClientTransactionSender {
813
813
  extraProgramPages?: number | undefined;
814
814
  }> | AppMethodCall<{
815
815
  sender: SendingAddress;
816
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
816
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
817
817
  rekeyTo?: ReadableAddress | undefined;
818
818
  note?: string | Uint8Array | undefined;
819
819
  lease?: string | Uint8Array | undefined;
@@ -893,21 +893,21 @@ 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
- maxFee?: AlgoAmount | undefined;
897
- sender: SendingAddress;
898
- lease?: string | Uint8Array | undefined;
899
- rekeyTo?: ReadableAddress | undefined;
900
896
  approvalProgram: string | Uint8Array;
901
897
  clearStateProgram: string | Uint8Array;
902
898
  appId: bigint;
903
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
904
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
899
+ sender: SendingAddress;
900
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
901
+ rekeyTo?: ReadableAddress | undefined;
905
902
  note?: string | Uint8Array | undefined;
903
+ lease?: string | Uint8Array | undefined;
906
904
  staticFee?: AlgoAmount | undefined;
907
905
  extraFee?: AlgoAmount | undefined;
906
+ maxFee?: AlgoAmount | undefined;
908
907
  validityWindow?: number | bigint | undefined;
909
908
  firstValidRound?: bigint | undefined;
910
909
  lastValidRound?: bigint | undefined;
910
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
911
911
  accountReferences?: ReadableAddress[] | undefined;
912
912
  appReferences?: bigint[] | undefined;
913
913
  assetReferences?: bigint[] | undefined;
@@ -915,19 +915,19 @@ declare class AlgorandClientTransactionSender {
915
915
  accessReferences?: ResourceReference[] | undefined;
916
916
  rejectVersion?: number | undefined;
917
917
  method: ABIMethod;
918
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
919
- maxFee?: AlgoAmount | undefined;
918
+ args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
920
919
  sender: SendingAddress;
921
- lease?: string | Uint8Array | undefined;
920
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
922
921
  rekeyTo?: ReadableAddress | undefined;
923
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
924
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
925
922
  note?: string | Uint8Array | undefined;
923
+ lease?: string | Uint8Array | undefined;
926
924
  staticFee?: AlgoAmount | undefined;
927
925
  extraFee?: AlgoAmount | undefined;
926
+ maxFee?: AlgoAmount | undefined;
928
927
  validityWindow?: number | bigint | undefined;
929
928
  firstValidRound?: bigint | undefined;
930
929
  lastValidRound?: bigint | undefined;
930
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
931
931
  args?: Uint8Array[] | undefined;
932
932
  accountReferences?: ReadableAddress[] | undefined;
933
933
  appReferences?: bigint[] | undefined;
@@ -947,7 +947,7 @@ declare class AlgorandClientTransactionSender {
947
947
  extraProgramPages?: number | undefined;
948
948
  }> | AppMethodCall<{
949
949
  sender: SendingAddress;
950
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
950
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
951
951
  rekeyTo?: ReadableAddress | undefined;
952
952
  note?: string | Uint8Array | undefined;
953
953
  lease?: string | Uint8Array | undefined;
@@ -1025,19 +1025,19 @@ 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
- maxFee?: AlgoAmount | undefined;
1028
+ appId: bigint;
1029
1029
  sender: SendingAddress;
1030
- lease?: string | Uint8Array | undefined;
1030
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1031
1031
  rekeyTo?: ReadableAddress | undefined;
1032
- appId: bigint;
1033
- onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1034
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1035
1032
  note?: string | Uint8Array | undefined;
1033
+ lease?: string | Uint8Array | undefined;
1036
1034
  staticFee?: AlgoAmount | undefined;
1037
1035
  extraFee?: AlgoAmount | undefined;
1036
+ maxFee?: AlgoAmount | undefined;
1038
1037
  validityWindow?: number | bigint | undefined;
1039
1038
  firstValidRound?: bigint | undefined;
1040
1039
  lastValidRound?: bigint | undefined;
1040
+ onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1041
1041
  accountReferences?: ReadableAddress[] | undefined;
1042
1042
  appReferences?: bigint[] | undefined;
1043
1043
  assetReferences?: bigint[] | undefined;
@@ -1045,19 +1045,19 @@ declare class AlgorandClientTransactionSender {
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
1049
- maxFee?: AlgoAmount | undefined;
1048
+ args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1050
1049
  sender: SendingAddress;
1051
- lease?: string | Uint8Array | undefined;
1050
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1052
1051
  rekeyTo?: ReadableAddress | undefined;
1053
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1054
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1055
1052
  note?: string | Uint8Array | undefined;
1053
+ lease?: string | Uint8Array | undefined;
1056
1054
  staticFee?: AlgoAmount | undefined;
1057
1055
  extraFee?: AlgoAmount | undefined;
1056
+ maxFee?: AlgoAmount | undefined;
1058
1057
  validityWindow?: number | bigint | undefined;
1059
1058
  firstValidRound?: bigint | undefined;
1060
1059
  lastValidRound?: bigint | undefined;
1060
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1061
1061
  args?: Uint8Array[] | undefined;
1062
1062
  accountReferences?: ReadableAddress[] | undefined;
1063
1063
  appReferences?: bigint[] | undefined;
@@ -1077,7 +1077,7 @@ declare class AlgorandClientTransactionSender {
1077
1077
  extraProgramPages?: number | undefined;
1078
1078
  }> | AppMethodCall<{
1079
1079
  sender: SendingAddress;
1080
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1080
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1081
1081
  rekeyTo?: ReadableAddress | undefined;
1082
1082
  note?: string | Uint8Array | undefined;
1083
1083
  lease?: string | Uint8Array | undefined;
@@ -1155,19 +1155,19 @@ 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
- maxFee?: AlgoAmount | undefined;
1158
+ appId: bigint;
1159
1159
  sender: SendingAddress;
1160
- lease?: string | Uint8Array | undefined;
1160
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1161
1161
  rekeyTo?: ReadableAddress | undefined;
1162
- appId: bigint;
1163
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1164
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1165
1162
  note?: string | Uint8Array | undefined;
1163
+ lease?: string | Uint8Array | undefined;
1166
1164
  staticFee?: AlgoAmount | undefined;
1167
1165
  extraFee?: AlgoAmount | undefined;
1166
+ maxFee?: AlgoAmount | undefined;
1168
1167
  validityWindow?: number | bigint | undefined;
1169
1168
  firstValidRound?: bigint | undefined;
1170
1169
  lastValidRound?: bigint | undefined;
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;
@@ -1175,19 +1175,19 @@ declare class AlgorandClientTransactionSender {
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
1179
- maxFee?: AlgoAmount | undefined;
1178
+ args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1180
1179
  sender: SendingAddress;
1181
- lease?: string | Uint8Array | undefined;
1180
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1182
1181
  rekeyTo?: ReadableAddress | undefined;
1183
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1184
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1185
1182
  note?: string | Uint8Array | undefined;
1183
+ lease?: string | Uint8Array | undefined;
1186
1184
  staticFee?: AlgoAmount | undefined;
1187
1185
  extraFee?: AlgoAmount | undefined;
1186
+ maxFee?: AlgoAmount | undefined;
1188
1187
  validityWindow?: number | bigint | undefined;
1189
1188
  firstValidRound?: bigint | undefined;
1190
1189
  lastValidRound?: bigint | undefined;
1190
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1191
1191
  args?: Uint8Array[] | undefined;
1192
1192
  accountReferences?: ReadableAddress[] | undefined;
1193
1193
  appReferences?: bigint[] | undefined;
@@ -1207,7 +1207,7 @@ declare class AlgorandClientTransactionSender {
1207
1207
  extraProgramPages?: number | undefined;
1208
1208
  }> | AppMethodCall<{
1209
1209
  sender: SendingAddress;
1210
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1210
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1211
1211
  rekeyTo?: ReadableAddress | undefined;
1212
1212
  note?: string | Uint8Array | undefined;
1213
1213
  lease?: string | Uint8Array | undefined;