@algorandfoundation/algokit-utils 10.0.0-alpha.12 → 10.0.0-alpha.14
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 +2 -3
- package/algod-client/index.js +2 -5
- package/algod-client/index.mjs +2 -2
- package/indexer-client/index.d.ts +1 -2
- package/indexer-client/index.js +0 -5
- package/indexer-client/index.mjs +1 -2
- package/kmd-client/index.d.ts +1 -2
- package/kmd-client/index.js +0 -5
- package/kmd-client/index.mjs +1 -2
- package/package.json +1 -1
- package/packages/algod_client/src/apis/api-service.js +2 -2
- package/packages/algod_client/src/apis/api-service.mjs +2 -2
- package/packages/algod_client/src/core/model-runtime.js +2 -2
- package/packages/algod_client/src/core/model-runtime.js.map +1 -1
- package/packages/algod_client/src/core/model-runtime.mjs +2 -2
- package/packages/algod_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/algod_client/src/models/simulate-request.js +1 -1
- package/packages/algod_client/src/models/simulate-request.mjs +1 -1
- package/packages/algod_client/src/models/simulate-response.d.ts +2 -1
- package/packages/algod_client/src/models/simulate-response.js +6 -1
- package/packages/algod_client/src/models/simulate-response.js.map +1 -1
- package/packages/algod_client/src/models/simulate-response.mjs +6 -2
- package/packages/algod_client/src/models/simulate-response.mjs.map +1 -1
- package/packages/indexer_client/src/core/model-runtime.js +0 -15
- package/packages/indexer_client/src/core/model-runtime.js.map +1 -1
- package/packages/indexer_client/src/core/model-runtime.mjs +1 -13
- package/packages/indexer_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/kmd_client/src/core/model-runtime.js +2 -12
- package/packages/kmd_client/src/core/model-runtime.js.map +1 -1
- package/packages/kmd_client/src/core/model-runtime.mjs +3 -11
- package/packages/kmd_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/transact/src/transactions/app-call.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.js.map +1 -1
- package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
- package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
- package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
- package/packages/transact/src/transactions/key-registration.d.ts +1 -8
- package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
- package/packages/transact/src/transactions/signed-transaction.js +1 -1
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +5 -1
- package/packages/transact/src/transactions/transaction.js +0 -1
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +0 -1
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/transact/index.d.ts +9 -9
- package/transact/index.js +3 -10
- package/transact/index.mjs +5 -9
- package/transactions/app-call.d.ts +1 -1
- package/transactions/app-call.js.map +1 -1
- package/transactions/app-call.mjs.map +1 -1
- package/transactions/key-registration.d.ts +1 -1
- package/transactions/key-registration.js.map +1 -1
- package/transactions/key-registration.mjs.map +1 -1
- package/transactions/method-call.d.ts +1 -1
- package/transactions/method-call.js.map +1 -1
- package/transactions/method-call.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/algorand-client-transaction-creator.d.ts +94 -94
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +96 -96
- package/types/app-client.d.ts +192 -192
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +1 -1
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +97 -97
- package/types/app-factory.js.map +1 -1
- package/types/app-factory.mjs.map +1 -1
- package/types/app.d.ts +1 -1
- package/types/app.js.map +1 -1
- package/types/app.mjs.map +1 -1
- package/types/async-event-emitter.d.ts +3 -6
- package/types/async-event-emitter.js.map +1 -1
- package/types/async-event-emitter.mjs.map +1 -1
- package/types/client-manager.d.ts +1 -1
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +1 -1
- package/types/composer.js +12 -5
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +14 -7
- package/types/composer.mjs.map +1 -1
- package/types/debugging.d.ts +13 -9
- package/types/debugging.js.map +1 -1
- package/types/debugging.mjs.map +1 -1
- package/types/lifecycle-events.d.ts +0 -1
- package/types/lifecycle-events.js.map +1 -1
- package/types/lifecycle-events.mjs.map +1 -1
- package/types/transaction.d.ts +1 -1
- package/packages/algod_client/src/core/model-runtime.d.ts +0 -10
- package/packages/indexer_client/src/core/model-runtime.d.ts +0 -10
- package/packages/kmd_client/src/core/model-runtime.d.ts +0 -10
- package/packages/transact/src/transactions/common.d.ts +0 -37
- package/types/expand.d.ts +0 -9
- package/types/expand.js +0 -0
- package/types/expand.mjs +0 -0
|
@@ -479,7 +479,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
479
479
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
480
480
|
*/
|
|
481
481
|
appCreate: (params: {
|
|
482
|
-
|
|
482
|
+
args?: Uint8Array[] | undefined;
|
|
483
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
483
484
|
sender: SendingAddress;
|
|
484
485
|
rekeyTo?: ReadableAddress | undefined;
|
|
485
486
|
note?: string | Uint8Array | undefined;
|
|
@@ -491,11 +492,10 @@ declare class AlgorandClientTransactionSender {
|
|
|
491
492
|
firstValidRound?: bigint | undefined;
|
|
492
493
|
lastValidRound?: bigint | undefined;
|
|
493
494
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
|
-
args?: Uint8Array[] | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
498
|
-
boxReferences?: (
|
|
498
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
499
499
|
accessReferences?: ResourceReference[] | undefined;
|
|
500
500
|
rejectVersion?: number | undefined;
|
|
501
501
|
appId?: 0 | undefined;
|
|
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
555
555
|
*/
|
|
556
556
|
appUpdate: (params: {
|
|
557
557
|
sender: SendingAddress;
|
|
558
|
-
signer?:
|
|
558
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
559
559
|
rekeyTo?: ReadableAddress | undefined;
|
|
560
560
|
note?: string | Uint8Array | undefined;
|
|
561
561
|
lease?: string | Uint8Array | undefined;
|
|
@@ -571,7 +571,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
571
571
|
accountReferences?: ReadableAddress[] | undefined;
|
|
572
572
|
appReferences?: bigint[] | undefined;
|
|
573
573
|
assetReferences?: bigint[] | undefined;
|
|
574
|
-
boxReferences?: (
|
|
574
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
575
575
|
accessReferences?: ResourceReference[] | undefined;
|
|
576
576
|
rejectVersion?: number | undefined;
|
|
577
577
|
approvalProgram: string | Uint8Array;
|
|
@@ -626,7 +626,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
626
626
|
accountReferences?: ReadableAddress[] | undefined;
|
|
627
627
|
appReferences?: bigint[] | undefined;
|
|
628
628
|
assetReferences?: bigint[] | undefined;
|
|
629
|
-
boxReferences?: (
|
|
629
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
630
630
|
accessReferences?: ResourceReference[] | undefined;
|
|
631
631
|
rejectVersion?: number | undefined;
|
|
632
632
|
} & {
|
|
@@ -681,7 +681,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
681
681
|
accountReferences?: ReadableAddress[] | undefined;
|
|
682
682
|
appReferences?: bigint[] | undefined;
|
|
683
683
|
assetReferences?: bigint[] | undefined;
|
|
684
|
-
boxReferences?: (
|
|
684
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
685
685
|
accessReferences?: ResourceReference[] | undefined;
|
|
686
686
|
rejectVersion?: number | undefined;
|
|
687
687
|
} & {
|
|
@@ -752,7 +752,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
752
752
|
* @returns The result of the application ABI method create transaction and the transaction that was sent
|
|
753
753
|
*/
|
|
754
754
|
appCreateMethodCall: (params: {
|
|
755
|
-
signer?:
|
|
755
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
756
756
|
sender: SendingAddress;
|
|
757
757
|
rekeyTo?: ReadableAddress | undefined;
|
|
758
758
|
note?: string | Uint8Array | undefined;
|
|
@@ -763,27 +763,27 @@ declare class AlgorandClientTransactionSender {
|
|
|
763
763
|
validityWindow?: number | bigint | undefined;
|
|
764
764
|
firstValidRound?: bigint | undefined;
|
|
765
765
|
lastValidRound?: bigint | undefined;
|
|
766
|
-
|
|
767
|
-
globalInts: number;
|
|
768
|
-
globalByteSlices: number;
|
|
769
|
-
localInts: number;
|
|
770
|
-
localByteSlices: number;
|
|
771
|
-
} | undefined;
|
|
766
|
+
appId?: 0 | undefined;
|
|
772
767
|
approvalProgram: string | Uint8Array;
|
|
773
768
|
clearStateProgram: string | Uint8Array;
|
|
774
|
-
appId?: 0 | undefined;
|
|
775
769
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
776
770
|
accountReferences?: ReadableAddress[] | undefined;
|
|
777
771
|
appReferences?: bigint[] | undefined;
|
|
778
772
|
assetReferences?: bigint[] | undefined;
|
|
779
|
-
boxReferences?: (
|
|
773
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
780
774
|
accessReferences?: ResourceReference[] | undefined;
|
|
781
775
|
rejectVersion?: number | undefined;
|
|
776
|
+
schema?: {
|
|
777
|
+
globalInts: number;
|
|
778
|
+
globalByteSlices: number;
|
|
779
|
+
localInts: number;
|
|
780
|
+
localByteSlices: number;
|
|
781
|
+
} | undefined;
|
|
782
782
|
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (
|
|
785
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
784
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
786
785
|
sender: SendingAddress;
|
|
786
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
787
787
|
rekeyTo?: ReadableAddress | undefined;
|
|
788
788
|
note?: string | Uint8Array | undefined;
|
|
789
789
|
lease?: string | Uint8Array | undefined;
|
|
@@ -793,27 +793,21 @@ declare class AlgorandClientTransactionSender {
|
|
|
793
793
|
validityWindow?: number | bigint | undefined;
|
|
794
794
|
firstValidRound?: bigint | undefined;
|
|
795
795
|
lastValidRound?: bigint | undefined;
|
|
796
|
-
|
|
796
|
+
appId: bigint;
|
|
797
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
797
798
|
args?: Uint8Array[] | undefined;
|
|
798
799
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
800
|
appReferences?: bigint[] | undefined;
|
|
800
801
|
assetReferences?: bigint[] | undefined;
|
|
801
|
-
boxReferences?: (
|
|
802
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
802
803
|
accessReferences?: ResourceReference[] | undefined;
|
|
803
804
|
rejectVersion?: number | undefined;
|
|
804
|
-
appId?: 0 | undefined;
|
|
805
805
|
approvalProgram: string | Uint8Array;
|
|
806
806
|
clearStateProgram: string | Uint8Array;
|
|
807
|
-
schema?: {
|
|
808
|
-
globalInts: number;
|
|
809
|
-
globalByteSlices: number;
|
|
810
|
-
localInts: number;
|
|
811
|
-
localByteSlices: number;
|
|
812
|
-
} | undefined;
|
|
813
|
-
extraProgramPages?: number | undefined;
|
|
814
807
|
}> | AppMethodCall<{
|
|
808
|
+
args?: Uint8Array[] | undefined;
|
|
809
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
815
810
|
sender: SendingAddress;
|
|
816
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
817
811
|
rekeyTo?: ReadableAddress | undefined;
|
|
818
812
|
note?: string | Uint8Array | undefined;
|
|
819
813
|
lease?: string | Uint8Array | undefined;
|
|
@@ -823,18 +817,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
823
817
|
validityWindow?: number | bigint | undefined;
|
|
824
818
|
firstValidRound?: bigint | undefined;
|
|
825
819
|
lastValidRound?: bigint | undefined;
|
|
826
|
-
|
|
827
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
828
|
-
args?: Uint8Array[] | undefined;
|
|
820
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
829
821
|
accountReferences?: ReadableAddress[] | undefined;
|
|
830
822
|
appReferences?: bigint[] | undefined;
|
|
831
823
|
assetReferences?: bigint[] | undefined;
|
|
832
|
-
boxReferences?: (
|
|
824
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
833
825
|
accessReferences?: ResourceReference[] | undefined;
|
|
834
826
|
rejectVersion?: number | undefined;
|
|
827
|
+
appId?: 0 | undefined;
|
|
835
828
|
approvalProgram: string | Uint8Array;
|
|
836
829
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
|
|
830
|
+
schema?: {
|
|
831
|
+
globalInts: number;
|
|
832
|
+
globalByteSlices: number;
|
|
833
|
+
localInts: number;
|
|
834
|
+
localByteSlices: number;
|
|
835
|
+
} | undefined;
|
|
836
|
+
extraProgramPages?: number | undefined;
|
|
837
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -893,7 +893,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
893
893
|
* @returns The result of the application ABI method update transaction and the transaction that was sent
|
|
894
894
|
*/
|
|
895
895
|
appUpdateMethodCall: (params: {
|
|
896
|
-
signer?:
|
|
896
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
897
897
|
sender: SendingAddress;
|
|
898
898
|
rekeyTo?: ReadableAddress | undefined;
|
|
899
899
|
note?: string | Uint8Array | undefined;
|
|
@@ -904,20 +904,20 @@ declare class AlgorandClientTransactionSender {
|
|
|
904
904
|
validityWindow?: number | bigint | undefined;
|
|
905
905
|
firstValidRound?: bigint | undefined;
|
|
906
906
|
lastValidRound?: bigint | undefined;
|
|
907
|
+
appId: bigint;
|
|
907
908
|
approvalProgram: string | Uint8Array;
|
|
908
909
|
clearStateProgram: string | Uint8Array;
|
|
909
|
-
appId: bigint;
|
|
910
910
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
911
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
912
|
appReferences?: bigint[] | undefined;
|
|
913
913
|
assetReferences?: bigint[] | undefined;
|
|
914
|
-
boxReferences?: (
|
|
914
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
915
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
916
|
rejectVersion?: number | undefined;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (
|
|
919
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
918
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
920
919
|
sender: SendingAddress;
|
|
920
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
921
921
|
rekeyTo?: ReadableAddress | undefined;
|
|
922
922
|
note?: string | Uint8Array | undefined;
|
|
923
923
|
lease?: string | Uint8Array | undefined;
|
|
@@ -927,27 +927,21 @@ declare class AlgorandClientTransactionSender {
|
|
|
927
927
|
validityWindow?: number | bigint | undefined;
|
|
928
928
|
firstValidRound?: bigint | undefined;
|
|
929
929
|
lastValidRound?: bigint | undefined;
|
|
930
|
-
|
|
930
|
+
appId: bigint;
|
|
931
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
931
932
|
args?: Uint8Array[] | undefined;
|
|
932
933
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
934
|
appReferences?: bigint[] | undefined;
|
|
934
935
|
assetReferences?: bigint[] | undefined;
|
|
935
|
-
boxReferences?: (
|
|
936
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
936
937
|
accessReferences?: ResourceReference[] | undefined;
|
|
937
938
|
rejectVersion?: number | undefined;
|
|
938
|
-
appId?: 0 | undefined;
|
|
939
939
|
approvalProgram: string | Uint8Array;
|
|
940
940
|
clearStateProgram: string | Uint8Array;
|
|
941
|
-
schema?: {
|
|
942
|
-
globalInts: number;
|
|
943
|
-
globalByteSlices: number;
|
|
944
|
-
localInts: number;
|
|
945
|
-
localByteSlices: number;
|
|
946
|
-
} | undefined;
|
|
947
|
-
extraProgramPages?: number | undefined;
|
|
948
941
|
}> | AppMethodCall<{
|
|
942
|
+
args?: Uint8Array[] | undefined;
|
|
943
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
949
944
|
sender: SendingAddress;
|
|
950
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
951
945
|
rekeyTo?: ReadableAddress | undefined;
|
|
952
946
|
note?: string | Uint8Array | undefined;
|
|
953
947
|
lease?: string | Uint8Array | undefined;
|
|
@@ -957,18 +951,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
957
951
|
validityWindow?: number | bigint | undefined;
|
|
958
952
|
firstValidRound?: bigint | undefined;
|
|
959
953
|
lastValidRound?: bigint | undefined;
|
|
960
|
-
|
|
961
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
962
|
-
args?: Uint8Array[] | undefined;
|
|
954
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
963
955
|
accountReferences?: ReadableAddress[] | undefined;
|
|
964
956
|
appReferences?: bigint[] | undefined;
|
|
965
957
|
assetReferences?: bigint[] | undefined;
|
|
966
|
-
boxReferences?: (
|
|
958
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
967
959
|
accessReferences?: ResourceReference[] | undefined;
|
|
968
960
|
rejectVersion?: number | undefined;
|
|
961
|
+
appId?: 0 | undefined;
|
|
969
962
|
approvalProgram: string | Uint8Array;
|
|
970
963
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
|
|
964
|
+
schema?: {
|
|
965
|
+
globalInts: number;
|
|
966
|
+
globalByteSlices: number;
|
|
967
|
+
localInts: number;
|
|
968
|
+
localByteSlices: number;
|
|
969
|
+
} | undefined;
|
|
970
|
+
extraProgramPages?: number | undefined;
|
|
971
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1025,7 +1025,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1025
1025
|
* @returns The result of the application ABI method delete transaction and the transaction that was sent
|
|
1026
1026
|
*/
|
|
1027
1027
|
appDeleteMethodCall: (params: {
|
|
1028
|
-
signer?:
|
|
1028
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
1030
|
rekeyTo?: ReadableAddress | undefined;
|
|
1031
1031
|
note?: string | Uint8Array | undefined;
|
|
@@ -1041,13 +1041,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
1041
1041
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1042
1042
|
appReferences?: bigint[] | undefined;
|
|
1043
1043
|
assetReferences?: bigint[] | undefined;
|
|
1044
|
-
boxReferences?: (
|
|
1044
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (
|
|
1049
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1048
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
1050
1049
|
sender: SendingAddress;
|
|
1050
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1051
1051
|
rekeyTo?: ReadableAddress | undefined;
|
|
1052
1052
|
note?: string | Uint8Array | undefined;
|
|
1053
1053
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1057,27 +1057,21 @@ declare class AlgorandClientTransactionSender {
|
|
|
1057
1057
|
validityWindow?: number | bigint | undefined;
|
|
1058
1058
|
firstValidRound?: bigint | undefined;
|
|
1059
1059
|
lastValidRound?: bigint | undefined;
|
|
1060
|
-
|
|
1060
|
+
appId: bigint;
|
|
1061
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1061
1062
|
args?: Uint8Array[] | undefined;
|
|
1062
1063
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1064
|
appReferences?: bigint[] | undefined;
|
|
1064
1065
|
assetReferences?: bigint[] | undefined;
|
|
1065
|
-
boxReferences?: (
|
|
1066
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1066
1067
|
accessReferences?: ResourceReference[] | undefined;
|
|
1067
1068
|
rejectVersion?: number | undefined;
|
|
1068
|
-
appId?: 0 | undefined;
|
|
1069
1069
|
approvalProgram: string | Uint8Array;
|
|
1070
1070
|
clearStateProgram: string | Uint8Array;
|
|
1071
|
-
schema?: {
|
|
1072
|
-
globalInts: number;
|
|
1073
|
-
globalByteSlices: number;
|
|
1074
|
-
localInts: number;
|
|
1075
|
-
localByteSlices: number;
|
|
1076
|
-
} | undefined;
|
|
1077
|
-
extraProgramPages?: number | undefined;
|
|
1078
1071
|
}> | AppMethodCall<{
|
|
1072
|
+
args?: Uint8Array[] | undefined;
|
|
1073
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1079
1074
|
sender: SendingAddress;
|
|
1080
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1081
1075
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1076
|
note?: string | Uint8Array | undefined;
|
|
1083
1077
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1087,18 +1081,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1087
1081
|
validityWindow?: number | bigint | undefined;
|
|
1088
1082
|
firstValidRound?: bigint | undefined;
|
|
1089
1083
|
lastValidRound?: bigint | undefined;
|
|
1090
|
-
|
|
1091
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1092
|
-
args?: Uint8Array[] | undefined;
|
|
1084
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1093
1085
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1094
1086
|
appReferences?: bigint[] | undefined;
|
|
1095
1087
|
assetReferences?: bigint[] | undefined;
|
|
1096
|
-
boxReferences?: (
|
|
1088
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1097
1089
|
accessReferences?: ResourceReference[] | undefined;
|
|
1098
1090
|
rejectVersion?: number | undefined;
|
|
1091
|
+
appId?: 0 | undefined;
|
|
1099
1092
|
approvalProgram: string | Uint8Array;
|
|
1100
1093
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
|
|
1094
|
+
schema?: {
|
|
1095
|
+
globalInts: number;
|
|
1096
|
+
globalByteSlices: number;
|
|
1097
|
+
localInts: number;
|
|
1098
|
+
localByteSlices: number;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
extraProgramPages?: number | undefined;
|
|
1101
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1155,7 +1155,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1155
1155
|
* @returns The result of the application ABI method call transaction and the transaction that was sent
|
|
1156
1156
|
*/
|
|
1157
1157
|
appCallMethodCall: (params: {
|
|
1158
|
-
signer?:
|
|
1158
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
1160
|
rekeyTo?: ReadableAddress | undefined;
|
|
1161
1161
|
note?: string | Uint8Array | undefined;
|
|
@@ -1171,13 +1171,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
1171
1171
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
1173
1173
|
assetReferences?: bigint[] | undefined;
|
|
1174
|
-
boxReferences?: (
|
|
1174
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (
|
|
1179
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1178
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
1180
1179
|
sender: SendingAddress;
|
|
1180
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1181
1181
|
rekeyTo?: ReadableAddress | undefined;
|
|
1182
1182
|
note?: string | Uint8Array | undefined;
|
|
1183
1183
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1187,27 +1187,21 @@ declare class AlgorandClientTransactionSender {
|
|
|
1187
1187
|
validityWindow?: number | bigint | undefined;
|
|
1188
1188
|
firstValidRound?: bigint | undefined;
|
|
1189
1189
|
lastValidRound?: bigint | undefined;
|
|
1190
|
-
|
|
1190
|
+
appId: bigint;
|
|
1191
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1191
1192
|
args?: Uint8Array[] | undefined;
|
|
1192
1193
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1194
|
appReferences?: bigint[] | undefined;
|
|
1194
1195
|
assetReferences?: bigint[] | undefined;
|
|
1195
|
-
boxReferences?: (
|
|
1196
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1196
1197
|
accessReferences?: ResourceReference[] | undefined;
|
|
1197
1198
|
rejectVersion?: number | undefined;
|
|
1198
|
-
appId?: 0 | undefined;
|
|
1199
1199
|
approvalProgram: string | Uint8Array;
|
|
1200
1200
|
clearStateProgram: string | Uint8Array;
|
|
1201
|
-
schema?: {
|
|
1202
|
-
globalInts: number;
|
|
1203
|
-
globalByteSlices: number;
|
|
1204
|
-
localInts: number;
|
|
1205
|
-
localByteSlices: number;
|
|
1206
|
-
} | undefined;
|
|
1207
|
-
extraProgramPages?: number | undefined;
|
|
1208
1201
|
}> | AppMethodCall<{
|
|
1202
|
+
args?: Uint8Array[] | undefined;
|
|
1203
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1209
1204
|
sender: SendingAddress;
|
|
1210
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1211
1205
|
rekeyTo?: ReadableAddress | undefined;
|
|
1212
1206
|
note?: string | Uint8Array | undefined;
|
|
1213
1207
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1217,18 +1211,24 @@ declare class AlgorandClientTransactionSender {
|
|
|
1217
1211
|
validityWindow?: number | bigint | undefined;
|
|
1218
1212
|
firstValidRound?: bigint | undefined;
|
|
1219
1213
|
lastValidRound?: bigint | undefined;
|
|
1220
|
-
|
|
1221
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1222
|
-
args?: Uint8Array[] | undefined;
|
|
1214
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1223
1215
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1224
1216
|
appReferences?: bigint[] | undefined;
|
|
1225
1217
|
assetReferences?: bigint[] | undefined;
|
|
1226
|
-
boxReferences?: (
|
|
1218
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1227
1219
|
accessReferences?: ResourceReference[] | undefined;
|
|
1228
1220
|
rejectVersion?: number | undefined;
|
|
1221
|
+
appId?: 0 | undefined;
|
|
1229
1222
|
approvalProgram: string | Uint8Array;
|
|
1230
1223
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
|
|
1224
|
+
schema?: {
|
|
1225
|
+
globalInts: number;
|
|
1226
|
+
globalByteSlices: number;
|
|
1227
|
+
localInts: number;
|
|
1228
|
+
localByteSlices: number;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
extraProgramPages?: number | undefined;
|
|
1231
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|
|
@@ -1277,7 +1277,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1277
1277
|
voteFirst: bigint;
|
|
1278
1278
|
voteLast: bigint;
|
|
1279
1279
|
voteKeyDilution: bigint;
|
|
1280
|
-
stateProofKey
|
|
1280
|
+
stateProofKey: Uint8Array;
|
|
1281
1281
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Register an offline key.
|