starknet 11.0.0-beta.2 → 11.0.0-beta.4

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,25 @@
1
+ # [11.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.3...v11.0.0-beta.4) (2026-08-21)
2
+
3
+ ### Bug Fixes
4
+
5
+ - remove leftover v1 transaction references ([52424df](https://github.com/starknet-io/starknet.js/commit/52424df0f3dee61ab477bf06adddca189ac313f7))
6
+
7
+ ### BREAKING CHANGES
8
+
9
+ - v2hash, ETransactionVersion2, Details,
10
+ InvocationsDetails.maxFee and TransactionHashPrefix.DEPLOY are removed.
11
+ See the v10 to v11 migration guide, section 8.
12
+
13
+ # [11.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.2...v11.0.0-beta.3) (2026-08-20)
14
+
15
+ ### Features
16
+
17
+ - **receipt:** remove the deprecated ReceiptTx class ([e57933c](https://github.com/starknet-io/starknet.js/commit/e57933cc491249b5b1593e84b4d90750e9bdf7dc))
18
+
19
+ ### BREAKING CHANGES
20
+
21
+ - **receipt:** remove the deprecated ReceiptTx class
22
+
1
23
  # [11.0.0-beta.2](https://github.com/starknet-io/starknet.js/compare/v11.0.0-beta.1...v11.0.0-beta.2) (2026-08-19)
2
24
 
3
25
  - feat(cairo)!: remove the deprecated string helpers, add CairoBytes31.fromText ([49331fe](https://github.com/starknet-io/starknet.js/commit/49331fe4ffc002c6adf711c0484a4f5b70954fc9))
package/dist/index.d.ts CHANGED
@@ -480,15 +480,6 @@ declare const ETransactionVersion: {
480
480
  readonly F2: "0x100000000000000000000000000000002";
481
481
  readonly F3: "0x100000000000000000000000000000003";
482
482
  };
483
- type ETransactionVersion2 = RPC.ETransactionVersion2;
484
- declare const ETransactionVersion2: {
485
- readonly V0: "0x0";
486
- readonly V1: "0x1";
487
- readonly V2: "0x2";
488
- readonly F0: "0x100000000000000000000000000000000";
489
- readonly F1: "0x100000000000000000000000000000001";
490
- readonly F2: "0x100000000000000000000000000000002";
491
- };
492
483
  type ETransactionVersion3 = RPC.ETransactionVersion3;
493
484
  declare const ETransactionVersion3: {
494
485
  readonly V3: "0x3";
@@ -775,7 +766,6 @@ type CairoVersion = '0' | '1' | undefined;
775
766
  type CompilerVersion = '0' | '1' | '2' | undefined;
776
767
  type InvocationsDetails = {
777
768
  nonce?: BigNumberish;
778
- maxFee?: BigNumberish;
779
769
  version?: BigNumberish;
780
770
  } & Partial<V3TransactionDetails>;
781
771
  type V3TransactionDetails = {
@@ -792,15 +782,6 @@ type V3TransactionDetails = {
792
782
  /** Proof for the transaction (RPC 0.10.1+) - base64 encoded string */
793
783
  proof?: string;
794
784
  };
795
- /**
796
- * Contain all additional details params
797
- */
798
- type Details = {
799
- nonce: BigNumberish;
800
- maxFee: BigNumberish;
801
- version: BigNumberish;
802
- chainId: _StarknetChainId;
803
- };
804
785
  type InvocationsDetailsWithNonce = (InvocationsDetails & {
805
786
  nonce: BigNumberish;
806
787
  }) | V3TransactionDetails;
@@ -1155,7 +1136,6 @@ declare abstract class ProviderInterface {
1155
1136
  * @param details - optional details containing:
1156
1137
  * - nonce - optional nonce
1157
1138
  * - version - optional version
1158
- * - maxFee - optional maxFee
1159
1139
  * @returns response from addTransaction
1160
1140
  */
1161
1141
  abstract invokeFunction(invocation: Invocation, details: InvocationsDetailsWithNonce): Promise<InvokeFunctionResponse>;
@@ -1168,7 +1148,6 @@ declare abstract class ProviderInterface {
1168
1148
  * @param details Invocation Details containing:
1169
1149
  * - nonce
1170
1150
  * - optional version
1171
- * - optional maxFee
1172
1151
  * @returns a confirmation of sending a transaction on the starknet contract
1173
1152
  */
1174
1153
  abstract declareContract(transaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<DeclareContractResponse>;
@@ -1206,7 +1185,6 @@ declare abstract class ProviderInterface {
1206
1185
  * @param details - optional details containing:
1207
1186
  * - nonce
1208
1187
  * - version - optional version
1209
- * - optional maxFee
1210
1188
  * @param blockIdentifier - (optional) block identifier
1211
1189
  * @param skipValidate - (optional) skip cairo __validate__ method
1212
1190
  * @returns the estimated fee
@@ -1231,7 +1209,6 @@ declare abstract class ProviderInterface {
1231
1209
  * @param details - optional details containing:
1232
1210
  * - nonce
1233
1211
  * - version - optional version
1234
- * - optional maxFee
1235
1212
  * @param blockIdentifier - (optional) block identifier
1236
1213
  * @param skipValidate - (optional) skip cairo __validate__ method
1237
1214
  * @returns the estimated fee
@@ -1583,7 +1560,7 @@ declare abstract class SignerInterface {
1583
1560
  * @param {Call[]} transactions - Array of Call objects representing the transactions
1584
1561
  * @param {InvocationsSignerDetails} transactionsDetail - Transaction details including V3 fields
1585
1562
  * @returns {Promise<Signature>} the signature of the transaction
1586
- * @remarks Only supports V3 transactions. V0, V1, and V2 transactions will throw an error.
1563
+ * @remarks Only V3 transactions are supported; any other version throws an error.
1587
1564
  * @example
1588
1565
  * ```typescript
1589
1566
  * const mySigner = new Signer("0x123");
@@ -1620,7 +1597,7 @@ declare abstract class SignerInterface {
1620
1597
  *
1621
1598
  * @param {DeployAccountSignerDetails} transaction - Transaction details to deploy an account contract
1622
1599
  * @returns {Promise<Signature>} the signature of the transaction to deploy an account
1623
- * @remarks Only supports V3 transactions. V0, V1, and V2 transactions will throw an error.
1600
+ * @remarks Only V3 transactions are supported; any other version throws an error.
1624
1601
  * @example
1625
1602
  * ```typescript
1626
1603
  * const mySigner = new Signer("0x123");
@@ -1654,7 +1631,7 @@ declare abstract class SignerInterface {
1654
1631
  *
1655
1632
  * @param {DeclareSignerDetails} transaction - Transaction details to declare a contract class
1656
1633
  * @returns {Promise<Signature>} the signature of the transaction to declare a class
1657
- * @remarks Only supports V3 transactions. V0, V1, and V2 transactions will throw an error.
1634
+ * @remarks Only V3 transactions are supported; any other version throws an error.
1658
1635
  * @example
1659
1636
  * ```typescript
1660
1637
  * const mySigner = new Signer("0x123");
@@ -1796,9 +1773,9 @@ declare class LedgerSigner111<Transport extends Record<any, any> = any> implemen
1796
1773
  */
1797
1774
  signMessage(typedDataToHash: TypedData, accountAddress: string): Promise<Signature>;
1798
1775
  /**
1799
- * Sign in a Ledger a V1 or a V3 transaction. This is a blind sign on the Ledger screen.
1776
+ * Sign in a Ledger a V3 transaction. This is a blind sign on the Ledger screen.
1800
1777
  * @param {Call1[]} transactions An array of `Call` transactions (generated for example by `myContract.populate()`).
1801
- * @param {InvocationsSignerDetails} transactionsDetail An object that includes all the necessary inputs to hash the transaction. Can be `V2InvocationsSignerDetails` or `V3InvocationsSignerDetails` type.
1778
+ * @param {InvocationsSignerDetails} transactionsDetail An object that includes all the necessary inputs to hash the transaction.
1802
1779
  * @returns {Signature} The signed transaction.
1803
1780
  * @example
1804
1781
  * ```typescript
@@ -1833,7 +1810,7 @@ declare class LedgerSigner111<Transport extends Record<any, any> = any> implemen
1833
1810
  signTransaction(transactions: Call[], transactionsDetail: InvocationsSignerDetails): Promise<Signature>;
1834
1811
  /**
1835
1812
  * Sign in a Ledger the deployment of a new account. This is a blind sign on the Ledger screen.
1836
- * @param {DeployAccountSignerDetails} details An object that includes all necessary data to calculate the Hash. It can be `V2DeployAccountSignerDetails` or `V3DeployAccountSignerDetails` types.
1813
+ * @param {DeployAccountSignerDetails} details An object that includes all necessary data to calculate the Hash.
1837
1814
  * @returns {Signature} The deploy account signature.
1838
1815
  * @example
1839
1816
  * ```typescript
@@ -1846,7 +1823,7 @@ declare class LedgerSigner111<Transport extends Record<any, any> = any> implemen
1846
1823
  signDeployAccountTransaction(details: DeployAccountSignerDetails): Promise<Signature>;
1847
1824
  /**
1848
1825
  * Sign in a Ledger the declaration of a new class. This is a blind sign on the Ledger screen.
1849
- * @param {DeclareSignerDetails} details An object that includes all necessary data to calculate the Hash. It can be `V3DeclareSignerDetails` or `V2DeclareSignerDetails` types.
1826
+ * @param {DeclareSignerDetails} details An object that includes all necessary data to calculate the Hash.
1850
1827
  * @returns {Signature} The declare Signature.
1851
1828
  * @example
1852
1829
  * ```typescript
@@ -1915,9 +1892,9 @@ declare class LedgerSigner221<Transport extends Record<any, any> = any> extends
1915
1892
  */
1916
1893
  constructor(transport: Transport, accountID: number, eip2645application?: string, pathFunction?: LedgerPathCalculation);
1917
1894
  /**
1918
- * Sign in a Ledger a V1 or a V3 transaction. The details are displayed on the Ledger screen.
1895
+ * Sign in a Ledger a V3 transaction. The details are displayed on the Ledger screen.
1919
1896
  * @param {Call[]} transactions An array of `Call` transactions (generated for example by `myContract.populate()`).
1920
- * @param {InvocationsSignerDetails} transactionsDetail An object that includes all the necessary inputs to hash the transaction. Can be `V2InvocationsSignerDetails` or `V3InvocationsSignerDetails` type.
1897
+ * @param {InvocationsSignerDetails} transactionsDetail An object that includes all the necessary inputs to hash the transaction.
1921
1898
  * @returns {Signature} The signed transaction.
1922
1899
  * @example
1923
1900
  * ```typescript
@@ -1952,7 +1929,7 @@ declare class LedgerSigner221<Transport extends Record<any, any> = any> extends
1952
1929
  signTransaction(transactions: Call[], transactionsDetail: InvocationsSignerDetails): Promise<Signature>;
1953
1930
  /**
1954
1931
  * Sign in a Ledger the deployment of a new account. The details are displayed on the Ledger screen.
1955
- * @param {DeployAccountSignerDetails} details An object that includes all necessary data to calculate the Hash. It can be `V2DeployAccountSignerDetails` or `V3DeployAccountSignerDetails` types.
1932
+ * @param {DeployAccountSignerDetails} details An object that includes all necessary data to calculate the Hash.
1956
1933
  * @returns {Signature} The deploy account signature.
1957
1934
  * @example
1958
1935
  * ```typescript
@@ -2035,7 +2012,7 @@ declare class LedgerSigner221<Transport extends Record<any, any> = any> extends
2035
2012
  * ],
2036
2013
  * contractAddress: '0x4ca062add1cf12a107be1107af17981cf6e544a24d987693230ea481d3d5e34',
2037
2014
  * addressSalt: '0x07e52f68e3160e1ef698211cdf6d3792368fe347e7e2d4a8ace14d9b248f39c5',
2038
- * chainId: '0x534e5f5345504f4c4941', maxFee: 0,
2015
+ * chainId: '0x534e5f5345504f4c4941',
2039
2016
  * version: '0x3', nonce: 0n
2040
2017
  *}
2041
2018
  * const res = await myLedgerSigner.signDeployAccountV3(deployData);
@@ -2098,7 +2075,7 @@ declare class LedgerSigner231<Transport extends Record<any, any> = any> extends
2098
2075
  */
2099
2076
  constructor(transport: Transport, accountID: number, eip2645application?: string, pathFunction?: LedgerPathCalculation);
2100
2077
  /**
2101
- * Ask to the Ledger Nano to display and sign a Starknet V3 transaction (Rpc 0.7 & Rpc 0.8).
2078
+ * Ask to the Ledger Nano to display and sign a Starknet V3 transaction.
2102
2079
  * @param {V3InvocationsSignerDetails} txDetails All the details needed for a txV3.
2103
2080
  * @param {Call[]} calls array of Starknet invocations
2104
2081
  * @returns an object including the transaction Hash and the signature
@@ -2118,7 +2095,7 @@ declare class LedgerSigner231<Transport extends Record<any, any> = any> extends
2118
2095
  * },
2119
2096
  * l2_gas: { max_amount: "0x00", max_price_per_unit: "0x00"},
2120
2097
  * }, tip: 0, version: "0x3", walletAddress: account0.address
2121
- * }; // Rpc 0.7 transaction.
2098
+ * };
2122
2099
  * const res = await myLedgerSigner.signTxV3(txDetailsV3, calls);
2123
2100
  * // res = {hash:
2124
2101
  * // signature:
@@ -2130,7 +2107,7 @@ declare class LedgerSigner231<Transport extends Record<any, any> = any> extends
2130
2107
  signature: Signature;
2131
2108
  }>;
2132
2109
  /**
2133
- *Ask the Ledger Nano to display and sign a Starknet V3 account deployment (Rpc 0.7 & Rpc 0.8).
2110
+ *Ask the Ledger Nano to display and sign a Starknet V3 account deployment.
2134
2111
  * @param {V3DeployAccountSignerDetails} deployAccountDetail All the details needed for a V3 deploy account.
2135
2112
  * @returns an object including the transaction Hash and the signature
2136
2113
  * @example
@@ -2149,9 +2126,9 @@ declare class LedgerSigner231<Transport extends Record<any, any> = any> extends
2149
2126
  * ],
2150
2127
  * contractAddress: '0x4ca062add1cf12a107be1107af17981cf6e544a24d987693230ea481d3d5e34',
2151
2128
  * addressSalt: '0x07e52f68e3160e1ef698211cdf6d3792368fe347e7e2d4a8ace14d9b248f39c5',
2152
- * chainId: '0x534e5f5345504f4c4941', maxFee: 0,
2129
+ * chainId: '0x534e5f5345504f4c4941',
2153
2130
  * version: '0x3', nonce: 0n
2154
- *} // Rpc 0.7 transaction.
2131
+ *}
2155
2132
  * const res = await myLedgerSigner.signDeployAccountV3(deployData);
2156
2133
  * // res = {hash:
2157
2134
  * // signature:
@@ -2627,8 +2604,7 @@ declare abstract class AccountInterface {
2627
2604
  *
2628
2605
  * @param transactionsDetail - Transaction execution options
2629
2606
  * - .nonce - Override account nonce
2630
- * - .maxFee - Maximum fee for v1/v2 transactions
2631
- * - .resourceBounds - Resource limits for v3 transactions
2607
+ * - .resourceBounds - Resource limits for the transaction
2632
2608
  * - .tip - Priority fee tip
2633
2609
  * - .version - Force specific transaction version
2634
2610
  *
@@ -4670,7 +4646,6 @@ declare const OutsideExecutionVersion: {
4670
4646
  type OutsideExecutionVersion = ValuesType<typeof OutsideExecutionVersion>;
4671
4647
 
4672
4648
  type InvocationsSignerDetails = V3InvocationsSignerDetails & {
4673
- version: `${ETransactionVersion$1}`;
4674
4649
  skipValidate?: boolean;
4675
4650
  };
4676
4651
  type V3InvocationsSignerDetails = V3TransactionDetails & {
@@ -4679,9 +4654,7 @@ type V3InvocationsSignerDetails = V3TransactionDetails & {
4679
4654
  chainId: _StarknetChainId;
4680
4655
  version: `${ETransactionVersion3$1}`;
4681
4656
  };
4682
- type DeclareSignerDetails = V3DeclareSignerDetails & {
4683
- version: `${ETransactionVersion$1}`;
4684
- };
4657
+ type DeclareSignerDetails = V3DeclareSignerDetails;
4685
4658
  type V3DeclareSignerDetails = V3TransactionDetails & {
4686
4659
  classHash: string;
4687
4660
  compiledClassHash: string;
@@ -5231,7 +5204,6 @@ type _StarknetChainId = ValuesType<typeof _StarknetChainId>;
5231
5204
 
5232
5205
  declare const _TransactionHashPrefix: {
5233
5206
  readonly DECLARE: "0x6465636c617265";
5234
- readonly DEPLOY: "0x6465706c6f79";
5235
5207
  readonly DEPLOY_ACCOUNT: "0x6465706c6f795f6163636f756e74";
5236
5208
  readonly INVOKE: "0x696e766f6b65";
5237
5209
  readonly L1_HANDLER: "0x6c315f68616e646c6572";
@@ -5314,12 +5286,10 @@ declare const PAYMASTER_RPC_NODES: {
5314
5286
  readonly SN_SEPOLIA: readonly ["https://sepolia.paymaster.avnu.fi"];
5315
5287
  };
5316
5288
  declare const SYSTEM_MESSAGES: {
5317
- legacyTxWarningMessage: string;
5318
- legacyTxRPC08Message: string;
5289
+ nonV3Tx: string;
5319
5290
  SWOldV3: string;
5320
5291
  channelVersionMismatch: string;
5321
5292
  unsupportedSpecVersion: string;
5322
- maxFeeInV3: string;
5323
5293
  declareNonSierra: string;
5324
5294
  unsupportedMethodForRpcVersion: string;
5325
5295
  txEvictedFromMempool: string;
@@ -7589,38 +7559,9 @@ declare namespace selector {
7589
7559
  }
7590
7560
 
7591
7561
  /**
7592
- * Calculate Hashes for v0 - v2 transactions
7562
+ * Hash of the L2 transaction generated by an L1 -> L2 message
7593
7563
  */
7594
7564
 
7595
- /**
7596
- * Compute pedersen hash from data
7597
- * @returns format: hex-string - pedersen hash
7598
- */
7599
- declare function computeHashOnElements$1(data: BigNumberish[]): string;
7600
- /**
7601
- * Calculate transaction pedersen hash for common properties
7602
- *
7603
- * Following implementation is based on this python [implementation #](https://github.com/starkware-libs/cairo-lang/blob/b614d1867c64f3fb2cf4a4879348cfcf87c3a5a7/src/starkware/starknet/core/os/transaction_hash/transaction_hash.py)
7604
- * @returns format: hex-string
7605
- */
7606
- declare function calculateTransactionHashCommon$1(txHashPrefix: _TransactionHashPrefix, version: BigNumberish, contractAddress: BigNumberish, entryPointSelector: BigNumberish, calldata: RawCalldata, maxFee: BigNumberish, chainId: _StarknetChainId, additionalData?: BigNumberish[]): string;
7607
- /**
7608
- * Calculate declare transaction hash
7609
- * @param classHash hex-string
7610
- * @param compiledClassHash hex-string
7611
- * @returns format: hex-string
7612
- */
7613
- declare function calculateDeclareTransactionHash$2(classHash: string, senderAddress: BigNumberish, version: BigNumberish, maxFee: BigNumberish, chainId: _StarknetChainId, nonce: BigNumberish, compiledClassHash?: string): string;
7614
- /**
7615
- * Calculate deploy_account transaction hash
7616
- * @returns format: hex-string
7617
- */
7618
- declare function calculateDeployAccountTransactionHash$2(contractAddress: BigNumberish, classHash: BigNumberish, constructorCalldata: RawCalldata, salt: BigNumberish, version: BigNumberish, maxFee: BigNumberish, chainId: _StarknetChainId, nonce: BigNumberish): string;
7619
- /**
7620
- * Calculate invoke transaction hash
7621
- * @returns format: hex-string
7622
- */
7623
- declare function calculateTransactionHash(contractAddress: BigNumberish, version: BigNumberish, calldata: RawCalldata, maxFee: BigNumberish, chainId: _StarknetChainId, nonce: BigNumberish): string;
7624
7565
  /**
7625
7566
  * Calculate the L2 transaction hash generated by a message L1->L2
7626
7567
  * @param {BigNumberish} l1FromAddress L1 account address that paid the message.
@@ -7649,12 +7590,6 @@ declare function calculateTransactionHash(contractAddress: BigNumberish, version
7649
7590
  */
7650
7591
  declare function calculateL2MessageTxHash(l1FromAddress: BigNumberish, l2ToAddress: BigNumberish, l2Selector: string | BigNumberish, l2Calldata: RawCalldata, l2ChainId: _StarknetChainId, l1Nonce: BigNumberish): string;
7651
7592
 
7652
- declare const v2_calculateL2MessageTxHash: typeof calculateL2MessageTxHash;
7653
- declare const v2_calculateTransactionHash: typeof calculateTransactionHash;
7654
- declare namespace v2 {
7655
- export { calculateDeclareTransactionHash$2 as calculateDeclareTransactionHash, calculateDeployAccountTransactionHash$2 as calculateDeployAccountTransactionHash, v2_calculateL2MessageTxHash as calculateL2MessageTxHash, v2_calculateTransactionHash as calculateTransactionHash, calculateTransactionHashCommon$1 as calculateTransactionHashCommon, computeHashOnElements$1 as computeHashOnElements };
7656
- }
7657
-
7658
7593
  /**
7659
7594
  * Transaction Hash based on Transaction Version
7660
7595
  */
@@ -8501,13 +8436,11 @@ declare const getExecuteCalldata: (calls: Call[], cairoVersion?: CairoVersion) =
8501
8436
  /**
8502
8437
  * Return transaction versions based on version type, default version type is 'transaction'.
8503
8438
  * @param {'fee' | 'transaction'} [versionType] the type of version ("fee" or "transaction")
8504
- * @returns {v1: ETransactionVersion, v2: ETransactionVersion, v3: ETransactionVersion} an object containing the transaction versions.
8439
+ * @returns {v3: ETransactionVersion} an object containing the transaction versions.
8505
8440
  * @example
8506
8441
  * ```typescript
8507
8442
  * const result = transaction.getVersionsByType('fee');
8508
8443
  * // result = {
8509
- * // v1: '0x100000000000000000000000000000001',
8510
- * // v2: '0x100000000000000000000000000000002',
8511
8444
  * // v3: '0x100000000000000000000000000000003'
8512
8445
  * // }
8513
8446
  * ```
@@ -8782,20 +8715,20 @@ declare function intDAM(dam: EDataAvailabilityMode): EDAMode;
8782
8715
  * @throws {Error} If either version is not a valid ETransactionVersion
8783
8716
  * @example
8784
8717
  * ```typescript
8785
- * const result = stark.toTransactionVersion("0x100000000000000000000000000000003", stark.toFeeVersion(2));
8786
- * // result = "0x100000000000000000000000000000002"
8718
+ * const result = stark.toTransactionVersion("0x3", stark.toFeeVersion(3));
8719
+ * // result = "0x100000000000000000000000000000003"
8787
8720
  * ```
8788
8721
  */
8789
8722
  declare function toTransactionVersion(defaultVersion: BigNumberish, providedVersion?: BigNumberish): ETransactionVersion3;
8790
8723
  /**
8791
8724
  * Convert Transaction version to Fee version or throw an error
8792
- * @param {BigNumberish} [providedVersion] 0..3 number representing the transaction version
8725
+ * @param {BigNumberish} [providedVersion] number representing the transaction version
8793
8726
  * @returns {ETransactionVersion | undefined} the fee estimation version corresponding to the transaction version provided
8794
8727
  * @throws {Error} if the transaction version is unknown
8795
8728
  * @example
8796
8729
  * ```typescript
8797
- * const result = stark.toFeeVersion(2);
8798
- * // result = "0x100000000000000000000000000000002"
8730
+ * const result = stark.toFeeVersion(3);
8731
+ * // result = "0x100000000000000000000000000000003"
8799
8732
  * ```
8800
8733
  */
8801
8734
  declare function toFeeVersion(providedVersion?: BigNumberish): ETransactionVersion | undefined;
@@ -10089,7 +10022,6 @@ declare namespace src5 {
10089
10022
  * const invocation: InvocationsDetailsWithNonce = {
10090
10023
  * nonce: 1,
10091
10024
  * version: 3,
10092
- * maxFee: 10 ** 15,
10093
10025
  * feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1,
10094
10026
  * tip: 10 ** 13,
10095
10027
  * paymasterData: [],
@@ -11155,42 +11087,6 @@ declare function extractContractHashes(payload: DeclareContractPayload, starknet
11155
11087
  */
11156
11088
  declare function contractClassResponseToLegacyCompiledContract(ccr: ContractClassResponse): Promise<LegacyCompiledContract>;
11157
11089
 
11158
- /**
11159
- * !! Main design decision:
11160
- * Class can't extend GetTransactionReceiptResponse because it is union type
11161
- * and it is not possible to extend union type in current typescript version
11162
- * So we have to use factory function to create 'data' return type and inject constructor
11163
- *
11164
- * ERROR case left but in library flow it is not possible as fetch would throw on error before it could be read by Helper
11165
- */
11166
- /**
11167
- * @deprecated Use `createTransactionReceipt` instead
11168
- * Utility that analyses transaction receipt response and provides helpers to process it
11169
- * @example
11170
- * ```typescript
11171
- * const responseTx = new ReceiptTx(receipt);
11172
- * responseTx.match({
11173
- * success: (txR: SuccessfulTransactionReceiptResponse) => { },
11174
- * reverted: (txR: RevertedTransactionReceiptResponse) => { },
11175
- * error: (err: Error) => { },
11176
- * });
11177
- * responseTx.match({
11178
- * success: (txR: SuccessfulTransactionReceiptResponse) => { },
11179
- * _: () => { },
11180
- * }
11181
- * ```
11182
- */
11183
- declare class ReceiptTx {
11184
- readonly statusReceipt: TransactionReceiptStatus;
11185
- readonly value: TransactionReceiptValue;
11186
- constructor(receipt: GetTxReceiptResponseWithoutHelper);
11187
- match: (callbacks: TransactionReceiptCallbacks) => void;
11188
- isSuccess: () => this is SuccessfulTransactionReceiptResponseHelper;
11189
- isReverted: () => this is RevertedTransactionReceiptResponseHelper;
11190
- isError: () => this is ErrorReceiptResponseHelper;
11191
- static isSuccess(transactionReceipt: GetTxReceiptResponseWithoutHelper): transactionReceipt is SuccessfulTransactionReceiptResponse;
11192
- static isReverted(transactionReceipt: GetTxReceiptResponseWithoutHelper): transactionReceipt is RevertedTransactionReceiptResponse;
11193
- }
11194
11090
  /**
11195
11091
  * Creates a transaction receipt response object with helpers
11196
11092
  * @param receipt - The transaction receipt response from the provider
@@ -11581,4 +11477,4 @@ declare class Logger {
11581
11477
  */
11582
11478
  declare const logger: Logger;
11583
11479
 
11584
- 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, type Details, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, 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, ReceiptTx, 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, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
11480
+ 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 };