@algorandfoundation/algokit-utils 10.0.0-alpha.4 → 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/application-state-schema.d.ts +2 -2
- package/packages/algod_client/src/models/application-state-schema.js +2 -2
- package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
- package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
- package/packages/algod_client/src/models/application-state-schema.mjs.map +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/indexer_client/src/models/application-state-schema.d.ts +2 -2
- package/packages/indexer_client/src/models/application-state-schema.js +2 -2
- package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
- package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
- package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
- package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
- package/packages/indexer_client/src/models/state-schema.js +2 -2
- package/packages/indexer_client/src/models/state-schema.js.map +1 -1
- package/packages/indexer_client/src/models/state-schema.mjs +2 -2
- package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
- package/packages/indexer_client/src/models/transaction.d.ts +2 -2
- package/packages/indexer_client/src/models/transaction.js +2 -2
- package/packages/indexer_client/src/models/transaction.js.map +1 -1
- package/packages/indexer_client/src/models/transaction.mjs +2 -2
- package/packages/indexer_client/src/models/transaction.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 +72 -72
- package/types/algorand-client-transaction-sender.d.ts +75 -75
- package/types/app-client.d.ts +115 -115
- package/types/app-factory.d.ts +64 -64
- 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, ABIReturn } 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 { PendingTransactionResponse } from "../packages/algod_client/src/models/pending-transaction-response.js";
|
|
@@ -236,7 +236,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
236
236
|
*/
|
|
237
237
|
assetFreeze: (params: CommonTransactionParams & {
|
|
238
238
|
assetId: bigint;
|
|
239
|
-
|
|
239
|
+
freezeTarget: ReadableAddress;
|
|
240
240
|
frozen: boolean;
|
|
241
241
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
242
242
|
/**
|
|
@@ -489,13 +489,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
489
489
|
validityWindow?: number | bigint | undefined;
|
|
490
490
|
firstValidRound?: bigint | undefined;
|
|
491
491
|
lastValidRound?: bigint | undefined;
|
|
492
|
-
args?: Uint8Array[] | undefined;
|
|
493
492
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
493
|
+
args?: Uint8Array[] | undefined;
|
|
494
494
|
accountReferences?: ReadableAddress[] | undefined;
|
|
495
495
|
appReferences?: bigint[] | undefined;
|
|
496
496
|
assetReferences?: bigint[] | undefined;
|
|
497
497
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
498
|
-
accessReferences?:
|
|
498
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
499
499
|
rejectVersion?: number | undefined;
|
|
500
500
|
approvalProgram: string | Uint8Array;
|
|
501
501
|
clearStateProgram: string | Uint8Array;
|
|
@@ -569,7 +569,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
569
569
|
appReferences?: bigint[] | undefined;
|
|
570
570
|
assetReferences?: bigint[] | undefined;
|
|
571
571
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
572
|
-
accessReferences?:
|
|
572
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
573
573
|
rejectVersion?: number | undefined;
|
|
574
574
|
approvalProgram: string | Uint8Array;
|
|
575
575
|
clearStateProgram: string | Uint8Array;
|
|
@@ -623,7 +623,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
623
623
|
appReferences?: bigint[] | undefined;
|
|
624
624
|
assetReferences?: bigint[] | undefined;
|
|
625
625
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
626
|
-
accessReferences?:
|
|
626
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
627
627
|
rejectVersion?: number | undefined;
|
|
628
628
|
} & {
|
|
629
629
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
@@ -677,7 +677,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
677
677
|
appReferences?: bigint[] | undefined;
|
|
678
678
|
assetReferences?: bigint[] | undefined;
|
|
679
679
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
680
|
-
accessReferences?:
|
|
680
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
681
681
|
rejectVersion?: number | undefined;
|
|
682
682
|
} & {
|
|
683
683
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.ClearState | OnApplicationComplete.DeleteApplication | undefined;
|
|
@@ -757,15 +757,15 @@ declare class AlgorandClientTransactionSender {
|
|
|
757
757
|
validityWindow?: number | bigint | undefined;
|
|
758
758
|
firstValidRound?: bigint | undefined;
|
|
759
759
|
lastValidRound?: bigint | undefined;
|
|
760
|
+
approvalProgram: string | Uint8Array;
|
|
761
|
+
clearStateProgram: string | Uint8Array;
|
|
760
762
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
761
763
|
accountReferences?: ReadableAddress[] | undefined;
|
|
762
764
|
appReferences?: bigint[] | undefined;
|
|
763
765
|
assetReferences?: bigint[] | undefined;
|
|
764
766
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
765
|
-
accessReferences?:
|
|
767
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
766
768
|
rejectVersion?: number | undefined;
|
|
767
|
-
approvalProgram: string | Uint8Array;
|
|
768
|
-
clearStateProgram: string | Uint8Array;
|
|
769
769
|
schema?: {
|
|
770
770
|
globalInts: number;
|
|
771
771
|
globalByteSlices: number;
|
|
@@ -775,8 +775,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
775
775
|
extraProgramPages?: number | undefined;
|
|
776
776
|
method: ABIMethod;
|
|
777
777
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
778
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
779
778
|
sender: SendingAddress;
|
|
779
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
780
780
|
rekeyTo?: ReadableAddress | undefined;
|
|
781
781
|
note?: string | Uint8Array | undefined;
|
|
782
782
|
lease?: string | Uint8Array | undefined;
|
|
@@ -786,26 +786,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
786
786
|
validityWindow?: number | bigint | undefined;
|
|
787
787
|
firstValidRound?: bigint | undefined;
|
|
788
788
|
lastValidRound?: bigint | undefined;
|
|
789
|
+
appId: bigint;
|
|
790
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
789
791
|
args?: Uint8Array[] | undefined;
|
|
790
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
791
792
|
accountReferences?: ReadableAddress[] | undefined;
|
|
792
793
|
appReferences?: bigint[] | undefined;
|
|
793
794
|
assetReferences?: bigint[] | undefined;
|
|
794
795
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
795
|
-
accessReferences?:
|
|
796
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
796
797
|
rejectVersion?: number | undefined;
|
|
797
798
|
approvalProgram: string | Uint8Array;
|
|
798
799
|
clearStateProgram: string | Uint8Array;
|
|
799
|
-
schema?: {
|
|
800
|
-
globalInts: number;
|
|
801
|
-
globalByteSlices: number;
|
|
802
|
-
localInts: number;
|
|
803
|
-
localByteSlices: number;
|
|
804
|
-
} | undefined;
|
|
805
|
-
extraProgramPages?: number | undefined;
|
|
806
800
|
}> | AppMethodCall<{
|
|
807
|
-
sender: SendingAddress;
|
|
808
801
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
802
|
+
sender: SendingAddress;
|
|
809
803
|
rekeyTo?: ReadableAddress | undefined;
|
|
810
804
|
note?: string | Uint8Array | undefined;
|
|
811
805
|
lease?: string | Uint8Array | undefined;
|
|
@@ -815,18 +809,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
815
809
|
validityWindow?: number | bigint | undefined;
|
|
816
810
|
firstValidRound?: bigint | undefined;
|
|
817
811
|
lastValidRound?: bigint | undefined;
|
|
818
|
-
|
|
819
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
812
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
820
813
|
args?: Uint8Array[] | undefined;
|
|
821
814
|
accountReferences?: ReadableAddress[] | undefined;
|
|
822
815
|
appReferences?: bigint[] | undefined;
|
|
823
816
|
assetReferences?: bigint[] | undefined;
|
|
824
817
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
825
|
-
accessReferences?:
|
|
818
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
826
819
|
rejectVersion?: number | undefined;
|
|
827
820
|
approvalProgram: string | Uint8Array;
|
|
828
821
|
clearStateProgram: string | Uint8Array;
|
|
829
|
-
|
|
822
|
+
schema?: {
|
|
823
|
+
globalInts: number;
|
|
824
|
+
globalByteSlices: number;
|
|
825
|
+
localInts: number;
|
|
826
|
+
localByteSlices: number;
|
|
827
|
+
} | undefined;
|
|
828
|
+
extraProgramPages?: number | undefined;
|
|
829
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
830
830
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
831
831
|
/**
|
|
832
832
|
* Update a smart contract via an ABI method.
|
|
@@ -896,19 +896,19 @@ declare class AlgorandClientTransactionSender {
|
|
|
896
896
|
firstValidRound?: bigint | undefined;
|
|
897
897
|
lastValidRound?: bigint | undefined;
|
|
898
898
|
appId: bigint;
|
|
899
|
+
approvalProgram: string | Uint8Array;
|
|
900
|
+
clearStateProgram: string | Uint8Array;
|
|
899
901
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
900
902
|
accountReferences?: ReadableAddress[] | undefined;
|
|
901
903
|
appReferences?: bigint[] | undefined;
|
|
902
904
|
assetReferences?: bigint[] | undefined;
|
|
903
905
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
904
|
-
accessReferences?:
|
|
906
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
905
907
|
rejectVersion?: number | undefined;
|
|
906
|
-
approvalProgram: string | Uint8Array;
|
|
907
|
-
clearStateProgram: string | Uint8Array;
|
|
908
908
|
method: ABIMethod;
|
|
909
909
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
910
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
911
910
|
sender: SendingAddress;
|
|
911
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
912
912
|
rekeyTo?: ReadableAddress | undefined;
|
|
913
913
|
note?: string | Uint8Array | undefined;
|
|
914
914
|
lease?: string | Uint8Array | undefined;
|
|
@@ -918,26 +918,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
918
918
|
validityWindow?: number | bigint | undefined;
|
|
919
919
|
firstValidRound?: bigint | undefined;
|
|
920
920
|
lastValidRound?: bigint | undefined;
|
|
921
|
+
appId: bigint;
|
|
922
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
921
923
|
args?: Uint8Array[] | undefined;
|
|
922
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
923
924
|
accountReferences?: ReadableAddress[] | undefined;
|
|
924
925
|
appReferences?: bigint[] | undefined;
|
|
925
926
|
assetReferences?: bigint[] | undefined;
|
|
926
927
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
927
|
-
accessReferences?:
|
|
928
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
928
929
|
rejectVersion?: number | undefined;
|
|
929
930
|
approvalProgram: string | Uint8Array;
|
|
930
931
|
clearStateProgram: string | Uint8Array;
|
|
931
|
-
schema?: {
|
|
932
|
-
globalInts: number;
|
|
933
|
-
globalByteSlices: number;
|
|
934
|
-
localInts: number;
|
|
935
|
-
localByteSlices: number;
|
|
936
|
-
} | undefined;
|
|
937
|
-
extraProgramPages?: number | undefined;
|
|
938
932
|
}> | AppMethodCall<{
|
|
939
|
-
sender: SendingAddress;
|
|
940
933
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
934
|
+
sender: SendingAddress;
|
|
941
935
|
rekeyTo?: ReadableAddress | undefined;
|
|
942
936
|
note?: string | Uint8Array | undefined;
|
|
943
937
|
lease?: string | Uint8Array | undefined;
|
|
@@ -947,18 +941,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
947
941
|
validityWindow?: number | bigint | undefined;
|
|
948
942
|
firstValidRound?: bigint | undefined;
|
|
949
943
|
lastValidRound?: bigint | undefined;
|
|
950
|
-
|
|
951
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
944
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
952
945
|
args?: Uint8Array[] | undefined;
|
|
953
946
|
accountReferences?: ReadableAddress[] | undefined;
|
|
954
947
|
appReferences?: bigint[] | undefined;
|
|
955
948
|
assetReferences?: bigint[] | undefined;
|
|
956
949
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
957
|
-
accessReferences?:
|
|
950
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
958
951
|
rejectVersion?: number | undefined;
|
|
959
952
|
approvalProgram: string | Uint8Array;
|
|
960
953
|
clearStateProgram: string | Uint8Array;
|
|
961
|
-
|
|
954
|
+
schema?: {
|
|
955
|
+
globalInts: number;
|
|
956
|
+
globalByteSlices: number;
|
|
957
|
+
localInts: number;
|
|
958
|
+
localByteSlices: number;
|
|
959
|
+
} | undefined;
|
|
960
|
+
extraProgramPages?: number | undefined;
|
|
961
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
962
962
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
963
963
|
/**
|
|
964
964
|
* Delete a smart contract via an ABI method.
|
|
@@ -1031,12 +1031,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1031
1031
|
appReferences?: bigint[] | undefined;
|
|
1032
1032
|
assetReferences?: bigint[] | undefined;
|
|
1033
1033
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1034
|
-
accessReferences?:
|
|
1034
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1035
1035
|
rejectVersion?: number | undefined;
|
|
1036
1036
|
method: ABIMethod;
|
|
1037
1037
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1038
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1039
1038
|
sender: SendingAddress;
|
|
1039
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1040
1040
|
rekeyTo?: ReadableAddress | undefined;
|
|
1041
1041
|
note?: string | Uint8Array | undefined;
|
|
1042
1042
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1046,26 +1046,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
1046
1046
|
validityWindow?: number | bigint | undefined;
|
|
1047
1047
|
firstValidRound?: bigint | undefined;
|
|
1048
1048
|
lastValidRound?: bigint | undefined;
|
|
1049
|
+
appId: bigint;
|
|
1050
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1049
1051
|
args?: Uint8Array[] | undefined;
|
|
1050
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1051
1052
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1052
1053
|
appReferences?: bigint[] | undefined;
|
|
1053
1054
|
assetReferences?: bigint[] | undefined;
|
|
1054
1055
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1055
|
-
accessReferences?:
|
|
1056
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1056
1057
|
rejectVersion?: number | undefined;
|
|
1057
1058
|
approvalProgram: string | Uint8Array;
|
|
1058
1059
|
clearStateProgram: string | Uint8Array;
|
|
1059
|
-
schema?: {
|
|
1060
|
-
globalInts: number;
|
|
1061
|
-
globalByteSlices: number;
|
|
1062
|
-
localInts: number;
|
|
1063
|
-
localByteSlices: number;
|
|
1064
|
-
} | undefined;
|
|
1065
|
-
extraProgramPages?: number | undefined;
|
|
1066
1060
|
}> | AppMethodCall<{
|
|
1067
|
-
sender: SendingAddress;
|
|
1068
1061
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1062
|
+
sender: SendingAddress;
|
|
1069
1063
|
rekeyTo?: ReadableAddress | undefined;
|
|
1070
1064
|
note?: string | Uint8Array | undefined;
|
|
1071
1065
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1075,18 +1069,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1075
1069
|
validityWindow?: number | bigint | undefined;
|
|
1076
1070
|
firstValidRound?: bigint | undefined;
|
|
1077
1071
|
lastValidRound?: bigint | undefined;
|
|
1078
|
-
|
|
1079
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1072
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1080
1073
|
args?: Uint8Array[] | undefined;
|
|
1081
1074
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1082
1075
|
appReferences?: bigint[] | undefined;
|
|
1083
1076
|
assetReferences?: bigint[] | undefined;
|
|
1084
1077
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1085
|
-
accessReferences?:
|
|
1078
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1086
1079
|
rejectVersion?: number | undefined;
|
|
1087
1080
|
approvalProgram: string | Uint8Array;
|
|
1088
1081
|
clearStateProgram: string | Uint8Array;
|
|
1089
|
-
|
|
1082
|
+
schema?: {
|
|
1083
|
+
globalInts: number;
|
|
1084
|
+
globalByteSlices: number;
|
|
1085
|
+
localInts: number;
|
|
1086
|
+
localByteSlices: number;
|
|
1087
|
+
} | undefined;
|
|
1088
|
+
extraProgramPages?: number | undefined;
|
|
1089
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1090
1090
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Call a smart contract via an ABI method.
|
|
@@ -1159,12 +1159,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1159
1159
|
appReferences?: bigint[] | undefined;
|
|
1160
1160
|
assetReferences?: bigint[] | undefined;
|
|
1161
1161
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1162
|
-
accessReferences?:
|
|
1162
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1163
1163
|
rejectVersion?: number | undefined;
|
|
1164
1164
|
method: ABIMethod;
|
|
1165
1165
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
1166
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1167
1166
|
sender: SendingAddress;
|
|
1167
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1168
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
1169
1169
|
note?: string | Uint8Array | undefined;
|
|
1170
1170
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1174,26 +1174,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
1174
1174
|
validityWindow?: number | bigint | undefined;
|
|
1175
1175
|
firstValidRound?: bigint | undefined;
|
|
1176
1176
|
lastValidRound?: bigint | undefined;
|
|
1177
|
+
appId: bigint;
|
|
1178
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1177
1179
|
args?: Uint8Array[] | undefined;
|
|
1178
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1179
1180
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1180
1181
|
appReferences?: bigint[] | undefined;
|
|
1181
1182
|
assetReferences?: bigint[] | undefined;
|
|
1182
1183
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1183
|
-
accessReferences?:
|
|
1184
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1184
1185
|
rejectVersion?: number | undefined;
|
|
1185
1186
|
approvalProgram: string | Uint8Array;
|
|
1186
1187
|
clearStateProgram: string | Uint8Array;
|
|
1187
|
-
schema?: {
|
|
1188
|
-
globalInts: number;
|
|
1189
|
-
globalByteSlices: number;
|
|
1190
|
-
localInts: number;
|
|
1191
|
-
localByteSlices: number;
|
|
1192
|
-
} | undefined;
|
|
1193
|
-
extraProgramPages?: number | undefined;
|
|
1194
1188
|
}> | AppMethodCall<{
|
|
1195
|
-
sender: SendingAddress;
|
|
1196
1189
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1190
|
+
sender: SendingAddress;
|
|
1197
1191
|
rekeyTo?: ReadableAddress | undefined;
|
|
1198
1192
|
note?: string | Uint8Array | undefined;
|
|
1199
1193
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1203,18 +1197,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1203
1197
|
validityWindow?: number | bigint | undefined;
|
|
1204
1198
|
firstValidRound?: bigint | undefined;
|
|
1205
1199
|
lastValidRound?: bigint | undefined;
|
|
1206
|
-
|
|
1207
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1200
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1208
1201
|
args?: Uint8Array[] | undefined;
|
|
1209
1202
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1210
1203
|
appReferences?: bigint[] | undefined;
|
|
1211
1204
|
assetReferences?: bigint[] | undefined;
|
|
1212
1205
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1213
|
-
accessReferences?:
|
|
1206
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
1214
1207
|
rejectVersion?: number | undefined;
|
|
1215
1208
|
approvalProgram: string | Uint8Array;
|
|
1216
1209
|
clearStateProgram: string | Uint8Array;
|
|
1217
|
-
|
|
1210
|
+
schema?: {
|
|
1211
|
+
globalInts: number;
|
|
1212
|
+
globalByteSlices: number;
|
|
1213
|
+
localInts: number;
|
|
1214
|
+
localByteSlices: number;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
extraProgramPages?: number | undefined;
|
|
1217
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1218
1218
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Register an online key.
|