@algorandfoundation/algokit-utils 10.0.0-alpha.1 → 10.0.0-alpha.3
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/README.md +27 -5
- package/algo25/index.d.ts +2 -0
- package/algo25/index.js +9 -0
- package/algo25/index.mjs +3 -0
- package/package.json +1 -1
- package/packages/algo25/src/english.js.map +1 -1
- package/packages/algo25/src/english.mjs.map +1 -1
- package/packages/algo25/src/index.d.ts +40 -0
- package/packages/algo25/src/index.js +44 -0
- package/packages/algo25/src/index.js.map +1 -1
- package/packages/algo25/src/index.mjs +39 -1
- package/packages/algo25/src/index.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/account-manager.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +82 -82
- package/types/algorand-client-transaction-sender.d.ts +84 -84
- package/types/app-client.d.ts +259 -259
- package/types/app-factory.d.ts +87 -87
- package/types/composer.d.ts +1 -0
- package/types/composer.js +11 -0
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +11 -0
- package/types/composer.mjs.map +1 -1
package/types/app-client.d.ts
CHANGED
|
@@ -386,17 +386,17 @@ 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
|
+
amount: AlgoAmount;
|
|
391
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
389
392
|
note?: string | Uint8Array | undefined;
|
|
390
|
-
maxFee?: AlgoAmount | undefined;
|
|
391
393
|
lease?: string | Uint8Array | undefined;
|
|
392
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
393
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
394
394
|
staticFee?: AlgoAmount | undefined;
|
|
395
395
|
extraFee?: AlgoAmount | undefined;
|
|
396
|
+
maxFee?: AlgoAmount | undefined;
|
|
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,16 +407,16 @@ declare class AppClient {
|
|
|
407
407
|
sender: Address;
|
|
408
408
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
|
+
amount: AlgoAmount;
|
|
411
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
410
412
|
note?: string | Uint8Array | undefined;
|
|
411
|
-
maxFee?: AlgoAmount | undefined;
|
|
412
413
|
lease?: string | Uint8Array | undefined;
|
|
413
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
414
414
|
staticFee?: AlgoAmount | undefined;
|
|
415
415
|
extraFee?: AlgoAmount | undefined;
|
|
416
|
+
maxFee?: AlgoAmount | undefined;
|
|
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;
|
|
@@ -429,21 +429,21 @@ declare class AppClient {
|
|
|
429
429
|
* @returns The parameters which can be used to create an update ABI method call
|
|
430
430
|
*/
|
|
431
431
|
update: (params: {
|
|
432
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
433
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
432
434
|
note?: string | Uint8Array | undefined;
|
|
433
|
-
maxFee?: AlgoAmount | undefined;
|
|
434
435
|
lease?: string | Uint8Array | undefined;
|
|
435
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
436
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
437
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
438
436
|
staticFee?: AlgoAmount | undefined;
|
|
439
437
|
extraFee?: AlgoAmount | undefined;
|
|
438
|
+
maxFee?: AlgoAmount | undefined;
|
|
440
439
|
validityWindow?: number | bigint | undefined;
|
|
441
440
|
firstValidRound?: bigint | undefined;
|
|
442
441
|
lastValidRound?: bigint | undefined;
|
|
442
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
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?: AccessReference[] | undefined;
|
|
448
448
|
rejectVersion?: number | undefined;
|
|
449
449
|
sender?: ReadableAddress | undefined;
|
|
@@ -456,21 +456,21 @@ declare class AppClient {
|
|
|
456
456
|
clearStateProgram: Uint8Array;
|
|
457
457
|
compiledApproval?: CompiledTeal | undefined;
|
|
458
458
|
compiledClear?: CompiledTeal | undefined;
|
|
459
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
460
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
459
461
|
note?: string | Uint8Array | undefined;
|
|
460
|
-
maxFee?: AlgoAmount | undefined;
|
|
461
462
|
lease?: string | Uint8Array | undefined;
|
|
462
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
463
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
464
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
465
463
|
staticFee?: AlgoAmount | undefined;
|
|
466
464
|
extraFee?: AlgoAmount | undefined;
|
|
465
|
+
maxFee?: AlgoAmount | undefined;
|
|
467
466
|
validityWindow?: number | bigint | undefined;
|
|
468
467
|
firstValidRound?: bigint | undefined;
|
|
469
468
|
lastValidRound?: bigint | undefined;
|
|
469
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
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?: AccessReference[] | undefined;
|
|
475
475
|
rejectVersion?: number | undefined;
|
|
476
476
|
sender?: ReadableAddress | undefined;
|
|
@@ -488,24 +488,24 @@ declare class AppClient {
|
|
|
488
488
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (
|
|
492
|
-
|
|
493
|
-
note?: string | Uint8Array | undefined;
|
|
494
|
-
maxFee?: AlgoAmount | undefined;
|
|
491
|
+
args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
492
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
495
493
|
sender: SendingAddress;
|
|
496
|
-
lease?: string | Uint8Array | undefined;
|
|
497
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
498
|
-
|
|
499
|
-
|
|
495
|
+
note?: string | Uint8Array | undefined;
|
|
496
|
+
lease?: string | Uint8Array | undefined;
|
|
500
497
|
staticFee?: AlgoAmount | undefined;
|
|
501
498
|
extraFee?: AlgoAmount | undefined;
|
|
499
|
+
maxFee?: AlgoAmount | undefined;
|
|
502
500
|
validityWindow?: number | bigint | undefined;
|
|
503
501
|
firstValidRound?: bigint | undefined;
|
|
504
502
|
lastValidRound?: bigint | undefined;
|
|
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?: AccessReference[] | undefined;
|
|
510
510
|
rejectVersion?: number | undefined;
|
|
511
511
|
approvalProgram: string | Uint8Array;
|
|
@@ -535,7 +535,7 @@ declare class AppClient {
|
|
|
535
535
|
accountReferences?: ReadableAddress[] | undefined;
|
|
536
536
|
appReferences?: bigint[] | undefined;
|
|
537
537
|
assetReferences?: bigint[] | undefined;
|
|
538
|
-
boxReferences?: (
|
|
538
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
539
539
|
accessReferences?: AccessReference[] | undefined;
|
|
540
540
|
rejectVersion?: number | undefined;
|
|
541
541
|
approvalProgram: string | Uint8Array;
|
|
@@ -548,65 +548,65 @@ declare class AppClient {
|
|
|
548
548
|
* @returns The parameters which can be used to create an opt-in ABI method call
|
|
549
549
|
*/
|
|
550
550
|
optIn: (params: {
|
|
551
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
552
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
551
553
|
note?: string | Uint8Array | undefined;
|
|
552
|
-
maxFee?: AlgoAmount | undefined;
|
|
553
554
|
lease?: string | Uint8Array | undefined;
|
|
554
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
555
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
556
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
557
555
|
staticFee?: AlgoAmount | undefined;
|
|
558
556
|
extraFee?: AlgoAmount | undefined;
|
|
557
|
+
maxFee?: AlgoAmount | undefined;
|
|
559
558
|
validityWindow?: number | bigint | undefined;
|
|
560
559
|
firstValidRound?: bigint | undefined;
|
|
561
560
|
lastValidRound?: bigint | undefined;
|
|
561
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
562
562
|
accountReferences?: ReadableAddress[] | undefined;
|
|
563
563
|
appReferences?: bigint[] | undefined;
|
|
564
564
|
assetReferences?: bigint[] | undefined;
|
|
565
|
-
boxReferences?: (
|
|
565
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
566
566
|
accessReferences?: AccessReference[] | undefined;
|
|
567
567
|
rejectVersion?: number | undefined;
|
|
568
568
|
sender?: ReadableAddress | undefined;
|
|
569
569
|
method: string;
|
|
570
570
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
571
571
|
}) => Promise<{
|
|
572
|
-
|
|
573
|
-
note?: string | Uint8Array | undefined;
|
|
574
|
-
maxFee?: AlgoAmount | undefined;
|
|
572
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
575
573
|
sender: SendingAddress;
|
|
576
|
-
lease?: string | Uint8Array | undefined;
|
|
577
574
|
rekeyTo?: ReadableAddress | undefined;
|
|
578
|
-
|
|
579
|
-
|
|
575
|
+
note?: string | Uint8Array | undefined;
|
|
576
|
+
lease?: string | Uint8Array | undefined;
|
|
580
577
|
staticFee?: AlgoAmount | undefined;
|
|
581
578
|
extraFee?: AlgoAmount | undefined;
|
|
579
|
+
maxFee?: AlgoAmount | undefined;
|
|
582
580
|
validityWindow?: number | bigint | undefined;
|
|
583
581
|
firstValidRound?: bigint | undefined;
|
|
584
582
|
lastValidRound?: bigint | undefined;
|
|
583
|
+
appId: bigint;
|
|
584
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
585
585
|
accountReferences?: ReadableAddress[] | undefined;
|
|
586
586
|
appReferences?: bigint[] | undefined;
|
|
587
587
|
assetReferences?: bigint[] | undefined;
|
|
588
|
-
boxReferences?: (
|
|
588
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
589
589
|
accessReferences?: AccessReference[] | undefined;
|
|
590
590
|
rejectVersion?: number | undefined;
|
|
591
591
|
method: ABIMethod;
|
|
592
|
-
args?: (
|
|
593
|
-
|
|
594
|
-
note?: string | Uint8Array | undefined;
|
|
595
|
-
maxFee?: AlgoAmount | undefined;
|
|
592
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
593
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
594
|
sender: SendingAddress;
|
|
597
|
-
lease?: string | Uint8Array | undefined;
|
|
598
595
|
rekeyTo?: ReadableAddress | undefined;
|
|
599
|
-
|
|
600
|
-
|
|
596
|
+
note?: string | Uint8Array | undefined;
|
|
597
|
+
lease?: string | Uint8Array | undefined;
|
|
601
598
|
staticFee?: AlgoAmount | undefined;
|
|
602
599
|
extraFee?: AlgoAmount | undefined;
|
|
600
|
+
maxFee?: AlgoAmount | undefined;
|
|
603
601
|
validityWindow?: number | bigint | undefined;
|
|
604
602
|
firstValidRound?: bigint | undefined;
|
|
605
603
|
lastValidRound?: bigint | undefined;
|
|
604
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
605
|
+
args?: Uint8Array[] | undefined;
|
|
606
606
|
accountReferences?: ReadableAddress[] | undefined;
|
|
607
607
|
appReferences?: bigint[] | undefined;
|
|
608
608
|
assetReferences?: bigint[] | undefined;
|
|
609
|
-
boxReferences?: (
|
|
609
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
610
610
|
accessReferences?: AccessReference[] | undefined;
|
|
611
611
|
rejectVersion?: number | undefined;
|
|
612
612
|
approvalProgram: string | Uint8Array;
|
|
@@ -636,7 +636,7 @@ declare class AppClient {
|
|
|
636
636
|
accountReferences?: ReadableAddress[] | undefined;
|
|
637
637
|
appReferences?: bigint[] | undefined;
|
|
638
638
|
assetReferences?: bigint[] | undefined;
|
|
639
|
-
boxReferences?: (
|
|
639
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
640
640
|
accessReferences?: AccessReference[] | undefined;
|
|
641
641
|
rejectVersion?: number | undefined;
|
|
642
642
|
approvalProgram: string | Uint8Array;
|
|
@@ -649,65 +649,65 @@ declare class AppClient {
|
|
|
649
649
|
* @returns The parameters which can be used to create a delete ABI method call
|
|
650
650
|
*/
|
|
651
651
|
delete: (params: {
|
|
652
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
653
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
652
654
|
note?: string | Uint8Array | undefined;
|
|
653
|
-
maxFee?: AlgoAmount | undefined;
|
|
654
655
|
lease?: string | Uint8Array | undefined;
|
|
655
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
656
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
657
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
658
656
|
staticFee?: AlgoAmount | undefined;
|
|
659
657
|
extraFee?: AlgoAmount | undefined;
|
|
658
|
+
maxFee?: AlgoAmount | undefined;
|
|
660
659
|
validityWindow?: number | bigint | undefined;
|
|
661
660
|
firstValidRound?: bigint | undefined;
|
|
662
661
|
lastValidRound?: bigint | undefined;
|
|
662
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
663
663
|
accountReferences?: ReadableAddress[] | undefined;
|
|
664
664
|
appReferences?: bigint[] | undefined;
|
|
665
665
|
assetReferences?: bigint[] | undefined;
|
|
666
|
-
boxReferences?: (
|
|
666
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
667
667
|
accessReferences?: AccessReference[] | undefined;
|
|
668
668
|
rejectVersion?: number | undefined;
|
|
669
669
|
sender?: ReadableAddress | undefined;
|
|
670
670
|
method: string;
|
|
671
671
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
672
672
|
}) => Promise<{
|
|
673
|
-
|
|
674
|
-
note?: string | Uint8Array | undefined;
|
|
675
|
-
maxFee?: AlgoAmount | undefined;
|
|
673
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
676
674
|
sender: SendingAddress;
|
|
677
|
-
lease?: string | Uint8Array | undefined;
|
|
678
675
|
rekeyTo?: ReadableAddress | undefined;
|
|
679
|
-
|
|
680
|
-
|
|
676
|
+
note?: string | Uint8Array | undefined;
|
|
677
|
+
lease?: string | Uint8Array | undefined;
|
|
681
678
|
staticFee?: AlgoAmount | undefined;
|
|
682
679
|
extraFee?: AlgoAmount | undefined;
|
|
680
|
+
maxFee?: AlgoAmount | undefined;
|
|
683
681
|
validityWindow?: number | bigint | undefined;
|
|
684
682
|
firstValidRound?: bigint | undefined;
|
|
685
683
|
lastValidRound?: bigint | undefined;
|
|
684
|
+
appId: bigint;
|
|
685
|
+
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
686
686
|
accountReferences?: ReadableAddress[] | undefined;
|
|
687
687
|
appReferences?: bigint[] | undefined;
|
|
688
688
|
assetReferences?: bigint[] | undefined;
|
|
689
|
-
boxReferences?: (
|
|
689
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
690
690
|
accessReferences?: AccessReference[] | undefined;
|
|
691
691
|
rejectVersion?: number | undefined;
|
|
692
692
|
method: ABIMethod;
|
|
693
|
-
args?: (
|
|
694
|
-
|
|
695
|
-
note?: string | Uint8Array | undefined;
|
|
696
|
-
maxFee?: AlgoAmount | undefined;
|
|
693
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
694
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
697
695
|
sender: SendingAddress;
|
|
698
|
-
lease?: string | Uint8Array | undefined;
|
|
699
696
|
rekeyTo?: ReadableAddress | undefined;
|
|
700
|
-
|
|
701
|
-
|
|
697
|
+
note?: string | Uint8Array | undefined;
|
|
698
|
+
lease?: string | Uint8Array | undefined;
|
|
702
699
|
staticFee?: AlgoAmount | undefined;
|
|
703
700
|
extraFee?: AlgoAmount | undefined;
|
|
701
|
+
maxFee?: AlgoAmount | undefined;
|
|
704
702
|
validityWindow?: number | bigint | undefined;
|
|
705
703
|
firstValidRound?: bigint | undefined;
|
|
706
704
|
lastValidRound?: bigint | undefined;
|
|
705
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
706
|
+
args?: Uint8Array[] | undefined;
|
|
707
707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
708
708
|
appReferences?: bigint[] | undefined;
|
|
709
709
|
assetReferences?: bigint[] | undefined;
|
|
710
|
-
boxReferences?: (
|
|
710
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
711
711
|
accessReferences?: AccessReference[] | undefined;
|
|
712
712
|
rejectVersion?: number | undefined;
|
|
713
713
|
approvalProgram: string | Uint8Array;
|
|
@@ -737,7 +737,7 @@ declare class AppClient {
|
|
|
737
737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
738
738
|
appReferences?: bigint[] | undefined;
|
|
739
739
|
assetReferences?: bigint[] | undefined;
|
|
740
|
-
boxReferences?: (
|
|
740
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
741
741
|
accessReferences?: AccessReference[] | undefined;
|
|
742
742
|
rejectVersion?: number | undefined;
|
|
743
743
|
approvalProgram: string | Uint8Array;
|
|
@@ -749,65 +749,65 @@ declare class AppClient {
|
|
|
749
749
|
* @returns The parameters which can be used to create a close out ABI method call
|
|
750
750
|
*/
|
|
751
751
|
closeOut: (params: {
|
|
752
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
753
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
752
754
|
note?: string | Uint8Array | undefined;
|
|
753
|
-
maxFee?: AlgoAmount | undefined;
|
|
754
755
|
lease?: string | Uint8Array | undefined;
|
|
755
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
756
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
757
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
758
756
|
staticFee?: AlgoAmount | undefined;
|
|
759
757
|
extraFee?: AlgoAmount | undefined;
|
|
758
|
+
maxFee?: AlgoAmount | undefined;
|
|
760
759
|
validityWindow?: number | bigint | undefined;
|
|
761
760
|
firstValidRound?: bigint | undefined;
|
|
762
761
|
lastValidRound?: bigint | undefined;
|
|
762
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
763
763
|
accountReferences?: ReadableAddress[] | undefined;
|
|
764
764
|
appReferences?: bigint[] | undefined;
|
|
765
765
|
assetReferences?: bigint[] | undefined;
|
|
766
|
-
boxReferences?: (
|
|
766
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
767
767
|
accessReferences?: AccessReference[] | undefined;
|
|
768
768
|
rejectVersion?: number | undefined;
|
|
769
769
|
sender?: ReadableAddress | undefined;
|
|
770
770
|
method: string;
|
|
771
771
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
772
772
|
}) => Promise<{
|
|
773
|
-
|
|
774
|
-
note?: string | Uint8Array | undefined;
|
|
775
|
-
maxFee?: AlgoAmount | undefined;
|
|
773
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
776
774
|
sender: SendingAddress;
|
|
777
|
-
lease?: string | Uint8Array | undefined;
|
|
778
775
|
rekeyTo?: ReadableAddress | undefined;
|
|
779
|
-
|
|
780
|
-
|
|
776
|
+
note?: string | Uint8Array | undefined;
|
|
777
|
+
lease?: string | Uint8Array | undefined;
|
|
781
778
|
staticFee?: AlgoAmount | undefined;
|
|
782
779
|
extraFee?: AlgoAmount | undefined;
|
|
780
|
+
maxFee?: AlgoAmount | undefined;
|
|
783
781
|
validityWindow?: number | bigint | undefined;
|
|
784
782
|
firstValidRound?: bigint | undefined;
|
|
785
783
|
lastValidRound?: bigint | undefined;
|
|
784
|
+
appId: bigint;
|
|
785
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
786
786
|
accountReferences?: ReadableAddress[] | undefined;
|
|
787
787
|
appReferences?: bigint[] | undefined;
|
|
788
788
|
assetReferences?: bigint[] | undefined;
|
|
789
|
-
boxReferences?: (
|
|
789
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
790
790
|
accessReferences?: AccessReference[] | undefined;
|
|
791
791
|
rejectVersion?: number | undefined;
|
|
792
792
|
method: ABIMethod;
|
|
793
|
-
args?: (
|
|
794
|
-
|
|
795
|
-
note?: string | Uint8Array | undefined;
|
|
796
|
-
maxFee?: AlgoAmount | undefined;
|
|
793
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
794
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
797
795
|
sender: SendingAddress;
|
|
798
|
-
lease?: string | Uint8Array | undefined;
|
|
799
796
|
rekeyTo?: ReadableAddress | undefined;
|
|
800
|
-
|
|
801
|
-
|
|
797
|
+
note?: string | Uint8Array | undefined;
|
|
798
|
+
lease?: string | Uint8Array | undefined;
|
|
802
799
|
staticFee?: AlgoAmount | undefined;
|
|
803
800
|
extraFee?: AlgoAmount | undefined;
|
|
801
|
+
maxFee?: AlgoAmount | undefined;
|
|
804
802
|
validityWindow?: number | bigint | undefined;
|
|
805
803
|
firstValidRound?: bigint | undefined;
|
|
806
804
|
lastValidRound?: bigint | undefined;
|
|
805
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
806
|
+
args?: Uint8Array[] | undefined;
|
|
807
807
|
accountReferences?: ReadableAddress[] | undefined;
|
|
808
808
|
appReferences?: bigint[] | undefined;
|
|
809
809
|
assetReferences?: bigint[] | undefined;
|
|
810
|
-
boxReferences?: (
|
|
810
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
811
811
|
accessReferences?: AccessReference[] | undefined;
|
|
812
812
|
rejectVersion?: number | undefined;
|
|
813
813
|
approvalProgram: string | Uint8Array;
|
|
@@ -837,7 +837,7 @@ declare class AppClient {
|
|
|
837
837
|
accountReferences?: ReadableAddress[] | undefined;
|
|
838
838
|
appReferences?: bigint[] | undefined;
|
|
839
839
|
assetReferences?: bigint[] | undefined;
|
|
840
|
-
boxReferences?: (
|
|
840
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
841
841
|
accessReferences?: AccessReference[] | undefined;
|
|
842
842
|
rejectVersion?: number | undefined;
|
|
843
843
|
approvalProgram: string | Uint8Array;
|
|
@@ -849,65 +849,65 @@ declare class AppClient {
|
|
|
849
849
|
* @returns The parameters which can be used to create an ABI method call
|
|
850
850
|
*/
|
|
851
851
|
call: (params: {
|
|
852
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
853
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
852
854
|
note?: string | Uint8Array | undefined;
|
|
853
|
-
maxFee?: AlgoAmount | undefined;
|
|
854
855
|
lease?: string | Uint8Array | undefined;
|
|
855
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
856
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
857
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
858
856
|
staticFee?: AlgoAmount | undefined;
|
|
859
857
|
extraFee?: AlgoAmount | undefined;
|
|
858
|
+
maxFee?: AlgoAmount | undefined;
|
|
860
859
|
validityWindow?: number | bigint | undefined;
|
|
861
860
|
firstValidRound?: bigint | undefined;
|
|
862
861
|
lastValidRound?: bigint | undefined;
|
|
862
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
863
863
|
accountReferences?: ReadableAddress[] | undefined;
|
|
864
864
|
appReferences?: bigint[] | undefined;
|
|
865
865
|
assetReferences?: bigint[] | undefined;
|
|
866
|
-
boxReferences?: (
|
|
866
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
867
867
|
accessReferences?: AccessReference[] | undefined;
|
|
868
868
|
rejectVersion?: number | undefined;
|
|
869
869
|
sender?: ReadableAddress | undefined;
|
|
870
870
|
method: string;
|
|
871
871
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
872
872
|
} & CallOnComplete) => Promise<{
|
|
873
|
-
|
|
874
|
-
note?: string | Uint8Array | undefined;
|
|
875
|
-
maxFee?: AlgoAmount | undefined;
|
|
873
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
876
874
|
sender: SendingAddress;
|
|
877
|
-
lease?: string | Uint8Array | undefined;
|
|
878
875
|
rekeyTo?: ReadableAddress | undefined;
|
|
879
|
-
|
|
880
|
-
|
|
876
|
+
note?: string | Uint8Array | undefined;
|
|
877
|
+
lease?: string | Uint8Array | undefined;
|
|
881
878
|
staticFee?: AlgoAmount | undefined;
|
|
882
879
|
extraFee?: AlgoAmount | undefined;
|
|
880
|
+
maxFee?: AlgoAmount | undefined;
|
|
883
881
|
validityWindow?: number | bigint | undefined;
|
|
884
882
|
firstValidRound?: bigint | undefined;
|
|
885
883
|
lastValidRound?: bigint | undefined;
|
|
884
|
+
appId: bigint;
|
|
885
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
886
886
|
accountReferences?: ReadableAddress[] | undefined;
|
|
887
887
|
appReferences?: bigint[] | undefined;
|
|
888
888
|
assetReferences?: bigint[] | undefined;
|
|
889
|
-
boxReferences?: (
|
|
889
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
890
890
|
accessReferences?: AccessReference[] | undefined;
|
|
891
891
|
rejectVersion?: number | undefined;
|
|
892
892
|
method: ABIMethod;
|
|
893
|
-
args?: (
|
|
894
|
-
|
|
895
|
-
note?: string | Uint8Array | undefined;
|
|
896
|
-
maxFee?: AlgoAmount | undefined;
|
|
893
|
+
args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
894
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
897
895
|
sender: SendingAddress;
|
|
898
|
-
lease?: string | Uint8Array | undefined;
|
|
899
896
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
|
-
|
|
901
|
-
|
|
897
|
+
note?: string | Uint8Array | undefined;
|
|
898
|
+
lease?: string | Uint8Array | undefined;
|
|
902
899
|
staticFee?: AlgoAmount | undefined;
|
|
903
900
|
extraFee?: AlgoAmount | undefined;
|
|
901
|
+
maxFee?: AlgoAmount | undefined;
|
|
904
902
|
validityWindow?: number | bigint | undefined;
|
|
905
903
|
firstValidRound?: bigint | undefined;
|
|
906
904
|
lastValidRound?: bigint | undefined;
|
|
905
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
906
|
+
args?: Uint8Array[] | undefined;
|
|
907
907
|
accountReferences?: ReadableAddress[] | undefined;
|
|
908
908
|
appReferences?: bigint[] | undefined;
|
|
909
909
|
assetReferences?: bigint[] | undefined;
|
|
910
|
-
boxReferences?: (
|
|
910
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
911
911
|
accessReferences?: AccessReference[] | undefined;
|
|
912
912
|
rejectVersion?: number | undefined;
|
|
913
913
|
approvalProgram: string | Uint8Array;
|
|
@@ -937,7 +937,7 @@ declare class AppClient {
|
|
|
937
937
|
accountReferences?: ReadableAddress[] | undefined;
|
|
938
938
|
appReferences?: bigint[] | undefined;
|
|
939
939
|
assetReferences?: bigint[] | undefined;
|
|
940
|
-
boxReferences?: (
|
|
940
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
941
941
|
accessReferences?: AccessReference[] | undefined;
|
|
942
942
|
rejectVersion?: number | undefined;
|
|
943
943
|
approvalProgram: string | Uint8Array;
|
|
@@ -948,21 +948,21 @@ declare class AppClient {
|
|
|
948
948
|
/** Interact with bare (raw) call parameters */bare: {
|
|
949
949
|
/** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
950
950
|
update: (params?: ({
|
|
951
|
-
|
|
951
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
952
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
952
953
|
note?: string | Uint8Array | undefined;
|
|
953
|
-
maxFee?: AlgoAmount | undefined;
|
|
954
954
|
lease?: string | Uint8Array | undefined;
|
|
955
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
956
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
957
955
|
staticFee?: AlgoAmount | undefined;
|
|
958
956
|
extraFee?: AlgoAmount | undefined;
|
|
957
|
+
maxFee?: AlgoAmount | undefined;
|
|
959
958
|
validityWindow?: number | bigint | undefined;
|
|
960
959
|
firstValidRound?: bigint | undefined;
|
|
961
960
|
lastValidRound?: bigint | undefined;
|
|
961
|
+
args?: Uint8Array[] | undefined;
|
|
962
962
|
accountReferences?: ReadableAddress[] | undefined;
|
|
963
963
|
appReferences?: bigint[] | undefined;
|
|
964
964
|
assetReferences?: bigint[] | undefined;
|
|
965
|
-
boxReferences?: (
|
|
965
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
966
966
|
accessReferences?: AccessReference[] | undefined;
|
|
967
967
|
rejectVersion?: number | undefined;
|
|
968
968
|
sender?: ReadableAddress | undefined;
|
|
@@ -984,7 +984,7 @@ declare class AppClient {
|
|
|
984
984
|
accountReferences?: ReadableAddress[] | undefined;
|
|
985
985
|
appReferences?: bigint[] | undefined;
|
|
986
986
|
assetReferences?: bigint[] | undefined;
|
|
987
|
-
boxReferences?: (
|
|
987
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
988
988
|
accessReferences?: AccessReference[] | undefined;
|
|
989
989
|
rejectVersion?: number | undefined;
|
|
990
990
|
approvalProgram: string | Uint8Array;
|
|
@@ -992,105 +992,105 @@ declare class AppClient {
|
|
|
992
992
|
}>;
|
|
993
993
|
/** Return params for an opt-in call */
|
|
994
994
|
optIn: (params?: {
|
|
995
|
-
|
|
995
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
996
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
996
997
|
note?: string | Uint8Array | undefined;
|
|
997
|
-
maxFee?: AlgoAmount | undefined;
|
|
998
998
|
lease?: string | Uint8Array | undefined;
|
|
999
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1000
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1001
999
|
staticFee?: AlgoAmount | undefined;
|
|
1002
1000
|
extraFee?: AlgoAmount | undefined;
|
|
1001
|
+
maxFee?: AlgoAmount | undefined;
|
|
1003
1002
|
validityWindow?: number | bigint | undefined;
|
|
1004
1003
|
firstValidRound?: bigint | undefined;
|
|
1005
1004
|
lastValidRound?: bigint | undefined;
|
|
1005
|
+
args?: Uint8Array[] | undefined;
|
|
1006
1006
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1007
1007
|
appReferences?: bigint[] | undefined;
|
|
1008
1008
|
assetReferences?: bigint[] | undefined;
|
|
1009
|
-
boxReferences?: (
|
|
1009
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1010
1010
|
accessReferences?: AccessReference[] | undefined;
|
|
1011
1011
|
rejectVersion?: number | undefined;
|
|
1012
1012
|
sender?: ReadableAddress | undefined;
|
|
1013
1013
|
} | undefined) => AppCallParams;
|
|
1014
1014
|
/** Return params for a delete call */
|
|
1015
1015
|
delete: (params?: {
|
|
1016
|
-
|
|
1016
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1017
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1017
1018
|
note?: string | Uint8Array | undefined;
|
|
1018
|
-
maxFee?: AlgoAmount | undefined;
|
|
1019
1019
|
lease?: string | Uint8Array | undefined;
|
|
1020
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1021
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1022
1020
|
staticFee?: AlgoAmount | undefined;
|
|
1023
1021
|
extraFee?: AlgoAmount | undefined;
|
|
1022
|
+
maxFee?: AlgoAmount | undefined;
|
|
1024
1023
|
validityWindow?: number | bigint | undefined;
|
|
1025
1024
|
firstValidRound?: bigint | undefined;
|
|
1026
1025
|
lastValidRound?: bigint | undefined;
|
|
1026
|
+
args?: Uint8Array[] | undefined;
|
|
1027
1027
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1028
1028
|
appReferences?: bigint[] | undefined;
|
|
1029
1029
|
assetReferences?: bigint[] | undefined;
|
|
1030
|
-
boxReferences?: (
|
|
1030
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1031
1031
|
accessReferences?: AccessReference[] | undefined;
|
|
1032
1032
|
rejectVersion?: number | undefined;
|
|
1033
1033
|
sender?: ReadableAddress | undefined;
|
|
1034
1034
|
} | undefined) => AppDeleteParams;
|
|
1035
1035
|
/** Return params for a clear state call */
|
|
1036
1036
|
clearState: (params?: {
|
|
1037
|
-
|
|
1037
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1038
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1038
1039
|
note?: string | Uint8Array | undefined;
|
|
1039
|
-
maxFee?: AlgoAmount | undefined;
|
|
1040
1040
|
lease?: string | Uint8Array | undefined;
|
|
1041
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1042
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1043
1041
|
staticFee?: AlgoAmount | undefined;
|
|
1044
1042
|
extraFee?: AlgoAmount | undefined;
|
|
1043
|
+
maxFee?: AlgoAmount | undefined;
|
|
1045
1044
|
validityWindow?: number | bigint | undefined;
|
|
1046
1045
|
firstValidRound?: bigint | undefined;
|
|
1047
1046
|
lastValidRound?: bigint | undefined;
|
|
1047
|
+
args?: Uint8Array[] | undefined;
|
|
1048
1048
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1049
1049
|
appReferences?: bigint[] | undefined;
|
|
1050
1050
|
assetReferences?: bigint[] | undefined;
|
|
1051
|
-
boxReferences?: (
|
|
1051
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1052
1052
|
accessReferences?: AccessReference[] | undefined;
|
|
1053
1053
|
rejectVersion?: number | undefined;
|
|
1054
1054
|
sender?: ReadableAddress | undefined;
|
|
1055
1055
|
} | undefined) => AppCallParams;
|
|
1056
1056
|
/** Return params for a close out call */
|
|
1057
1057
|
closeOut: (params?: {
|
|
1058
|
-
|
|
1058
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1059
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1059
1060
|
note?: string | Uint8Array | undefined;
|
|
1060
|
-
maxFee?: AlgoAmount | undefined;
|
|
1061
1061
|
lease?: string | Uint8Array | undefined;
|
|
1062
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1063
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1064
1062
|
staticFee?: AlgoAmount | undefined;
|
|
1065
1063
|
extraFee?: AlgoAmount | undefined;
|
|
1064
|
+
maxFee?: AlgoAmount | undefined;
|
|
1066
1065
|
validityWindow?: number | bigint | undefined;
|
|
1067
1066
|
firstValidRound?: bigint | undefined;
|
|
1068
1067
|
lastValidRound?: bigint | undefined;
|
|
1068
|
+
args?: Uint8Array[] | undefined;
|
|
1069
1069
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1070
1070
|
appReferences?: bigint[] | undefined;
|
|
1071
1071
|
assetReferences?: bigint[] | undefined;
|
|
1072
|
-
boxReferences?: (
|
|
1072
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1073
1073
|
accessReferences?: AccessReference[] | undefined;
|
|
1074
1074
|
rejectVersion?: number | undefined;
|
|
1075
1075
|
sender?: ReadableAddress | undefined;
|
|
1076
1076
|
} | undefined) => AppCallParams;
|
|
1077
1077
|
/** Return params for a call (defaults to no-op) */
|
|
1078
1078
|
call: (params?: ({
|
|
1079
|
-
|
|
1079
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1080
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1080
1081
|
note?: string | Uint8Array | undefined;
|
|
1081
|
-
maxFee?: AlgoAmount | undefined;
|
|
1082
1082
|
lease?: string | Uint8Array | undefined;
|
|
1083
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1084
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1085
1083
|
staticFee?: AlgoAmount | undefined;
|
|
1086
1084
|
extraFee?: AlgoAmount | undefined;
|
|
1085
|
+
maxFee?: AlgoAmount | undefined;
|
|
1087
1086
|
validityWindow?: number | bigint | undefined;
|
|
1088
1087
|
firstValidRound?: bigint | undefined;
|
|
1089
1088
|
lastValidRound?: bigint | undefined;
|
|
1089
|
+
args?: Uint8Array[] | undefined;
|
|
1090
1090
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1091
1091
|
appReferences?: bigint[] | undefined;
|
|
1092
1092
|
assetReferences?: bigint[] | undefined;
|
|
1093
|
-
boxReferences?: (
|
|
1093
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1094
1094
|
accessReferences?: AccessReference[] | undefined;
|
|
1095
1095
|
rejectVersion?: number | undefined;
|
|
1096
1096
|
sender?: ReadableAddress | undefined;
|
|
@@ -1104,17 +1104,17 @@ declare class AppClient {
|
|
|
1104
1104
|
* @returns A transaction which can be used to fund the app account
|
|
1105
1105
|
*/
|
|
1106
1106
|
fundAppAccount: (params: {
|
|
1107
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1108
|
+
amount: AlgoAmount;
|
|
1109
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1107
1110
|
note?: string | Uint8Array | undefined;
|
|
1108
|
-
maxFee?: AlgoAmount | undefined;
|
|
1109
1111
|
lease?: string | Uint8Array | undefined;
|
|
1110
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1111
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1112
1112
|
staticFee?: AlgoAmount | undefined;
|
|
1113
1113
|
extraFee?: AlgoAmount | undefined;
|
|
1114
|
+
maxFee?: AlgoAmount | undefined;
|
|
1114
1115
|
validityWindow?: number | bigint | undefined;
|
|
1115
1116
|
firstValidRound?: bigint | undefined;
|
|
1116
1117
|
lastValidRound?: bigint | undefined;
|
|
1117
|
-
amount: AlgoAmount;
|
|
1118
1118
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1119
1119
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1120
1120
|
suppressLog?: boolean | undefined;
|
|
@@ -1128,21 +1128,21 @@ declare class AppClient {
|
|
|
1128
1128
|
* @returns The transactions which can be used to create an update ABI method call
|
|
1129
1129
|
*/
|
|
1130
1130
|
update: (params: {
|
|
1131
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1132
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1131
1133
|
note?: string | Uint8Array | undefined;
|
|
1132
|
-
maxFee?: AlgoAmount | undefined;
|
|
1133
1134
|
lease?: string | Uint8Array | undefined;
|
|
1134
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1135
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1136
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1137
1135
|
staticFee?: AlgoAmount | undefined;
|
|
1138
1136
|
extraFee?: AlgoAmount | undefined;
|
|
1137
|
+
maxFee?: AlgoAmount | undefined;
|
|
1139
1138
|
validityWindow?: number | bigint | undefined;
|
|
1140
1139
|
firstValidRound?: bigint | undefined;
|
|
1141
1140
|
lastValidRound?: bigint | undefined;
|
|
1141
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1142
1142
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1143
1143
|
appReferences?: bigint[] | undefined;
|
|
1144
1144
|
assetReferences?: bigint[] | undefined;
|
|
1145
|
-
boxReferences?: (
|
|
1145
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1146
1146
|
accessReferences?: AccessReference[] | undefined;
|
|
1147
1147
|
rejectVersion?: number | undefined;
|
|
1148
1148
|
sender?: ReadableAddress | undefined;
|
|
@@ -1159,21 +1159,21 @@ declare class AppClient {
|
|
|
1159
1159
|
* @returns The transactions which can be used to create an opt-in ABI method call
|
|
1160
1160
|
*/
|
|
1161
1161
|
optIn: (params: {
|
|
1162
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1163
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1162
1164
|
note?: string | Uint8Array | undefined;
|
|
1163
|
-
maxFee?: AlgoAmount | undefined;
|
|
1164
1165
|
lease?: string | Uint8Array | undefined;
|
|
1165
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1166
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1167
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1168
1166
|
staticFee?: AlgoAmount | undefined;
|
|
1169
1167
|
extraFee?: AlgoAmount | undefined;
|
|
1168
|
+
maxFee?: AlgoAmount | undefined;
|
|
1170
1169
|
validityWindow?: number | bigint | undefined;
|
|
1171
1170
|
firstValidRound?: bigint | undefined;
|
|
1172
1171
|
lastValidRound?: bigint | undefined;
|
|
1172
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1173
1173
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1174
1174
|
appReferences?: bigint[] | undefined;
|
|
1175
1175
|
assetReferences?: bigint[] | undefined;
|
|
1176
|
-
boxReferences?: (
|
|
1176
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1177
1177
|
accessReferences?: AccessReference[] | undefined;
|
|
1178
1178
|
rejectVersion?: number | undefined;
|
|
1179
1179
|
sender?: ReadableAddress | undefined;
|
|
@@ -1190,21 +1190,21 @@ declare class AppClient {
|
|
|
1190
1190
|
* @returns The transactions which can be used to create a delete ABI method call
|
|
1191
1191
|
*/
|
|
1192
1192
|
delete: (params: {
|
|
1193
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1194
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1193
1195
|
note?: string | Uint8Array | undefined;
|
|
1194
|
-
maxFee?: AlgoAmount | undefined;
|
|
1195
1196
|
lease?: string | Uint8Array | undefined;
|
|
1196
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1197
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1198
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1199
1197
|
staticFee?: AlgoAmount | undefined;
|
|
1200
1198
|
extraFee?: AlgoAmount | undefined;
|
|
1199
|
+
maxFee?: AlgoAmount | undefined;
|
|
1201
1200
|
validityWindow?: number | bigint | undefined;
|
|
1202
1201
|
firstValidRound?: bigint | undefined;
|
|
1203
1202
|
lastValidRound?: bigint | undefined;
|
|
1203
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1204
1204
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1205
1205
|
appReferences?: bigint[] | undefined;
|
|
1206
1206
|
assetReferences?: bigint[] | undefined;
|
|
1207
|
-
boxReferences?: (
|
|
1207
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1208
1208
|
accessReferences?: AccessReference[] | undefined;
|
|
1209
1209
|
rejectVersion?: number | undefined;
|
|
1210
1210
|
sender?: ReadableAddress | undefined;
|
|
@@ -1221,21 +1221,21 @@ declare class AppClient {
|
|
|
1221
1221
|
* @returns The transactions which can be used to create a close out ABI method call
|
|
1222
1222
|
*/
|
|
1223
1223
|
closeOut: (params: {
|
|
1224
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1225
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1224
1226
|
note?: string | Uint8Array | undefined;
|
|
1225
|
-
maxFee?: AlgoAmount | undefined;
|
|
1226
1227
|
lease?: string | Uint8Array | undefined;
|
|
1227
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1228
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1229
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1230
1228
|
staticFee?: AlgoAmount | undefined;
|
|
1231
1229
|
extraFee?: AlgoAmount | undefined;
|
|
1230
|
+
maxFee?: AlgoAmount | undefined;
|
|
1232
1231
|
validityWindow?: number | bigint | undefined;
|
|
1233
1232
|
firstValidRound?: bigint | undefined;
|
|
1234
1233
|
lastValidRound?: bigint | undefined;
|
|
1234
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1235
1235
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1236
1236
|
appReferences?: bigint[] | undefined;
|
|
1237
1237
|
assetReferences?: bigint[] | undefined;
|
|
1238
|
-
boxReferences?: (
|
|
1238
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1239
1239
|
accessReferences?: AccessReference[] | undefined;
|
|
1240
1240
|
rejectVersion?: number | undefined;
|
|
1241
1241
|
sender?: ReadableAddress | undefined;
|
|
@@ -1252,21 +1252,21 @@ declare class AppClient {
|
|
|
1252
1252
|
* @returns The transactions which can be used to create an ABI method call
|
|
1253
1253
|
*/
|
|
1254
1254
|
call: (params: {
|
|
1255
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1256
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1255
1257
|
note?: string | Uint8Array | undefined;
|
|
1256
|
-
maxFee?: AlgoAmount | undefined;
|
|
1257
1258
|
lease?: string | Uint8Array | undefined;
|
|
1258
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1259
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1260
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1261
1259
|
staticFee?: AlgoAmount | undefined;
|
|
1262
1260
|
extraFee?: AlgoAmount | undefined;
|
|
1261
|
+
maxFee?: AlgoAmount | undefined;
|
|
1263
1262
|
validityWindow?: number | bigint | undefined;
|
|
1264
1263
|
firstValidRound?: bigint | undefined;
|
|
1265
1264
|
lastValidRound?: bigint | undefined;
|
|
1265
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1266
1266
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1267
1267
|
appReferences?: bigint[] | undefined;
|
|
1268
1268
|
assetReferences?: bigint[] | undefined;
|
|
1269
|
-
boxReferences?: (
|
|
1269
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1270
1270
|
accessReferences?: AccessReference[] | undefined;
|
|
1271
1271
|
rejectVersion?: number | undefined;
|
|
1272
1272
|
sender?: ReadableAddress | undefined;
|
|
@@ -1281,126 +1281,126 @@ declare class AppClient {
|
|
|
1281
1281
|
/** Interact with bare (raw) call transactions */bare: {
|
|
1282
1282
|
/** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1283
1283
|
update: (params?: ({
|
|
1284
|
-
|
|
1284
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1285
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1285
1286
|
note?: string | Uint8Array | undefined;
|
|
1286
|
-
maxFee?: AlgoAmount | undefined;
|
|
1287
1287
|
lease?: string | Uint8Array | undefined;
|
|
1288
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1289
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1290
1288
|
staticFee?: AlgoAmount | undefined;
|
|
1291
1289
|
extraFee?: AlgoAmount | undefined;
|
|
1290
|
+
maxFee?: AlgoAmount | undefined;
|
|
1292
1291
|
validityWindow?: number | bigint | undefined;
|
|
1293
1292
|
firstValidRound?: bigint | undefined;
|
|
1294
1293
|
lastValidRound?: bigint | undefined;
|
|
1294
|
+
args?: Uint8Array[] | undefined;
|
|
1295
1295
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1296
1296
|
appReferences?: bigint[] | undefined;
|
|
1297
1297
|
assetReferences?: bigint[] | undefined;
|
|
1298
|
-
boxReferences?: (
|
|
1298
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1299
1299
|
accessReferences?: AccessReference[] | undefined;
|
|
1300
1300
|
rejectVersion?: number | undefined;
|
|
1301
1301
|
sender?: ReadableAddress | undefined;
|
|
1302
1302
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1303
1303
|
/** Returns a transaction for an opt-in call */
|
|
1304
1304
|
optIn: (params?: {
|
|
1305
|
-
|
|
1305
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1306
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1306
1307
|
note?: string | Uint8Array | undefined;
|
|
1307
|
-
maxFee?: AlgoAmount | undefined;
|
|
1308
1308
|
lease?: string | Uint8Array | undefined;
|
|
1309
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1310
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1311
1309
|
staticFee?: AlgoAmount | undefined;
|
|
1312
1310
|
extraFee?: AlgoAmount | undefined;
|
|
1311
|
+
maxFee?: AlgoAmount | undefined;
|
|
1313
1312
|
validityWindow?: number | bigint | undefined;
|
|
1314
1313
|
firstValidRound?: bigint | undefined;
|
|
1315
1314
|
lastValidRound?: bigint | undefined;
|
|
1315
|
+
args?: Uint8Array[] | undefined;
|
|
1316
1316
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1317
1317
|
appReferences?: bigint[] | undefined;
|
|
1318
1318
|
assetReferences?: bigint[] | undefined;
|
|
1319
|
-
boxReferences?: (
|
|
1319
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1320
1320
|
accessReferences?: AccessReference[] | undefined;
|
|
1321
1321
|
rejectVersion?: number | undefined;
|
|
1322
1322
|
sender?: ReadableAddress | undefined;
|
|
1323
1323
|
} | undefined) => Promise<Transaction>;
|
|
1324
1324
|
/** Returns a transaction for a delete call */
|
|
1325
1325
|
delete: (params?: {
|
|
1326
|
-
|
|
1326
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1327
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1327
1328
|
note?: string | Uint8Array | undefined;
|
|
1328
|
-
maxFee?: AlgoAmount | undefined;
|
|
1329
1329
|
lease?: string | Uint8Array | undefined;
|
|
1330
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1331
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1332
1330
|
staticFee?: AlgoAmount | undefined;
|
|
1333
1331
|
extraFee?: AlgoAmount | undefined;
|
|
1332
|
+
maxFee?: AlgoAmount | undefined;
|
|
1334
1333
|
validityWindow?: number | bigint | undefined;
|
|
1335
1334
|
firstValidRound?: bigint | undefined;
|
|
1336
1335
|
lastValidRound?: bigint | undefined;
|
|
1336
|
+
args?: Uint8Array[] | undefined;
|
|
1337
1337
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1338
1338
|
appReferences?: bigint[] | undefined;
|
|
1339
1339
|
assetReferences?: bigint[] | undefined;
|
|
1340
|
-
boxReferences?: (
|
|
1340
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1341
1341
|
accessReferences?: AccessReference[] | undefined;
|
|
1342
1342
|
rejectVersion?: number | undefined;
|
|
1343
1343
|
sender?: ReadableAddress | undefined;
|
|
1344
1344
|
} | undefined) => Promise<Transaction>;
|
|
1345
1345
|
/** Returns a transaction for a clear state call */
|
|
1346
1346
|
clearState: (params?: {
|
|
1347
|
-
|
|
1347
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1348
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1348
1349
|
note?: string | Uint8Array | undefined;
|
|
1349
|
-
maxFee?: AlgoAmount | undefined;
|
|
1350
1350
|
lease?: string | Uint8Array | undefined;
|
|
1351
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1352
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1353
1351
|
staticFee?: AlgoAmount | undefined;
|
|
1354
1352
|
extraFee?: AlgoAmount | undefined;
|
|
1353
|
+
maxFee?: AlgoAmount | undefined;
|
|
1355
1354
|
validityWindow?: number | bigint | undefined;
|
|
1356
1355
|
firstValidRound?: bigint | undefined;
|
|
1357
1356
|
lastValidRound?: bigint | undefined;
|
|
1357
|
+
args?: Uint8Array[] | undefined;
|
|
1358
1358
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1359
1359
|
appReferences?: bigint[] | undefined;
|
|
1360
1360
|
assetReferences?: bigint[] | undefined;
|
|
1361
|
-
boxReferences?: (
|
|
1361
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1362
1362
|
accessReferences?: AccessReference[] | undefined;
|
|
1363
1363
|
rejectVersion?: number | undefined;
|
|
1364
1364
|
sender?: ReadableAddress | undefined;
|
|
1365
1365
|
} | undefined) => Promise<Transaction>;
|
|
1366
1366
|
/** Returns a transaction for a close out call */
|
|
1367
1367
|
closeOut: (params?: {
|
|
1368
|
-
|
|
1368
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1369
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1369
1370
|
note?: string | Uint8Array | undefined;
|
|
1370
|
-
maxFee?: AlgoAmount | undefined;
|
|
1371
1371
|
lease?: string | Uint8Array | undefined;
|
|
1372
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1373
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1374
1372
|
staticFee?: AlgoAmount | undefined;
|
|
1375
1373
|
extraFee?: AlgoAmount | undefined;
|
|
1374
|
+
maxFee?: AlgoAmount | undefined;
|
|
1376
1375
|
validityWindow?: number | bigint | undefined;
|
|
1377
1376
|
firstValidRound?: bigint | undefined;
|
|
1378
1377
|
lastValidRound?: bigint | undefined;
|
|
1378
|
+
args?: Uint8Array[] | undefined;
|
|
1379
1379
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1380
1380
|
appReferences?: bigint[] | undefined;
|
|
1381
1381
|
assetReferences?: bigint[] | undefined;
|
|
1382
|
-
boxReferences?: (
|
|
1382
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1383
1383
|
accessReferences?: AccessReference[] | undefined;
|
|
1384
1384
|
rejectVersion?: number | undefined;
|
|
1385
1385
|
sender?: ReadableAddress | undefined;
|
|
1386
1386
|
} | undefined) => Promise<Transaction>;
|
|
1387
1387
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
1388
1388
|
call: (params?: ({
|
|
1389
|
-
|
|
1389
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1390
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1390
1391
|
note?: string | Uint8Array | undefined;
|
|
1391
|
-
maxFee?: AlgoAmount | undefined;
|
|
1392
1392
|
lease?: string | Uint8Array | undefined;
|
|
1393
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1394
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1395
1393
|
staticFee?: AlgoAmount | undefined;
|
|
1396
1394
|
extraFee?: AlgoAmount | undefined;
|
|
1395
|
+
maxFee?: AlgoAmount | undefined;
|
|
1397
1396
|
validityWindow?: number | bigint | undefined;
|
|
1398
1397
|
firstValidRound?: bigint | undefined;
|
|
1399
1398
|
lastValidRound?: bigint | undefined;
|
|
1399
|
+
args?: Uint8Array[] | undefined;
|
|
1400
1400
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1401
1401
|
appReferences?: bigint[] | undefined;
|
|
1402
1402
|
assetReferences?: bigint[] | undefined;
|
|
1403
|
-
boxReferences?: (
|
|
1403
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1404
1404
|
accessReferences?: AccessReference[] | undefined;
|
|
1405
1405
|
rejectVersion?: number | undefined;
|
|
1406
1406
|
sender?: ReadableAddress | undefined;
|
|
@@ -1414,17 +1414,17 @@ declare class AppClient {
|
|
|
1414
1414
|
* @returns The result of send the fund app account payment transaction
|
|
1415
1415
|
*/
|
|
1416
1416
|
fundAppAccount: (params: {
|
|
1417
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1418
|
+
amount: AlgoAmount;
|
|
1419
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1417
1420
|
note?: string | Uint8Array | undefined;
|
|
1418
|
-
maxFee?: AlgoAmount | undefined;
|
|
1419
1421
|
lease?: string | Uint8Array | undefined;
|
|
1420
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1421
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1422
1422
|
staticFee?: AlgoAmount | undefined;
|
|
1423
1423
|
extraFee?: AlgoAmount | undefined;
|
|
1424
|
+
maxFee?: AlgoAmount | undefined;
|
|
1424
1425
|
validityWindow?: number | bigint | undefined;
|
|
1425
1426
|
firstValidRound?: bigint | undefined;
|
|
1426
1427
|
lastValidRound?: bigint | undefined;
|
|
1427
|
-
amount: AlgoAmount;
|
|
1428
1428
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1429
1429
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1430
1430
|
suppressLog?: boolean | undefined;
|
|
@@ -1446,21 +1446,21 @@ declare class AppClient {
|
|
|
1446
1446
|
* @returns The result of sending the update ABI method call
|
|
1447
1447
|
*/
|
|
1448
1448
|
update: (params: {
|
|
1449
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1450
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1449
1451
|
note?: string | Uint8Array | undefined;
|
|
1450
|
-
maxFee?: AlgoAmount | undefined;
|
|
1451
1452
|
lease?: string | Uint8Array | undefined;
|
|
1452
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1453
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1454
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1455
1453
|
staticFee?: AlgoAmount | undefined;
|
|
1456
1454
|
extraFee?: AlgoAmount | undefined;
|
|
1455
|
+
maxFee?: AlgoAmount | undefined;
|
|
1457
1456
|
validityWindow?: number | bigint | undefined;
|
|
1458
1457
|
firstValidRound?: bigint | undefined;
|
|
1459
1458
|
lastValidRound?: bigint | undefined;
|
|
1459
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1460
1460
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1461
1461
|
appReferences?: bigint[] | undefined;
|
|
1462
1462
|
assetReferences?: bigint[] | undefined;
|
|
1463
|
-
boxReferences?: (
|
|
1463
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1464
1464
|
accessReferences?: AccessReference[] | undefined;
|
|
1465
1465
|
rejectVersion?: number | undefined;
|
|
1466
1466
|
sender?: ReadableAddress | undefined;
|
|
@@ -1484,21 +1484,21 @@ declare class AppClient {
|
|
|
1484
1484
|
* @returns The result of sending the opt-in ABI method call
|
|
1485
1485
|
*/
|
|
1486
1486
|
optIn: (params: {
|
|
1487
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1488
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1487
1489
|
note?: string | Uint8Array | undefined;
|
|
1488
|
-
maxFee?: AlgoAmount | undefined;
|
|
1489
1490
|
lease?: string | Uint8Array | undefined;
|
|
1490
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1491
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1492
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1493
1491
|
staticFee?: AlgoAmount | undefined;
|
|
1494
1492
|
extraFee?: AlgoAmount | undefined;
|
|
1493
|
+
maxFee?: AlgoAmount | undefined;
|
|
1495
1494
|
validityWindow?: number | bigint | undefined;
|
|
1496
1495
|
firstValidRound?: bigint | undefined;
|
|
1497
1496
|
lastValidRound?: bigint | undefined;
|
|
1497
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1498
1498
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1499
1499
|
appReferences?: bigint[] | undefined;
|
|
1500
1500
|
assetReferences?: bigint[] | undefined;
|
|
1501
|
-
boxReferences?: (
|
|
1501
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1502
1502
|
accessReferences?: AccessReference[] | undefined;
|
|
1503
1503
|
rejectVersion?: number | undefined;
|
|
1504
1504
|
sender?: ReadableAddress | undefined;
|
|
@@ -1520,21 +1520,21 @@ declare class AppClient {
|
|
|
1520
1520
|
* @returns The result of sending the delete ABI method call
|
|
1521
1521
|
*/
|
|
1522
1522
|
delete: (params: {
|
|
1523
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1524
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1523
1525
|
note?: string | Uint8Array | undefined;
|
|
1524
|
-
maxFee?: AlgoAmount | undefined;
|
|
1525
1526
|
lease?: string | Uint8Array | undefined;
|
|
1526
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1527
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1528
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1529
1527
|
staticFee?: AlgoAmount | undefined;
|
|
1530
1528
|
extraFee?: AlgoAmount | undefined;
|
|
1529
|
+
maxFee?: AlgoAmount | undefined;
|
|
1531
1530
|
validityWindow?: number | bigint | undefined;
|
|
1532
1531
|
firstValidRound?: bigint | undefined;
|
|
1533
1532
|
lastValidRound?: bigint | undefined;
|
|
1533
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1534
1534
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1535
1535
|
appReferences?: bigint[] | undefined;
|
|
1536
1536
|
assetReferences?: bigint[] | undefined;
|
|
1537
|
-
boxReferences?: (
|
|
1537
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1538
1538
|
accessReferences?: AccessReference[] | undefined;
|
|
1539
1539
|
rejectVersion?: number | undefined;
|
|
1540
1540
|
sender?: ReadableAddress | undefined;
|
|
@@ -1556,21 +1556,21 @@ declare class AppClient {
|
|
|
1556
1556
|
* @returns The result of sending the close out ABI method call
|
|
1557
1557
|
*/
|
|
1558
1558
|
closeOut: (params: {
|
|
1559
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1560
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1559
1561
|
note?: string | Uint8Array | undefined;
|
|
1560
|
-
maxFee?: AlgoAmount | undefined;
|
|
1561
1562
|
lease?: string | Uint8Array | undefined;
|
|
1562
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1563
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1564
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1565
1563
|
staticFee?: AlgoAmount | undefined;
|
|
1566
1564
|
extraFee?: AlgoAmount | undefined;
|
|
1565
|
+
maxFee?: AlgoAmount | undefined;
|
|
1567
1566
|
validityWindow?: number | bigint | undefined;
|
|
1568
1567
|
firstValidRound?: bigint | undefined;
|
|
1569
1568
|
lastValidRound?: bigint | undefined;
|
|
1569
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1570
1570
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1571
1571
|
appReferences?: bigint[] | undefined;
|
|
1572
1572
|
assetReferences?: bigint[] | undefined;
|
|
1573
|
-
boxReferences?: (
|
|
1573
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1574
1574
|
accessReferences?: AccessReference[] | undefined;
|
|
1575
1575
|
rejectVersion?: number | undefined;
|
|
1576
1576
|
sender?: ReadableAddress | undefined;
|
|
@@ -1592,21 +1592,21 @@ declare class AppClient {
|
|
|
1592
1592
|
* @returns The result of sending the ABI method call
|
|
1593
1593
|
*/
|
|
1594
1594
|
call: (params: {
|
|
1595
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1596
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1595
1597
|
note?: string | Uint8Array | undefined;
|
|
1596
|
-
maxFee?: AlgoAmount | undefined;
|
|
1597
1598
|
lease?: string | Uint8Array | undefined;
|
|
1598
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1599
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1600
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1601
1599
|
staticFee?: AlgoAmount | undefined;
|
|
1602
1600
|
extraFee?: AlgoAmount | undefined;
|
|
1601
|
+
maxFee?: AlgoAmount | undefined;
|
|
1603
1602
|
validityWindow?: number | bigint | undefined;
|
|
1604
1603
|
firstValidRound?: bigint | undefined;
|
|
1605
1604
|
lastValidRound?: bigint | undefined;
|
|
1605
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1606
1606
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1607
1607
|
appReferences?: bigint[] | undefined;
|
|
1608
1608
|
assetReferences?: bigint[] | undefined;
|
|
1609
|
-
boxReferences?: (
|
|
1609
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1610
1610
|
accessReferences?: AccessReference[] | undefined;
|
|
1611
1611
|
rejectVersion?: number | undefined;
|
|
1612
1612
|
sender?: ReadableAddress | undefined;
|
|
@@ -1626,21 +1626,21 @@ declare class AppClient {
|
|
|
1626
1626
|
/** Interact with bare (raw) calls */bare: {
|
|
1627
1627
|
/** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1628
1628
|
update: (params?: ({
|
|
1629
|
-
|
|
1629
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1630
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1630
1631
|
note?: string | Uint8Array | undefined;
|
|
1631
|
-
maxFee?: AlgoAmount | undefined;
|
|
1632
1632
|
lease?: string | Uint8Array | undefined;
|
|
1633
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1634
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1635
1633
|
staticFee?: AlgoAmount | undefined;
|
|
1636
1634
|
extraFee?: AlgoAmount | undefined;
|
|
1635
|
+
maxFee?: AlgoAmount | undefined;
|
|
1637
1636
|
validityWindow?: number | bigint | undefined;
|
|
1638
1637
|
firstValidRound?: bigint | undefined;
|
|
1639
1638
|
lastValidRound?: bigint | undefined;
|
|
1639
|
+
args?: Uint8Array[] | undefined;
|
|
1640
1640
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1641
1641
|
appReferences?: bigint[] | undefined;
|
|
1642
1642
|
assetReferences?: bigint[] | undefined;
|
|
1643
|
-
boxReferences?: (
|
|
1643
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1644
1644
|
accessReferences?: AccessReference[] | undefined;
|
|
1645
1645
|
rejectVersion?: number | undefined;
|
|
1646
1646
|
sender?: ReadableAddress | undefined;
|
|
@@ -1658,21 +1658,21 @@ declare class AppClient {
|
|
|
1658
1658
|
}>;
|
|
1659
1659
|
/** Signs and sends an opt-in call */
|
|
1660
1660
|
optIn: (params?: ({
|
|
1661
|
-
|
|
1661
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1662
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1662
1663
|
note?: string | Uint8Array | undefined;
|
|
1663
|
-
maxFee?: AlgoAmount | undefined;
|
|
1664
1664
|
lease?: string | Uint8Array | undefined;
|
|
1665
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1666
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1667
1665
|
staticFee?: AlgoAmount | undefined;
|
|
1668
1666
|
extraFee?: AlgoAmount | undefined;
|
|
1667
|
+
maxFee?: AlgoAmount | undefined;
|
|
1669
1668
|
validityWindow?: number | bigint | undefined;
|
|
1670
1669
|
firstValidRound?: bigint | undefined;
|
|
1671
1670
|
lastValidRound?: bigint | undefined;
|
|
1671
|
+
args?: Uint8Array[] | undefined;
|
|
1672
1672
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1673
1673
|
appReferences?: bigint[] | undefined;
|
|
1674
1674
|
assetReferences?: bigint[] | undefined;
|
|
1675
|
-
boxReferences?: (
|
|
1675
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1676
1676
|
accessReferences?: AccessReference[] | undefined;
|
|
1677
1677
|
rejectVersion?: number | undefined;
|
|
1678
1678
|
sender?: ReadableAddress | undefined;
|
|
@@ -1688,21 +1688,21 @@ declare class AppClient {
|
|
|
1688
1688
|
}>;
|
|
1689
1689
|
/** Signs and sends a delete call */
|
|
1690
1690
|
delete: (params?: ({
|
|
1691
|
-
|
|
1691
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1692
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1692
1693
|
note?: string | Uint8Array | undefined;
|
|
1693
|
-
maxFee?: AlgoAmount | undefined;
|
|
1694
1694
|
lease?: string | Uint8Array | undefined;
|
|
1695
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1696
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1697
1695
|
staticFee?: AlgoAmount | undefined;
|
|
1698
1696
|
extraFee?: AlgoAmount | undefined;
|
|
1697
|
+
maxFee?: AlgoAmount | undefined;
|
|
1699
1698
|
validityWindow?: number | bigint | undefined;
|
|
1700
1699
|
firstValidRound?: bigint | undefined;
|
|
1701
1700
|
lastValidRound?: bigint | undefined;
|
|
1701
|
+
args?: Uint8Array[] | undefined;
|
|
1702
1702
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1703
1703
|
appReferences?: bigint[] | undefined;
|
|
1704
1704
|
assetReferences?: bigint[] | undefined;
|
|
1705
|
-
boxReferences?: (
|
|
1705
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1706
1706
|
accessReferences?: AccessReference[] | undefined;
|
|
1707
1707
|
rejectVersion?: number | undefined;
|
|
1708
1708
|
sender?: ReadableAddress | undefined;
|
|
@@ -1718,21 +1718,21 @@ declare class AppClient {
|
|
|
1718
1718
|
}>;
|
|
1719
1719
|
/** Signs and sends a clear state call */
|
|
1720
1720
|
clearState: (params?: ({
|
|
1721
|
-
|
|
1721
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1722
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1722
1723
|
note?: string | Uint8Array | undefined;
|
|
1723
|
-
maxFee?: AlgoAmount | undefined;
|
|
1724
1724
|
lease?: string | Uint8Array | undefined;
|
|
1725
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1726
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1727
1725
|
staticFee?: AlgoAmount | undefined;
|
|
1728
1726
|
extraFee?: AlgoAmount | undefined;
|
|
1727
|
+
maxFee?: AlgoAmount | undefined;
|
|
1729
1728
|
validityWindow?: number | bigint | undefined;
|
|
1730
1729
|
firstValidRound?: bigint | undefined;
|
|
1731
1730
|
lastValidRound?: bigint | undefined;
|
|
1731
|
+
args?: Uint8Array[] | undefined;
|
|
1732
1732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1733
1733
|
appReferences?: bigint[] | undefined;
|
|
1734
1734
|
assetReferences?: bigint[] | undefined;
|
|
1735
|
-
boxReferences?: (
|
|
1735
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1736
1736
|
accessReferences?: AccessReference[] | undefined;
|
|
1737
1737
|
rejectVersion?: number | undefined;
|
|
1738
1738
|
sender?: ReadableAddress | undefined;
|
|
@@ -1748,21 +1748,21 @@ declare class AppClient {
|
|
|
1748
1748
|
}>;
|
|
1749
1749
|
/** Signs and sends a close out call */
|
|
1750
1750
|
closeOut: (params?: ({
|
|
1751
|
-
|
|
1751
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1752
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1752
1753
|
note?: string | Uint8Array | undefined;
|
|
1753
|
-
maxFee?: AlgoAmount | undefined;
|
|
1754
1754
|
lease?: string | Uint8Array | undefined;
|
|
1755
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1756
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1757
1755
|
staticFee?: AlgoAmount | undefined;
|
|
1758
1756
|
extraFee?: AlgoAmount | undefined;
|
|
1757
|
+
maxFee?: AlgoAmount | undefined;
|
|
1759
1758
|
validityWindow?: number | bigint | undefined;
|
|
1760
1759
|
firstValidRound?: bigint | undefined;
|
|
1761
1760
|
lastValidRound?: bigint | undefined;
|
|
1761
|
+
args?: Uint8Array[] | undefined;
|
|
1762
1762
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1763
1763
|
appReferences?: bigint[] | undefined;
|
|
1764
1764
|
assetReferences?: bigint[] | undefined;
|
|
1765
|
-
boxReferences?: (
|
|
1765
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1766
1766
|
accessReferences?: AccessReference[] | undefined;
|
|
1767
1767
|
rejectVersion?: number | undefined;
|
|
1768
1768
|
sender?: ReadableAddress | undefined;
|
|
@@ -1778,21 +1778,21 @@ declare class AppClient {
|
|
|
1778
1778
|
}>;
|
|
1779
1779
|
/** Signs and sends a call (defaults to no-op) */
|
|
1780
1780
|
call: (params?: ({
|
|
1781
|
-
|
|
1781
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1782
|
+
rekeyTo?: ReadableAddress | undefined;
|
|
1782
1783
|
note?: string | Uint8Array | undefined;
|
|
1783
|
-
maxFee?: AlgoAmount | undefined;
|
|
1784
1784
|
lease?: string | Uint8Array | undefined;
|
|
1785
|
-
rekeyTo?: ReadableAddress | undefined;
|
|
1786
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1787
1785
|
staticFee?: AlgoAmount | undefined;
|
|
1788
1786
|
extraFee?: AlgoAmount | undefined;
|
|
1787
|
+
maxFee?: AlgoAmount | undefined;
|
|
1789
1788
|
validityWindow?: number | bigint | undefined;
|
|
1790
1789
|
firstValidRound?: bigint | undefined;
|
|
1791
1790
|
lastValidRound?: bigint | undefined;
|
|
1791
|
+
args?: Uint8Array[] | undefined;
|
|
1792
1792
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1793
1793
|
appReferences?: bigint[] | undefined;
|
|
1794
1794
|
assetReferences?: bigint[] | undefined;
|
|
1795
|
-
boxReferences?: (
|
|
1795
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1796
1796
|
accessReferences?: AccessReference[] | undefined;
|
|
1797
1797
|
rejectVersion?: number | undefined;
|
|
1798
1798
|
sender?: ReadableAddress | undefined;
|