@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
|
@@ -359,8 +359,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
359
359
|
validityWindow?: number | bigint | undefined;
|
|
360
360
|
firstValidRound?: bigint | undefined;
|
|
361
361
|
lastValidRound?: bigint | undefined;
|
|
362
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
363
362
|
args?: Uint8Array[] | undefined;
|
|
363
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
364
364
|
accountReferences?: ReadableAddress[] | undefined;
|
|
365
365
|
appReferences?: bigint[] | undefined;
|
|
366
366
|
assetReferences?: bigint[] | undefined;
|
|
@@ -580,6 +580,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
580
580
|
firstValidRound?: bigint | undefined;
|
|
581
581
|
lastValidRound?: bigint | undefined;
|
|
582
582
|
appId?: 0 | undefined;
|
|
583
|
+
approvalProgram: string | Uint8Array;
|
|
584
|
+
clearStateProgram: string | Uint8Array;
|
|
583
585
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
584
586
|
accountReferences?: ReadableAddress[] | undefined;
|
|
585
587
|
appReferences?: bigint[] | undefined;
|
|
@@ -594,12 +596,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
594
596
|
localByteSlices: number;
|
|
595
597
|
} | undefined;
|
|
596
598
|
extraProgramPages?: number | undefined;
|
|
597
|
-
approvalProgram: string | Uint8Array;
|
|
598
|
-
clearStateProgram: string | Uint8Array;
|
|
599
599
|
method: ABIMethod;
|
|
600
600
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
601
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
602
601
|
sender: SendingAddress;
|
|
602
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
603
603
|
rekeyTo?: ReadableAddress | undefined;
|
|
604
604
|
note?: string | Uint8Array | undefined;
|
|
605
605
|
lease?: string | Uint8Array | undefined;
|
|
@@ -609,7 +609,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
609
609
|
validityWindow?: number | bigint | undefined;
|
|
610
610
|
firstValidRound?: bigint | undefined;
|
|
611
611
|
lastValidRound?: bigint | undefined;
|
|
612
|
-
|
|
612
|
+
appId: bigint;
|
|
613
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
613
614
|
args?: Uint8Array[] | undefined;
|
|
614
615
|
accountReferences?: ReadableAddress[] | undefined;
|
|
615
616
|
appReferences?: bigint[] | undefined;
|
|
@@ -617,19 +618,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
617
618
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
618
619
|
accessReferences?: ResourceReference[] | undefined;
|
|
619
620
|
rejectVersion?: number | undefined;
|
|
620
|
-
appId?: 0 | undefined;
|
|
621
621
|
approvalProgram: string | Uint8Array;
|
|
622
622
|
clearStateProgram: string | Uint8Array;
|
|
623
|
-
|
|
624
|
-
globalInts: number;
|
|
625
|
-
globalByteSlices: number;
|
|
626
|
-
localInts: number;
|
|
627
|
-
localByteSlices: number;
|
|
628
|
-
} | undefined;
|
|
629
|
-
extraProgramPages?: number | undefined;
|
|
630
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
631
|
-
sender: SendingAddress;
|
|
623
|
+
}> | AppMethodCall<{
|
|
632
624
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
625
|
+
sender: SendingAddress;
|
|
633
626
|
rekeyTo?: ReadableAddress | undefined;
|
|
634
627
|
note?: string | Uint8Array | undefined;
|
|
635
628
|
lease?: string | Uint8Array | undefined;
|
|
@@ -639,18 +632,25 @@ declare class AlgorandClientTransactionCreator {
|
|
|
639
632
|
validityWindow?: number | bigint | undefined;
|
|
640
633
|
firstValidRound?: bigint | undefined;
|
|
641
634
|
lastValidRound?: bigint | undefined;
|
|
642
|
-
appId: bigint;
|
|
643
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
644
635
|
args?: Uint8Array[] | undefined;
|
|
636
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
645
637
|
accountReferences?: ReadableAddress[] | undefined;
|
|
646
638
|
appReferences?: bigint[] | undefined;
|
|
647
639
|
assetReferences?: bigint[] | undefined;
|
|
648
640
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
649
641
|
accessReferences?: ResourceReference[] | undefined;
|
|
650
642
|
rejectVersion?: number | undefined;
|
|
643
|
+
appId?: 0 | undefined;
|
|
651
644
|
approvalProgram: string | Uint8Array;
|
|
652
645
|
clearStateProgram: string | Uint8Array;
|
|
653
|
-
|
|
646
|
+
schema?: {
|
|
647
|
+
globalInts: number;
|
|
648
|
+
globalByteSlices: number;
|
|
649
|
+
localInts: number;
|
|
650
|
+
localByteSlices: number;
|
|
651
|
+
} | undefined;
|
|
652
|
+
extraProgramPages?: number | undefined;
|
|
653
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
654
654
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
655
655
|
/** Create an application update call with ABI method call transaction.
|
|
656
656
|
*
|
|
@@ -714,6 +714,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
714
714
|
firstValidRound?: bigint | undefined;
|
|
715
715
|
lastValidRound?: bigint | undefined;
|
|
716
716
|
appId: bigint;
|
|
717
|
+
approvalProgram: string | Uint8Array;
|
|
718
|
+
clearStateProgram: string | Uint8Array;
|
|
717
719
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
718
720
|
accountReferences?: ReadableAddress[] | undefined;
|
|
719
721
|
appReferences?: bigint[] | undefined;
|
|
@@ -721,12 +723,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
721
723
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
722
724
|
accessReferences?: ResourceReference[] | undefined;
|
|
723
725
|
rejectVersion?: number | undefined;
|
|
724
|
-
approvalProgram: string | Uint8Array;
|
|
725
|
-
clearStateProgram: string | Uint8Array;
|
|
726
726
|
method: ABIMethod;
|
|
727
727
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
728
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
729
728
|
sender: SendingAddress;
|
|
729
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
730
730
|
rekeyTo?: ReadableAddress | undefined;
|
|
731
731
|
note?: string | Uint8Array | undefined;
|
|
732
732
|
lease?: string | Uint8Array | undefined;
|
|
@@ -736,7 +736,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
736
736
|
validityWindow?: number | bigint | undefined;
|
|
737
737
|
firstValidRound?: bigint | undefined;
|
|
738
738
|
lastValidRound?: bigint | undefined;
|
|
739
|
-
|
|
739
|
+
appId: bigint;
|
|
740
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
740
741
|
args?: Uint8Array[] | undefined;
|
|
741
742
|
accountReferences?: ReadableAddress[] | undefined;
|
|
742
743
|
appReferences?: bigint[] | undefined;
|
|
@@ -744,19 +745,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
744
745
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
745
746
|
accessReferences?: ResourceReference[] | undefined;
|
|
746
747
|
rejectVersion?: number | undefined;
|
|
747
|
-
appId?: 0 | undefined;
|
|
748
748
|
approvalProgram: string | Uint8Array;
|
|
749
749
|
clearStateProgram: string | Uint8Array;
|
|
750
|
-
|
|
751
|
-
globalInts: number;
|
|
752
|
-
globalByteSlices: number;
|
|
753
|
-
localInts: number;
|
|
754
|
-
localByteSlices: number;
|
|
755
|
-
} | undefined;
|
|
756
|
-
extraProgramPages?: number | undefined;
|
|
757
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
758
|
-
sender: SendingAddress;
|
|
750
|
+
}> | AppMethodCall<{
|
|
759
751
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
752
|
+
sender: SendingAddress;
|
|
760
753
|
rekeyTo?: ReadableAddress | undefined;
|
|
761
754
|
note?: string | Uint8Array | undefined;
|
|
762
755
|
lease?: string | Uint8Array | undefined;
|
|
@@ -766,18 +759,25 @@ declare class AlgorandClientTransactionCreator {
|
|
|
766
759
|
validityWindow?: number | bigint | undefined;
|
|
767
760
|
firstValidRound?: bigint | undefined;
|
|
768
761
|
lastValidRound?: bigint | undefined;
|
|
769
|
-
appId: bigint;
|
|
770
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
771
762
|
args?: Uint8Array[] | undefined;
|
|
763
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
772
764
|
accountReferences?: ReadableAddress[] | undefined;
|
|
773
765
|
appReferences?: bigint[] | undefined;
|
|
774
766
|
assetReferences?: bigint[] | undefined;
|
|
775
767
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
776
768
|
accessReferences?: ResourceReference[] | undefined;
|
|
777
769
|
rejectVersion?: number | undefined;
|
|
770
|
+
appId?: 0 | undefined;
|
|
778
771
|
approvalProgram: string | Uint8Array;
|
|
779
772
|
clearStateProgram: string | Uint8Array;
|
|
780
|
-
|
|
773
|
+
schema?: {
|
|
774
|
+
globalInts: number;
|
|
775
|
+
globalByteSlices: number;
|
|
776
|
+
localInts: number;
|
|
777
|
+
localByteSlices: number;
|
|
778
|
+
} | undefined;
|
|
779
|
+
extraProgramPages?: number | undefined;
|
|
780
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
781
781
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
782
782
|
/** Create an application delete call with ABI method call transaction.
|
|
783
783
|
*
|
|
@@ -848,8 +848,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
848
848
|
rejectVersion?: number | undefined;
|
|
849
849
|
method: ABIMethod;
|
|
850
850
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
851
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
852
851
|
sender: SendingAddress;
|
|
852
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
853
853
|
rekeyTo?: ReadableAddress | undefined;
|
|
854
854
|
note?: string | Uint8Array | undefined;
|
|
855
855
|
lease?: string | Uint8Array | undefined;
|
|
@@ -859,7 +859,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
859
859
|
validityWindow?: number | bigint | undefined;
|
|
860
860
|
firstValidRound?: bigint | undefined;
|
|
861
861
|
lastValidRound?: bigint | undefined;
|
|
862
|
-
|
|
862
|
+
appId: bigint;
|
|
863
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
863
864
|
args?: Uint8Array[] | undefined;
|
|
864
865
|
accountReferences?: ReadableAddress[] | undefined;
|
|
865
866
|
appReferences?: bigint[] | undefined;
|
|
@@ -867,19 +868,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
867
868
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
868
869
|
accessReferences?: ResourceReference[] | undefined;
|
|
869
870
|
rejectVersion?: number | undefined;
|
|
870
|
-
appId?: 0 | undefined;
|
|
871
871
|
approvalProgram: string | Uint8Array;
|
|
872
872
|
clearStateProgram: string | Uint8Array;
|
|
873
|
-
|
|
874
|
-
globalInts: number;
|
|
875
|
-
globalByteSlices: number;
|
|
876
|
-
localInts: number;
|
|
877
|
-
localByteSlices: number;
|
|
878
|
-
} | undefined;
|
|
879
|
-
extraProgramPages?: number | undefined;
|
|
880
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
881
|
-
sender: SendingAddress;
|
|
873
|
+
}> | AppMethodCall<{
|
|
882
874
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
875
|
+
sender: SendingAddress;
|
|
883
876
|
rekeyTo?: ReadableAddress | undefined;
|
|
884
877
|
note?: string | Uint8Array | undefined;
|
|
885
878
|
lease?: string | Uint8Array | undefined;
|
|
@@ -889,18 +882,25 @@ declare class AlgorandClientTransactionCreator {
|
|
|
889
882
|
validityWindow?: number | bigint | undefined;
|
|
890
883
|
firstValidRound?: bigint | undefined;
|
|
891
884
|
lastValidRound?: bigint | undefined;
|
|
892
|
-
appId: bigint;
|
|
893
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
894
885
|
args?: Uint8Array[] | undefined;
|
|
886
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
895
887
|
accountReferences?: ReadableAddress[] | undefined;
|
|
896
888
|
appReferences?: bigint[] | undefined;
|
|
897
889
|
assetReferences?: bigint[] | undefined;
|
|
898
890
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
899
891
|
accessReferences?: ResourceReference[] | undefined;
|
|
900
892
|
rejectVersion?: number | undefined;
|
|
893
|
+
appId?: 0 | undefined;
|
|
901
894
|
approvalProgram: string | Uint8Array;
|
|
902
895
|
clearStateProgram: string | Uint8Array;
|
|
903
|
-
|
|
896
|
+
schema?: {
|
|
897
|
+
globalInts: number;
|
|
898
|
+
globalByteSlices: number;
|
|
899
|
+
localInts: number;
|
|
900
|
+
localByteSlices: number;
|
|
901
|
+
} | undefined;
|
|
902
|
+
extraProgramPages?: number | undefined;
|
|
903
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
904
904
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
905
905
|
/** Create an application call with ABI method call transaction.
|
|
906
906
|
*
|
|
@@ -971,8 +971,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
971
971
|
rejectVersion?: number | undefined;
|
|
972
972
|
method: ABIMethod;
|
|
973
973
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
974
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
975
974
|
sender: SendingAddress;
|
|
975
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
976
976
|
rekeyTo?: ReadableAddress | undefined;
|
|
977
977
|
note?: string | Uint8Array | undefined;
|
|
978
978
|
lease?: string | Uint8Array | undefined;
|
|
@@ -982,7 +982,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
982
982
|
validityWindow?: number | bigint | undefined;
|
|
983
983
|
firstValidRound?: bigint | undefined;
|
|
984
984
|
lastValidRound?: bigint | undefined;
|
|
985
|
-
|
|
985
|
+
appId: bigint;
|
|
986
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
986
987
|
args?: Uint8Array[] | undefined;
|
|
987
988
|
accountReferences?: ReadableAddress[] | undefined;
|
|
988
989
|
appReferences?: bigint[] | undefined;
|
|
@@ -990,19 +991,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
990
991
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
991
992
|
accessReferences?: ResourceReference[] | undefined;
|
|
992
993
|
rejectVersion?: number | undefined;
|
|
993
|
-
appId?: 0 | undefined;
|
|
994
994
|
approvalProgram: string | Uint8Array;
|
|
995
995
|
clearStateProgram: string | Uint8Array;
|
|
996
|
-
|
|
997
|
-
globalInts: number;
|
|
998
|
-
globalByteSlices: number;
|
|
999
|
-
localInts: number;
|
|
1000
|
-
localByteSlices: number;
|
|
1001
|
-
} | undefined;
|
|
1002
|
-
extraProgramPages?: number | undefined;
|
|
1003
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
1004
|
-
sender: SendingAddress;
|
|
996
|
+
}> | AppMethodCall<{
|
|
1005
997
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
998
|
+
sender: SendingAddress;
|
|
1006
999
|
rekeyTo?: ReadableAddress | undefined;
|
|
1007
1000
|
note?: string | Uint8Array | undefined;
|
|
1008
1001
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1012,18 +1005,25 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1012
1005
|
validityWindow?: number | bigint | undefined;
|
|
1013
1006
|
firstValidRound?: bigint | undefined;
|
|
1014
1007
|
lastValidRound?: bigint | undefined;
|
|
1015
|
-
appId: bigint;
|
|
1016
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1017
1008
|
args?: Uint8Array[] | undefined;
|
|
1009
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1018
1010
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1019
1011
|
appReferences?: bigint[] | undefined;
|
|
1020
1012
|
assetReferences?: bigint[] | undefined;
|
|
1021
1013
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1022
1014
|
accessReferences?: ResourceReference[] | undefined;
|
|
1023
1015
|
rejectVersion?: number | undefined;
|
|
1016
|
+
appId?: 0 | undefined;
|
|
1024
1017
|
approvalProgram: string | Uint8Array;
|
|
1025
1018
|
clearStateProgram: string | Uint8Array;
|
|
1026
|
-
|
|
1019
|
+
schema?: {
|
|
1020
|
+
globalInts: number;
|
|
1021
|
+
globalByteSlices: number;
|
|
1022
|
+
localInts: number;
|
|
1023
|
+
localByteSlices: number;
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
extraProgramPages?: number | undefined;
|
|
1026
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1027
1027
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Create an online key registration transaction.
|
|
@@ -490,8 +490,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
490
490
|
validityWindow?: number | bigint | undefined;
|
|
491
491
|
firstValidRound?: bigint | undefined;
|
|
492
492
|
lastValidRound?: bigint | undefined;
|
|
493
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
493
|
args?: Uint8Array[] | undefined;
|
|
494
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
@@ -764,6 +764,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
764
764
|
firstValidRound?: bigint | undefined;
|
|
765
765
|
lastValidRound?: bigint | undefined;
|
|
766
766
|
appId?: 0 | undefined;
|
|
767
|
+
approvalProgram: string | Uint8Array;
|
|
768
|
+
clearStateProgram: string | Uint8Array;
|
|
767
769
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
768
770
|
accountReferences?: ReadableAddress[] | undefined;
|
|
769
771
|
appReferences?: bigint[] | undefined;
|
|
@@ -778,12 +780,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
778
780
|
localByteSlices: number;
|
|
779
781
|
} | undefined;
|
|
780
782
|
extraProgramPages?: number | undefined;
|
|
781
|
-
approvalProgram: string | Uint8Array;
|
|
782
|
-
clearStateProgram: string | Uint8Array;
|
|
783
783
|
method: ABIMethod;
|
|
784
784
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
785
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
786
785
|
sender: SendingAddress;
|
|
786
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
787
787
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
788
|
note?: string | Uint8Array | undefined;
|
|
789
789
|
lease?: string | Uint8Array | undefined;
|
|
@@ -793,7 +793,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
793
793
|
validityWindow?: number | bigint | undefined;
|
|
794
794
|
firstValidRound?: bigint | undefined;
|
|
795
795
|
lastValidRound?: bigint | undefined;
|
|
796
|
-
|
|
796
|
+
appId: bigint;
|
|
797
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
797
798
|
args?: Uint8Array[] | undefined;
|
|
798
799
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
800
|
appReferences?: bigint[] | undefined;
|
|
@@ -801,19 +802,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
801
802
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
802
803
|
accessReferences?: ResourceReference[] | undefined;
|
|
803
804
|
rejectVersion?: number | undefined;
|
|
804
|
-
appId?: 0 | undefined;
|
|
805
805
|
approvalProgram: string | Uint8Array;
|
|
806
806
|
clearStateProgram: string | Uint8Array;
|
|
807
|
-
|
|
808
|
-
globalInts: number;
|
|
809
|
-
globalByteSlices: number;
|
|
810
|
-
localInts: number;
|
|
811
|
-
localByteSlices: number;
|
|
812
|
-
} | undefined;
|
|
813
|
-
extraProgramPages?: number | undefined;
|
|
814
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
815
|
-
sender: SendingAddress;
|
|
807
|
+
}> | AppMethodCall<{
|
|
816
808
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
809
|
+
sender: SendingAddress;
|
|
817
810
|
rekeyTo?: ReadableAddress | undefined;
|
|
818
811
|
note?: string | Uint8Array | undefined;
|
|
819
812
|
lease?: string | Uint8Array | undefined;
|
|
@@ -823,18 +816,25 @@ declare class AlgorandClientTransactionSender {
|
|
|
823
816
|
validityWindow?: number | bigint | undefined;
|
|
824
817
|
firstValidRound?: bigint | undefined;
|
|
825
818
|
lastValidRound?: bigint | undefined;
|
|
826
|
-
appId: bigint;
|
|
827
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
819
|
args?: Uint8Array[] | undefined;
|
|
820
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
829
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
830
822
|
appReferences?: bigint[] | undefined;
|
|
831
823
|
assetReferences?: bigint[] | undefined;
|
|
832
824
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
833
825
|
accessReferences?: ResourceReference[] | undefined;
|
|
834
826
|
rejectVersion?: number | undefined;
|
|
827
|
+
appId?: 0 | undefined;
|
|
835
828
|
approvalProgram: string | Uint8Array;
|
|
836
829
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
|
|
830
|
+
schema?: {
|
|
831
|
+
globalInts: number;
|
|
832
|
+
globalByteSlices: number;
|
|
833
|
+
localInts: number;
|
|
834
|
+
localByteSlices: number;
|
|
835
|
+
} | undefined;
|
|
836
|
+
extraProgramPages?: number | undefined;
|
|
837
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -905,6 +905,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
905
905
|
firstValidRound?: bigint | undefined;
|
|
906
906
|
lastValidRound?: bigint | undefined;
|
|
907
907
|
appId: bigint;
|
|
908
|
+
approvalProgram: string | Uint8Array;
|
|
909
|
+
clearStateProgram: string | Uint8Array;
|
|
908
910
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
909
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
910
912
|
appReferences?: bigint[] | undefined;
|
|
@@ -912,12 +914,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
912
914
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
913
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
914
916
|
rejectVersion?: number | undefined;
|
|
915
|
-
approvalProgram: string | Uint8Array;
|
|
916
|
-
clearStateProgram: string | Uint8Array;
|
|
917
917
|
method: ABIMethod;
|
|
918
918
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
919
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
920
919
|
sender: SendingAddress;
|
|
920
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
921
921
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
922
|
note?: string | Uint8Array | undefined;
|
|
923
923
|
lease?: string | Uint8Array | undefined;
|
|
@@ -927,7 +927,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
927
927
|
validityWindow?: number | bigint | undefined;
|
|
928
928
|
firstValidRound?: bigint | undefined;
|
|
929
929
|
lastValidRound?: bigint | undefined;
|
|
930
|
-
|
|
930
|
+
appId: bigint;
|
|
931
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
931
932
|
args?: Uint8Array[] | undefined;
|
|
932
933
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
934
|
appReferences?: bigint[] | undefined;
|
|
@@ -935,19 +936,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
935
936
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
936
937
|
accessReferences?: ResourceReference[] | undefined;
|
|
937
938
|
rejectVersion?: number | undefined;
|
|
938
|
-
appId?: 0 | undefined;
|
|
939
939
|
approvalProgram: string | Uint8Array;
|
|
940
940
|
clearStateProgram: string | Uint8Array;
|
|
941
|
-
|
|
942
|
-
globalInts: number;
|
|
943
|
-
globalByteSlices: number;
|
|
944
|
-
localInts: number;
|
|
945
|
-
localByteSlices: number;
|
|
946
|
-
} | undefined;
|
|
947
|
-
extraProgramPages?: number | undefined;
|
|
948
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
949
|
-
sender: SendingAddress;
|
|
941
|
+
}> | AppMethodCall<{
|
|
950
942
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
943
|
+
sender: SendingAddress;
|
|
951
944
|
rekeyTo?: ReadableAddress | undefined;
|
|
952
945
|
note?: string | Uint8Array | undefined;
|
|
953
946
|
lease?: string | Uint8Array | undefined;
|
|
@@ -957,18 +950,25 @@ declare class AlgorandClientTransactionSender {
|
|
|
957
950
|
validityWindow?: number | bigint | undefined;
|
|
958
951
|
firstValidRound?: bigint | undefined;
|
|
959
952
|
lastValidRound?: bigint | undefined;
|
|
960
|
-
appId: bigint;
|
|
961
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
962
953
|
args?: Uint8Array[] | undefined;
|
|
954
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
963
955
|
accountReferences?: ReadableAddress[] | undefined;
|
|
964
956
|
appReferences?: bigint[] | undefined;
|
|
965
957
|
assetReferences?: bigint[] | undefined;
|
|
966
958
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
967
959
|
accessReferences?: ResourceReference[] | undefined;
|
|
968
960
|
rejectVersion?: number | undefined;
|
|
961
|
+
appId?: 0 | undefined;
|
|
969
962
|
approvalProgram: string | Uint8Array;
|
|
970
963
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
|
|
964
|
+
schema?: {
|
|
965
|
+
globalInts: number;
|
|
966
|
+
globalByteSlices: number;
|
|
967
|
+
localInts: number;
|
|
968
|
+
localByteSlices: number;
|
|
969
|
+
} | undefined;
|
|
970
|
+
extraProgramPages?: number | undefined;
|
|
971
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1046,8 +1046,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
1048
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1049
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1050
1049
|
sender: SendingAddress;
|
|
1050
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1051
1051
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1052
|
note?: string | Uint8Array | undefined;
|
|
1053
1053
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1057,7 +1057,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1057
1057
|
validityWindow?: number | bigint | undefined;
|
|
1058
1058
|
firstValidRound?: bigint | undefined;
|
|
1059
1059
|
lastValidRound?: bigint | undefined;
|
|
1060
|
-
|
|
1060
|
+
appId: bigint;
|
|
1061
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1061
1062
|
args?: Uint8Array[] | undefined;
|
|
1062
1063
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1064
|
appReferences?: bigint[] | undefined;
|
|
@@ -1065,19 +1066,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1065
1066
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1066
1067
|
accessReferences?: ResourceReference[] | undefined;
|
|
1067
1068
|
rejectVersion?: number | undefined;
|
|
1068
|
-
appId?: 0 | undefined;
|
|
1069
1069
|
approvalProgram: string | Uint8Array;
|
|
1070
1070
|
clearStateProgram: string | Uint8Array;
|
|
1071
|
-
|
|
1072
|
-
globalInts: number;
|
|
1073
|
-
globalByteSlices: number;
|
|
1074
|
-
localInts: number;
|
|
1075
|
-
localByteSlices: number;
|
|
1076
|
-
} | undefined;
|
|
1077
|
-
extraProgramPages?: number | undefined;
|
|
1078
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
1079
|
-
sender: SendingAddress;
|
|
1071
|
+
}> | AppMethodCall<{
|
|
1080
1072
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1073
|
+
sender: SendingAddress;
|
|
1081
1074
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1075
|
note?: string | Uint8Array | undefined;
|
|
1083
1076
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1087,18 +1080,25 @@ declare class AlgorandClientTransactionSender {
|
|
|
1087
1080
|
validityWindow?: number | bigint | undefined;
|
|
1088
1081
|
firstValidRound?: bigint | undefined;
|
|
1089
1082
|
lastValidRound?: bigint | undefined;
|
|
1090
|
-
appId: bigint;
|
|
1091
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1092
1083
|
args?: Uint8Array[] | undefined;
|
|
1084
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1093
1085
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1094
1086
|
appReferences?: bigint[] | undefined;
|
|
1095
1087
|
assetReferences?: bigint[] | undefined;
|
|
1096
1088
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1097
1089
|
accessReferences?: ResourceReference[] | undefined;
|
|
1098
1090
|
rejectVersion?: number | undefined;
|
|
1091
|
+
appId?: 0 | undefined;
|
|
1099
1092
|
approvalProgram: string | Uint8Array;
|
|
1100
1093
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
|
|
1094
|
+
schema?: {
|
|
1095
|
+
globalInts: number;
|
|
1096
|
+
globalByteSlices: number;
|
|
1097
|
+
localInts: number;
|
|
1098
|
+
localByteSlices: number;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
extraProgramPages?: number | undefined;
|
|
1101
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1176,8 +1176,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
1178
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1179
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1180
1179
|
sender: SendingAddress;
|
|
1180
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1181
1181
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1182
|
note?: string | Uint8Array | undefined;
|
|
1183
1183
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1187,7 +1187,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1187
1187
|
validityWindow?: number | bigint | undefined;
|
|
1188
1188
|
firstValidRound?: bigint | undefined;
|
|
1189
1189
|
lastValidRound?: bigint | undefined;
|
|
1190
|
-
|
|
1190
|
+
appId: bigint;
|
|
1191
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1191
1192
|
args?: Uint8Array[] | undefined;
|
|
1192
1193
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1194
|
appReferences?: bigint[] | undefined;
|
|
@@ -1195,19 +1196,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1195
1196
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1196
1197
|
accessReferences?: ResourceReference[] | undefined;
|
|
1197
1198
|
rejectVersion?: number | undefined;
|
|
1198
|
-
appId?: 0 | undefined;
|
|
1199
1199
|
approvalProgram: string | Uint8Array;
|
|
1200
1200
|
clearStateProgram: string | Uint8Array;
|
|
1201
|
-
|
|
1202
|
-
globalInts: number;
|
|
1203
|
-
globalByteSlices: number;
|
|
1204
|
-
localInts: number;
|
|
1205
|
-
localByteSlices: number;
|
|
1206
|
-
} | undefined;
|
|
1207
|
-
extraProgramPages?: number | undefined;
|
|
1208
|
-
}> | Promise<Transaction> | AppMethodCall<{
|
|
1209
|
-
sender: SendingAddress;
|
|
1201
|
+
}> | AppMethodCall<{
|
|
1210
1202
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1203
|
+
sender: SendingAddress;
|
|
1211
1204
|
rekeyTo?: ReadableAddress | undefined;
|
|
1212
1205
|
note?: string | Uint8Array | undefined;
|
|
1213
1206
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1217,18 +1210,25 @@ declare class AlgorandClientTransactionSender {
|
|
|
1217
1210
|
validityWindow?: number | bigint | undefined;
|
|
1218
1211
|
firstValidRound?: bigint | undefined;
|
|
1219
1212
|
lastValidRound?: bigint | undefined;
|
|
1220
|
-
appId: bigint;
|
|
1221
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1222
1213
|
args?: Uint8Array[] | undefined;
|
|
1214
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1223
1215
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1224
1216
|
appReferences?: bigint[] | undefined;
|
|
1225
1217
|
assetReferences?: bigint[] | undefined;
|
|
1226
1218
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1227
1219
|
accessReferences?: ResourceReference[] | undefined;
|
|
1228
1220
|
rejectVersion?: number | undefined;
|
|
1221
|
+
appId?: 0 | undefined;
|
|
1229
1222
|
approvalProgram: string | Uint8Array;
|
|
1230
1223
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
|
|
1224
|
+
schema?: {
|
|
1225
|
+
globalInts: number;
|
|
1226
|
+
globalByteSlices: number;
|
|
1227
|
+
localInts: number;
|
|
1228
|
+
localByteSlices: number;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
extraProgramPages?: number | undefined;
|
|
1231
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|