@algorandfoundation/algokit-utils 10.0.0-alpha.16 → 10.0.0-alpha.18
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/_virtual/rolldown_runtime.js +0 -14
- package/index.d.ts +1 -2
- package/index.js +0 -7
- package/index.mjs +1 -2
- package/indexer-client/index.d.ts +2 -1
- package/indexer-client/index.js +6 -1
- package/indexer-client/index.mjs +2 -1
- package/{indexer-lookup.d.ts → indexer-client/indexer-lookup.d.ts} +8 -11
- package/{indexer-lookup.mjs → indexer-client/indexer-lookup.js} +6 -10
- package/indexer-client/indexer-lookup.js.map +1 -0
- package/{indexer-lookup.js → indexer-client/indexer-lookup.mjs} +3 -18
- package/indexer-client/indexer-lookup.mjs.map +1 -0
- package/package.json +1 -1
- package/types/algorand-client-transaction-creator.d.ts +73 -73
- package/types/algorand-client-transaction-sender.d.ts +75 -75
- package/types/app-client.d.ts +231 -231
- package/types/app-deployer.js +1 -1
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +1 -1
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +84 -84
- package/types/expand.d.ts +2 -0
- package/types/expand.js +0 -0
- package/types/expand.mjs +0 -0
- package/_virtual/rolldown_runtime.mjs +0 -18
- package/indexer-lookup.js.map +0 -1
- package/indexer-lookup.mjs.map +0 -1
package/types/app-client.d.ts
CHANGED
|
@@ -386,13 +386,13 @@ 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
|
-
|
|
390
|
-
lease?: string | Uint8Array | undefined;
|
|
389
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
391
390
|
rekeyTo?: ReadableAddress | undefined;
|
|
392
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
393
391
|
note?: string | Uint8Array | undefined;
|
|
392
|
+
lease?: string | Uint8Array | undefined;
|
|
394
393
|
staticFee?: AlgoAmount | undefined;
|
|
395
394
|
extraFee?: AlgoAmount | undefined;
|
|
395
|
+
maxFee?: AlgoAmount | undefined;
|
|
396
396
|
validityWindow?: number | bigint | undefined;
|
|
397
397
|
firstValidRound?: bigint | undefined;
|
|
398
398
|
lastValidRound?: bigint | undefined;
|
|
@@ -405,14 +405,14 @@ declare class AppClient {
|
|
|
405
405
|
sender?: ReadableAddress | undefined;
|
|
406
406
|
}) => {
|
|
407
407
|
sender: Address;
|
|
408
|
-
signer:
|
|
408
|
+
signer: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
|
-
maxFee?: AlgoAmount | undefined;
|
|
411
|
-
lease?: string | Uint8Array | undefined;
|
|
412
410
|
rekeyTo?: ReadableAddress | undefined;
|
|
413
411
|
note?: string | Uint8Array | undefined;
|
|
412
|
+
lease?: string | Uint8Array | undefined;
|
|
414
413
|
staticFee?: AlgoAmount | undefined;
|
|
415
414
|
extraFee?: AlgoAmount | undefined;
|
|
415
|
+
maxFee?: AlgoAmount | undefined;
|
|
416
416
|
validityWindow?: number | bigint | undefined;
|
|
417
417
|
firstValidRound?: bigint | undefined;
|
|
418
418
|
lastValidRound?: bigint | 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
|
-
|
|
433
|
-
lease?: string | Uint8Array | undefined;
|
|
432
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
434
433
|
rekeyTo?: ReadableAddress | undefined;
|
|
435
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
436
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
437
434
|
note?: string | Uint8Array | undefined;
|
|
435
|
+
lease?: string | Uint8Array | 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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
447
447
|
accessReferences?: ResourceReference[] | 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
|
-
|
|
460
|
-
lease?: string | Uint8Array | undefined;
|
|
459
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
461
460
|
rekeyTo?: ReadableAddress | undefined;
|
|
462
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
463
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
464
461
|
note?: string | Uint8Array | undefined;
|
|
462
|
+
lease?: string | Uint8Array | 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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
474
474
|
accessReferences?: ResourceReference[] | undefined;
|
|
475
475
|
rejectVersion?: number | undefined;
|
|
476
476
|
sender?: ReadableAddress | undefined;
|
|
@@ -485,27 +485,27 @@ declare class AppClient {
|
|
|
485
485
|
} & {
|
|
486
486
|
appId: bigint;
|
|
487
487
|
sender: Address;
|
|
488
|
-
signer:
|
|
488
|
+
signer: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (
|
|
492
|
-
maxFee?: AlgoAmount | undefined;
|
|
491
|
+
args: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
493
492
|
sender: SendingAddress;
|
|
494
|
-
|
|
493
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
495
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
496
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
497
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
498
495
|
note?: string | Uint8Array | undefined;
|
|
496
|
+
lease?: string | Uint8Array | undefined;
|
|
499
497
|
staticFee?: AlgoAmount | undefined;
|
|
500
498
|
extraFee?: AlgoAmount | undefined;
|
|
499
|
+
maxFee?: AlgoAmount | undefined;
|
|
501
500
|
validityWindow?: number | bigint | undefined;
|
|
502
501
|
firstValidRound?: bigint | undefined;
|
|
503
502
|
lastValidRound?: bigint | undefined;
|
|
503
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
504
504
|
args?: Uint8Array[] | undefined;
|
|
505
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
506
|
appReferences?: bigint[] | undefined;
|
|
507
507
|
assetReferences?: bigint[] | undefined;
|
|
508
|
-
boxReferences?: (
|
|
508
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
509
509
|
accessReferences?: ResourceReference[] | undefined;
|
|
510
510
|
rejectVersion?: number | undefined;
|
|
511
511
|
appId?: 0 | undefined;
|
|
@@ -520,7 +520,7 @@ declare class AppClient {
|
|
|
520
520
|
extraProgramPages?: number | undefined;
|
|
521
521
|
}> | AppMethodCall<{
|
|
522
522
|
sender: SendingAddress;
|
|
523
|
-
signer?:
|
|
523
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
524
524
|
rekeyTo?: ReadableAddress | undefined;
|
|
525
525
|
note?: string | Uint8Array | undefined;
|
|
526
526
|
lease?: string | Uint8Array | undefined;
|
|
@@ -536,7 +536,7 @@ declare class AppClient {
|
|
|
536
536
|
accountReferences?: ReadableAddress[] | undefined;
|
|
537
537
|
appReferences?: bigint[] | undefined;
|
|
538
538
|
assetReferences?: bigint[] | undefined;
|
|
539
|
-
boxReferences?: (
|
|
539
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
540
540
|
accessReferences?: ResourceReference[] | undefined;
|
|
541
541
|
rejectVersion?: number | undefined;
|
|
542
542
|
approvalProgram: string | Uint8Array;
|
|
@@ -549,65 +549,65 @@ declare class AppClient {
|
|
|
549
549
|
* @returns The parameters which can be used to create an opt-in ABI method call
|
|
550
550
|
*/
|
|
551
551
|
optIn: (params: {
|
|
552
|
-
|
|
553
|
-
lease?: string | Uint8Array | undefined;
|
|
552
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
554
553
|
rekeyTo?: ReadableAddress | undefined;
|
|
555
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
556
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
557
554
|
note?: string | Uint8Array | undefined;
|
|
555
|
+
lease?: string | Uint8Array | undefined;
|
|
558
556
|
staticFee?: AlgoAmount | undefined;
|
|
559
557
|
extraFee?: AlgoAmount | undefined;
|
|
558
|
+
maxFee?: AlgoAmount | undefined;
|
|
560
559
|
validityWindow?: number | bigint | undefined;
|
|
561
560
|
firstValidRound?: bigint | undefined;
|
|
562
561
|
lastValidRound?: bigint | undefined;
|
|
562
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
563
563
|
accountReferences?: ReadableAddress[] | undefined;
|
|
564
564
|
appReferences?: bigint[] | undefined;
|
|
565
565
|
assetReferences?: bigint[] | undefined;
|
|
566
|
-
boxReferences?: (
|
|
566
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
573
|
+
appId: bigint;
|
|
574
574
|
sender: SendingAddress;
|
|
575
|
-
|
|
575
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
576
576
|
rekeyTo?: ReadableAddress | undefined;
|
|
577
|
-
appId: bigint;
|
|
578
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
579
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
580
577
|
note?: string | Uint8Array | undefined;
|
|
578
|
+
lease?: string | Uint8Array | undefined;
|
|
581
579
|
staticFee?: AlgoAmount | undefined;
|
|
582
580
|
extraFee?: AlgoAmount | undefined;
|
|
581
|
+
maxFee?: AlgoAmount | undefined;
|
|
583
582
|
validityWindow?: number | bigint | undefined;
|
|
584
583
|
firstValidRound?: bigint | undefined;
|
|
585
584
|
lastValidRound?: bigint | undefined;
|
|
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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (
|
|
594
|
-
maxFee?: AlgoAmount | undefined;
|
|
593
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
595
594
|
sender: SendingAddress;
|
|
596
|
-
|
|
595
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
597
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
598
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
599
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
600
597
|
note?: string | Uint8Array | undefined;
|
|
598
|
+
lease?: string | Uint8Array | undefined;
|
|
601
599
|
staticFee?: AlgoAmount | undefined;
|
|
602
600
|
extraFee?: AlgoAmount | undefined;
|
|
601
|
+
maxFee?: AlgoAmount | undefined;
|
|
603
602
|
validityWindow?: number | bigint | undefined;
|
|
604
603
|
firstValidRound?: bigint | undefined;
|
|
605
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
606
|
args?: Uint8Array[] | undefined;
|
|
607
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
608
|
appReferences?: bigint[] | undefined;
|
|
609
609
|
assetReferences?: bigint[] | undefined;
|
|
610
|
-
boxReferences?: (
|
|
610
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
611
611
|
accessReferences?: ResourceReference[] | undefined;
|
|
612
612
|
rejectVersion?: number | undefined;
|
|
613
613
|
appId?: 0 | undefined;
|
|
@@ -622,7 +622,7 @@ declare class AppClient {
|
|
|
622
622
|
extraProgramPages?: number | undefined;
|
|
623
623
|
}> | AppMethodCall<{
|
|
624
624
|
sender: SendingAddress;
|
|
625
|
-
signer?:
|
|
625
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
626
626
|
rekeyTo?: ReadableAddress | undefined;
|
|
627
627
|
note?: string | Uint8Array | undefined;
|
|
628
628
|
lease?: string | Uint8Array | undefined;
|
|
@@ -638,7 +638,7 @@ declare class AppClient {
|
|
|
638
638
|
accountReferences?: ReadableAddress[] | undefined;
|
|
639
639
|
appReferences?: bigint[] | undefined;
|
|
640
640
|
assetReferences?: bigint[] | undefined;
|
|
641
|
-
boxReferences?: (
|
|
641
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
642
642
|
accessReferences?: ResourceReference[] | undefined;
|
|
643
643
|
rejectVersion?: number | undefined;
|
|
644
644
|
approvalProgram: string | Uint8Array;
|
|
@@ -651,65 +651,65 @@ declare class AppClient {
|
|
|
651
651
|
* @returns The parameters which can be used to create a delete ABI method call
|
|
652
652
|
*/
|
|
653
653
|
delete: (params: {
|
|
654
|
-
|
|
655
|
-
lease?: string | Uint8Array | undefined;
|
|
654
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
656
655
|
rekeyTo?: ReadableAddress | undefined;
|
|
657
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
658
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
659
656
|
note?: string | Uint8Array | undefined;
|
|
657
|
+
lease?: string | Uint8Array | undefined;
|
|
660
658
|
staticFee?: AlgoAmount | undefined;
|
|
661
659
|
extraFee?: AlgoAmount | undefined;
|
|
660
|
+
maxFee?: AlgoAmount | undefined;
|
|
662
661
|
validityWindow?: number | bigint | undefined;
|
|
663
662
|
firstValidRound?: bigint | undefined;
|
|
664
663
|
lastValidRound?: bigint | undefined;
|
|
664
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
665
665
|
accountReferences?: ReadableAddress[] | undefined;
|
|
666
666
|
appReferences?: bigint[] | undefined;
|
|
667
667
|
assetReferences?: bigint[] | undefined;
|
|
668
|
-
boxReferences?: (
|
|
668
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
675
|
+
appId: bigint;
|
|
676
676
|
sender: SendingAddress;
|
|
677
|
-
|
|
677
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
678
678
|
rekeyTo?: ReadableAddress | undefined;
|
|
679
|
-
appId: bigint;
|
|
680
|
-
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
681
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
682
679
|
note?: string | Uint8Array | undefined;
|
|
680
|
+
lease?: string | Uint8Array | undefined;
|
|
683
681
|
staticFee?: AlgoAmount | undefined;
|
|
684
682
|
extraFee?: AlgoAmount | undefined;
|
|
683
|
+
maxFee?: AlgoAmount | undefined;
|
|
685
684
|
validityWindow?: number | bigint | undefined;
|
|
686
685
|
firstValidRound?: bigint | undefined;
|
|
687
686
|
lastValidRound?: bigint | undefined;
|
|
687
|
+
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
688
688
|
accountReferences?: ReadableAddress[] | undefined;
|
|
689
689
|
appReferences?: bigint[] | undefined;
|
|
690
690
|
assetReferences?: bigint[] | undefined;
|
|
691
|
-
boxReferences?: (
|
|
691
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (
|
|
696
|
-
maxFee?: AlgoAmount | undefined;
|
|
695
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
697
696
|
sender: SendingAddress;
|
|
698
|
-
|
|
697
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
699
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
700
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
701
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
702
699
|
note?: string | Uint8Array | undefined;
|
|
700
|
+
lease?: string | Uint8Array | undefined;
|
|
703
701
|
staticFee?: AlgoAmount | undefined;
|
|
704
702
|
extraFee?: AlgoAmount | undefined;
|
|
703
|
+
maxFee?: AlgoAmount | undefined;
|
|
705
704
|
validityWindow?: number | bigint | undefined;
|
|
706
705
|
firstValidRound?: bigint | undefined;
|
|
707
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
708
708
|
args?: Uint8Array[] | undefined;
|
|
709
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
710
|
appReferences?: bigint[] | undefined;
|
|
711
711
|
assetReferences?: bigint[] | undefined;
|
|
712
|
-
boxReferences?: (
|
|
712
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
713
713
|
accessReferences?: ResourceReference[] | undefined;
|
|
714
714
|
rejectVersion?: number | undefined;
|
|
715
715
|
appId?: 0 | undefined;
|
|
@@ -724,7 +724,7 @@ declare class AppClient {
|
|
|
724
724
|
extraProgramPages?: number | undefined;
|
|
725
725
|
}> | AppMethodCall<{
|
|
726
726
|
sender: SendingAddress;
|
|
727
|
-
signer?:
|
|
727
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
728
728
|
rekeyTo?: ReadableAddress | undefined;
|
|
729
729
|
note?: string | Uint8Array | undefined;
|
|
730
730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -740,7 +740,7 @@ declare class AppClient {
|
|
|
740
740
|
accountReferences?: ReadableAddress[] | undefined;
|
|
741
741
|
appReferences?: bigint[] | undefined;
|
|
742
742
|
assetReferences?: bigint[] | undefined;
|
|
743
|
-
boxReferences?: (
|
|
743
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
744
744
|
accessReferences?: ResourceReference[] | undefined;
|
|
745
745
|
rejectVersion?: number | undefined;
|
|
746
746
|
approvalProgram: string | Uint8Array;
|
|
@@ -752,65 +752,65 @@ declare class AppClient {
|
|
|
752
752
|
* @returns The parameters which can be used to create a close out ABI method call
|
|
753
753
|
*/
|
|
754
754
|
closeOut: (params: {
|
|
755
|
-
|
|
756
|
-
lease?: string | Uint8Array | undefined;
|
|
755
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
757
756
|
rekeyTo?: ReadableAddress | undefined;
|
|
758
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
759
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
760
757
|
note?: string | Uint8Array | undefined;
|
|
758
|
+
lease?: string | Uint8Array | undefined;
|
|
761
759
|
staticFee?: AlgoAmount | undefined;
|
|
762
760
|
extraFee?: AlgoAmount | undefined;
|
|
761
|
+
maxFee?: AlgoAmount | undefined;
|
|
763
762
|
validityWindow?: number | bigint | undefined;
|
|
764
763
|
firstValidRound?: bigint | undefined;
|
|
765
764
|
lastValidRound?: bigint | undefined;
|
|
765
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
766
766
|
accountReferences?: ReadableAddress[] | undefined;
|
|
767
767
|
appReferences?: bigint[] | undefined;
|
|
768
768
|
assetReferences?: bigint[] | undefined;
|
|
769
|
-
boxReferences?: (
|
|
769
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
776
|
+
appId: bigint;
|
|
777
777
|
sender: SendingAddress;
|
|
778
|
-
|
|
778
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
779
779
|
rekeyTo?: ReadableAddress | undefined;
|
|
780
|
-
appId: bigint;
|
|
781
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
782
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
783
780
|
note?: string | Uint8Array | undefined;
|
|
781
|
+
lease?: string | Uint8Array | undefined;
|
|
784
782
|
staticFee?: AlgoAmount | undefined;
|
|
785
783
|
extraFee?: AlgoAmount | undefined;
|
|
784
|
+
maxFee?: AlgoAmount | undefined;
|
|
786
785
|
validityWindow?: number | bigint | undefined;
|
|
787
786
|
firstValidRound?: bigint | undefined;
|
|
788
787
|
lastValidRound?: bigint | undefined;
|
|
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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (
|
|
797
|
-
maxFee?: AlgoAmount | undefined;
|
|
796
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
798
797
|
sender: SendingAddress;
|
|
799
|
-
|
|
798
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
800
799
|
rekeyTo?: ReadableAddress | undefined;
|
|
801
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
802
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
803
800
|
note?: string | Uint8Array | undefined;
|
|
801
|
+
lease?: string | Uint8Array | undefined;
|
|
804
802
|
staticFee?: AlgoAmount | undefined;
|
|
805
803
|
extraFee?: AlgoAmount | undefined;
|
|
804
|
+
maxFee?: AlgoAmount | undefined;
|
|
806
805
|
validityWindow?: number | bigint | undefined;
|
|
807
806
|
firstValidRound?: bigint | undefined;
|
|
808
807
|
lastValidRound?: bigint | undefined;
|
|
808
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
809
809
|
args?: Uint8Array[] | undefined;
|
|
810
810
|
accountReferences?: ReadableAddress[] | undefined;
|
|
811
811
|
appReferences?: bigint[] | undefined;
|
|
812
812
|
assetReferences?: bigint[] | undefined;
|
|
813
|
-
boxReferences?: (
|
|
813
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
814
814
|
accessReferences?: ResourceReference[] | undefined;
|
|
815
815
|
rejectVersion?: number | undefined;
|
|
816
816
|
appId?: 0 | undefined;
|
|
@@ -825,7 +825,7 @@ declare class AppClient {
|
|
|
825
825
|
extraProgramPages?: number | undefined;
|
|
826
826
|
}> | AppMethodCall<{
|
|
827
827
|
sender: SendingAddress;
|
|
828
|
-
signer?:
|
|
828
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
829
829
|
rekeyTo?: ReadableAddress | undefined;
|
|
830
830
|
note?: string | Uint8Array | undefined;
|
|
831
831
|
lease?: string | Uint8Array | undefined;
|
|
@@ -841,7 +841,7 @@ declare class AppClient {
|
|
|
841
841
|
accountReferences?: ReadableAddress[] | undefined;
|
|
842
842
|
appReferences?: bigint[] | undefined;
|
|
843
843
|
assetReferences?: bigint[] | undefined;
|
|
844
|
-
boxReferences?: (
|
|
844
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
845
845
|
accessReferences?: ResourceReference[] | undefined;
|
|
846
846
|
rejectVersion?: number | undefined;
|
|
847
847
|
approvalProgram: string | Uint8Array;
|
|
@@ -853,65 +853,65 @@ declare class AppClient {
|
|
|
853
853
|
* @returns The parameters which can be used to create an ABI method call
|
|
854
854
|
*/
|
|
855
855
|
call: (params: {
|
|
856
|
-
|
|
857
|
-
lease?: string | Uint8Array | undefined;
|
|
856
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
858
857
|
rekeyTo?: ReadableAddress | undefined;
|
|
859
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
860
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
861
858
|
note?: string | Uint8Array | undefined;
|
|
859
|
+
lease?: string | Uint8Array | undefined;
|
|
862
860
|
staticFee?: AlgoAmount | undefined;
|
|
863
861
|
extraFee?: AlgoAmount | undefined;
|
|
862
|
+
maxFee?: AlgoAmount | undefined;
|
|
864
863
|
validityWindow?: number | bigint | undefined;
|
|
865
864
|
firstValidRound?: bigint | undefined;
|
|
866
865
|
lastValidRound?: bigint | undefined;
|
|
866
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
867
867
|
accountReferences?: ReadableAddress[] | undefined;
|
|
868
868
|
appReferences?: bigint[] | undefined;
|
|
869
869
|
assetReferences?: bigint[] | undefined;
|
|
870
|
-
boxReferences?: (
|
|
870
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
877
|
+
appId: bigint;
|
|
878
878
|
sender: SendingAddress;
|
|
879
|
-
|
|
879
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
880
880
|
rekeyTo?: ReadableAddress | undefined;
|
|
881
|
-
appId: bigint;
|
|
882
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
883
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
884
881
|
note?: string | Uint8Array | undefined;
|
|
882
|
+
lease?: string | Uint8Array | undefined;
|
|
885
883
|
staticFee?: AlgoAmount | undefined;
|
|
886
884
|
extraFee?: AlgoAmount | undefined;
|
|
885
|
+
maxFee?: AlgoAmount | undefined;
|
|
887
886
|
validityWindow?: number | bigint | undefined;
|
|
888
887
|
firstValidRound?: bigint | undefined;
|
|
889
888
|
lastValidRound?: bigint | undefined;
|
|
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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (
|
|
898
|
-
maxFee?: AlgoAmount | undefined;
|
|
897
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
899
898
|
sender: SendingAddress;
|
|
900
|
-
|
|
899
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
901
900
|
rekeyTo?: ReadableAddress | undefined;
|
|
902
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
903
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
904
901
|
note?: string | Uint8Array | undefined;
|
|
902
|
+
lease?: string | Uint8Array | undefined;
|
|
905
903
|
staticFee?: AlgoAmount | undefined;
|
|
906
904
|
extraFee?: AlgoAmount | undefined;
|
|
905
|
+
maxFee?: AlgoAmount | undefined;
|
|
907
906
|
validityWindow?: number | bigint | undefined;
|
|
908
907
|
firstValidRound?: bigint | undefined;
|
|
909
908
|
lastValidRound?: bigint | undefined;
|
|
909
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
910
910
|
args?: Uint8Array[] | undefined;
|
|
911
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
912
|
appReferences?: bigint[] | undefined;
|
|
913
913
|
assetReferences?: bigint[] | undefined;
|
|
914
|
-
boxReferences?: (
|
|
914
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
915
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
916
|
rejectVersion?: number | undefined;
|
|
917
917
|
appId?: 0 | undefined;
|
|
@@ -926,7 +926,7 @@ declare class AppClient {
|
|
|
926
926
|
extraProgramPages?: number | undefined;
|
|
927
927
|
}> | AppMethodCall<{
|
|
928
928
|
sender: SendingAddress;
|
|
929
|
-
signer?:
|
|
929
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
930
930
|
rekeyTo?: ReadableAddress | undefined;
|
|
931
931
|
note?: string | Uint8Array | undefined;
|
|
932
932
|
lease?: string | Uint8Array | undefined;
|
|
@@ -942,7 +942,7 @@ declare class AppClient {
|
|
|
942
942
|
accountReferences?: ReadableAddress[] | undefined;
|
|
943
943
|
appReferences?: bigint[] | undefined;
|
|
944
944
|
assetReferences?: bigint[] | undefined;
|
|
945
|
-
boxReferences?: (
|
|
945
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
946
946
|
accessReferences?: ResourceReference[] | undefined;
|
|
947
947
|
rejectVersion?: number | undefined;
|
|
948
948
|
approvalProgram: string | Uint8Array;
|
|
@@ -953,13 +953,13 @@ declare class AppClient {
|
|
|
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
|
-
|
|
957
|
-
lease?: string | Uint8Array | undefined;
|
|
956
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
958
957
|
rekeyTo?: ReadableAddress | undefined;
|
|
959
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
960
958
|
note?: string | Uint8Array | undefined;
|
|
959
|
+
lease?: string | Uint8Array | undefined;
|
|
961
960
|
staticFee?: AlgoAmount | undefined;
|
|
962
961
|
extraFee?: AlgoAmount | undefined;
|
|
962
|
+
maxFee?: AlgoAmount | undefined;
|
|
963
963
|
validityWindow?: number | bigint | undefined;
|
|
964
964
|
firstValidRound?: bigint | undefined;
|
|
965
965
|
lastValidRound?: bigint | undefined;
|
|
@@ -967,13 +967,13 @@ declare class AppClient {
|
|
|
967
967
|
accountReferences?: ReadableAddress[] | undefined;
|
|
968
968
|
appReferences?: bigint[] | undefined;
|
|
969
969
|
assetReferences?: bigint[] | undefined;
|
|
970
|
-
boxReferences?: (
|
|
970
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
971
971
|
accessReferences?: ResourceReference[] | undefined;
|
|
972
972
|
rejectVersion?: number | undefined;
|
|
973
973
|
sender?: ReadableAddress | undefined;
|
|
974
974
|
} & AppClientCompilationParams) | undefined) => Promise<{
|
|
975
975
|
sender: SendingAddress;
|
|
976
|
-
signer?:
|
|
976
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
977
977
|
rekeyTo?: ReadableAddress | undefined;
|
|
978
978
|
note?: string | Uint8Array | undefined;
|
|
979
979
|
lease?: string | Uint8Array | 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?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
993
993
|
accessReferences?: ResourceReference[] | undefined;
|
|
994
994
|
rejectVersion?: number | undefined;
|
|
995
995
|
approvalProgram: string | Uint8Array;
|
|
@@ -997,13 +997,13 @@ declare class AppClient {
|
|
|
997
997
|
}>;
|
|
998
998
|
/** Return params for an opt-in call */
|
|
999
999
|
optIn: (params?: {
|
|
1000
|
-
|
|
1001
|
-
lease?: string | Uint8Array | undefined;
|
|
1000
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1002
1001
|
rekeyTo?: ReadableAddress | undefined;
|
|
1003
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1004
1002
|
note?: string | Uint8Array | undefined;
|
|
1003
|
+
lease?: string | Uint8Array | undefined;
|
|
1005
1004
|
staticFee?: AlgoAmount | undefined;
|
|
1006
1005
|
extraFee?: AlgoAmount | undefined;
|
|
1006
|
+
maxFee?: AlgoAmount | undefined;
|
|
1007
1007
|
validityWindow?: number | bigint | undefined;
|
|
1008
1008
|
firstValidRound?: bigint | undefined;
|
|
1009
1009
|
lastValidRound?: bigint | undefined;
|
|
@@ -1011,20 +1011,20 @@ declare class AppClient {
|
|
|
1011
1011
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1012
1012
|
appReferences?: bigint[] | undefined;
|
|
1013
1013
|
assetReferences?: bigint[] | undefined;
|
|
1014
|
-
boxReferences?: (
|
|
1014
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1022
|
-
lease?: string | Uint8Array | undefined;
|
|
1021
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1023
1022
|
rekeyTo?: ReadableAddress | undefined;
|
|
1024
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1025
1023
|
note?: string | Uint8Array | undefined;
|
|
1024
|
+
lease?: string | Uint8Array | undefined;
|
|
1026
1025
|
staticFee?: AlgoAmount | undefined;
|
|
1027
1026
|
extraFee?: AlgoAmount | undefined;
|
|
1027
|
+
maxFee?: AlgoAmount | undefined;
|
|
1028
1028
|
validityWindow?: number | bigint | undefined;
|
|
1029
1029
|
firstValidRound?: bigint | undefined;
|
|
1030
1030
|
lastValidRound?: bigint | undefined;
|
|
@@ -1032,20 +1032,20 @@ declare class AppClient {
|
|
|
1032
1032
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1033
1033
|
appReferences?: bigint[] | undefined;
|
|
1034
1034
|
assetReferences?: bigint[] | undefined;
|
|
1035
|
-
boxReferences?: (
|
|
1035
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1043
|
-
lease?: string | Uint8Array | undefined;
|
|
1042
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1044
1043
|
rekeyTo?: ReadableAddress | undefined;
|
|
1045
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1046
1044
|
note?: string | Uint8Array | undefined;
|
|
1045
|
+
lease?: string | Uint8Array | undefined;
|
|
1047
1046
|
staticFee?: AlgoAmount | undefined;
|
|
1048
1047
|
extraFee?: AlgoAmount | undefined;
|
|
1048
|
+
maxFee?: AlgoAmount | undefined;
|
|
1049
1049
|
validityWindow?: number | bigint | undefined;
|
|
1050
1050
|
firstValidRound?: bigint | undefined;
|
|
1051
1051
|
lastValidRound?: bigint | undefined;
|
|
@@ -1053,20 +1053,20 @@ declare class AppClient {
|
|
|
1053
1053
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1054
1054
|
appReferences?: bigint[] | undefined;
|
|
1055
1055
|
assetReferences?: bigint[] | undefined;
|
|
1056
|
-
boxReferences?: (
|
|
1056
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1064
|
-
lease?: string | Uint8Array | undefined;
|
|
1063
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1065
1064
|
rekeyTo?: ReadableAddress | undefined;
|
|
1066
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1067
1065
|
note?: string | Uint8Array | undefined;
|
|
1066
|
+
lease?: string | Uint8Array | undefined;
|
|
1068
1067
|
staticFee?: AlgoAmount | undefined;
|
|
1069
1068
|
extraFee?: AlgoAmount | undefined;
|
|
1069
|
+
maxFee?: AlgoAmount | undefined;
|
|
1070
1070
|
validityWindow?: number | bigint | undefined;
|
|
1071
1071
|
firstValidRound?: bigint | undefined;
|
|
1072
1072
|
lastValidRound?: bigint | undefined;
|
|
@@ -1074,20 +1074,20 @@ declare class AppClient {
|
|
|
1074
1074
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1075
|
appReferences?: bigint[] | undefined;
|
|
1076
1076
|
assetReferences?: bigint[] | undefined;
|
|
1077
|
-
boxReferences?: (
|
|
1077
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1085
|
-
lease?: string | Uint8Array | undefined;
|
|
1084
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1086
1085
|
rekeyTo?: ReadableAddress | undefined;
|
|
1087
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1088
1086
|
note?: string | Uint8Array | undefined;
|
|
1087
|
+
lease?: string | Uint8Array | undefined;
|
|
1089
1088
|
staticFee?: AlgoAmount | undefined;
|
|
1090
1089
|
extraFee?: AlgoAmount | undefined;
|
|
1090
|
+
maxFee?: AlgoAmount | undefined;
|
|
1091
1091
|
validityWindow?: number | bigint | undefined;
|
|
1092
1092
|
firstValidRound?: bigint | undefined;
|
|
1093
1093
|
lastValidRound?: bigint | undefined;
|
|
@@ -1095,7 +1095,7 @@ declare class AppClient {
|
|
|
1095
1095
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1096
1096
|
appReferences?: bigint[] | undefined;
|
|
1097
1097
|
assetReferences?: bigint[] | undefined;
|
|
1098
|
-
boxReferences?: (
|
|
1098
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1099
1099
|
accessReferences?: ResourceReference[] | undefined;
|
|
1100
1100
|
rejectVersion?: number | undefined;
|
|
1101
1101
|
sender?: ReadableAddress | undefined;
|
|
@@ -1109,13 +1109,13 @@ declare class AppClient {
|
|
|
1109
1109
|
* @returns A transaction which can be used to fund the app account
|
|
1110
1110
|
*/
|
|
1111
1111
|
fundAppAccount: (params: {
|
|
1112
|
-
|
|
1113
|
-
lease?: string | Uint8Array | undefined;
|
|
1112
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1114
1113
|
rekeyTo?: ReadableAddress | undefined;
|
|
1115
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1116
1114
|
note?: string | Uint8Array | undefined;
|
|
1115
|
+
lease?: string | Uint8Array | undefined;
|
|
1117
1116
|
staticFee?: AlgoAmount | undefined;
|
|
1118
1117
|
extraFee?: AlgoAmount | undefined;
|
|
1118
|
+
maxFee?: AlgoAmount | undefined;
|
|
1119
1119
|
validityWindow?: number | bigint | undefined;
|
|
1120
1120
|
firstValidRound?: bigint | undefined;
|
|
1121
1121
|
lastValidRound?: bigint | undefined;
|
|
@@ -1133,21 +1133,21 @@ declare class AppClient {
|
|
|
1133
1133
|
* @returns The transactions which can be used to create an update ABI method call
|
|
1134
1134
|
*/
|
|
1135
1135
|
update: (params: {
|
|
1136
|
-
|
|
1137
|
-
lease?: string | Uint8Array | undefined;
|
|
1136
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1138
1137
|
rekeyTo?: ReadableAddress | undefined;
|
|
1139
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1140
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1141
1138
|
note?: string | Uint8Array | undefined;
|
|
1139
|
+
lease?: string | Uint8Array | undefined;
|
|
1142
1140
|
staticFee?: AlgoAmount | undefined;
|
|
1143
1141
|
extraFee?: AlgoAmount | undefined;
|
|
1142
|
+
maxFee?: AlgoAmount | undefined;
|
|
1144
1143
|
validityWindow?: number | bigint | undefined;
|
|
1145
1144
|
firstValidRound?: bigint | undefined;
|
|
1146
1145
|
lastValidRound?: bigint | undefined;
|
|
1146
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1147
1147
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1148
1148
|
appReferences?: bigint[] | undefined;
|
|
1149
1149
|
assetReferences?: bigint[] | undefined;
|
|
1150
|
-
boxReferences?: (
|
|
1150
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1151
1151
|
accessReferences?: ResourceReference[] | undefined;
|
|
1152
1152
|
rejectVersion?: number | undefined;
|
|
1153
1153
|
sender?: ReadableAddress | undefined;
|
|
@@ -1164,21 +1164,21 @@ declare class AppClient {
|
|
|
1164
1164
|
* @returns The transactions which can be used to create an opt-in ABI method call
|
|
1165
1165
|
*/
|
|
1166
1166
|
optIn: (params: {
|
|
1167
|
-
|
|
1168
|
-
lease?: string | Uint8Array | undefined;
|
|
1167
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1169
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
1170
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1171
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1172
1169
|
note?: string | Uint8Array | undefined;
|
|
1170
|
+
lease?: string | Uint8Array | undefined;
|
|
1173
1171
|
staticFee?: AlgoAmount | undefined;
|
|
1174
1172
|
extraFee?: AlgoAmount | undefined;
|
|
1173
|
+
maxFee?: AlgoAmount | undefined;
|
|
1175
1174
|
validityWindow?: number | bigint | undefined;
|
|
1176
1175
|
firstValidRound?: bigint | undefined;
|
|
1177
1176
|
lastValidRound?: bigint | undefined;
|
|
1177
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1178
1178
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1179
1179
|
appReferences?: bigint[] | undefined;
|
|
1180
1180
|
assetReferences?: bigint[] | undefined;
|
|
1181
|
-
boxReferences?: (
|
|
1181
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1182
1182
|
accessReferences?: ResourceReference[] | undefined;
|
|
1183
1183
|
rejectVersion?: number | undefined;
|
|
1184
1184
|
sender?: ReadableAddress | undefined;
|
|
@@ -1195,21 +1195,21 @@ declare class AppClient {
|
|
|
1195
1195
|
* @returns The transactions which can be used to create a delete ABI method call
|
|
1196
1196
|
*/
|
|
1197
1197
|
delete: (params: {
|
|
1198
|
-
|
|
1199
|
-
lease?: string | Uint8Array | undefined;
|
|
1198
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1200
1199
|
rekeyTo?: ReadableAddress | undefined;
|
|
1201
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1202
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1203
1200
|
note?: string | Uint8Array | undefined;
|
|
1201
|
+
lease?: string | Uint8Array | undefined;
|
|
1204
1202
|
staticFee?: AlgoAmount | undefined;
|
|
1205
1203
|
extraFee?: AlgoAmount | undefined;
|
|
1204
|
+
maxFee?: AlgoAmount | undefined;
|
|
1206
1205
|
validityWindow?: number | bigint | undefined;
|
|
1207
1206
|
firstValidRound?: bigint | undefined;
|
|
1208
1207
|
lastValidRound?: bigint | undefined;
|
|
1208
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1209
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1210
1210
|
appReferences?: bigint[] | undefined;
|
|
1211
1211
|
assetReferences?: bigint[] | undefined;
|
|
1212
|
-
boxReferences?: (
|
|
1212
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1213
1213
|
accessReferences?: ResourceReference[] | undefined;
|
|
1214
1214
|
rejectVersion?: number | undefined;
|
|
1215
1215
|
sender?: ReadableAddress | undefined;
|
|
@@ -1226,21 +1226,21 @@ declare class AppClient {
|
|
|
1226
1226
|
* @returns The transactions which can be used to create a close out ABI method call
|
|
1227
1227
|
*/
|
|
1228
1228
|
closeOut: (params: {
|
|
1229
|
-
|
|
1230
|
-
lease?: string | Uint8Array | undefined;
|
|
1229
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1231
1230
|
rekeyTo?: ReadableAddress | undefined;
|
|
1232
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1233
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1234
1231
|
note?: string | Uint8Array | undefined;
|
|
1232
|
+
lease?: string | Uint8Array | undefined;
|
|
1235
1233
|
staticFee?: AlgoAmount | undefined;
|
|
1236
1234
|
extraFee?: AlgoAmount | undefined;
|
|
1235
|
+
maxFee?: AlgoAmount | undefined;
|
|
1237
1236
|
validityWindow?: number | bigint | undefined;
|
|
1238
1237
|
firstValidRound?: bigint | undefined;
|
|
1239
1238
|
lastValidRound?: bigint | undefined;
|
|
1239
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1240
1240
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1241
1241
|
appReferences?: bigint[] | undefined;
|
|
1242
1242
|
assetReferences?: bigint[] | undefined;
|
|
1243
|
-
boxReferences?: (
|
|
1243
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1244
1244
|
accessReferences?: ResourceReference[] | undefined;
|
|
1245
1245
|
rejectVersion?: number | undefined;
|
|
1246
1246
|
sender?: ReadableAddress | undefined;
|
|
@@ -1257,21 +1257,21 @@ declare class AppClient {
|
|
|
1257
1257
|
* @returns The transactions which can be used to create an ABI method call
|
|
1258
1258
|
*/
|
|
1259
1259
|
call: (params: {
|
|
1260
|
-
|
|
1261
|
-
lease?: string | Uint8Array | undefined;
|
|
1260
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1262
1261
|
rekeyTo?: ReadableAddress | undefined;
|
|
1263
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1264
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1265
1262
|
note?: string | Uint8Array | undefined;
|
|
1263
|
+
lease?: string | Uint8Array | undefined;
|
|
1266
1264
|
staticFee?: AlgoAmount | undefined;
|
|
1267
1265
|
extraFee?: AlgoAmount | undefined;
|
|
1266
|
+
maxFee?: AlgoAmount | undefined;
|
|
1268
1267
|
validityWindow?: number | bigint | undefined;
|
|
1269
1268
|
firstValidRound?: bigint | undefined;
|
|
1270
1269
|
lastValidRound?: bigint | undefined;
|
|
1270
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1271
1271
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1272
1272
|
appReferences?: bigint[] | undefined;
|
|
1273
1273
|
assetReferences?: bigint[] | undefined;
|
|
1274
|
-
boxReferences?: (
|
|
1274
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1275
1275
|
accessReferences?: ResourceReference[] | undefined;
|
|
1276
1276
|
rejectVersion?: number | undefined;
|
|
1277
1277
|
sender?: ReadableAddress | undefined;
|
|
@@ -1286,13 +1286,13 @@ 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
|
-
|
|
1290
|
-
lease?: string | Uint8Array | undefined;
|
|
1289
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1291
1290
|
rekeyTo?: ReadableAddress | undefined;
|
|
1292
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1293
1291
|
note?: string | Uint8Array | undefined;
|
|
1292
|
+
lease?: string | Uint8Array | undefined;
|
|
1294
1293
|
staticFee?: AlgoAmount | undefined;
|
|
1295
1294
|
extraFee?: AlgoAmount | undefined;
|
|
1295
|
+
maxFee?: AlgoAmount | undefined;
|
|
1296
1296
|
validityWindow?: number | bigint | undefined;
|
|
1297
1297
|
firstValidRound?: bigint | undefined;
|
|
1298
1298
|
lastValidRound?: bigint | undefined;
|
|
@@ -1300,20 +1300,20 @@ declare class AppClient {
|
|
|
1300
1300
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1301
1301
|
appReferences?: bigint[] | undefined;
|
|
1302
1302
|
assetReferences?: bigint[] | undefined;
|
|
1303
|
-
boxReferences?: (
|
|
1303
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1311
|
-
lease?: string | Uint8Array | undefined;
|
|
1310
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1312
1311
|
rekeyTo?: ReadableAddress | undefined;
|
|
1313
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1314
1312
|
note?: string | Uint8Array | undefined;
|
|
1313
|
+
lease?: string | Uint8Array | undefined;
|
|
1315
1314
|
staticFee?: AlgoAmount | undefined;
|
|
1316
1315
|
extraFee?: AlgoAmount | undefined;
|
|
1316
|
+
maxFee?: AlgoAmount | undefined;
|
|
1317
1317
|
validityWindow?: number | bigint | undefined;
|
|
1318
1318
|
firstValidRound?: bigint | undefined;
|
|
1319
1319
|
lastValidRound?: bigint | undefined;
|
|
@@ -1321,20 +1321,20 @@ declare class AppClient {
|
|
|
1321
1321
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1322
1322
|
appReferences?: bigint[] | undefined;
|
|
1323
1323
|
assetReferences?: bigint[] | undefined;
|
|
1324
|
-
boxReferences?: (
|
|
1324
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1332
|
-
lease?: string | Uint8Array | undefined;
|
|
1331
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1333
1332
|
rekeyTo?: ReadableAddress | undefined;
|
|
1334
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1335
1333
|
note?: string | Uint8Array | undefined;
|
|
1334
|
+
lease?: string | Uint8Array | undefined;
|
|
1336
1335
|
staticFee?: AlgoAmount | undefined;
|
|
1337
1336
|
extraFee?: AlgoAmount | undefined;
|
|
1337
|
+
maxFee?: AlgoAmount | undefined;
|
|
1338
1338
|
validityWindow?: number | bigint | undefined;
|
|
1339
1339
|
firstValidRound?: bigint | undefined;
|
|
1340
1340
|
lastValidRound?: bigint | undefined;
|
|
@@ -1342,20 +1342,20 @@ declare class AppClient {
|
|
|
1342
1342
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1343
1343
|
appReferences?: bigint[] | undefined;
|
|
1344
1344
|
assetReferences?: bigint[] | undefined;
|
|
1345
|
-
boxReferences?: (
|
|
1345
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1353
|
-
lease?: string | Uint8Array | undefined;
|
|
1352
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1354
1353
|
rekeyTo?: ReadableAddress | undefined;
|
|
1355
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1356
1354
|
note?: string | Uint8Array | undefined;
|
|
1355
|
+
lease?: string | Uint8Array | undefined;
|
|
1357
1356
|
staticFee?: AlgoAmount | undefined;
|
|
1358
1357
|
extraFee?: AlgoAmount | undefined;
|
|
1358
|
+
maxFee?: AlgoAmount | undefined;
|
|
1359
1359
|
validityWindow?: number | bigint | undefined;
|
|
1360
1360
|
firstValidRound?: bigint | undefined;
|
|
1361
1361
|
lastValidRound?: bigint | undefined;
|
|
@@ -1363,20 +1363,20 @@ declare class AppClient {
|
|
|
1363
1363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1364
1364
|
appReferences?: bigint[] | undefined;
|
|
1365
1365
|
assetReferences?: bigint[] | undefined;
|
|
1366
|
-
boxReferences?: (
|
|
1366
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1374
|
-
lease?: string | Uint8Array | undefined;
|
|
1373
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1375
1374
|
rekeyTo?: ReadableAddress | undefined;
|
|
1376
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1377
1375
|
note?: string | Uint8Array | undefined;
|
|
1376
|
+
lease?: string | Uint8Array | undefined;
|
|
1378
1377
|
staticFee?: AlgoAmount | undefined;
|
|
1379
1378
|
extraFee?: AlgoAmount | undefined;
|
|
1379
|
+
maxFee?: AlgoAmount | undefined;
|
|
1380
1380
|
validityWindow?: number | bigint | undefined;
|
|
1381
1381
|
firstValidRound?: bigint | undefined;
|
|
1382
1382
|
lastValidRound?: bigint | undefined;
|
|
@@ -1384,20 +1384,20 @@ declare class AppClient {
|
|
|
1384
1384
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1385
1385
|
appReferences?: bigint[] | undefined;
|
|
1386
1386
|
assetReferences?: bigint[] | undefined;
|
|
1387
|
-
boxReferences?: (
|
|
1387
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | 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
|
-
|
|
1395
|
-
lease?: string | Uint8Array | undefined;
|
|
1394
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1396
1395
|
rekeyTo?: ReadableAddress | undefined;
|
|
1397
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1398
1396
|
note?: string | Uint8Array | undefined;
|
|
1397
|
+
lease?: string | Uint8Array | undefined;
|
|
1399
1398
|
staticFee?: AlgoAmount | undefined;
|
|
1400
1399
|
extraFee?: AlgoAmount | undefined;
|
|
1400
|
+
maxFee?: AlgoAmount | undefined;
|
|
1401
1401
|
validityWindow?: number | bigint | undefined;
|
|
1402
1402
|
firstValidRound?: bigint | undefined;
|
|
1403
1403
|
lastValidRound?: bigint | undefined;
|
|
@@ -1405,7 +1405,7 @@ declare class AppClient {
|
|
|
1405
1405
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1406
1406
|
appReferences?: bigint[] | undefined;
|
|
1407
1407
|
assetReferences?: bigint[] | undefined;
|
|
1408
|
-
boxReferences?: (
|
|
1408
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1409
1409
|
accessReferences?: ResourceReference[] | undefined;
|
|
1410
1410
|
rejectVersion?: number | undefined;
|
|
1411
1411
|
sender?: ReadableAddress | undefined;
|
|
@@ -1419,13 +1419,13 @@ declare class AppClient {
|
|
|
1419
1419
|
* @returns The result of send the fund app account payment transaction
|
|
1420
1420
|
*/
|
|
1421
1421
|
fundAppAccount: (params: {
|
|
1422
|
-
|
|
1423
|
-
lease?: string | Uint8Array | undefined;
|
|
1422
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1424
1423
|
rekeyTo?: ReadableAddress | undefined;
|
|
1425
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1426
1424
|
note?: string | Uint8Array | undefined;
|
|
1425
|
+
lease?: string | Uint8Array | undefined;
|
|
1427
1426
|
staticFee?: AlgoAmount | undefined;
|
|
1428
1427
|
extraFee?: AlgoAmount | undefined;
|
|
1428
|
+
maxFee?: AlgoAmount | undefined;
|
|
1429
1429
|
validityWindow?: number | bigint | undefined;
|
|
1430
1430
|
firstValidRound?: bigint | undefined;
|
|
1431
1431
|
lastValidRound?: bigint | undefined;
|
|
@@ -1451,21 +1451,21 @@ declare class AppClient {
|
|
|
1451
1451
|
* @returns The result of sending the update ABI method call
|
|
1452
1452
|
*/
|
|
1453
1453
|
update: (params: {
|
|
1454
|
-
|
|
1455
|
-
lease?: string | Uint8Array | undefined;
|
|
1454
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1456
1455
|
rekeyTo?: ReadableAddress | undefined;
|
|
1457
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1458
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1459
1456
|
note?: string | Uint8Array | undefined;
|
|
1457
|
+
lease?: string | Uint8Array | undefined;
|
|
1460
1458
|
staticFee?: AlgoAmount | undefined;
|
|
1461
1459
|
extraFee?: AlgoAmount | undefined;
|
|
1460
|
+
maxFee?: AlgoAmount | undefined;
|
|
1462
1461
|
validityWindow?: number | bigint | undefined;
|
|
1463
1462
|
firstValidRound?: bigint | undefined;
|
|
1464
1463
|
lastValidRound?: bigint | undefined;
|
|
1464
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1465
1465
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1466
1466
|
appReferences?: bigint[] | undefined;
|
|
1467
1467
|
assetReferences?: bigint[] | undefined;
|
|
1468
|
-
boxReferences?: (
|
|
1468
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1469
1469
|
accessReferences?: ResourceReference[] | undefined;
|
|
1470
1470
|
rejectVersion?: number | undefined;
|
|
1471
1471
|
sender?: ReadableAddress | undefined;
|
|
@@ -1489,21 +1489,21 @@ declare class AppClient {
|
|
|
1489
1489
|
* @returns The result of sending the opt-in ABI method call
|
|
1490
1490
|
*/
|
|
1491
1491
|
optIn: (params: {
|
|
1492
|
-
|
|
1493
|
-
lease?: string | Uint8Array | undefined;
|
|
1492
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1494
1493
|
rekeyTo?: ReadableAddress | undefined;
|
|
1495
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1496
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1497
1494
|
note?: string | Uint8Array | undefined;
|
|
1495
|
+
lease?: string | Uint8Array | undefined;
|
|
1498
1496
|
staticFee?: AlgoAmount | undefined;
|
|
1499
1497
|
extraFee?: AlgoAmount | undefined;
|
|
1498
|
+
maxFee?: AlgoAmount | undefined;
|
|
1500
1499
|
validityWindow?: number | bigint | undefined;
|
|
1501
1500
|
firstValidRound?: bigint | undefined;
|
|
1502
1501
|
lastValidRound?: bigint | undefined;
|
|
1502
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1503
1503
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1504
1504
|
appReferences?: bigint[] | undefined;
|
|
1505
1505
|
assetReferences?: bigint[] | undefined;
|
|
1506
|
-
boxReferences?: (
|
|
1506
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1507
1507
|
accessReferences?: ResourceReference[] | undefined;
|
|
1508
1508
|
rejectVersion?: number | undefined;
|
|
1509
1509
|
sender?: ReadableAddress | undefined;
|
|
@@ -1525,21 +1525,21 @@ declare class AppClient {
|
|
|
1525
1525
|
* @returns The result of sending the delete ABI method call
|
|
1526
1526
|
*/
|
|
1527
1527
|
delete: (params: {
|
|
1528
|
-
|
|
1529
|
-
lease?: string | Uint8Array | undefined;
|
|
1528
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1530
1529
|
rekeyTo?: ReadableAddress | undefined;
|
|
1531
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1532
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1533
1530
|
note?: string | Uint8Array | undefined;
|
|
1531
|
+
lease?: string | Uint8Array | undefined;
|
|
1534
1532
|
staticFee?: AlgoAmount | undefined;
|
|
1535
1533
|
extraFee?: AlgoAmount | undefined;
|
|
1534
|
+
maxFee?: AlgoAmount | undefined;
|
|
1536
1535
|
validityWindow?: number | bigint | undefined;
|
|
1537
1536
|
firstValidRound?: bigint | undefined;
|
|
1538
1537
|
lastValidRound?: bigint | undefined;
|
|
1538
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1539
1539
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1540
1540
|
appReferences?: bigint[] | undefined;
|
|
1541
1541
|
assetReferences?: bigint[] | undefined;
|
|
1542
|
-
boxReferences?: (
|
|
1542
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1543
1543
|
accessReferences?: ResourceReference[] | undefined;
|
|
1544
1544
|
rejectVersion?: number | undefined;
|
|
1545
1545
|
sender?: ReadableAddress | undefined;
|
|
@@ -1561,21 +1561,21 @@ declare class AppClient {
|
|
|
1561
1561
|
* @returns The result of sending the close out ABI method call
|
|
1562
1562
|
*/
|
|
1563
1563
|
closeOut: (params: {
|
|
1564
|
-
|
|
1565
|
-
lease?: string | Uint8Array | undefined;
|
|
1564
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1566
1565
|
rekeyTo?: ReadableAddress | undefined;
|
|
1567
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1568
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1569
1566
|
note?: string | Uint8Array | undefined;
|
|
1567
|
+
lease?: string | Uint8Array | undefined;
|
|
1570
1568
|
staticFee?: AlgoAmount | undefined;
|
|
1571
1569
|
extraFee?: AlgoAmount | undefined;
|
|
1570
|
+
maxFee?: AlgoAmount | undefined;
|
|
1572
1571
|
validityWindow?: number | bigint | undefined;
|
|
1573
1572
|
firstValidRound?: bigint | undefined;
|
|
1574
1573
|
lastValidRound?: bigint | undefined;
|
|
1574
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1575
1575
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1576
1576
|
appReferences?: bigint[] | undefined;
|
|
1577
1577
|
assetReferences?: bigint[] | undefined;
|
|
1578
|
-
boxReferences?: (
|
|
1578
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1579
1579
|
accessReferences?: ResourceReference[] | undefined;
|
|
1580
1580
|
rejectVersion?: number | undefined;
|
|
1581
1581
|
sender?: ReadableAddress | undefined;
|
|
@@ -1597,21 +1597,21 @@ declare class AppClient {
|
|
|
1597
1597
|
* @returns The result of sending the ABI method call
|
|
1598
1598
|
*/
|
|
1599
1599
|
call: (params: {
|
|
1600
|
-
|
|
1601
|
-
lease?: string | Uint8Array | undefined;
|
|
1600
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1602
1601
|
rekeyTo?: ReadableAddress | undefined;
|
|
1603
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
1604
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1605
1602
|
note?: string | Uint8Array | undefined;
|
|
1603
|
+
lease?: string | Uint8Array | undefined;
|
|
1606
1604
|
staticFee?: AlgoAmount | undefined;
|
|
1607
1605
|
extraFee?: AlgoAmount | undefined;
|
|
1606
|
+
maxFee?: AlgoAmount | undefined;
|
|
1608
1607
|
validityWindow?: number | bigint | undefined;
|
|
1609
1608
|
firstValidRound?: bigint | undefined;
|
|
1610
1609
|
lastValidRound?: bigint | undefined;
|
|
1610
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
1611
1611
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1612
1612
|
appReferences?: bigint[] | undefined;
|
|
1613
1613
|
assetReferences?: bigint[] | undefined;
|
|
1614
|
-
boxReferences?: (
|
|
1614
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1615
1615
|
accessReferences?: ResourceReference[] | undefined;
|
|
1616
1616
|
rejectVersion?: number | undefined;
|
|
1617
1617
|
sender?: ReadableAddress | undefined;
|
|
@@ -1631,13 +1631,13 @@ 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
|
-
|
|
1635
|
-
lease?: string | Uint8Array | undefined;
|
|
1634
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1636
1635
|
rekeyTo?: ReadableAddress | undefined;
|
|
1637
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1638
1636
|
note?: string | Uint8Array | undefined;
|
|
1637
|
+
lease?: string | Uint8Array | undefined;
|
|
1639
1638
|
staticFee?: AlgoAmount | undefined;
|
|
1640
1639
|
extraFee?: AlgoAmount | undefined;
|
|
1640
|
+
maxFee?: AlgoAmount | undefined;
|
|
1641
1641
|
validityWindow?: number | bigint | undefined;
|
|
1642
1642
|
firstValidRound?: bigint | undefined;
|
|
1643
1643
|
lastValidRound?: bigint | undefined;
|
|
@@ -1645,7 +1645,7 @@ declare class AppClient {
|
|
|
1645
1645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1646
1646
|
appReferences?: bigint[] | undefined;
|
|
1647
1647
|
assetReferences?: bigint[] | undefined;
|
|
1648
|
-
boxReferences?: (
|
|
1648
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1649
1649
|
accessReferences?: ResourceReference[] | undefined;
|
|
1650
1650
|
rejectVersion?: number | undefined;
|
|
1651
1651
|
sender?: ReadableAddress | undefined;
|
|
@@ -1663,13 +1663,13 @@ declare class AppClient {
|
|
|
1663
1663
|
}>;
|
|
1664
1664
|
/** Signs and sends an opt-in call */
|
|
1665
1665
|
optIn: (params?: ({
|
|
1666
|
-
|
|
1667
|
-
lease?: string | Uint8Array | undefined;
|
|
1666
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1668
1667
|
rekeyTo?: ReadableAddress | undefined;
|
|
1669
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1670
1668
|
note?: string | Uint8Array | undefined;
|
|
1669
|
+
lease?: string | Uint8Array | undefined;
|
|
1671
1670
|
staticFee?: AlgoAmount | undefined;
|
|
1672
1671
|
extraFee?: AlgoAmount | undefined;
|
|
1672
|
+
maxFee?: AlgoAmount | undefined;
|
|
1673
1673
|
validityWindow?: number | bigint | undefined;
|
|
1674
1674
|
firstValidRound?: bigint | undefined;
|
|
1675
1675
|
lastValidRound?: bigint | undefined;
|
|
@@ -1677,7 +1677,7 @@ declare class AppClient {
|
|
|
1677
1677
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1678
1678
|
appReferences?: bigint[] | undefined;
|
|
1679
1679
|
assetReferences?: bigint[] | undefined;
|
|
1680
|
-
boxReferences?: (
|
|
1680
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1681
1681
|
accessReferences?: ResourceReference[] | undefined;
|
|
1682
1682
|
rejectVersion?: number | undefined;
|
|
1683
1683
|
sender?: ReadableAddress | undefined;
|
|
@@ -1693,13 +1693,13 @@ declare class AppClient {
|
|
|
1693
1693
|
}>;
|
|
1694
1694
|
/** Signs and sends a delete call */
|
|
1695
1695
|
delete: (params?: ({
|
|
1696
|
-
|
|
1697
|
-
lease?: string | Uint8Array | undefined;
|
|
1696
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1698
1697
|
rekeyTo?: ReadableAddress | undefined;
|
|
1699
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1700
1698
|
note?: string | Uint8Array | undefined;
|
|
1699
|
+
lease?: string | Uint8Array | undefined;
|
|
1701
1700
|
staticFee?: AlgoAmount | undefined;
|
|
1702
1701
|
extraFee?: AlgoAmount | undefined;
|
|
1702
|
+
maxFee?: AlgoAmount | undefined;
|
|
1703
1703
|
validityWindow?: number | bigint | undefined;
|
|
1704
1704
|
firstValidRound?: bigint | undefined;
|
|
1705
1705
|
lastValidRound?: bigint | undefined;
|
|
@@ -1707,7 +1707,7 @@ declare class AppClient {
|
|
|
1707
1707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1708
1708
|
appReferences?: bigint[] | undefined;
|
|
1709
1709
|
assetReferences?: bigint[] | undefined;
|
|
1710
|
-
boxReferences?: (
|
|
1710
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1711
1711
|
accessReferences?: ResourceReference[] | undefined;
|
|
1712
1712
|
rejectVersion?: number | undefined;
|
|
1713
1713
|
sender?: ReadableAddress | undefined;
|
|
@@ -1723,13 +1723,13 @@ declare class AppClient {
|
|
|
1723
1723
|
}>;
|
|
1724
1724
|
/** Signs and sends a clear state call */
|
|
1725
1725
|
clearState: (params?: ({
|
|
1726
|
-
|
|
1727
|
-
lease?: string | Uint8Array | undefined;
|
|
1726
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1728
1727
|
rekeyTo?: ReadableAddress | undefined;
|
|
1729
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1730
1728
|
note?: string | Uint8Array | undefined;
|
|
1729
|
+
lease?: string | Uint8Array | undefined;
|
|
1731
1730
|
staticFee?: AlgoAmount | undefined;
|
|
1732
1731
|
extraFee?: AlgoAmount | undefined;
|
|
1732
|
+
maxFee?: AlgoAmount | undefined;
|
|
1733
1733
|
validityWindow?: number | bigint | undefined;
|
|
1734
1734
|
firstValidRound?: bigint | undefined;
|
|
1735
1735
|
lastValidRound?: bigint | undefined;
|
|
@@ -1737,7 +1737,7 @@ declare class AppClient {
|
|
|
1737
1737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1738
1738
|
appReferences?: bigint[] | undefined;
|
|
1739
1739
|
assetReferences?: bigint[] | undefined;
|
|
1740
|
-
boxReferences?: (
|
|
1740
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1741
1741
|
accessReferences?: ResourceReference[] | undefined;
|
|
1742
1742
|
rejectVersion?: number | undefined;
|
|
1743
1743
|
sender?: ReadableAddress | undefined;
|
|
@@ -1753,13 +1753,13 @@ declare class AppClient {
|
|
|
1753
1753
|
}>;
|
|
1754
1754
|
/** Signs and sends a close out call */
|
|
1755
1755
|
closeOut: (params?: ({
|
|
1756
|
-
|
|
1757
|
-
lease?: string | Uint8Array | undefined;
|
|
1756
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1758
1757
|
rekeyTo?: ReadableAddress | undefined;
|
|
1759
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1760
1758
|
note?: string | Uint8Array | undefined;
|
|
1759
|
+
lease?: string | Uint8Array | undefined;
|
|
1761
1760
|
staticFee?: AlgoAmount | undefined;
|
|
1762
1761
|
extraFee?: AlgoAmount | undefined;
|
|
1762
|
+
maxFee?: AlgoAmount | undefined;
|
|
1763
1763
|
validityWindow?: number | bigint | undefined;
|
|
1764
1764
|
firstValidRound?: bigint | undefined;
|
|
1765
1765
|
lastValidRound?: bigint | undefined;
|
|
@@ -1767,7 +1767,7 @@ declare class AppClient {
|
|
|
1767
1767
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1768
1768
|
appReferences?: bigint[] | undefined;
|
|
1769
1769
|
assetReferences?: bigint[] | undefined;
|
|
1770
|
-
boxReferences?: (
|
|
1770
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1771
1771
|
accessReferences?: ResourceReference[] | undefined;
|
|
1772
1772
|
rejectVersion?: number | undefined;
|
|
1773
1773
|
sender?: ReadableAddress | undefined;
|
|
@@ -1783,13 +1783,13 @@ declare class AppClient {
|
|
|
1783
1783
|
}>;
|
|
1784
1784
|
/** Signs and sends a call (defaults to no-op) */
|
|
1785
1785
|
call: (params?: ({
|
|
1786
|
-
|
|
1787
|
-
lease?: string | Uint8Array | undefined;
|
|
1786
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1788
1787
|
rekeyTo?: ReadableAddress | undefined;
|
|
1789
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1790
1788
|
note?: string | Uint8Array | undefined;
|
|
1789
|
+
lease?: string | Uint8Array | undefined;
|
|
1791
1790
|
staticFee?: AlgoAmount | undefined;
|
|
1792
1791
|
extraFee?: AlgoAmount | undefined;
|
|
1792
|
+
maxFee?: AlgoAmount | undefined;
|
|
1793
1793
|
validityWindow?: number | bigint | undefined;
|
|
1794
1794
|
firstValidRound?: bigint | undefined;
|
|
1795
1795
|
lastValidRound?: bigint | undefined;
|
|
@@ -1797,7 +1797,7 @@ declare class AppClient {
|
|
|
1797
1797
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1798
1798
|
appReferences?: bigint[] | undefined;
|
|
1799
1799
|
assetReferences?: bigint[] | undefined;
|
|
1800
|
-
boxReferences?: (
|
|
1800
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1801
1801
|
accessReferences?: ResourceReference[] | undefined;
|
|
1802
1802
|
rejectVersion?: number | undefined;
|
|
1803
1803
|
sender?: ReadableAddress | undefined;
|