@algorandfoundation/algokit-utils 10.0.0-alpha.6 → 10.0.0-alpha.8
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 +2 -2
- package/packages/algod_client/src/models/block.js +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +60 -60
- package/types/algorand-client-transaction-sender.d.ts +60 -60
- package/types/app-client.d.ts +70 -70
- package/types/app-factory.d.ts +46 -46
- package/types/app-spec.js +12 -5
- package/types/app-spec.js.map +1 -1
- package/types/app-spec.mjs +12 -5
- package/types/app-spec.mjs.map +1 -1
|
@@ -757,8 +757,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
757
757
|
validityWindow?: number | bigint | undefined;
|
|
758
758
|
firstValidRound?: bigint | undefined;
|
|
759
759
|
lastValidRound?: bigint | undefined;
|
|
760
|
-
approvalProgram: string | Uint8Array;
|
|
761
|
-
clearStateProgram: string | Uint8Array;
|
|
762
760
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
763
761
|
accountReferences?: ReadableAddress[] | undefined;
|
|
764
762
|
appReferences?: bigint[] | undefined;
|
|
@@ -773,10 +771,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
773
771
|
localByteSlices: number;
|
|
774
772
|
} | undefined;
|
|
775
773
|
extraProgramPages?: number | undefined;
|
|
774
|
+
approvalProgram: string | Uint8Array;
|
|
775
|
+
clearStateProgram: string | Uint8Array;
|
|
776
776
|
method: ABIMethod;
|
|
777
777
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
778
|
-
sender: SendingAddress;
|
|
779
778
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
779
|
+
sender: SendingAddress;
|
|
780
780
|
rekeyTo?: ReadableAddress | undefined;
|
|
781
781
|
note?: string | Uint8Array | undefined;
|
|
782
782
|
lease?: string | Uint8Array | undefined;
|
|
@@ -786,8 +786,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
786
786
|
validityWindow?: number | bigint | undefined;
|
|
787
787
|
firstValidRound?: bigint | undefined;
|
|
788
788
|
lastValidRound?: bigint | undefined;
|
|
789
|
-
|
|
790
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
789
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
791
790
|
args?: Uint8Array[] | undefined;
|
|
792
791
|
accountReferences?: ReadableAddress[] | undefined;
|
|
793
792
|
appReferences?: bigint[] | undefined;
|
|
@@ -797,9 +796,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
797
796
|
rejectVersion?: number | undefined;
|
|
798
797
|
approvalProgram: string | Uint8Array;
|
|
799
798
|
clearStateProgram: string | Uint8Array;
|
|
800
|
-
|
|
801
|
-
|
|
799
|
+
schema?: {
|
|
800
|
+
globalInts: number;
|
|
801
|
+
globalByteSlices: number;
|
|
802
|
+
localInts: number;
|
|
803
|
+
localByteSlices: number;
|
|
804
|
+
} | undefined;
|
|
805
|
+
extraProgramPages?: number | undefined;
|
|
806
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
802
807
|
sender: SendingAddress;
|
|
808
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
803
809
|
rekeyTo?: ReadableAddress | undefined;
|
|
804
810
|
note?: string | Uint8Array | undefined;
|
|
805
811
|
lease?: string | Uint8Array | undefined;
|
|
@@ -809,7 +815,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
809
815
|
validityWindow?: number | bigint | undefined;
|
|
810
816
|
firstValidRound?: bigint | undefined;
|
|
811
817
|
lastValidRound?: bigint | undefined;
|
|
812
|
-
|
|
818
|
+
appId: bigint;
|
|
819
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
813
820
|
args?: Uint8Array[] | undefined;
|
|
814
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
815
822
|
appReferences?: bigint[] | undefined;
|
|
@@ -819,14 +826,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
819
826
|
rejectVersion?: number | undefined;
|
|
820
827
|
approvalProgram: string | Uint8Array;
|
|
821
828
|
clearStateProgram: string | Uint8Array;
|
|
822
|
-
|
|
823
|
-
globalInts: number;
|
|
824
|
-
globalByteSlices: number;
|
|
825
|
-
localInts: number;
|
|
826
|
-
localByteSlices: number;
|
|
827
|
-
} | undefined;
|
|
828
|
-
extraProgramPages?: number | undefined;
|
|
829
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
829
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
830
830
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
831
831
|
/**
|
|
832
832
|
* Update a smart contract via an ABI method.
|
|
@@ -896,8 +896,6 @@ declare class AlgorandClientTransactionSender {
|
|
|
896
896
|
firstValidRound?: bigint | undefined;
|
|
897
897
|
lastValidRound?: bigint | undefined;
|
|
898
898
|
appId: bigint;
|
|
899
|
-
approvalProgram: string | Uint8Array;
|
|
900
|
-
clearStateProgram: string | Uint8Array;
|
|
901
899
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
902
900
|
accountReferences?: ReadableAddress[] | undefined;
|
|
903
901
|
appReferences?: bigint[] | undefined;
|
|
@@ -905,10 +903,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
905
903
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
906
904
|
accessReferences?: ResourceReference[] | undefined;
|
|
907
905
|
rejectVersion?: number | undefined;
|
|
906
|
+
approvalProgram: string | Uint8Array;
|
|
907
|
+
clearStateProgram: string | Uint8Array;
|
|
908
908
|
method: ABIMethod;
|
|
909
909
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
910
|
-
sender: SendingAddress;
|
|
911
910
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
911
|
+
sender: SendingAddress;
|
|
912
912
|
rekeyTo?: ReadableAddress | undefined;
|
|
913
913
|
note?: string | Uint8Array | undefined;
|
|
914
914
|
lease?: string | Uint8Array | undefined;
|
|
@@ -918,8 +918,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
918
918
|
validityWindow?: number | bigint | undefined;
|
|
919
919
|
firstValidRound?: bigint | undefined;
|
|
920
920
|
lastValidRound?: bigint | undefined;
|
|
921
|
-
|
|
922
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
921
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
923
922
|
args?: Uint8Array[] | undefined;
|
|
924
923
|
accountReferences?: ReadableAddress[] | undefined;
|
|
925
924
|
appReferences?: bigint[] | undefined;
|
|
@@ -929,9 +928,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
929
928
|
rejectVersion?: number | undefined;
|
|
930
929
|
approvalProgram: string | Uint8Array;
|
|
931
930
|
clearStateProgram: string | Uint8Array;
|
|
932
|
-
|
|
933
|
-
|
|
931
|
+
schema?: {
|
|
932
|
+
globalInts: number;
|
|
933
|
+
globalByteSlices: number;
|
|
934
|
+
localInts: number;
|
|
935
|
+
localByteSlices: number;
|
|
936
|
+
} | undefined;
|
|
937
|
+
extraProgramPages?: number | undefined;
|
|
938
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
934
939
|
sender: SendingAddress;
|
|
940
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
935
941
|
rekeyTo?: ReadableAddress | undefined;
|
|
936
942
|
note?: string | Uint8Array | undefined;
|
|
937
943
|
lease?: string | Uint8Array | undefined;
|
|
@@ -941,7 +947,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
941
947
|
validityWindow?: number | bigint | undefined;
|
|
942
948
|
firstValidRound?: bigint | undefined;
|
|
943
949
|
lastValidRound?: bigint | undefined;
|
|
944
|
-
|
|
950
|
+
appId: bigint;
|
|
951
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
945
952
|
args?: Uint8Array[] | undefined;
|
|
946
953
|
accountReferences?: ReadableAddress[] | undefined;
|
|
947
954
|
appReferences?: bigint[] | undefined;
|
|
@@ -951,14 +958,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
951
958
|
rejectVersion?: number | undefined;
|
|
952
959
|
approvalProgram: string | Uint8Array;
|
|
953
960
|
clearStateProgram: string | Uint8Array;
|
|
954
|
-
|
|
955
|
-
globalInts: number;
|
|
956
|
-
globalByteSlices: number;
|
|
957
|
-
localInts: number;
|
|
958
|
-
localByteSlices: number;
|
|
959
|
-
} | undefined;
|
|
960
|
-
extraProgramPages?: number | undefined;
|
|
961
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
961
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
962
962
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
963
963
|
/**
|
|
964
964
|
* Delete a smart contract via an ABI method.
|
|
@@ -1035,8 +1035,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1035
1035
|
rejectVersion?: number | undefined;
|
|
1036
1036
|
method: ABIMethod;
|
|
1037
1037
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1038
|
-
sender: SendingAddress;
|
|
1039
1038
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1039
|
+
sender: SendingAddress;
|
|
1040
1040
|
rekeyTo?: ReadableAddress | undefined;
|
|
1041
1041
|
note?: string | Uint8Array | undefined;
|
|
1042
1042
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1046,8 +1046,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1046
1046
|
validityWindow?: number | bigint | undefined;
|
|
1047
1047
|
firstValidRound?: bigint | undefined;
|
|
1048
1048
|
lastValidRound?: bigint | undefined;
|
|
1049
|
-
|
|
1050
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1049
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1051
1050
|
args?: Uint8Array[] | undefined;
|
|
1052
1051
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1053
1052
|
appReferences?: bigint[] | undefined;
|
|
@@ -1057,9 +1056,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
1057
1056
|
rejectVersion?: number | undefined;
|
|
1058
1057
|
approvalProgram: string | Uint8Array;
|
|
1059
1058
|
clearStateProgram: string | Uint8Array;
|
|
1060
|
-
|
|
1061
|
-
|
|
1059
|
+
schema?: {
|
|
1060
|
+
globalInts: number;
|
|
1061
|
+
globalByteSlices: number;
|
|
1062
|
+
localInts: number;
|
|
1063
|
+
localByteSlices: number;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
extraProgramPages?: number | undefined;
|
|
1066
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
1062
1067
|
sender: SendingAddress;
|
|
1068
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1063
1069
|
rekeyTo?: ReadableAddress | undefined;
|
|
1064
1070
|
note?: string | Uint8Array | undefined;
|
|
1065
1071
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1069,7 +1075,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1069
1075
|
validityWindow?: number | bigint | undefined;
|
|
1070
1076
|
firstValidRound?: bigint | undefined;
|
|
1071
1077
|
lastValidRound?: bigint | undefined;
|
|
1072
|
-
|
|
1078
|
+
appId: bigint;
|
|
1079
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1073
1080
|
args?: Uint8Array[] | undefined;
|
|
1074
1081
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1082
|
appReferences?: bigint[] | undefined;
|
|
@@ -1079,14 +1086,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1079
1086
|
rejectVersion?: number | undefined;
|
|
1080
1087
|
approvalProgram: string | Uint8Array;
|
|
1081
1088
|
clearStateProgram: string | Uint8Array;
|
|
1082
|
-
|
|
1083
|
-
globalInts: number;
|
|
1084
|
-
globalByteSlices: number;
|
|
1085
|
-
localInts: number;
|
|
1086
|
-
localByteSlices: number;
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
extraProgramPages?: number | undefined;
|
|
1089
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1089
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1090
1090
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Call a smart contract via an ABI method.
|
|
@@ -1163,8 +1163,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1163
1163
|
rejectVersion?: number | undefined;
|
|
1164
1164
|
method: ABIMethod;
|
|
1165
1165
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1166
|
-
sender: SendingAddress;
|
|
1167
1166
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1167
|
+
sender: SendingAddress;
|
|
1168
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
1169
1169
|
note?: string | Uint8Array | undefined;
|
|
1170
1170
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1174,8 +1174,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1174
1174
|
validityWindow?: number | bigint | undefined;
|
|
1175
1175
|
firstValidRound?: bigint | undefined;
|
|
1176
1176
|
lastValidRound?: bigint | undefined;
|
|
1177
|
-
|
|
1178
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1177
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1179
1178
|
args?: Uint8Array[] | undefined;
|
|
1180
1179
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1181
1180
|
appReferences?: bigint[] | undefined;
|
|
@@ -1185,9 +1184,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
1185
1184
|
rejectVersion?: number | undefined;
|
|
1186
1185
|
approvalProgram: string | Uint8Array;
|
|
1187
1186
|
clearStateProgram: string | Uint8Array;
|
|
1188
|
-
|
|
1189
|
-
|
|
1187
|
+
schema?: {
|
|
1188
|
+
globalInts: number;
|
|
1189
|
+
globalByteSlices: number;
|
|
1190
|
+
localInts: number;
|
|
1191
|
+
localByteSlices: number;
|
|
1192
|
+
} | undefined;
|
|
1193
|
+
extraProgramPages?: number | undefined;
|
|
1194
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
1190
1195
|
sender: SendingAddress;
|
|
1196
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1191
1197
|
rekeyTo?: ReadableAddress | undefined;
|
|
1192
1198
|
note?: string | Uint8Array | undefined;
|
|
1193
1199
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1197,7 +1203,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1197
1203
|
validityWindow?: number | bigint | undefined;
|
|
1198
1204
|
firstValidRound?: bigint | undefined;
|
|
1199
1205
|
lastValidRound?: bigint | undefined;
|
|
1200
|
-
|
|
1206
|
+
appId: bigint;
|
|
1207
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1201
1208
|
args?: Uint8Array[] | undefined;
|
|
1202
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1203
1210
|
appReferences?: bigint[] | undefined;
|
|
@@ -1207,14 +1214,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1207
1214
|
rejectVersion?: number | undefined;
|
|
1208
1215
|
approvalProgram: string | Uint8Array;
|
|
1209
1216
|
clearStateProgram: string | Uint8Array;
|
|
1210
|
-
|
|
1211
|
-
globalInts: number;
|
|
1212
|
-
globalByteSlices: number;
|
|
1213
|
-
localInts: number;
|
|
1214
|
-
localByteSlices: number;
|
|
1215
|
-
} | undefined;
|
|
1216
|
-
extraProgramPages?: number | undefined;
|
|
1217
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1217
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1218
1218
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Register an online key.
|
package/types/app-client.d.ts
CHANGED
|
@@ -489,8 +489,8 @@ declare class AppClient {
|
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
491
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
492
|
-
sender: SendingAddress;
|
|
493
492
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
493
|
+
sender: SendingAddress;
|
|
494
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
495
495
|
note?: string | Uint8Array | undefined;
|
|
496
496
|
lease?: string | Uint8Array | undefined;
|
|
@@ -500,8 +500,7 @@ declare class AppClient {
|
|
|
500
500
|
validityWindow?: number | bigint | undefined;
|
|
501
501
|
firstValidRound?: bigint | undefined;
|
|
502
502
|
lastValidRound?: bigint | undefined;
|
|
503
|
-
|
|
504
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
503
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
505
504
|
args?: Uint8Array[] | undefined;
|
|
506
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
507
506
|
appReferences?: bigint[] | undefined;
|
|
@@ -511,9 +510,16 @@ declare class AppClient {
|
|
|
511
510
|
rejectVersion?: number | undefined;
|
|
512
511
|
approvalProgram: string | Uint8Array;
|
|
513
512
|
clearStateProgram: string | Uint8Array;
|
|
514
|
-
|
|
515
|
-
|
|
513
|
+
schema?: {
|
|
514
|
+
globalInts: number;
|
|
515
|
+
globalByteSlices: number;
|
|
516
|
+
localInts: number;
|
|
517
|
+
localByteSlices: number;
|
|
518
|
+
} | undefined;
|
|
519
|
+
extraProgramPages?: number | undefined;
|
|
520
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
516
521
|
sender: SendingAddress;
|
|
522
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
517
523
|
rekeyTo?: ReadableAddress | undefined;
|
|
518
524
|
note?: string | Uint8Array | undefined;
|
|
519
525
|
lease?: string | Uint8Array | undefined;
|
|
@@ -523,7 +529,8 @@ declare class AppClient {
|
|
|
523
529
|
validityWindow?: number | bigint | undefined;
|
|
524
530
|
firstValidRound?: bigint | undefined;
|
|
525
531
|
lastValidRound?: bigint | undefined;
|
|
526
|
-
|
|
532
|
+
appId: bigint;
|
|
533
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
527
534
|
args?: Uint8Array[] | undefined;
|
|
528
535
|
accountReferences?: ReadableAddress[] | undefined;
|
|
529
536
|
appReferences?: bigint[] | undefined;
|
|
@@ -533,14 +540,7 @@ declare class AppClient {
|
|
|
533
540
|
rejectVersion?: number | undefined;
|
|
534
541
|
approvalProgram: string | Uint8Array;
|
|
535
542
|
clearStateProgram: string | Uint8Array;
|
|
536
|
-
|
|
537
|
-
globalInts: number;
|
|
538
|
-
globalByteSlices: number;
|
|
539
|
-
localInts: number;
|
|
540
|
-
localByteSlices: number;
|
|
541
|
-
} | undefined;
|
|
542
|
-
extraProgramPages?: number | undefined;
|
|
543
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
543
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
544
544
|
}>;
|
|
545
545
|
/**
|
|
546
546
|
* Return params for an opt-in ABI call
|
|
@@ -590,8 +590,8 @@ declare class AppClient {
|
|
|
590
590
|
rejectVersion?: number | undefined;
|
|
591
591
|
method: ABIMethod;
|
|
592
592
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
593
|
-
sender: SendingAddress;
|
|
594
593
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
594
|
+
sender: SendingAddress;
|
|
595
595
|
rekeyTo?: ReadableAddress | undefined;
|
|
596
596
|
note?: string | Uint8Array | undefined;
|
|
597
597
|
lease?: string | Uint8Array | undefined;
|
|
@@ -601,8 +601,7 @@ declare class AppClient {
|
|
|
601
601
|
validityWindow?: number | bigint | undefined;
|
|
602
602
|
firstValidRound?: bigint | undefined;
|
|
603
603
|
lastValidRound?: bigint | undefined;
|
|
604
|
-
|
|
605
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
604
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
605
|
args?: Uint8Array[] | undefined;
|
|
607
606
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
607
|
appReferences?: bigint[] | undefined;
|
|
@@ -612,9 +611,16 @@ declare class AppClient {
|
|
|
612
611
|
rejectVersion?: number | undefined;
|
|
613
612
|
approvalProgram: string | Uint8Array;
|
|
614
613
|
clearStateProgram: string | Uint8Array;
|
|
615
|
-
|
|
616
|
-
|
|
614
|
+
schema?: {
|
|
615
|
+
globalInts: number;
|
|
616
|
+
globalByteSlices: number;
|
|
617
|
+
localInts: number;
|
|
618
|
+
localByteSlices: number;
|
|
619
|
+
} | undefined;
|
|
620
|
+
extraProgramPages?: number | undefined;
|
|
621
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
617
622
|
sender: SendingAddress;
|
|
623
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
618
624
|
rekeyTo?: ReadableAddress | undefined;
|
|
619
625
|
note?: string | Uint8Array | undefined;
|
|
620
626
|
lease?: string | Uint8Array | undefined;
|
|
@@ -624,7 +630,8 @@ declare class AppClient {
|
|
|
624
630
|
validityWindow?: number | bigint | undefined;
|
|
625
631
|
firstValidRound?: bigint | undefined;
|
|
626
632
|
lastValidRound?: bigint | undefined;
|
|
627
|
-
|
|
633
|
+
appId: bigint;
|
|
634
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
628
635
|
args?: Uint8Array[] | undefined;
|
|
629
636
|
accountReferences?: ReadableAddress[] | undefined;
|
|
630
637
|
appReferences?: bigint[] | undefined;
|
|
@@ -634,14 +641,7 @@ declare class AppClient {
|
|
|
634
641
|
rejectVersion?: number | undefined;
|
|
635
642
|
approvalProgram: string | Uint8Array;
|
|
636
643
|
clearStateProgram: string | Uint8Array;
|
|
637
|
-
|
|
638
|
-
globalInts: number;
|
|
639
|
-
globalByteSlices: number;
|
|
640
|
-
localInts: number;
|
|
641
|
-
localByteSlices: number;
|
|
642
|
-
} | undefined;
|
|
643
|
-
extraProgramPages?: number | undefined;
|
|
644
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
644
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
645
645
|
}>;
|
|
646
646
|
/**
|
|
647
647
|
* Return params for an delete ABI call
|
|
@@ -691,8 +691,8 @@ declare class AppClient {
|
|
|
691
691
|
rejectVersion?: number | undefined;
|
|
692
692
|
method: ABIMethod;
|
|
693
693
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
694
|
-
sender: SendingAddress;
|
|
695
694
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
695
|
+
sender: SendingAddress;
|
|
696
696
|
rekeyTo?: ReadableAddress | undefined;
|
|
697
697
|
note?: string | Uint8Array | undefined;
|
|
698
698
|
lease?: string | Uint8Array | undefined;
|
|
@@ -702,8 +702,7 @@ declare class AppClient {
|
|
|
702
702
|
validityWindow?: number | bigint | undefined;
|
|
703
703
|
firstValidRound?: bigint | undefined;
|
|
704
704
|
lastValidRound?: bigint | undefined;
|
|
705
|
-
|
|
706
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
705
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
707
706
|
args?: Uint8Array[] | undefined;
|
|
708
707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
709
708
|
appReferences?: bigint[] | undefined;
|
|
@@ -713,9 +712,16 @@ declare class AppClient {
|
|
|
713
712
|
rejectVersion?: number | undefined;
|
|
714
713
|
approvalProgram: string | Uint8Array;
|
|
715
714
|
clearStateProgram: string | Uint8Array;
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
schema?: {
|
|
716
|
+
globalInts: number;
|
|
717
|
+
globalByteSlices: number;
|
|
718
|
+
localInts: number;
|
|
719
|
+
localByteSlices: number;
|
|
720
|
+
} | undefined;
|
|
721
|
+
extraProgramPages?: number | undefined;
|
|
722
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
718
723
|
sender: SendingAddress;
|
|
724
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
719
725
|
rekeyTo?: ReadableAddress | undefined;
|
|
720
726
|
note?: string | Uint8Array | undefined;
|
|
721
727
|
lease?: string | Uint8Array | undefined;
|
|
@@ -725,7 +731,8 @@ declare class AppClient {
|
|
|
725
731
|
validityWindow?: number | bigint | undefined;
|
|
726
732
|
firstValidRound?: bigint | undefined;
|
|
727
733
|
lastValidRound?: bigint | undefined;
|
|
728
|
-
|
|
734
|
+
appId: bigint;
|
|
735
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
729
736
|
args?: Uint8Array[] | undefined;
|
|
730
737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
731
738
|
appReferences?: bigint[] | undefined;
|
|
@@ -735,14 +742,7 @@ declare class AppClient {
|
|
|
735
742
|
rejectVersion?: number | undefined;
|
|
736
743
|
approvalProgram: string | Uint8Array;
|
|
737
744
|
clearStateProgram: string | Uint8Array;
|
|
738
|
-
|
|
739
|
-
globalInts: number;
|
|
740
|
-
globalByteSlices: number;
|
|
741
|
-
localInts: number;
|
|
742
|
-
localByteSlices: number;
|
|
743
|
-
} | undefined;
|
|
744
|
-
extraProgramPages?: number | undefined;
|
|
745
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
745
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
746
746
|
}>;
|
|
747
747
|
/** Return params for an close out ABI call
|
|
748
748
|
* @param params The parameters for the close out ABI method call
|
|
@@ -791,8 +791,8 @@ declare class AppClient {
|
|
|
791
791
|
rejectVersion?: number | undefined;
|
|
792
792
|
method: ABIMethod;
|
|
793
793
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
794
|
-
sender: SendingAddress;
|
|
795
794
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
795
|
+
sender: SendingAddress;
|
|
796
796
|
rekeyTo?: ReadableAddress | undefined;
|
|
797
797
|
note?: string | Uint8Array | undefined;
|
|
798
798
|
lease?: string | Uint8Array | undefined;
|
|
@@ -802,8 +802,7 @@ declare class AppClient {
|
|
|
802
802
|
validityWindow?: number | bigint | undefined;
|
|
803
803
|
firstValidRound?: bigint | undefined;
|
|
804
804
|
lastValidRound?: bigint | undefined;
|
|
805
|
-
|
|
806
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
805
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
807
806
|
args?: Uint8Array[] | undefined;
|
|
808
807
|
accountReferences?: ReadableAddress[] | undefined;
|
|
809
808
|
appReferences?: bigint[] | undefined;
|
|
@@ -813,9 +812,16 @@ declare class AppClient {
|
|
|
813
812
|
rejectVersion?: number | undefined;
|
|
814
813
|
approvalProgram: string | Uint8Array;
|
|
815
814
|
clearStateProgram: string | Uint8Array;
|
|
816
|
-
|
|
817
|
-
|
|
815
|
+
schema?: {
|
|
816
|
+
globalInts: number;
|
|
817
|
+
globalByteSlices: number;
|
|
818
|
+
localInts: number;
|
|
819
|
+
localByteSlices: number;
|
|
820
|
+
} | undefined;
|
|
821
|
+
extraProgramPages?: number | undefined;
|
|
822
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
818
823
|
sender: SendingAddress;
|
|
824
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
819
825
|
rekeyTo?: ReadableAddress | undefined;
|
|
820
826
|
note?: string | Uint8Array | undefined;
|
|
821
827
|
lease?: string | Uint8Array | undefined;
|
|
@@ -825,7 +831,8 @@ declare class AppClient {
|
|
|
825
831
|
validityWindow?: number | bigint | undefined;
|
|
826
832
|
firstValidRound?: bigint | undefined;
|
|
827
833
|
lastValidRound?: bigint | undefined;
|
|
828
|
-
|
|
834
|
+
appId: bigint;
|
|
835
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
829
836
|
args?: Uint8Array[] | undefined;
|
|
830
837
|
accountReferences?: ReadableAddress[] | undefined;
|
|
831
838
|
appReferences?: bigint[] | undefined;
|
|
@@ -835,14 +842,7 @@ declare class AppClient {
|
|
|
835
842
|
rejectVersion?: number | undefined;
|
|
836
843
|
approvalProgram: string | Uint8Array;
|
|
837
844
|
clearStateProgram: string | Uint8Array;
|
|
838
|
-
|
|
839
|
-
globalInts: number;
|
|
840
|
-
globalByteSlices: number;
|
|
841
|
-
localInts: number;
|
|
842
|
-
localByteSlices: number;
|
|
843
|
-
} | undefined;
|
|
844
|
-
extraProgramPages?: number | undefined;
|
|
845
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
845
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
846
846
|
}>;
|
|
847
847
|
/** Return params for an ABI call
|
|
848
848
|
* @param params The parameters for the ABI method call
|
|
@@ -891,8 +891,8 @@ declare class AppClient {
|
|
|
891
891
|
rejectVersion?: number | undefined;
|
|
892
892
|
method: ABIMethod;
|
|
893
893
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
894
|
-
sender: SendingAddress;
|
|
895
894
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
895
|
+
sender: SendingAddress;
|
|
896
896
|
rekeyTo?: ReadableAddress | undefined;
|
|
897
897
|
note?: string | Uint8Array | undefined;
|
|
898
898
|
lease?: string | Uint8Array | undefined;
|
|
@@ -902,8 +902,7 @@ declare class AppClient {
|
|
|
902
902
|
validityWindow?: number | bigint | undefined;
|
|
903
903
|
firstValidRound?: bigint | undefined;
|
|
904
904
|
lastValidRound?: bigint | undefined;
|
|
905
|
-
|
|
906
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
905
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
907
906
|
args?: Uint8Array[] | undefined;
|
|
908
907
|
accountReferences?: ReadableAddress[] | undefined;
|
|
909
908
|
appReferences?: bigint[] | undefined;
|
|
@@ -913,9 +912,16 @@ declare class AppClient {
|
|
|
913
912
|
rejectVersion?: number | undefined;
|
|
914
913
|
approvalProgram: string | Uint8Array;
|
|
915
914
|
clearStateProgram: string | Uint8Array;
|
|
916
|
-
|
|
917
|
-
|
|
915
|
+
schema?: {
|
|
916
|
+
globalInts: number;
|
|
917
|
+
globalByteSlices: number;
|
|
918
|
+
localInts: number;
|
|
919
|
+
localByteSlices: number;
|
|
920
|
+
} | undefined;
|
|
921
|
+
extraProgramPages?: number | undefined;
|
|
922
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
918
923
|
sender: SendingAddress;
|
|
924
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
919
925
|
rekeyTo?: ReadableAddress | undefined;
|
|
920
926
|
note?: string | Uint8Array | undefined;
|
|
921
927
|
lease?: string | Uint8Array | undefined;
|
|
@@ -925,7 +931,8 @@ declare class AppClient {
|
|
|
925
931
|
validityWindow?: number | bigint | undefined;
|
|
926
932
|
firstValidRound?: bigint | undefined;
|
|
927
933
|
lastValidRound?: bigint | undefined;
|
|
928
|
-
|
|
934
|
+
appId: bigint;
|
|
935
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
929
936
|
args?: Uint8Array[] | undefined;
|
|
930
937
|
accountReferences?: ReadableAddress[] | undefined;
|
|
931
938
|
appReferences?: bigint[] | undefined;
|
|
@@ -935,14 +942,7 @@ declare class AppClient {
|
|
|
935
942
|
rejectVersion?: number | undefined;
|
|
936
943
|
approvalProgram: string | Uint8Array;
|
|
937
944
|
clearStateProgram: string | Uint8Array;
|
|
938
|
-
|
|
939
|
-
globalInts: number;
|
|
940
|
-
globalByteSlices: number;
|
|
941
|
-
localInts: number;
|
|
942
|
-
localByteSlices: number;
|
|
943
|
-
} | undefined;
|
|
944
|
-
extraProgramPages?: number | undefined;
|
|
945
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
945
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
946
946
|
}>;
|
|
947
947
|
} & {
|
|
948
948
|
/** Interact with bare (raw) call parameters */bare: {
|