@algorandfoundation/algokit-utils 10.0.0-alpha.7 → 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
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"**"
|
|
7
7
|
],
|
|
8
8
|
"name": "@algorandfoundation/algokit-utils",
|
|
9
|
-
"version": "10.0.0-alpha.
|
|
9
|
+
"version": "10.0.0-alpha.8",
|
|
10
10
|
"private": false,
|
|
11
11
|
"description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
|
|
12
12
|
"author": "Algorand Foundation",
|
|
@@ -358,8 +358,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
358
358
|
validityWindow?: number | bigint | undefined;
|
|
359
359
|
firstValidRound?: bigint | undefined;
|
|
360
360
|
lastValidRound?: bigint | undefined;
|
|
361
|
-
args?: Uint8Array[] | undefined;
|
|
362
361
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
362
|
+
args?: Uint8Array[] | undefined;
|
|
363
363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
364
364
|
appReferences?: bigint[] | undefined;
|
|
365
365
|
assetReferences?: bigint[] | undefined;
|
|
@@ -573,9 +573,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
573
573
|
validityWindow?: number | bigint | undefined;
|
|
574
574
|
firstValidRound?: bigint | undefined;
|
|
575
575
|
lastValidRound?: bigint | undefined;
|
|
576
|
-
approvalProgram: string | Uint8Array;
|
|
577
|
-
clearStateProgram: string | Uint8Array;
|
|
578
|
-
extraProgramPages?: number | undefined;
|
|
579
576
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
580
577
|
accountReferences?: ReadableAddress[] | undefined;
|
|
581
578
|
appReferences?: bigint[] | undefined;
|
|
@@ -589,10 +586,13 @@ declare class AlgorandClientTransactionCreator {
|
|
|
589
586
|
localInts: number;
|
|
590
587
|
localByteSlices: number;
|
|
591
588
|
} | undefined;
|
|
589
|
+
extraProgramPages?: number | undefined;
|
|
590
|
+
approvalProgram: string | Uint8Array;
|
|
591
|
+
clearStateProgram: string | Uint8Array;
|
|
592
592
|
method: ABIMethod;
|
|
593
593
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
-
sender: SendingAddress;
|
|
595
594
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
595
|
+
sender: SendingAddress;
|
|
596
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
597
597
|
note?: string | Uint8Array | undefined;
|
|
598
598
|
lease?: string | Uint8Array | undefined;
|
|
@@ -602,8 +602,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
602
602
|
validityWindow?: number | bigint | undefined;
|
|
603
603
|
firstValidRound?: bigint | undefined;
|
|
604
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
606
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
605
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
607
606
|
args?: Uint8Array[] | undefined;
|
|
608
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
609
608
|
appReferences?: bigint[] | undefined;
|
|
@@ -613,9 +612,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
613
612
|
rejectVersion?: number | undefined;
|
|
614
613
|
approvalProgram: string | Uint8Array;
|
|
615
614
|
clearStateProgram: string | Uint8Array;
|
|
616
|
-
|
|
617
|
-
|
|
615
|
+
schema?: {
|
|
616
|
+
globalInts: number;
|
|
617
|
+
globalByteSlices: number;
|
|
618
|
+
localInts: number;
|
|
619
|
+
localByteSlices: number;
|
|
620
|
+
} | undefined;
|
|
621
|
+
extraProgramPages?: number | undefined;
|
|
622
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
618
623
|
sender: SendingAddress;
|
|
624
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
619
625
|
rekeyTo?: ReadableAddress | undefined;
|
|
620
626
|
note?: string | Uint8Array | undefined;
|
|
621
627
|
lease?: string | Uint8Array | undefined;
|
|
@@ -625,8 +631,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
625
631
|
validityWindow?: number | bigint | undefined;
|
|
626
632
|
firstValidRound?: bigint | undefined;
|
|
627
633
|
lastValidRound?: bigint | undefined;
|
|
634
|
+
appId: bigint;
|
|
635
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
628
636
|
args?: Uint8Array[] | undefined;
|
|
629
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
630
637
|
accountReferences?: ReadableAddress[] | undefined;
|
|
631
638
|
appReferences?: bigint[] | undefined;
|
|
632
639
|
assetReferences?: bigint[] | undefined;
|
|
@@ -635,14 +642,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
635
642
|
rejectVersion?: number | undefined;
|
|
636
643
|
approvalProgram: string | Uint8Array;
|
|
637
644
|
clearStateProgram: string | Uint8Array;
|
|
638
|
-
|
|
639
|
-
globalInts: number;
|
|
640
|
-
globalByteSlices: number;
|
|
641
|
-
localInts: number;
|
|
642
|
-
localByteSlices: number;
|
|
643
|
-
} | undefined;
|
|
644
|
-
extraProgramPages?: number | undefined;
|
|
645
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
645
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
646
646
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
647
647
|
/** Create an application update call with ABI method call transaction.
|
|
648
648
|
*
|
|
@@ -705,8 +705,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
705
705
|
firstValidRound?: bigint | undefined;
|
|
706
706
|
lastValidRound?: bigint | undefined;
|
|
707
707
|
appId: bigint;
|
|
708
|
-
approvalProgram: string | Uint8Array;
|
|
709
|
-
clearStateProgram: string | Uint8Array;
|
|
710
708
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
711
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
712
710
|
appReferences?: bigint[] | undefined;
|
|
@@ -714,10 +712,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
714
712
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
715
713
|
accessReferences?: ResourceReference[] | undefined;
|
|
716
714
|
rejectVersion?: number | undefined;
|
|
715
|
+
approvalProgram: string | Uint8Array;
|
|
716
|
+
clearStateProgram: string | Uint8Array;
|
|
717
717
|
method: ABIMethod;
|
|
718
718
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
719
|
-
sender: SendingAddress;
|
|
720
719
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
720
|
+
sender: SendingAddress;
|
|
721
721
|
rekeyTo?: ReadableAddress | undefined;
|
|
722
722
|
note?: string | Uint8Array | undefined;
|
|
723
723
|
lease?: string | Uint8Array | undefined;
|
|
@@ -727,8 +727,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
727
727
|
validityWindow?: number | bigint | undefined;
|
|
728
728
|
firstValidRound?: bigint | undefined;
|
|
729
729
|
lastValidRound?: bigint | undefined;
|
|
730
|
-
|
|
731
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
730
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
732
731
|
args?: Uint8Array[] | undefined;
|
|
733
732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
734
733
|
appReferences?: bigint[] | undefined;
|
|
@@ -738,9 +737,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
738
737
|
rejectVersion?: number | undefined;
|
|
739
738
|
approvalProgram: string | Uint8Array;
|
|
740
739
|
clearStateProgram: string | Uint8Array;
|
|
741
|
-
|
|
742
|
-
|
|
740
|
+
schema?: {
|
|
741
|
+
globalInts: number;
|
|
742
|
+
globalByteSlices: number;
|
|
743
|
+
localInts: number;
|
|
744
|
+
localByteSlices: number;
|
|
745
|
+
} | undefined;
|
|
746
|
+
extraProgramPages?: number | undefined;
|
|
747
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
743
748
|
sender: SendingAddress;
|
|
749
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
744
750
|
rekeyTo?: ReadableAddress | undefined;
|
|
745
751
|
note?: string | Uint8Array | undefined;
|
|
746
752
|
lease?: string | Uint8Array | undefined;
|
|
@@ -750,8 +756,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
750
756
|
validityWindow?: number | bigint | undefined;
|
|
751
757
|
firstValidRound?: bigint | undefined;
|
|
752
758
|
lastValidRound?: bigint | undefined;
|
|
759
|
+
appId: bigint;
|
|
760
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
753
761
|
args?: Uint8Array[] | undefined;
|
|
754
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
755
762
|
accountReferences?: ReadableAddress[] | undefined;
|
|
756
763
|
appReferences?: bigint[] | undefined;
|
|
757
764
|
assetReferences?: bigint[] | undefined;
|
|
@@ -760,14 +767,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
760
767
|
rejectVersion?: number | undefined;
|
|
761
768
|
approvalProgram: string | Uint8Array;
|
|
762
769
|
clearStateProgram: string | Uint8Array;
|
|
763
|
-
|
|
764
|
-
globalInts: number;
|
|
765
|
-
globalByteSlices: number;
|
|
766
|
-
localInts: number;
|
|
767
|
-
localByteSlices: number;
|
|
768
|
-
} | undefined;
|
|
769
|
-
extraProgramPages?: number | undefined;
|
|
770
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
770
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
771
771
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
772
772
|
/** Create an application delete call with ABI method call transaction.
|
|
773
773
|
*
|
|
@@ -837,8 +837,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
837
837
|
rejectVersion?: number | undefined;
|
|
838
838
|
method: ABIMethod;
|
|
839
839
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
840
|
-
sender: SendingAddress;
|
|
841
840
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
841
|
+
sender: SendingAddress;
|
|
842
842
|
rekeyTo?: ReadableAddress | undefined;
|
|
843
843
|
note?: string | Uint8Array | undefined;
|
|
844
844
|
lease?: string | Uint8Array | undefined;
|
|
@@ -848,8 +848,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
848
848
|
validityWindow?: number | bigint | undefined;
|
|
849
849
|
firstValidRound?: bigint | undefined;
|
|
850
850
|
lastValidRound?: bigint | undefined;
|
|
851
|
-
|
|
852
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
851
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
853
852
|
args?: Uint8Array[] | undefined;
|
|
854
853
|
accountReferences?: ReadableAddress[] | undefined;
|
|
855
854
|
appReferences?: bigint[] | undefined;
|
|
@@ -859,9 +858,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
859
858
|
rejectVersion?: number | undefined;
|
|
860
859
|
approvalProgram: string | Uint8Array;
|
|
861
860
|
clearStateProgram: string | Uint8Array;
|
|
862
|
-
|
|
863
|
-
|
|
861
|
+
schema?: {
|
|
862
|
+
globalInts: number;
|
|
863
|
+
globalByteSlices: number;
|
|
864
|
+
localInts: number;
|
|
865
|
+
localByteSlices: number;
|
|
866
|
+
} | undefined;
|
|
867
|
+
extraProgramPages?: number | undefined;
|
|
868
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
864
869
|
sender: SendingAddress;
|
|
870
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
865
871
|
rekeyTo?: ReadableAddress | undefined;
|
|
866
872
|
note?: string | Uint8Array | undefined;
|
|
867
873
|
lease?: string | Uint8Array | undefined;
|
|
@@ -871,8 +877,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
871
877
|
validityWindow?: number | bigint | undefined;
|
|
872
878
|
firstValidRound?: bigint | undefined;
|
|
873
879
|
lastValidRound?: bigint | undefined;
|
|
880
|
+
appId: bigint;
|
|
881
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
874
882
|
args?: Uint8Array[] | undefined;
|
|
875
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
876
883
|
accountReferences?: ReadableAddress[] | undefined;
|
|
877
884
|
appReferences?: bigint[] | undefined;
|
|
878
885
|
assetReferences?: bigint[] | undefined;
|
|
@@ -881,14 +888,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
881
888
|
rejectVersion?: number | undefined;
|
|
882
889
|
approvalProgram: string | Uint8Array;
|
|
883
890
|
clearStateProgram: string | Uint8Array;
|
|
884
|
-
|
|
885
|
-
globalInts: number;
|
|
886
|
-
globalByteSlices: number;
|
|
887
|
-
localInts: number;
|
|
888
|
-
localByteSlices: number;
|
|
889
|
-
} | undefined;
|
|
890
|
-
extraProgramPages?: number | undefined;
|
|
891
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
891
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
892
892
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
893
893
|
/** Create an application call with ABI method call transaction.
|
|
894
894
|
*
|
|
@@ -958,8 +958,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
958
958
|
rejectVersion?: number | undefined;
|
|
959
959
|
method: ABIMethod;
|
|
960
960
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
961
|
-
sender: SendingAddress;
|
|
962
961
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
962
|
+
sender: SendingAddress;
|
|
963
963
|
rekeyTo?: ReadableAddress | undefined;
|
|
964
964
|
note?: string | Uint8Array | undefined;
|
|
965
965
|
lease?: string | Uint8Array | undefined;
|
|
@@ -969,8 +969,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
969
969
|
validityWindow?: number | bigint | undefined;
|
|
970
970
|
firstValidRound?: bigint | undefined;
|
|
971
971
|
lastValidRound?: bigint | undefined;
|
|
972
|
-
|
|
973
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
972
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
974
973
|
args?: Uint8Array[] | undefined;
|
|
975
974
|
accountReferences?: ReadableAddress[] | undefined;
|
|
976
975
|
appReferences?: bigint[] | undefined;
|
|
@@ -980,9 +979,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
980
979
|
rejectVersion?: number | undefined;
|
|
981
980
|
approvalProgram: string | Uint8Array;
|
|
982
981
|
clearStateProgram: string | Uint8Array;
|
|
983
|
-
|
|
984
|
-
|
|
982
|
+
schema?: {
|
|
983
|
+
globalInts: number;
|
|
984
|
+
globalByteSlices: number;
|
|
985
|
+
localInts: number;
|
|
986
|
+
localByteSlices: number;
|
|
987
|
+
} | undefined;
|
|
988
|
+
extraProgramPages?: number | undefined;
|
|
989
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
985
990
|
sender: SendingAddress;
|
|
991
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
986
992
|
rekeyTo?: ReadableAddress | undefined;
|
|
987
993
|
note?: string | Uint8Array | undefined;
|
|
988
994
|
lease?: string | Uint8Array | undefined;
|
|
@@ -992,8 +998,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
992
998
|
validityWindow?: number | bigint | undefined;
|
|
993
999
|
firstValidRound?: bigint | undefined;
|
|
994
1000
|
lastValidRound?: bigint | undefined;
|
|
1001
|
+
appId: bigint;
|
|
1002
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
995
1003
|
args?: Uint8Array[] | undefined;
|
|
996
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
997
1004
|
accountReferences?: ReadableAddress[] | undefined;
|
|
998
1005
|
appReferences?: bigint[] | undefined;
|
|
999
1006
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1002,14 +1009,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1002
1009
|
rejectVersion?: number | undefined;
|
|
1003
1010
|
approvalProgram: string | Uint8Array;
|
|
1004
1011
|
clearStateProgram: string | Uint8Array;
|
|
1005
|
-
|
|
1006
|
-
globalInts: number;
|
|
1007
|
-
globalByteSlices: number;
|
|
1008
|
-
localInts: number;
|
|
1009
|
-
localByteSlices: number;
|
|
1010
|
-
} | undefined;
|
|
1011
|
-
extraProgramPages?: number | undefined;
|
|
1012
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1012
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1013
1013
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Create an online key registration transaction.
|
|
@@ -489,8 +489,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
489
489
|
validityWindow?: number | bigint | undefined;
|
|
490
490
|
firstValidRound?: bigint | undefined;
|
|
491
491
|
lastValidRound?: bigint | undefined;
|
|
492
|
-
args?: Uint8Array[] | undefined;
|
|
493
492
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
493
|
+
args?: Uint8Array[] | undefined;
|
|
494
494
|
accountReferences?: ReadableAddress[] | undefined;
|
|
495
495
|
appReferences?: bigint[] | undefined;
|
|
496
496
|
assetReferences?: bigint[] | undefined;
|
|
@@ -757,9 +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
|
-
extraProgramPages?: number | undefined;
|
|
763
760
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
764
761
|
accountReferences?: ReadableAddress[] | undefined;
|
|
765
762
|
appReferences?: bigint[] | undefined;
|
|
@@ -773,10 +770,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
773
770
|
localInts: number;
|
|
774
771
|
localByteSlices: number;
|
|
775
772
|
} | undefined;
|
|
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,8 +815,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
809
815
|
validityWindow?: number | bigint | undefined;
|
|
810
816
|
firstValidRound?: bigint | undefined;
|
|
811
817
|
lastValidRound?: bigint | undefined;
|
|
818
|
+
appId: bigint;
|
|
819
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
812
820
|
args?: Uint8Array[] | undefined;
|
|
813
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
814
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
815
822
|
appReferences?: bigint[] | undefined;
|
|
816
823
|
assetReferences?: 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,8 +947,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
941
947
|
validityWindow?: number | bigint | undefined;
|
|
942
948
|
firstValidRound?: bigint | undefined;
|
|
943
949
|
lastValidRound?: bigint | undefined;
|
|
950
|
+
appId: bigint;
|
|
951
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
944
952
|
args?: Uint8Array[] | undefined;
|
|
945
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
946
953
|
accountReferences?: ReadableAddress[] | undefined;
|
|
947
954
|
appReferences?: bigint[] | undefined;
|
|
948
955
|
assetReferences?: 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,8 +1075,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1069
1075
|
validityWindow?: number | bigint | undefined;
|
|
1070
1076
|
firstValidRound?: bigint | undefined;
|
|
1071
1077
|
lastValidRound?: bigint | undefined;
|
|
1078
|
+
appId: bigint;
|
|
1079
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1072
1080
|
args?: Uint8Array[] | undefined;
|
|
1073
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1074
1081
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1082
|
appReferences?: bigint[] | undefined;
|
|
1076
1083
|
assetReferences?: 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,8 +1203,9 @@ declare class AlgorandClientTransactionSender {
|
|
|
1197
1203
|
validityWindow?: number | bigint | undefined;
|
|
1198
1204
|
firstValidRound?: bigint | undefined;
|
|
1199
1205
|
lastValidRound?: bigint | undefined;
|
|
1206
|
+
appId: bigint;
|
|
1207
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1200
1208
|
args?: Uint8Array[] | undefined;
|
|
1201
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1202
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1203
1210
|
appReferences?: bigint[] | undefined;
|
|
1204
1211
|
assetReferences?: 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,8 +529,9 @@ declare class AppClient {
|
|
|
523
529
|
validityWindow?: number | bigint | undefined;
|
|
524
530
|
firstValidRound?: bigint | undefined;
|
|
525
531
|
lastValidRound?: bigint | undefined;
|
|
532
|
+
appId: bigint;
|
|
533
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
526
534
|
args?: Uint8Array[] | undefined;
|
|
527
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
528
535
|
accountReferences?: ReadableAddress[] | undefined;
|
|
529
536
|
appReferences?: bigint[] | undefined;
|
|
530
537
|
assetReferences?: 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,8 +630,9 @@ declare class AppClient {
|
|
|
624
630
|
validityWindow?: number | bigint | undefined;
|
|
625
631
|
firstValidRound?: bigint | undefined;
|
|
626
632
|
lastValidRound?: bigint | undefined;
|
|
633
|
+
appId: bigint;
|
|
634
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
627
635
|
args?: Uint8Array[] | undefined;
|
|
628
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
629
636
|
accountReferences?: ReadableAddress[] | undefined;
|
|
630
637
|
appReferences?: bigint[] | undefined;
|
|
631
638
|
assetReferences?: 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,8 +731,9 @@ declare class AppClient {
|
|
|
725
731
|
validityWindow?: number | bigint | undefined;
|
|
726
732
|
firstValidRound?: bigint | undefined;
|
|
727
733
|
lastValidRound?: bigint | undefined;
|
|
734
|
+
appId: bigint;
|
|
735
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
728
736
|
args?: Uint8Array[] | undefined;
|
|
729
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
730
737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
731
738
|
appReferences?: bigint[] | undefined;
|
|
732
739
|
assetReferences?: 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,8 +831,9 @@ declare class AppClient {
|
|
|
825
831
|
validityWindow?: number | bigint | undefined;
|
|
826
832
|
firstValidRound?: bigint | undefined;
|
|
827
833
|
lastValidRound?: bigint | undefined;
|
|
834
|
+
appId: bigint;
|
|
835
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
836
|
args?: Uint8Array[] | undefined;
|
|
829
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
830
837
|
accountReferences?: ReadableAddress[] | undefined;
|
|
831
838
|
appReferences?: bigint[] | undefined;
|
|
832
839
|
assetReferences?: 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,8 +931,9 @@ declare class AppClient {
|
|
|
925
931
|
validityWindow?: number | bigint | undefined;
|
|
926
932
|
firstValidRound?: bigint | undefined;
|
|
927
933
|
lastValidRound?: bigint | undefined;
|
|
934
|
+
appId: bigint;
|
|
935
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
928
936
|
args?: Uint8Array[] | undefined;
|
|
929
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
930
937
|
accountReferences?: ReadableAddress[] | undefined;
|
|
931
938
|
appReferences?: bigint[] | undefined;
|
|
932
939
|
assetReferences?: 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: {
|
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
|
-
sender: SendingAddress;
|
|
251
250
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
251
|
+
sender: SendingAddress;
|
|
252
252
|
rekeyTo?: ReadableAddress | undefined;
|
|
253
253
|
note?: string | Uint8Array | undefined;
|
|
254
254
|
lease?: string | Uint8Array | undefined;
|
|
@@ -258,8 +258,7 @@ declare class AppFactory {
|
|
|
258
258
|
validityWindow?: number | bigint | undefined;
|
|
259
259
|
firstValidRound?: bigint | undefined;
|
|
260
260
|
lastValidRound?: bigint | undefined;
|
|
261
|
-
|
|
262
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
261
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
263
262
|
args?: Uint8Array[] | undefined;
|
|
264
263
|
accountReferences?: ReadableAddress[] | undefined;
|
|
265
264
|
appReferences?: bigint[] | undefined;
|
|
@@ -269,9 +268,16 @@ declare class AppFactory {
|
|
|
269
268
|
rejectVersion?: number | undefined;
|
|
270
269
|
approvalProgram: string | Uint8Array;
|
|
271
270
|
clearStateProgram: string | Uint8Array;
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
schema?: {
|
|
272
|
+
globalInts: number;
|
|
273
|
+
globalByteSlices: number;
|
|
274
|
+
localInts: number;
|
|
275
|
+
localByteSlices: number;
|
|
276
|
+
} | undefined;
|
|
277
|
+
extraProgramPages?: number | undefined;
|
|
278
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
274
279
|
sender: SendingAddress;
|
|
280
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
275
281
|
rekeyTo?: ReadableAddress | undefined;
|
|
276
282
|
note?: string | Uint8Array | undefined;
|
|
277
283
|
lease?: string | Uint8Array | undefined;
|
|
@@ -281,8 +287,9 @@ declare class AppFactory {
|
|
|
281
287
|
validityWindow?: number | bigint | undefined;
|
|
282
288
|
firstValidRound?: bigint | undefined;
|
|
283
289
|
lastValidRound?: bigint | undefined;
|
|
290
|
+
appId: bigint;
|
|
291
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
284
292
|
args?: Uint8Array[] | undefined;
|
|
285
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
286
293
|
accountReferences?: ReadableAddress[] | undefined;
|
|
287
294
|
appReferences?: bigint[] | undefined;
|
|
288
295
|
assetReferences?: bigint[] | undefined;
|
|
@@ -291,14 +298,7 @@ declare class AppFactory {
|
|
|
291
298
|
rejectVersion?: number | undefined;
|
|
292
299
|
approvalProgram: string | Uint8Array;
|
|
293
300
|
clearStateProgram: string | Uint8Array;
|
|
294
|
-
|
|
295
|
-
globalInts: number;
|
|
296
|
-
globalByteSlices: number;
|
|
297
|
-
localInts: number;
|
|
298
|
-
localByteSlices: number;
|
|
299
|
-
} | undefined;
|
|
300
|
-
extraProgramPages?: number | undefined;
|
|
301
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
301
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
302
302
|
onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
|
|
303
303
|
}>;
|
|
304
304
|
/** Return params for a deployment update ABI call */
|
|
@@ -349,8 +349,8 @@ declare class AppFactory {
|
|
|
349
349
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
350
350
|
method: ABIMethod;
|
|
351
351
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
352
|
-
sender: SendingAddress;
|
|
353
352
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
353
|
+
sender: SendingAddress;
|
|
354
354
|
rekeyTo?: ReadableAddress | undefined;
|
|
355
355
|
note?: string | Uint8Array | undefined;
|
|
356
356
|
lease?: string | Uint8Array | undefined;
|
|
@@ -360,8 +360,7 @@ declare class AppFactory {
|
|
|
360
360
|
validityWindow?: number | bigint | undefined;
|
|
361
361
|
firstValidRound?: bigint | undefined;
|
|
362
362
|
lastValidRound?: bigint | undefined;
|
|
363
|
-
|
|
364
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
363
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
365
364
|
args?: Uint8Array[] | undefined;
|
|
366
365
|
accountReferences?: ReadableAddress[] | undefined;
|
|
367
366
|
appReferences?: bigint[] | undefined;
|
|
@@ -371,9 +370,16 @@ declare class AppFactory {
|
|
|
371
370
|
rejectVersion?: number | undefined;
|
|
372
371
|
approvalProgram: string | Uint8Array;
|
|
373
372
|
clearStateProgram: string | Uint8Array;
|
|
374
|
-
|
|
375
|
-
|
|
373
|
+
schema?: {
|
|
374
|
+
globalInts: number;
|
|
375
|
+
globalByteSlices: number;
|
|
376
|
+
localInts: number;
|
|
377
|
+
localByteSlices: number;
|
|
378
|
+
} | undefined;
|
|
379
|
+
extraProgramPages?: number | undefined;
|
|
380
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
376
381
|
sender: SendingAddress;
|
|
382
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
377
383
|
rekeyTo?: ReadableAddress | undefined;
|
|
378
384
|
note?: string | Uint8Array | undefined;
|
|
379
385
|
lease?: string | Uint8Array | undefined;
|
|
@@ -383,8 +389,9 @@ declare class AppFactory {
|
|
|
383
389
|
validityWindow?: number | bigint | undefined;
|
|
384
390
|
firstValidRound?: bigint | undefined;
|
|
385
391
|
lastValidRound?: bigint | undefined;
|
|
392
|
+
appId: bigint;
|
|
393
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
386
394
|
args?: Uint8Array[] | undefined;
|
|
387
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
388
395
|
accountReferences?: ReadableAddress[] | undefined;
|
|
389
396
|
appReferences?: bigint[] | undefined;
|
|
390
397
|
assetReferences?: bigint[] | undefined;
|
|
@@ -393,14 +400,7 @@ declare class AppFactory {
|
|
|
393
400
|
rejectVersion?: number | undefined;
|
|
394
401
|
approvalProgram: string | Uint8Array;
|
|
395
402
|
clearStateProgram: string | Uint8Array;
|
|
396
|
-
|
|
397
|
-
globalInts: number;
|
|
398
|
-
globalByteSlices: number;
|
|
399
|
-
localInts: number;
|
|
400
|
-
localByteSlices: number;
|
|
401
|
-
} | undefined;
|
|
402
|
-
extraProgramPages?: number | undefined;
|
|
403
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
403
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
404
404
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
405
405
|
};
|
|
406
406
|
/** Return params for a deployment delete ABI call */
|
|
@@ -451,8 +451,8 @@ declare class AppFactory {
|
|
|
451
451
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
452
452
|
method: ABIMethod;
|
|
453
453
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
454
|
-
sender: SendingAddress;
|
|
455
454
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
455
|
+
sender: SendingAddress;
|
|
456
456
|
rekeyTo?: ReadableAddress | undefined;
|
|
457
457
|
note?: string | Uint8Array | undefined;
|
|
458
458
|
lease?: string | Uint8Array | undefined;
|
|
@@ -462,8 +462,7 @@ declare class AppFactory {
|
|
|
462
462
|
validityWindow?: number | bigint | undefined;
|
|
463
463
|
firstValidRound?: bigint | undefined;
|
|
464
464
|
lastValidRound?: bigint | undefined;
|
|
465
|
-
|
|
466
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
465
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
467
466
|
args?: Uint8Array[] | undefined;
|
|
468
467
|
accountReferences?: ReadableAddress[] | undefined;
|
|
469
468
|
appReferences?: bigint[] | undefined;
|
|
@@ -473,9 +472,16 @@ declare class AppFactory {
|
|
|
473
472
|
rejectVersion?: number | undefined;
|
|
474
473
|
approvalProgram: string | Uint8Array;
|
|
475
474
|
clearStateProgram: string | Uint8Array;
|
|
476
|
-
|
|
477
|
-
|
|
475
|
+
schema?: {
|
|
476
|
+
globalInts: number;
|
|
477
|
+
globalByteSlices: number;
|
|
478
|
+
localInts: number;
|
|
479
|
+
localByteSlices: number;
|
|
480
|
+
} | undefined;
|
|
481
|
+
extraProgramPages?: number | undefined;
|
|
482
|
+
}> | Promise<Transaction> | AppMethodCall<{
|
|
478
483
|
sender: SendingAddress;
|
|
484
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
479
485
|
rekeyTo?: ReadableAddress | undefined;
|
|
480
486
|
note?: string | Uint8Array | undefined;
|
|
481
487
|
lease?: string | Uint8Array | undefined;
|
|
@@ -485,8 +491,9 @@ declare class AppFactory {
|
|
|
485
491
|
validityWindow?: number | bigint | undefined;
|
|
486
492
|
firstValidRound?: bigint | undefined;
|
|
487
493
|
lastValidRound?: bigint | undefined;
|
|
494
|
+
appId: bigint;
|
|
495
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
488
496
|
args?: Uint8Array[] | undefined;
|
|
489
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
490
497
|
accountReferences?: ReadableAddress[] | undefined;
|
|
491
498
|
appReferences?: bigint[] | undefined;
|
|
492
499
|
assetReferences?: bigint[] | undefined;
|
|
@@ -495,14 +502,7 @@ declare class AppFactory {
|
|
|
495
502
|
rejectVersion?: number | undefined;
|
|
496
503
|
approvalProgram: string | Uint8Array;
|
|
497
504
|
clearStateProgram: string | Uint8Array;
|
|
498
|
-
|
|
499
|
-
globalInts: number;
|
|
500
|
-
globalByteSlices: number;
|
|
501
|
-
localInts: number;
|
|
502
|
-
localByteSlices: number;
|
|
503
|
-
} | undefined;
|
|
504
|
-
extraProgramPages?: number | undefined;
|
|
505
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
505
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
506
506
|
onComplete: OnApplicationComplete.DeleteApplication;
|
|
507
507
|
};
|
|
508
508
|
bare: {
|
|
@@ -799,14 +799,14 @@ declare class AppFactory {
|
|
|
799
799
|
compiledApproval?: CompiledTeal | undefined;
|
|
800
800
|
compiledClear?: CompiledTeal | undefined;
|
|
801
801
|
operationPerformed: "create";
|
|
802
|
+
updatable?: boolean | undefined;
|
|
803
|
+
deletable?: boolean | undefined;
|
|
802
804
|
createdRound: bigint;
|
|
803
805
|
updatedRound: bigint;
|
|
804
806
|
createdMetadata: AppDeployMetadata;
|
|
805
807
|
deleted: boolean;
|
|
806
808
|
name: string;
|
|
807
809
|
version: string;
|
|
808
|
-
deletable?: boolean | undefined;
|
|
809
|
-
updatable?: boolean | undefined;
|
|
810
810
|
groupId: string | undefined;
|
|
811
811
|
txIds: string[];
|
|
812
812
|
returns?: ABIReturn[] | undefined;
|
|
@@ -845,14 +845,14 @@ declare class AppFactory {
|
|
|
845
845
|
compiledApproval?: CompiledTeal | undefined;
|
|
846
846
|
compiledClear?: CompiledTeal | undefined;
|
|
847
847
|
operationPerformed: "replace";
|
|
848
|
+
updatable?: boolean | undefined;
|
|
849
|
+
deletable?: boolean | undefined;
|
|
848
850
|
createdRound: bigint;
|
|
849
851
|
updatedRound: bigint;
|
|
850
852
|
createdMetadata: AppDeployMetadata;
|
|
851
853
|
deleted: boolean;
|
|
852
854
|
name: string;
|
|
853
855
|
version: string;
|
|
854
|
-
deletable?: boolean | undefined;
|
|
855
|
-
updatable?: boolean | undefined;
|
|
856
856
|
groupId: string | undefined;
|
|
857
857
|
txIds: string[];
|
|
858
858
|
returns?: ABIReturn[] | undefined;
|