@algorandfoundation/algokit-utils 10.0.0-alpha.5 → 10.0.0-alpha.6
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/algod-client/index.d.ts +1 -4
- package/package.json +1 -1
- package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.d.ts +3 -5
- package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js +4 -6
- package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js.map +1 -1
- package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs +3 -5
- package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs.map +1 -1
- package/packages/common/src/json.mjs +2 -2
- package/packages/common/src/json.mjs.map +1 -1
- package/packages/sdk/src/utils/utils.mjs +2 -2
- package/packages/sdk/src/utils/utils.mjs.map +1 -1
- package/packages/transact/src/multisig.d.ts +2 -2
- package/packages/transact/src/multisig.js +15 -15
- package/packages/transact/src/multisig.js.map +1 -1
- package/packages/transact/src/multisig.mjs +15 -15
- package/packages/transact/src/multisig.mjs.map +1 -1
- package/packages/transact/src/transactions/app-call.d.ts +8 -8
- package/packages/transact/src/transactions/app-call.js.map +1 -1
- package/packages/transact/src/transactions/app-call.mjs.map +1 -1
- package/packages/transact/src/transactions/reference-types-meta.d.ts +26 -0
- package/packages/transact/src/transactions/reference-types-meta.js +71 -0
- package/packages/transact/src/transactions/reference-types-meta.js.map +1 -0
- package/packages/transact/src/transactions/reference-types-meta.mjs +69 -0
- package/packages/transact/src/transactions/reference-types-meta.mjs.map +1 -0
- package/packages/transact/src/transactions/transaction-meta.js +22 -22
- package/packages/transact/src/transactions/transaction-meta.js.map +1 -1
- package/packages/transact/src/transactions/transaction-meta.mjs +22 -22
- package/packages/transact/src/transactions/transaction-meta.mjs.map +1 -1
- package/transact/index.d.ts +3 -2
- package/transact/index.js +4 -0
- package/transact/index.mjs +2 -1
- package/transactions/app-call.d.ts +2 -2
- package/transactions/app-call.js +15 -15
- package/transactions/app-call.js.map +1 -1
- package/transactions/app-call.mjs +15 -15
- package/transactions/app-call.mjs.map +1 -1
- package/transactions/asset-config.d.ts +1 -1
- package/transactions/asset-config.js +1 -1
- package/transactions/asset-config.js.map +1 -1
- package/transactions/asset-config.mjs +1 -1
- package/transactions/asset-config.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +80 -80
- package/types/algorand-client-transaction-sender.d.ts +83 -83
- package/types/app-client.d.ts +145 -145
- package/types/app-factory.d.ts +70 -70
- package/types/app-manager.js +5 -5
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +5 -5
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.js +3 -3
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +3 -3
- package/types/composer.mjs.map +1 -1
- package/packages/algod_client/src/models/application-local-reference.d.ts +0 -20
- package/packages/algod_client/src/models/application-local-reference.js +0 -23
- package/packages/algod_client/src/models/application-local-reference.js.map +0 -1
- package/packages/algod_client/src/models/application-local-reference.mjs +0 -23
- package/packages/algod_client/src/models/application-local-reference.mjs.map +0 -1
- package/packages/algod_client/src/models/asset-holding-reference.d.ts +0 -20
- package/packages/algod_client/src/models/asset-holding-reference.js +0 -23
- package/packages/algod_client/src/models/asset-holding-reference.js.map +0 -1
- package/packages/algod_client/src/models/asset-holding-reference.mjs +0 -23
- package/packages/algod_client/src/models/asset-holding-reference.mjs.map +0 -1
- package/packages/algod_client/src/models/box-reference.d.ts +0 -17
- package/packages/algod_client/src/models/box-reference.js +0 -23
- package/packages/algod_client/src/models/box-reference.js.map +0 -1
- package/packages/algod_client/src/models/box-reference.mjs +0 -23
- package/packages/algod_client/src/models/box-reference.mjs.map +0 -1
package/types/app-client.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ABIValue } from "../packages/abi/src/abi-value.js";
|
|
|
3
3
|
import { Arc56Contract, ProgramSourceInfo } from "../packages/abi/src/arc56-contract.js";
|
|
4
4
|
import { ABIType } from "../packages/abi/src/abi-type.js";
|
|
5
5
|
import { ABIMethod, ABIReturn } from "../packages/abi/src/abi-method.js";
|
|
6
|
-
import {
|
|
6
|
+
import { OnApplicationComplete, ResourceReference } from "../packages/transact/src/transactions/app-call.js";
|
|
7
7
|
import { Transaction } from "../packages/transact/src/transactions/transaction.js";
|
|
8
8
|
import { AddressWithTransactionSigner, SendingAddress, TransactionSigner } from "../packages/transact/src/signer.js";
|
|
9
9
|
import { PendingTransactionResponse } from "../packages/algod_client/src/models/pending-transaction-response.js";
|
|
@@ -387,6 +387,7 @@ declare class AppClient {
|
|
|
387
387
|
*/
|
|
388
388
|
fundAppAccount: (params: {
|
|
389
389
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
|
+
amount: AlgoAmount;
|
|
390
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
391
392
|
note?: string | Uint8Array | undefined;
|
|
392
393
|
lease?: string | Uint8Array | undefined;
|
|
@@ -396,7 +397,6 @@ declare class AppClient {
|
|
|
396
397
|
validityWindow?: number | bigint | undefined;
|
|
397
398
|
firstValidRound?: bigint | undefined;
|
|
398
399
|
lastValidRound?: bigint | undefined;
|
|
399
|
-
amount: AlgoAmount;
|
|
400
400
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
401
401
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
402
402
|
suppressLog?: boolean | undefined;
|
|
@@ -407,6 +407,7 @@ declare class AppClient {
|
|
|
407
407
|
sender: Address;
|
|
408
408
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
|
+
amount: AlgoAmount;
|
|
410
411
|
rekeyTo?: ReadableAddress | undefined;
|
|
411
412
|
note?: string | Uint8Array | undefined;
|
|
412
413
|
lease?: string | Uint8Array | undefined;
|
|
@@ -416,7 +417,6 @@ declare class AppClient {
|
|
|
416
417
|
validityWindow?: number | bigint | undefined;
|
|
417
418
|
firstValidRound?: bigint | undefined;
|
|
418
419
|
lastValidRound?: bigint | undefined;
|
|
419
|
-
amount: AlgoAmount;
|
|
420
420
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
421
421
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
422
422
|
suppressLog?: boolean | undefined;
|
|
@@ -444,7 +444,7 @@ declare class AppClient {
|
|
|
444
444
|
appReferences?: bigint[] | undefined;
|
|
445
445
|
assetReferences?: bigint[] | undefined;
|
|
446
446
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
447
|
-
accessReferences?:
|
|
447
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
448
448
|
rejectVersion?: number | undefined;
|
|
449
449
|
sender?: ReadableAddress | undefined;
|
|
450
450
|
method: string;
|
|
@@ -471,7 +471,7 @@ declare class AppClient {
|
|
|
471
471
|
appReferences?: bigint[] | undefined;
|
|
472
472
|
assetReferences?: bigint[] | undefined;
|
|
473
473
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
474
|
-
accessReferences?:
|
|
474
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
475
475
|
rejectVersion?: number | undefined;
|
|
476
476
|
sender?: ReadableAddress | undefined;
|
|
477
477
|
method: string;
|
|
@@ -489,7 +489,6 @@ declare class AppClient {
|
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
491
|
args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
492
|
-
args?: Uint8Array[] | undefined;
|
|
493
492
|
sender: SendingAddress;
|
|
494
493
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
495
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -501,25 +500,20 @@ declare class AppClient {
|
|
|
501
500
|
validityWindow?: number | bigint | undefined;
|
|
502
501
|
firstValidRound?: bigint | undefined;
|
|
503
502
|
lastValidRound?: bigint | undefined;
|
|
504
|
-
|
|
503
|
+
appId: bigint;
|
|
504
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
505
|
+
args?: Uint8Array[] | undefined;
|
|
505
506
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
507
|
appReferences?: bigint[] | undefined;
|
|
507
508
|
assetReferences?: bigint[] | undefined;
|
|
508
509
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
509
|
-
accessReferences?:
|
|
510
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
510
511
|
rejectVersion?: number | undefined;
|
|
511
512
|
approvalProgram: string | Uint8Array;
|
|
512
513
|
clearStateProgram: string | Uint8Array;
|
|
513
|
-
schema?: {
|
|
514
|
-
globalInts: number;
|
|
515
|
-
globalByteSlices: number;
|
|
516
|
-
localInts: number;
|
|
517
|
-
localByteSlices: number;
|
|
518
|
-
} | undefined;
|
|
519
|
-
extraProgramPages?: number | undefined;
|
|
520
514
|
}> | AppMethodCall<{
|
|
521
|
-
sender: SendingAddress;
|
|
522
515
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
516
|
+
sender: SendingAddress;
|
|
523
517
|
rekeyTo?: ReadableAddress | undefined;
|
|
524
518
|
note?: string | Uint8Array | undefined;
|
|
525
519
|
lease?: string | Uint8Array | undefined;
|
|
@@ -529,18 +523,24 @@ declare class AppClient {
|
|
|
529
523
|
validityWindow?: number | bigint | undefined;
|
|
530
524
|
firstValidRound?: bigint | undefined;
|
|
531
525
|
lastValidRound?: bigint | undefined;
|
|
532
|
-
|
|
533
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
526
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
534
527
|
args?: Uint8Array[] | undefined;
|
|
535
528
|
accountReferences?: ReadableAddress[] | undefined;
|
|
536
529
|
appReferences?: bigint[] | undefined;
|
|
537
530
|
assetReferences?: bigint[] | undefined;
|
|
538
531
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
539
|
-
accessReferences?:
|
|
532
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
540
533
|
rejectVersion?: number | undefined;
|
|
541
534
|
approvalProgram: string | Uint8Array;
|
|
542
535
|
clearStateProgram: string | Uint8Array;
|
|
543
|
-
|
|
536
|
+
schema?: {
|
|
537
|
+
globalInts: number;
|
|
538
|
+
globalByteSlices: number;
|
|
539
|
+
localInts: number;
|
|
540
|
+
localByteSlices: number;
|
|
541
|
+
} | undefined;
|
|
542
|
+
extraProgramPages?: number | undefined;
|
|
543
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
544
544
|
}>;
|
|
545
545
|
/**
|
|
546
546
|
* Return params for an opt-in ABI call
|
|
@@ -563,15 +563,14 @@ declare class AppClient {
|
|
|
563
563
|
appReferences?: bigint[] | undefined;
|
|
564
564
|
assetReferences?: bigint[] | undefined;
|
|
565
565
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
566
|
-
accessReferences?:
|
|
566
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
567
567
|
rejectVersion?: number | undefined;
|
|
568
568
|
sender?: ReadableAddress | undefined;
|
|
569
569
|
method: string;
|
|
570
570
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
571
571
|
}) => Promise<{
|
|
572
|
-
appId: bigint;
|
|
573
|
-
sender: SendingAddress;
|
|
574
572
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
573
|
+
sender: SendingAddress;
|
|
575
574
|
rekeyTo?: ReadableAddress | undefined;
|
|
576
575
|
note?: string | Uint8Array | undefined;
|
|
577
576
|
lease?: string | Uint8Array | undefined;
|
|
@@ -581,16 +580,16 @@ declare class AppClient {
|
|
|
581
580
|
validityWindow?: number | bigint | undefined;
|
|
582
581
|
firstValidRound?: bigint | undefined;
|
|
583
582
|
lastValidRound?: bigint | undefined;
|
|
583
|
+
appId: bigint;
|
|
584
584
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
585
585
|
accountReferences?: ReadableAddress[] | undefined;
|
|
586
586
|
appReferences?: bigint[] | undefined;
|
|
587
587
|
assetReferences?: bigint[] | undefined;
|
|
588
588
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
589
|
-
accessReferences?:
|
|
589
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
590
590
|
rejectVersion?: number | undefined;
|
|
591
591
|
method: ABIMethod;
|
|
592
592
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
593
|
-
args?: Uint8Array[] | undefined;
|
|
594
593
|
sender: SendingAddress;
|
|
595
594
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
595
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -602,25 +601,20 @@ declare class AppClient {
|
|
|
602
601
|
validityWindow?: number | bigint | undefined;
|
|
603
602
|
firstValidRound?: bigint | undefined;
|
|
604
603
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
604
|
+
appId: bigint;
|
|
605
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
606
|
+
args?: Uint8Array[] | undefined;
|
|
606
607
|
accountReferences?: ReadableAddress[] | undefined;
|
|
607
608
|
appReferences?: bigint[] | undefined;
|
|
608
609
|
assetReferences?: bigint[] | undefined;
|
|
609
610
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
610
|
-
accessReferences?:
|
|
611
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
611
612
|
rejectVersion?: number | undefined;
|
|
612
613
|
approvalProgram: string | Uint8Array;
|
|
613
614
|
clearStateProgram: string | Uint8Array;
|
|
614
|
-
schema?: {
|
|
615
|
-
globalInts: number;
|
|
616
|
-
globalByteSlices: number;
|
|
617
|
-
localInts: number;
|
|
618
|
-
localByteSlices: number;
|
|
619
|
-
} | undefined;
|
|
620
|
-
extraProgramPages?: number | undefined;
|
|
621
615
|
}> | AppMethodCall<{
|
|
622
|
-
sender: SendingAddress;
|
|
623
616
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
617
|
+
sender: SendingAddress;
|
|
624
618
|
rekeyTo?: ReadableAddress | undefined;
|
|
625
619
|
note?: string | Uint8Array | undefined;
|
|
626
620
|
lease?: string | Uint8Array | undefined;
|
|
@@ -630,18 +624,24 @@ declare class AppClient {
|
|
|
630
624
|
validityWindow?: number | bigint | undefined;
|
|
631
625
|
firstValidRound?: bigint | undefined;
|
|
632
626
|
lastValidRound?: bigint | undefined;
|
|
633
|
-
|
|
634
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
627
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
635
628
|
args?: Uint8Array[] | undefined;
|
|
636
629
|
accountReferences?: ReadableAddress[] | undefined;
|
|
637
630
|
appReferences?: bigint[] | undefined;
|
|
638
631
|
assetReferences?: bigint[] | undefined;
|
|
639
632
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
640
|
-
accessReferences?:
|
|
633
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
641
634
|
rejectVersion?: number | undefined;
|
|
642
635
|
approvalProgram: string | Uint8Array;
|
|
643
636
|
clearStateProgram: string | Uint8Array;
|
|
644
|
-
|
|
637
|
+
schema?: {
|
|
638
|
+
globalInts: number;
|
|
639
|
+
globalByteSlices: number;
|
|
640
|
+
localInts: number;
|
|
641
|
+
localByteSlices: number;
|
|
642
|
+
} | undefined;
|
|
643
|
+
extraProgramPages?: number | undefined;
|
|
644
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
645
645
|
}>;
|
|
646
646
|
/**
|
|
647
647
|
* Return params for an delete ABI call
|
|
@@ -664,15 +664,14 @@ declare class AppClient {
|
|
|
664
664
|
appReferences?: bigint[] | undefined;
|
|
665
665
|
assetReferences?: bigint[] | undefined;
|
|
666
666
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
667
|
-
accessReferences?:
|
|
667
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
668
668
|
rejectVersion?: number | undefined;
|
|
669
669
|
sender?: ReadableAddress | undefined;
|
|
670
670
|
method: string;
|
|
671
671
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
672
672
|
}) => Promise<{
|
|
673
|
-
appId: bigint;
|
|
674
|
-
sender: SendingAddress;
|
|
675
673
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
674
|
+
sender: SendingAddress;
|
|
676
675
|
rekeyTo?: ReadableAddress | undefined;
|
|
677
676
|
note?: string | Uint8Array | undefined;
|
|
678
677
|
lease?: string | Uint8Array | undefined;
|
|
@@ -682,16 +681,16 @@ declare class AppClient {
|
|
|
682
681
|
validityWindow?: number | bigint | undefined;
|
|
683
682
|
firstValidRound?: bigint | undefined;
|
|
684
683
|
lastValidRound?: bigint | undefined;
|
|
684
|
+
appId: bigint;
|
|
685
685
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
686
686
|
accountReferences?: ReadableAddress[] | undefined;
|
|
687
687
|
appReferences?: bigint[] | undefined;
|
|
688
688
|
assetReferences?: bigint[] | undefined;
|
|
689
689
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
690
|
-
accessReferences?:
|
|
690
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
691
691
|
rejectVersion?: number | undefined;
|
|
692
692
|
method: ABIMethod;
|
|
693
693
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
694
|
-
args?: Uint8Array[] | undefined;
|
|
695
694
|
sender: SendingAddress;
|
|
696
695
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
697
696
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -703,25 +702,20 @@ declare class AppClient {
|
|
|
703
702
|
validityWindow?: number | bigint | undefined;
|
|
704
703
|
firstValidRound?: bigint | undefined;
|
|
705
704
|
lastValidRound?: bigint | undefined;
|
|
706
|
-
|
|
705
|
+
appId: bigint;
|
|
706
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
707
|
+
args?: Uint8Array[] | undefined;
|
|
707
708
|
accountReferences?: ReadableAddress[] | undefined;
|
|
708
709
|
appReferences?: bigint[] | undefined;
|
|
709
710
|
assetReferences?: bigint[] | undefined;
|
|
710
711
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
711
|
-
accessReferences?:
|
|
712
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
712
713
|
rejectVersion?: number | undefined;
|
|
713
714
|
approvalProgram: string | Uint8Array;
|
|
714
715
|
clearStateProgram: string | Uint8Array;
|
|
715
|
-
schema?: {
|
|
716
|
-
globalInts: number;
|
|
717
|
-
globalByteSlices: number;
|
|
718
|
-
localInts: number;
|
|
719
|
-
localByteSlices: number;
|
|
720
|
-
} | undefined;
|
|
721
|
-
extraProgramPages?: number | undefined;
|
|
722
716
|
}> | AppMethodCall<{
|
|
723
|
-
sender: SendingAddress;
|
|
724
717
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
718
|
+
sender: SendingAddress;
|
|
725
719
|
rekeyTo?: ReadableAddress | undefined;
|
|
726
720
|
note?: string | Uint8Array | undefined;
|
|
727
721
|
lease?: string | Uint8Array | undefined;
|
|
@@ -731,18 +725,24 @@ declare class AppClient {
|
|
|
731
725
|
validityWindow?: number | bigint | undefined;
|
|
732
726
|
firstValidRound?: bigint | undefined;
|
|
733
727
|
lastValidRound?: bigint | undefined;
|
|
734
|
-
|
|
735
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
728
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
736
729
|
args?: Uint8Array[] | undefined;
|
|
737
730
|
accountReferences?: ReadableAddress[] | undefined;
|
|
738
731
|
appReferences?: bigint[] | undefined;
|
|
739
732
|
assetReferences?: bigint[] | undefined;
|
|
740
733
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
741
|
-
accessReferences?:
|
|
734
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
742
735
|
rejectVersion?: number | undefined;
|
|
743
736
|
approvalProgram: string | Uint8Array;
|
|
744
737
|
clearStateProgram: string | Uint8Array;
|
|
745
|
-
|
|
738
|
+
schema?: {
|
|
739
|
+
globalInts: number;
|
|
740
|
+
globalByteSlices: number;
|
|
741
|
+
localInts: number;
|
|
742
|
+
localByteSlices: number;
|
|
743
|
+
} | undefined;
|
|
744
|
+
extraProgramPages?: number | undefined;
|
|
745
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
746
746
|
}>;
|
|
747
747
|
/** Return params for an close out ABI call
|
|
748
748
|
* @param params The parameters for the close out ABI method call
|
|
@@ -764,15 +764,14 @@ declare class AppClient {
|
|
|
764
764
|
appReferences?: bigint[] | undefined;
|
|
765
765
|
assetReferences?: bigint[] | undefined;
|
|
766
766
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
767
|
-
accessReferences?:
|
|
767
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
768
768
|
rejectVersion?: number | undefined;
|
|
769
769
|
sender?: ReadableAddress | undefined;
|
|
770
770
|
method: string;
|
|
771
771
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
772
772
|
}) => Promise<{
|
|
773
|
-
appId: bigint;
|
|
774
|
-
sender: SendingAddress;
|
|
775
773
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
774
|
+
sender: SendingAddress;
|
|
776
775
|
rekeyTo?: ReadableAddress | undefined;
|
|
777
776
|
note?: string | Uint8Array | undefined;
|
|
778
777
|
lease?: string | Uint8Array | undefined;
|
|
@@ -782,16 +781,16 @@ declare class AppClient {
|
|
|
782
781
|
validityWindow?: number | bigint | undefined;
|
|
783
782
|
firstValidRound?: bigint | undefined;
|
|
784
783
|
lastValidRound?: bigint | undefined;
|
|
784
|
+
appId: bigint;
|
|
785
785
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
786
786
|
accountReferences?: ReadableAddress[] | undefined;
|
|
787
787
|
appReferences?: bigint[] | undefined;
|
|
788
788
|
assetReferences?: bigint[] | undefined;
|
|
789
789
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
790
|
-
accessReferences?:
|
|
790
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
791
791
|
rejectVersion?: number | undefined;
|
|
792
792
|
method: ABIMethod;
|
|
793
793
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
794
|
-
args?: Uint8Array[] | undefined;
|
|
795
794
|
sender: SendingAddress;
|
|
796
795
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
797
796
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -803,25 +802,20 @@ declare class AppClient {
|
|
|
803
802
|
validityWindow?: number | bigint | undefined;
|
|
804
803
|
firstValidRound?: bigint | undefined;
|
|
805
804
|
lastValidRound?: bigint | undefined;
|
|
806
|
-
|
|
805
|
+
appId: bigint;
|
|
806
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
807
|
+
args?: Uint8Array[] | undefined;
|
|
807
808
|
accountReferences?: ReadableAddress[] | undefined;
|
|
808
809
|
appReferences?: bigint[] | undefined;
|
|
809
810
|
assetReferences?: bigint[] | undefined;
|
|
810
811
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
811
|
-
accessReferences?:
|
|
812
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
812
813
|
rejectVersion?: number | undefined;
|
|
813
814
|
approvalProgram: string | Uint8Array;
|
|
814
815
|
clearStateProgram: string | Uint8Array;
|
|
815
|
-
schema?: {
|
|
816
|
-
globalInts: number;
|
|
817
|
-
globalByteSlices: number;
|
|
818
|
-
localInts: number;
|
|
819
|
-
localByteSlices: number;
|
|
820
|
-
} | undefined;
|
|
821
|
-
extraProgramPages?: number | undefined;
|
|
822
816
|
}> | AppMethodCall<{
|
|
823
|
-
sender: SendingAddress;
|
|
824
817
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
818
|
+
sender: SendingAddress;
|
|
825
819
|
rekeyTo?: ReadableAddress | undefined;
|
|
826
820
|
note?: string | Uint8Array | undefined;
|
|
827
821
|
lease?: string | Uint8Array | undefined;
|
|
@@ -831,18 +825,24 @@ declare class AppClient {
|
|
|
831
825
|
validityWindow?: number | bigint | undefined;
|
|
832
826
|
firstValidRound?: bigint | undefined;
|
|
833
827
|
lastValidRound?: bigint | undefined;
|
|
834
|
-
|
|
835
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
836
829
|
args?: Uint8Array[] | undefined;
|
|
837
830
|
accountReferences?: ReadableAddress[] | undefined;
|
|
838
831
|
appReferences?: bigint[] | undefined;
|
|
839
832
|
assetReferences?: bigint[] | undefined;
|
|
840
833
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
841
|
-
accessReferences?:
|
|
834
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
842
835
|
rejectVersion?: number | undefined;
|
|
843
836
|
approvalProgram: string | Uint8Array;
|
|
844
837
|
clearStateProgram: string | Uint8Array;
|
|
845
|
-
|
|
838
|
+
schema?: {
|
|
839
|
+
globalInts: number;
|
|
840
|
+
globalByteSlices: number;
|
|
841
|
+
localInts: number;
|
|
842
|
+
localByteSlices: number;
|
|
843
|
+
} | undefined;
|
|
844
|
+
extraProgramPages?: number | undefined;
|
|
845
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
846
846
|
}>;
|
|
847
847
|
/** Return params for an ABI call
|
|
848
848
|
* @param params The parameters for the ABI method call
|
|
@@ -864,15 +864,14 @@ declare class AppClient {
|
|
|
864
864
|
appReferences?: bigint[] | undefined;
|
|
865
865
|
assetReferences?: bigint[] | undefined;
|
|
866
866
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
867
|
-
accessReferences?:
|
|
867
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
868
868
|
rejectVersion?: number | undefined;
|
|
869
869
|
sender?: ReadableAddress | undefined;
|
|
870
870
|
method: string;
|
|
871
871
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
872
872
|
} & CallOnComplete) => Promise<{
|
|
873
|
-
appId: bigint;
|
|
874
|
-
sender: SendingAddress;
|
|
875
873
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
874
|
+
sender: SendingAddress;
|
|
876
875
|
rekeyTo?: ReadableAddress | undefined;
|
|
877
876
|
note?: string | Uint8Array | undefined;
|
|
878
877
|
lease?: string | Uint8Array | undefined;
|
|
@@ -882,16 +881,16 @@ declare class AppClient {
|
|
|
882
881
|
validityWindow?: number | bigint | undefined;
|
|
883
882
|
firstValidRound?: bigint | undefined;
|
|
884
883
|
lastValidRound?: bigint | undefined;
|
|
884
|
+
appId: bigint;
|
|
885
885
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
886
886
|
accountReferences?: ReadableAddress[] | undefined;
|
|
887
887
|
appReferences?: bigint[] | undefined;
|
|
888
888
|
assetReferences?: bigint[] | undefined;
|
|
889
889
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
890
|
-
accessReferences?:
|
|
890
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
891
891
|
rejectVersion?: number | undefined;
|
|
892
892
|
method: ABIMethod;
|
|
893
893
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
894
|
-
args?: Uint8Array[] | undefined;
|
|
895
894
|
sender: SendingAddress;
|
|
896
895
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
897
896
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -903,25 +902,20 @@ declare class AppClient {
|
|
|
903
902
|
validityWindow?: number | bigint | undefined;
|
|
904
903
|
firstValidRound?: bigint | undefined;
|
|
905
904
|
lastValidRound?: bigint | undefined;
|
|
906
|
-
|
|
905
|
+
appId: bigint;
|
|
906
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
907
|
+
args?: Uint8Array[] | undefined;
|
|
907
908
|
accountReferences?: ReadableAddress[] | undefined;
|
|
908
909
|
appReferences?: bigint[] | undefined;
|
|
909
910
|
assetReferences?: bigint[] | undefined;
|
|
910
911
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
911
|
-
accessReferences?:
|
|
912
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
912
913
|
rejectVersion?: number | undefined;
|
|
913
914
|
approvalProgram: string | Uint8Array;
|
|
914
915
|
clearStateProgram: string | Uint8Array;
|
|
915
|
-
schema?: {
|
|
916
|
-
globalInts: number;
|
|
917
|
-
globalByteSlices: number;
|
|
918
|
-
localInts: number;
|
|
919
|
-
localByteSlices: number;
|
|
920
|
-
} | undefined;
|
|
921
|
-
extraProgramPages?: number | undefined;
|
|
922
916
|
}> | AppMethodCall<{
|
|
923
|
-
sender: SendingAddress;
|
|
924
917
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
918
|
+
sender: SendingAddress;
|
|
925
919
|
rekeyTo?: ReadableAddress | undefined;
|
|
926
920
|
note?: string | Uint8Array | undefined;
|
|
927
921
|
lease?: string | Uint8Array | undefined;
|
|
@@ -931,24 +925,29 @@ declare class AppClient {
|
|
|
931
925
|
validityWindow?: number | bigint | undefined;
|
|
932
926
|
firstValidRound?: bigint | undefined;
|
|
933
927
|
lastValidRound?: bigint | undefined;
|
|
934
|
-
|
|
935
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
928
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
936
929
|
args?: Uint8Array[] | undefined;
|
|
937
930
|
accountReferences?: ReadableAddress[] | undefined;
|
|
938
931
|
appReferences?: bigint[] | undefined;
|
|
939
932
|
assetReferences?: bigint[] | undefined;
|
|
940
933
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
941
|
-
accessReferences?:
|
|
934
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
942
935
|
rejectVersion?: number | undefined;
|
|
943
936
|
approvalProgram: string | Uint8Array;
|
|
944
937
|
clearStateProgram: string | Uint8Array;
|
|
945
|
-
|
|
938
|
+
schema?: {
|
|
939
|
+
globalInts: number;
|
|
940
|
+
globalByteSlices: number;
|
|
941
|
+
localInts: number;
|
|
942
|
+
localByteSlices: number;
|
|
943
|
+
} | undefined;
|
|
944
|
+
extraProgramPages?: number | undefined;
|
|
945
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
946
946
|
}>;
|
|
947
947
|
} & {
|
|
948
948
|
/** Interact with bare (raw) call parameters */bare: {
|
|
949
949
|
/** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
950
950
|
update: (params?: ({
|
|
951
|
-
args?: Uint8Array[] | undefined;
|
|
952
951
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
953
952
|
rekeyTo?: ReadableAddress | undefined;
|
|
954
953
|
note?: string | Uint8Array | undefined;
|
|
@@ -959,11 +958,12 @@ declare class AppClient {
|
|
|
959
958
|
validityWindow?: number | bigint | undefined;
|
|
960
959
|
firstValidRound?: bigint | undefined;
|
|
961
960
|
lastValidRound?: bigint | undefined;
|
|
961
|
+
args?: Uint8Array[] | undefined;
|
|
962
962
|
accountReferences?: ReadableAddress[] | undefined;
|
|
963
963
|
appReferences?: bigint[] | undefined;
|
|
964
964
|
assetReferences?: bigint[] | undefined;
|
|
965
965
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
966
|
-
accessReferences?:
|
|
966
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
967
967
|
rejectVersion?: number | undefined;
|
|
968
968
|
sender?: ReadableAddress | undefined;
|
|
969
969
|
} & AppClientCompilationParams) | undefined) => Promise<{
|
|
@@ -985,14 +985,13 @@ declare class AppClient {
|
|
|
985
985
|
appReferences?: bigint[] | undefined;
|
|
986
986
|
assetReferences?: bigint[] | undefined;
|
|
987
987
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
988
|
-
accessReferences?:
|
|
988
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
989
989
|
rejectVersion?: number | undefined;
|
|
990
990
|
approvalProgram: string | Uint8Array;
|
|
991
991
|
clearStateProgram: string | Uint8Array;
|
|
992
992
|
}>;
|
|
993
993
|
/** Return params for an opt-in call */
|
|
994
994
|
optIn: (params?: {
|
|
995
|
-
args?: Uint8Array[] | undefined;
|
|
996
995
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
997
996
|
rekeyTo?: ReadableAddress | undefined;
|
|
998
997
|
note?: string | Uint8Array | undefined;
|
|
@@ -1003,17 +1002,17 @@ declare class AppClient {
|
|
|
1003
1002
|
validityWindow?: number | bigint | undefined;
|
|
1004
1003
|
firstValidRound?: bigint | undefined;
|
|
1005
1004
|
lastValidRound?: bigint | undefined;
|
|
1005
|
+
args?: Uint8Array[] | undefined;
|
|
1006
1006
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1007
1007
|
appReferences?: bigint[] | undefined;
|
|
1008
1008
|
assetReferences?: bigint[] | undefined;
|
|
1009
1009
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1010
|
-
accessReferences?:
|
|
1010
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1011
1011
|
rejectVersion?: number | undefined;
|
|
1012
1012
|
sender?: ReadableAddress | undefined;
|
|
1013
1013
|
} | undefined) => AppCallParams;
|
|
1014
1014
|
/** Return params for a delete call */
|
|
1015
1015
|
delete: (params?: {
|
|
1016
|
-
args?: Uint8Array[] | undefined;
|
|
1017
1016
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1018
1017
|
rekeyTo?: ReadableAddress | undefined;
|
|
1019
1018
|
note?: string | Uint8Array | undefined;
|
|
@@ -1024,17 +1023,17 @@ declare class AppClient {
|
|
|
1024
1023
|
validityWindow?: number | bigint | undefined;
|
|
1025
1024
|
firstValidRound?: bigint | undefined;
|
|
1026
1025
|
lastValidRound?: bigint | undefined;
|
|
1026
|
+
args?: Uint8Array[] | undefined;
|
|
1027
1027
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1028
1028
|
appReferences?: bigint[] | undefined;
|
|
1029
1029
|
assetReferences?: bigint[] | undefined;
|
|
1030
1030
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1031
|
-
accessReferences?:
|
|
1031
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1032
1032
|
rejectVersion?: number | undefined;
|
|
1033
1033
|
sender?: ReadableAddress | undefined;
|
|
1034
1034
|
} | undefined) => AppDeleteParams;
|
|
1035
1035
|
/** Return params for a clear state call */
|
|
1036
1036
|
clearState: (params?: {
|
|
1037
|
-
args?: Uint8Array[] | undefined;
|
|
1038
1037
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1039
1038
|
rekeyTo?: ReadableAddress | undefined;
|
|
1040
1039
|
note?: string | Uint8Array | undefined;
|
|
@@ -1045,17 +1044,17 @@ declare class AppClient {
|
|
|
1045
1044
|
validityWindow?: number | bigint | undefined;
|
|
1046
1045
|
firstValidRound?: bigint | undefined;
|
|
1047
1046
|
lastValidRound?: bigint | undefined;
|
|
1047
|
+
args?: Uint8Array[] | undefined;
|
|
1048
1048
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1049
1049
|
appReferences?: bigint[] | undefined;
|
|
1050
1050
|
assetReferences?: bigint[] | undefined;
|
|
1051
1051
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1052
|
-
accessReferences?:
|
|
1052
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1053
1053
|
rejectVersion?: number | undefined;
|
|
1054
1054
|
sender?: ReadableAddress | undefined;
|
|
1055
1055
|
} | undefined) => AppCallParams;
|
|
1056
1056
|
/** Return params for a close out call */
|
|
1057
1057
|
closeOut: (params?: {
|
|
1058
|
-
args?: Uint8Array[] | undefined;
|
|
1059
1058
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1060
1059
|
rekeyTo?: ReadableAddress | undefined;
|
|
1061
1060
|
note?: string | Uint8Array | undefined;
|
|
@@ -1066,17 +1065,17 @@ declare class AppClient {
|
|
|
1066
1065
|
validityWindow?: number | bigint | undefined;
|
|
1067
1066
|
firstValidRound?: bigint | undefined;
|
|
1068
1067
|
lastValidRound?: bigint | undefined;
|
|
1068
|
+
args?: Uint8Array[] | undefined;
|
|
1069
1069
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1070
1070
|
appReferences?: bigint[] | undefined;
|
|
1071
1071
|
assetReferences?: bigint[] | undefined;
|
|
1072
1072
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1073
|
-
accessReferences?:
|
|
1073
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1074
1074
|
rejectVersion?: number | undefined;
|
|
1075
1075
|
sender?: ReadableAddress | undefined;
|
|
1076
1076
|
} | undefined) => AppCallParams;
|
|
1077
1077
|
/** Return params for a call (defaults to no-op) */
|
|
1078
1078
|
call: (params?: ({
|
|
1079
|
-
args?: Uint8Array[] | undefined;
|
|
1080
1079
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1081
1080
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1081
|
note?: string | Uint8Array | undefined;
|
|
@@ -1087,11 +1086,12 @@ declare class AppClient {
|
|
|
1087
1086
|
validityWindow?: number | bigint | undefined;
|
|
1088
1087
|
firstValidRound?: bigint | undefined;
|
|
1089
1088
|
lastValidRound?: bigint | undefined;
|
|
1089
|
+
args?: Uint8Array[] | undefined;
|
|
1090
1090
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1091
1091
|
appReferences?: bigint[] | undefined;
|
|
1092
1092
|
assetReferences?: bigint[] | undefined;
|
|
1093
1093
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1094
|
-
accessReferences?:
|
|
1094
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1095
1095
|
rejectVersion?: number | undefined;
|
|
1096
1096
|
sender?: ReadableAddress | undefined;
|
|
1097
1097
|
} & CallOnComplete) | undefined) => AppCallParams;
|
|
@@ -1105,6 +1105,7 @@ declare class AppClient {
|
|
|
1105
1105
|
*/
|
|
1106
1106
|
fundAppAccount: (params: {
|
|
1107
1107
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1108
|
+
amount: AlgoAmount;
|
|
1108
1109
|
rekeyTo?: ReadableAddress | undefined;
|
|
1109
1110
|
note?: string | Uint8Array | undefined;
|
|
1110
1111
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1114,7 +1115,6 @@ declare class AppClient {
|
|
|
1114
1115
|
validityWindow?: number | bigint | undefined;
|
|
1115
1116
|
firstValidRound?: bigint | undefined;
|
|
1116
1117
|
lastValidRound?: bigint | undefined;
|
|
1117
|
-
amount: AlgoAmount;
|
|
1118
1118
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1119
1119
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1120
1120
|
suppressLog?: boolean | undefined;
|
|
@@ -1143,7 +1143,7 @@ declare class AppClient {
|
|
|
1143
1143
|
appReferences?: bigint[] | undefined;
|
|
1144
1144
|
assetReferences?: bigint[] | undefined;
|
|
1145
1145
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1146
|
-
accessReferences?:
|
|
1146
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1147
1147
|
rejectVersion?: number | undefined;
|
|
1148
1148
|
sender?: ReadableAddress | undefined;
|
|
1149
1149
|
method: string;
|
|
@@ -1174,7 +1174,7 @@ declare class AppClient {
|
|
|
1174
1174
|
appReferences?: bigint[] | undefined;
|
|
1175
1175
|
assetReferences?: bigint[] | undefined;
|
|
1176
1176
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1177
|
-
accessReferences?:
|
|
1177
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1178
1178
|
rejectVersion?: number | undefined;
|
|
1179
1179
|
sender?: ReadableAddress | undefined;
|
|
1180
1180
|
method: string;
|
|
@@ -1205,7 +1205,7 @@ declare class AppClient {
|
|
|
1205
1205
|
appReferences?: bigint[] | undefined;
|
|
1206
1206
|
assetReferences?: bigint[] | undefined;
|
|
1207
1207
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1208
|
-
accessReferences?:
|
|
1208
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1209
1209
|
rejectVersion?: number | undefined;
|
|
1210
1210
|
sender?: ReadableAddress | undefined;
|
|
1211
1211
|
method: string;
|
|
@@ -1236,7 +1236,7 @@ declare class AppClient {
|
|
|
1236
1236
|
appReferences?: bigint[] | undefined;
|
|
1237
1237
|
assetReferences?: bigint[] | undefined;
|
|
1238
1238
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1239
|
-
accessReferences?:
|
|
1239
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1240
1240
|
rejectVersion?: number | undefined;
|
|
1241
1241
|
sender?: ReadableAddress | undefined;
|
|
1242
1242
|
method: string;
|
|
@@ -1267,7 +1267,7 @@ declare class AppClient {
|
|
|
1267
1267
|
appReferences?: bigint[] | undefined;
|
|
1268
1268
|
assetReferences?: bigint[] | undefined;
|
|
1269
1269
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1270
|
-
accessReferences?:
|
|
1270
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1271
1271
|
rejectVersion?: number | undefined;
|
|
1272
1272
|
sender?: ReadableAddress | undefined;
|
|
1273
1273
|
method: string;
|
|
@@ -1281,7 +1281,6 @@ declare class AppClient {
|
|
|
1281
1281
|
/** Interact with bare (raw) call transactions */bare: {
|
|
1282
1282
|
/** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1283
1283
|
update: (params?: ({
|
|
1284
|
-
args?: Uint8Array[] | undefined;
|
|
1285
1284
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1286
1285
|
rekeyTo?: ReadableAddress | undefined;
|
|
1287
1286
|
note?: string | Uint8Array | undefined;
|
|
@@ -1292,17 +1291,17 @@ declare class AppClient {
|
|
|
1292
1291
|
validityWindow?: number | bigint | undefined;
|
|
1293
1292
|
firstValidRound?: bigint | undefined;
|
|
1294
1293
|
lastValidRound?: bigint | undefined;
|
|
1294
|
+
args?: Uint8Array[] | undefined;
|
|
1295
1295
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1296
1296
|
appReferences?: bigint[] | undefined;
|
|
1297
1297
|
assetReferences?: bigint[] | undefined;
|
|
1298
1298
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1299
|
-
accessReferences?:
|
|
1299
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1300
1300
|
rejectVersion?: number | undefined;
|
|
1301
1301
|
sender?: ReadableAddress | undefined;
|
|
1302
1302
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1303
1303
|
/** Returns a transaction for an opt-in call */
|
|
1304
1304
|
optIn: (params?: {
|
|
1305
|
-
args?: Uint8Array[] | undefined;
|
|
1306
1305
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1307
1306
|
rekeyTo?: ReadableAddress | undefined;
|
|
1308
1307
|
note?: string | Uint8Array | undefined;
|
|
@@ -1313,17 +1312,17 @@ declare class AppClient {
|
|
|
1313
1312
|
validityWindow?: number | bigint | undefined;
|
|
1314
1313
|
firstValidRound?: bigint | undefined;
|
|
1315
1314
|
lastValidRound?: bigint | undefined;
|
|
1315
|
+
args?: Uint8Array[] | undefined;
|
|
1316
1316
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1317
1317
|
appReferences?: bigint[] | undefined;
|
|
1318
1318
|
assetReferences?: bigint[] | undefined;
|
|
1319
1319
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1320
|
-
accessReferences?:
|
|
1320
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1321
1321
|
rejectVersion?: number | undefined;
|
|
1322
1322
|
sender?: ReadableAddress | undefined;
|
|
1323
1323
|
} | undefined) => Promise<Transaction>;
|
|
1324
1324
|
/** Returns a transaction for a delete call */
|
|
1325
1325
|
delete: (params?: {
|
|
1326
|
-
args?: Uint8Array[] | undefined;
|
|
1327
1326
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1328
1327
|
rekeyTo?: ReadableAddress | undefined;
|
|
1329
1328
|
note?: string | Uint8Array | undefined;
|
|
@@ -1334,17 +1333,17 @@ declare class AppClient {
|
|
|
1334
1333
|
validityWindow?: number | bigint | undefined;
|
|
1335
1334
|
firstValidRound?: bigint | undefined;
|
|
1336
1335
|
lastValidRound?: bigint | undefined;
|
|
1336
|
+
args?: Uint8Array[] | undefined;
|
|
1337
1337
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1338
1338
|
appReferences?: bigint[] | undefined;
|
|
1339
1339
|
assetReferences?: bigint[] | undefined;
|
|
1340
1340
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1341
|
-
accessReferences?:
|
|
1341
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1342
1342
|
rejectVersion?: number | undefined;
|
|
1343
1343
|
sender?: ReadableAddress | undefined;
|
|
1344
1344
|
} | undefined) => Promise<Transaction>;
|
|
1345
1345
|
/** Returns a transaction for a clear state call */
|
|
1346
1346
|
clearState: (params?: {
|
|
1347
|
-
args?: Uint8Array[] | undefined;
|
|
1348
1347
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1349
1348
|
rekeyTo?: ReadableAddress | undefined;
|
|
1350
1349
|
note?: string | Uint8Array | undefined;
|
|
@@ -1355,17 +1354,17 @@ declare class AppClient {
|
|
|
1355
1354
|
validityWindow?: number | bigint | undefined;
|
|
1356
1355
|
firstValidRound?: bigint | undefined;
|
|
1357
1356
|
lastValidRound?: bigint | undefined;
|
|
1357
|
+
args?: Uint8Array[] | undefined;
|
|
1358
1358
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1359
1359
|
appReferences?: bigint[] | undefined;
|
|
1360
1360
|
assetReferences?: bigint[] | undefined;
|
|
1361
1361
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1362
|
-
accessReferences?:
|
|
1362
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1363
1363
|
rejectVersion?: number | undefined;
|
|
1364
1364
|
sender?: ReadableAddress | undefined;
|
|
1365
1365
|
} | undefined) => Promise<Transaction>;
|
|
1366
1366
|
/** Returns a transaction for a close out call */
|
|
1367
1367
|
closeOut: (params?: {
|
|
1368
|
-
args?: Uint8Array[] | undefined;
|
|
1369
1368
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1370
1369
|
rekeyTo?: ReadableAddress | undefined;
|
|
1371
1370
|
note?: string | Uint8Array | undefined;
|
|
@@ -1376,17 +1375,17 @@ declare class AppClient {
|
|
|
1376
1375
|
validityWindow?: number | bigint | undefined;
|
|
1377
1376
|
firstValidRound?: bigint | undefined;
|
|
1378
1377
|
lastValidRound?: bigint | undefined;
|
|
1378
|
+
args?: Uint8Array[] | undefined;
|
|
1379
1379
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1380
1380
|
appReferences?: bigint[] | undefined;
|
|
1381
1381
|
assetReferences?: bigint[] | undefined;
|
|
1382
1382
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1383
|
-
accessReferences?:
|
|
1383
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1384
1384
|
rejectVersion?: number | undefined;
|
|
1385
1385
|
sender?: ReadableAddress | undefined;
|
|
1386
1386
|
} | undefined) => Promise<Transaction>;
|
|
1387
1387
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
1388
1388
|
call: (params?: ({
|
|
1389
|
-
args?: Uint8Array[] | undefined;
|
|
1390
1389
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1391
1390
|
rekeyTo?: ReadableAddress | undefined;
|
|
1392
1391
|
note?: string | Uint8Array | undefined;
|
|
@@ -1397,11 +1396,12 @@ declare class AppClient {
|
|
|
1397
1396
|
validityWindow?: number | bigint | undefined;
|
|
1398
1397
|
firstValidRound?: bigint | undefined;
|
|
1399
1398
|
lastValidRound?: bigint | undefined;
|
|
1399
|
+
args?: Uint8Array[] | undefined;
|
|
1400
1400
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1401
1401
|
appReferences?: bigint[] | undefined;
|
|
1402
1402
|
assetReferences?: bigint[] | undefined;
|
|
1403
1403
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1404
|
-
accessReferences?:
|
|
1404
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1405
1405
|
rejectVersion?: number | undefined;
|
|
1406
1406
|
sender?: ReadableAddress | undefined;
|
|
1407
1407
|
} & CallOnComplete) | undefined) => Promise<Transaction>;
|
|
@@ -1415,6 +1415,7 @@ declare class AppClient {
|
|
|
1415
1415
|
*/
|
|
1416
1416
|
fundAppAccount: (params: {
|
|
1417
1417
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1418
|
+
amount: AlgoAmount;
|
|
1418
1419
|
rekeyTo?: ReadableAddress | undefined;
|
|
1419
1420
|
note?: string | Uint8Array | undefined;
|
|
1420
1421
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1424,7 +1425,6 @@ declare class AppClient {
|
|
|
1424
1425
|
validityWindow?: number | bigint | undefined;
|
|
1425
1426
|
firstValidRound?: bigint | undefined;
|
|
1426
1427
|
lastValidRound?: bigint | undefined;
|
|
1427
|
-
amount: AlgoAmount;
|
|
1428
1428
|
closeRemainderTo?: ReadableAddress | undefined;
|
|
1429
1429
|
maxRoundsToWaitForConfirmation?: number | undefined;
|
|
1430
1430
|
suppressLog?: boolean | undefined;
|
|
@@ -1461,7 +1461,7 @@ declare class AppClient {
|
|
|
1461
1461
|
appReferences?: bigint[] | undefined;
|
|
1462
1462
|
assetReferences?: bigint[] | undefined;
|
|
1463
1463
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1464
|
-
accessReferences?:
|
|
1464
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1465
1465
|
rejectVersion?: number | undefined;
|
|
1466
1466
|
sender?: ReadableAddress | undefined;
|
|
1467
1467
|
method: string;
|
|
@@ -1499,7 +1499,7 @@ declare class AppClient {
|
|
|
1499
1499
|
appReferences?: bigint[] | undefined;
|
|
1500
1500
|
assetReferences?: bigint[] | undefined;
|
|
1501
1501
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1502
|
-
accessReferences?:
|
|
1502
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1503
1503
|
rejectVersion?: number | undefined;
|
|
1504
1504
|
sender?: ReadableAddress | undefined;
|
|
1505
1505
|
method: string;
|
|
@@ -1535,7 +1535,7 @@ declare class AppClient {
|
|
|
1535
1535
|
appReferences?: bigint[] | undefined;
|
|
1536
1536
|
assetReferences?: bigint[] | undefined;
|
|
1537
1537
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1538
|
-
accessReferences?:
|
|
1538
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1539
1539
|
rejectVersion?: number | undefined;
|
|
1540
1540
|
sender?: ReadableAddress | undefined;
|
|
1541
1541
|
method: string;
|
|
@@ -1571,7 +1571,7 @@ declare class AppClient {
|
|
|
1571
1571
|
appReferences?: bigint[] | undefined;
|
|
1572
1572
|
assetReferences?: bigint[] | undefined;
|
|
1573
1573
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1574
|
-
accessReferences?:
|
|
1574
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1575
1575
|
rejectVersion?: number | undefined;
|
|
1576
1576
|
sender?: ReadableAddress | undefined;
|
|
1577
1577
|
method: string;
|
|
@@ -1607,7 +1607,7 @@ declare class AppClient {
|
|
|
1607
1607
|
appReferences?: bigint[] | undefined;
|
|
1608
1608
|
assetReferences?: bigint[] | undefined;
|
|
1609
1609
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1610
|
-
accessReferences?:
|
|
1610
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1611
1611
|
rejectVersion?: number | undefined;
|
|
1612
1612
|
sender?: ReadableAddress | undefined;
|
|
1613
1613
|
method: string;
|
|
@@ -1626,7 +1626,6 @@ declare class AppClient {
|
|
|
1626
1626
|
/** Interact with bare (raw) calls */bare: {
|
|
1627
1627
|
/** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1628
1628
|
update: (params?: ({
|
|
1629
|
-
args?: Uint8Array[] | undefined;
|
|
1630
1629
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1631
1630
|
rekeyTo?: ReadableAddress | undefined;
|
|
1632
1631
|
note?: string | Uint8Array | undefined;
|
|
@@ -1637,11 +1636,12 @@ declare class AppClient {
|
|
|
1637
1636
|
validityWindow?: number | bigint | undefined;
|
|
1638
1637
|
firstValidRound?: bigint | undefined;
|
|
1639
1638
|
lastValidRound?: bigint | undefined;
|
|
1639
|
+
args?: Uint8Array[] | undefined;
|
|
1640
1640
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1641
1641
|
appReferences?: bigint[] | undefined;
|
|
1642
1642
|
assetReferences?: bigint[] | undefined;
|
|
1643
1643
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1644
|
-
accessReferences?:
|
|
1644
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1645
1645
|
rejectVersion?: number | undefined;
|
|
1646
1646
|
sender?: ReadableAddress | undefined;
|
|
1647
1647
|
} & AppClientCompilationParams & SendParams) | undefined) => Promise<{
|
|
@@ -1658,7 +1658,6 @@ declare class AppClient {
|
|
|
1658
1658
|
}>;
|
|
1659
1659
|
/** Signs and sends an opt-in call */
|
|
1660
1660
|
optIn: (params?: ({
|
|
1661
|
-
args?: Uint8Array[] | undefined;
|
|
1662
1661
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1663
1662
|
rekeyTo?: ReadableAddress | undefined;
|
|
1664
1663
|
note?: string | Uint8Array | undefined;
|
|
@@ -1669,11 +1668,12 @@ declare class AppClient {
|
|
|
1669
1668
|
validityWindow?: number | bigint | undefined;
|
|
1670
1669
|
firstValidRound?: bigint | undefined;
|
|
1671
1670
|
lastValidRound?: bigint | undefined;
|
|
1671
|
+
args?: Uint8Array[] | undefined;
|
|
1672
1672
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1673
1673
|
appReferences?: bigint[] | undefined;
|
|
1674
1674
|
assetReferences?: bigint[] | undefined;
|
|
1675
1675
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1676
|
-
accessReferences?:
|
|
1676
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1677
1677
|
rejectVersion?: number | undefined;
|
|
1678
1678
|
sender?: ReadableAddress | undefined;
|
|
1679
1679
|
} & SendParams) | undefined) => Promise<{
|
|
@@ -1688,7 +1688,6 @@ declare class AppClient {
|
|
|
1688
1688
|
}>;
|
|
1689
1689
|
/** Signs and sends a delete call */
|
|
1690
1690
|
delete: (params?: ({
|
|
1691
|
-
args?: Uint8Array[] | undefined;
|
|
1692
1691
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1693
1692
|
rekeyTo?: ReadableAddress | undefined;
|
|
1694
1693
|
note?: string | Uint8Array | undefined;
|
|
@@ -1699,11 +1698,12 @@ declare class AppClient {
|
|
|
1699
1698
|
validityWindow?: number | bigint | undefined;
|
|
1700
1699
|
firstValidRound?: bigint | undefined;
|
|
1701
1700
|
lastValidRound?: bigint | undefined;
|
|
1701
|
+
args?: Uint8Array[] | undefined;
|
|
1702
1702
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1703
1703
|
appReferences?: bigint[] | undefined;
|
|
1704
1704
|
assetReferences?: bigint[] | undefined;
|
|
1705
1705
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1706
|
-
accessReferences?:
|
|
1706
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1707
1707
|
rejectVersion?: number | undefined;
|
|
1708
1708
|
sender?: ReadableAddress | undefined;
|
|
1709
1709
|
} & SendParams) | undefined) => Promise<{
|
|
@@ -1718,7 +1718,6 @@ declare class AppClient {
|
|
|
1718
1718
|
}>;
|
|
1719
1719
|
/** Signs and sends a clear state call */
|
|
1720
1720
|
clearState: (params?: ({
|
|
1721
|
-
args?: Uint8Array[] | undefined;
|
|
1722
1721
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1723
1722
|
rekeyTo?: ReadableAddress | undefined;
|
|
1724
1723
|
note?: string | Uint8Array | undefined;
|
|
@@ -1729,11 +1728,12 @@ declare class AppClient {
|
|
|
1729
1728
|
validityWindow?: number | bigint | undefined;
|
|
1730
1729
|
firstValidRound?: bigint | undefined;
|
|
1731
1730
|
lastValidRound?: bigint | undefined;
|
|
1731
|
+
args?: Uint8Array[] | undefined;
|
|
1732
1732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1733
1733
|
appReferences?: bigint[] | undefined;
|
|
1734
1734
|
assetReferences?: bigint[] | undefined;
|
|
1735
1735
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1736
|
-
accessReferences?:
|
|
1736
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1737
1737
|
rejectVersion?: number | undefined;
|
|
1738
1738
|
sender?: ReadableAddress | undefined;
|
|
1739
1739
|
} & SendParams) | undefined) => Promise<{
|
|
@@ -1748,7 +1748,6 @@ declare class AppClient {
|
|
|
1748
1748
|
}>;
|
|
1749
1749
|
/** Signs and sends a close out call */
|
|
1750
1750
|
closeOut: (params?: ({
|
|
1751
|
-
args?: Uint8Array[] | undefined;
|
|
1752
1751
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1753
1752
|
rekeyTo?: ReadableAddress | undefined;
|
|
1754
1753
|
note?: string | Uint8Array | undefined;
|
|
@@ -1759,11 +1758,12 @@ declare class AppClient {
|
|
|
1759
1758
|
validityWindow?: number | bigint | undefined;
|
|
1760
1759
|
firstValidRound?: bigint | undefined;
|
|
1761
1760
|
lastValidRound?: bigint | undefined;
|
|
1761
|
+
args?: Uint8Array[] | undefined;
|
|
1762
1762
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1763
1763
|
appReferences?: bigint[] | undefined;
|
|
1764
1764
|
assetReferences?: bigint[] | undefined;
|
|
1765
1765
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1766
|
-
accessReferences?:
|
|
1766
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1767
1767
|
rejectVersion?: number | undefined;
|
|
1768
1768
|
sender?: ReadableAddress | undefined;
|
|
1769
1769
|
} & SendParams) | undefined) => Promise<{
|
|
@@ -1778,7 +1778,6 @@ declare class AppClient {
|
|
|
1778
1778
|
}>;
|
|
1779
1779
|
/** Signs and sends a call (defaults to no-op) */
|
|
1780
1780
|
call: (params?: ({
|
|
1781
|
-
args?: Uint8Array[] | undefined;
|
|
1782
1781
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1783
1782
|
rekeyTo?: ReadableAddress | undefined;
|
|
1784
1783
|
note?: string | Uint8Array | undefined;
|
|
@@ -1789,11 +1788,12 @@ declare class AppClient {
|
|
|
1789
1788
|
validityWindow?: number | bigint | undefined;
|
|
1790
1789
|
firstValidRound?: bigint | undefined;
|
|
1791
1790
|
lastValidRound?: bigint | undefined;
|
|
1791
|
+
args?: Uint8Array[] | undefined;
|
|
1792
1792
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1793
1793
|
appReferences?: bigint[] | undefined;
|
|
1794
1794
|
assetReferences?: bigint[] | undefined;
|
|
1795
1795
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1796
|
-
accessReferences?:
|
|
1796
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1797
1797
|
rejectVersion?: number | undefined;
|
|
1798
1798
|
sender?: ReadableAddress | undefined;
|
|
1799
1799
|
} & CallOnComplete & SendParams) | undefined) => Promise<{
|