@algorandfoundation/algokit-utils 10.0.0-alpha.22 → 10.0.0-alpha.23
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/transactions/method-call.js +7 -6
- package/transactions/method-call.js.map +1 -1
- package/transactions/method-call.mjs +7 -6
- package/transactions/method-call.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +65 -65
- package/types/algorand-client-transaction-sender.d.ts +65 -65
- package/types/app-client.d.ts +75 -75
- package/types/app-factory.d.ts +49 -49
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
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
493
492
|
sender: SendingAddress;
|
|
493
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
494
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
495
495
|
note?: string | Uint8Array | undefined;
|
|
496
496
|
lease?: string | Uint8Array | undefined;
|
|
@@ -500,7 +500,8 @@ declare class AppClient {
|
|
|
500
500
|
validityWindow?: number | bigint | undefined;
|
|
501
501
|
firstValidRound?: bigint | undefined;
|
|
502
502
|
lastValidRound?: bigint | undefined;
|
|
503
|
-
|
|
503
|
+
appId: bigint;
|
|
504
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
504
505
|
args?: Uint8Array[] | undefined;
|
|
505
506
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
507
|
appReferences?: bigint[] | undefined;
|
|
@@ -508,19 +509,11 @@ declare class AppClient {
|
|
|
508
509
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
509
510
|
accessReferences?: ResourceReference[] | undefined;
|
|
510
511
|
rejectVersion?: number | undefined;
|
|
511
|
-
appId?: 0 | undefined;
|
|
512
512
|
approvalProgram: string | Uint8Array;
|
|
513
513
|
clearStateProgram: string | Uint8Array;
|
|
514
|
-
|
|
515
|
-
globalInts: number;
|
|
516
|
-
globalByteSlices: number;
|
|
517
|
-
localInts: number;
|
|
518
|
-
localByteSlices: number;
|
|
519
|
-
} | undefined;
|
|
520
|
-
extraProgramPages?: number | undefined;
|
|
521
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
522
|
-
sender: SendingAddress;
|
|
514
|
+
}> | AppMethodCall<{
|
|
523
515
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
516
|
+
sender: SendingAddress;
|
|
524
517
|
rekeyTo?: ReadableAddress | undefined;
|
|
525
518
|
note?: string | Uint8Array | undefined;
|
|
526
519
|
lease?: string | Uint8Array | undefined;
|
|
@@ -530,18 +523,25 @@ declare class AppClient {
|
|
|
530
523
|
validityWindow?: number | bigint | undefined;
|
|
531
524
|
firstValidRound?: bigint | undefined;
|
|
532
525
|
lastValidRound?: bigint | undefined;
|
|
533
|
-
appId: bigint;
|
|
534
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
535
526
|
args?: Uint8Array[] | undefined;
|
|
527
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
536
528
|
accountReferences?: ReadableAddress[] | undefined;
|
|
537
529
|
appReferences?: bigint[] | undefined;
|
|
538
530
|
assetReferences?: bigint[] | undefined;
|
|
539
531
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
540
532
|
accessReferences?: ResourceReference[] | undefined;
|
|
541
533
|
rejectVersion?: number | undefined;
|
|
534
|
+
appId?: 0 | undefined;
|
|
542
535
|
approvalProgram: string | Uint8Array;
|
|
543
536
|
clearStateProgram: string | Uint8Array;
|
|
544
|
-
|
|
537
|
+
schema?: {
|
|
538
|
+
globalInts: number;
|
|
539
|
+
globalByteSlices: number;
|
|
540
|
+
localInts: number;
|
|
541
|
+
localByteSlices: number;
|
|
542
|
+
} | undefined;
|
|
543
|
+
extraProgramPages?: number | undefined;
|
|
544
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -591,8 +591,8 @@ declare class AppClient {
|
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
593
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
595
594
|
sender: SendingAddress;
|
|
595
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
597
597
|
note?: string | Uint8Array | undefined;
|
|
598
598
|
lease?: string | Uint8Array | undefined;
|
|
@@ -602,7 +602,8 @@ declare class AppClient {
|
|
|
602
602
|
validityWindow?: number | bigint | undefined;
|
|
603
603
|
firstValidRound?: bigint | undefined;
|
|
604
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
605
|
+
appId: bigint;
|
|
606
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
606
607
|
args?: Uint8Array[] | undefined;
|
|
607
608
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
609
|
appReferences?: bigint[] | undefined;
|
|
@@ -610,19 +611,11 @@ declare class AppClient {
|
|
|
610
611
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
611
612
|
accessReferences?: ResourceReference[] | undefined;
|
|
612
613
|
rejectVersion?: number | undefined;
|
|
613
|
-
appId?: 0 | undefined;
|
|
614
614
|
approvalProgram: string | Uint8Array;
|
|
615
615
|
clearStateProgram: string | Uint8Array;
|
|
616
|
-
|
|
617
|
-
globalInts: number;
|
|
618
|
-
globalByteSlices: number;
|
|
619
|
-
localInts: number;
|
|
620
|
-
localByteSlices: number;
|
|
621
|
-
} | undefined;
|
|
622
|
-
extraProgramPages?: number | undefined;
|
|
623
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
624
|
-
sender: SendingAddress;
|
|
616
|
+
}> | AppMethodCall<{
|
|
625
617
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
618
|
+
sender: SendingAddress;
|
|
626
619
|
rekeyTo?: ReadableAddress | undefined;
|
|
627
620
|
note?: string | Uint8Array | undefined;
|
|
628
621
|
lease?: string | Uint8Array | undefined;
|
|
@@ -632,18 +625,25 @@ declare class AppClient {
|
|
|
632
625
|
validityWindow?: number | bigint | undefined;
|
|
633
626
|
firstValidRound?: bigint | undefined;
|
|
634
627
|
lastValidRound?: bigint | undefined;
|
|
635
|
-
appId: bigint;
|
|
636
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
637
628
|
args?: Uint8Array[] | undefined;
|
|
629
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
638
630
|
accountReferences?: ReadableAddress[] | undefined;
|
|
639
631
|
appReferences?: bigint[] | undefined;
|
|
640
632
|
assetReferences?: bigint[] | undefined;
|
|
641
633
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
642
634
|
accessReferences?: ResourceReference[] | undefined;
|
|
643
635
|
rejectVersion?: number | undefined;
|
|
636
|
+
appId?: 0 | undefined;
|
|
644
637
|
approvalProgram: string | Uint8Array;
|
|
645
638
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
|
|
639
|
+
schema?: {
|
|
640
|
+
globalInts: number;
|
|
641
|
+
globalByteSlices: number;
|
|
642
|
+
localInts: number;
|
|
643
|
+
localByteSlices: number;
|
|
644
|
+
} | undefined;
|
|
645
|
+
extraProgramPages?: number | undefined;
|
|
646
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
647
647
|
}>;
|
|
648
648
|
/**
|
|
649
649
|
* Return params for an delete ABI call
|
|
@@ -693,8 +693,8 @@ declare class AppClient {
|
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
695
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
696
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
697
696
|
sender: SendingAddress;
|
|
697
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
698
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
699
699
|
note?: string | Uint8Array | undefined;
|
|
700
700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -704,7 +704,8 @@ declare class AppClient {
|
|
|
704
704
|
validityWindow?: number | bigint | undefined;
|
|
705
705
|
firstValidRound?: bigint | undefined;
|
|
706
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
-
|
|
707
|
+
appId: bigint;
|
|
708
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
708
709
|
args?: Uint8Array[] | undefined;
|
|
709
710
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
711
|
appReferences?: bigint[] | undefined;
|
|
@@ -712,19 +713,11 @@ declare class AppClient {
|
|
|
712
713
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
713
714
|
accessReferences?: ResourceReference[] | undefined;
|
|
714
715
|
rejectVersion?: number | undefined;
|
|
715
|
-
appId?: 0 | undefined;
|
|
716
716
|
approvalProgram: string | Uint8Array;
|
|
717
717
|
clearStateProgram: string | Uint8Array;
|
|
718
|
-
|
|
719
|
-
globalInts: number;
|
|
720
|
-
globalByteSlices: number;
|
|
721
|
-
localInts: number;
|
|
722
|
-
localByteSlices: number;
|
|
723
|
-
} | undefined;
|
|
724
|
-
extraProgramPages?: number | undefined;
|
|
725
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
726
|
-
sender: SendingAddress;
|
|
718
|
+
}> | AppMethodCall<{
|
|
727
719
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
720
|
+
sender: SendingAddress;
|
|
728
721
|
rekeyTo?: ReadableAddress | undefined;
|
|
729
722
|
note?: string | Uint8Array | undefined;
|
|
730
723
|
lease?: string | Uint8Array | undefined;
|
|
@@ -734,18 +727,25 @@ declare class AppClient {
|
|
|
734
727
|
validityWindow?: number | bigint | undefined;
|
|
735
728
|
firstValidRound?: bigint | undefined;
|
|
736
729
|
lastValidRound?: bigint | undefined;
|
|
737
|
-
appId: bigint;
|
|
738
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
739
730
|
args?: Uint8Array[] | undefined;
|
|
731
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
740
732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
741
733
|
appReferences?: bigint[] | undefined;
|
|
742
734
|
assetReferences?: bigint[] | undefined;
|
|
743
735
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
744
736
|
accessReferences?: ResourceReference[] | undefined;
|
|
745
737
|
rejectVersion?: number | undefined;
|
|
738
|
+
appId?: 0 | undefined;
|
|
746
739
|
approvalProgram: string | Uint8Array;
|
|
747
740
|
clearStateProgram: string | Uint8Array;
|
|
748
|
-
|
|
741
|
+
schema?: {
|
|
742
|
+
globalInts: number;
|
|
743
|
+
globalByteSlices: number;
|
|
744
|
+
localInts: number;
|
|
745
|
+
localByteSlices: number;
|
|
746
|
+
} | undefined;
|
|
747
|
+
extraProgramPages?: number | undefined;
|
|
748
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
@@ -794,8 +794,8 @@ declare class AppClient {
|
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
796
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
797
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
798
797
|
sender: SendingAddress;
|
|
798
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
799
799
|
rekeyTo?: ReadableAddress | undefined;
|
|
800
800
|
note?: string | Uint8Array | undefined;
|
|
801
801
|
lease?: string | Uint8Array | undefined;
|
|
@@ -805,7 +805,8 @@ declare class AppClient {
|
|
|
805
805
|
validityWindow?: number | bigint | undefined;
|
|
806
806
|
firstValidRound?: bigint | undefined;
|
|
807
807
|
lastValidRound?: bigint | undefined;
|
|
808
|
-
|
|
808
|
+
appId: bigint;
|
|
809
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
809
810
|
args?: Uint8Array[] | undefined;
|
|
810
811
|
accountReferences?: ReadableAddress[] | undefined;
|
|
811
812
|
appReferences?: bigint[] | undefined;
|
|
@@ -813,19 +814,11 @@ declare class AppClient {
|
|
|
813
814
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
814
815
|
accessReferences?: ResourceReference[] | undefined;
|
|
815
816
|
rejectVersion?: number | undefined;
|
|
816
|
-
appId?: 0 | undefined;
|
|
817
817
|
approvalProgram: string | Uint8Array;
|
|
818
818
|
clearStateProgram: string | Uint8Array;
|
|
819
|
-
|
|
820
|
-
globalInts: number;
|
|
821
|
-
globalByteSlices: number;
|
|
822
|
-
localInts: number;
|
|
823
|
-
localByteSlices: number;
|
|
824
|
-
} | undefined;
|
|
825
|
-
extraProgramPages?: number | undefined;
|
|
826
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
827
|
-
sender: SendingAddress;
|
|
819
|
+
}> | AppMethodCall<{
|
|
828
820
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
821
|
+
sender: SendingAddress;
|
|
829
822
|
rekeyTo?: ReadableAddress | undefined;
|
|
830
823
|
note?: string | Uint8Array | undefined;
|
|
831
824
|
lease?: string | Uint8Array | undefined;
|
|
@@ -835,18 +828,25 @@ declare class AppClient {
|
|
|
835
828
|
validityWindow?: number | bigint | undefined;
|
|
836
829
|
firstValidRound?: bigint | undefined;
|
|
837
830
|
lastValidRound?: bigint | undefined;
|
|
838
|
-
appId: bigint;
|
|
839
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
840
831
|
args?: Uint8Array[] | undefined;
|
|
832
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
841
833
|
accountReferences?: ReadableAddress[] | undefined;
|
|
842
834
|
appReferences?: bigint[] | undefined;
|
|
843
835
|
assetReferences?: bigint[] | undefined;
|
|
844
836
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
845
837
|
accessReferences?: ResourceReference[] | undefined;
|
|
846
838
|
rejectVersion?: number | undefined;
|
|
839
|
+
appId?: 0 | undefined;
|
|
847
840
|
approvalProgram: string | Uint8Array;
|
|
848
841
|
clearStateProgram: string | Uint8Array;
|
|
849
|
-
|
|
842
|
+
schema?: {
|
|
843
|
+
globalInts: number;
|
|
844
|
+
globalByteSlices: number;
|
|
845
|
+
localInts: number;
|
|
846
|
+
localByteSlices: number;
|
|
847
|
+
} | undefined;
|
|
848
|
+
extraProgramPages?: number | undefined;
|
|
849
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
@@ -895,8 +895,8 @@ declare class AppClient {
|
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
897
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
898
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
899
898
|
sender: SendingAddress;
|
|
899
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
900
900
|
rekeyTo?: ReadableAddress | undefined;
|
|
901
901
|
note?: string | Uint8Array | undefined;
|
|
902
902
|
lease?: string | Uint8Array | undefined;
|
|
@@ -906,7 +906,8 @@ declare class AppClient {
|
|
|
906
906
|
validityWindow?: number | bigint | undefined;
|
|
907
907
|
firstValidRound?: bigint | undefined;
|
|
908
908
|
lastValidRound?: bigint | undefined;
|
|
909
|
-
|
|
909
|
+
appId: bigint;
|
|
910
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
910
911
|
args?: Uint8Array[] | undefined;
|
|
911
912
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
913
|
appReferences?: bigint[] | undefined;
|
|
@@ -914,19 +915,11 @@ declare class AppClient {
|
|
|
914
915
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
915
916
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
917
|
rejectVersion?: number | undefined;
|
|
917
|
-
appId?: 0 | undefined;
|
|
918
918
|
approvalProgram: string | Uint8Array;
|
|
919
919
|
clearStateProgram: string | Uint8Array;
|
|
920
|
-
|
|
921
|
-
globalInts: number;
|
|
922
|
-
globalByteSlices: number;
|
|
923
|
-
localInts: number;
|
|
924
|
-
localByteSlices: number;
|
|
925
|
-
} | undefined;
|
|
926
|
-
extraProgramPages?: number | undefined;
|
|
927
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
928
|
-
sender: SendingAddress;
|
|
920
|
+
}> | AppMethodCall<{
|
|
929
921
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
922
|
+
sender: SendingAddress;
|
|
930
923
|
rekeyTo?: ReadableAddress | undefined;
|
|
931
924
|
note?: string | Uint8Array | undefined;
|
|
932
925
|
lease?: string | Uint8Array | undefined;
|
|
@@ -936,18 +929,25 @@ declare class AppClient {
|
|
|
936
929
|
validityWindow?: number | bigint | undefined;
|
|
937
930
|
firstValidRound?: bigint | undefined;
|
|
938
931
|
lastValidRound?: bigint | undefined;
|
|
939
|
-
appId: bigint;
|
|
940
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
941
932
|
args?: Uint8Array[] | undefined;
|
|
933
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
942
934
|
accountReferences?: ReadableAddress[] | undefined;
|
|
943
935
|
appReferences?: bigint[] | undefined;
|
|
944
936
|
assetReferences?: bigint[] | undefined;
|
|
945
937
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
946
938
|
accessReferences?: ResourceReference[] | undefined;
|
|
947
939
|
rejectVersion?: number | undefined;
|
|
940
|
+
appId?: 0 | undefined;
|
|
948
941
|
approvalProgram: string | Uint8Array;
|
|
949
942
|
clearStateProgram: string | Uint8Array;
|
|
950
|
-
|
|
943
|
+
schema?: {
|
|
944
|
+
globalInts: number;
|
|
945
|
+
globalByteSlices: number;
|
|
946
|
+
localInts: number;
|
|
947
|
+
localByteSlices: number;
|
|
948
|
+
} | undefined;
|
|
949
|
+
extraProgramPages?: number | undefined;
|
|
950
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
951
951
|
}>;
|
|
952
952
|
} & {
|
|
953
953
|
/** Interact with bare (raw) call parameters */bare: {
|
package/types/app-factory.d.ts
CHANGED
|
@@ -247,8 +247,8 @@ declare class AppFactory {
|
|
|
247
247
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
248
248
|
method: ABIMethod;
|
|
249
249
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
250
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
251
250
|
sender: SendingAddress;
|
|
251
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
252
252
|
rekeyTo?: ReadableAddress | undefined;
|
|
253
253
|
note?: string | Uint8Array | undefined;
|
|
254
254
|
lease?: string | Uint8Array | undefined;
|
|
@@ -258,7 +258,8 @@ declare class AppFactory {
|
|
|
258
258
|
validityWindow?: number | bigint | undefined;
|
|
259
259
|
firstValidRound?: bigint | undefined;
|
|
260
260
|
lastValidRound?: bigint | undefined;
|
|
261
|
-
|
|
261
|
+
appId: bigint;
|
|
262
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
262
263
|
args?: Uint8Array[] | undefined;
|
|
263
264
|
accountReferences?: ReadableAddress[] | undefined;
|
|
264
265
|
appReferences?: bigint[] | undefined;
|
|
@@ -266,19 +267,11 @@ declare class AppFactory {
|
|
|
266
267
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
267
268
|
accessReferences?: ResourceReference[] | undefined;
|
|
268
269
|
rejectVersion?: number | undefined;
|
|
269
|
-
appId?: 0 | undefined;
|
|
270
270
|
approvalProgram: string | Uint8Array;
|
|
271
271
|
clearStateProgram: string | Uint8Array;
|
|
272
|
-
|
|
273
|
-
globalInts: number;
|
|
274
|
-
globalByteSlices: number;
|
|
275
|
-
localInts: number;
|
|
276
|
-
localByteSlices: number;
|
|
277
|
-
} | undefined;
|
|
278
|
-
extraProgramPages?: number | undefined;
|
|
279
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
280
|
-
sender: SendingAddress;
|
|
272
|
+
}> | AppMethodCall<{
|
|
281
273
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
274
|
+
sender: SendingAddress;
|
|
282
275
|
rekeyTo?: ReadableAddress | undefined;
|
|
283
276
|
note?: string | Uint8Array | undefined;
|
|
284
277
|
lease?: string | Uint8Array | undefined;
|
|
@@ -288,18 +281,25 @@ declare class AppFactory {
|
|
|
288
281
|
validityWindow?: number | bigint | undefined;
|
|
289
282
|
firstValidRound?: bigint | undefined;
|
|
290
283
|
lastValidRound?: bigint | undefined;
|
|
291
|
-
appId: bigint;
|
|
292
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
293
284
|
args?: Uint8Array[] | undefined;
|
|
285
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
294
286
|
accountReferences?: ReadableAddress[] | undefined;
|
|
295
287
|
appReferences?: bigint[] | undefined;
|
|
296
288
|
assetReferences?: bigint[] | undefined;
|
|
297
289
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
298
290
|
accessReferences?: ResourceReference[] | undefined;
|
|
299
291
|
rejectVersion?: number | undefined;
|
|
292
|
+
appId?: 0 | undefined;
|
|
300
293
|
approvalProgram: string | Uint8Array;
|
|
301
294
|
clearStateProgram: string | Uint8Array;
|
|
302
|
-
|
|
295
|
+
schema?: {
|
|
296
|
+
globalInts: number;
|
|
297
|
+
globalByteSlices: number;
|
|
298
|
+
localInts: number;
|
|
299
|
+
localByteSlices: number;
|
|
300
|
+
} | undefined;
|
|
301
|
+
extraProgramPages?: number | undefined;
|
|
302
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
303
303
|
onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
|
|
304
304
|
}>;
|
|
305
305
|
/** Return params for a deployment update ABI call */
|
|
@@ -350,8 +350,8 @@ declare class AppFactory {
|
|
|
350
350
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
351
|
method: ABIMethod;
|
|
352
352
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
353
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
354
353
|
sender: SendingAddress;
|
|
354
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
355
355
|
rekeyTo?: ReadableAddress | undefined;
|
|
356
356
|
note?: string | Uint8Array | undefined;
|
|
357
357
|
lease?: string | Uint8Array | undefined;
|
|
@@ -361,7 +361,8 @@ declare class AppFactory {
|
|
|
361
361
|
validityWindow?: number | bigint | undefined;
|
|
362
362
|
firstValidRound?: bigint | undefined;
|
|
363
363
|
lastValidRound?: bigint | undefined;
|
|
364
|
-
|
|
364
|
+
appId: bigint;
|
|
365
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
365
366
|
args?: Uint8Array[] | undefined;
|
|
366
367
|
accountReferences?: ReadableAddress[] | undefined;
|
|
367
368
|
appReferences?: bigint[] | undefined;
|
|
@@ -369,19 +370,11 @@ declare class AppFactory {
|
|
|
369
370
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
370
371
|
accessReferences?: ResourceReference[] | undefined;
|
|
371
372
|
rejectVersion?: number | undefined;
|
|
372
|
-
appId?: 0 | undefined;
|
|
373
373
|
approvalProgram: string | Uint8Array;
|
|
374
374
|
clearStateProgram: string | Uint8Array;
|
|
375
|
-
|
|
376
|
-
globalInts: number;
|
|
377
|
-
globalByteSlices: number;
|
|
378
|
-
localInts: number;
|
|
379
|
-
localByteSlices: number;
|
|
380
|
-
} | undefined;
|
|
381
|
-
extraProgramPages?: number | undefined;
|
|
382
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
383
|
-
sender: SendingAddress;
|
|
375
|
+
}> | AppMethodCall<{
|
|
384
376
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
377
|
+
sender: SendingAddress;
|
|
385
378
|
rekeyTo?: ReadableAddress | undefined;
|
|
386
379
|
note?: string | Uint8Array | undefined;
|
|
387
380
|
lease?: string | Uint8Array | undefined;
|
|
@@ -391,18 +384,25 @@ declare class AppFactory {
|
|
|
391
384
|
validityWindow?: number | bigint | undefined;
|
|
392
385
|
firstValidRound?: bigint | undefined;
|
|
393
386
|
lastValidRound?: bigint | undefined;
|
|
394
|
-
appId: bigint;
|
|
395
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
396
387
|
args?: Uint8Array[] | undefined;
|
|
388
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
397
389
|
accountReferences?: ReadableAddress[] | undefined;
|
|
398
390
|
appReferences?: bigint[] | undefined;
|
|
399
391
|
assetReferences?: bigint[] | undefined;
|
|
400
392
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
401
393
|
accessReferences?: ResourceReference[] | undefined;
|
|
402
394
|
rejectVersion?: number | undefined;
|
|
395
|
+
appId?: 0 | undefined;
|
|
403
396
|
approvalProgram: string | Uint8Array;
|
|
404
397
|
clearStateProgram: string | Uint8Array;
|
|
405
|
-
|
|
398
|
+
schema?: {
|
|
399
|
+
globalInts: number;
|
|
400
|
+
globalByteSlices: number;
|
|
401
|
+
localInts: number;
|
|
402
|
+
localByteSlices: number;
|
|
403
|
+
} | undefined;
|
|
404
|
+
extraProgramPages?: number | undefined;
|
|
405
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
406
406
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
407
407
|
};
|
|
408
408
|
/** Return params for a deployment delete ABI call */
|
|
@@ -453,8 +453,8 @@ declare class AppFactory {
|
|
|
453
453
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
454
454
|
method: ABIMethod;
|
|
455
455
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
456
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
457
456
|
sender: SendingAddress;
|
|
457
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
458
458
|
rekeyTo?: ReadableAddress | undefined;
|
|
459
459
|
note?: string | Uint8Array | undefined;
|
|
460
460
|
lease?: string | Uint8Array | undefined;
|
|
@@ -464,7 +464,8 @@ declare class AppFactory {
|
|
|
464
464
|
validityWindow?: number | bigint | undefined;
|
|
465
465
|
firstValidRound?: bigint | undefined;
|
|
466
466
|
lastValidRound?: bigint | undefined;
|
|
467
|
-
|
|
467
|
+
appId: bigint;
|
|
468
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
468
469
|
args?: Uint8Array[] | undefined;
|
|
469
470
|
accountReferences?: ReadableAddress[] | undefined;
|
|
470
471
|
appReferences?: bigint[] | undefined;
|
|
@@ -472,19 +473,11 @@ declare class AppFactory {
|
|
|
472
473
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
473
474
|
accessReferences?: ResourceReference[] | undefined;
|
|
474
475
|
rejectVersion?: number | undefined;
|
|
475
|
-
appId?: 0 | undefined;
|
|
476
476
|
approvalProgram: string | Uint8Array;
|
|
477
477
|
clearStateProgram: string | Uint8Array;
|
|
478
|
-
|
|
479
|
-
globalInts: number;
|
|
480
|
-
globalByteSlices: number;
|
|
481
|
-
localInts: number;
|
|
482
|
-
localByteSlices: number;
|
|
483
|
-
} | undefined;
|
|
484
|
-
extraProgramPages?: number | undefined;
|
|
485
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
486
|
-
sender: SendingAddress;
|
|
478
|
+
}> | AppMethodCall<{
|
|
487
479
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
480
|
+
sender: SendingAddress;
|
|
488
481
|
rekeyTo?: ReadableAddress | undefined;
|
|
489
482
|
note?: string | Uint8Array | undefined;
|
|
490
483
|
lease?: string | Uint8Array | undefined;
|
|
@@ -494,18 +487,25 @@ declare class AppFactory {
|
|
|
494
487
|
validityWindow?: number | bigint | undefined;
|
|
495
488
|
firstValidRound?: bigint | undefined;
|
|
496
489
|
lastValidRound?: bigint | undefined;
|
|
497
|
-
appId: bigint;
|
|
498
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
499
490
|
args?: Uint8Array[] | undefined;
|
|
491
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
500
492
|
accountReferences?: ReadableAddress[] | undefined;
|
|
501
493
|
appReferences?: bigint[] | undefined;
|
|
502
494
|
assetReferences?: bigint[] | undefined;
|
|
503
495
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
504
496
|
accessReferences?: ResourceReference[] | undefined;
|
|
505
497
|
rejectVersion?: number | undefined;
|
|
498
|
+
appId?: 0 | undefined;
|
|
506
499
|
approvalProgram: string | Uint8Array;
|
|
507
500
|
clearStateProgram: string | Uint8Array;
|
|
508
|
-
|
|
501
|
+
schema?: {
|
|
502
|
+
globalInts: number;
|
|
503
|
+
globalByteSlices: number;
|
|
504
|
+
localInts: number;
|
|
505
|
+
localByteSlices: number;
|
|
506
|
+
} | undefined;
|
|
507
|
+
extraProgramPages?: number | undefined;
|
|
508
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
509
509
|
onComplete: OnApplicationComplete.DeleteApplication;
|
|
510
510
|
};
|
|
511
511
|
bare: {
|
|
@@ -802,14 +802,14 @@ declare class AppFactory {
|
|
|
802
802
|
compiledApproval?: CompiledTeal | undefined;
|
|
803
803
|
compiledClear?: CompiledTeal | undefined;
|
|
804
804
|
operationPerformed: "create";
|
|
805
|
-
updatable?: boolean | undefined;
|
|
806
|
-
deletable?: boolean | undefined;
|
|
807
805
|
createdRound: bigint;
|
|
808
806
|
updatedRound: bigint;
|
|
809
807
|
createdMetadata: AppDeployMetadata;
|
|
810
808
|
deleted: boolean;
|
|
811
809
|
name: string;
|
|
812
810
|
version: string;
|
|
811
|
+
deletable?: boolean | undefined;
|
|
812
|
+
updatable?: boolean | undefined;
|
|
813
813
|
groupId: string | undefined;
|
|
814
814
|
txIds: string[];
|
|
815
815
|
returns?: ABIReturn[] | undefined;
|
|
@@ -848,14 +848,14 @@ declare class AppFactory {
|
|
|
848
848
|
compiledApproval?: CompiledTeal | undefined;
|
|
849
849
|
compiledClear?: CompiledTeal | undefined;
|
|
850
850
|
operationPerformed: "replace";
|
|
851
|
-
updatable?: boolean | undefined;
|
|
852
|
-
deletable?: boolean | undefined;
|
|
853
851
|
createdRound: bigint;
|
|
854
852
|
updatedRound: bigint;
|
|
855
853
|
createdMetadata: AppDeployMetadata;
|
|
856
854
|
deleted: boolean;
|
|
857
855
|
name: string;
|
|
858
856
|
version: string;
|
|
857
|
+
deletable?: boolean | undefined;
|
|
858
|
+
updatable?: boolean | undefined;
|
|
859
859
|
groupId: string | undefined;
|
|
860
860
|
txIds: string[];
|
|
861
861
|
returns?: ABIReturn[] | undefined;
|