@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +77 -77
- package/types/algorand-client-transaction-sender.d.ts +77 -77
- package/types/app-client.d.ts +91 -91
- package/types/app-factory.d.ts +50 -50
package/types/app-client.d.ts
CHANGED
|
@@ -386,8 +386,8 @@ declare class AppClient {
|
|
|
386
386
|
* @returns The parameters which can be used to create a fund app account payment transaction
|
|
387
387
|
*/
|
|
388
388
|
fundAppAccount: (params: {
|
|
389
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
389
|
amount: AlgoAmount;
|
|
390
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
391
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
392
392
|
note?: string | Uint8Array | undefined;
|
|
393
393
|
lease?: string | Uint8Array | undefined;
|
|
@@ -488,7 +488,8 @@ declare class AppClient {
|
|
|
488
488
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (
|
|
491
|
+
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
492
|
+
args?: Uint8Array[] | undefined;
|
|
492
493
|
sender: SendingAddress;
|
|
493
494
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
494
495
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -500,21 +501,26 @@ declare class AppClient {
|
|
|
500
501
|
validityWindow?: number | bigint | undefined;
|
|
501
502
|
firstValidRound?: bigint | undefined;
|
|
502
503
|
lastValidRound?: bigint | undefined;
|
|
503
|
-
|
|
504
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
505
|
-
args?: Uint8Array[] | undefined;
|
|
504
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
506
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
507
506
|
appReferences?: bigint[] | undefined;
|
|
508
507
|
assetReferences?: bigint[] | undefined;
|
|
509
508
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
510
509
|
accessReferences?: ResourceReference[] | undefined;
|
|
511
510
|
rejectVersion?: number | undefined;
|
|
511
|
+
appId?: 0 | undefined;
|
|
512
512
|
approvalProgram: string | Uint8Array;
|
|
513
513
|
clearStateProgram: string | Uint8Array;
|
|
514
|
+
schema?: {
|
|
515
|
+
globalInts: number;
|
|
516
|
+
globalByteSlices: number;
|
|
517
|
+
localInts: number;
|
|
518
|
+
localByteSlices: number;
|
|
519
|
+
} | undefined;
|
|
520
|
+
extraProgramPages?: number | undefined;
|
|
514
521
|
}> | AppMethodCall<{
|
|
515
|
-
args?: Uint8Array[] | undefined;
|
|
516
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
517
522
|
sender: SendingAddress;
|
|
523
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
518
524
|
rekeyTo?: ReadableAddress | undefined;
|
|
519
525
|
note?: string | Uint8Array | undefined;
|
|
520
526
|
lease?: string | Uint8Array | undefined;
|
|
@@ -524,24 +530,18 @@ declare class AppClient {
|
|
|
524
530
|
validityWindow?: number | bigint | undefined;
|
|
525
531
|
firstValidRound?: bigint | undefined;
|
|
526
532
|
lastValidRound?: bigint | undefined;
|
|
527
|
-
|
|
533
|
+
appId: bigint;
|
|
534
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
535
|
+
args?: Uint8Array[] | undefined;
|
|
528
536
|
accountReferences?: ReadableAddress[] | undefined;
|
|
529
537
|
appReferences?: bigint[] | undefined;
|
|
530
538
|
assetReferences?: bigint[] | undefined;
|
|
531
539
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
532
540
|
accessReferences?: ResourceReference[] | undefined;
|
|
533
541
|
rejectVersion?: number | undefined;
|
|
534
|
-
appId?: 0 | undefined;
|
|
535
542
|
approvalProgram: string | Uint8Array;
|
|
536
543
|
clearStateProgram: string | Uint8Array;
|
|
537
|
-
|
|
538
|
-
globalInts: number;
|
|
539
|
-
globalByteSlices: number;
|
|
540
|
-
localInts: number;
|
|
541
|
-
localByteSlices: number;
|
|
542
|
-
} | undefined;
|
|
543
|
-
extraProgramPages?: number | undefined;
|
|
544
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
544
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -570,8 +570,9 @@ declare class AppClient {
|
|
|
570
570
|
method: string;
|
|
571
571
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
572
572
|
}) => Promise<{
|
|
573
|
-
|
|
573
|
+
appId: bigint;
|
|
574
574
|
sender: SendingAddress;
|
|
575
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
575
576
|
rekeyTo?: ReadableAddress | undefined;
|
|
576
577
|
note?: string | Uint8Array | undefined;
|
|
577
578
|
lease?: string | Uint8Array | undefined;
|
|
@@ -581,7 +582,6 @@ declare class AppClient {
|
|
|
581
582
|
validityWindow?: number | bigint | undefined;
|
|
582
583
|
firstValidRound?: bigint | undefined;
|
|
583
584
|
lastValidRound?: bigint | undefined;
|
|
584
|
-
appId: bigint;
|
|
585
585
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
586
586
|
accountReferences?: ReadableAddress[] | undefined;
|
|
587
587
|
appReferences?: bigint[] | undefined;
|
|
@@ -590,7 +590,8 @@ declare class AppClient {
|
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (
|
|
593
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
+
args?: Uint8Array[] | undefined;
|
|
594
595
|
sender: SendingAddress;
|
|
595
596
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
597
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -602,21 +603,26 @@ declare class AppClient {
|
|
|
602
603
|
validityWindow?: number | bigint | undefined;
|
|
603
604
|
firstValidRound?: bigint | undefined;
|
|
604
605
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
606
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
607
|
-
args?: Uint8Array[] | undefined;
|
|
606
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
608
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
609
608
|
appReferences?: bigint[] | undefined;
|
|
610
609
|
assetReferences?: bigint[] | undefined;
|
|
611
610
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
612
611
|
accessReferences?: ResourceReference[] | undefined;
|
|
613
612
|
rejectVersion?: number | undefined;
|
|
613
|
+
appId?: 0 | undefined;
|
|
614
614
|
approvalProgram: string | Uint8Array;
|
|
615
615
|
clearStateProgram: string | Uint8Array;
|
|
616
|
+
schema?: {
|
|
617
|
+
globalInts: number;
|
|
618
|
+
globalByteSlices: number;
|
|
619
|
+
localInts: number;
|
|
620
|
+
localByteSlices: number;
|
|
621
|
+
} | undefined;
|
|
622
|
+
extraProgramPages?: number | undefined;
|
|
616
623
|
}> | AppMethodCall<{
|
|
617
|
-
args?: Uint8Array[] | undefined;
|
|
618
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
619
624
|
sender: SendingAddress;
|
|
625
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
620
626
|
rekeyTo?: ReadableAddress | undefined;
|
|
621
627
|
note?: string | Uint8Array | undefined;
|
|
622
628
|
lease?: string | Uint8Array | undefined;
|
|
@@ -626,24 +632,18 @@ declare class AppClient {
|
|
|
626
632
|
validityWindow?: number | bigint | undefined;
|
|
627
633
|
firstValidRound?: bigint | undefined;
|
|
628
634
|
lastValidRound?: bigint | undefined;
|
|
629
|
-
|
|
635
|
+
appId: bigint;
|
|
636
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
637
|
+
args?: Uint8Array[] | undefined;
|
|
630
638
|
accountReferences?: ReadableAddress[] | undefined;
|
|
631
639
|
appReferences?: bigint[] | undefined;
|
|
632
640
|
assetReferences?: bigint[] | undefined;
|
|
633
641
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
634
642
|
accessReferences?: ResourceReference[] | undefined;
|
|
635
643
|
rejectVersion?: number | undefined;
|
|
636
|
-
appId?: 0 | undefined;
|
|
637
644
|
approvalProgram: string | Uint8Array;
|
|
638
645
|
clearStateProgram: string | Uint8Array;
|
|
639
|
-
|
|
640
|
-
globalInts: number;
|
|
641
|
-
globalByteSlices: number;
|
|
642
|
-
localInts: number;
|
|
643
|
-
localByteSlices: number;
|
|
644
|
-
} | undefined;
|
|
645
|
-
extraProgramPages?: number | undefined;
|
|
646
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
646
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
647
647
|
}>;
|
|
648
648
|
/**
|
|
649
649
|
* Return params for an delete ABI call
|
|
@@ -672,8 +672,9 @@ declare class AppClient {
|
|
|
672
672
|
method: string;
|
|
673
673
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
674
674
|
}) => Promise<{
|
|
675
|
-
|
|
675
|
+
appId: bigint;
|
|
676
676
|
sender: SendingAddress;
|
|
677
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
677
678
|
rekeyTo?: ReadableAddress | undefined;
|
|
678
679
|
note?: string | Uint8Array | undefined;
|
|
679
680
|
lease?: string | Uint8Array | undefined;
|
|
@@ -683,7 +684,6 @@ declare class AppClient {
|
|
|
683
684
|
validityWindow?: number | bigint | undefined;
|
|
684
685
|
firstValidRound?: bigint | undefined;
|
|
685
686
|
lastValidRound?: bigint | undefined;
|
|
686
|
-
appId: bigint;
|
|
687
687
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
688
688
|
accountReferences?: ReadableAddress[] | undefined;
|
|
689
689
|
appReferences?: bigint[] | undefined;
|
|
@@ -692,7 +692,8 @@ declare class AppClient {
|
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (
|
|
695
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
696
|
+
args?: Uint8Array[] | undefined;
|
|
696
697
|
sender: SendingAddress;
|
|
697
698
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
698
699
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -704,21 +705,26 @@ declare class AppClient {
|
|
|
704
705
|
validityWindow?: number | bigint | undefined;
|
|
705
706
|
firstValidRound?: bigint | undefined;
|
|
706
707
|
lastValidRound?: bigint | undefined;
|
|
707
|
-
|
|
708
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
709
|
-
args?: Uint8Array[] | undefined;
|
|
708
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
710
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
711
710
|
appReferences?: bigint[] | undefined;
|
|
712
711
|
assetReferences?: bigint[] | undefined;
|
|
713
712
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
714
713
|
accessReferences?: ResourceReference[] | undefined;
|
|
715
714
|
rejectVersion?: number | undefined;
|
|
715
|
+
appId?: 0 | undefined;
|
|
716
716
|
approvalProgram: string | Uint8Array;
|
|
717
717
|
clearStateProgram: string | Uint8Array;
|
|
718
|
+
schema?: {
|
|
719
|
+
globalInts: number;
|
|
720
|
+
globalByteSlices: number;
|
|
721
|
+
localInts: number;
|
|
722
|
+
localByteSlices: number;
|
|
723
|
+
} | undefined;
|
|
724
|
+
extraProgramPages?: number | undefined;
|
|
718
725
|
}> | AppMethodCall<{
|
|
719
|
-
args?: Uint8Array[] | undefined;
|
|
720
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
721
726
|
sender: SendingAddress;
|
|
727
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
722
728
|
rekeyTo?: ReadableAddress | undefined;
|
|
723
729
|
note?: string | Uint8Array | undefined;
|
|
724
730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -728,24 +734,18 @@ declare class AppClient {
|
|
|
728
734
|
validityWindow?: number | bigint | undefined;
|
|
729
735
|
firstValidRound?: bigint | undefined;
|
|
730
736
|
lastValidRound?: bigint | undefined;
|
|
731
|
-
|
|
737
|
+
appId: bigint;
|
|
738
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
739
|
+
args?: Uint8Array[] | undefined;
|
|
732
740
|
accountReferences?: ReadableAddress[] | undefined;
|
|
733
741
|
appReferences?: bigint[] | undefined;
|
|
734
742
|
assetReferences?: bigint[] | undefined;
|
|
735
743
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
736
744
|
accessReferences?: ResourceReference[] | undefined;
|
|
737
745
|
rejectVersion?: number | undefined;
|
|
738
|
-
appId?: 0 | undefined;
|
|
739
746
|
approvalProgram: string | Uint8Array;
|
|
740
747
|
clearStateProgram: string | Uint8Array;
|
|
741
|
-
|
|
742
|
-
globalInts: number;
|
|
743
|
-
globalByteSlices: number;
|
|
744
|
-
localInts: number;
|
|
745
|
-
localByteSlices: number;
|
|
746
|
-
} | undefined;
|
|
747
|
-
extraProgramPages?: number | undefined;
|
|
748
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
748
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
@@ -773,8 +773,9 @@ declare class AppClient {
|
|
|
773
773
|
method: string;
|
|
774
774
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
775
775
|
}) => Promise<{
|
|
776
|
-
|
|
776
|
+
appId: bigint;
|
|
777
777
|
sender: SendingAddress;
|
|
778
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
778
779
|
rekeyTo?: ReadableAddress | undefined;
|
|
779
780
|
note?: string | Uint8Array | undefined;
|
|
780
781
|
lease?: string | Uint8Array | undefined;
|
|
@@ -784,7 +785,6 @@ declare class AppClient {
|
|
|
784
785
|
validityWindow?: number | bigint | undefined;
|
|
785
786
|
firstValidRound?: bigint | undefined;
|
|
786
787
|
lastValidRound?: bigint | undefined;
|
|
787
|
-
appId: bigint;
|
|
788
788
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
789
789
|
accountReferences?: ReadableAddress[] | undefined;
|
|
790
790
|
appReferences?: bigint[] | undefined;
|
|
@@ -793,7 +793,8 @@ declare class AppClient {
|
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (
|
|
796
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
797
|
+
args?: Uint8Array[] | undefined;
|
|
797
798
|
sender: SendingAddress;
|
|
798
799
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
799
800
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -805,21 +806,26 @@ declare class AppClient {
|
|
|
805
806
|
validityWindow?: number | bigint | undefined;
|
|
806
807
|
firstValidRound?: bigint | undefined;
|
|
807
808
|
lastValidRound?: bigint | undefined;
|
|
808
|
-
|
|
809
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
810
|
-
args?: Uint8Array[] | undefined;
|
|
809
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
811
810
|
accountReferences?: ReadableAddress[] | undefined;
|
|
812
811
|
appReferences?: bigint[] | undefined;
|
|
813
812
|
assetReferences?: bigint[] | undefined;
|
|
814
813
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
815
814
|
accessReferences?: ResourceReference[] | undefined;
|
|
816
815
|
rejectVersion?: number | undefined;
|
|
816
|
+
appId?: 0 | undefined;
|
|
817
817
|
approvalProgram: string | Uint8Array;
|
|
818
818
|
clearStateProgram: string | Uint8Array;
|
|
819
|
+
schema?: {
|
|
820
|
+
globalInts: number;
|
|
821
|
+
globalByteSlices: number;
|
|
822
|
+
localInts: number;
|
|
823
|
+
localByteSlices: number;
|
|
824
|
+
} | undefined;
|
|
825
|
+
extraProgramPages?: number | undefined;
|
|
819
826
|
}> | AppMethodCall<{
|
|
820
|
-
args?: Uint8Array[] | undefined;
|
|
821
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
822
827
|
sender: SendingAddress;
|
|
828
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
823
829
|
rekeyTo?: ReadableAddress | undefined;
|
|
824
830
|
note?: string | Uint8Array | undefined;
|
|
825
831
|
lease?: string | Uint8Array | undefined;
|
|
@@ -829,24 +835,18 @@ declare class AppClient {
|
|
|
829
835
|
validityWindow?: number | bigint | undefined;
|
|
830
836
|
firstValidRound?: bigint | undefined;
|
|
831
837
|
lastValidRound?: bigint | undefined;
|
|
832
|
-
|
|
838
|
+
appId: bigint;
|
|
839
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
840
|
+
args?: Uint8Array[] | undefined;
|
|
833
841
|
accountReferences?: ReadableAddress[] | undefined;
|
|
834
842
|
appReferences?: bigint[] | undefined;
|
|
835
843
|
assetReferences?: bigint[] | undefined;
|
|
836
844
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
837
845
|
accessReferences?: ResourceReference[] | undefined;
|
|
838
846
|
rejectVersion?: number | undefined;
|
|
839
|
-
appId?: 0 | undefined;
|
|
840
847
|
approvalProgram: string | Uint8Array;
|
|
841
848
|
clearStateProgram: string | Uint8Array;
|
|
842
|
-
|
|
843
|
-
globalInts: number;
|
|
844
|
-
globalByteSlices: number;
|
|
845
|
-
localInts: number;
|
|
846
|
-
localByteSlices: number;
|
|
847
|
-
} | undefined;
|
|
848
|
-
extraProgramPages?: number | undefined;
|
|
849
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
849
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
@@ -874,8 +874,9 @@ declare class AppClient {
|
|
|
874
874
|
method: string;
|
|
875
875
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
876
876
|
} & CallOnComplete) => Promise<{
|
|
877
|
-
|
|
877
|
+
appId: bigint;
|
|
878
878
|
sender: SendingAddress;
|
|
879
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
879
880
|
rekeyTo?: ReadableAddress | undefined;
|
|
880
881
|
note?: string | Uint8Array | undefined;
|
|
881
882
|
lease?: string | Uint8Array | undefined;
|
|
@@ -885,7 +886,6 @@ declare class AppClient {
|
|
|
885
886
|
validityWindow?: number | bigint | undefined;
|
|
886
887
|
firstValidRound?: bigint | undefined;
|
|
887
888
|
lastValidRound?: bigint | undefined;
|
|
888
|
-
appId: bigint;
|
|
889
889
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
890
890
|
accountReferences?: ReadableAddress[] | undefined;
|
|
891
891
|
appReferences?: bigint[] | undefined;
|
|
@@ -894,7 +894,8 @@ declare class AppClient {
|
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (
|
|
897
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
898
|
+
args?: Uint8Array[] | undefined;
|
|
898
899
|
sender: SendingAddress;
|
|
899
900
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
900
901
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -906,21 +907,26 @@ declare class AppClient {
|
|
|
906
907
|
validityWindow?: number | bigint | undefined;
|
|
907
908
|
firstValidRound?: bigint | undefined;
|
|
908
909
|
lastValidRound?: bigint | undefined;
|
|
909
|
-
|
|
910
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
911
|
-
args?: Uint8Array[] | undefined;
|
|
910
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
912
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
913
912
|
appReferences?: bigint[] | undefined;
|
|
914
913
|
assetReferences?: bigint[] | undefined;
|
|
915
914
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
916
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
917
916
|
rejectVersion?: number | undefined;
|
|
917
|
+
appId?: 0 | undefined;
|
|
918
918
|
approvalProgram: string | Uint8Array;
|
|
919
919
|
clearStateProgram: string | Uint8Array;
|
|
920
|
+
schema?: {
|
|
921
|
+
globalInts: number;
|
|
922
|
+
globalByteSlices: number;
|
|
923
|
+
localInts: number;
|
|
924
|
+
localByteSlices: number;
|
|
925
|
+
} | undefined;
|
|
926
|
+
extraProgramPages?: number | undefined;
|
|
920
927
|
}> | AppMethodCall<{
|
|
921
|
-
args?: Uint8Array[] | undefined;
|
|
922
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
923
928
|
sender: SendingAddress;
|
|
929
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
924
930
|
rekeyTo?: ReadableAddress | undefined;
|
|
925
931
|
note?: string | Uint8Array | undefined;
|
|
926
932
|
lease?: string | Uint8Array | undefined;
|
|
@@ -930,24 +936,18 @@ declare class AppClient {
|
|
|
930
936
|
validityWindow?: number | bigint | undefined;
|
|
931
937
|
firstValidRound?: bigint | undefined;
|
|
932
938
|
lastValidRound?: bigint | undefined;
|
|
933
|
-
|
|
939
|
+
appId: bigint;
|
|
940
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
941
|
+
args?: Uint8Array[] | undefined;
|
|
934
942
|
accountReferences?: ReadableAddress[] | undefined;
|
|
935
943
|
appReferences?: bigint[] | undefined;
|
|
936
944
|
assetReferences?: bigint[] | undefined;
|
|
937
945
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
938
946
|
accessReferences?: ResourceReference[] | undefined;
|
|
939
947
|
rejectVersion?: number | undefined;
|
|
940
|
-
appId?: 0 | undefined;
|
|
941
948
|
approvalProgram: string | Uint8Array;
|
|
942
949
|
clearStateProgram: string | Uint8Array;
|
|
943
|
-
|
|
944
|
-
globalInts: number;
|
|
945
|
-
globalByteSlices: number;
|
|
946
|
-
localInts: number;
|
|
947
|
-
localByteSlices: number;
|
|
948
|
-
} | undefined;
|
|
949
|
-
extraProgramPages?: number | undefined;
|
|
950
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
950
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
951
951
|
}>;
|
|
952
952
|
} & {
|
|
953
953
|
/** Interact with bare (raw) call parameters */bare: {
|
|
@@ -1109,8 +1109,8 @@ declare class AppClient {
|
|
|
1109
1109
|
* @returns A transaction which can be used to fund the app account
|
|
1110
1110
|
*/
|
|
1111
1111
|
fundAppAccount: (params: {
|
|
1112
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1113
1112
|
amount: AlgoAmount;
|
|
1113
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1114
1114
|
rekeyTo?: ReadableAddress | undefined;
|
|
1115
1115
|
note?: string | Uint8Array | undefined;
|
|
1116
1116
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1419,8 +1419,8 @@ declare class AppClient {
|
|
|
1419
1419
|
* @returns The result of send the fund app account payment transaction
|
|
1420
1420
|
*/
|
|
1421
1421
|
fundAppAccount: (params: {
|
|
1422
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1423
1422
|
amount: AlgoAmount;
|
|
1423
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1424
1424
|
rekeyTo?: ReadableAddress | undefined;
|
|
1425
1425
|
note?: string | Uint8Array | undefined;
|
|
1426
1426
|
lease?: string | Uint8Array | undefined;
|