@algorandfoundation/algokit-utils 10.0.0-alpha.13 → 10.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/packages/transact/src/transactions/app-call.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.js.map +1 -1
- package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
- package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
- package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
- package/packages/transact/src/transactions/key-registration.d.ts +1 -8
- package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
- package/packages/transact/src/transactions/signed-transaction.js +1 -1
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +5 -1
- package/packages/transact/src/transactions/transaction.js +0 -1
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +0 -1
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/transact/index.d.ts +9 -9
- package/transact/index.js +3 -10
- package/transact/index.mjs +5 -9
- package/transactions/key-registration.d.ts +1 -1
- package/transactions/key-registration.js.map +1 -1
- package/transactions/key-registration.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/algorand-client-transaction-creator.d.ts +27 -27
- package/types/algorand-client-transaction-sender.d.ts +28 -28
- package/types/app-client.d.ts +93 -93
- package/types/app-factory.d.ts +43 -43
- package/types/composer.js +9 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +11 -4
- package/types/composer.mjs.map +1 -1
- package/packages/transact/src/transactions/common.d.ts +0 -37
package/types/app-client.d.ts
CHANGED
|
@@ -386,7 +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
|
-
|
|
389
|
+
amount: AlgoAmount;
|
|
390
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
391
392
|
note?: string | Uint8Array | undefined;
|
|
392
393
|
lease?: string | Uint8Array | undefined;
|
|
@@ -396,7 +397,6 @@ declare class AppClient {
|
|
|
396
397
|
validityWindow?: number | bigint | undefined;
|
|
397
398
|
firstValidRound?: bigint | undefined;
|
|
398
399
|
lastValidRound?: bigint | undefined;
|
|
399
|
-
amount: AlgoAmount;
|
|
400
400
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
401
401
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
402
402
|
suppressLog?: boolean | undefined;
|
|
@@ -405,8 +405,9 @@ declare class AppClient {
|
|
|
405
405
|
sender?: ReadableAddress | undefined;
|
|
406
406
|
}) => {
|
|
407
407
|
sender: Address;
|
|
408
|
-
signer:
|
|
408
|
+
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
|
+
amount: AlgoAmount;
|
|
410
411
|
rekeyTo?: ReadableAddress | undefined;
|
|
411
412
|
note?: string | Uint8Array | undefined;
|
|
412
413
|
lease?: string | Uint8Array | undefined;
|
|
@@ -416,7 +417,6 @@ declare class AppClient {
|
|
|
416
417
|
validityWindow?: number | bigint | undefined;
|
|
417
418
|
firstValidRound?: bigint | undefined;
|
|
418
419
|
lastValidRound?: bigint | undefined;
|
|
419
|
-
amount: AlgoAmount;
|
|
420
420
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
421
421
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
422
422
|
suppressLog?: boolean | undefined;
|
|
@@ -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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
460
460
|
rekeyTo?: ReadableAddress | undefined;
|
|
461
461
|
note?: string | Uint8Array | undefined;
|
|
462
462
|
lease?: string | Uint8Array | undefined;
|
|
@@ -485,12 +485,13 @@ declare class AppClient {
|
|
|
485
485
|
} & {
|
|
486
486
|
appId: bigint;
|
|
487
487
|
sender: Address;
|
|
488
|
-
signer:
|
|
488
|
+
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (Transaction |
|
|
491
|
+
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
492
|
+
args?: Uint8Array[] | undefined;
|
|
492
493
|
sender: SendingAddress;
|
|
493
|
-
signer?:
|
|
494
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
494
495
|
rekeyTo?: ReadableAddress | undefined;
|
|
495
496
|
note?: string | Uint8Array | undefined;
|
|
496
497
|
lease?: string | Uint8Array | undefined;
|
|
@@ -501,7 +502,6 @@ declare class AppClient {
|
|
|
501
502
|
firstValidRound?: bigint | undefined;
|
|
502
503
|
lastValidRound?: bigint | undefined;
|
|
503
504
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
504
|
-
args?: Uint8Array[] | undefined;
|
|
505
505
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
506
|
appReferences?: bigint[] | undefined;
|
|
507
507
|
assetReferences?: bigint[] | undefined;
|
|
@@ -520,7 +520,7 @@ declare class AppClient {
|
|
|
520
520
|
extraProgramPages?: number | undefined;
|
|
521
521
|
}> | AppMethodCall<{
|
|
522
522
|
sender: SendingAddress;
|
|
523
|
-
signer?:
|
|
523
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
524
524
|
rekeyTo?: ReadableAddress | undefined;
|
|
525
525
|
note?: string | Uint8Array | undefined;
|
|
526
526
|
lease?: string | Uint8Array | undefined;
|
|
@@ -541,7 +541,7 @@ declare class AppClient {
|
|
|
541
541
|
rejectVersion?: number | undefined;
|
|
542
542
|
approvalProgram: string | Uint8Array;
|
|
543
543
|
clearStateProgram: string | Uint8Array;
|
|
544
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
544
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
553
553
|
rekeyTo?: ReadableAddress | undefined;
|
|
554
554
|
note?: string | Uint8Array | undefined;
|
|
555
555
|
lease?: string | Uint8Array | undefined;
|
|
@@ -572,7 +572,7 @@ declare class AppClient {
|
|
|
572
572
|
}) => Promise<{
|
|
573
573
|
appId: bigint;
|
|
574
574
|
sender: SendingAddress;
|
|
575
|
-
signer?:
|
|
575
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
576
576
|
rekeyTo?: ReadableAddress | undefined;
|
|
577
577
|
note?: string | Uint8Array | undefined;
|
|
578
578
|
lease?: string | Uint8Array | undefined;
|
|
@@ -590,9 +590,10 @@ declare class AppClient {
|
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (Transaction |
|
|
593
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
+
args?: Uint8Array[] | undefined;
|
|
594
595
|
sender: SendingAddress;
|
|
595
|
-
signer?:
|
|
596
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
597
|
rekeyTo?: ReadableAddress | undefined;
|
|
597
598
|
note?: string | Uint8Array | undefined;
|
|
598
599
|
lease?: string | Uint8Array | undefined;
|
|
@@ -603,7 +604,6 @@ declare class AppClient {
|
|
|
603
604
|
firstValidRound?: bigint | undefined;
|
|
604
605
|
lastValidRound?: bigint | undefined;
|
|
605
606
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
|
-
args?: Uint8Array[] | undefined;
|
|
607
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
608
|
appReferences?: bigint[] | undefined;
|
|
609
609
|
assetReferences?: bigint[] | undefined;
|
|
@@ -622,7 +622,7 @@ declare class AppClient {
|
|
|
622
622
|
extraProgramPages?: number | undefined;
|
|
623
623
|
}> | AppMethodCall<{
|
|
624
624
|
sender: SendingAddress;
|
|
625
|
-
signer?:
|
|
625
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
626
626
|
rekeyTo?: ReadableAddress | undefined;
|
|
627
627
|
note?: string | Uint8Array | undefined;
|
|
628
628
|
lease?: string | Uint8Array | undefined;
|
|
@@ -643,7 +643,7 @@ declare class AppClient {
|
|
|
643
643
|
rejectVersion?: number | undefined;
|
|
644
644
|
approvalProgram: string | Uint8Array;
|
|
645
645
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
646
|
+
}> | AppMethodCall<AppMethodCallParams> | 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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
655
655
|
rekeyTo?: ReadableAddress | undefined;
|
|
656
656
|
note?: string | Uint8Array | undefined;
|
|
657
657
|
lease?: string | Uint8Array | undefined;
|
|
@@ -674,7 +674,7 @@ declare class AppClient {
|
|
|
674
674
|
}) => Promise<{
|
|
675
675
|
appId: bigint;
|
|
676
676
|
sender: SendingAddress;
|
|
677
|
-
signer?:
|
|
677
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
678
678
|
rekeyTo?: ReadableAddress | undefined;
|
|
679
679
|
note?: string | Uint8Array | undefined;
|
|
680
680
|
lease?: string | Uint8Array | undefined;
|
|
@@ -692,9 +692,10 @@ declare class AppClient {
|
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (Transaction |
|
|
695
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
696
|
+
args?: Uint8Array[] | undefined;
|
|
696
697
|
sender: SendingAddress;
|
|
697
|
-
signer?:
|
|
698
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
698
699
|
rekeyTo?: ReadableAddress | undefined;
|
|
699
700
|
note?: string | Uint8Array | undefined;
|
|
700
701
|
lease?: string | Uint8Array | undefined;
|
|
@@ -705,7 +706,6 @@ declare class AppClient {
|
|
|
705
706
|
firstValidRound?: bigint | undefined;
|
|
706
707
|
lastValidRound?: bigint | undefined;
|
|
707
708
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
708
|
-
args?: Uint8Array[] | undefined;
|
|
709
709
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
710
|
appReferences?: bigint[] | undefined;
|
|
711
711
|
assetReferences?: bigint[] | undefined;
|
|
@@ -724,7 +724,7 @@ declare class AppClient {
|
|
|
724
724
|
extraProgramPages?: number | undefined;
|
|
725
725
|
}> | AppMethodCall<{
|
|
726
726
|
sender: SendingAddress;
|
|
727
|
-
signer?:
|
|
727
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
728
728
|
rekeyTo?: ReadableAddress | undefined;
|
|
729
729
|
note?: string | Uint8Array | undefined;
|
|
730
730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -745,14 +745,14 @@ declare class AppClient {
|
|
|
745
745
|
rejectVersion?: number | undefined;
|
|
746
746
|
approvalProgram: string | Uint8Array;
|
|
747
747
|
clearStateProgram: string | Uint8Array;
|
|
748
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
748
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
756
756
|
rekeyTo?: ReadableAddress | undefined;
|
|
757
757
|
note?: string | Uint8Array | undefined;
|
|
758
758
|
lease?: string | Uint8Array | undefined;
|
|
@@ -775,7 +775,7 @@ declare class AppClient {
|
|
|
775
775
|
}) => Promise<{
|
|
776
776
|
appId: bigint;
|
|
777
777
|
sender: SendingAddress;
|
|
778
|
-
signer?:
|
|
778
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
779
779
|
rekeyTo?: ReadableAddress | undefined;
|
|
780
780
|
note?: string | Uint8Array | undefined;
|
|
781
781
|
lease?: string | Uint8Array | undefined;
|
|
@@ -793,9 +793,10 @@ declare class AppClient {
|
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (Transaction |
|
|
796
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
797
|
+
args?: Uint8Array[] | undefined;
|
|
797
798
|
sender: SendingAddress;
|
|
798
|
-
signer?:
|
|
799
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
799
800
|
rekeyTo?: ReadableAddress | undefined;
|
|
800
801
|
note?: string | Uint8Array | undefined;
|
|
801
802
|
lease?: string | Uint8Array | undefined;
|
|
@@ -806,7 +807,6 @@ declare class AppClient {
|
|
|
806
807
|
firstValidRound?: bigint | undefined;
|
|
807
808
|
lastValidRound?: bigint | undefined;
|
|
808
809
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
809
|
-
args?: Uint8Array[] | undefined;
|
|
810
810
|
accountReferences?: ReadableAddress[] | undefined;
|
|
811
811
|
appReferences?: bigint[] | undefined;
|
|
812
812
|
assetReferences?: bigint[] | undefined;
|
|
@@ -825,7 +825,7 @@ declare class AppClient {
|
|
|
825
825
|
extraProgramPages?: number | undefined;
|
|
826
826
|
}> | AppMethodCall<{
|
|
827
827
|
sender: SendingAddress;
|
|
828
|
-
signer?:
|
|
828
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
829
829
|
rekeyTo?: ReadableAddress | undefined;
|
|
830
830
|
note?: string | Uint8Array | undefined;
|
|
831
831
|
lease?: string | Uint8Array | undefined;
|
|
@@ -846,14 +846,14 @@ declare class AppClient {
|
|
|
846
846
|
rejectVersion?: number | undefined;
|
|
847
847
|
approvalProgram: string | Uint8Array;
|
|
848
848
|
clearStateProgram: string | Uint8Array;
|
|
849
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
849
|
+
}> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
857
857
|
rekeyTo?: ReadableAddress | undefined;
|
|
858
858
|
note?: string | Uint8Array | undefined;
|
|
859
859
|
lease?: string | Uint8Array | undefined;
|
|
@@ -876,7 +876,7 @@ declare class AppClient {
|
|
|
876
876
|
} & CallOnComplete) => Promise<{
|
|
877
877
|
appId: bigint;
|
|
878
878
|
sender: SendingAddress;
|
|
879
|
-
signer?:
|
|
879
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
880
880
|
rekeyTo?: ReadableAddress | undefined;
|
|
881
881
|
note?: string | Uint8Array | undefined;
|
|
882
882
|
lease?: string | Uint8Array | undefined;
|
|
@@ -894,9 +894,10 @@ declare class AppClient {
|
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (Transaction |
|
|
897
|
+
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
898
|
+
args?: Uint8Array[] | undefined;
|
|
898
899
|
sender: SendingAddress;
|
|
899
|
-
signer?:
|
|
900
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
900
901
|
rekeyTo?: ReadableAddress | undefined;
|
|
901
902
|
note?: string | Uint8Array | undefined;
|
|
902
903
|
lease?: string | Uint8Array | undefined;
|
|
@@ -907,7 +908,6 @@ declare class AppClient {
|
|
|
907
908
|
firstValidRound?: bigint | undefined;
|
|
908
909
|
lastValidRound?: bigint | undefined;
|
|
909
910
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
910
|
-
args?: Uint8Array[] | undefined;
|
|
911
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
912
|
appReferences?: bigint[] | undefined;
|
|
913
913
|
assetReferences?: bigint[] | undefined;
|
|
@@ -926,7 +926,7 @@ declare class AppClient {
|
|
|
926
926
|
extraProgramPages?: number | undefined;
|
|
927
927
|
}> | AppMethodCall<{
|
|
928
928
|
sender: SendingAddress;
|
|
929
|
-
signer?:
|
|
929
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
930
930
|
rekeyTo?: ReadableAddress | undefined;
|
|
931
931
|
note?: string | Uint8Array | undefined;
|
|
932
932
|
lease?: string | Uint8Array | undefined;
|
|
@@ -947,13 +947,14 @@ declare class AppClient {
|
|
|
947
947
|
rejectVersion?: number | undefined;
|
|
948
948
|
approvalProgram: string | Uint8Array;
|
|
949
949
|
clearStateProgram: string | Uint8Array;
|
|
950
|
-
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
950
|
+
}> | AppMethodCall<AppMethodCallParams> | 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
|
-
|
|
956
|
+
args?: Uint8Array[] | undefined;
|
|
957
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
957
958
|
rekeyTo?: ReadableAddress | undefined;
|
|
958
959
|
note?: string | Uint8Array | undefined;
|
|
959
960
|
lease?: string | Uint8Array | undefined;
|
|
@@ -963,7 +964,6 @@ declare class AppClient {
|
|
|
963
964
|
validityWindow?: number | bigint | undefined;
|
|
964
965
|
firstValidRound?: bigint | undefined;
|
|
965
966
|
lastValidRound?: bigint | undefined;
|
|
966
|
-
args?: Uint8Array[] | undefined;
|
|
967
967
|
accountReferences?: ReadableAddress[] | undefined;
|
|
968
968
|
appReferences?: bigint[] | undefined;
|
|
969
969
|
assetReferences?: bigint[] | 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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
977
977
|
rekeyTo?: ReadableAddress | undefined;
|
|
978
978
|
note?: string | Uint8Array | undefined;
|
|
979
979
|
lease?: string | Uint8Array | undefined;
|
|
@@ -997,7 +997,8 @@ declare class AppClient {
|
|
|
997
997
|
}>;
|
|
998
998
|
/** Return params for an opt-in call */
|
|
999
999
|
optIn: (params?: {
|
|
1000
|
-
|
|
1000
|
+
args?: Uint8Array[] | undefined;
|
|
1001
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1001
1002
|
rekeyTo?: ReadableAddress | undefined;
|
|
1002
1003
|
note?: string | Uint8Array | undefined;
|
|
1003
1004
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1007,7 +1008,6 @@ declare class AppClient {
|
|
|
1007
1008
|
validityWindow?: number | bigint | undefined;
|
|
1008
1009
|
firstValidRound?: bigint | undefined;
|
|
1009
1010
|
lastValidRound?: bigint | undefined;
|
|
1010
|
-
args?: Uint8Array[] | undefined;
|
|
1011
1011
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1012
1012
|
appReferences?: bigint[] | undefined;
|
|
1013
1013
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1018,7 +1018,8 @@ declare class AppClient {
|
|
|
1018
1018
|
} | undefined) => AppCallParams;
|
|
1019
1019
|
/** Return params for a delete call */
|
|
1020
1020
|
delete: (params?: {
|
|
1021
|
-
|
|
1021
|
+
args?: Uint8Array[] | undefined;
|
|
1022
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1022
1023
|
rekeyTo?: ReadableAddress | undefined;
|
|
1023
1024
|
note?: string | Uint8Array | undefined;
|
|
1024
1025
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1028,7 +1029,6 @@ declare class AppClient {
|
|
|
1028
1029
|
validityWindow?: number | bigint | undefined;
|
|
1029
1030
|
firstValidRound?: bigint | undefined;
|
|
1030
1031
|
lastValidRound?: bigint | undefined;
|
|
1031
|
-
args?: Uint8Array[] | undefined;
|
|
1032
1032
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1033
1033
|
appReferences?: bigint[] | undefined;
|
|
1034
1034
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1039,7 +1039,8 @@ declare class AppClient {
|
|
|
1039
1039
|
} | undefined) => AppDeleteParams;
|
|
1040
1040
|
/** Return params for a clear state call */
|
|
1041
1041
|
clearState: (params?: {
|
|
1042
|
-
|
|
1042
|
+
args?: Uint8Array[] | undefined;
|
|
1043
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1043
1044
|
rekeyTo?: ReadableAddress | undefined;
|
|
1044
1045
|
note?: string | Uint8Array | undefined;
|
|
1045
1046
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1049,7 +1050,6 @@ declare class AppClient {
|
|
|
1049
1050
|
validityWindow?: number | bigint | undefined;
|
|
1050
1051
|
firstValidRound?: bigint | undefined;
|
|
1051
1052
|
lastValidRound?: bigint | undefined;
|
|
1052
|
-
args?: Uint8Array[] | undefined;
|
|
1053
1053
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1054
1054
|
appReferences?: bigint[] | undefined;
|
|
1055
1055
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1060,7 +1060,8 @@ declare class AppClient {
|
|
|
1060
1060
|
} | undefined) => AppCallParams;
|
|
1061
1061
|
/** Return params for a close out call */
|
|
1062
1062
|
closeOut: (params?: {
|
|
1063
|
-
|
|
1063
|
+
args?: Uint8Array[] | undefined;
|
|
1064
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1064
1065
|
rekeyTo?: ReadableAddress | undefined;
|
|
1065
1066
|
note?: string | Uint8Array | undefined;
|
|
1066
1067
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1070,7 +1071,6 @@ declare class AppClient {
|
|
|
1070
1071
|
validityWindow?: number | bigint | undefined;
|
|
1071
1072
|
firstValidRound?: bigint | undefined;
|
|
1072
1073
|
lastValidRound?: bigint | undefined;
|
|
1073
|
-
args?: Uint8Array[] | undefined;
|
|
1074
1074
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1075
|
appReferences?: bigint[] | undefined;
|
|
1076
1076
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1081,7 +1081,8 @@ declare class AppClient {
|
|
|
1081
1081
|
} | undefined) => AppCallParams;
|
|
1082
1082
|
/** Return params for a call (defaults to no-op) */
|
|
1083
1083
|
call: (params?: ({
|
|
1084
|
-
|
|
1084
|
+
args?: Uint8Array[] | undefined;
|
|
1085
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1085
1086
|
rekeyTo?: ReadableAddress | undefined;
|
|
1086
1087
|
note?: string | Uint8Array | undefined;
|
|
1087
1088
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1091,7 +1092,6 @@ declare class AppClient {
|
|
|
1091
1092
|
validityWindow?: number | bigint | undefined;
|
|
1092
1093
|
firstValidRound?: bigint | undefined;
|
|
1093
1094
|
lastValidRound?: bigint | undefined;
|
|
1094
|
-
args?: Uint8Array[] | undefined;
|
|
1095
1095
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1096
1096
|
appReferences?: bigint[] | undefined;
|
|
1097
1097
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1109,7 +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
|
-
|
|
1112
|
+
amount: AlgoAmount;
|
|
1113
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1113
1114
|
rekeyTo?: ReadableAddress | undefined;
|
|
1114
1115
|
note?: string | Uint8Array | undefined;
|
|
1115
1116
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1119,7 +1120,6 @@ declare class AppClient {
|
|
|
1119
1120
|
validityWindow?: number | bigint | undefined;
|
|
1120
1121
|
firstValidRound?: bigint | undefined;
|
|
1121
1122
|
lastValidRound?: bigint | undefined;
|
|
1122
|
-
amount: AlgoAmount;
|
|
1123
1123
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1124
1124
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1125
1125
|
suppressLog?: boolean | undefined;
|
|
@@ -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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1261
1261
|
rekeyTo?: ReadableAddress | undefined;
|
|
1262
1262
|
note?: string | Uint8Array | undefined;
|
|
1263
1263
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1286,7 +1286,8 @@ 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
|
-
|
|
1289
|
+
args?: Uint8Array[] | undefined;
|
|
1290
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1290
1291
|
rekeyTo?: ReadableAddress | undefined;
|
|
1291
1292
|
note?: string | Uint8Array | undefined;
|
|
1292
1293
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1296,7 +1297,6 @@ declare class AppClient {
|
|
|
1296
1297
|
validityWindow?: number | bigint | undefined;
|
|
1297
1298
|
firstValidRound?: bigint | undefined;
|
|
1298
1299
|
lastValidRound?: bigint | undefined;
|
|
1299
|
-
args?: Uint8Array[] | undefined;
|
|
1300
1300
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1301
1301
|
appReferences?: bigint[] | undefined;
|
|
1302
1302
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1307,7 +1307,8 @@ declare class AppClient {
|
|
|
1307
1307
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1308
1308
|
/** Returns a transaction for an opt-in call */
|
|
1309
1309
|
optIn: (params?: {
|
|
1310
|
-
|
|
1310
|
+
args?: Uint8Array[] | undefined;
|
|
1311
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1311
1312
|
rekeyTo?: ReadableAddress | undefined;
|
|
1312
1313
|
note?: string | Uint8Array | undefined;
|
|
1313
1314
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1317,7 +1318,6 @@ declare class AppClient {
|
|
|
1317
1318
|
validityWindow?: number | bigint | undefined;
|
|
1318
1319
|
firstValidRound?: bigint | undefined;
|
|
1319
1320
|
lastValidRound?: bigint | undefined;
|
|
1320
|
-
args?: Uint8Array[] | undefined;
|
|
1321
1321
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1322
1322
|
appReferences?: bigint[] | undefined;
|
|
1323
1323
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1328,7 +1328,8 @@ declare class AppClient {
|
|
|
1328
1328
|
} | undefined) => Promise<Transaction>;
|
|
1329
1329
|
/** Returns a transaction for a delete call */
|
|
1330
1330
|
delete: (params?: {
|
|
1331
|
-
|
|
1331
|
+
args?: Uint8Array[] | undefined;
|
|
1332
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1332
1333
|
rekeyTo?: ReadableAddress | undefined;
|
|
1333
1334
|
note?: string | Uint8Array | undefined;
|
|
1334
1335
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1338,7 +1339,6 @@ declare class AppClient {
|
|
|
1338
1339
|
validityWindow?: number | bigint | undefined;
|
|
1339
1340
|
firstValidRound?: bigint | undefined;
|
|
1340
1341
|
lastValidRound?: bigint | undefined;
|
|
1341
|
-
args?: Uint8Array[] | undefined;
|
|
1342
1342
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1343
1343
|
appReferences?: bigint[] | undefined;
|
|
1344
1344
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1349,7 +1349,8 @@ declare class AppClient {
|
|
|
1349
1349
|
} | undefined) => Promise<Transaction>;
|
|
1350
1350
|
/** Returns a transaction for a clear state call */
|
|
1351
1351
|
clearState: (params?: {
|
|
1352
|
-
|
|
1352
|
+
args?: Uint8Array[] | undefined;
|
|
1353
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1353
1354
|
rekeyTo?: ReadableAddress | undefined;
|
|
1354
1355
|
note?: string | Uint8Array | undefined;
|
|
1355
1356
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1359,7 +1360,6 @@ declare class AppClient {
|
|
|
1359
1360
|
validityWindow?: number | bigint | undefined;
|
|
1360
1361
|
firstValidRound?: bigint | undefined;
|
|
1361
1362
|
lastValidRound?: bigint | undefined;
|
|
1362
|
-
args?: Uint8Array[] | undefined;
|
|
1363
1363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1364
1364
|
appReferences?: bigint[] | undefined;
|
|
1365
1365
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1370,7 +1370,8 @@ declare class AppClient {
|
|
|
1370
1370
|
} | undefined) => Promise<Transaction>;
|
|
1371
1371
|
/** Returns a transaction for a close out call */
|
|
1372
1372
|
closeOut: (params?: {
|
|
1373
|
-
|
|
1373
|
+
args?: Uint8Array[] | undefined;
|
|
1374
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1374
1375
|
rekeyTo?: ReadableAddress | undefined;
|
|
1375
1376
|
note?: string | Uint8Array | undefined;
|
|
1376
1377
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1380,7 +1381,6 @@ declare class AppClient {
|
|
|
1380
1381
|
validityWindow?: number | bigint | undefined;
|
|
1381
1382
|
firstValidRound?: bigint | undefined;
|
|
1382
1383
|
lastValidRound?: bigint | undefined;
|
|
1383
|
-
args?: Uint8Array[] | undefined;
|
|
1384
1384
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1385
1385
|
appReferences?: bigint[] | undefined;
|
|
1386
1386
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1391,7 +1391,8 @@ 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
|
-
|
|
1394
|
+
args?: Uint8Array[] | undefined;
|
|
1395
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1395
1396
|
rekeyTo?: ReadableAddress | undefined;
|
|
1396
1397
|
note?: string | Uint8Array | undefined;
|
|
1397
1398
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1401,7 +1402,6 @@ declare class AppClient {
|
|
|
1401
1402
|
validityWindow?: number | bigint | undefined;
|
|
1402
1403
|
firstValidRound?: bigint | undefined;
|
|
1403
1404
|
lastValidRound?: bigint | undefined;
|
|
1404
|
-
args?: Uint8Array[] | undefined;
|
|
1405
1405
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1406
1406
|
appReferences?: bigint[] | undefined;
|
|
1407
1407
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1419,7 +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
|
-
|
|
1422
|
+
amount: AlgoAmount;
|
|
1423
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1423
1424
|
rekeyTo?: ReadableAddress | undefined;
|
|
1424
1425
|
note?: string | Uint8Array | undefined;
|
|
1425
1426
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1429,7 +1430,6 @@ declare class AppClient {
|
|
|
1429
1430
|
validityWindow?: number | bigint | undefined;
|
|
1430
1431
|
firstValidRound?: bigint | undefined;
|
|
1431
1432
|
lastValidRound?: bigint | undefined;
|
|
1432
|
-
amount: AlgoAmount;
|
|
1433
1433
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1434
1434
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1435
1435
|
suppressLog?: boolean | undefined;
|
|
@@ -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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1455
1455
|
rekeyTo?: ReadableAddress | undefined;
|
|
1456
1456
|
note?: string | Uint8Array | undefined;
|
|
1457
1457
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1474,11 +1474,11 @@ declare class AppClient {
|
|
|
1474
1474
|
} & AppClientCompilationParams & SendParams) => Promise<{
|
|
1475
1475
|
compiledApproval?: CompiledTeal | undefined;
|
|
1476
1476
|
compiledClear?: CompiledTeal | undefined;
|
|
1477
|
-
transactions: Transaction[];
|
|
1478
1477
|
confirmations: PendingTransactionResponse[];
|
|
1478
|
+
transactions: Transaction[];
|
|
1479
|
+
groupId: string | undefined;
|
|
1479
1480
|
txIds: string[];
|
|
1480
1481
|
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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | 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?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1601
1601
|
rekeyTo?: ReadableAddress | undefined;
|
|
1602
1602
|
note?: string | Uint8Array | undefined;
|
|
1603
1603
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1631,7 +1631,8 @@ 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
|
-
|
|
1634
|
+
args?: Uint8Array[] | undefined;
|
|
1635
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1635
1636
|
rekeyTo?: ReadableAddress | undefined;
|
|
1636
1637
|
note?: string | Uint8Array | undefined;
|
|
1637
1638
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1641,7 +1642,6 @@ declare class AppClient {
|
|
|
1641
1642
|
validityWindow?: number | bigint | undefined;
|
|
1642
1643
|
firstValidRound?: bigint | undefined;
|
|
1643
1644
|
lastValidRound?: bigint | undefined;
|
|
1644
|
-
args?: Uint8Array[] | undefined;
|
|
1645
1645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1646
1646
|
appReferences?: bigint[] | undefined;
|
|
1647
1647
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1663,7 +1663,8 @@ declare class AppClient {
|
|
|
1663
1663
|
}>;
|
|
1664
1664
|
/** Signs and sends an opt-in call */
|
|
1665
1665
|
optIn: (params?: ({
|
|
1666
|
-
|
|
1666
|
+
args?: Uint8Array[] | undefined;
|
|
1667
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1667
1668
|
rekeyTo?: ReadableAddress | undefined;
|
|
1668
1669
|
note?: string | Uint8Array | undefined;
|
|
1669
1670
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1673,7 +1674,6 @@ declare class AppClient {
|
|
|
1673
1674
|
validityWindow?: number | bigint | undefined;
|
|
1674
1675
|
firstValidRound?: bigint | undefined;
|
|
1675
1676
|
lastValidRound?: bigint | undefined;
|
|
1676
|
-
args?: Uint8Array[] | undefined;
|
|
1677
1677
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1678
1678
|
appReferences?: bigint[] | undefined;
|
|
1679
1679
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1693,7 +1693,8 @@ declare class AppClient {
|
|
|
1693
1693
|
}>;
|
|
1694
1694
|
/** Signs and sends a delete call */
|
|
1695
1695
|
delete: (params?: ({
|
|
1696
|
-
|
|
1696
|
+
args?: Uint8Array[] | undefined;
|
|
1697
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1697
1698
|
rekeyTo?: ReadableAddress | undefined;
|
|
1698
1699
|
note?: string | Uint8Array | undefined;
|
|
1699
1700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1703,7 +1704,6 @@ declare class AppClient {
|
|
|
1703
1704
|
validityWindow?: number | bigint | undefined;
|
|
1704
1705
|
firstValidRound?: bigint | undefined;
|
|
1705
1706
|
lastValidRound?: bigint | undefined;
|
|
1706
|
-
args?: Uint8Array[] | undefined;
|
|
1707
1707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1708
1708
|
appReferences?: bigint[] | undefined;
|
|
1709
1709
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1723,7 +1723,8 @@ declare class AppClient {
|
|
|
1723
1723
|
}>;
|
|
1724
1724
|
/** Signs and sends a clear state call */
|
|
1725
1725
|
clearState: (params?: ({
|
|
1726
|
-
|
|
1726
|
+
args?: Uint8Array[] | undefined;
|
|
1727
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1727
1728
|
rekeyTo?: ReadableAddress | undefined;
|
|
1728
1729
|
note?: string | Uint8Array | undefined;
|
|
1729
1730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1733,7 +1734,6 @@ declare class AppClient {
|
|
|
1733
1734
|
validityWindow?: number | bigint | undefined;
|
|
1734
1735
|
firstValidRound?: bigint | undefined;
|
|
1735
1736
|
lastValidRound?: bigint | undefined;
|
|
1736
|
-
args?: Uint8Array[] | undefined;
|
|
1737
1737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1738
1738
|
appReferences?: bigint[] | undefined;
|
|
1739
1739
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1753,7 +1753,8 @@ declare class AppClient {
|
|
|
1753
1753
|
}>;
|
|
1754
1754
|
/** Signs and sends a close out call */
|
|
1755
1755
|
closeOut: (params?: ({
|
|
1756
|
-
|
|
1756
|
+
args?: Uint8Array[] | undefined;
|
|
1757
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1757
1758
|
rekeyTo?: ReadableAddress | undefined;
|
|
1758
1759
|
note?: string | Uint8Array | undefined;
|
|
1759
1760
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1763,7 +1764,6 @@ declare class AppClient {
|
|
|
1763
1764
|
validityWindow?: number | bigint | undefined;
|
|
1764
1765
|
firstValidRound?: bigint | undefined;
|
|
1765
1766
|
lastValidRound?: bigint | undefined;
|
|
1766
|
-
args?: Uint8Array[] | undefined;
|
|
1767
1767
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1768
1768
|
appReferences?: bigint[] | undefined;
|
|
1769
1769
|
assetReferences?: bigint[] | undefined;
|
|
@@ -1783,7 +1783,8 @@ declare class AppClient {
|
|
|
1783
1783
|
}>;
|
|
1784
1784
|
/** Signs and sends a call (defaults to no-op) */
|
|
1785
1785
|
call: (params?: ({
|
|
1786
|
-
|
|
1786
|
+
args?: Uint8Array[] | undefined;
|
|
1787
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1787
1788
|
rekeyTo?: ReadableAddress | undefined;
|
|
1788
1789
|
note?: string | Uint8Array | undefined;
|
|
1789
1790
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1793,7 +1794,6 @@ declare class AppClient {
|
|
|
1793
1794
|
validityWindow?: number | bigint | undefined;
|
|
1794
1795
|
firstValidRound?: bigint | undefined;
|
|
1795
1796
|
lastValidRound?: bigint | undefined;
|
|
1796
|
-
args?: Uint8Array[] | undefined;
|
|
1797
1797
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1798
1798
|
appReferences?: bigint[] | undefined;
|
|
1799
1799
|
assetReferences?: bigint[] | undefined;
|