@algorandfoundation/algokit-utils 10.0.0-alpha.5 → 10.0.0-alpha.7
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/block.d.ts +2 -2
- package/packages/algod_client/src/models/block.js +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs +1 -1
- package/packages/algod_client/src/models/block.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/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 +81 -81
- package/types/algorand-client-transaction-sender.d.ts +84 -84
- 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/app-spec.js +12 -5
- package/types/app-spec.js.map +1 -1
- package/types/app-spec.mjs +12 -5
- package/types/app-spec.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
|
/**
|
|
@@ -478,9 +478,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
478
478
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
479
479
|
*/
|
|
480
480
|
appCreate: (params: {
|
|
481
|
-
args?: Uint8Array[] | undefined;
|
|
482
|
-
sender: SendingAddress;
|
|
483
481
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
|
+
sender: SendingAddress;
|
|
484
483
|
rekeyTo?: ReadableAddress | undefined;
|
|
485
484
|
note?: string | Uint8Array | undefined;
|
|
486
485
|
lease?: string | Uint8Array | undefined;
|
|
@@ -490,12 +489,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
490
489
|
validityWindow?: number | bigint | undefined;
|
|
491
490
|
firstValidRound?: bigint | undefined;
|
|
492
491
|
lastValidRound?: bigint | undefined;
|
|
492
|
+
args?: Uint8Array[] | undefined;
|
|
493
493
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | 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;
|
|
@@ -746,8 +746,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
746
746
|
* @returns The result of the application ABI method create transaction and the transaction that was sent
|
|
747
747
|
*/
|
|
748
748
|
appCreateMethodCall: (params: {
|
|
749
|
-
sender: SendingAddress;
|
|
750
749
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
750
|
+
sender: SendingAddress;
|
|
751
751
|
rekeyTo?: ReadableAddress | undefined;
|
|
752
752
|
note?: string | Uint8Array | undefined;
|
|
753
753
|
lease?: string | Uint8Array | undefined;
|
|
@@ -757,25 +757,24 @@ 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;
|
|
762
|
+
extraProgramPages?: number | undefined;
|
|
760
763
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
761
764
|
accountReferences?: ReadableAddress[] | undefined;
|
|
762
765
|
appReferences?: bigint[] | undefined;
|
|
763
766
|
assetReferences?: bigint[] | undefined;
|
|
764
767
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
765
|
-
accessReferences?:
|
|
768
|
+
accessReferences?: ResourceReference[] | undefined;
|
|
766
769
|
rejectVersion?: number | undefined;
|
|
767
|
-
approvalProgram: string | Uint8Array;
|
|
768
|
-
clearStateProgram: string | Uint8Array;
|
|
769
770
|
schema?: {
|
|
770
771
|
globalInts: number;
|
|
771
772
|
globalByteSlices: number;
|
|
772
773
|
localInts: number;
|
|
773
774
|
localByteSlices: number;
|
|
774
775
|
} | undefined;
|
|
775
|
-
extraProgramPages?: number | undefined;
|
|
776
776
|
method: ABIMethod;
|
|
777
777
|
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
778
|
-
args?: Uint8Array[] | undefined;
|
|
779
778
|
sender: SendingAddress;
|
|
780
779
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
781
780
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -787,25 +786,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
787
786
|
validityWindow?: number | bigint | undefined;
|
|
788
787
|
firstValidRound?: bigint | undefined;
|
|
789
788
|
lastValidRound?: bigint | undefined;
|
|
790
|
-
|
|
789
|
+
appId: bigint;
|
|
790
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
791
|
+
args?: Uint8Array[] | 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
|
-
appId: bigint;
|
|
819
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
820
812
|
args?: Uint8Array[] | undefined;
|
|
813
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | 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.
|
|
@@ -884,9 +884,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
884
884
|
* @returns The result of the application ABI method update transaction and the transaction that was sent
|
|
885
885
|
*/
|
|
886
886
|
appUpdateMethodCall: (params: {
|
|
887
|
-
appId: bigint;
|
|
888
|
-
sender: SendingAddress;
|
|
889
887
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
888
|
+
sender: SendingAddress;
|
|
890
889
|
rekeyTo?: ReadableAddress | undefined;
|
|
891
890
|
note?: string | Uint8Array | undefined;
|
|
892
891
|
lease?: string | Uint8Array | undefined;
|
|
@@ -896,18 +895,18 @@ declare class AlgorandClientTransactionSender {
|
|
|
896
895
|
validityWindow?: number | bigint | undefined;
|
|
897
896
|
firstValidRound?: bigint | undefined;
|
|
898
897
|
lastValidRound?: bigint | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
911
910
|
sender: SendingAddress;
|
|
912
911
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
913
912
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -919,25 +918,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
919
918
|
validityWindow?: number | bigint | undefined;
|
|
920
919
|
firstValidRound?: bigint | undefined;
|
|
921
920
|
lastValidRound?: bigint | undefined;
|
|
922
|
-
|
|
921
|
+
appId: bigint;
|
|
922
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
923
|
+
args?: Uint8Array[] | 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
|
-
appId: bigint;
|
|
951
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
952
944
|
args?: Uint8Array[] | undefined;
|
|
945
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | 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.
|
|
@@ -1014,9 +1014,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1014
1014
|
* @returns The result of the application ABI method delete transaction and the transaction that was sent
|
|
1015
1015
|
*/
|
|
1016
1016
|
appDeleteMethodCall: (params: {
|
|
1017
|
-
appId: bigint;
|
|
1018
|
-
sender: SendingAddress;
|
|
1019
1017
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1018
|
+
sender: SendingAddress;
|
|
1020
1019
|
rekeyTo?: ReadableAddress | undefined;
|
|
1021
1020
|
note?: string | Uint8Array | undefined;
|
|
1022
1021
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1026,16 +1025,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
1026
1025
|
validityWindow?: number | bigint | undefined;
|
|
1027
1026
|
firstValidRound?: bigint | undefined;
|
|
1028
1027
|
lastValidRound?: bigint | undefined;
|
|
1028
|
+
appId: bigint;
|
|
1029
1029
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
1030
1030
|
accountReferences?: ReadableAddress[] | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
1039
1038
|
sender: SendingAddress;
|
|
1040
1039
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1041
1040
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -1047,25 +1046,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
1047
1046
|
validityWindow?: number | bigint | undefined;
|
|
1048
1047
|
firstValidRound?: bigint | undefined;
|
|
1049
1048
|
lastValidRound?: bigint | undefined;
|
|
1050
|
-
|
|
1049
|
+
appId: bigint;
|
|
1050
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1051
|
+
args?: Uint8Array[] | 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
|
-
appId: bigint;
|
|
1079
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1080
1072
|
args?: Uint8Array[] | undefined;
|
|
1073
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | 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.
|
|
@@ -1142,9 +1142,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
1142
1142
|
* @returns The result of the application ABI method call transaction and the transaction that was sent
|
|
1143
1143
|
*/
|
|
1144
1144
|
appCallMethodCall: (params: {
|
|
1145
|
-
appId: bigint;
|
|
1146
|
-
sender: SendingAddress;
|
|
1147
1145
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1146
|
+
sender: SendingAddress;
|
|
1148
1147
|
rekeyTo?: ReadableAddress | undefined;
|
|
1149
1148
|
note?: string | Uint8Array | undefined;
|
|
1150
1149
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1154,16 +1153,16 @@ declare class AlgorandClientTransactionSender {
|
|
|
1154
1153
|
validityWindow?: number | bigint | undefined;
|
|
1155
1154
|
firstValidRound?: bigint | undefined;
|
|
1156
1155
|
lastValidRound?: bigint | undefined;
|
|
1156
|
+
appId: bigint;
|
|
1157
1157
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
1158
1158
|
accountReferences?: ReadableAddress[] | undefined;
|
|
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
|
-
args?: Uint8Array[] | undefined;
|
|
1167
1166
|
sender: SendingAddress;
|
|
1168
1167
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1169
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -1175,25 +1174,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
1175
1174
|
validityWindow?: number | bigint | undefined;
|
|
1176
1175
|
firstValidRound?: bigint | undefined;
|
|
1177
1176
|
lastValidRound?: bigint | undefined;
|
|
1178
|
-
|
|
1177
|
+
appId: bigint;
|
|
1178
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1179
|
+
args?: Uint8Array[] | 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
|
-
appId: bigint;
|
|
1207
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1208
1200
|
args?: Uint8Array[] | undefined;
|
|
1201
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | 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.
|