@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReadableAddress } from "../packages/common/src/address.js";
|
|
2
2
|
import { ABIValue } from "../packages/abi/src/abi-value.js";
|
|
3
3
|
import { ABIMethod } from "../packages/abi/src/abi-method.js";
|
|
4
|
-
import {
|
|
4
|
+
import { OnApplicationComplete, ResourceReference } from "../packages/transact/src/transactions/app-call.js";
|
|
5
5
|
import { Transaction } from "../packages/transact/src/transactions/transaction.js";
|
|
6
6
|
import { AddressWithTransactionSigner, SendingAddress, TransactionSigner } from "../packages/transact/src/signer.js";
|
|
7
7
|
import { AlgoAmount } from "./amount.js";
|
|
@@ -347,9 +347,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
347
347
|
* @returns The application create transaction
|
|
348
348
|
*/
|
|
349
349
|
appCreate: (params: {
|
|
350
|
-
args?: Uint8Array[] | undefined;
|
|
351
|
-
sender: SendingAddress;
|
|
352
350
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
|
+
sender: SendingAddress;
|
|
353
352
|
rekeyTo?: ReadableAddress | undefined;
|
|
354
353
|
note?: string | Uint8Array | undefined;
|
|
355
354
|
lease?: string | Uint8Array | undefined;
|
|
@@ -360,11 +359,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
360
359
|
firstValidRound?: bigint | undefined;
|
|
361
360
|
lastValidRound?: bigint | undefined;
|
|
362
361
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
362
|
+
args?: Uint8Array[] | undefined;
|
|
363
363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
364
364
|
appReferences?: bigint[] | undefined;
|
|
365
365
|
assetReferences?: bigint[] | undefined;
|
|
366
366
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
367
|
-
accessReferences?:
|
|
367
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
368
368
|
rejectVersion?: number | undefined;
|
|
369
369
|
approvalProgram: string | Uint8Array;
|
|
370
370
|
clearStateProgram: string | Uint8Array;
|
|
@@ -431,7 +431,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
431
431
|
appReferences?: bigint[] | undefined;
|
|
432
432
|
assetReferences?: bigint[] | undefined;
|
|
433
433
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
434
|
-
accessReferences?:
|
|
434
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
435
435
|
rejectVersion?: number | undefined;
|
|
436
436
|
approvalProgram: string | Uint8Array;
|
|
437
437
|
clearStateProgram: string | Uint8Array;
|
|
@@ -562,8 +562,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
562
562
|
* @returns The application ABI method create transaction
|
|
563
563
|
*/
|
|
564
564
|
appCreateMethodCall: (params: {
|
|
565
|
-
sender: SendingAddress;
|
|
566
565
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
566
|
+
sender: SendingAddress;
|
|
567
567
|
rekeyTo?: ReadableAddress | undefined;
|
|
568
568
|
note?: string | Uint8Array | undefined;
|
|
569
569
|
lease?: string | Uint8Array | undefined;
|
|
@@ -573,15 +573,15 @@ declare class AlgorandClientTransactionCreator {
|
|
|
573
573
|
validityWindow?: number | bigint | undefined;
|
|
574
574
|
firstValidRound?: bigint | undefined;
|
|
575
575
|
lastValidRound?: bigint | undefined;
|
|
576
|
+
approvalProgram: string | Uint8Array;
|
|
577
|
+
clearStateProgram: string | Uint8Array;
|
|
576
578
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
577
579
|
accountReferences?: ReadableAddress[] | undefined;
|
|
578
580
|
appReferences?: bigint[] | undefined;
|
|
579
581
|
assetReferences?: bigint[] | undefined;
|
|
580
582
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
581
|
-
accessReferences?:
|
|
583
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
582
584
|
rejectVersion?: number | undefined;
|
|
583
|
-
approvalProgram: string | Uint8Array;
|
|
584
|
-
clearStateProgram: string | Uint8Array;
|
|
585
585
|
schema?: {
|
|
586
586
|
globalInts: number;
|
|
587
587
|
globalByteSlices: number;
|
|
@@ -591,7 +591,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
591
591
|
extraProgramPages?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
593
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
594
|
-
args?: Uint8Array[] | undefined;
|
|
595
594
|
sender: SendingAddress;
|
|
596
595
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
597
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -603,25 +602,20 @@ declare class AlgorandClientTransactionCreator {
|
|
|
603
602
|
validityWindow?: number | bigint | undefined;
|
|
604
603
|
firstValidRound?: bigint | undefined;
|
|
605
604
|
lastValidRound?: bigint | undefined;
|
|
606
|
-
|
|
605
|
+
appId: bigint;
|
|
606
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
607
|
+
args?: Uint8Array[] | undefined;
|
|
607
608
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
609
|
appReferences?: bigint[] | undefined;
|
|
609
610
|
assetReferences?: bigint[] | undefined;
|
|
610
611
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
611
|
-
accessReferences?:
|
|
612
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
612
613
|
rejectVersion?: number | undefined;
|
|
613
614
|
approvalProgram: string | Uint8Array;
|
|
614
615
|
clearStateProgram: string | Uint8Array;
|
|
615
|
-
schema?: {
|
|
616
|
-
globalInts: number;
|
|
617
|
-
globalByteSlices: number;
|
|
618
|
-
localInts: number;
|
|
619
|
-
localByteSlices: number;
|
|
620
|
-
} | undefined;
|
|
621
|
-
extraProgramPages?: number | undefined;
|
|
622
616
|
}> | AppMethodCall<{
|
|
623
|
-
sender: SendingAddress;
|
|
624
617
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
618
|
+
sender: SendingAddress;
|
|
625
619
|
rekeyTo?: ReadableAddress | undefined;
|
|
626
620
|
note?: string | Uint8Array | undefined;
|
|
627
621
|
lease?: string | Uint8Array | undefined;
|
|
@@ -631,18 +625,24 @@ declare class AlgorandClientTransactionCreator {
|
|
|
631
625
|
validityWindow?: number | bigint | undefined;
|
|
632
626
|
firstValidRound?: bigint | undefined;
|
|
633
627
|
lastValidRound?: bigint | undefined;
|
|
634
|
-
|
|
635
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
628
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
636
629
|
args?: Uint8Array[] | undefined;
|
|
637
630
|
accountReferences?: ReadableAddress[] | undefined;
|
|
638
631
|
appReferences?: bigint[] | undefined;
|
|
639
632
|
assetReferences?: bigint[] | undefined;
|
|
640
633
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
641
|
-
accessReferences?:
|
|
634
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
642
635
|
rejectVersion?: number | undefined;
|
|
643
636
|
approvalProgram: string | Uint8Array;
|
|
644
637
|
clearStateProgram: string | Uint8Array;
|
|
645
|
-
|
|
638
|
+
schema?: {
|
|
639
|
+
globalInts: number;
|
|
640
|
+
globalByteSlices: number;
|
|
641
|
+
localInts: number;
|
|
642
|
+
localByteSlices: number;
|
|
643
|
+
} | undefined;
|
|
644
|
+
extraProgramPages?: number | undefined;
|
|
645
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
646
646
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
647
647
|
/** Create an application update call with ABI method call transaction.
|
|
648
648
|
*
|
|
@@ -693,9 +693,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
693
693
|
* @returns The application ABI method update transaction
|
|
694
694
|
*/
|
|
695
695
|
appUpdateMethodCall: (params: {
|
|
696
|
-
appId: bigint;
|
|
697
|
-
sender: SendingAddress;
|
|
698
696
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
697
|
+
sender: SendingAddress;
|
|
699
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
700
699
|
note?: string | Uint8Array | undefined;
|
|
701
700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -705,18 +704,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
705
704
|
validityWindow?: number | bigint | undefined;
|
|
706
705
|
firstValidRound?: bigint | undefined;
|
|
707
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
+
appId: bigint;
|
|
708
|
+
approvalProgram: string | Uint8Array;
|
|
709
|
+
clearStateProgram: string | Uint8Array;
|
|
708
710
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
709
711
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
712
|
appReferences?: bigint[] | undefined;
|
|
711
713
|
assetReferences?: bigint[] | undefined;
|
|
712
714
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
713
|
-
accessReferences?:
|
|
715
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
714
716
|
rejectVersion?: number | undefined;
|
|
715
|
-
approvalProgram: string | Uint8Array;
|
|
716
|
-
clearStateProgram: string | Uint8Array;
|
|
717
717
|
method: ABIMethod;
|
|
718
718
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
719
|
-
args?: Uint8Array[] | undefined;
|
|
720
719
|
sender: SendingAddress;
|
|
721
720
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
722
721
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -728,25 +727,20 @@ declare class AlgorandClientTransactionCreator {
|
|
|
728
727
|
validityWindow?: number | bigint | undefined;
|
|
729
728
|
firstValidRound?: bigint | undefined;
|
|
730
729
|
lastValidRound?: bigint | undefined;
|
|
731
|
-
|
|
730
|
+
appId: bigint;
|
|
731
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
732
|
+
args?: Uint8Array[] | undefined;
|
|
732
733
|
accountReferences?: ReadableAddress[] | undefined;
|
|
733
734
|
appReferences?: bigint[] | undefined;
|
|
734
735
|
assetReferences?: bigint[] | undefined;
|
|
735
736
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
736
|
-
accessReferences?:
|
|
737
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
737
738
|
rejectVersion?: number | undefined;
|
|
738
739
|
approvalProgram: string | Uint8Array;
|
|
739
740
|
clearStateProgram: string | Uint8Array;
|
|
740
|
-
schema?: {
|
|
741
|
-
globalInts: number;
|
|
742
|
-
globalByteSlices: number;
|
|
743
|
-
localInts: number;
|
|
744
|
-
localByteSlices: number;
|
|
745
|
-
} | undefined;
|
|
746
|
-
extraProgramPages?: number | undefined;
|
|
747
741
|
}> | AppMethodCall<{
|
|
748
|
-
sender: SendingAddress;
|
|
749
742
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
743
|
+
sender: SendingAddress;
|
|
750
744
|
rekeyTo?: ReadableAddress | undefined;
|
|
751
745
|
note?: string | Uint8Array | undefined;
|
|
752
746
|
lease?: string | Uint8Array | undefined;
|
|
@@ -756,18 +750,24 @@ declare class AlgorandClientTransactionCreator {
|
|
|
756
750
|
validityWindow?: number | bigint | undefined;
|
|
757
751
|
firstValidRound?: bigint | undefined;
|
|
758
752
|
lastValidRound?: bigint | undefined;
|
|
759
|
-
|
|
760
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
753
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
761
754
|
args?: Uint8Array[] | undefined;
|
|
762
755
|
accountReferences?: ReadableAddress[] | undefined;
|
|
763
756
|
appReferences?: bigint[] | undefined;
|
|
764
757
|
assetReferences?: bigint[] | undefined;
|
|
765
758
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
766
|
-
accessReferences?:
|
|
759
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
767
760
|
rejectVersion?: number | undefined;
|
|
768
761
|
approvalProgram: string | Uint8Array;
|
|
769
762
|
clearStateProgram: string | Uint8Array;
|
|
770
|
-
|
|
763
|
+
schema?: {
|
|
764
|
+
globalInts: number;
|
|
765
|
+
globalByteSlices: number;
|
|
766
|
+
localInts: number;
|
|
767
|
+
localByteSlices: number;
|
|
768
|
+
} | undefined;
|
|
769
|
+
extraProgramPages?: number | undefined;
|
|
770
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
771
771
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
772
772
|
/** Create an application delete call with ABI method call transaction.
|
|
773
773
|
*
|
|
@@ -816,9 +816,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
816
816
|
* @returns The application ABI method delete transaction
|
|
817
817
|
*/
|
|
818
818
|
appDeleteMethodCall: (params: {
|
|
819
|
-
appId: bigint;
|
|
820
|
-
sender: SendingAddress;
|
|
821
819
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
820
|
+
sender: SendingAddress;
|
|
822
821
|
rekeyTo?: ReadableAddress | undefined;
|
|
823
822
|
note?: string | Uint8Array | undefined;
|
|
824
823
|
lease?: string | Uint8Array | undefined;
|
|
@@ -828,16 +827,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
828
827
|
validityWindow?: number | bigint | undefined;
|
|
829
828
|
firstValidRound?: bigint | undefined;
|
|
830
829
|
lastValidRound?: bigint | undefined;
|
|
830
|
+
appId: bigint;
|
|
831
831
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
832
832
|
accountReferences?: ReadableAddress[] | undefined;
|
|
833
833
|
appReferences?: bigint[] | undefined;
|
|
834
834
|
assetReferences?: bigint[] | undefined;
|
|
835
835
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
836
|
-
accessReferences?:
|
|
836
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
837
837
|
rejectVersion?: number | undefined;
|
|
838
838
|
method: ABIMethod;
|
|
839
839
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
840
|
-
args?: Uint8Array[] | undefined;
|
|
841
840
|
sender: SendingAddress;
|
|
842
841
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
843
842
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -849,25 +848,20 @@ declare class AlgorandClientTransactionCreator {
|
|
|
849
848
|
validityWindow?: number | bigint | undefined;
|
|
850
849
|
firstValidRound?: bigint | undefined;
|
|
851
850
|
lastValidRound?: bigint | undefined;
|
|
852
|
-
|
|
851
|
+
appId: bigint;
|
|
852
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
853
|
+
args?: Uint8Array[] | undefined;
|
|
853
854
|
accountReferences?: ReadableAddress[] | undefined;
|
|
854
855
|
appReferences?: bigint[] | undefined;
|
|
855
856
|
assetReferences?: bigint[] | undefined;
|
|
856
857
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
857
|
-
accessReferences?:
|
|
858
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
858
859
|
rejectVersion?: number | undefined;
|
|
859
860
|
approvalProgram: string | Uint8Array;
|
|
860
861
|
clearStateProgram: string | Uint8Array;
|
|
861
|
-
schema?: {
|
|
862
|
-
globalInts: number;
|
|
863
|
-
globalByteSlices: number;
|
|
864
|
-
localInts: number;
|
|
865
|
-
localByteSlices: number;
|
|
866
|
-
} | undefined;
|
|
867
|
-
extraProgramPages?: number | undefined;
|
|
868
862
|
}> | AppMethodCall<{
|
|
869
|
-
sender: SendingAddress;
|
|
870
863
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
864
|
+
sender: SendingAddress;
|
|
871
865
|
rekeyTo?: ReadableAddress | undefined;
|
|
872
866
|
note?: string | Uint8Array | undefined;
|
|
873
867
|
lease?: string | Uint8Array | undefined;
|
|
@@ -877,18 +871,24 @@ declare class AlgorandClientTransactionCreator {
|
|
|
877
871
|
validityWindow?: number | bigint | undefined;
|
|
878
872
|
firstValidRound?: bigint | undefined;
|
|
879
873
|
lastValidRound?: bigint | undefined;
|
|
880
|
-
|
|
881
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
874
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
882
875
|
args?: Uint8Array[] | undefined;
|
|
883
876
|
accountReferences?: ReadableAddress[] | undefined;
|
|
884
877
|
appReferences?: bigint[] | undefined;
|
|
885
878
|
assetReferences?: bigint[] | undefined;
|
|
886
879
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
887
|
-
accessReferences?:
|
|
880
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
888
881
|
rejectVersion?: number | undefined;
|
|
889
882
|
approvalProgram: string | Uint8Array;
|
|
890
883
|
clearStateProgram: string | Uint8Array;
|
|
891
|
-
|
|
884
|
+
schema?: {
|
|
885
|
+
globalInts: number;
|
|
886
|
+
globalByteSlices: number;
|
|
887
|
+
localInts: number;
|
|
888
|
+
localByteSlices: number;
|
|
889
|
+
} | undefined;
|
|
890
|
+
extraProgramPages?: number | undefined;
|
|
891
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
892
892
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
893
893
|
/** Create an application call with ABI method call transaction.
|
|
894
894
|
*
|
|
@@ -937,9 +937,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
937
937
|
* @returns The application ABI method call transaction
|
|
938
938
|
*/
|
|
939
939
|
appCallMethodCall: (params: {
|
|
940
|
-
appId: bigint;
|
|
941
|
-
sender: SendingAddress;
|
|
942
940
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
941
|
+
sender: SendingAddress;
|
|
943
942
|
rekeyTo?: ReadableAddress | undefined;
|
|
944
943
|
note?: string | Uint8Array | undefined;
|
|
945
944
|
lease?: string | Uint8Array | undefined;
|
|
@@ -949,16 +948,16 @@ declare class AlgorandClientTransactionCreator {
|
|
|
949
948
|
validityWindow?: number | bigint | undefined;
|
|
950
949
|
firstValidRound?: bigint | undefined;
|
|
951
950
|
lastValidRound?: bigint | undefined;
|
|
951
|
+
appId: bigint;
|
|
952
952
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
953
953
|
accountReferences?: ReadableAddress[] | undefined;
|
|
954
954
|
appReferences?: bigint[] | undefined;
|
|
955
955
|
assetReferences?: bigint[] | undefined;
|
|
956
956
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
957
|
-
accessReferences?:
|
|
957
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
958
958
|
rejectVersion?: number | undefined;
|
|
959
959
|
method: ABIMethod;
|
|
960
960
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
961
|
-
args?: Uint8Array[] | undefined;
|
|
962
961
|
sender: SendingAddress;
|
|
963
962
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
964
963
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -970,25 +969,20 @@ declare class AlgorandClientTransactionCreator {
|
|
|
970
969
|
validityWindow?: number | bigint | undefined;
|
|
971
970
|
firstValidRound?: bigint | undefined;
|
|
972
971
|
lastValidRound?: bigint | undefined;
|
|
973
|
-
|
|
972
|
+
appId: bigint;
|
|
973
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
974
|
+
args?: Uint8Array[] | undefined;
|
|
974
975
|
accountReferences?: ReadableAddress[] | undefined;
|
|
975
976
|
appReferences?: bigint[] | undefined;
|
|
976
977
|
assetReferences?: bigint[] | undefined;
|
|
977
978
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
978
|
-
accessReferences?:
|
|
979
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
979
980
|
rejectVersion?: number | undefined;
|
|
980
981
|
approvalProgram: string | Uint8Array;
|
|
981
982
|
clearStateProgram: string | Uint8Array;
|
|
982
|
-
schema?: {
|
|
983
|
-
globalInts: number;
|
|
984
|
-
globalByteSlices: number;
|
|
985
|
-
localInts: number;
|
|
986
|
-
localByteSlices: number;
|
|
987
|
-
} | undefined;
|
|
988
|
-
extraProgramPages?: number | undefined;
|
|
989
983
|
}> | AppMethodCall<{
|
|
990
|
-
sender: SendingAddress;
|
|
991
984
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
985
|
+
sender: SendingAddress;
|
|
992
986
|
rekeyTo?: ReadableAddress | undefined;
|
|
993
987
|
note?: string | Uint8Array | undefined;
|
|
994
988
|
lease?: string | Uint8Array | undefined;
|
|
@@ -998,18 +992,24 @@ declare class AlgorandClientTransactionCreator {
|
|
|
998
992
|
validityWindow?: number | bigint | undefined;
|
|
999
993
|
firstValidRound?: bigint | undefined;
|
|
1000
994
|
lastValidRound?: bigint | undefined;
|
|
1001
|
-
|
|
1002
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
995
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1003
996
|
args?: Uint8Array[] | undefined;
|
|
1004
997
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1005
998
|
appReferences?: bigint[] | undefined;
|
|
1006
999
|
assetReferences?: bigint[] | undefined;
|
|
1007
1000
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1008
|
-
accessReferences?:
|
|
1001
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1009
1002
|
rejectVersion?: number | undefined;
|
|
1010
1003
|
approvalProgram: string | Uint8Array;
|
|
1011
1004
|
clearStateProgram: string | Uint8Array;
|
|
1012
|
-
|
|
1005
|
+
schema?: {
|
|
1006
|
+
globalInts: number;
|
|
1007
|
+
globalByteSlices: number;
|
|
1008
|
+
localInts: number;
|
|
1009
|
+
localByteSlices: number;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
extraProgramPages?: number | undefined;
|
|
1012
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1013
1013
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Create an online key registration transaction.
|