@algorandfoundation/algokit-utils 9.1.2 → 9.2.0-beta.10
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/app.d.ts +1 -1
- package/package.json +2 -2
- package/testing/fixtures/algorand-fixture.d.ts +3 -3
- package/testing/fixtures/algorand-fixture.js.map +1 -1
- package/testing/fixtures/algorand-fixture.mjs.map +1 -1
- package/transaction/legacy-bridge.d.ts +1 -1
- package/transaction/transaction.d.ts +1 -1
- package/transaction/transaction.js +66 -26
- package/transaction/transaction.js.map +1 -1
- package/transaction/transaction.mjs +66 -26
- package/transaction/transaction.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +20 -0
- package/types/algorand-client-transaction-creator.js +16 -0
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs +16 -0
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +116 -0
- package/types/algorand-client-transaction-sender.js +16 -0
- package/types/algorand-client-transaction-sender.js.map +1 -1
- package/types/algorand-client-transaction-sender.mjs +16 -0
- package/types/algorand-client-transaction-sender.mjs.map +1 -1
- package/types/app-client.d.ts +74 -0
- package/types/app-client.js +4 -1
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +4 -1
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.js +3 -3
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +3 -3
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +36 -0
- package/types/app-manager.d.ts +37 -0
- package/types/app-manager.js +1 -0
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +1 -0
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.d.ts +21 -1
- package/types/composer.js +53 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +53 -2
- package/types/composer.mjs.map +1 -1
- package/types/kmd-account-manager.d.ts +1 -0
- package/types/kmd-account-manager.js +33 -14
- package/types/kmd-account-manager.js.map +1 -1
- package/types/kmd-account-manager.mjs +33 -14
- package/types/kmd-account-manager.mjs.map +1 -1
- package/types/testing.d.ts +2 -2
|
@@ -441,6 +441,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
441
441
|
* appReferences: [123n, 1234n]
|
|
442
442
|
* assetReferences: [12345n]
|
|
443
443
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
444
|
+
* accessReferences: [{ appId: 1234n }]
|
|
444
445
|
* lease: 'lease',
|
|
445
446
|
* note: 'note',
|
|
446
447
|
* // You wouldn't normally set this field
|
|
@@ -451,6 +452,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
451
452
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
452
453
|
* // already specified, but here for completeness
|
|
453
454
|
* maxFee: (3000).microAlgo(),
|
|
455
|
+
* rejectVersion: 1,
|
|
454
456
|
* // Signer only needed if you want to provide one,
|
|
455
457
|
* // generally you'd register it with AlgorandClient
|
|
456
458
|
* // against the sender and not need to pass it in
|
|
@@ -468,6 +470,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
468
470
|
args?: Uint8Array[] | undefined;
|
|
469
471
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
470
472
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
473
|
+
rejectVersion?: number | undefined;
|
|
471
474
|
lease?: string | Uint8Array | undefined;
|
|
472
475
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
473
476
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -479,6 +482,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
479
482
|
appReferences?: bigint[] | undefined;
|
|
480
483
|
assetReferences?: bigint[] | undefined;
|
|
481
484
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
485
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
482
486
|
approvalProgram: string | Uint8Array;
|
|
483
487
|
clearStateProgram: string | Uint8Array;
|
|
484
488
|
schema?: {
|
|
@@ -511,6 +515,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
511
515
|
* appReferences: [123n, 1234n]
|
|
512
516
|
* assetReferences: [12345n]
|
|
513
517
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
518
|
+
* accessReferences: [{ appId: 1234n }]
|
|
514
519
|
* lease: 'lease',
|
|
515
520
|
* note: 'note',
|
|
516
521
|
* // You wouldn't normally set this field
|
|
@@ -521,6 +526,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
521
526
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
522
527
|
* // already specified, but here for completeness
|
|
523
528
|
* maxFee: (3000).microAlgo(),
|
|
529
|
+
* rejectVersion: 1,
|
|
524
530
|
* // Signer only needed if you want to provide one,
|
|
525
531
|
* // generally you'd register it with AlgorandClient
|
|
526
532
|
* // against the sender and not need to pass it in
|
|
@@ -550,6 +556,8 @@ export declare class AlgorandClientTransactionSender {
|
|
|
550
556
|
appReferences?: bigint[] | undefined;
|
|
551
557
|
assetReferences?: bigint[] | undefined;
|
|
552
558
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
559
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
560
|
+
rejectVersion?: number | undefined;
|
|
553
561
|
approvalProgram: string | Uint8Array;
|
|
554
562
|
clearStateProgram: string | Uint8Array;
|
|
555
563
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
@@ -573,6 +581,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
573
581
|
* appReferences: [123n, 1234n]
|
|
574
582
|
* assetReferences: [12345n]
|
|
575
583
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
584
|
+
* accessReferences: [{ appId: 1234n }]
|
|
576
585
|
* lease: 'lease',
|
|
577
586
|
* note: 'note',
|
|
578
587
|
* // You wouldn't normally set this field
|
|
@@ -583,6 +592,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
583
592
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
584
593
|
* // already specified, but here for completeness
|
|
585
594
|
* maxFee: (3000).microAlgo(),
|
|
595
|
+
* rejectVersion: 1,
|
|
586
596
|
* // Signer only needed if you want to provide one,
|
|
587
597
|
* // generally you'd register it with AlgorandClient
|
|
588
598
|
* // against the sender and not need to pass it in
|
|
@@ -601,6 +611,42 @@ export declare class AlgorandClientTransactionSender {
|
|
|
601
611
|
appReferences?: bigint[] | undefined;
|
|
602
612
|
assetReferences?: bigint[] | undefined;
|
|
603
613
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
614
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
615
|
+
/**
|
|
616
|
+
* Opt an account into an Algorand Standard Asset.
|
|
617
|
+
*
|
|
618
|
+
* @param params The parameters for the asset opt-in transaction
|
|
619
|
+
*
|
|
620
|
+
* @example Basic example
|
|
621
|
+
* ```typescript
|
|
622
|
+
* await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
|
|
623
|
+
* ```
|
|
624
|
+
* @example Advanced example
|
|
625
|
+
* ```typescript
|
|
626
|
+
* await algorand.send.assetOptIn({
|
|
627
|
+
* sender: 'SENDERADDRESS',
|
|
628
|
+
* assetId: 123456n,
|
|
629
|
+
* lease: 'lease',
|
|
630
|
+
* note: 'note',
|
|
631
|
+
* // You wouldn't normally set this field
|
|
632
|
+
* firstValidRound: 1000n,
|
|
633
|
+
* validityWindow: 10,
|
|
634
|
+
* extraFee: (1000).microAlgo(),
|
|
635
|
+
* staticFee: (1000).microAlgo(),
|
|
636
|
+
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
637
|
+
* // already specified, but here for completeness
|
|
638
|
+
* maxFee: (3000).microAlgo(),
|
|
639
|
+
* // Signer only needed if you want to provide one,
|
|
640
|
+
* // generally you'd register it with AlgorandClient
|
|
641
|
+
* // against the sender and not need to pass it in
|
|
642
|
+
* signer: transactionSigner,
|
|
643
|
+
* maxRoundsToWaitForConfirmation: 5,
|
|
644
|
+
* suppressLog: true,
|
|
645
|
+
* })
|
|
646
|
+
* ```
|
|
647
|
+
* @returns The result of the asset opt-in transaction and the transaction that was sent
|
|
648
|
+
*/
|
|
649
|
+
rejectVersion?: number | undefined;
|
|
604
650
|
} & {
|
|
605
651
|
onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
606
652
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
@@ -624,6 +670,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
624
670
|
* appReferences: [123n, 1234n]
|
|
625
671
|
* assetReferences: [12345n]
|
|
626
672
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
673
|
+
* accessReferences: [{ appId: 1234n }]
|
|
627
674
|
* lease: 'lease',
|
|
628
675
|
* note: 'note',
|
|
629
676
|
* // You wouldn't normally set this field
|
|
@@ -634,6 +681,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
634
681
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
635
682
|
* // already specified, but here for completeness
|
|
636
683
|
* maxFee: (3000).microAlgo(),
|
|
684
|
+
* rejectVersion: 1,
|
|
637
685
|
* // Signer only needed if you want to provide one,
|
|
638
686
|
* // generally you'd register it with AlgorandClient
|
|
639
687
|
* // against the sender and not need to pass it in
|
|
@@ -652,6 +700,42 @@ export declare class AlgorandClientTransactionSender {
|
|
|
652
700
|
appReferences?: bigint[] | undefined;
|
|
653
701
|
assetReferences?: bigint[] | undefined;
|
|
654
702
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
703
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* Opt an account into an Algorand Standard Asset.
|
|
706
|
+
*
|
|
707
|
+
* @param params The parameters for the asset opt-in transaction
|
|
708
|
+
*
|
|
709
|
+
* @example Basic example
|
|
710
|
+
* ```typescript
|
|
711
|
+
* await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
|
|
712
|
+
* ```
|
|
713
|
+
* @example Advanced example
|
|
714
|
+
* ```typescript
|
|
715
|
+
* await algorand.send.assetOptIn({
|
|
716
|
+
* sender: 'SENDERADDRESS',
|
|
717
|
+
* assetId: 123456n,
|
|
718
|
+
* lease: 'lease',
|
|
719
|
+
* note: 'note',
|
|
720
|
+
* // You wouldn't normally set this field
|
|
721
|
+
* firstValidRound: 1000n,
|
|
722
|
+
* validityWindow: 10,
|
|
723
|
+
* extraFee: (1000).microAlgo(),
|
|
724
|
+
* staticFee: (1000).microAlgo(),
|
|
725
|
+
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
726
|
+
* // already specified, but here for completeness
|
|
727
|
+
* maxFee: (3000).microAlgo(),
|
|
728
|
+
* // Signer only needed if you want to provide one,
|
|
729
|
+
* // generally you'd register it with AlgorandClient
|
|
730
|
+
* // against the sender and not need to pass it in
|
|
731
|
+
* signer: transactionSigner,
|
|
732
|
+
* maxRoundsToWaitForConfirmation: 5,
|
|
733
|
+
* suppressLog: true,
|
|
734
|
+
* })
|
|
735
|
+
* ```
|
|
736
|
+
* @returns The result of the asset opt-in transaction and the transaction that was sent
|
|
737
|
+
*/
|
|
738
|
+
rejectVersion?: number | undefined;
|
|
655
739
|
} & {
|
|
656
740
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.ClearStateOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
657
741
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
@@ -697,6 +781,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
697
781
|
* appReferences: [123n, 1234n]
|
|
698
782
|
* assetReferences: [12345n]
|
|
699
783
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
784
|
+
* accessReferences: [{ appId: 1234n }]
|
|
700
785
|
* lease: 'lease',
|
|
701
786
|
* note: 'note',
|
|
702
787
|
* // You wouldn't normally set this field
|
|
@@ -707,6 +792,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
707
792
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
708
793
|
* // already specified, but here for completeness
|
|
709
794
|
* maxFee: (3000).microAlgo(),
|
|
795
|
+
* rejectVersion: 1,
|
|
710
796
|
* // Signer only needed if you want to provide one,
|
|
711
797
|
* // generally you'd register it with AlgorandClient
|
|
712
798
|
* // against the sender and not need to pass it in
|
|
@@ -731,6 +817,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
731
817
|
} | undefined;
|
|
732
818
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
733
819
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
820
|
+
rejectVersion?: number | undefined;
|
|
734
821
|
lease?: string | Uint8Array | undefined;
|
|
735
822
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
736
823
|
extraProgramPages?: number | undefined;
|
|
@@ -743,6 +830,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
743
830
|
appReferences?: bigint[] | undefined;
|
|
744
831
|
assetReferences?: bigint[] | undefined;
|
|
745
832
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
833
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
746
834
|
} & {
|
|
747
835
|
method: algosdk.ABIMethod;
|
|
748
836
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -752,6 +840,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
752
840
|
args?: Uint8Array[] | undefined;
|
|
753
841
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
754
842
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
843
|
+
rejectVersion?: number | undefined;
|
|
755
844
|
lease?: string | Uint8Array | undefined;
|
|
756
845
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
757
846
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -763,6 +852,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
763
852
|
appReferences?: bigint[] | undefined;
|
|
764
853
|
assetReferences?: bigint[] | undefined;
|
|
765
854
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
855
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
766
856
|
approvalProgram: string | Uint8Array;
|
|
767
857
|
clearStateProgram: string | Uint8Array;
|
|
768
858
|
schema?: {
|
|
@@ -791,6 +881,8 @@ export declare class AlgorandClientTransactionSender {
|
|
|
791
881
|
appReferences?: bigint[] | undefined;
|
|
792
882
|
assetReferences?: bigint[] | undefined;
|
|
793
883
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
884
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
885
|
+
rejectVersion?: number | undefined;
|
|
794
886
|
approvalProgram: string | Uint8Array;
|
|
795
887
|
clearStateProgram: string | Uint8Array;
|
|
796
888
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -829,6 +921,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
829
921
|
* appReferences: [123n, 1234n]
|
|
830
922
|
* assetReferences: [12345n]
|
|
831
923
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
924
|
+
* accessReferences: [{ appId: 1234n }]
|
|
832
925
|
* lease: 'lease',
|
|
833
926
|
* note: 'note',
|
|
834
927
|
* // You wouldn't normally set this field
|
|
@@ -839,6 +932,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
839
932
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
840
933
|
* // already specified, but here for completeness
|
|
841
934
|
* maxFee: (3000).microAlgo(),
|
|
935
|
+
* rejectVersion: 1,
|
|
842
936
|
* // Signer only needed if you want to provide one,
|
|
843
937
|
* // generally you'd register it with AlgorandClient
|
|
844
938
|
* // against the sender and not need to pass it in
|
|
@@ -858,6 +952,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
858
952
|
appId: bigint;
|
|
859
953
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
860
954
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
955
|
+
rejectVersion?: number | undefined;
|
|
861
956
|
lease?: string | Uint8Array | undefined;
|
|
862
957
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
863
958
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -869,6 +964,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
869
964
|
appReferences?: bigint[] | undefined;
|
|
870
965
|
assetReferences?: bigint[] | undefined;
|
|
871
966
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
967
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
872
968
|
} & {
|
|
873
969
|
method: algosdk.ABIMethod;
|
|
874
970
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -878,6 +974,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
878
974
|
args?: Uint8Array[] | undefined;
|
|
879
975
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
880
976
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
977
|
+
rejectVersion?: number | undefined;
|
|
881
978
|
lease?: string | Uint8Array | undefined;
|
|
882
979
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
883
980
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -889,6 +986,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
889
986
|
appReferences?: bigint[] | undefined;
|
|
890
987
|
assetReferences?: bigint[] | undefined;
|
|
891
988
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
989
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
892
990
|
approvalProgram: string | Uint8Array;
|
|
893
991
|
clearStateProgram: string | Uint8Array;
|
|
894
992
|
schema?: {
|
|
@@ -917,6 +1015,8 @@ export declare class AlgorandClientTransactionSender {
|
|
|
917
1015
|
appReferences?: bigint[] | undefined;
|
|
918
1016
|
assetReferences?: bigint[] | undefined;
|
|
919
1017
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1018
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1019
|
+
rejectVersion?: number | undefined;
|
|
920
1020
|
approvalProgram: string | Uint8Array;
|
|
921
1021
|
clearStateProgram: string | Uint8Array;
|
|
922
1022
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -953,6 +1053,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
953
1053
|
* appReferences: [123n, 1234n]
|
|
954
1054
|
* assetReferences: [12345n]
|
|
955
1055
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
1056
|
+
* accessReferences: [{ appId: 1234n }]
|
|
956
1057
|
* lease: 'lease',
|
|
957
1058
|
* note: 'note',
|
|
958
1059
|
* // You wouldn't normally set this field
|
|
@@ -963,6 +1064,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
963
1064
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
964
1065
|
* // already specified, but here for completeness
|
|
965
1066
|
* maxFee: (3000).microAlgo(),
|
|
1067
|
+
* rejectVersion: 1,
|
|
966
1068
|
* // Signer only needed if you want to provide one,
|
|
967
1069
|
* // generally you'd register it with AlgorandClient
|
|
968
1070
|
* // against the sender and not need to pass it in
|
|
@@ -980,6 +1082,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
980
1082
|
appId: bigint;
|
|
981
1083
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
982
1084
|
onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1085
|
+
rejectVersion?: number | undefined;
|
|
983
1086
|
lease?: string | Uint8Array | undefined;
|
|
984
1087
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
985
1088
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -991,6 +1094,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
991
1094
|
appReferences?: bigint[] | undefined;
|
|
992
1095
|
assetReferences?: bigint[] | undefined;
|
|
993
1096
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1097
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
994
1098
|
} & {
|
|
995
1099
|
method: algosdk.ABIMethod;
|
|
996
1100
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -1000,6 +1104,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1000
1104
|
args?: Uint8Array[] | undefined;
|
|
1001
1105
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1002
1106
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1107
|
+
rejectVersion?: number | undefined;
|
|
1003
1108
|
lease?: string | Uint8Array | undefined;
|
|
1004
1109
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1005
1110
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -1011,6 +1116,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1011
1116
|
appReferences?: bigint[] | undefined;
|
|
1012
1117
|
assetReferences?: bigint[] | undefined;
|
|
1013
1118
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1119
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1014
1120
|
approvalProgram: string | Uint8Array;
|
|
1015
1121
|
clearStateProgram: string | Uint8Array;
|
|
1016
1122
|
schema?: {
|
|
@@ -1039,6 +1145,8 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1039
1145
|
appReferences?: bigint[] | undefined;
|
|
1040
1146
|
assetReferences?: bigint[] | undefined;
|
|
1041
1147
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1148
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1149
|
+
rejectVersion?: number | undefined;
|
|
1042
1150
|
approvalProgram: string | Uint8Array;
|
|
1043
1151
|
clearStateProgram: string | Uint8Array;
|
|
1044
1152
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -1075,6 +1183,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1075
1183
|
* appReferences: [123n, 1234n]
|
|
1076
1184
|
* assetReferences: [12345n]
|
|
1077
1185
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
1186
|
+
* accessReferences: [{ appId: 1234n }]
|
|
1078
1187
|
* lease: 'lease',
|
|
1079
1188
|
* note: 'note',
|
|
1080
1189
|
* // You wouldn't normally set this field
|
|
@@ -1085,6 +1194,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1085
1194
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
1086
1195
|
* // already specified, but here for completeness
|
|
1087
1196
|
* maxFee: (3000).microAlgo(),
|
|
1197
|
+
* rejectVersion: 1,
|
|
1088
1198
|
* // Signer only needed if you want to provide one,
|
|
1089
1199
|
* // generally you'd register it with AlgorandClient
|
|
1090
1200
|
* // against the sender and not need to pass it in
|
|
@@ -1102,6 +1212,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1102
1212
|
appId: bigint;
|
|
1103
1213
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1104
1214
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1215
|
+
rejectVersion?: number | undefined;
|
|
1105
1216
|
lease?: string | Uint8Array | undefined;
|
|
1106
1217
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1107
1218
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -1113,6 +1224,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1113
1224
|
appReferences?: bigint[] | undefined;
|
|
1114
1225
|
assetReferences?: bigint[] | undefined;
|
|
1115
1226
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1227
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1116
1228
|
} & {
|
|
1117
1229
|
method: algosdk.ABIMethod;
|
|
1118
1230
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -1122,6 +1234,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1122
1234
|
args?: Uint8Array[] | undefined;
|
|
1123
1235
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1124
1236
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1237
|
+
rejectVersion?: number | undefined;
|
|
1125
1238
|
lease?: string | Uint8Array | undefined;
|
|
1126
1239
|
rekeyTo?: string | algosdk.Address | undefined;
|
|
1127
1240
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
@@ -1133,6 +1246,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1133
1246
|
appReferences?: bigint[] | undefined;
|
|
1134
1247
|
assetReferences?: bigint[] | undefined;
|
|
1135
1248
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1249
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1136
1250
|
approvalProgram: string | Uint8Array;
|
|
1137
1251
|
clearStateProgram: string | Uint8Array;
|
|
1138
1252
|
schema?: {
|
|
@@ -1161,6 +1275,8 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1161
1275
|
appReferences?: bigint[] | undefined;
|
|
1162
1276
|
assetReferences?: bigint[] | undefined;
|
|
1163
1277
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1278
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1279
|
+
rejectVersion?: number | undefined;
|
|
1164
1280
|
approvalProgram: string | Uint8Array;
|
|
1165
1281
|
clearStateProgram: string | Uint8Array;
|
|
1166
1282
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -420,6 +420,7 @@ class AlgorandClientTransactionSender {
|
|
|
420
420
|
* appReferences: [123n, 1234n]
|
|
421
421
|
* assetReferences: [12345n]
|
|
422
422
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
423
|
+
* accessReferences: [{ appId: 1234n }]
|
|
423
424
|
* lease: 'lease',
|
|
424
425
|
* note: 'note',
|
|
425
426
|
* // You wouldn't normally set this field
|
|
@@ -430,6 +431,7 @@ class AlgorandClientTransactionSender {
|
|
|
430
431
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
431
432
|
* // already specified, but here for completeness
|
|
432
433
|
* maxFee: (3000).microAlgo(),
|
|
434
|
+
* rejectVersion: 1,
|
|
433
435
|
* // Signer only needed if you want to provide one,
|
|
434
436
|
* // generally you'd register it with AlgorandClient
|
|
435
437
|
* // against the sender and not need to pass it in
|
|
@@ -465,6 +467,7 @@ class AlgorandClientTransactionSender {
|
|
|
465
467
|
* appReferences: [123n, 1234n]
|
|
466
468
|
* assetReferences: [12345n]
|
|
467
469
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
470
|
+
* accessReferences: [{ appId: 1234n }]
|
|
468
471
|
* lease: 'lease',
|
|
469
472
|
* note: 'note',
|
|
470
473
|
* // You wouldn't normally set this field
|
|
@@ -475,6 +478,7 @@ class AlgorandClientTransactionSender {
|
|
|
475
478
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
476
479
|
* // already specified, but here for completeness
|
|
477
480
|
* maxFee: (3000).microAlgo(),
|
|
481
|
+
* rejectVersion: 1,
|
|
478
482
|
* // Signer only needed if you want to provide one,
|
|
479
483
|
* // generally you'd register it with AlgorandClient
|
|
480
484
|
* // against the sender and not need to pass it in
|
|
@@ -508,6 +512,7 @@ class AlgorandClientTransactionSender {
|
|
|
508
512
|
* appReferences: [123n, 1234n]
|
|
509
513
|
* assetReferences: [12345n]
|
|
510
514
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
515
|
+
* accessReferences: [{ appId: 1234n }]
|
|
511
516
|
* lease: 'lease',
|
|
512
517
|
* note: 'note',
|
|
513
518
|
* // You wouldn't normally set this field
|
|
@@ -518,6 +523,7 @@ class AlgorandClientTransactionSender {
|
|
|
518
523
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
519
524
|
* // already specified, but here for completeness
|
|
520
525
|
* maxFee: (3000).microAlgo(),
|
|
526
|
+
* rejectVersion: 1,
|
|
521
527
|
* // Signer only needed if you want to provide one,
|
|
522
528
|
* // generally you'd register it with AlgorandClient
|
|
523
529
|
* // against the sender and not need to pass it in
|
|
@@ -551,6 +557,7 @@ class AlgorandClientTransactionSender {
|
|
|
551
557
|
* appReferences: [123n, 1234n]
|
|
552
558
|
* assetReferences: [12345n]
|
|
553
559
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
560
|
+
* accessReferences: [{ appId: 1234n }]
|
|
554
561
|
* lease: 'lease',
|
|
555
562
|
* note: 'note',
|
|
556
563
|
* // You wouldn't normally set this field
|
|
@@ -561,6 +568,7 @@ class AlgorandClientTransactionSender {
|
|
|
561
568
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
562
569
|
* // already specified, but here for completeness
|
|
563
570
|
* maxFee: (3000).microAlgo(),
|
|
571
|
+
* rejectVersion: 1,
|
|
564
572
|
* // Signer only needed if you want to provide one,
|
|
565
573
|
* // generally you'd register it with AlgorandClient
|
|
566
574
|
* // against the sender and not need to pass it in
|
|
@@ -616,6 +624,7 @@ class AlgorandClientTransactionSender {
|
|
|
616
624
|
* appReferences: [123n, 1234n]
|
|
617
625
|
* assetReferences: [12345n]
|
|
618
626
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
627
|
+
* accessReferences: [{ appId: 1234n }]
|
|
619
628
|
* lease: 'lease',
|
|
620
629
|
* note: 'note',
|
|
621
630
|
* // You wouldn't normally set this field
|
|
@@ -626,6 +635,7 @@ class AlgorandClientTransactionSender {
|
|
|
626
635
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
627
636
|
* // already specified, but here for completeness
|
|
628
637
|
* maxFee: (3000).microAlgo(),
|
|
638
|
+
* rejectVersion: 1,
|
|
629
639
|
* // Signer only needed if you want to provide one,
|
|
630
640
|
* // generally you'd register it with AlgorandClient
|
|
631
641
|
* // against the sender and not need to pass it in
|
|
@@ -673,6 +683,7 @@ class AlgorandClientTransactionSender {
|
|
|
673
683
|
* appReferences: [123n, 1234n]
|
|
674
684
|
* assetReferences: [12345n]
|
|
675
685
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
686
|
+
* accessReferences: [{ appId: 1234n }]
|
|
676
687
|
* lease: 'lease',
|
|
677
688
|
* note: 'note',
|
|
678
689
|
* // You wouldn't normally set this field
|
|
@@ -683,6 +694,7 @@ class AlgorandClientTransactionSender {
|
|
|
683
694
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
684
695
|
* // already specified, but here for completeness
|
|
685
696
|
* maxFee: (3000).microAlgo(),
|
|
697
|
+
* rejectVersion: 1,
|
|
686
698
|
* // Signer only needed if you want to provide one,
|
|
687
699
|
* // generally you'd register it with AlgorandClient
|
|
688
700
|
* // against the sender and not need to pass it in
|
|
@@ -728,6 +740,7 @@ class AlgorandClientTransactionSender {
|
|
|
728
740
|
* appReferences: [123n, 1234n]
|
|
729
741
|
* assetReferences: [12345n]
|
|
730
742
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
743
|
+
* accessReferences: [{ appId: 1234n }]
|
|
731
744
|
* lease: 'lease',
|
|
732
745
|
* note: 'note',
|
|
733
746
|
* // You wouldn't normally set this field
|
|
@@ -738,6 +751,7 @@ class AlgorandClientTransactionSender {
|
|
|
738
751
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
739
752
|
* // already specified, but here for completeness
|
|
740
753
|
* maxFee: (3000).microAlgo(),
|
|
754
|
+
* rejectVersion: 1,
|
|
741
755
|
* // Signer only needed if you want to provide one,
|
|
742
756
|
* // generally you'd register it with AlgorandClient
|
|
743
757
|
* // against the sender and not need to pass it in
|
|
@@ -783,6 +797,7 @@ class AlgorandClientTransactionSender {
|
|
|
783
797
|
* appReferences: [123n, 1234n]
|
|
784
798
|
* assetReferences: [12345n]
|
|
785
799
|
* boxReferences: ["box1", {appId: 1234n, name: "box2"}]
|
|
800
|
+
* accessReferences: [{ appId: 1234n }]
|
|
786
801
|
* lease: 'lease',
|
|
787
802
|
* note: 'note',
|
|
788
803
|
* // You wouldn't normally set this field
|
|
@@ -793,6 +808,7 @@ class AlgorandClientTransactionSender {
|
|
|
793
808
|
* // Max fee doesn't make sense with extraFee AND staticFee
|
|
794
809
|
* // already specified, but here for completeness
|
|
795
810
|
* maxFee: (3000).microAlgo(),
|
|
811
|
+
* rejectVersion: 1,
|
|
796
812
|
* // Signer only needed if you want to provide one,
|
|
797
813
|
* // generally you'd register it with AlgorandClient
|
|
798
814
|
* // against the sender and not need to pass it in
|