@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.28
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/indexer_client/src/models/transaction-state-proof.d.ts +1 -1
- package/packages/indexer_client/src/models/transaction-state-proof.js +2 -2
- package/packages/indexer_client/src/models/transaction-state-proof.js.map +1 -1
- package/packages/indexer_client/src/models/transaction-state-proof.mjs +2 -2
- package/packages/indexer_client/src/models/transaction-state-proof.mjs.map +1 -1
- package/packages/transact/src/transactions/state-proof.d.ts +1 -1
- package/types/algorand-client-transaction-creator.d.ts +45 -45
- package/types/algorand-client-transaction-sender.d.ts +47 -47
- package/types/app-client.d.ts +99 -99
- package/types/app-factory.d.ts +42 -42
package/types/app-client.d.ts
CHANGED
|
@@ -387,6 +387,7 @@ declare class AppClient {
|
|
|
387
387
|
*/
|
|
388
388
|
fundAppAccount: (params: {
|
|
389
389
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
|
+
amount: AlgoAmount;
|
|
390
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
391
392
|
note?: string | Uint8Array | undefined;
|
|
392
393
|
lease?: string | Uint8Array | undefined;
|
|
@@ -396,7 +397,6 @@ declare class AppClient {
|
|
|
396
397
|
validityWindow?: number | bigint | undefined;
|
|
397
398
|
firstValidRound?: bigint | undefined;
|
|
398
399
|
lastValidRound?: bigint | undefined;
|
|
399
|
-
amount: AlgoAmount;
|
|
400
400
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
401
401
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
402
402
|
suppressLog?: boolean | undefined;
|
|
@@ -407,6 +407,7 @@ declare class AppClient {
|
|
|
407
407
|
sender: Address;
|
|
408
408
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
|
+
amount: AlgoAmount;
|
|
410
411
|
rekeyTo?: ReadableAddress | undefined;
|
|
411
412
|
note?: string | Uint8Array | undefined;
|
|
412
413
|
lease?: string | Uint8Array | undefined;
|
|
@@ -416,7 +417,6 @@ declare class AppClient {
|
|
|
416
417
|
validityWindow?: number | bigint | undefined;
|
|
417
418
|
firstValidRound?: bigint | undefined;
|
|
418
419
|
lastValidRound?: bigint | undefined;
|
|
419
|
-
amount: AlgoAmount;
|
|
420
420
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
421
421
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
422
422
|
suppressLog?: boolean | undefined;
|
|
@@ -443,7 +443,7 @@ declare class AppClient {
|
|
|
443
443
|
accountReferences?: ReadableAddress[] | undefined;
|
|
444
444
|
appReferences?: bigint[] | undefined;
|
|
445
445
|
assetReferences?: bigint[] | undefined;
|
|
446
|
-
boxReferences?: (
|
|
446
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
447
447
|
accessReferences?: ResourceReference[] | undefined;
|
|
448
448
|
rejectVersion?: number | undefined;
|
|
449
449
|
sender?: ReadableAddress | undefined;
|
|
@@ -470,7 +470,7 @@ declare class AppClient {
|
|
|
470
470
|
accountReferences?: ReadableAddress[] | undefined;
|
|
471
471
|
appReferences?: bigint[] | undefined;
|
|
472
472
|
assetReferences?: bigint[] | undefined;
|
|
473
|
-
boxReferences?: (
|
|
473
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
474
474
|
accessReferences?: ResourceReference[] | undefined;
|
|
475
475
|
rejectVersion?: number | undefined;
|
|
476
476
|
sender?: ReadableAddress | undefined;
|
|
@@ -488,10 +488,9 @@ declare class AppClient {
|
|
|
488
488
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
492
|
-
args?: Uint8Array[] | undefined;
|
|
493
|
-
sender: SendingAddress;
|
|
491
|
+
args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
494
492
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
493
|
+
sender: SendingAddress;
|
|
495
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
496
495
|
note?: string | Uint8Array | undefined;
|
|
497
496
|
lease?: string | Uint8Array | undefined;
|
|
@@ -502,10 +501,11 @@ declare class AppClient {
|
|
|
502
501
|
firstValidRound?: bigint | undefined;
|
|
503
502
|
lastValidRound?: bigint | undefined;
|
|
504
503
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
504
|
+
args?: Uint8Array[] | undefined;
|
|
505
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
506
|
appReferences?: bigint[] | undefined;
|
|
507
507
|
assetReferences?: bigint[] | undefined;
|
|
508
|
-
boxReferences?: (
|
|
508
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
509
509
|
accessReferences?: ResourceReference[] | undefined;
|
|
510
510
|
rejectVersion?: number | undefined;
|
|
511
511
|
appId?: 0 | undefined;
|
|
@@ -536,12 +536,12 @@ declare class AppClient {
|
|
|
536
536
|
accountReferences?: ReadableAddress[] | undefined;
|
|
537
537
|
appReferences?: bigint[] | undefined;
|
|
538
538
|
assetReferences?: bigint[] | undefined;
|
|
539
|
-
boxReferences?: (
|
|
539
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
540
540
|
accessReferences?: ResourceReference[] | undefined;
|
|
541
541
|
rejectVersion?: number | undefined;
|
|
542
542
|
approvalProgram: string | Uint8Array;
|
|
543
543
|
clearStateProgram: string | Uint8Array;
|
|
544
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
544
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -563,16 +563,15 @@ declare class AppClient {
|
|
|
563
563
|
accountReferences?: ReadableAddress[] | undefined;
|
|
564
564
|
appReferences?: bigint[] | undefined;
|
|
565
565
|
assetReferences?: bigint[] | undefined;
|
|
566
|
-
boxReferences?: (
|
|
566
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
567
567
|
accessReferences?: ResourceReference[] | undefined;
|
|
568
568
|
rejectVersion?: number | undefined;
|
|
569
569
|
sender?: ReadableAddress | undefined;
|
|
570
570
|
method: string;
|
|
571
571
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
572
572
|
}) => Promise<{
|
|
573
|
-
appId: bigint;
|
|
574
|
-
sender: SendingAddress;
|
|
575
573
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
574
|
+
sender: SendingAddress;
|
|
576
575
|
rekeyTo?: ReadableAddress | undefined;
|
|
577
576
|
note?: string | Uint8Array | undefined;
|
|
578
577
|
lease?: string | Uint8Array | undefined;
|
|
@@ -582,18 +581,18 @@ declare class AppClient {
|
|
|
582
581
|
validityWindow?: number | bigint | undefined;
|
|
583
582
|
firstValidRound?: bigint | undefined;
|
|
584
583
|
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;
|
|
588
588
|
assetReferences?: bigint[] | undefined;
|
|
589
|
-
boxReferences?: (
|
|
589
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
-
args?: Uint8Array[] | undefined;
|
|
595
|
-
sender: SendingAddress;
|
|
593
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
596
594
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
595
|
+
sender: SendingAddress;
|
|
597
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
598
597
|
note?: string | Uint8Array | undefined;
|
|
599
598
|
lease?: string | Uint8Array | undefined;
|
|
@@ -604,10 +603,11 @@ declare class AppClient {
|
|
|
604
603
|
firstValidRound?: bigint | undefined;
|
|
605
604
|
lastValidRound?: bigint | undefined;
|
|
606
605
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
|
+
args?: Uint8Array[] | undefined;
|
|
607
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
608
|
appReferences?: bigint[] | undefined;
|
|
609
609
|
assetReferences?: bigint[] | undefined;
|
|
610
|
-
boxReferences?: (
|
|
610
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
611
611
|
accessReferences?: ResourceReference[] | undefined;
|
|
612
612
|
rejectVersion?: number | undefined;
|
|
613
613
|
appId?: 0 | undefined;
|
|
@@ -638,12 +638,12 @@ declare class AppClient {
|
|
|
638
638
|
accountReferences?: ReadableAddress[] | undefined;
|
|
639
639
|
appReferences?: bigint[] | undefined;
|
|
640
640
|
assetReferences?: bigint[] | undefined;
|
|
641
|
-
boxReferences?: (
|
|
641
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
642
642
|
accessReferences?: ResourceReference[] | undefined;
|
|
643
643
|
rejectVersion?: number | undefined;
|
|
644
644
|
approvalProgram: string | Uint8Array;
|
|
645
645
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
646
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
647
647
|
}>;
|
|
648
648
|
/**
|
|
649
649
|
* Return params for an delete ABI call
|
|
@@ -665,16 +665,15 @@ declare class AppClient {
|
|
|
665
665
|
accountReferences?: ReadableAddress[] | undefined;
|
|
666
666
|
appReferences?: bigint[] | undefined;
|
|
667
667
|
assetReferences?: bigint[] | undefined;
|
|
668
|
-
boxReferences?: (
|
|
668
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
669
669
|
accessReferences?: ResourceReference[] | undefined;
|
|
670
670
|
rejectVersion?: number | undefined;
|
|
671
671
|
sender?: ReadableAddress | undefined;
|
|
672
672
|
method: string;
|
|
673
673
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
674
674
|
}) => Promise<{
|
|
675
|
-
appId: bigint;
|
|
676
|
-
sender: SendingAddress;
|
|
677
675
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
676
|
+
sender: SendingAddress;
|
|
678
677
|
rekeyTo?: ReadableAddress | undefined;
|
|
679
678
|
note?: string | Uint8Array | undefined;
|
|
680
679
|
lease?: string | Uint8Array | undefined;
|
|
@@ -684,18 +683,18 @@ declare class AppClient {
|
|
|
684
683
|
validityWindow?: number | bigint | undefined;
|
|
685
684
|
firstValidRound?: bigint | undefined;
|
|
686
685
|
lastValidRound?: bigint | undefined;
|
|
686
|
+
appId: bigint;
|
|
687
687
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
688
688
|
accountReferences?: ReadableAddress[] | undefined;
|
|
689
689
|
appReferences?: bigint[] | undefined;
|
|
690
690
|
assetReferences?: bigint[] | undefined;
|
|
691
|
-
boxReferences?: (
|
|
691
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
696
|
-
args?: Uint8Array[] | undefined;
|
|
697
|
-
sender: SendingAddress;
|
|
695
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
698
696
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
697
|
+
sender: SendingAddress;
|
|
699
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
700
699
|
note?: string | Uint8Array | undefined;
|
|
701
700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -706,10 +705,11 @@ declare class AppClient {
|
|
|
706
705
|
firstValidRound?: bigint | undefined;
|
|
707
706
|
lastValidRound?: bigint | undefined;
|
|
708
707
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
708
|
+
args?: Uint8Array[] | undefined;
|
|
709
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
710
|
appReferences?: bigint[] | undefined;
|
|
711
711
|
assetReferences?: bigint[] | undefined;
|
|
712
|
-
boxReferences?: (
|
|
712
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
713
713
|
accessReferences?: ResourceReference[] | undefined;
|
|
714
714
|
rejectVersion?: number | undefined;
|
|
715
715
|
appId?: 0 | undefined;
|
|
@@ -740,12 +740,12 @@ declare class AppClient {
|
|
|
740
740
|
accountReferences?: ReadableAddress[] | undefined;
|
|
741
741
|
appReferences?: bigint[] | undefined;
|
|
742
742
|
assetReferences?: bigint[] | undefined;
|
|
743
|
-
boxReferences?: (
|
|
743
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
744
744
|
accessReferences?: ResourceReference[] | undefined;
|
|
745
745
|
rejectVersion?: number | undefined;
|
|
746
746
|
approvalProgram: string | Uint8Array;
|
|
747
747
|
clearStateProgram: string | Uint8Array;
|
|
748
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
748
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
@@ -766,16 +766,15 @@ declare class AppClient {
|
|
|
766
766
|
accountReferences?: ReadableAddress[] | undefined;
|
|
767
767
|
appReferences?: bigint[] | undefined;
|
|
768
768
|
assetReferences?: bigint[] | undefined;
|
|
769
|
-
boxReferences?: (
|
|
769
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
770
770
|
accessReferences?: ResourceReference[] | undefined;
|
|
771
771
|
rejectVersion?: number | undefined;
|
|
772
772
|
sender?: ReadableAddress | undefined;
|
|
773
773
|
method: string;
|
|
774
774
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
775
775
|
}) => Promise<{
|
|
776
|
-
appId: bigint;
|
|
777
|
-
sender: SendingAddress;
|
|
778
776
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
777
|
+
sender: SendingAddress;
|
|
779
778
|
rekeyTo?: ReadableAddress | undefined;
|
|
780
779
|
note?: string | Uint8Array | undefined;
|
|
781
780
|
lease?: string | Uint8Array | undefined;
|
|
@@ -785,18 +784,18 @@ declare class AppClient {
|
|
|
785
784
|
validityWindow?: number | bigint | undefined;
|
|
786
785
|
firstValidRound?: bigint | undefined;
|
|
787
786
|
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;
|
|
791
791
|
assetReferences?: bigint[] | undefined;
|
|
792
|
-
boxReferences?: (
|
|
792
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
797
|
-
args?: Uint8Array[] | undefined;
|
|
798
|
-
sender: SendingAddress;
|
|
796
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
799
797
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
798
|
+
sender: SendingAddress;
|
|
800
799
|
rekeyTo?: ReadableAddress | undefined;
|
|
801
800
|
note?: string | Uint8Array | undefined;
|
|
802
801
|
lease?: string | Uint8Array | undefined;
|
|
@@ -807,10 +806,11 @@ declare class AppClient {
|
|
|
807
806
|
firstValidRound?: bigint | undefined;
|
|
808
807
|
lastValidRound?: bigint | undefined;
|
|
809
808
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
809
|
+
args?: Uint8Array[] | undefined;
|
|
810
810
|
accountReferences?: ReadableAddress[] | undefined;
|
|
811
811
|
appReferences?: bigint[] | undefined;
|
|
812
812
|
assetReferences?: bigint[] | undefined;
|
|
813
|
-
boxReferences?: (
|
|
813
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
814
814
|
accessReferences?: ResourceReference[] | undefined;
|
|
815
815
|
rejectVersion?: number | undefined;
|
|
816
816
|
appId?: 0 | undefined;
|
|
@@ -841,12 +841,12 @@ declare class AppClient {
|
|
|
841
841
|
accountReferences?: ReadableAddress[] | undefined;
|
|
842
842
|
appReferences?: bigint[] | undefined;
|
|
843
843
|
assetReferences?: bigint[] | undefined;
|
|
844
|
-
boxReferences?: (
|
|
844
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
845
845
|
accessReferences?: ResourceReference[] | undefined;
|
|
846
846
|
rejectVersion?: number | undefined;
|
|
847
847
|
approvalProgram: string | Uint8Array;
|
|
848
848
|
clearStateProgram: string | Uint8Array;
|
|
849
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
849
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
@@ -867,16 +867,15 @@ declare class AppClient {
|
|
|
867
867
|
accountReferences?: ReadableAddress[] | undefined;
|
|
868
868
|
appReferences?: bigint[] | undefined;
|
|
869
869
|
assetReferences?: bigint[] | undefined;
|
|
870
|
-
boxReferences?: (
|
|
870
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
871
871
|
accessReferences?: ResourceReference[] | undefined;
|
|
872
872
|
rejectVersion?: number | undefined;
|
|
873
873
|
sender?: ReadableAddress | undefined;
|
|
874
874
|
method: string;
|
|
875
875
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
876
876
|
} & CallOnComplete) => Promise<{
|
|
877
|
-
appId: bigint;
|
|
878
|
-
sender: SendingAddress;
|
|
879
877
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
878
|
+
sender: SendingAddress;
|
|
880
879
|
rekeyTo?: ReadableAddress | undefined;
|
|
881
880
|
note?: string | Uint8Array | undefined;
|
|
882
881
|
lease?: string | Uint8Array | undefined;
|
|
@@ -886,18 +885,18 @@ declare class AppClient {
|
|
|
886
885
|
validityWindow?: number | bigint | undefined;
|
|
887
886
|
firstValidRound?: bigint | undefined;
|
|
888
887
|
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;
|
|
892
892
|
assetReferences?: bigint[] | undefined;
|
|
893
|
-
boxReferences?: (
|
|
893
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
898
|
-
args?: Uint8Array[] | undefined;
|
|
899
|
-
sender: SendingAddress;
|
|
897
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
900
898
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
899
|
+
sender: SendingAddress;
|
|
901
900
|
rekeyTo?: ReadableAddress | undefined;
|
|
902
901
|
note?: string | Uint8Array | undefined;
|
|
903
902
|
lease?: string | Uint8Array | undefined;
|
|
@@ -908,10 +907,11 @@ declare class AppClient {
|
|
|
908
907
|
firstValidRound?: bigint | undefined;
|
|
909
908
|
lastValidRound?: bigint | undefined;
|
|
910
909
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
910
|
+
args?: Uint8Array[] | undefined;
|
|
911
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
912
|
appReferences?: bigint[] | undefined;
|
|
913
913
|
assetReferences?: bigint[] | undefined;
|
|
914
|
-
boxReferences?: (
|
|
914
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
915
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
916
|
rejectVersion?: number | undefined;
|
|
917
917
|
appId?: 0 | undefined;
|
|
@@ -942,18 +942,17 @@ declare class AppClient {
|
|
|
942
942
|
accountReferences?: ReadableAddress[] | undefined;
|
|
943
943
|
appReferences?: bigint[] | undefined;
|
|
944
944
|
assetReferences?: bigint[] | undefined;
|
|
945
|
-
boxReferences?: (
|
|
945
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
946
946
|
accessReferences?: ResourceReference[] | undefined;
|
|
947
947
|
rejectVersion?: number | undefined;
|
|
948
948
|
approvalProgram: string | Uint8Array;
|
|
949
949
|
clearStateProgram: string | Uint8Array;
|
|
950
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
950
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
951
951
|
}>;
|
|
952
952
|
} & {
|
|
953
953
|
/** Interact with bare (raw) call parameters */bare: {
|
|
954
954
|
/** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
955
955
|
update: (params?: ({
|
|
956
|
-
args?: Uint8Array[] | undefined;
|
|
957
956
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
958
957
|
rekeyTo?: ReadableAddress | undefined;
|
|
959
958
|
note?: string | Uint8Array | undefined;
|
|
@@ -964,10 +963,11 @@ declare class AppClient {
|
|
|
964
963
|
validityWindow?: number | bigint | undefined;
|
|
965
964
|
firstValidRound?: bigint | undefined;
|
|
966
965
|
lastValidRound?: bigint | undefined;
|
|
966
|
+
args?: Uint8Array[] | undefined;
|
|
967
967
|
accountReferences?: ReadableAddress[] | undefined;
|
|
968
968
|
appReferences?: bigint[] | undefined;
|
|
969
969
|
assetReferences?: bigint[] | undefined;
|
|
970
|
-
boxReferences?: (
|
|
970
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
971
971
|
accessReferences?: ResourceReference[] | undefined;
|
|
972
972
|
rejectVersion?: number | undefined;
|
|
973
973
|
sender?: ReadableAddress | undefined;
|
|
@@ -989,7 +989,7 @@ declare class AppClient {
|
|
|
989
989
|
accountReferences?: ReadableAddress[] | undefined;
|
|
990
990
|
appReferences?: bigint[] | undefined;
|
|
991
991
|
assetReferences?: bigint[] | undefined;
|
|
992
|
-
boxReferences?: (
|
|
992
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
993
993
|
accessReferences?: ResourceReference[] | undefined;
|
|
994
994
|
rejectVersion?: number | undefined;
|
|
995
995
|
approvalProgram: string | Uint8Array;
|
|
@@ -997,7 +997,6 @@ declare class AppClient {
|
|
|
997
997
|
}>;
|
|
998
998
|
/** Return params for an opt-in call */
|
|
999
999
|
optIn: (params?: {
|
|
1000
|
-
args?: Uint8Array[] | undefined;
|
|
1001
1000
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1002
1001
|
rekeyTo?: ReadableAddress | undefined;
|
|
1003
1002
|
note?: string | Uint8Array | undefined;
|
|
@@ -1008,17 +1007,17 @@ declare class AppClient {
|
|
|
1008
1007
|
validityWindow?: number | bigint | undefined;
|
|
1009
1008
|
firstValidRound?: bigint | undefined;
|
|
1010
1009
|
lastValidRound?: bigint | undefined;
|
|
1010
|
+
args?: Uint8Array[] | undefined;
|
|
1011
1011
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1012
1012
|
appReferences?: bigint[] | undefined;
|
|
1013
1013
|
assetReferences?: bigint[] | undefined;
|
|
1014
|
-
boxReferences?: (
|
|
1014
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1015
1015
|
accessReferences?: ResourceReference[] | undefined;
|
|
1016
1016
|
rejectVersion?: number | undefined;
|
|
1017
1017
|
sender?: ReadableAddress | undefined;
|
|
1018
1018
|
} | undefined) => AppCallParams;
|
|
1019
1019
|
/** Return params for a delete call */
|
|
1020
1020
|
delete: (params?: {
|
|
1021
|
-
args?: Uint8Array[] | undefined;
|
|
1022
1021
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1023
1022
|
rekeyTo?: ReadableAddress | undefined;
|
|
1024
1023
|
note?: string | Uint8Array | undefined;
|
|
@@ -1029,17 +1028,17 @@ declare class AppClient {
|
|
|
1029
1028
|
validityWindow?: number | bigint | undefined;
|
|
1030
1029
|
firstValidRound?: bigint | undefined;
|
|
1031
1030
|
lastValidRound?: bigint | undefined;
|
|
1031
|
+
args?: Uint8Array[] | undefined;
|
|
1032
1032
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1033
1033
|
appReferences?: bigint[] | undefined;
|
|
1034
1034
|
assetReferences?: bigint[] | undefined;
|
|
1035
|
-
boxReferences?: (
|
|
1035
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1036
1036
|
accessReferences?: ResourceReference[] | undefined;
|
|
1037
1037
|
rejectVersion?: number | undefined;
|
|
1038
1038
|
sender?: ReadableAddress | undefined;
|
|
1039
1039
|
} | undefined) => AppDeleteParams;
|
|
1040
1040
|
/** Return params for a clear state call */
|
|
1041
1041
|
clearState: (params?: {
|
|
1042
|
-
args?: Uint8Array[] | undefined;
|
|
1043
1042
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1044
1043
|
rekeyTo?: ReadableAddress | undefined;
|
|
1045
1044
|
note?: string | Uint8Array | undefined;
|
|
@@ -1050,17 +1049,17 @@ declare class AppClient {
|
|
|
1050
1049
|
validityWindow?: number | bigint | undefined;
|
|
1051
1050
|
firstValidRound?: bigint | undefined;
|
|
1052
1051
|
lastValidRound?: bigint | undefined;
|
|
1052
|
+
args?: Uint8Array[] | undefined;
|
|
1053
1053
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1054
1054
|
appReferences?: bigint[] | undefined;
|
|
1055
1055
|
assetReferences?: bigint[] | undefined;
|
|
1056
|
-
boxReferences?: (
|
|
1056
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1057
1057
|
accessReferences?: ResourceReference[] | undefined;
|
|
1058
1058
|
rejectVersion?: number | undefined;
|
|
1059
1059
|
sender?: ReadableAddress | undefined;
|
|
1060
1060
|
} | undefined) => AppCallParams;
|
|
1061
1061
|
/** Return params for a close out call */
|
|
1062
1062
|
closeOut: (params?: {
|
|
1063
|
-
args?: Uint8Array[] | undefined;
|
|
1064
1063
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1065
1064
|
rekeyTo?: ReadableAddress | undefined;
|
|
1066
1065
|
note?: string | Uint8Array | undefined;
|
|
@@ -1071,17 +1070,17 @@ declare class AppClient {
|
|
|
1071
1070
|
validityWindow?: number | bigint | undefined;
|
|
1072
1071
|
firstValidRound?: bigint | undefined;
|
|
1073
1072
|
lastValidRound?: bigint | undefined;
|
|
1073
|
+
args?: Uint8Array[] | undefined;
|
|
1074
1074
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1075
|
appReferences?: bigint[] | undefined;
|
|
1076
1076
|
assetReferences?: bigint[] | undefined;
|
|
1077
|
-
boxReferences?: (
|
|
1077
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1078
1078
|
accessReferences?: ResourceReference[] | undefined;
|
|
1079
1079
|
rejectVersion?: number | undefined;
|
|
1080
1080
|
sender?: ReadableAddress | undefined;
|
|
1081
1081
|
} | undefined) => AppCallParams;
|
|
1082
1082
|
/** Return params for a call (defaults to no-op) */
|
|
1083
1083
|
call: (params?: ({
|
|
1084
|
-
args?: Uint8Array[] | undefined;
|
|
1085
1084
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1086
1085
|
rekeyTo?: ReadableAddress | undefined;
|
|
1087
1086
|
note?: string | Uint8Array | undefined;
|
|
@@ -1092,10 +1091,11 @@ declare class AppClient {
|
|
|
1092
1091
|
validityWindow?: number | bigint | undefined;
|
|
1093
1092
|
firstValidRound?: bigint | undefined;
|
|
1094
1093
|
lastValidRound?: bigint | undefined;
|
|
1094
|
+
args?: Uint8Array[] | undefined;
|
|
1095
1095
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1096
1096
|
appReferences?: bigint[] | undefined;
|
|
1097
1097
|
assetReferences?: bigint[] | undefined;
|
|
1098
|
-
boxReferences?: (
|
|
1098
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1099
1099
|
accessReferences?: ResourceReference[] | undefined;
|
|
1100
1100
|
rejectVersion?: number | undefined;
|
|
1101
1101
|
sender?: ReadableAddress | undefined;
|
|
@@ -1110,6 +1110,7 @@ declare class AppClient {
|
|
|
1110
1110
|
*/
|
|
1111
1111
|
fundAppAccount: (params: {
|
|
1112
1112
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1113
|
+
amount: AlgoAmount;
|
|
1113
1114
|
rekeyTo?: ReadableAddress | undefined;
|
|
1114
1115
|
note?: string | Uint8Array | undefined;
|
|
1115
1116
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1119,7 +1120,6 @@ declare class AppClient {
|
|
|
1119
1120
|
validityWindow?: number | bigint | undefined;
|
|
1120
1121
|
firstValidRound?: bigint | undefined;
|
|
1121
1122
|
lastValidRound?: bigint | undefined;
|
|
1122
|
-
amount: AlgoAmount;
|
|
1123
1123
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1124
1124
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1125
1125
|
suppressLog?: boolean | undefined;
|
|
@@ -1147,7 +1147,7 @@ declare class AppClient {
|
|
|
1147
1147
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1148
1148
|
appReferences?: bigint[] | undefined;
|
|
1149
1149
|
assetReferences?: bigint[] | undefined;
|
|
1150
|
-
boxReferences?: (
|
|
1150
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1151
1151
|
accessReferences?: ResourceReference[] | undefined;
|
|
1152
1152
|
rejectVersion?: number | undefined;
|
|
1153
1153
|
sender?: ReadableAddress | undefined;
|
|
@@ -1178,7 +1178,7 @@ declare class AppClient {
|
|
|
1178
1178
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1179
1179
|
appReferences?: bigint[] | undefined;
|
|
1180
1180
|
assetReferences?: bigint[] | undefined;
|
|
1181
|
-
boxReferences?: (
|
|
1181
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1182
1182
|
accessReferences?: ResourceReference[] | undefined;
|
|
1183
1183
|
rejectVersion?: number | undefined;
|
|
1184
1184
|
sender?: ReadableAddress | undefined;
|
|
@@ -1209,7 +1209,7 @@ declare class AppClient {
|
|
|
1209
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1210
1210
|
appReferences?: bigint[] | undefined;
|
|
1211
1211
|
assetReferences?: bigint[] | undefined;
|
|
1212
|
-
boxReferences?: (
|
|
1212
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1213
1213
|
accessReferences?: ResourceReference[] | undefined;
|
|
1214
1214
|
rejectVersion?: number | undefined;
|
|
1215
1215
|
sender?: ReadableAddress | undefined;
|
|
@@ -1240,7 +1240,7 @@ declare class AppClient {
|
|
|
1240
1240
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1241
1241
|
appReferences?: bigint[] | undefined;
|
|
1242
1242
|
assetReferences?: bigint[] | undefined;
|
|
1243
|
-
boxReferences?: (
|
|
1243
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1244
1244
|
accessReferences?: ResourceReference[] | undefined;
|
|
1245
1245
|
rejectVersion?: number | undefined;
|
|
1246
1246
|
sender?: ReadableAddress | undefined;
|
|
@@ -1271,7 +1271,7 @@ declare class AppClient {
|
|
|
1271
1271
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1272
1272
|
appReferences?: bigint[] | undefined;
|
|
1273
1273
|
assetReferences?: bigint[] | undefined;
|
|
1274
|
-
boxReferences?: (
|
|
1274
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1275
1275
|
accessReferences?: ResourceReference[] | undefined;
|
|
1276
1276
|
rejectVersion?: number | undefined;
|
|
1277
1277
|
sender?: ReadableAddress | undefined;
|
|
@@ -1286,7 +1286,6 @@ declare class AppClient {
|
|
|
1286
1286
|
/** Interact with bare (raw) call transactions */bare: {
|
|
1287
1287
|
/** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1288
1288
|
update: (params?: ({
|
|
1289
|
-
args?: Uint8Array[] | undefined;
|
|
1290
1289
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1291
1290
|
rekeyTo?: ReadableAddress | undefined;
|
|
1292
1291
|
note?: string | Uint8Array | undefined;
|
|
@@ -1297,17 +1296,17 @@ declare class AppClient {
|
|
|
1297
1296
|
validityWindow?: number | bigint | undefined;
|
|
1298
1297
|
firstValidRound?: bigint | undefined;
|
|
1299
1298
|
lastValidRound?: bigint | undefined;
|
|
1299
|
+
args?: Uint8Array[] | undefined;
|
|
1300
1300
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1301
1301
|
appReferences?: bigint[] | undefined;
|
|
1302
1302
|
assetReferences?: bigint[] | undefined;
|
|
1303
|
-
boxReferences?: (
|
|
1303
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1304
1304
|
accessReferences?: ResourceReference[] | undefined;
|
|
1305
1305
|
rejectVersion?: number | undefined;
|
|
1306
1306
|
sender?: ReadableAddress | undefined;
|
|
1307
1307
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1308
1308
|
/** Returns a transaction for an opt-in call */
|
|
1309
1309
|
optIn: (params?: {
|
|
1310
|
-
args?: Uint8Array[] | undefined;
|
|
1311
1310
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1312
1311
|
rekeyTo?: ReadableAddress | undefined;
|
|
1313
1312
|
note?: string | Uint8Array | undefined;
|
|
@@ -1318,17 +1317,17 @@ declare class AppClient {
|
|
|
1318
1317
|
validityWindow?: number | bigint | undefined;
|
|
1319
1318
|
firstValidRound?: bigint | undefined;
|
|
1320
1319
|
lastValidRound?: bigint | undefined;
|
|
1320
|
+
args?: Uint8Array[] | undefined;
|
|
1321
1321
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1322
1322
|
appReferences?: bigint[] | undefined;
|
|
1323
1323
|
assetReferences?: bigint[] | undefined;
|
|
1324
|
-
boxReferences?: (
|
|
1324
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1325
1325
|
accessReferences?: ResourceReference[] | undefined;
|
|
1326
1326
|
rejectVersion?: number | undefined;
|
|
1327
1327
|
sender?: ReadableAddress | undefined;
|
|
1328
1328
|
} | undefined) => Promise<Transaction>;
|
|
1329
1329
|
/** Returns a transaction for a delete call */
|
|
1330
1330
|
delete: (params?: {
|
|
1331
|
-
args?: Uint8Array[] | undefined;
|
|
1332
1331
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1333
1332
|
rekeyTo?: ReadableAddress | undefined;
|
|
1334
1333
|
note?: string | Uint8Array | undefined;
|
|
@@ -1339,17 +1338,17 @@ declare class AppClient {
|
|
|
1339
1338
|
validityWindow?: number | bigint | undefined;
|
|
1340
1339
|
firstValidRound?: bigint | undefined;
|
|
1341
1340
|
lastValidRound?: bigint | undefined;
|
|
1341
|
+
args?: Uint8Array[] | undefined;
|
|
1342
1342
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1343
1343
|
appReferences?: bigint[] | undefined;
|
|
1344
1344
|
assetReferences?: bigint[] | undefined;
|
|
1345
|
-
boxReferences?: (
|
|
1345
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1346
1346
|
accessReferences?: ResourceReference[] | undefined;
|
|
1347
1347
|
rejectVersion?: number | undefined;
|
|
1348
1348
|
sender?: ReadableAddress | undefined;
|
|
1349
1349
|
} | undefined) => Promise<Transaction>;
|
|
1350
1350
|
/** Returns a transaction for a clear state call */
|
|
1351
1351
|
clearState: (params?: {
|
|
1352
|
-
args?: Uint8Array[] | undefined;
|
|
1353
1352
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1354
1353
|
rekeyTo?: ReadableAddress | undefined;
|
|
1355
1354
|
note?: string | Uint8Array | undefined;
|
|
@@ -1360,17 +1359,17 @@ declare class AppClient {
|
|
|
1360
1359
|
validityWindow?: number | bigint | undefined;
|
|
1361
1360
|
firstValidRound?: bigint | undefined;
|
|
1362
1361
|
lastValidRound?: bigint | undefined;
|
|
1362
|
+
args?: Uint8Array[] | undefined;
|
|
1363
1363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1364
1364
|
appReferences?: bigint[] | undefined;
|
|
1365
1365
|
assetReferences?: bigint[] | undefined;
|
|
1366
|
-
boxReferences?: (
|
|
1366
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1367
1367
|
accessReferences?: ResourceReference[] | undefined;
|
|
1368
1368
|
rejectVersion?: number | undefined;
|
|
1369
1369
|
sender?: ReadableAddress | undefined;
|
|
1370
1370
|
} | undefined) => Promise<Transaction>;
|
|
1371
1371
|
/** Returns a transaction for a close out call */
|
|
1372
1372
|
closeOut: (params?: {
|
|
1373
|
-
args?: Uint8Array[] | undefined;
|
|
1374
1373
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1375
1374
|
rekeyTo?: ReadableAddress | undefined;
|
|
1376
1375
|
note?: string | Uint8Array | undefined;
|
|
@@ -1381,17 +1380,17 @@ declare class AppClient {
|
|
|
1381
1380
|
validityWindow?: number | bigint | undefined;
|
|
1382
1381
|
firstValidRound?: bigint | undefined;
|
|
1383
1382
|
lastValidRound?: bigint | undefined;
|
|
1383
|
+
args?: Uint8Array[] | undefined;
|
|
1384
1384
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1385
1385
|
appReferences?: bigint[] | undefined;
|
|
1386
1386
|
assetReferences?: bigint[] | undefined;
|
|
1387
|
-
boxReferences?: (
|
|
1387
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1388
1388
|
accessReferences?: ResourceReference[] | undefined;
|
|
1389
1389
|
rejectVersion?: number | undefined;
|
|
1390
1390
|
sender?: ReadableAddress | undefined;
|
|
1391
1391
|
} | undefined) => Promise<Transaction>;
|
|
1392
1392
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
1393
1393
|
call: (params?: ({
|
|
1394
|
-
args?: Uint8Array[] | undefined;
|
|
1395
1394
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1396
1395
|
rekeyTo?: ReadableAddress | undefined;
|
|
1397
1396
|
note?: string | Uint8Array | undefined;
|
|
@@ -1402,10 +1401,11 @@ declare class AppClient {
|
|
|
1402
1401
|
validityWindow?: number | bigint | undefined;
|
|
1403
1402
|
firstValidRound?: bigint | undefined;
|
|
1404
1403
|
lastValidRound?: bigint | undefined;
|
|
1404
|
+
args?: Uint8Array[] | undefined;
|
|
1405
1405
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1406
1406
|
appReferences?: bigint[] | undefined;
|
|
1407
1407
|
assetReferences?: bigint[] | undefined;
|
|
1408
|
-
boxReferences?: (
|
|
1408
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1409
1409
|
accessReferences?: ResourceReference[] | undefined;
|
|
1410
1410
|
rejectVersion?: number | undefined;
|
|
1411
1411
|
sender?: ReadableAddress | undefined;
|
|
@@ -1420,6 +1420,7 @@ declare class AppClient {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
fundAppAccount: (params: {
|
|
1422
1422
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1423
|
+
amount: AlgoAmount;
|
|
1423
1424
|
rekeyTo?: ReadableAddress | undefined;
|
|
1424
1425
|
note?: string | Uint8Array | undefined;
|
|
1425
1426
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1429,7 +1430,6 @@ declare class AppClient {
|
|
|
1429
1430
|
validityWindow?: number | bigint | undefined;
|
|
1430
1431
|
firstValidRound?: bigint | undefined;
|
|
1431
1432
|
lastValidRound?: bigint | undefined;
|
|
1432
|
-
amount: AlgoAmount;
|
|
1433
1433
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1434
1434
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1435
1435
|
suppressLog?: boolean | undefined;
|
|
@@ -1465,7 +1465,7 @@ declare class AppClient {
|
|
|
1465
1465
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1466
1466
|
appReferences?: bigint[] | undefined;
|
|
1467
1467
|
assetReferences?: bigint[] | undefined;
|
|
1468
|
-
boxReferences?: (
|
|
1468
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1469
1469
|
accessReferences?: ResourceReference[] | undefined;
|
|
1470
1470
|
rejectVersion?: number | undefined;
|
|
1471
1471
|
sender?: ReadableAddress | undefined;
|
|
@@ -1503,7 +1503,7 @@ declare class AppClient {
|
|
|
1503
1503
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1504
1504
|
appReferences?: bigint[] | undefined;
|
|
1505
1505
|
assetReferences?: bigint[] | undefined;
|
|
1506
|
-
boxReferences?: (
|
|
1506
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1507
1507
|
accessReferences?: ResourceReference[] | undefined;
|
|
1508
1508
|
rejectVersion?: number | undefined;
|
|
1509
1509
|
sender?: ReadableAddress | undefined;
|
|
@@ -1539,7 +1539,7 @@ declare class AppClient {
|
|
|
1539
1539
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1540
1540
|
appReferences?: bigint[] | undefined;
|
|
1541
1541
|
assetReferences?: bigint[] | undefined;
|
|
1542
|
-
boxReferences?: (
|
|
1542
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1543
1543
|
accessReferences?: ResourceReference[] | undefined;
|
|
1544
1544
|
rejectVersion?: number | undefined;
|
|
1545
1545
|
sender?: ReadableAddress | undefined;
|
|
@@ -1575,7 +1575,7 @@ declare class AppClient {
|
|
|
1575
1575
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1576
1576
|
appReferences?: bigint[] | undefined;
|
|
1577
1577
|
assetReferences?: bigint[] | undefined;
|
|
1578
|
-
boxReferences?: (
|
|
1578
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1579
1579
|
accessReferences?: ResourceReference[] | undefined;
|
|
1580
1580
|
rejectVersion?: number | undefined;
|
|
1581
1581
|
sender?: ReadableAddress | undefined;
|
|
@@ -1611,7 +1611,7 @@ declare class AppClient {
|
|
|
1611
1611
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1612
1612
|
appReferences?: bigint[] | undefined;
|
|
1613
1613
|
assetReferences?: bigint[] | undefined;
|
|
1614
|
-
boxReferences?: (
|
|
1614
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1615
1615
|
accessReferences?: ResourceReference[] | undefined;
|
|
1616
1616
|
rejectVersion?: number | undefined;
|
|
1617
1617
|
sender?: ReadableAddress | undefined;
|
|
@@ -1631,7 +1631,6 @@ declare class AppClient {
|
|
|
1631
1631
|
/** Interact with bare (raw) calls */bare: {
|
|
1632
1632
|
/** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1633
1633
|
update: (params?: ({
|
|
1634
|
-
args?: Uint8Array[] | undefined;
|
|
1635
1634
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1636
1635
|
rekeyTo?: ReadableAddress | undefined;
|
|
1637
1636
|
note?: string | Uint8Array | undefined;
|
|
@@ -1642,10 +1641,11 @@ declare class AppClient {
|
|
|
1642
1641
|
validityWindow?: number | bigint | undefined;
|
|
1643
1642
|
firstValidRound?: bigint | undefined;
|
|
1644
1643
|
lastValidRound?: bigint | undefined;
|
|
1644
|
+
args?: Uint8Array[] | undefined;
|
|
1645
1645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1646
1646
|
appReferences?: bigint[] | undefined;
|
|
1647
1647
|
assetReferences?: bigint[] | undefined;
|
|
1648
|
-
boxReferences?: (
|
|
1648
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1649
1649
|
accessReferences?: ResourceReference[] | undefined;
|
|
1650
1650
|
rejectVersion?: number | undefined;
|
|
1651
1651
|
sender?: ReadableAddress | undefined;
|
|
@@ -1663,7 +1663,6 @@ declare class AppClient {
|
|
|
1663
1663
|
}>;
|
|
1664
1664
|
/** Signs and sends an opt-in call */
|
|
1665
1665
|
optIn: (params?: ({
|
|
1666
|
-
args?: Uint8Array[] | undefined;
|
|
1667
1666
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1668
1667
|
rekeyTo?: ReadableAddress | undefined;
|
|
1669
1668
|
note?: string | Uint8Array | undefined;
|
|
@@ -1674,10 +1673,11 @@ declare class AppClient {
|
|
|
1674
1673
|
validityWindow?: number | bigint | undefined;
|
|
1675
1674
|
firstValidRound?: bigint | undefined;
|
|
1676
1675
|
lastValidRound?: bigint | undefined;
|
|
1676
|
+
args?: Uint8Array[] | undefined;
|
|
1677
1677
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1678
1678
|
appReferences?: bigint[] | undefined;
|
|
1679
1679
|
assetReferences?: bigint[] | undefined;
|
|
1680
|
-
boxReferences?: (
|
|
1680
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1681
1681
|
accessReferences?: ResourceReference[] | undefined;
|
|
1682
1682
|
rejectVersion?: number | undefined;
|
|
1683
1683
|
sender?: ReadableAddress | undefined;
|
|
@@ -1693,7 +1693,6 @@ declare class AppClient {
|
|
|
1693
1693
|
}>;
|
|
1694
1694
|
/** Signs and sends a delete call */
|
|
1695
1695
|
delete: (params?: ({
|
|
1696
|
-
args?: Uint8Array[] | undefined;
|
|
1697
1696
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1698
1697
|
rekeyTo?: ReadableAddress | undefined;
|
|
1699
1698
|
note?: string | Uint8Array | undefined;
|
|
@@ -1704,10 +1703,11 @@ declare class AppClient {
|
|
|
1704
1703
|
validityWindow?: number | bigint | undefined;
|
|
1705
1704
|
firstValidRound?: bigint | undefined;
|
|
1706
1705
|
lastValidRound?: bigint | undefined;
|
|
1706
|
+
args?: Uint8Array[] | undefined;
|
|
1707
1707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1708
1708
|
appReferences?: bigint[] | undefined;
|
|
1709
1709
|
assetReferences?: bigint[] | undefined;
|
|
1710
|
-
boxReferences?: (
|
|
1710
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1711
1711
|
accessReferences?: ResourceReference[] | undefined;
|
|
1712
1712
|
rejectVersion?: number | undefined;
|
|
1713
1713
|
sender?: ReadableAddress | undefined;
|
|
@@ -1723,7 +1723,6 @@ declare class AppClient {
|
|
|
1723
1723
|
}>;
|
|
1724
1724
|
/** Signs and sends a clear state call */
|
|
1725
1725
|
clearState: (params?: ({
|
|
1726
|
-
args?: Uint8Array[] | undefined;
|
|
1727
1726
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1728
1727
|
rekeyTo?: ReadableAddress | undefined;
|
|
1729
1728
|
note?: string | Uint8Array | undefined;
|
|
@@ -1734,10 +1733,11 @@ declare class AppClient {
|
|
|
1734
1733
|
validityWindow?: number | bigint | undefined;
|
|
1735
1734
|
firstValidRound?: bigint | undefined;
|
|
1736
1735
|
lastValidRound?: bigint | undefined;
|
|
1736
|
+
args?: Uint8Array[] | undefined;
|
|
1737
1737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1738
1738
|
appReferences?: bigint[] | undefined;
|
|
1739
1739
|
assetReferences?: bigint[] | undefined;
|
|
1740
|
-
boxReferences?: (
|
|
1740
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1741
1741
|
accessReferences?: ResourceReference[] | undefined;
|
|
1742
1742
|
rejectVersion?: number | undefined;
|
|
1743
1743
|
sender?: ReadableAddress | undefined;
|
|
@@ -1753,7 +1753,6 @@ declare class AppClient {
|
|
|
1753
1753
|
}>;
|
|
1754
1754
|
/** Signs and sends a close out call */
|
|
1755
1755
|
closeOut: (params?: ({
|
|
1756
|
-
args?: Uint8Array[] | undefined;
|
|
1757
1756
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1758
1757
|
rekeyTo?: ReadableAddress | undefined;
|
|
1759
1758
|
note?: string | Uint8Array | undefined;
|
|
@@ -1764,10 +1763,11 @@ declare class AppClient {
|
|
|
1764
1763
|
validityWindow?: number | bigint | undefined;
|
|
1765
1764
|
firstValidRound?: bigint | undefined;
|
|
1766
1765
|
lastValidRound?: bigint | undefined;
|
|
1766
|
+
args?: Uint8Array[] | undefined;
|
|
1767
1767
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1768
1768
|
appReferences?: bigint[] | undefined;
|
|
1769
1769
|
assetReferences?: bigint[] | undefined;
|
|
1770
|
-
boxReferences?: (
|
|
1770
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1771
1771
|
accessReferences?: ResourceReference[] | undefined;
|
|
1772
1772
|
rejectVersion?: number | undefined;
|
|
1773
1773
|
sender?: ReadableAddress | undefined;
|
|
@@ -1783,7 +1783,6 @@ declare class AppClient {
|
|
|
1783
1783
|
}>;
|
|
1784
1784
|
/** Signs and sends a call (defaults to no-op) */
|
|
1785
1785
|
call: (params?: ({
|
|
1786
|
-
args?: Uint8Array[] | undefined;
|
|
1787
1786
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1788
1787
|
rekeyTo?: ReadableAddress | undefined;
|
|
1789
1788
|
note?: string | Uint8Array | undefined;
|
|
@@ -1794,10 +1793,11 @@ declare class AppClient {
|
|
|
1794
1793
|
validityWindow?: number | bigint | undefined;
|
|
1795
1794
|
firstValidRound?: bigint | undefined;
|
|
1796
1795
|
lastValidRound?: bigint | undefined;
|
|
1796
|
+
args?: Uint8Array[] | undefined;
|
|
1797
1797
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1798
1798
|
appReferences?: bigint[] | undefined;
|
|
1799
1799
|
assetReferences?: bigint[] | undefined;
|
|
1800
|
-
boxReferences?: (
|
|
1800
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1801
1801
|
accessReferences?: ResourceReference[] | undefined;
|
|
1802
1802
|
rejectVersion?: number | undefined;
|
|
1803
1803
|
sender?: ReadableAddress | undefined;
|