@algorandfoundation/algokit-utils 10.0.0-alpha.23 → 10.0.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/packages/algod_client/src/models/eval-delta-key-value.js +2 -2
- package/packages/algod_client/src/models/eval-delta-key-value.js.map +1 -1
- package/packages/algod_client/src/models/eval-delta-key-value.mjs +2 -2
- package/packages/algod_client/src/models/eval-delta-key-value.mjs.map +1 -1
- package/packages/algod_client/src/models/eval-delta.js +2 -2
- package/packages/algod_client/src/models/eval-delta.js.map +1 -1
- package/packages/algod_client/src/models/eval-delta.mjs +2 -2
- package/packages/algod_client/src/models/eval-delta.mjs.map +1 -1
- package/packages/common/src/codecs/primitives/bytes-base64.js +26 -0
- package/packages/common/src/codecs/primitives/bytes-base64.js.map +1 -0
- package/packages/common/src/codecs/primitives/bytes-base64.mjs +25 -0
- package/packages/common/src/codecs/primitives/bytes-base64.mjs.map +1 -0
- package/types/algorand-client-transaction-creator.d.ts +71 -71
- package/types/algorand-client-transaction-sender.d.ts +71 -71
- package/types/app-client.d.ts +120 -120
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs.map +1 -1
- package/types/app-factory.d.ts +69 -69
package/types/app-client.d.ts
CHANGED
|
@@ -386,8 +386,8 @@ declare class AppClient {
|
|
|
386
386
|
* @returns The parameters which can be used to create a fund app account payment transaction
|
|
387
387
|
*/
|
|
388
388
|
fundAppAccount: (params: {
|
|
389
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
389
|
amount: AlgoAmount;
|
|
390
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
391
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
392
392
|
note?: string | Uint8Array | undefined;
|
|
393
393
|
lease?: string | Uint8Array | undefined;
|
|
@@ -405,7 +405,7 @@ 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
410
|
amount: AlgoAmount;
|
|
411
411
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -429,7 +429,7 @@ 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?:
|
|
432
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
433
433
|
rekeyTo?: ReadableAddress | undefined;
|
|
434
434
|
note?: string | Uint8Array | undefined;
|
|
435
435
|
lease?: string | Uint8Array | undefined;
|
|
@@ -456,7 +456,7 @@ declare class AppClient {
|
|
|
456
456
|
clearStateProgram: Uint8Array;
|
|
457
457
|
compiledApproval?: CompiledTeal | undefined;
|
|
458
458
|
compiledClear?: CompiledTeal | undefined;
|
|
459
|
-
signer?:
|
|
459
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
460
460
|
rekeyTo?: ReadableAddress | undefined;
|
|
461
461
|
note?: string | Uint8Array | undefined;
|
|
462
462
|
lease?: string | Uint8Array | undefined;
|
|
@@ -485,12 +485,12 @@ 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: (
|
|
491
|
+
args: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
|
|
492
492
|
sender: SendingAddress;
|
|
493
|
-
signer?:
|
|
493
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
494
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
495
495
|
note?: string | Uint8Array | undefined;
|
|
496
496
|
lease?: string | Uint8Array | undefined;
|
|
@@ -500,8 +500,7 @@ declare class AppClient {
|
|
|
500
500
|
validityWindow?: number | bigint | undefined;
|
|
501
501
|
firstValidRound?: bigint | undefined;
|
|
502
502
|
lastValidRound?: bigint | undefined;
|
|
503
|
-
|
|
504
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
503
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
505
504
|
args?: Uint8Array[] | undefined;
|
|
506
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
507
506
|
appReferences?: bigint[] | undefined;
|
|
@@ -509,11 +508,19 @@ declare class AppClient {
|
|
|
509
508
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
510
509
|
accessReferences?: ResourceReference[] | undefined;
|
|
511
510
|
rejectVersion?: number | undefined;
|
|
511
|
+
appId?: 0 | undefined;
|
|
512
512
|
approvalProgram: string | Uint8Array;
|
|
513
513
|
clearStateProgram: string | Uint8Array;
|
|
514
|
+
schema?: {
|
|
515
|
+
globalInts: number;
|
|
516
|
+
globalByteSlices: number;
|
|
517
|
+
localInts: number;
|
|
518
|
+
localByteSlices: number;
|
|
519
|
+
} | undefined;
|
|
520
|
+
extraProgramPages?: number | undefined;
|
|
514
521
|
}> | AppMethodCall<{
|
|
515
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
516
522
|
sender: SendingAddress;
|
|
523
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
517
524
|
rekeyTo?: ReadableAddress | undefined;
|
|
518
525
|
note?: string | Uint8Array | undefined;
|
|
519
526
|
lease?: string | Uint8Array | undefined;
|
|
@@ -523,25 +530,18 @@ declare class AppClient {
|
|
|
523
530
|
validityWindow?: number | bigint | undefined;
|
|
524
531
|
firstValidRound?: bigint | undefined;
|
|
525
532
|
lastValidRound?: bigint | undefined;
|
|
533
|
+
appId: bigint;
|
|
534
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
526
535
|
args?: Uint8Array[] | undefined;
|
|
527
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
528
536
|
accountReferences?: ReadableAddress[] | undefined;
|
|
529
537
|
appReferences?: bigint[] | undefined;
|
|
530
538
|
assetReferences?: bigint[] | undefined;
|
|
531
539
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
532
540
|
accessReferences?: ResourceReference[] | undefined;
|
|
533
541
|
rejectVersion?: number | undefined;
|
|
534
|
-
appId?: 0 | undefined;
|
|
535
542
|
approvalProgram: string | Uint8Array;
|
|
536
543
|
clearStateProgram: string | Uint8Array;
|
|
537
|
-
|
|
538
|
-
globalInts: number;
|
|
539
|
-
globalByteSlices: number;
|
|
540
|
-
localInts: number;
|
|
541
|
-
localByteSlices: number;
|
|
542
|
-
} | undefined;
|
|
543
|
-
extraProgramPages?: number | undefined;
|
|
544
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
544
|
+
}> | Promise<Transaction> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -549,7 +549,7 @@ 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
|
-
signer?:
|
|
552
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
553
553
|
rekeyTo?: ReadableAddress | undefined;
|
|
554
554
|
note?: string | Uint8Array | undefined;
|
|
555
555
|
lease?: string | Uint8Array | undefined;
|
|
@@ -570,8 +570,8 @@ declare class AppClient {
|
|
|
570
570
|
method: string;
|
|
571
571
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
572
572
|
}) => Promise<{
|
|
573
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
574
573
|
sender: SendingAddress;
|
|
574
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
575
575
|
rekeyTo?: ReadableAddress | undefined;
|
|
576
576
|
note?: string | Uint8Array | undefined;
|
|
577
577
|
lease?: string | Uint8Array | undefined;
|
|
@@ -590,9 +590,9 @@ declare class AppClient {
|
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (
|
|
593
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
|
|
594
594
|
sender: SendingAddress;
|
|
595
|
-
signer?:
|
|
595
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
596
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
597
597
|
note?: string | Uint8Array | undefined;
|
|
598
598
|
lease?: string | Uint8Array | undefined;
|
|
@@ -602,8 +602,7 @@ declare class AppClient {
|
|
|
602
602
|
validityWindow?: number | bigint | undefined;
|
|
603
603
|
firstValidRound?: bigint | undefined;
|
|
604
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
606
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
605
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
607
606
|
args?: Uint8Array[] | undefined;
|
|
608
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
609
608
|
appReferences?: bigint[] | undefined;
|
|
@@ -611,11 +610,19 @@ declare class AppClient {
|
|
|
611
610
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
612
611
|
accessReferences?: ResourceReference[] | undefined;
|
|
613
612
|
rejectVersion?: number | undefined;
|
|
613
|
+
appId?: 0 | undefined;
|
|
614
614
|
approvalProgram: string | Uint8Array;
|
|
615
615
|
clearStateProgram: string | Uint8Array;
|
|
616
|
+
schema?: {
|
|
617
|
+
globalInts: number;
|
|
618
|
+
globalByteSlices: number;
|
|
619
|
+
localInts: number;
|
|
620
|
+
localByteSlices: number;
|
|
621
|
+
} | undefined;
|
|
622
|
+
extraProgramPages?: number | undefined;
|
|
616
623
|
}> | AppMethodCall<{
|
|
617
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
618
624
|
sender: SendingAddress;
|
|
625
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
619
626
|
rekeyTo?: ReadableAddress | undefined;
|
|
620
627
|
note?: string | Uint8Array | undefined;
|
|
621
628
|
lease?: string | Uint8Array | undefined;
|
|
@@ -625,25 +632,18 @@ declare class AppClient {
|
|
|
625
632
|
validityWindow?: number | bigint | undefined;
|
|
626
633
|
firstValidRound?: bigint | undefined;
|
|
627
634
|
lastValidRound?: bigint | undefined;
|
|
635
|
+
appId: bigint;
|
|
636
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
628
637
|
args?: Uint8Array[] | undefined;
|
|
629
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
630
638
|
accountReferences?: ReadableAddress[] | undefined;
|
|
631
639
|
appReferences?: bigint[] | undefined;
|
|
632
640
|
assetReferences?: bigint[] | undefined;
|
|
633
641
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
634
642
|
accessReferences?: ResourceReference[] | undefined;
|
|
635
643
|
rejectVersion?: number | undefined;
|
|
636
|
-
appId?: 0 | undefined;
|
|
637
644
|
approvalProgram: string | Uint8Array;
|
|
638
645
|
clearStateProgram: string | Uint8Array;
|
|
639
|
-
|
|
640
|
-
globalInts: number;
|
|
641
|
-
globalByteSlices: number;
|
|
642
|
-
localInts: number;
|
|
643
|
-
localByteSlices: number;
|
|
644
|
-
} | undefined;
|
|
645
|
-
extraProgramPages?: number | undefined;
|
|
646
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
646
|
+
}> | Promise<Transaction> | undefined)[] | undefined;
|
|
647
647
|
}>;
|
|
648
648
|
/**
|
|
649
649
|
* Return params for an delete ABI call
|
|
@@ -651,7 +651,7 @@ 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
|
-
signer?:
|
|
654
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
655
655
|
rekeyTo?: ReadableAddress | undefined;
|
|
656
656
|
note?: string | Uint8Array | undefined;
|
|
657
657
|
lease?: string | Uint8Array | undefined;
|
|
@@ -672,8 +672,8 @@ declare class AppClient {
|
|
|
672
672
|
method: string;
|
|
673
673
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
674
674
|
}) => Promise<{
|
|
675
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
676
675
|
sender: SendingAddress;
|
|
676
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
677
677
|
rekeyTo?: ReadableAddress | undefined;
|
|
678
678
|
note?: string | Uint8Array | undefined;
|
|
679
679
|
lease?: string | Uint8Array | undefined;
|
|
@@ -692,9 +692,9 @@ declare class AppClient {
|
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (
|
|
695
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
|
|
696
696
|
sender: SendingAddress;
|
|
697
|
-
signer?:
|
|
697
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
698
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
699
699
|
note?: string | Uint8Array | undefined;
|
|
700
700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -704,8 +704,7 @@ declare class AppClient {
|
|
|
704
704
|
validityWindow?: number | bigint | undefined;
|
|
705
705
|
firstValidRound?: bigint | undefined;
|
|
706
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
-
|
|
708
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
707
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
709
708
|
args?: Uint8Array[] | undefined;
|
|
710
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
711
710
|
appReferences?: bigint[] | undefined;
|
|
@@ -713,11 +712,19 @@ declare class AppClient {
|
|
|
713
712
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
714
713
|
accessReferences?: ResourceReference[] | undefined;
|
|
715
714
|
rejectVersion?: number | undefined;
|
|
715
|
+
appId?: 0 | undefined;
|
|
716
716
|
approvalProgram: string | Uint8Array;
|
|
717
717
|
clearStateProgram: string | Uint8Array;
|
|
718
|
+
schema?: {
|
|
719
|
+
globalInts: number;
|
|
720
|
+
globalByteSlices: number;
|
|
721
|
+
localInts: number;
|
|
722
|
+
localByteSlices: number;
|
|
723
|
+
} | undefined;
|
|
724
|
+
extraProgramPages?: number | undefined;
|
|
718
725
|
}> | AppMethodCall<{
|
|
719
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
720
726
|
sender: SendingAddress;
|
|
727
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
721
728
|
rekeyTo?: ReadableAddress | undefined;
|
|
722
729
|
note?: string | Uint8Array | undefined;
|
|
723
730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -727,32 +734,25 @@ declare class AppClient {
|
|
|
727
734
|
validityWindow?: number | bigint | undefined;
|
|
728
735
|
firstValidRound?: bigint | undefined;
|
|
729
736
|
lastValidRound?: bigint | undefined;
|
|
737
|
+
appId: bigint;
|
|
738
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
730
739
|
args?: Uint8Array[] | undefined;
|
|
731
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
732
740
|
accountReferences?: ReadableAddress[] | undefined;
|
|
733
741
|
appReferences?: bigint[] | undefined;
|
|
734
742
|
assetReferences?: bigint[] | undefined;
|
|
735
743
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
736
744
|
accessReferences?: ResourceReference[] | undefined;
|
|
737
745
|
rejectVersion?: number | undefined;
|
|
738
|
-
appId?: 0 | undefined;
|
|
739
746
|
approvalProgram: string | Uint8Array;
|
|
740
747
|
clearStateProgram: string | Uint8Array;
|
|
741
|
-
|
|
742
|
-
globalInts: number;
|
|
743
|
-
globalByteSlices: number;
|
|
744
|
-
localInts: number;
|
|
745
|
-
localByteSlices: number;
|
|
746
|
-
} | undefined;
|
|
747
|
-
extraProgramPages?: number | undefined;
|
|
748
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
748
|
+
}> | Promise<Transaction> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
752
752
|
* @returns The parameters which can be used to create a close out ABI method call
|
|
753
753
|
*/
|
|
754
754
|
closeOut: (params: {
|
|
755
|
-
signer?:
|
|
755
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
756
756
|
rekeyTo?: ReadableAddress | undefined;
|
|
757
757
|
note?: string | Uint8Array | undefined;
|
|
758
758
|
lease?: string | Uint8Array | undefined;
|
|
@@ -773,8 +773,8 @@ declare class AppClient {
|
|
|
773
773
|
method: string;
|
|
774
774
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
775
775
|
}) => Promise<{
|
|
776
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
777
776
|
sender: SendingAddress;
|
|
777
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
778
778
|
rekeyTo?: ReadableAddress | undefined;
|
|
779
779
|
note?: string | Uint8Array | undefined;
|
|
780
780
|
lease?: string | Uint8Array | undefined;
|
|
@@ -793,9 +793,9 @@ declare class AppClient {
|
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (
|
|
796
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
|
|
797
797
|
sender: SendingAddress;
|
|
798
|
-
signer?:
|
|
798
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
799
799
|
rekeyTo?: ReadableAddress | undefined;
|
|
800
800
|
note?: string | Uint8Array | undefined;
|
|
801
801
|
lease?: string | Uint8Array | undefined;
|
|
@@ -805,8 +805,7 @@ declare class AppClient {
|
|
|
805
805
|
validityWindow?: number | bigint | undefined;
|
|
806
806
|
firstValidRound?: bigint | undefined;
|
|
807
807
|
lastValidRound?: bigint | undefined;
|
|
808
|
-
|
|
809
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
808
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
810
809
|
args?: Uint8Array[] | undefined;
|
|
811
810
|
accountReferences?: ReadableAddress[] | undefined;
|
|
812
811
|
appReferences?: bigint[] | undefined;
|
|
@@ -814,11 +813,19 @@ declare class AppClient {
|
|
|
814
813
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
815
814
|
accessReferences?: ResourceReference[] | undefined;
|
|
816
815
|
rejectVersion?: number | undefined;
|
|
816
|
+
appId?: 0 | undefined;
|
|
817
817
|
approvalProgram: string | Uint8Array;
|
|
818
818
|
clearStateProgram: string | Uint8Array;
|
|
819
|
+
schema?: {
|
|
820
|
+
globalInts: number;
|
|
821
|
+
globalByteSlices: number;
|
|
822
|
+
localInts: number;
|
|
823
|
+
localByteSlices: number;
|
|
824
|
+
} | undefined;
|
|
825
|
+
extraProgramPages?: number | undefined;
|
|
819
826
|
}> | AppMethodCall<{
|
|
820
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
821
827
|
sender: SendingAddress;
|
|
828
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
822
829
|
rekeyTo?: ReadableAddress | undefined;
|
|
823
830
|
note?: string | Uint8Array | undefined;
|
|
824
831
|
lease?: string | Uint8Array | undefined;
|
|
@@ -828,32 +835,25 @@ declare class AppClient {
|
|
|
828
835
|
validityWindow?: number | bigint | undefined;
|
|
829
836
|
firstValidRound?: bigint | undefined;
|
|
830
837
|
lastValidRound?: bigint | undefined;
|
|
838
|
+
appId: bigint;
|
|
839
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
831
840
|
args?: Uint8Array[] | undefined;
|
|
832
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
833
841
|
accountReferences?: ReadableAddress[] | undefined;
|
|
834
842
|
appReferences?: bigint[] | undefined;
|
|
835
843
|
assetReferences?: bigint[] | undefined;
|
|
836
844
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
837
845
|
accessReferences?: ResourceReference[] | undefined;
|
|
838
846
|
rejectVersion?: number | undefined;
|
|
839
|
-
appId?: 0 | undefined;
|
|
840
847
|
approvalProgram: string | Uint8Array;
|
|
841
848
|
clearStateProgram: string | Uint8Array;
|
|
842
|
-
|
|
843
|
-
globalInts: number;
|
|
844
|
-
globalByteSlices: number;
|
|
845
|
-
localInts: number;
|
|
846
|
-
localByteSlices: number;
|
|
847
|
-
} | undefined;
|
|
848
|
-
extraProgramPages?: number | undefined;
|
|
849
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
849
|
+
}> | Promise<Transaction> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
853
853
|
* @returns The parameters which can be used to create an ABI method call
|
|
854
854
|
*/
|
|
855
855
|
call: (params: {
|
|
856
|
-
signer?:
|
|
856
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
857
857
|
rekeyTo?: ReadableAddress | undefined;
|
|
858
858
|
note?: string | Uint8Array | undefined;
|
|
859
859
|
lease?: string | Uint8Array | undefined;
|
|
@@ -874,8 +874,8 @@ declare class AppClient {
|
|
|
874
874
|
method: string;
|
|
875
875
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
876
876
|
} & CallOnComplete) => Promise<{
|
|
877
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
878
877
|
sender: SendingAddress;
|
|
878
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
879
879
|
rekeyTo?: ReadableAddress | undefined;
|
|
880
880
|
note?: string | Uint8Array | undefined;
|
|
881
881
|
lease?: string | Uint8Array | undefined;
|
|
@@ -894,9 +894,9 @@ declare class AppClient {
|
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (
|
|
897
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
|
|
898
898
|
sender: SendingAddress;
|
|
899
|
-
signer?:
|
|
899
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
900
900
|
rekeyTo?: ReadableAddress | undefined;
|
|
901
901
|
note?: string | Uint8Array | undefined;
|
|
902
902
|
lease?: string | Uint8Array | undefined;
|
|
@@ -906,8 +906,7 @@ declare class AppClient {
|
|
|
906
906
|
validityWindow?: number | bigint | undefined;
|
|
907
907
|
firstValidRound?: bigint | undefined;
|
|
908
908
|
lastValidRound?: bigint | undefined;
|
|
909
|
-
|
|
910
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
909
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
911
910
|
args?: Uint8Array[] | undefined;
|
|
912
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
913
912
|
appReferences?: bigint[] | undefined;
|
|
@@ -915,11 +914,19 @@ declare class AppClient {
|
|
|
915
914
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
916
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
917
916
|
rejectVersion?: number | undefined;
|
|
917
|
+
appId?: 0 | undefined;
|
|
918
918
|
approvalProgram: string | Uint8Array;
|
|
919
919
|
clearStateProgram: string | Uint8Array;
|
|
920
|
+
schema?: {
|
|
921
|
+
globalInts: number;
|
|
922
|
+
globalByteSlices: number;
|
|
923
|
+
localInts: number;
|
|
924
|
+
localByteSlices: number;
|
|
925
|
+
} | undefined;
|
|
926
|
+
extraProgramPages?: number | undefined;
|
|
920
927
|
}> | AppMethodCall<{
|
|
921
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
922
928
|
sender: SendingAddress;
|
|
929
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
923
930
|
rekeyTo?: ReadableAddress | undefined;
|
|
924
931
|
note?: string | Uint8Array | undefined;
|
|
925
932
|
lease?: string | Uint8Array | undefined;
|
|
@@ -929,31 +936,24 @@ declare class AppClient {
|
|
|
929
936
|
validityWindow?: number | bigint | undefined;
|
|
930
937
|
firstValidRound?: bigint | undefined;
|
|
931
938
|
lastValidRound?: bigint | undefined;
|
|
939
|
+
appId: bigint;
|
|
940
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
932
941
|
args?: Uint8Array[] | undefined;
|
|
933
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
934
942
|
accountReferences?: ReadableAddress[] | undefined;
|
|
935
943
|
appReferences?: bigint[] | undefined;
|
|
936
944
|
assetReferences?: bigint[] | undefined;
|
|
937
945
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
938
946
|
accessReferences?: ResourceReference[] | undefined;
|
|
939
947
|
rejectVersion?: number | undefined;
|
|
940
|
-
appId?: 0 | undefined;
|
|
941
948
|
approvalProgram: string | Uint8Array;
|
|
942
949
|
clearStateProgram: string | Uint8Array;
|
|
943
|
-
|
|
944
|
-
globalInts: number;
|
|
945
|
-
globalByteSlices: number;
|
|
946
|
-
localInts: number;
|
|
947
|
-
localByteSlices: number;
|
|
948
|
-
} | undefined;
|
|
949
|
-
extraProgramPages?: number | undefined;
|
|
950
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
950
|
+
}> | Promise<Transaction> | undefined)[] | undefined;
|
|
951
951
|
}>;
|
|
952
952
|
} & {
|
|
953
953
|
/** Interact with bare (raw) call parameters */bare: {
|
|
954
954
|
/** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
955
955
|
update: (params?: ({
|
|
956
|
-
signer?:
|
|
956
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
957
957
|
rekeyTo?: ReadableAddress | undefined;
|
|
958
958
|
note?: string | Uint8Array | undefined;
|
|
959
959
|
lease?: string | Uint8Array | undefined;
|
|
@@ -973,7 +973,7 @@ declare class AppClient {
|
|
|
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;
|
|
@@ -997,7 +997,7 @@ declare class AppClient {
|
|
|
997
997
|
}>;
|
|
998
998
|
/** Return params for an opt-in call */
|
|
999
999
|
optIn: (params?: {
|
|
1000
|
-
signer?:
|
|
1000
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1001
1001
|
rekeyTo?: ReadableAddress | undefined;
|
|
1002
1002
|
note?: string | Uint8Array | undefined;
|
|
1003
1003
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1018,7 +1018,7 @@ declare class AppClient {
|
|
|
1018
1018
|
} | undefined) => AppCallParams;
|
|
1019
1019
|
/** Return params for a delete call */
|
|
1020
1020
|
delete: (params?: {
|
|
1021
|
-
signer?:
|
|
1021
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1022
1022
|
rekeyTo?: ReadableAddress | undefined;
|
|
1023
1023
|
note?: string | Uint8Array | undefined;
|
|
1024
1024
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1039,7 +1039,7 @@ declare class AppClient {
|
|
|
1039
1039
|
} | undefined) => AppDeleteParams;
|
|
1040
1040
|
/** Return params for a clear state call */
|
|
1041
1041
|
clearState: (params?: {
|
|
1042
|
-
signer?:
|
|
1042
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1043
1043
|
rekeyTo?: ReadableAddress | undefined;
|
|
1044
1044
|
note?: string | Uint8Array | undefined;
|
|
1045
1045
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1060,7 +1060,7 @@ declare class AppClient {
|
|
|
1060
1060
|
} | undefined) => AppCallParams;
|
|
1061
1061
|
/** Return params for a close out call */
|
|
1062
1062
|
closeOut: (params?: {
|
|
1063
|
-
signer?:
|
|
1063
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1064
1064
|
rekeyTo?: ReadableAddress | undefined;
|
|
1065
1065
|
note?: string | Uint8Array | undefined;
|
|
1066
1066
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1081,7 +1081,7 @@ declare class AppClient {
|
|
|
1081
1081
|
} | undefined) => AppCallParams;
|
|
1082
1082
|
/** Return params for a call (defaults to no-op) */
|
|
1083
1083
|
call: (params?: ({
|
|
1084
|
-
signer?:
|
|
1084
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1085
1085
|
rekeyTo?: ReadableAddress | undefined;
|
|
1086
1086
|
note?: string | Uint8Array | undefined;
|
|
1087
1087
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1109,8 +1109,8 @@ declare class AppClient {
|
|
|
1109
1109
|
* @returns A transaction which can be used to fund the app account
|
|
1110
1110
|
*/
|
|
1111
1111
|
fundAppAccount: (params: {
|
|
1112
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1113
1112
|
amount: AlgoAmount;
|
|
1113
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1114
1114
|
rekeyTo?: ReadableAddress | undefined;
|
|
1115
1115
|
note?: string | Uint8Array | undefined;
|
|
1116
1116
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1133,7 +1133,7 @@ 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
|
-
signer?:
|
|
1136
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1137
1137
|
rekeyTo?: ReadableAddress | undefined;
|
|
1138
1138
|
note?: string | Uint8Array | undefined;
|
|
1139
1139
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1164,7 +1164,7 @@ 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
|
-
signer?:
|
|
1167
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1168
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
1169
1169
|
note?: string | Uint8Array | undefined;
|
|
1170
1170
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1195,7 +1195,7 @@ 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
|
-
signer?:
|
|
1198
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1199
1199
|
rekeyTo?: ReadableAddress | undefined;
|
|
1200
1200
|
note?: string | Uint8Array | undefined;
|
|
1201
1201
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1226,7 +1226,7 @@ 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
|
-
signer?:
|
|
1229
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1230
1230
|
rekeyTo?: ReadableAddress | undefined;
|
|
1231
1231
|
note?: string | Uint8Array | undefined;
|
|
1232
1232
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1257,7 +1257,7 @@ 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
|
-
signer?:
|
|
1260
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1261
1261
|
rekeyTo?: ReadableAddress | undefined;
|
|
1262
1262
|
note?: string | Uint8Array | undefined;
|
|
1263
1263
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1286,7 +1286,7 @@ 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
|
-
signer?:
|
|
1289
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1290
1290
|
rekeyTo?: ReadableAddress | undefined;
|
|
1291
1291
|
note?: string | Uint8Array | undefined;
|
|
1292
1292
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1307,7 +1307,7 @@ declare class AppClient {
|
|
|
1307
1307
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1308
1308
|
/** Returns a transaction for an opt-in call */
|
|
1309
1309
|
optIn: (params?: {
|
|
1310
|
-
signer?:
|
|
1310
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1311
1311
|
rekeyTo?: ReadableAddress | undefined;
|
|
1312
1312
|
note?: string | Uint8Array | undefined;
|
|
1313
1313
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1328,7 +1328,7 @@ declare class AppClient {
|
|
|
1328
1328
|
} | undefined) => Promise<Transaction>;
|
|
1329
1329
|
/** Returns a transaction for a delete call */
|
|
1330
1330
|
delete: (params?: {
|
|
1331
|
-
signer?:
|
|
1331
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1332
1332
|
rekeyTo?: ReadableAddress | undefined;
|
|
1333
1333
|
note?: string | Uint8Array | undefined;
|
|
1334
1334
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1349,7 +1349,7 @@ declare class AppClient {
|
|
|
1349
1349
|
} | undefined) => Promise<Transaction>;
|
|
1350
1350
|
/** Returns a transaction for a clear state call */
|
|
1351
1351
|
clearState: (params?: {
|
|
1352
|
-
signer?:
|
|
1352
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1353
1353
|
rekeyTo?: ReadableAddress | undefined;
|
|
1354
1354
|
note?: string | Uint8Array | undefined;
|
|
1355
1355
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1370,7 +1370,7 @@ declare class AppClient {
|
|
|
1370
1370
|
} | undefined) => Promise<Transaction>;
|
|
1371
1371
|
/** Returns a transaction for a close out call */
|
|
1372
1372
|
closeOut: (params?: {
|
|
1373
|
-
signer?:
|
|
1373
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1374
1374
|
rekeyTo?: ReadableAddress | undefined;
|
|
1375
1375
|
note?: string | Uint8Array | undefined;
|
|
1376
1376
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1391,7 +1391,7 @@ declare class AppClient {
|
|
|
1391
1391
|
} | undefined) => Promise<Transaction>;
|
|
1392
1392
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
1393
1393
|
call: (params?: ({
|
|
1394
|
-
signer?:
|
|
1394
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1395
1395
|
rekeyTo?: ReadableAddress | undefined;
|
|
1396
1396
|
note?: string | Uint8Array | undefined;
|
|
1397
1397
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1419,8 +1419,8 @@ declare class AppClient {
|
|
|
1419
1419
|
* @returns The result of send the fund app account payment transaction
|
|
1420
1420
|
*/
|
|
1421
1421
|
fundAppAccount: (params: {
|
|
1422
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1423
1422
|
amount: AlgoAmount;
|
|
1423
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1424
1424
|
rekeyTo?: ReadableAddress | undefined;
|
|
1425
1425
|
note?: string | Uint8Array | undefined;
|
|
1426
1426
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1451,7 +1451,7 @@ declare class AppClient {
|
|
|
1451
1451
|
* @returns The result of sending the update ABI method call
|
|
1452
1452
|
*/
|
|
1453
1453
|
update: (params: {
|
|
1454
|
-
signer?:
|
|
1454
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1455
1455
|
rekeyTo?: ReadableAddress | undefined;
|
|
1456
1456
|
note?: string | Uint8Array | undefined;
|
|
1457
1457
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1476,9 +1476,9 @@ declare class AppClient {
|
|
|
1476
1476
|
compiledClear?: CompiledTeal | undefined;
|
|
1477
1477
|
confirmations: PendingTransactionResponse[];
|
|
1478
1478
|
transactions: Transaction[];
|
|
1479
|
-
groupId: string | undefined;
|
|
1480
1479
|
txIds: string[];
|
|
1481
1480
|
returns?: ABIReturn[] | undefined;
|
|
1481
|
+
groupId: string | undefined;
|
|
1482
1482
|
confirmation: PendingTransactionResponse;
|
|
1483
1483
|
transaction: Transaction;
|
|
1484
1484
|
return?: ABIValue | undefined;
|
|
@@ -1489,7 +1489,7 @@ declare class AppClient {
|
|
|
1489
1489
|
* @returns The result of sending the opt-in ABI method call
|
|
1490
1490
|
*/
|
|
1491
1491
|
optIn: (params: {
|
|
1492
|
-
signer?:
|
|
1492
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1493
1493
|
rekeyTo?: ReadableAddress | undefined;
|
|
1494
1494
|
note?: string | Uint8Array | undefined;
|
|
1495
1495
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1525,7 +1525,7 @@ declare class AppClient {
|
|
|
1525
1525
|
* @returns The result of sending the delete ABI method call
|
|
1526
1526
|
*/
|
|
1527
1527
|
delete: (params: {
|
|
1528
|
-
signer?:
|
|
1528
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1529
1529
|
rekeyTo?: ReadableAddress | undefined;
|
|
1530
1530
|
note?: string | Uint8Array | undefined;
|
|
1531
1531
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1561,7 +1561,7 @@ declare class AppClient {
|
|
|
1561
1561
|
* @returns The result of sending the close out ABI method call
|
|
1562
1562
|
*/
|
|
1563
1563
|
closeOut: (params: {
|
|
1564
|
-
signer?:
|
|
1564
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1565
1565
|
rekeyTo?: ReadableAddress | undefined;
|
|
1566
1566
|
note?: string | Uint8Array | undefined;
|
|
1567
1567
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1597,7 +1597,7 @@ declare class AppClient {
|
|
|
1597
1597
|
* @returns The result of sending the ABI method call
|
|
1598
1598
|
*/
|
|
1599
1599
|
call: (params: {
|
|
1600
|
-
signer?:
|
|
1600
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1601
1601
|
rekeyTo?: ReadableAddress | undefined;
|
|
1602
1602
|
note?: string | Uint8Array | undefined;
|
|
1603
1603
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1631,7 +1631,7 @@ 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
|
-
signer?:
|
|
1634
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1635
1635
|
rekeyTo?: ReadableAddress | undefined;
|
|
1636
1636
|
note?: string | Uint8Array | undefined;
|
|
1637
1637
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1663,7 +1663,7 @@ declare class AppClient {
|
|
|
1663
1663
|
}>;
|
|
1664
1664
|
/** Signs and sends an opt-in call */
|
|
1665
1665
|
optIn: (params?: ({
|
|
1666
|
-
signer?:
|
|
1666
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1667
1667
|
rekeyTo?: ReadableAddress | undefined;
|
|
1668
1668
|
note?: string | Uint8Array | undefined;
|
|
1669
1669
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1693,7 +1693,7 @@ declare class AppClient {
|
|
|
1693
1693
|
}>;
|
|
1694
1694
|
/** Signs and sends a delete call */
|
|
1695
1695
|
delete: (params?: ({
|
|
1696
|
-
signer?:
|
|
1696
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1697
1697
|
rekeyTo?: ReadableAddress | undefined;
|
|
1698
1698
|
note?: string | Uint8Array | undefined;
|
|
1699
1699
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1723,7 +1723,7 @@ declare class AppClient {
|
|
|
1723
1723
|
}>;
|
|
1724
1724
|
/** Signs and sends a clear state call */
|
|
1725
1725
|
clearState: (params?: ({
|
|
1726
|
-
signer?:
|
|
1726
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1727
1727
|
rekeyTo?: ReadableAddress | undefined;
|
|
1728
1728
|
note?: string | Uint8Array | undefined;
|
|
1729
1729
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1753,7 +1753,7 @@ declare class AppClient {
|
|
|
1753
1753
|
}>;
|
|
1754
1754
|
/** Signs and sends a close out call */
|
|
1755
1755
|
closeOut: (params?: ({
|
|
1756
|
-
signer?:
|
|
1756
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1757
1757
|
rekeyTo?: ReadableAddress | undefined;
|
|
1758
1758
|
note?: string | Uint8Array | undefined;
|
|
1759
1759
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1783,7 +1783,7 @@ declare class AppClient {
|
|
|
1783
1783
|
}>;
|
|
1784
1784
|
/** Signs and sends a call (defaults to no-op) */
|
|
1785
1785
|
call: (params?: ({
|
|
1786
|
-
signer?:
|
|
1786
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1787
1787
|
rekeyTo?: ReadableAddress | undefined;
|
|
1788
1788
|
note?: string | Uint8Array | undefined;
|
|
1789
1789
|
lease?: string | Uint8Array | undefined;
|