starknet 11.0.0-beta.11 → 11.0.0-beta.12
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +295 -2
- package/dist/index.global.js +308 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +310 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +308 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [11.0.0-beta.12](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.11...v11.0.0-beta.12) (2026-09-02)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **cairoDataTypes:** add the composite Cairo type classes and their strategy ([58d1ae7](https://github.com/starknet-io/starknet.js/commit/58d1ae716443d1db96589eb6cbb35f2ae7784159)), closes [#1484](https://github.com/starknet-io/starknet.js/issues/1484) [#1688](https://github.com/starknet-io/starknet.js/issues/1688) [#1484](https://github.com/starknet-io/starknet.js/issues/1484)
|
|
6
|
+
|
|
1
7
|
# [11.0.0-beta.11](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.10...v11.0.0-beta.11) (2026-09-01)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -7327,6 +7327,10 @@ declare const RANGE_ETH_ADDRESS: {
|
|
|
7327
7327
|
readonly min: bigint;
|
|
7328
7328
|
readonly max: bigint;
|
|
7329
7329
|
};
|
|
7330
|
+
declare const RANGE_CONTRACT_ADDRESS: {
|
|
7331
|
+
readonly min: bigint;
|
|
7332
|
+
readonly max: bigint;
|
|
7333
|
+
};
|
|
7330
7334
|
declare const LegacyUDC: {
|
|
7331
7335
|
readonly ADDRESS: "0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf";
|
|
7332
7336
|
readonly ENTRYPOINT: "deployContract";
|
|
@@ -7465,6 +7469,7 @@ declare const constants_MAX_STORAGE_ITEM_SIZE: typeof MAX_STORAGE_ITEM_SIZE;
|
|
|
7465
7469
|
declare const constants_OutsideExecutionCallerAny: typeof OutsideExecutionCallerAny;
|
|
7466
7470
|
declare const constants_PAYMASTER_RPC_NODES: typeof PAYMASTER_RPC_NODES;
|
|
7467
7471
|
declare const constants_PRIME: typeof PRIME;
|
|
7472
|
+
declare const constants_RANGE_CONTRACT_ADDRESS: typeof RANGE_CONTRACT_ADDRESS;
|
|
7468
7473
|
declare const constants_RANGE_ETH_ADDRESS: typeof RANGE_ETH_ADDRESS;
|
|
7469
7474
|
declare const constants_RANGE_FELT: typeof RANGE_FELT;
|
|
7470
7475
|
declare const constants_RANGE_I128: typeof RANGE_I128;
|
|
@@ -7490,7 +7495,7 @@ declare const constants_TEXT_TO_FELT_MAX_LEN: typeof TEXT_TO_FELT_MAX_LEN;
|
|
|
7490
7495
|
declare const constants_UDC: typeof UDC;
|
|
7491
7496
|
declare const constants_ZERO: typeof ZERO;
|
|
7492
7497
|
declare namespace constants {
|
|
7493
|
-
export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, type constants_ChannelDefaultOptions as ChannelDefaultOptions, type constants_ChannelDefaults as ChannelDefaults, type constants_ChannelMethodOptions as ChannelMethodOptions, constants_DEFAULT_GLOBAL_CONFIG as DEFAULT_GLOBAL_CONFIG, constants_HARDENING_4BYTES as HARDENING_4BYTES, constants_HARDENING_BYTE as HARDENING_BYTE, constants_IS_BROWSER as IS_BROWSER, constants_LegacyUDC as LegacyUDC, constants_MASK_250 as MASK_250, constants_MASK_31 as MASK_31, constants_MAX_STORAGE_ITEM_SIZE as MAX_STORAGE_ITEM_SIZE, _NetworkName as NetworkName, constants_OutsideExecutionCallerAny as OutsideExecutionCallerAny, constants_PAYMASTER_RPC_NODES as PAYMASTER_RPC_NODES, constants_PRIME as PRIME, constants_RANGE_ETH_ADDRESS as RANGE_ETH_ADDRESS, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_I16 as RANGE_I16, constants_RANGE_I32 as RANGE_I32, constants_RANGE_I64 as RANGE_I64, constants_RANGE_I8 as RANGE_I8, constants_RANGE_U128 as RANGE_U128, constants_RANGE_U16 as RANGE_U16, constants_RANGE_U32 as RANGE_U32, constants_RANGE_U64 as RANGE_U64, constants_RANGE_U8 as RANGE_U8, constants_RANGE_U96 as RANGE_U96, constants_RPC_DEFAULT_NODES as RPC_DEFAULT_NODES, constants_SNIP9_V1_INTERFACE_ID as SNIP9_V1_INTERFACE_ID, constants_SNIP9_V2_INTERFACE_ID as SNIP9_V2_INTERFACE_ID, constants_SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS as SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS, constants_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, type constants_SupportedCairoVersion as SupportedCairoVersion, _SupportedRpcVersion as SupportedRpcVersion, type constants_SupportedRpcVersion0_10 as SupportedRpcVersion0_10, type constants_SupportedTransactionVersion as SupportedTransactionVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
|
|
7498
|
+
export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, type constants_ChannelDefaultOptions as ChannelDefaultOptions, type constants_ChannelDefaults as ChannelDefaults, type constants_ChannelMethodOptions as ChannelMethodOptions, constants_DEFAULT_GLOBAL_CONFIG as DEFAULT_GLOBAL_CONFIG, constants_HARDENING_4BYTES as HARDENING_4BYTES, constants_HARDENING_BYTE as HARDENING_BYTE, constants_IS_BROWSER as IS_BROWSER, constants_LegacyUDC as LegacyUDC, constants_MASK_250 as MASK_250, constants_MASK_31 as MASK_31, constants_MAX_STORAGE_ITEM_SIZE as MAX_STORAGE_ITEM_SIZE, _NetworkName as NetworkName, constants_OutsideExecutionCallerAny as OutsideExecutionCallerAny, constants_PAYMASTER_RPC_NODES as PAYMASTER_RPC_NODES, constants_PRIME as PRIME, constants_RANGE_CONTRACT_ADDRESS as RANGE_CONTRACT_ADDRESS, constants_RANGE_ETH_ADDRESS as RANGE_ETH_ADDRESS, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_I16 as RANGE_I16, constants_RANGE_I32 as RANGE_I32, constants_RANGE_I64 as RANGE_I64, constants_RANGE_I8 as RANGE_I8, constants_RANGE_U128 as RANGE_U128, constants_RANGE_U16 as RANGE_U16, constants_RANGE_U32 as RANGE_U32, constants_RANGE_U64 as RANGE_U64, constants_RANGE_U8 as RANGE_U8, constants_RANGE_U96 as RANGE_U96, constants_RPC_DEFAULT_NODES as RPC_DEFAULT_NODES, constants_SNIP9_V1_INTERFACE_ID as SNIP9_V1_INTERFACE_ID, constants_SNIP9_V2_INTERFACE_ID as SNIP9_V2_INTERFACE_ID, constants_SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS as SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS, constants_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, type constants_SupportedCairoVersion as SupportedCairoVersion, _SupportedRpcVersion as SupportedRpcVersion, type constants_SupportedRpcVersion0_10 as SupportedRpcVersion0_10, type constants_SupportedTransactionVersion as SupportedTransactionVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
|
|
7494
7499
|
}
|
|
7495
7500
|
|
|
7496
7501
|
/** What a {@link SubscriptionChannel} needs: a socket to borrow, and how much to buffer. */
|
|
@@ -13861,6 +13866,294 @@ declare class CairoSecp256k1Point {
|
|
|
13861
13866
|
static fromHex(hexString: string): CairoSecp256k1Point;
|
|
13862
13867
|
}
|
|
13863
13868
|
|
|
13869
|
+
/**
|
|
13870
|
+
* A Cairo `core::starknet::class_hash::ClassHash` : the hash identifying a declared class.
|
|
13871
|
+
*
|
|
13872
|
+
* On the wire it is a field element like any other, so what this class adds over
|
|
13873
|
+
* {@link CairoFelt252} is the bound the RPC spec sets on it — 252 bits. That is wider than a
|
|
13874
|
+
* felt252 is, so the two bounds each refuse values the other allows, and neither stands in for
|
|
13875
|
+
* the other.
|
|
13876
|
+
*
|
|
13877
|
+
* A number, a bigint, a decimal string and a hexadecimal string are all read as the same number.
|
|
13878
|
+
* Text is **not** an accepted input : a class hash spelled as words is a mistake, not a value.
|
|
13879
|
+
* @example
|
|
13880
|
+
* ```typescript
|
|
13881
|
+
* // the same hash, reached three ways
|
|
13882
|
+
* new CairoClassHash('0x1234').toBigInt(); // 4660n
|
|
13883
|
+
* new CairoClassHash(4660).toBigInt(); // 4660n
|
|
13884
|
+
* new CairoClassHash('4660').toBigInt(); // 4660n
|
|
13885
|
+
* ```
|
|
13886
|
+
*/
|
|
13887
|
+
declare class CairoClassHash {
|
|
13888
|
+
/**
|
|
13889
|
+
* The hash, always as a bigint.
|
|
13890
|
+
* @example
|
|
13891
|
+
* ```typescript
|
|
13892
|
+
* const result = new CairoClassHash('0x1234').data;
|
|
13893
|
+
* // result = 4660n
|
|
13894
|
+
* ```
|
|
13895
|
+
*/
|
|
13896
|
+
data: bigint;
|
|
13897
|
+
/**
|
|
13898
|
+
* The abi type this class serializes.
|
|
13899
|
+
* @example
|
|
13900
|
+
* ```typescript
|
|
13901
|
+
* const result = CairoClassHash.abiSelector;
|
|
13902
|
+
* // result = "core::starknet::class_hash::ClassHash"
|
|
13903
|
+
* ```
|
|
13904
|
+
*/
|
|
13905
|
+
static abiSelector: "core::starknet::class_hash::ClassHash";
|
|
13906
|
+
/**
|
|
13907
|
+
* Build from a number or a numeric string, refusing text and anything wider than 252 bits.
|
|
13908
|
+
* @param {BigNumberish | boolean} data the hash to carry, within [0, 2^252 - 1]
|
|
13909
|
+
* @throws {Error} when the value is text, is not a felt252 input, or is out of the ClassHash range
|
|
13910
|
+
* @example
|
|
13911
|
+
* ```typescript
|
|
13912
|
+
* const result = new CairoClassHash('0x1234').toApiRequest();
|
|
13913
|
+
* // result = ["4660"]
|
|
13914
|
+
* ```
|
|
13915
|
+
*/
|
|
13916
|
+
constructor(data: BigNumberish | boolean | unknown);
|
|
13917
|
+
/**
|
|
13918
|
+
* Serialize to the single felt a contract call carries.
|
|
13919
|
+
* @returns {string[]} one decimal-string felt, flagged as compiled
|
|
13920
|
+
* @example
|
|
13921
|
+
* ```typescript
|
|
13922
|
+
* const result = new CairoClassHash('0x1234').toApiRequest();
|
|
13923
|
+
* // result = ["4660"]
|
|
13924
|
+
* ```
|
|
13925
|
+
*/
|
|
13926
|
+
toApiRequest(): string[];
|
|
13927
|
+
/**
|
|
13928
|
+
* The hash as a number.
|
|
13929
|
+
* @returns {bigint} the number this hash holds
|
|
13930
|
+
* @example
|
|
13931
|
+
* ```typescript
|
|
13932
|
+
* const result = new CairoClassHash('0x1234').toBigInt();
|
|
13933
|
+
* // result = 4660n
|
|
13934
|
+
* ```
|
|
13935
|
+
*/
|
|
13936
|
+
toBigInt(): bigint;
|
|
13937
|
+
/**
|
|
13938
|
+
* The hash in hexadecimal, without padding.
|
|
13939
|
+
*
|
|
13940
|
+
* The 64 hex digits a class hash is usually written with are not restored here : leading zeros
|
|
13941
|
+
* are dropped, as they are everywhere else in the library.
|
|
13942
|
+
* @returns {string} the hash as a 0x-prefixed hex string
|
|
13943
|
+
* @example
|
|
13944
|
+
* ```typescript
|
|
13945
|
+
* const result = new CairoClassHash(4660).toHexString();
|
|
13946
|
+
* // result = "0x1234"
|
|
13947
|
+
* const result2 = new CairoClassHash('0x0034').toHexString();
|
|
13948
|
+
* // result2 = "0x34" (four digits in, two out)
|
|
13949
|
+
* ```
|
|
13950
|
+
*/
|
|
13951
|
+
toHexString(): string;
|
|
13952
|
+
/**
|
|
13953
|
+
* Throw unless the value can be carried by a ClassHash.
|
|
13954
|
+
*
|
|
13955
|
+
* Text is refused first, then the value is read as a felt252 — which is what refuses a null, an
|
|
13956
|
+
* object or an unsupported type, and what bounds the value. There is no narrower bound to add:
|
|
13957
|
+
* a class hash is a hash output, so any field element is one.
|
|
13958
|
+
* @param {BigNumberish | boolean} data the value to check
|
|
13959
|
+
* @throws {Error} when the value is text, is not a felt252 input, or is outside the field
|
|
13960
|
+
* @example
|
|
13961
|
+
* ```typescript
|
|
13962
|
+
* CairoClassHash.validate('0x1234'); // passes
|
|
13963
|
+
* CairoClassHash.validate('abc');
|
|
13964
|
+
* // throws Error("Invalid input: a ClassHash cannot be built from text")
|
|
13965
|
+
* ```
|
|
13966
|
+
*/
|
|
13967
|
+
static validate(data: BigNumberish | boolean | unknown): void;
|
|
13968
|
+
/**
|
|
13969
|
+
* Can this value be carried by a ClassHash?
|
|
13970
|
+
*
|
|
13971
|
+
* The non-throwing form of {@link CairoClassHash.validate}, so it answers false for every input
|
|
13972
|
+
* that one refuses, whatever the reason.
|
|
13973
|
+
* @param {BigNumberish | boolean} data the value to test
|
|
13974
|
+
* @returns {boolean} true when the value fits in a ClassHash
|
|
13975
|
+
* @example
|
|
13976
|
+
* ```typescript
|
|
13977
|
+
* const result = CairoClassHash.is('0x1234');
|
|
13978
|
+
* // result = true
|
|
13979
|
+
* const result2 = CairoClassHash.is('abc');
|
|
13980
|
+
* // result2 = false (text, not a number)
|
|
13981
|
+
* ```
|
|
13982
|
+
*/
|
|
13983
|
+
static is(data: BigNumberish | boolean | unknown): boolean;
|
|
13984
|
+
/**
|
|
13985
|
+
* Is this abi type the one this class serializes?
|
|
13986
|
+
* @param {string} abiType the abi type to test
|
|
13987
|
+
* @returns {boolean} true for `core::starknet::class_hash::ClassHash`
|
|
13988
|
+
* @example
|
|
13989
|
+
* ```typescript
|
|
13990
|
+
* const result = CairoClassHash.isAbiType('core::starknet::class_hash::ClassHash');
|
|
13991
|
+
* // result = true
|
|
13992
|
+
* const result2 = CairoClassHash.isAbiType('core::felt252');
|
|
13993
|
+
* // result2 = false
|
|
13994
|
+
* ```
|
|
13995
|
+
*/
|
|
13996
|
+
static isAbiType(abiType: string): boolean;
|
|
13997
|
+
/**
|
|
13998
|
+
* Read one ClassHash off a contract response, advancing the iterator past it.
|
|
13999
|
+
* @param {Iterator<string>} responseIterator the response felts, positioned on this hash
|
|
14000
|
+
* @returns {CairoClassHash} the hash that was read
|
|
14001
|
+
* @example
|
|
14002
|
+
* ```typescript
|
|
14003
|
+
* const response = ['0x1234'];
|
|
14004
|
+
* const result = CairoClassHash.factoryFromApiResponse(response.values()).toBigInt();
|
|
14005
|
+
* // result = 4660n
|
|
14006
|
+
* ```
|
|
14007
|
+
*/
|
|
14008
|
+
static factoryFromApiResponse(responseIterator: Iterator<string>): CairoClassHash;
|
|
14009
|
+
}
|
|
14010
|
+
|
|
14011
|
+
/**
|
|
14012
|
+
* A Cairo `core::starknet::contract_address::ContractAddress` : the address of a deployed contract.
|
|
14013
|
+
*
|
|
14014
|
+
* On the wire it is a field element like any other, so what this class adds over
|
|
14015
|
+
* {@link CairoFelt252} is the narrower bound an address has : `ADDR_BOUND`, which is what an
|
|
14016
|
+
* address is computed modulo and what `validateAndParseAddress` already refuses to exceed. The
|
|
14017
|
+
* 252 bits the RPC spec states are looser than both, and never what binds.
|
|
14018
|
+
*
|
|
14019
|
+
* A number, a bigint, a decimal string and a hexadecimal string are all read as the same number.
|
|
14020
|
+
* Text is **not** an accepted input : an address spelled as words is a mistake, not a value.
|
|
14021
|
+
* @example
|
|
14022
|
+
* ```typescript
|
|
14023
|
+
* // the same address, reached three ways
|
|
14024
|
+
* new CairoContractAddress('0x1234').toBigInt(); // 4660n
|
|
14025
|
+
* new CairoContractAddress(4660).toBigInt(); // 4660n
|
|
14026
|
+
* new CairoContractAddress('4660').toBigInt(); // 4660n
|
|
14027
|
+
* ```
|
|
14028
|
+
*/
|
|
14029
|
+
declare class CairoContractAddress {
|
|
14030
|
+
/**
|
|
14031
|
+
* The address, always as a bigint.
|
|
14032
|
+
* @example
|
|
14033
|
+
* ```typescript
|
|
14034
|
+
* const result = new CairoContractAddress('0x1234').data;
|
|
14035
|
+
* // result = 4660n
|
|
14036
|
+
* ```
|
|
14037
|
+
*/
|
|
14038
|
+
data: bigint;
|
|
14039
|
+
/**
|
|
14040
|
+
* The abi type this class serializes.
|
|
14041
|
+
* @example
|
|
14042
|
+
* ```typescript
|
|
14043
|
+
* const result = CairoContractAddress.abiSelector;
|
|
14044
|
+
* // result = "core::starknet::contract_address::ContractAddress"
|
|
14045
|
+
* ```
|
|
14046
|
+
*/
|
|
14047
|
+
static abiSelector: "core::starknet::contract_address::ContractAddress";
|
|
14048
|
+
/**
|
|
14049
|
+
* Build from a number or a numeric string, refusing text and anything wider than 252 bits.
|
|
14050
|
+
* @param {BigNumberish | boolean} data the address to carry, within [0, 2^252 - 1]
|
|
14051
|
+
* @throws {Error} when the value is text, is not a felt252 input, or is out of range
|
|
14052
|
+
* @example
|
|
14053
|
+
* ```typescript
|
|
14054
|
+
* const result = new CairoContractAddress('0x1234').toApiRequest();
|
|
14055
|
+
* // result = ["4660"]
|
|
14056
|
+
* ```
|
|
14057
|
+
*/
|
|
14058
|
+
constructor(data: BigNumberish | boolean | unknown);
|
|
14059
|
+
/**
|
|
14060
|
+
* Serialize to the single felt a contract call carries.
|
|
14061
|
+
* @returns {string[]} one decimal-string felt, flagged as compiled
|
|
14062
|
+
* @example
|
|
14063
|
+
* ```typescript
|
|
14064
|
+
* const result = new CairoContractAddress('0x1234').toApiRequest();
|
|
14065
|
+
* // result = ["4660"]
|
|
14066
|
+
* ```
|
|
14067
|
+
*/
|
|
14068
|
+
toApiRequest(): string[];
|
|
14069
|
+
/**
|
|
14070
|
+
* The address as a number.
|
|
14071
|
+
* @returns {bigint} the number this address holds
|
|
14072
|
+
* @example
|
|
14073
|
+
* ```typescript
|
|
14074
|
+
* const result = new CairoContractAddress('0x1234').toBigInt();
|
|
14075
|
+
* // result = 4660n
|
|
14076
|
+
* ```
|
|
14077
|
+
*/
|
|
14078
|
+
toBigInt(): bigint;
|
|
14079
|
+
/**
|
|
14080
|
+
* The address in hexadecimal, without padding.
|
|
14081
|
+
*
|
|
14082
|
+
* The 64 hex digits an address is usually written with are not restored here : leading zeros
|
|
14083
|
+
* are dropped, as they are everywhere else in the library.
|
|
14084
|
+
* @returns {string} the address as a 0x-prefixed hex string
|
|
14085
|
+
* @example
|
|
14086
|
+
* ```typescript
|
|
14087
|
+
* const result = new CairoContractAddress(4660).toHexString();
|
|
14088
|
+
* // result = "0x1234"
|
|
14089
|
+
* const result2 = new CairoContractAddress('0x0034').toHexString();
|
|
14090
|
+
* // result2 = "0x34" (four digits in, two out)
|
|
14091
|
+
* ```
|
|
14092
|
+
*/
|
|
14093
|
+
toHexString(): string;
|
|
14094
|
+
/**
|
|
14095
|
+
* Throw unless the value can be carried by a ContractAddress.
|
|
14096
|
+
*
|
|
14097
|
+
* Text is refused first, then the value is read as a felt252 — which is what refuses a null, an
|
|
14098
|
+
* object or an unsupported type — and finally checked against the bound an address has, which
|
|
14099
|
+
* is narrower than the field.
|
|
14100
|
+
* @param {BigNumberish | boolean} data the value to check
|
|
14101
|
+
* @throws {Error} when the value is text, is not a felt252 input, or is out of range
|
|
14102
|
+
* @example
|
|
14103
|
+
* ```typescript
|
|
14104
|
+
* CairoContractAddress.validate('0x1234'); // passes
|
|
14105
|
+
* CairoContractAddress.validate('abc');
|
|
14106
|
+
* // throws Error("Invalid input: a ContractAddress cannot be built from text")
|
|
14107
|
+
* CairoContractAddress.validate(2n ** 251n);
|
|
14108
|
+
* // throws Error("Value is out of ContractAddress range [0, 3618502788666131106986593281521497120414687020801267626233049500247285300991]")
|
|
14109
|
+
* ```
|
|
14110
|
+
*/
|
|
14111
|
+
static validate(data: BigNumberish | boolean | unknown): void;
|
|
14112
|
+
/**
|
|
14113
|
+
* Can this value be carried by a ContractAddress?
|
|
14114
|
+
*
|
|
14115
|
+
* The non-throwing form of {@link CairoContractAddress.validate}, so it answers false for every
|
|
14116
|
+
* input that one refuses, whatever the reason.
|
|
14117
|
+
* @param {BigNumberish | boolean} data the value to test
|
|
14118
|
+
* @returns {boolean} true when the value fits in a ContractAddress
|
|
14119
|
+
* @example
|
|
14120
|
+
* ```typescript
|
|
14121
|
+
* const result = CairoContractAddress.is('0x1234');
|
|
14122
|
+
* // result = true
|
|
14123
|
+
* const result2 = CairoContractAddress.is('abc');
|
|
14124
|
+
* // result2 = false (text, not a number)
|
|
14125
|
+
* ```
|
|
14126
|
+
*/
|
|
14127
|
+
static is(data: BigNumberish | boolean | unknown): boolean;
|
|
14128
|
+
/**
|
|
14129
|
+
* Is this abi type the one this class serializes?
|
|
14130
|
+
* @param {string} abiType the abi type to test
|
|
14131
|
+
* @returns {boolean} true for `core::starknet::contract_address::ContractAddress`
|
|
14132
|
+
* @example
|
|
14133
|
+
* ```typescript
|
|
14134
|
+
* const result = CairoContractAddress.isAbiType(
|
|
14135
|
+
* 'core::starknet::contract_address::ContractAddress'
|
|
14136
|
+
* );
|
|
14137
|
+
* // result = true
|
|
14138
|
+
* const result2 = CairoContractAddress.isAbiType('core::felt252');
|
|
14139
|
+
* // result2 = false
|
|
14140
|
+
* ```
|
|
14141
|
+
*/
|
|
14142
|
+
static isAbiType(abiType: string): boolean;
|
|
14143
|
+
/**
|
|
14144
|
+
* Read one ContractAddress off a contract response, advancing the iterator past it.
|
|
14145
|
+
* @param {Iterator<string>} responseIterator the response felts, positioned on this address
|
|
14146
|
+
* @returns {CairoContractAddress} the address that was read
|
|
14147
|
+
* @example
|
|
14148
|
+
* ```typescript
|
|
14149
|
+
* const response = ['0x1234'];
|
|
14150
|
+
* const result = CairoContractAddress.factoryFromApiResponse(response.values()).toBigInt();
|
|
14151
|
+
* // result = 4660n
|
|
14152
|
+
* ```
|
|
14153
|
+
*/
|
|
14154
|
+
static factoryFromApiResponse(responseIterator: Iterator<string>): CairoContractAddress;
|
|
14155
|
+
}
|
|
14156
|
+
|
|
13864
14157
|
/**
|
|
13865
14158
|
* Format a hex number to '0x' and 64 characters, adding leading zeros if necessary.
|
|
13866
14159
|
*
|
|
@@ -14853,4 +15146,4 @@ declare class Logger {
|
|
|
14853
15146
|
*/
|
|
14854
15147
|
declare const logger: Logger;
|
|
14855
15148
|
|
|
14856
|
-
export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoBool, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, CairoEthAddress, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, HttpTransport, type HttpTransportOptions, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$7 as RPC, index$5 as RPC0102, index$4 as RPC0103, index$6 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, type ReconnectOptions, ReconnectingWsTransport, type ReconnectingWsTransportOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, type RpcNotification, RpcProvider, type RpcProviderOptions, type RpcTransport, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type Secp256k1PointStruct, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionOwner, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, WebSocketProvider, type WebSocketProviderOptions, type WeierstrassSignatureType, type WithOptions, WsTransport, type WsTransportOptions, type WsTransportState, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, toAnyPatchVersion, toApiVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|
|
15149
|
+
export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoBool, CairoByteArray, CairoBytes31, CairoClassHash, type CairoContract, CairoContractAddress, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, CairoEthAddress, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, HttpTransport, type HttpTransportOptions, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$7 as RPC, index$5 as RPC0102, index$4 as RPC0103, index$6 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, type ReconnectOptions, ReconnectingWsTransport, type ReconnectingWsTransportOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, type RpcNotification, RpcProvider, type RpcProviderOptions, type RpcTransport, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type Secp256k1PointStruct, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionOwner, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, WebSocketProvider, type WebSocketProviderOptions, type WeierstrassSignatureType, type WithOptions, WsTransport, type WsTransportOptions, type WsTransportState, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, toAnyPatchVersion, toApiVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|