starknet 11.0.0-beta.10 → 11.0.0-beta.11

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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [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
+
3
+ ### Features
4
+
5
+ - **cairoDataTypes:** add CairoBool, CairoEthAddress and CairoSecp256k1Point ([332dd1e](https://github.com/starknet-io/starknet.js/commit/332dd1e2fbf9db756343768327788f9114a897b1))
6
+
7
+ ### BREAKING CHANGES
8
+
9
+ - **cairoDataTypes:** three inputs that used to reach the calldata are now refused.
10
+ A core::bool argument that is neither a boolean nor 0/1 throws instead of being
11
+ serialized as a felt. An EthAddress built from text throws instead of being
12
+ encoded as its UTF-8 bytes. A Secp256k1Point wider than 512 bits throws instead
13
+ of emitting four corrupted felts.
14
+
1
15
  # [11.0.0-beta.10](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.9...v11.0.0-beta.10) (2026-09-01)
2
16
 
3
17
  ### Bug Fixes
package/dist/index.d.ts CHANGED
@@ -3992,6 +3992,165 @@ declare abstract class AbiParserInterface {
3992
3992
  abstract getResponseParser(abiType: AbiEntryType): (responseIterator: Iterator<string>) => any;
3993
3993
  }
3994
3994
 
3995
+ /**
3996
+ * A Cairo `core::bool` : true or false, carried in one felt252 as 1 or 0.
3997
+ *
3998
+ * A boolean is the natural input, but the two numbers a bool occupies on the wire are accepted
3999
+ * too — `1`, `0n`, `'1'`, `'0x0'` — because that is how a bool comes back from a node, as a felt
4000
+ * rather than as a JS value. Any other number is refused : a bool is not a felt narrowed to a
4001
+ * range, it is exactly two values.
4002
+ *
4003
+ * On the request side the library is stricter still : `CallData.compile` runs `validateFields`
4004
+ * first, which requires a real boolean. So a `1` reaching a `core::bool` argument is refused there
4005
+ * before this class ever sees it.
4006
+ * @example
4007
+ * ```typescript
4008
+ * // the same value, reached three ways
4009
+ * new CairoBool(true).toBoolean(); // true
4010
+ * new CairoBool(1).toBoolean(); // true
4011
+ * new CairoBool('0x1').toBoolean(); // true
4012
+ * ```
4013
+ */
4014
+ declare class CairoBool {
4015
+ /**
4016
+ * The value, always as a boolean.
4017
+ * @example
4018
+ * ```typescript
4019
+ * const result = new CairoBool('0x1').data;
4020
+ * // result = true
4021
+ * ```
4022
+ */
4023
+ data: boolean;
4024
+ /**
4025
+ * The abi type this class serializes.
4026
+ * @example
4027
+ * ```typescript
4028
+ * const result = CairoBool.abiSelector;
4029
+ * // result = "core::bool"
4030
+ * ```
4031
+ */
4032
+ static abiSelector: string;
4033
+ /**
4034
+ * Build from a boolean, or from the numbers 0 and 1.
4035
+ * @param {BigNumberish | boolean} data the value to carry : a boolean, 0 or 1
4036
+ * @throws {Error} when the value is text, is not a felt252 input, or is a number other than 0 or 1
4037
+ * @example
4038
+ * ```typescript
4039
+ * const result = new CairoBool(false).toApiRequest();
4040
+ * // result = ["0"]
4041
+ * ```
4042
+ */
4043
+ constructor(data: BigNumberish | boolean | unknown);
4044
+ /**
4045
+ * Turn an accepted input into its boolean.
4046
+ *
4047
+ * Nothing here refuses a value : `validate` is what decides, and only a boolean, a 0 or a 1
4048
+ * reaches this point.
4049
+ * @param {BigNumberish | boolean} data the value to convert
4050
+ * @returns {boolean} the boolean the input spells
4051
+ * @example
4052
+ * ```typescript
4053
+ * const result = CairoBool.__processData('0x1');
4054
+ * // result = true
4055
+ * ```
4056
+ */
4057
+ static __processData(data: BigNumberish | boolean | unknown): boolean;
4058
+ /**
4059
+ * Serialize to the single felt a contract call carries.
4060
+ * @returns {string[]} one decimal-string felt, `"1"` or `"0"`, flagged as compiled
4061
+ * @example
4062
+ * ```typescript
4063
+ * const result = new CairoBool(true).toApiRequest();
4064
+ * // result = ["1"]
4065
+ * const result2 = new CairoBool(false).toApiRequest();
4066
+ * // result2 = ["0"]
4067
+ * ```
4068
+ */
4069
+ toApiRequest(): string[];
4070
+ /**
4071
+ * The value as a boolean.
4072
+ * @returns {boolean} the boolean this bool holds
4073
+ * @example
4074
+ * ```typescript
4075
+ * const result = new CairoBool(1).toBoolean();
4076
+ * // result = true
4077
+ * ```
4078
+ */
4079
+ toBoolean(): boolean;
4080
+ /**
4081
+ * The value in hexadecimal, as the felt a bool occupies.
4082
+ * @returns {string} `"0x1"` for true, `"0x0"` for false
4083
+ * @example
4084
+ * ```typescript
4085
+ * const result = new CairoBool(true).toHexString();
4086
+ * // result = "0x1"
4087
+ * const result2 = new CairoBool(false).toHexString();
4088
+ * // result2 = "0x0"
4089
+ * ```
4090
+ */
4091
+ toHexString(): string;
4092
+ /**
4093
+ * Throw unless the value can be carried by a bool.
4094
+ *
4095
+ * Text is refused first, then the value is read as a felt252 — which is what refuses a null, an
4096
+ * object or an unsupported type — and finally checked to be one of the only two numbers a bool
4097
+ * can hold.
4098
+ * @param {BigNumberish | boolean} data the value to check
4099
+ * @throws {Error} when the value is text, is not a felt252 input, or is a number other than 0 or 1
4100
+ * @example
4101
+ * ```typescript
4102
+ * CairoBool.validate(true); // passes
4103
+ * CairoBool.validate(2);
4104
+ * // throws Error("Only values 0 or 1 are possible in a core::bool, received 2")
4105
+ * ```
4106
+ */
4107
+ static validate(data: BigNumberish | boolean | unknown): void;
4108
+ /**
4109
+ * Can this value be carried by a bool?
4110
+ *
4111
+ * The non-throwing form of {@link CairoBool.validate}, so it answers false for every input that
4112
+ * one refuses, whatever the reason.
4113
+ * @param {BigNumberish | boolean} data the value to test
4114
+ * @returns {boolean} true when the value is a boolean, a 0 or a 1
4115
+ * @example
4116
+ * ```typescript
4117
+ * const result = CairoBool.is(1);
4118
+ * // result = true
4119
+ * const result2 = CairoBool.is(2);
4120
+ * // result2 = false (a bool is exactly two values)
4121
+ * ```
4122
+ */
4123
+ static is(data: BigNumberish | boolean | unknown): boolean;
4124
+ /**
4125
+ * Is this abi type the one this class serializes?
4126
+ * @param {string} abiType the abi type to test
4127
+ * @returns {boolean} true for `core::bool`
4128
+ * @example
4129
+ * ```typescript
4130
+ * const result = CairoBool.isAbiType('core::bool');
4131
+ * // result = true
4132
+ * const result2 = CairoBool.isAbiType('core::felt252');
4133
+ * // result2 = false
4134
+ * ```
4135
+ */
4136
+ static isAbiType(abiType: string): boolean;
4137
+ /**
4138
+ * Read one bool off a contract response, advancing the iterator past it.
4139
+ *
4140
+ * The felts a node returns are hex strings, and one is consumed per call, so successive calls
4141
+ * read successive return values.
4142
+ * @param {Iterator<string>} responseIterator the response felts, positioned on this bool
4143
+ * @returns {CairoBool} the bool that was read
4144
+ * @example
4145
+ * ```typescript
4146
+ * const response = ['0x1'];
4147
+ * const result = CairoBool.factoryFromApiResponse(response.values()).toBoolean();
4148
+ * // result = true
4149
+ * ```
4150
+ */
4151
+ static factoryFromApiResponse(responseIterator: Iterator<string>): CairoBool;
4152
+ }
4153
+
3995
4154
  /**
3996
4155
  * The largest u512, 2^512 - 1.
3997
4156
  * @example
@@ -6260,6 +6419,7 @@ type ParsingStrategy = {
6260
6419
  */
6261
6420
  declare const hdParsingStrategy: {
6262
6421
  readonly request: {
6422
+ readonly [CairoBool.abiSelector]: (val: unknown) => string[];
6263
6423
  readonly [CairoUint512.abiSelector]: (val: unknown) => string[];
6264
6424
  readonly [CairoUint8.abiSelector]: (val: unknown) => string[];
6265
6425
  readonly [CairoUint16.abiSelector]: (val: unknown) => string[];
@@ -6276,9 +6436,11 @@ declare const hdParsingStrategy: {
6276
6436
  readonly "core::byte_array::ByteArray": (val: unknown) => string[];
6277
6437
  readonly "core::felt252": (val: unknown) => string[];
6278
6438
  readonly "core::starknet::eth_address::EthAddress": (val: unknown) => string[];
6439
+ readonly "core::starknet::secp256k1::Secp256k1Point": (val: unknown) => string[];
6279
6440
  readonly "core::integer::u256": (val: unknown) => string[];
6280
6441
  };
6281
6442
  readonly response: {
6443
+ readonly [CairoBool.abiSelector]: (responseIterator: Iterator<string>) => boolean;
6282
6444
  readonly [CairoUint512.abiSelector]: (responseIterator: Iterator<string>) => bigint;
6283
6445
  readonly [CairoUint8.abiSelector]: (responseIterator: Iterator<string>) => bigint;
6284
6446
  readonly [CairoUint16.abiSelector]: (responseIterator: Iterator<string>) => bigint;
@@ -6294,6 +6456,7 @@ declare const hdParsingStrategy: {
6294
6456
  readonly "core::bytes_31::bytes31": (responseIterator: Iterator<string>) => string;
6295
6457
  readonly "core::byte_array::ByteArray": (responseIterator: Iterator<string>) => string;
6296
6458
  readonly "core::felt252": (responseIterator: Iterator<string>) => bigint;
6459
+ readonly "core::starknet::secp256k1::Secp256k1Point": (responseIterator: Iterator<string>) => bigint;
6297
6460
  readonly "core::integer::u256": (responseIterator: Iterator<string>) => bigint;
6298
6461
  };
6299
6462
  };
@@ -13302,6 +13465,402 @@ declare class CairoByteArray {
13302
13465
  static factoryFromApiResponse(responseIterator: Iterator<string>): CairoByteArray;
13303
13466
  }
13304
13467
 
13468
+ /**
13469
+ * A Cairo `core::starknet::eth_address::EthAddress` : an Ethereum address, carried in one felt252
13470
+ * but only 160 bits wide.
13471
+ *
13472
+ * On the wire it is a field element like any other, so what this class adds over
13473
+ * {@link CairoFelt252} is the narrower bound : an address must fit in 160 bits, and a value past
13474
+ * that is refused before any calldata leaves.
13475
+ *
13476
+ * A number, a bigint, a decimal string and a hexadecimal string are all read as the same number,
13477
+ * so the shape of the input does not survive. Text is **not** an accepted input : unlike the other
13478
+ * Cairo classes, which take a string that spells no number for its UTF-8 bytes, an address has no
13479
+ * meaning as text and refuses it rather than encoding it into a number nobody meant.
13480
+ * @example
13481
+ * ```typescript
13482
+ * // the same address, reached three ways
13483
+ * new CairoEthAddress('0x1234').toBigInt(); // 4660n
13484
+ * new CairoEthAddress(4660).toBigInt(); // 4660n
13485
+ * new CairoEthAddress('4660').toBigInt(); // 4660n
13486
+ * ```
13487
+ */
13488
+ declare class CairoEthAddress {
13489
+ /**
13490
+ * The address, always as a bigint.
13491
+ * @example
13492
+ * ```typescript
13493
+ * const result = new CairoEthAddress('0x1234').data;
13494
+ * // result = 4660n
13495
+ * ```
13496
+ */
13497
+ data: bigint;
13498
+ /**
13499
+ * The abi type this class serializes.
13500
+ * @example
13501
+ * ```typescript
13502
+ * const result = CairoEthAddress.abiSelector;
13503
+ * // result = "core::starknet::eth_address::EthAddress"
13504
+ * ```
13505
+ */
13506
+ static abiSelector: string;
13507
+ /**
13508
+ * Build from a number or a numeric string, refusing text and anything wider than 160 bits.
13509
+ * @param {BigNumberish | boolean} data the address to carry, within [0, 2^160 - 1]
13510
+ * @throws {Error} when the value is text, is not a felt252 input, or is out of the EthAddress range
13511
+ * @example
13512
+ * ```typescript
13513
+ * const result = new CairoEthAddress('0x1234').toApiRequest();
13514
+ * // result = ["4660"]
13515
+ * ```
13516
+ */
13517
+ constructor(data: BigNumberish | boolean | unknown);
13518
+ /**
13519
+ * Serialize to the single felt a contract call carries.
13520
+ * @returns {string[]} one decimal-string felt, flagged as compiled
13521
+ * @example
13522
+ * ```typescript
13523
+ * const result = new CairoEthAddress('0x1234').toApiRequest();
13524
+ * // result = ["4660"]
13525
+ * ```
13526
+ */
13527
+ toApiRequest(): string[];
13528
+ /**
13529
+ * The address as a number.
13530
+ * @returns {bigint} the number this address holds
13531
+ * @example
13532
+ * ```typescript
13533
+ * const result = new CairoEthAddress('0x1234').toBigInt();
13534
+ * // result = 4660n
13535
+ * ```
13536
+ */
13537
+ toBigInt(): bigint;
13538
+ /**
13539
+ * The address in hexadecimal, without padding.
13540
+ *
13541
+ * The 40 hex digits an Ethereum address is usually written with are not restored here : leading
13542
+ * zeros are dropped, as they are everywhere else in the library.
13543
+ * @returns {string} the address as a 0x-prefixed hex string
13544
+ * @example
13545
+ * ```typescript
13546
+ * const result = new CairoEthAddress(4660).toHexString();
13547
+ * // result = "0x1234"
13548
+ * const result2 = new CairoEthAddress('0x0034').toHexString();
13549
+ * // result2 = "0x34" (four digits in, two out)
13550
+ * ```
13551
+ */
13552
+ toHexString(): string;
13553
+ /**
13554
+ * Throw unless the value can be carried by an EthAddress.
13555
+ *
13556
+ * Text is refused first, since an address spelled as words is a mistake rather than a value to
13557
+ * encode. What remains is read as a felt252 — which is what refuses a null, an object or an
13558
+ * unsupported type — then checked against the 160 bits an Ethereum address occupies.
13559
+ * @param {BigNumberish | boolean} data the value to check
13560
+ * @throws {Error} when the value is text, is not a felt252 input, or is out of the EthAddress range
13561
+ * @example
13562
+ * ```typescript
13563
+ * CairoEthAddress.validate('0x1234'); // passes
13564
+ * CairoEthAddress.validate('abc');
13565
+ * // throws Error("Invalid input: an EthAddress cannot be built from text")
13566
+ * CairoEthAddress.validate(2n ** 160n);
13567
+ * // throws Error("Value is out of EthAddress range [0, 1461501637330902918203684832716283019655932542975]")
13568
+ * ```
13569
+ */
13570
+ static validate(data: BigNumberish | boolean | unknown): void;
13571
+ /**
13572
+ * Can this value be carried by an EthAddress?
13573
+ *
13574
+ * The non-throwing form of {@link CairoEthAddress.validate}, so it answers false for every input
13575
+ * that one refuses, whatever the reason.
13576
+ * @param {BigNumberish | boolean} data the value to test
13577
+ * @returns {boolean} true when the value fits in an EthAddress
13578
+ * @example
13579
+ * ```typescript
13580
+ * const result = CairoEthAddress.is('0x1234');
13581
+ * // result = true
13582
+ * const result2 = CairoEthAddress.is('abc');
13583
+ * // result2 = false (text, not a number)
13584
+ * const result3 = CairoEthAddress.is(2n ** 160n);
13585
+ * // result3 = false (one bit too wide)
13586
+ * ```
13587
+ */
13588
+ static is(data: BigNumberish | boolean | unknown): boolean;
13589
+ /**
13590
+ * Is this abi type the one this class serializes?
13591
+ * @param {string} abiType the abi type to test
13592
+ * @returns {boolean} true for `core::starknet::eth_address::EthAddress`
13593
+ * @example
13594
+ * ```typescript
13595
+ * const result = CairoEthAddress.isAbiType('core::starknet::eth_address::EthAddress');
13596
+ * // result = true
13597
+ * const result2 = CairoEthAddress.isAbiType('core::felt252');
13598
+ * // result2 = false
13599
+ * ```
13600
+ */
13601
+ static isAbiType(abiType: string): boolean;
13602
+ /**
13603
+ * Read one EthAddress off a contract response, advancing the iterator past it.
13604
+ *
13605
+ * The felts a node returns are hex strings, and one is consumed per call, so successive calls
13606
+ * read successive return values.
13607
+ * @param {Iterator<string>} responseIterator the response felts, positioned on this address
13608
+ * @returns {CairoEthAddress} the address that was read
13609
+ * @example
13610
+ * ```typescript
13611
+ * const response = ['0x1234'];
13612
+ * const result = CairoEthAddress.factoryFromApiResponse(response.values()).toBigInt();
13613
+ * // result = 4660n
13614
+ * ```
13615
+ */
13616
+ static factoryFromApiResponse(responseIterator: Iterator<string>): CairoEthAddress;
13617
+ }
13618
+
13619
+ /**
13620
+ * The largest value a Secp256k1Point can carry : both coordinates at their maximum, 512 bits.
13621
+ * @example
13622
+ * ```typescript
13623
+ * const result = SECP256K1_POINT_MAX === (1n << 512n) - 1n;
13624
+ * // result = true
13625
+ * ```
13626
+ */
13627
+ declare const SECP256K1_POINT_MAX: bigint;
13628
+ /**
13629
+ * The smallest value a Secp256k1Point can carry.
13630
+ * @example
13631
+ * ```typescript
13632
+ * const result = SECP256K1_POINT_MIN;
13633
+ * // result = 0n
13634
+ * ```
13635
+ */
13636
+ declare const SECP256K1_POINT_MIN = 0n;
13637
+ /**
13638
+ * The four 128-bit limbs a Secp256k1Point occupies on the wire, in the order a call carries them.
13639
+ */
13640
+ interface Secp256k1PointStruct {
13641
+ xLow: BigNumberish;
13642
+ xHigh: BigNumberish;
13643
+ yLow: BigNumberish;
13644
+ yHigh: BigNumberish;
13645
+ }
13646
+ /**
13647
+ * A Cairo `core::starknet::secp256k1::Secp256k1Point` : a point on the secp256k1 curve, the one
13648
+ * Ethereum signs with.
13649
+ *
13650
+ * A point is two 256-bit coordinates, x and y, and Cairo carries each of them as two 128-bit
13651
+ * limbs — so four felts in all, in the order `xLow, xHigh, yLow, yHigh`. The single number this
13652
+ * class accepts is the 512-bit concatenation `x || y`, x in the upper half : that is the shape an
13653
+ * uncompressed public key already has once its `04` prefix is dropped.
13654
+ *
13655
+ * Both ways in are supported : one number, or the four limbs directly, which is how a response is
13656
+ * read back.
13657
+ * @example
13658
+ * ```typescript
13659
+ * // one number, x in the upper 256 bits
13660
+ * const point = new CairoSecp256k1Point(1n);
13661
+ * point.toApiRequest(); // ["0", "0", "1", "0"] x = 0, y = 1
13662
+ *
13663
+ * // the four limbs, as a call carries them
13664
+ * const same = new CairoSecp256k1Point(0, 0, 1, 0);
13665
+ * same.toBigInt(); // 1n
13666
+ * ```
13667
+ */
13668
+ declare class CairoSecp256k1Point {
13669
+ /**
13670
+ * The low 128 bits of the x coordinate.
13671
+ * @example
13672
+ * ```typescript
13673
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).xLow;
13674
+ * // result = 1n
13675
+ * ```
13676
+ */
13677
+ xLow: bigint;
13678
+ /**
13679
+ * The high 128 bits of the x coordinate.
13680
+ * @example
13681
+ * ```typescript
13682
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).xHigh;
13683
+ * // result = 2n
13684
+ * ```
13685
+ */
13686
+ xHigh: bigint;
13687
+ /**
13688
+ * The low 128 bits of the y coordinate.
13689
+ * @example
13690
+ * ```typescript
13691
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).yLow;
13692
+ * // result = 3n
13693
+ * ```
13694
+ */
13695
+ yLow: bigint;
13696
+ /**
13697
+ * The high 128 bits of the y coordinate.
13698
+ * @example
13699
+ * ```typescript
13700
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).yHigh;
13701
+ * // result = 4n
13702
+ * ```
13703
+ */
13704
+ yHigh: bigint;
13705
+ /**
13706
+ * The abi type this class serializes.
13707
+ * @example
13708
+ * ```typescript
13709
+ * const result = CairoSecp256k1Point.abiSelector;
13710
+ * // result = "core::starknet::secp256k1::Secp256k1Point"
13711
+ * ```
13712
+ */
13713
+ static abiSelector: "core::starknet::secp256k1::Secp256k1Point";
13714
+ /**
13715
+ * Build from the 512-bit number `x || y`, or from an object carrying the four limbs.
13716
+ */
13717
+ constructor(input: BigNumberish | Secp256k1PointStruct | unknown);
13718
+ /**
13719
+ * Build from the four limbs, in the order a contract response returns them.
13720
+ */
13721
+ constructor(xLow: BigNumberish, xHigh: BigNumberish, yLow: BigNumberish, yHigh: BigNumberish);
13722
+ /**
13723
+ * Throw unless the value can be carried by a Secp256k1Point, and return it as a number.
13724
+ *
13725
+ * Unlike the other classes here this one gives the number back rather than returning nothing :
13726
+ * the constructor needs it, and computing it twice would mean splitting a 512-bit value twice.
13727
+ * @param {BigNumberish} input the 512-bit value to check
13728
+ * @returns {bigint} the value, once checked
13729
+ * @throws {Error} when the value is null, undefined, of an unread type, or outside [0, 2^512 - 1]
13730
+ * @example
13731
+ * ```typescript
13732
+ * const result = CairoSecp256k1Point.validate('0x1234');
13733
+ * // result = 4660n
13734
+ * CairoSecp256k1Point.validate(SECP256K1_POINT_MAX + 1n);
13735
+ * // throws Error("input is bigger than SECP256K1_POINT_MAX")
13736
+ * ```
13737
+ */
13738
+ static validate(input: BigNumberish | unknown): bigint;
13739
+ /**
13740
+ * Throw unless the four limbs can each be carried by 128 bits, and return them as numbers.
13741
+ * @param {BigNumberish} xLow the low 128 bits of x
13742
+ * @param {BigNumberish} xHigh the high 128 bits of x
13743
+ * @param {BigNumberish} yLow the low 128 bits of y
13744
+ * @param {BigNumberish} yHigh the high 128 bits of y
13745
+ * @returns {{xLow: bigint, xHigh: bigint, yLow: bigint, yHigh: bigint}} the four limbs, checked
13746
+ * @throws {Error} when a limb is null, undefined, not a number, negative, or wider than 128 bits
13747
+ * @example
13748
+ * ```typescript
13749
+ * const result = CairoSecp256k1Point.validateProps(1, 2, 3, 4);
13750
+ * // result = { xLow: 1n, xHigh: 2n, yLow: 3n, yHigh: 4n }
13751
+ * CairoSecp256k1Point.validateProps(1, 2, 3, 2n ** 128n);
13752
+ * // throws Error("yHigh must fit in 128 bits")
13753
+ * ```
13754
+ */
13755
+ static validateProps(xLow: BigNumberish, xHigh: BigNumberish, yLow: BigNumberish, yHigh: BigNumberish): {
13756
+ xLow: bigint;
13757
+ xHigh: bigint;
13758
+ yLow: bigint;
13759
+ yHigh: bigint;
13760
+ };
13761
+ /**
13762
+ * Can this value be carried by a Secp256k1Point?
13763
+ *
13764
+ * The non-throwing form of {@link CairoSecp256k1Point.validate}, so it answers false for every
13765
+ * input that one refuses, whatever the reason.
13766
+ * @param {any} data the value to test
13767
+ * @returns {boolean} true when the value fits in 512 bits
13768
+ * @example
13769
+ * ```typescript
13770
+ * const result = CairoSecp256k1Point.is(SECP256K1_POINT_MAX);
13771
+ * // result = true
13772
+ * const result2 = CairoSecp256k1Point.is(SECP256K1_POINT_MAX + 1n);
13773
+ * // result2 = false
13774
+ * ```
13775
+ */
13776
+ static is(data: any): boolean;
13777
+ /**
13778
+ * Is this abi type the one this class serializes?
13779
+ * @param {string} abiType the abi type to test
13780
+ * @returns {boolean} true for `core::starknet::secp256k1::Secp256k1Point`
13781
+ * @example
13782
+ * ```typescript
13783
+ * const result = CairoSecp256k1Point.isAbiType('core::starknet::secp256k1::Secp256k1Point');
13784
+ * // result = true
13785
+ * const result2 = CairoSecp256k1Point.isAbiType('core::felt252');
13786
+ * // result2 = false
13787
+ * ```
13788
+ */
13789
+ static isAbiType(abiType: string): boolean;
13790
+ /**
13791
+ * Read one point off a contract response, advancing the iterator past its four felts.
13792
+ * @param {Iterator<string>} responseIterator the response felts, positioned on this point
13793
+ * @returns {CairoSecp256k1Point} the point that was read
13794
+ * @example
13795
+ * ```typescript
13796
+ * const response = ['0x0', '0x0', '0x1', '0x0'];
13797
+ * const result = CairoSecp256k1Point.factoryFromApiResponse(response.values()).toBigInt();
13798
+ * // result = 1n
13799
+ * ```
13800
+ */
13801
+ static factoryFromApiResponse(responseIterator: Iterator<string>): CairoSecp256k1Point;
13802
+ /**
13803
+ * The point as the single 512-bit number `x || y`.
13804
+ *
13805
+ * The inverse of what the constructor does with one number, so a point built that way comes back
13806
+ * unchanged.
13807
+ * @returns {bigint} the two coordinates concatenated, x in the upper 256 bits
13808
+ * @example
13809
+ * ```typescript
13810
+ * const result = new CairoSecp256k1Point(1n).toBigInt();
13811
+ * // result = 1n
13812
+ * const result2 = new CairoSecp256k1Point(0, 0, 3, 0).toBigInt();
13813
+ * // result2 = 3n
13814
+ * ```
13815
+ */
13816
+ toBigInt(): bigint;
13817
+ /**
13818
+ * The four limbs as hexadecimal strings.
13819
+ * @returns {Secp256k1PointStruct} the limbs, each 0x-prefixed and unpadded
13820
+ * @example
13821
+ * ```typescript
13822
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).toStruct();
13823
+ * // result = { xLow: "0x1", xHigh: "0x2", yLow: "0x3", yHigh: "0x4" }
13824
+ * ```
13825
+ */
13826
+ toStruct(): Secp256k1PointStruct;
13827
+ /**
13828
+ * The point in hexadecimal, without padding.
13829
+ * @returns {string} the 512-bit value as a 0x-prefixed hex string
13830
+ * @example
13831
+ * ```typescript
13832
+ * const result = new CairoSecp256k1Point(4660n).toHexString();
13833
+ * // result = "0x1234"
13834
+ * ```
13835
+ */
13836
+ toHexString(): string;
13837
+ /**
13838
+ * Serialize to the four felts a contract call carries.
13839
+ * @returns {string[]} the limbs as decimal strings, `[xLow, xHigh, yLow, yHigh]`, flagged as compiled
13840
+ * @example
13841
+ * ```typescript
13842
+ * const result = new CairoSecp256k1Point({ xLow: 1, xHigh: 2, yLow: 3, yHigh: 4 }).toApiRequest();
13843
+ * // result = ["1", "2", "3", "4"]
13844
+ * ```
13845
+ */
13846
+ toApiRequest(): string[];
13847
+ /**
13848
+ * Build from a hexadecimal string spelling the 512-bit value.
13849
+ *
13850
+ * A shorter string is left-padded to the 128 hex digits a point occupies, so a small value is
13851
+ * read as a point whose upper limbs are zero. A longer one is refused rather than truncated.
13852
+ * @param {string} hexString the value, 0x-prefixed or not, at most 128 hex digits
13853
+ * @returns {CairoSecp256k1Point} the point the string spells
13854
+ * @throws {Error} when the string holds more than 128 hex digits
13855
+ * @example
13856
+ * ```typescript
13857
+ * const result = CairoSecp256k1Point.fromHex('0x1').toApiRequest();
13858
+ * // result = ["0", "0", "1", "0"]
13859
+ * ```
13860
+ */
13861
+ static fromHex(hexString: string): CairoSecp256k1Point;
13862
+ }
13863
+
13305
13864
  /**
13306
13865
  * Format a hex number to '0x' and 64 characters, adding leading zeros if necessary.
13307
13866
  *
@@ -14294,4 +14853,4 @@ declare class Logger {
14294
14853
  */
14295
14854
  declare const logger: Logger;
14296
14855
 
14297
- 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, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, 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, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, 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 };
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 };