starknet 5.3.0 → 5.4.1

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,20 @@
1
+ ## [5.4.1](https://github.com/0xs34n/starknet.js/compare/v5.4.0...v5.4.1) (2023-04-03)
2
+
3
+ ### Bug Fixes
4
+
5
+ - remove AnySignatureType and parseSignature method ([358bfad](https://github.com/0xs34n/starknet.js/commit/358bfad8e70ab3d4b2c784e0444780c4d7c5f71a))
6
+ - signature tight flexible resolution ([4990cd8](https://github.com/0xs34n/starknet.js/commit/4990cd8a4d6fd8b87c3016fd27c7eb1b2d5a4a8a))
7
+
8
+ # [5.4.0](https://github.com/0xs34n/starknet.js/compare/v5.3.0...v5.4.0) (2023-04-03)
9
+
10
+ ### Bug Fixes
11
+
12
+ - adjust suggested max fee response type ([78b1f81](https://github.com/0xs34n/starknet.js/commit/78b1f814f2a65fa0b28ed27912b69d3dfbc022ad))
13
+
14
+ ### Features
15
+
16
+ - support cairo1 execute calldata ([1f7f001](https://github.com/0xs34n/starknet.js/commit/1f7f00155ae89ff871cdf987cd3b5238377d5450))
17
+
1
18
  # [5.3.0](https://github.com/0xs34n/starknet.js/compare/v5.2.0...v5.3.0) (2023-03-29)
2
19
 
3
20
  ### Features
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _noble_curves_abstract_weierstrass from '@noble/curves/abstract/weierstrass';
2
2
  import * as poseidon from '@noble/curves/abstract/poseidon';
3
3
  import * as microStarknet from 'micro-starknet';
4
- import { CustomError } from 'ts-custom-error';
4
+ import { CustomError } from 'ts-custom-error/dist/custom-error';
5
5
 
6
6
  declare const IS_BROWSER: boolean;
7
7
  declare function arrayBufferToString(array: ArrayBuffer): string;
@@ -310,7 +310,9 @@ declare enum EntryPointType {
310
310
  CONSTRUCTOR = "CONSTRUCTOR"
311
311
  }
312
312
 
313
- declare type Signature = _noble_curves_abstract_weierstrass.SignatureType;
313
+ declare type WeierstrassSignatureType = _noble_curves_abstract_weierstrass.SignatureType;
314
+ declare type ArraySignatureType = string[];
315
+ declare type Signature = ArraySignatureType | WeierstrassSignatureType;
314
316
  declare type RawCalldata = BigNumberish[];
315
317
  declare type AllowArray<T> = T | T[];
316
318
  declare type RawArgs = {
@@ -368,10 +370,12 @@ declare type Invocation = CallDetails & {
368
370
  declare type Call = CallDetails & {
369
371
  entrypoint: string;
370
372
  };
373
+ declare type CairoVersion = '0' | '1';
371
374
  declare type InvocationsDetails = {
372
375
  nonce?: BigNumberish;
373
376
  maxFee?: BigNumberish;
374
377
  version?: BigNumberish;
378
+ cairoVersion?: CairoVersion;
375
379
  };
376
380
  /**
377
381
  * Contain all additional details params
@@ -446,6 +450,11 @@ declare type waitForTransactionOptions = {
446
450
  retryInterval?: number;
447
451
  successStates?: Array<TransactionStatus>;
448
452
  };
453
+ interface CallStruct {
454
+ to: string;
455
+ selector: string;
456
+ calldata: string[];
457
+ }
449
458
 
450
459
  declare type Calldata = string[];
451
460
  declare type Overrides = {
@@ -461,20 +470,23 @@ interface InvocationsSignerDetails extends Required<InvocationsDetails> {
461
470
  }
462
471
  interface DeclareSignerDetails {
463
472
  classHash: string;
464
- senderAddress: BigNumberish;
473
+ senderAddress: string;
465
474
  chainId: StarknetChainId;
466
475
  maxFee: BigNumberish;
467
476
  version: BigNumberish;
468
477
  nonce: BigNumberish;
469
478
  compiledClassHash?: string;
470
479
  }
471
- declare type DeployAccountSignerDetails = Required<DeployAccountContractPayload> & Required<InvocationsDetails> & {
480
+ declare type DeployAccountSignerDetails = Required<DeployAccountContractPayload> & Omit<Required<InvocationsDetails>, 'cairoVersion'> & {
472
481
  contractAddress: BigNumberish;
473
482
  chainId: StarknetChainId;
474
483
  };
475
484
 
476
485
  declare type AsyncContractFunction<T = any> = (...args: Array<any>) => Promise<T>;
477
486
  declare type ContractFunction = (...args: Array<any>) => any;
487
+ declare type Result = {
488
+ [key: string]: any;
489
+ };
478
490
 
479
491
  declare type BlockIdentifier = BlockNumber | BigNumberish;
480
492
 
@@ -1650,6 +1662,7 @@ interface EstimateFeeDetails {
1650
1662
  nonce?: BigNumberish;
1651
1663
  blockIdentifier?: BlockIdentifier;
1652
1664
  skipValidate?: boolean;
1665
+ cairoVersion?: CairoVersion;
1653
1666
  }
1654
1667
  interface DeployContractResponse {
1655
1668
  contract_address: string;
@@ -2546,7 +2559,7 @@ declare abstract class AccountInterface extends ProviderInterface {
2546
2559
  * @param {BlockIdentifier} blockIdentifier - optional blockIdentifier. Defaults to 'pending'
2547
2560
  * @returns nonce of the account
2548
2561
  */
2549
- abstract getNonce(blockIdentifier?: BlockIdentifier): Promise<BigNumberish>;
2562
+ abstract getNonce(blockIdentifier?: BlockIdentifier): Promise<Nonce>;
2550
2563
  /**
2551
2564
  * Gets Suggested Max Fee based on the transaction type
2552
2565
  *
@@ -2554,7 +2567,7 @@ declare abstract class AccountInterface extends ProviderInterface {
2554
2567
  * @param {EstimateFeeDetails} details
2555
2568
  * @returns suggestedMaxFee
2556
2569
  */
2557
- abstract getSuggestedMaxFee(estimateFeeAction: EstimateFeeAction, details: EstimateFeeDetails): Promise<BigNumberish>;
2570
+ abstract getSuggestedMaxFee(estimateFeeAction: EstimateFeeAction, details: EstimateFeeDetails): Promise<bigint>;
2558
2571
  /**
2559
2572
  * Simulates the transaction and returns the transaction trace and estimated fee.
2560
2573
  *
@@ -2572,13 +2585,13 @@ declare class Account extends Provider implements AccountInterface {
2572
2585
  signer: SignerInterface;
2573
2586
  address: string;
2574
2587
  constructor(providerOrOptions: ProviderOptions | ProviderInterface, address: string, pkOrSigner: Uint8Array | string | SignerInterface);
2575
- getNonce(blockIdentifier?: BlockIdentifier): Promise<BigNumberish>;
2588
+ getNonce(blockIdentifier?: BlockIdentifier): Promise<Nonce>;
2576
2589
  estimateFee(calls: AllowArray<Call>, estimateFeeDetails?: EstimateFeeDetails | undefined): Promise<EstimateFee>;
2577
- estimateInvokeFee(calls: AllowArray<Call>, { nonce: providedNonce, blockIdentifier, skipValidate }?: EstimateFeeDetails): Promise<EstimateFee>;
2578
- estimateDeclareFee({ contract, classHash: providedClassHash, casm, compiledClassHash }: DeclareContractPayload, { blockIdentifier, nonce: providedNonce, skipValidate }?: EstimateFeeDetails): Promise<EstimateFee>;
2579
- estimateAccountDeployFee({ classHash, addressSalt, constructorCalldata, contractAddress: providedContractAddress, }: DeployAccountContractPayload, { blockIdentifier, skipValidate }?: EstimateFeeDetails): Promise<EstimateFee>;
2590
+ estimateInvokeFee(calls: AllowArray<Call>, { nonce: providedNonce, blockIdentifier, skipValidate, cairoVersion }?: EstimateFeeDetails): Promise<EstimateFee>;
2591
+ estimateDeclareFee({ contract, classHash: providedClassHash, casm, compiledClassHash }: DeclareContractPayload, { blockIdentifier, nonce: providedNonce, skipValidate, cairoVersion }?: EstimateFeeDetails): Promise<EstimateFee>;
2592
+ estimateAccountDeployFee({ classHash, addressSalt, constructorCalldata, contractAddress: providedContractAddress, }: DeployAccountContractPayload, { blockIdentifier, skipValidate, cairoVersion }?: EstimateFeeDetails): Promise<EstimateFee>;
2580
2593
  estimateDeployFee(payload: UniversalDeployerContractPayload | UniversalDeployerContractPayload[], transactionsDetail?: InvocationsDetails | undefined): Promise<EstimateFee>;
2581
- estimateFeeBulk(transactions: TransactionBulk, { nonce: providedNonce, blockIdentifier }?: EstimateFeeDetails): Promise<EstimateFeeBulk>;
2594
+ estimateFeeBulk(transactions: TransactionBulk, { nonce: providedNonce, blockIdentifier, cairoVersion }?: EstimateFeeDetails): Promise<EstimateFeeBulk>;
2582
2595
  buildInvocation(call: Array<Call>, signerDetails: InvocationsSignerDetails): Promise<Invocation>;
2583
2596
  execute(calls: AllowArray<Call>, abis?: Abi[] | undefined, transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
2584
2597
  declare(payload: DeclareContractPayload, transactionsDetail?: InvocationsDetails): Promise<DeclareContractResponse>;
@@ -2590,14 +2603,14 @@ declare class Account extends Provider implements AccountInterface {
2590
2603
  hashMessage(typedData: TypedData): Promise<string>;
2591
2604
  verifyMessageHash(hash: BigNumberish, signature: Signature): Promise<boolean>;
2592
2605
  verifyMessage(typedData: TypedData, signature: Signature): Promise<boolean>;
2593
- getSuggestedMaxFee({ type, payload }: EstimateFeeAction, details: EstimateFeeDetails): Promise<string>;
2606
+ getSuggestedMaxFee({ type, payload }: EstimateFeeAction, details: EstimateFeeDetails): Promise<bigint>;
2594
2607
  /**
2595
2608
  * @deprecated will be renamed to buildDeclareContractTransaction
2596
2609
  */
2597
2610
  buildDeclarePayload(payload: DeclareContractPayload, { nonce, chainId, version, walletAddress, maxFee }: InvocationsSignerDetails): Promise<DeclareContractTransaction>;
2598
2611
  buildAccountDeployPayload({ classHash, addressSalt, constructorCalldata, contractAddress: providedContractAddress, }: DeployAccountContractPayload, { nonce, chainId, version, maxFee }: InvocationsSignerDetails): Promise<DeployAccountContractTransaction>;
2599
2612
  buildUDCContractPayload(payload: UniversalDeployerContractPayload | UniversalDeployerContractPayload[]): Call[];
2600
- simulateTransaction(calls: AllowArray<Call>, { nonce: providedNonce, blockIdentifier, skipValidate }?: EstimateFeeDetails): Promise<TransactionSimulation>;
2613
+ simulateTransaction(calls: AllowArray<Call>, { nonce: providedNonce, blockIdentifier, skipValidate, cairoVersion }?: EstimateFeeDetails): Promise<TransactionSimulation>;
2601
2614
  getStarkName(address?: BigNumberish, // default to the wallet address
2602
2615
  StarknetIdContract?: string): Promise<string>;
2603
2616
  }
@@ -2716,7 +2729,7 @@ declare class Contract implements ContractInterface {
2716
2729
  attach(address: string): void;
2717
2730
  connect(providerOrAccount: ProviderInterface | AccountInterface): void;
2718
2731
  deployed(): Promise<Contract>;
2719
- call(method: string, args?: Array<any>, options?: CallOptions): Promise<object>;
2732
+ call(method: string, args?: Array<any>, options?: CallOptions): Promise<Result>;
2720
2733
  invoke(method: string, args?: Array<any>, options?: Overrides): Promise<InvokeFunctionResponse>;
2721
2734
  estimate(method: string, args?: Array<any>): Promise<EstimateFeeResponse>;
2722
2735
  populate(method: string, args?: Array<any>): Call;
@@ -2844,34 +2857,21 @@ declare namespace hash {
2844
2857
  };
2845
2858
  }
2846
2859
 
2847
- declare const parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any;
2848
- declare const stringify: {
2849
- (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
2850
- (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
2851
- };
2852
- declare const parseAlwaysAsBig: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any;
2853
- declare const stringifyAlwaysAsBig: {
2854
- (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
2855
- (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
2856
- };
2857
- declare const _default: {
2858
- parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any;
2859
- stringify: {
2860
- (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
2861
- (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
2862
- };
2863
- };
2860
+ declare const parse: (x: string) => any;
2861
+ declare const parseAlwaysAsBig: (x: string) => any;
2862
+ declare const stringify: (value: JavaScriptValue, replacer?: any, space?: string | number | undefined, numberStringifiers?: NumberStringifier[] | undefined) => string;
2863
+ /** @deprecated */
2864
+ declare const stringifyAlwaysAsBig: (value: JavaScriptValue, replacer?: any, space?: string | number | undefined, numberStringifiers?: NumberStringifier[] | undefined) => string;
2864
2865
 
2865
2866
  declare const json_parse: typeof parse;
2866
- declare const json_stringify: typeof stringify;
2867
2867
  declare const json_parseAlwaysAsBig: typeof parseAlwaysAsBig;
2868
+ declare const json_stringify: typeof stringify;
2868
2869
  declare const json_stringifyAlwaysAsBig: typeof stringifyAlwaysAsBig;
2869
2870
  declare namespace json {
2870
2871
  export {
2871
- _default as default,
2872
2872
  json_parse as parse,
2873
- json_stringify as stringify,
2874
2873
  json_parseAlwaysAsBig as parseAlwaysAsBig,
2874
+ json_stringify as stringify,
2875
2875
  json_stringifyAlwaysAsBig as stringifyAlwaysAsBig,
2876
2876
  };
2877
2877
  }
@@ -2894,15 +2894,42 @@ declare const transformCallsToMulticallArrays: (calls: Call[]) => {
2894
2894
  */
2895
2895
  declare const fromCallsToExecuteCalldata: (calls: Call[]) => string[];
2896
2896
  declare const fromCallsToExecuteCalldataWithNonce: (calls: Call[], nonce: BigNumberish) => string[];
2897
+ /**
2898
+ * Transforms a list of Calls, each with their own calldata, into
2899
+ * two arrays: one with the entrypoints, and one with the concatenated calldata.
2900
+ * @param calls
2901
+ * @returns
2902
+ */
2903
+ declare const transformCallsToMulticallArrays_cairo1: (calls: Call[]) => CallStruct[];
2904
+ /**
2905
+ * Transforms a list of calls in the full flattened calldata expected
2906
+ * by the __execute__ protocol.
2907
+ * @param calls
2908
+ * @returns
2909
+ */
2910
+ declare const fromCallsToExecuteCalldata_cairo1: (calls: Call[]) => string[];
2911
+ /**
2912
+ *
2913
+ * @param calls Call array
2914
+ * @param cairoVersion Defaults to 0
2915
+ * @returns string[] of calldata
2916
+ */
2917
+ declare const getExecuteCalldata: (calls: Call[], cairoVersion?: CairoVersion) => string[];
2897
2918
 
2898
2919
  declare const transaction_transformCallsToMulticallArrays: typeof transformCallsToMulticallArrays;
2899
2920
  declare const transaction_fromCallsToExecuteCalldata: typeof fromCallsToExecuteCalldata;
2900
2921
  declare const transaction_fromCallsToExecuteCalldataWithNonce: typeof fromCallsToExecuteCalldataWithNonce;
2922
+ declare const transaction_transformCallsToMulticallArrays_cairo1: typeof transformCallsToMulticallArrays_cairo1;
2923
+ declare const transaction_fromCallsToExecuteCalldata_cairo1: typeof fromCallsToExecuteCalldata_cairo1;
2924
+ declare const transaction_getExecuteCalldata: typeof getExecuteCalldata;
2901
2925
  declare namespace transaction {
2902
2926
  export {
2903
2927
  transaction_transformCallsToMulticallArrays as transformCallsToMulticallArrays,
2904
2928
  transaction_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata,
2905
2929
  transaction_fromCallsToExecuteCalldataWithNonce as fromCallsToExecuteCalldataWithNonce,
2930
+ transaction_transformCallsToMulticallArrays_cairo1 as transformCallsToMulticallArrays_cairo1,
2931
+ transaction_fromCallsToExecuteCalldata_cairo1 as fromCallsToExecuteCalldata_cairo1,
2932
+ transaction_getExecuteCalldata as getExecuteCalldata,
2906
2933
  };
2907
2934
  }
2908
2935
 
@@ -2916,10 +2943,9 @@ declare namespace transaction {
2916
2943
  declare function compressProgram(jsonProgram: Program | string): CompressedProgram;
2917
2944
  declare function randomAddress(): string;
2918
2945
  declare function makeAddress(input: string): string;
2919
- declare function formatSignature(sig?: Signature): string[];
2920
- declare function signatureToDecimalArray(sig?: Signature): string[];
2921
- declare function signatureToHexArray(sig?: Signature): string[];
2922
- declare function parseSignature(sig?: string[]): _noble_curves_abstract_weierstrass.SignatureType | undefined;
2946
+ declare function formatSignature(sig?: Signature): ArraySignatureType;
2947
+ declare function signatureToDecimalArray(sig?: Signature): ArraySignatureType;
2948
+ declare function signatureToHexArray(sig?: Signature): ArraySignatureType;
2923
2949
  /**
2924
2950
  * @deprecated this function is deprecated use callData instead from calldata.ts
2925
2951
  */
@@ -2932,7 +2958,6 @@ declare const stark_makeAddress: typeof makeAddress;
2932
2958
  declare const stark_formatSignature: typeof formatSignature;
2933
2959
  declare const stark_signatureToDecimalArray: typeof signatureToDecimalArray;
2934
2960
  declare const stark_signatureToHexArray: typeof signatureToHexArray;
2935
- declare const stark_parseSignature: typeof parseSignature;
2936
2961
  declare const stark_compileCalldata: typeof compileCalldata;
2937
2962
  declare const stark_estimatedFeeToMaxFee: typeof estimatedFeeToMaxFee;
2938
2963
  declare namespace stark {
@@ -2943,7 +2968,6 @@ declare namespace stark {
2943
2968
  stark_formatSignature as formatSignature,
2944
2969
  stark_signatureToDecimalArray as signatureToDecimalArray,
2945
2970
  stark_signatureToHexArray as signatureToHexArray,
2946
- stark_parseSignature as parseSignature,
2947
2971
  stark_compileCalldata as compileCalldata,
2948
2972
  stark_estimatedFeeToMaxFee as estimatedFeeToMaxFee,
2949
2973
  };
@@ -3123,4 +3147,4 @@ declare class CallData {
3123
3147
  /** @deprecated prefer the 'num' naming */
3124
3148
  declare const number: typeof num;
3125
3149
 
3126
- export { Abi, AbiEntry, AbiStructs, Account, AccountInterface, AllowArray, Args, AsyncContractFunction, BlockNumber, BlockTag, Builtins, ByteCode, CairoAssembly, CairoContract, Call, CallContractResponse, CallData, CallDetails, CallL1Handler, CallOptions, Calldata, CommonTransactionReceiptResponse, CommonTransactionResponse, CompiledContract, CompiledSierra, CompiledSierraCasm, CompleteDeclareContractPayload, CompressedProgram, Contract, ContractClass, ContractEntryPoint, ContractEntryPointFields, ContractFactory, ContractFunction, ContractInterface, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclareTransactionResponse, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployContractPayload, DeployContractResponse, DeployContractUDCResponse, DeployedContractItem, Details, EntryPointType, EntryPointsByType, EstimateFee, EstimateFeeAction, EstimateFeeBulk, EstimateFeeDetails, EstimateFeeResponse, EstimateFeeResponseBulk, Event, ExecutionResources, FunctionAbi, FunctionInvocation, GatewayError, GetBlockResponse, GetCodeResponse, GetContractAddressesResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTransactionStatusResponse, Hints, HttpError, Invocation, InvocationBulk, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeTransactionReceiptResponse, InvokeTransactionResponse, LegacyCompiledContract, LegacyContractClass, LibraryError, MessageToL1, MessageToL2, MultiDeployContractResponse, Nonce, Overrides, ParsedStruct, Program, Provider, ProviderInterface, ProviderOptions, RPC, RawArgs, RawCalldata, RpcProvider, RpcProviderOptions, Sequencer, SequencerHttpMethod, SequencerIdentifier, SequencerProvider, SequencerProviderOptions, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Signer, SignerInterface, StateUpdateResponse, Status, Storage, Struct, StructAbi, TransactionBulk, TransactionSimulation, TransactionSimulationResponse, TransactionStatus, TransactionTraceResponse, TransactionType, Tupled, UniversalDeployerContractPayload, addAddressPadding, buildUrl, constants, defaultProvider, ec, encode, getChecksumAddress, hash, isUrl, json, merkle, num, number, shortString, stark, transaction, index as typedData, uint256, validateAndParseAddress, validateChecksumAddress, waitForTransactionOptions };
3150
+ export { Abi, AbiEntry, AbiStructs, Account, AccountInterface, AllowArray, Args, ArraySignatureType, AsyncContractFunction, BlockNumber, BlockTag, Builtins, ByteCode, CairoAssembly, CairoContract, CairoVersion, Call, CallContractResponse, CallData, CallDetails, CallL1Handler, CallOptions, CallStruct, Calldata, CommonTransactionReceiptResponse, CommonTransactionResponse, CompiledContract, CompiledSierra, CompiledSierraCasm, CompleteDeclareContractPayload, CompressedProgram, Contract, ContractClass, ContractEntryPoint, ContractEntryPointFields, ContractFactory, ContractFunction, ContractInterface, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclareTransactionResponse, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployContractPayload, DeployContractResponse, DeployContractUDCResponse, DeployedContractItem, Details, EntryPointType, EntryPointsByType, EstimateFee, EstimateFeeAction, EstimateFeeBulk, EstimateFeeDetails, EstimateFeeResponse, EstimateFeeResponseBulk, Event, ExecutionResources, FunctionAbi, FunctionInvocation, GatewayError, GetBlockResponse, GetCodeResponse, GetContractAddressesResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTransactionStatusResponse, Hints, HttpError, Invocation, InvocationBulk, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeTransactionReceiptResponse, InvokeTransactionResponse, LegacyCompiledContract, LegacyContractClass, LibraryError, MessageToL1, MessageToL2, MultiDeployContractResponse, Nonce, Overrides, ParsedStruct, Program, Provider, ProviderInterface, ProviderOptions, RPC, RawArgs, RawCalldata, Result, RpcProvider, RpcProviderOptions, Sequencer, SequencerHttpMethod, SequencerIdentifier, SequencerProvider, SequencerProviderOptions, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Signer, SignerInterface, StateUpdateResponse, Status, Storage, Struct, StructAbi, TransactionBulk, TransactionSimulation, TransactionSimulationResponse, TransactionStatus, TransactionTraceResponse, TransactionType, Tupled, UniversalDeployerContractPayload, WeierstrassSignatureType, addAddressPadding, buildUrl, constants, defaultProvider, ec, encode, getChecksumAddress, hash, isUrl, json, merkle, num, number, shortString, stark, transaction, index as typedData, uint256, validateAndParseAddress, validateChecksumAddress, waitForTransactionOptions };