starknet 7.0.0-beta.3 → 7.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 +22 -0
- package/dist/index.d.ts +84 -196
- package/dist/index.global.js +158 -3782
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +56 -127
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +53 -123
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# [7.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v7.0.0-beta.3...v7.0.0-beta.4) (2025-03-28)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- repair snip-12 enum type nested dependency ([#1289](https://github.com/starknet-io/starknet.js/issues/1289)) ([1cd4219](https://github.com/starknet-io/starknet.js/commit/1cd4219df5e61a676bc58ba8c8673269695fc2db))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- drop fetch-cookie dependency ([9a57daf](https://github.com/starknet-io/starknet.js/commit/9a57dafce473432df7040f68e0824e9e78f6e215))
|
|
10
|
+
- drop isomorphic-fetch dependency ([9da0083](https://github.com/starknet-io/starknet.js/commit/9da0083d2084b0bd9ec7da06ea9a80f267f4e397))
|
|
11
|
+
- prune deprecated functionalities ([cbd18f5](https://github.com/starknet-io/starknet.js/commit/cbd18f59fb0749c558ba4eabc0f094464941b088))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
- Removed multiple functionalities that have been marked as deprecated
|
|
16
|
+
|
|
1
17
|
# [7.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v7.0.0-beta.2...v7.0.0-beta.3) (2025-03-13)
|
|
2
18
|
|
|
3
19
|
### Features
|
|
@@ -25,6 +41,12 @@
|
|
|
25
41
|
|
|
26
42
|
- Library defaults to RPC 0.8 with the corresponding API changes, dropped RPC 0.6 support
|
|
27
43
|
|
|
44
|
+
## [6.24.1](https://github.com/starknet-io/starknet.js/compare/v6.24.0...v6.24.1) (2025-03-20)
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
- repair snip-12 enum type nested dependency ([#1289](https://github.com/starknet-io/starknet.js/issues/1289)) ([1cd4219](https://github.com/starknet-io/starknet.js/commit/1cd4219df5e61a676bc58ba8c8673269695fc2db))
|
|
49
|
+
|
|
28
50
|
# [6.24.0](https://github.com/starknet-io/starknet.js/compare/v6.23.1...v6.24.0) (2025-03-12)
|
|
29
51
|
|
|
30
52
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as RPCSPEC07 from 'starknet-types-07';
|
|
2
|
-
import { STRUCT_EVENT,
|
|
2
|
+
import { STRUCT_EVENT, EVENT_FIELD, ENUM_EVENT, BlockHash, TransactionHash, StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision, StarknetWindowObject, Address, Permission, WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, ChainId, AccountDeploymentData, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddDeclareTransactionParameters, AddDeclareTransactionResult, Signature as Signature$2, SpecVersion, AccountChangeEventHandler as AccountChangeEventHandler$1, NetworkChangeEventHandler as NetworkChangeEventHandler$1 } from 'starknet-types-07';
|
|
3
3
|
export { StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from 'starknet-types-07';
|
|
4
4
|
import * as RPCSPEC08 from 'starknet-types-08';
|
|
5
5
|
import { EDataAvailabilityMode as EDataAvailabilityMode$1, SUBSCRIPTION_BLOCK_TAG, BLOCK_WITH_TX_HASHES, PENDING_BLOCK_WITH_TX_HASHES, BlockWithTxHashes as BlockWithTxHashes$1, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, IsType, ETransactionVersion as ETransactionVersion$1, ETransactionVersion2 as ETransactionVersion2$1, ETransactionVersion3 as ETransactionVersion3$1, SubscriptionReorgResponse, SubscriptionNewHeadsResponse, SubscriptionEventsResponse, SubscriptionTransactionsStatusResponse, SubscriptionPendingTransactionsResponse, WebSocketMethods, SUBSCRIPTION_ID, BLOCK_STATUS, BLOCK_HEADER, BLOCK_BODY_WITH_RECEIPTS, PENDING_BLOCK_HEADER, BlockTransactionsTraces, CONTRACT_STORAGE_KEYS, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, EDAMode as EDAMode$1, PRICE_UNIT as PRICE_UNIT$1, EmittedEvent as EmittedEvent$1, Methods as Methods$1 } from 'starknet-types-08';
|
|
@@ -742,11 +742,6 @@ type getEstimateFeeBulkOptions = {
|
|
|
742
742
|
blockIdentifier?: BlockIdentifier;
|
|
743
743
|
skipValidate?: boolean;
|
|
744
744
|
};
|
|
745
|
-
interface CallStruct {
|
|
746
|
-
to: string;
|
|
747
|
-
selector: string;
|
|
748
|
-
calldata: string[];
|
|
749
|
-
}
|
|
750
745
|
/**
|
|
751
746
|
* Represent Contract version
|
|
752
747
|
*/
|
|
@@ -1196,7 +1191,6 @@ type index$3_Call = Call;
|
|
|
1196
1191
|
type index$3_CallContractResponse = CallContractResponse;
|
|
1197
1192
|
type index$3_CallDetails = CallDetails;
|
|
1198
1193
|
type index$3_CallOptions = CallOptions;
|
|
1199
|
-
type index$3_CallStruct = CallStruct;
|
|
1200
1194
|
type index$3_Calldata = Calldata;
|
|
1201
1195
|
type index$3_CompiledContract = CompiledContract;
|
|
1202
1196
|
type index$3_CompiledSierra = CompiledSierra;
|
|
@@ -1386,7 +1380,7 @@ declare const index$3_isRPC08_FeeEstimate: typeof isRPC08_FeeEstimate;
|
|
|
1386
1380
|
declare const index$3_isRPC08_ResourceBounds: typeof isRPC08_ResourceBounds;
|
|
1387
1381
|
type index$3_waitForTransactionOptions = waitForTransactionOptions;
|
|
1388
1382
|
declare namespace index$3 {
|
|
1389
|
-
export { type index$3_Abi as Abi, type index$3_AbiEntry as AbiEntry, type index$3_AbiEnum as AbiEnum, type index$3_AbiEnums as AbiEnums, type index$3_AbiEvent as AbiEvent, type index$3_AbiEvents as AbiEvents, type index$3_AbiInterfaces as AbiInterfaces, type index$3_AbiStruct as AbiStruct, type index$3_AbiStructs as AbiStructs, type index$3_AccountInvocationItem as AccountInvocationItem, type index$3_AccountInvocations as AccountInvocations, type index$3_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$3_AllowArray as AllowArray, type index$3_Args as Args, type index$3_ArgsOrCalldata as ArgsOrCalldata, type index$3_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$3_ArraySignatureType as ArraySignatureType, type index$3_AsyncContractFunction as AsyncContractFunction, type index$3_BLOCK_HASH as BLOCK_HASH, type index$3_BLOCK_NUMBER as BLOCK_NUMBER, type index$3_BigNumberish as BigNumberish, type Block$1 as Block, type index$3_BlockIdentifier as BlockIdentifier, type index$3_BlockNumber as BlockNumber, type index$3_BlockStatus as BlockStatus, type index$3_BlockTag as BlockTag, type index$3_BlockWithTxHashes as BlockWithTxHashes, type index$3_Builtins as Builtins, type index$3_ByteArray as ByteArray, type index$3_ByteCode as ByteCode, type index$3_CairoAssembly as CairoAssembly, type index$3_CairoContract as CairoContract, type index$3_CairoEnum as CairoEnum, type index$3_CairoEvent as CairoEvent, type index$3_CairoEventDefinition as CairoEventDefinition, type index$3_CairoEventVariant as CairoEventVariant, type index$3_CairoVersion as CairoVersion, type index$3_Call as Call, type index$3_CallContractResponse as CallContractResponse, type index$3_CallDetails as CallDetails, type index$3_CallOptions as CallOptions, type index$3_CallStruct as CallStruct, type index$3_Calldata as Calldata, type index$3_CompiledContract as CompiledContract, type index$3_CompiledSierra as CompiledSierra, type index$3_CompiledSierraCasm as CompiledSierraCasm, type index$3_CompilerVersion as CompilerVersion, type index$3_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$3_CompressedProgram as CompressedProgram, type index$3_ContractClass as ContractClass, type index$3_ContractClassIdentifier as ContractClassIdentifier, type index$3_ContractClassPayload as ContractClassPayload, type index$3_ContractClassResponse as ContractClassResponse, type index$3_ContractEntryPointFields as ContractEntryPointFields, type index$3_ContractFunction as ContractFunction, type index$3_ContractOptions as ContractOptions, type index$3_ContractVersion as ContractVersion, type index$3_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$3_DeclareContractPayload as DeclareContractPayload, type index$3_DeclareContractResponse as DeclareContractResponse, type index$3_DeclareContractTransaction as DeclareContractTransaction, type index$3_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$3_DeclareSignerDetails as DeclareSignerDetails, type index$3_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$3_DeclaredTransaction as DeclaredTransaction, type index$3_DeployAccountContractPayload as DeployAccountContractPayload, type index$3_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$3_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$3_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$3_DeployContractResponse as DeployContractResponse, type index$3_DeployContractUDCResponse as DeployContractUDCResponse, type index$3_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$3_DeployedAccountTransaction as DeployedAccountTransaction, type index$3_Details as Details, index$3_EDAMode as EDAMode, index$3_EDataAvailabilityMode as EDataAvailabilityMode, index$3_ETH_ADDRESS as ETH_ADDRESS, index$3_ETransactionExecutionStatus as ETransactionExecutionStatus, index$3_ETransactionStatus as ETransactionStatus, index$3_ETransactionVersion as ETransactionVersion, index$3_ETransactionVersion2 as ETransactionVersion2, index$3_ETransactionVersion3 as ETransactionVersion3, type index$3_EVENTS_CHUNK as EVENTS_CHUNK, type index$3_EmittedEvent as EmittedEvent, type index$3_EntryPointType as EntryPointType, type index$3_EntryPointsByType as EntryPointsByType, type index$3_EstimateFee as EstimateFee, type index$3_EstimateFeeAction as EstimateFeeAction, type index$3_EstimateFeeBulk as EstimateFeeBulk, type index$3_EstimateFeeDetails as EstimateFeeDetails, type index$3_EstimateFeeResponse as EstimateFeeResponse, type index$3_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type Event$1 as Event, type index$3_EventEntry as EventEntry, type index$3_EventFilter as EventFilter, type index$3_FEE_ESTIMATE as FEE_ESTIMATE, type index$3_FELT as FELT, type index$3_FeeEstimate as FeeEstimate, type index$3_FeeMarginPercentage as FeeMarginPercentage, type index$3_FunctionAbi as FunctionAbi, type index$3_GetBlockResponse as GetBlockResponse, type index$3_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$3_GetTransactionResponse as GetTransactionResponse, type index$3_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$3_HexCalldata as HexCalldata, type index$3_InterfaceAbi as InterfaceAbi, type index$3_Invocation as Invocation, type index$3_Invocations as Invocations, type index$3_InvocationsDetails as InvocationsDetails, type index$3_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$3_InvocationsSignerDetails as InvocationsSignerDetails, type index$3_InvokeFunctionResponse as InvokeFunctionResponse, type index$3_InvokeOptions as InvokeOptions, type index$3_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$3_InvokedTransaction as InvokedTransaction, type index$3_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$3_L1Message as L1Message, type index$3_L1_HANDLER_TXN as L1_HANDLER_TXN, type index$3_LedgerPathCalculation as LedgerPathCalculation, type index$3_LegacyCompiledContract as LegacyCompiledContract, type index$3_LegacyContractClass as LegacyContractClass, type index$3_LegacyEvent as LegacyEvent, type index$3_Literal as Literal, type index$3_Methods as Methods, type index$3_MultiDeployContractResponse as MultiDeployContractResponse, type index$3_MultiType as MultiType, index$3_NON_ZERO_PREFIX as NON_ZERO_PREFIX, type index$3_Nonce as Nonce, type index$3_OptionalPayload as OptionalPayload, type index$3_OutsideCall as OutsideCall, type index$3_OutsideExecution as OutsideExecution, type index$3_OutsideExecutionOptions as OutsideExecutionOptions, index$3_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$3_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, index$3_OutsideExecutionVersion as OutsideExecutionVersion, type index$3_OutsideTransaction as OutsideTransaction, type index$3_PENDING_DECLARE_TXN_RECEIPT as PENDING_DECLARE_TXN_RECEIPT, type index$3_PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT as PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type index$3_PENDING_INVOKE_TXN_RECEIPT as PENDING_INVOKE_TXN_RECEIPT, type index$3_PENDING_L1_HANDLER_TXN_RECEIPT as PENDING_L1_HANDLER_TXN_RECEIPT, type index$3_PENDING_STATE_UPDATE as PENDING_STATE_UPDATE, type index$3_PRICE_UNIT as PRICE_UNIT, type index$3_ParsedEvent as ParsedEvent, type index$3_ParsedEvents as ParsedEvents, type index$3_ParsedStruct as ParsedStruct, type index$3_PendingBlock as PendingBlock, type index$3_PendingReceipt as PendingReceipt, type index$3_PendingStateUpdate as PendingStateUpdate, type index$3_Program as Program, type index$3_ProviderOptions as ProviderOptions, type index$3_PythonicHints as PythonicHints, type index$3_RESOURCE_PRICE as RESOURCE_PRICE, index$4 as RPC, type index$3_RPC_ERROR as RPC_ERROR, type index$3_RPC_ERROR_SET as RPC_ERROR_SET, type index$3_RawArgs as RawArgs, type index$3_RawArgsArray as RawArgsArray, type index$3_RawArgsObject as RawArgsObject, type index$3_RawCalldata as RawCalldata, type index$3_Receipt as Receipt, type index$3_RequiredKeysOf as RequiredKeysOf, type index$3_ResourceBounds as ResourceBounds, type index$3_ResourceBoundsOverhead as ResourceBoundsOverhead, type index$3_ResourceBoundsOverheadRPC07 as ResourceBoundsOverheadRPC07, type index$3_ResourceBoundsOverheadRPC08 as ResourceBoundsOverheadRPC08, type index$3_Result as Result, type index$3_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$3_RpcProviderOptions as RpcProviderOptions, type index$3_SIMULATION_FLAG as SIMULATION_FLAG, type index$3_STATE_UPDATE as STATE_UPDATE, type index$3_SierraContractClass as SierraContractClass, type index$3_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$3_SierraEntryPointsByType as SierraEntryPointsByType, type index$3_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$3_Signature as Signature, type index$3_Simplify as Simplify, type index$3_SimulateTransaction as SimulateTransaction, type index$3_SimulateTransactionDetails as SimulateTransactionDetails, type index$3_SimulateTransactionResponse as SimulateTransactionResponse, type index$3_SimulatedTransaction as SimulatedTransaction, type index$3_SimulationFlags as SimulationFlags, type index$3_StarkProfile as StarkProfile, index$3_StarknetDomain as StarknetDomain, index$3_StarknetEnumType as StarknetEnumType, index$3_StarknetMerkleType as StarknetMerkleType, index$3_StarknetType as StarknetType, type index$3_StateUpdate as StateUpdate, type index$3_StateUpdateResponse as StateUpdateResponse, type index$3_Storage as Storage, type index$3_SubscriptionBlockIdentifier as SubscriptionBlockIdentifier, type index$3_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, type index$3_TRANSACTION_TRACE as TRANSACTION_TRACE, type index$3_TXN_EXECUTION_STATUS as TXN_EXECUTION_STATUS, type index$3_TXN_HASH as TXN_HASH, type index$3_TXN_STATUS as TXN_STATUS, type index$3_TransactionExecutionStatus as TransactionExecutionStatus, type index$3_TransactionFinalityStatus as TransactionFinalityStatus, type index$3_TransactionReceipt as TransactionReceipt, type index$3_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$3_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$3_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$3_TransactionReceiptStatus as TransactionReceiptStatus, type index$3_TransactionReceiptValue as TransactionReceiptValue, type index$3_TransactionStatus as TransactionStatus, type index$3_TransactionStatusReceiptSets as TransactionStatusReceiptSets, type index$3_TransactionType as TransactionType, type index$3_TransactionWithHash as TransactionWithHash, type index$3_Tupled as Tupled, index$3_TypedData as TypedData, index$3_TypedDataRevision as TypedDataRevision, type index$3_Uint as Uint, type index$3_Uint256 as Uint256, type index$3_Uint512 as Uint512, type index$3_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$3_UniversalDetails as UniversalDetails, type index$3_UniversalSuggestedFee as UniversalSuggestedFee, type index$3_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$3_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$3_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$3_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$3_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$3_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$3_V3TransactionDetails as V3TransactionDetails, type index$3_ValidateType as ValidateType, type index$3_WeierstrassSignatureType as WeierstrassSignatureType, type index$3_getContractVersionOptions as getContractVersionOptions, type index$3_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$3_getSimulateTransactionOptions as getSimulateTransactionOptions, index$3_isRPC08_FeeEstimate as isRPC08_FeeEstimate, index$3_isRPC08_ResourceBounds as isRPC08_ResourceBounds, type index$3_waitForTransactionOptions as waitForTransactionOptions };
|
|
1383
|
+
export { type index$3_Abi as Abi, type index$3_AbiEntry as AbiEntry, type index$3_AbiEnum as AbiEnum, type index$3_AbiEnums as AbiEnums, type index$3_AbiEvent as AbiEvent, type index$3_AbiEvents as AbiEvents, type index$3_AbiInterfaces as AbiInterfaces, type index$3_AbiStruct as AbiStruct, type index$3_AbiStructs as AbiStructs, type index$3_AccountInvocationItem as AccountInvocationItem, type index$3_AccountInvocations as AccountInvocations, type index$3_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$3_AllowArray as AllowArray, type index$3_Args as Args, type index$3_ArgsOrCalldata as ArgsOrCalldata, type index$3_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$3_ArraySignatureType as ArraySignatureType, type index$3_AsyncContractFunction as AsyncContractFunction, type index$3_BLOCK_HASH as BLOCK_HASH, type index$3_BLOCK_NUMBER as BLOCK_NUMBER, type index$3_BigNumberish as BigNumberish, type Block$1 as Block, type index$3_BlockIdentifier as BlockIdentifier, type index$3_BlockNumber as BlockNumber, type index$3_BlockStatus as BlockStatus, type index$3_BlockTag as BlockTag, type index$3_BlockWithTxHashes as BlockWithTxHashes, type index$3_Builtins as Builtins, type index$3_ByteArray as ByteArray, type index$3_ByteCode as ByteCode, type index$3_CairoAssembly as CairoAssembly, type index$3_CairoContract as CairoContract, type index$3_CairoEnum as CairoEnum, type index$3_CairoEvent as CairoEvent, type index$3_CairoEventDefinition as CairoEventDefinition, type index$3_CairoEventVariant as CairoEventVariant, type index$3_CairoVersion as CairoVersion, type index$3_Call as Call, type index$3_CallContractResponse as CallContractResponse, type index$3_CallDetails as CallDetails, type index$3_CallOptions as CallOptions, type index$3_Calldata as Calldata, type index$3_CompiledContract as CompiledContract, type index$3_CompiledSierra as CompiledSierra, type index$3_CompiledSierraCasm as CompiledSierraCasm, type index$3_CompilerVersion as CompilerVersion, type index$3_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$3_CompressedProgram as CompressedProgram, type index$3_ContractClass as ContractClass, type index$3_ContractClassIdentifier as ContractClassIdentifier, type index$3_ContractClassPayload as ContractClassPayload, type index$3_ContractClassResponse as ContractClassResponse, type index$3_ContractEntryPointFields as ContractEntryPointFields, type index$3_ContractFunction as ContractFunction, type index$3_ContractOptions as ContractOptions, type index$3_ContractVersion as ContractVersion, type index$3_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$3_DeclareContractPayload as DeclareContractPayload, type index$3_DeclareContractResponse as DeclareContractResponse, type index$3_DeclareContractTransaction as DeclareContractTransaction, type index$3_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$3_DeclareSignerDetails as DeclareSignerDetails, type index$3_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$3_DeclaredTransaction as DeclaredTransaction, type index$3_DeployAccountContractPayload as DeployAccountContractPayload, type index$3_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$3_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$3_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$3_DeployContractResponse as DeployContractResponse, type index$3_DeployContractUDCResponse as DeployContractUDCResponse, type index$3_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$3_DeployedAccountTransaction as DeployedAccountTransaction, type index$3_Details as Details, index$3_EDAMode as EDAMode, index$3_EDataAvailabilityMode as EDataAvailabilityMode, index$3_ETH_ADDRESS as ETH_ADDRESS, index$3_ETransactionExecutionStatus as ETransactionExecutionStatus, index$3_ETransactionStatus as ETransactionStatus, index$3_ETransactionVersion as ETransactionVersion, index$3_ETransactionVersion2 as ETransactionVersion2, index$3_ETransactionVersion3 as ETransactionVersion3, type index$3_EVENTS_CHUNK as EVENTS_CHUNK, type index$3_EmittedEvent as EmittedEvent, type index$3_EntryPointType as EntryPointType, type index$3_EntryPointsByType as EntryPointsByType, type index$3_EstimateFee as EstimateFee, type index$3_EstimateFeeAction as EstimateFeeAction, type index$3_EstimateFeeBulk as EstimateFeeBulk, type index$3_EstimateFeeDetails as EstimateFeeDetails, type index$3_EstimateFeeResponse as EstimateFeeResponse, type index$3_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type Event$1 as Event, type index$3_EventEntry as EventEntry, type index$3_EventFilter as EventFilter, type index$3_FEE_ESTIMATE as FEE_ESTIMATE, type index$3_FELT as FELT, type index$3_FeeEstimate as FeeEstimate, type index$3_FeeMarginPercentage as FeeMarginPercentage, type index$3_FunctionAbi as FunctionAbi, type index$3_GetBlockResponse as GetBlockResponse, type index$3_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$3_GetTransactionResponse as GetTransactionResponse, type index$3_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$3_HexCalldata as HexCalldata, type index$3_InterfaceAbi as InterfaceAbi, type index$3_Invocation as Invocation, type index$3_Invocations as Invocations, type index$3_InvocationsDetails as InvocationsDetails, type index$3_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$3_InvocationsSignerDetails as InvocationsSignerDetails, type index$3_InvokeFunctionResponse as InvokeFunctionResponse, type index$3_InvokeOptions as InvokeOptions, type index$3_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$3_InvokedTransaction as InvokedTransaction, type index$3_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$3_L1Message as L1Message, type index$3_L1_HANDLER_TXN as L1_HANDLER_TXN, type index$3_LedgerPathCalculation as LedgerPathCalculation, type index$3_LegacyCompiledContract as LegacyCompiledContract, type index$3_LegacyContractClass as LegacyContractClass, type index$3_LegacyEvent as LegacyEvent, type index$3_Literal as Literal, type index$3_Methods as Methods, type index$3_MultiDeployContractResponse as MultiDeployContractResponse, type index$3_MultiType as MultiType, index$3_NON_ZERO_PREFIX as NON_ZERO_PREFIX, type index$3_Nonce as Nonce, type index$3_OptionalPayload as OptionalPayload, type index$3_OutsideCall as OutsideCall, type index$3_OutsideExecution as OutsideExecution, type index$3_OutsideExecutionOptions as OutsideExecutionOptions, index$3_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$3_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, index$3_OutsideExecutionVersion as OutsideExecutionVersion, type index$3_OutsideTransaction as OutsideTransaction, type index$3_PENDING_DECLARE_TXN_RECEIPT as PENDING_DECLARE_TXN_RECEIPT, type index$3_PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT as PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type index$3_PENDING_INVOKE_TXN_RECEIPT as PENDING_INVOKE_TXN_RECEIPT, type index$3_PENDING_L1_HANDLER_TXN_RECEIPT as PENDING_L1_HANDLER_TXN_RECEIPT, type index$3_PENDING_STATE_UPDATE as PENDING_STATE_UPDATE, type index$3_PRICE_UNIT as PRICE_UNIT, type index$3_ParsedEvent as ParsedEvent, type index$3_ParsedEvents as ParsedEvents, type index$3_ParsedStruct as ParsedStruct, type index$3_PendingBlock as PendingBlock, type index$3_PendingReceipt as PendingReceipt, type index$3_PendingStateUpdate as PendingStateUpdate, type index$3_Program as Program, type index$3_ProviderOptions as ProviderOptions, type index$3_PythonicHints as PythonicHints, type index$3_RESOURCE_PRICE as RESOURCE_PRICE, index$4 as RPC, type index$3_RPC_ERROR as RPC_ERROR, type index$3_RPC_ERROR_SET as RPC_ERROR_SET, type index$3_RawArgs as RawArgs, type index$3_RawArgsArray as RawArgsArray, type index$3_RawArgsObject as RawArgsObject, type index$3_RawCalldata as RawCalldata, type index$3_Receipt as Receipt, type index$3_RequiredKeysOf as RequiredKeysOf, type index$3_ResourceBounds as ResourceBounds, type index$3_ResourceBoundsOverhead as ResourceBoundsOverhead, type index$3_ResourceBoundsOverheadRPC07 as ResourceBoundsOverheadRPC07, type index$3_ResourceBoundsOverheadRPC08 as ResourceBoundsOverheadRPC08, type index$3_Result as Result, type index$3_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$3_RpcProviderOptions as RpcProviderOptions, type index$3_SIMULATION_FLAG as SIMULATION_FLAG, type index$3_STATE_UPDATE as STATE_UPDATE, type index$3_SierraContractClass as SierraContractClass, type index$3_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$3_SierraEntryPointsByType as SierraEntryPointsByType, type index$3_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$3_Signature as Signature, type index$3_Simplify as Simplify, type index$3_SimulateTransaction as SimulateTransaction, type index$3_SimulateTransactionDetails as SimulateTransactionDetails, type index$3_SimulateTransactionResponse as SimulateTransactionResponse, type index$3_SimulatedTransaction as SimulatedTransaction, type index$3_SimulationFlags as SimulationFlags, type index$3_StarkProfile as StarkProfile, index$3_StarknetDomain as StarknetDomain, index$3_StarknetEnumType as StarknetEnumType, index$3_StarknetMerkleType as StarknetMerkleType, index$3_StarknetType as StarknetType, type index$3_StateUpdate as StateUpdate, type index$3_StateUpdateResponse as StateUpdateResponse, type index$3_Storage as Storage, type index$3_SubscriptionBlockIdentifier as SubscriptionBlockIdentifier, type index$3_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, type index$3_TRANSACTION_TRACE as TRANSACTION_TRACE, type index$3_TXN_EXECUTION_STATUS as TXN_EXECUTION_STATUS, type index$3_TXN_HASH as TXN_HASH, type index$3_TXN_STATUS as TXN_STATUS, type index$3_TransactionExecutionStatus as TransactionExecutionStatus, type index$3_TransactionFinalityStatus as TransactionFinalityStatus, type index$3_TransactionReceipt as TransactionReceipt, type index$3_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$3_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$3_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$3_TransactionReceiptStatus as TransactionReceiptStatus, type index$3_TransactionReceiptValue as TransactionReceiptValue, type index$3_TransactionStatus as TransactionStatus, type index$3_TransactionStatusReceiptSets as TransactionStatusReceiptSets, type index$3_TransactionType as TransactionType, type index$3_TransactionWithHash as TransactionWithHash, type index$3_Tupled as Tupled, index$3_TypedData as TypedData, index$3_TypedDataRevision as TypedDataRevision, type index$3_Uint as Uint, type index$3_Uint256 as Uint256, type index$3_Uint512 as Uint512, type index$3_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$3_UniversalDetails as UniversalDetails, type index$3_UniversalSuggestedFee as UniversalSuggestedFee, type index$3_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$3_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$3_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$3_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$3_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$3_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$3_V3TransactionDetails as V3TransactionDetails, type index$3_ValidateType as ValidateType, type index$3_WeierstrassSignatureType as WeierstrassSignatureType, type index$3_getContractVersionOptions as getContractVersionOptions, type index$3_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$3_getSimulateTransactionOptions as getSimulateTransactionOptions, index$3_isRPC08_FeeEstimate as isRPC08_FeeEstimate, index$3_isRPC08_ResourceBounds as isRPC08_ResourceBounds, type index$3_waitForTransactionOptions as waitForTransactionOptions };
|
|
1390
1384
|
}
|
|
1391
1385
|
|
|
1392
1386
|
declare const LogLevelIndex: {
|
|
@@ -1439,12 +1433,6 @@ declare function arrayBufferToString(array: ArrayBuffer): string;
|
|
|
1439
1433
|
* ```
|
|
1440
1434
|
*/
|
|
1441
1435
|
declare function utf8ToArray(str: string): Uint8Array;
|
|
1442
|
-
/**
|
|
1443
|
-
* Convert utf8-string to Uint8Array
|
|
1444
|
-
*
|
|
1445
|
-
* @deprecated equivalent to 'utf8ToArray', alias will be removed
|
|
1446
|
-
*/
|
|
1447
|
-
declare function stringToArrayBuffer(str: string): Uint8Array;
|
|
1448
1436
|
/**
|
|
1449
1437
|
* Convert string to array buffer (browser and node compatible)
|
|
1450
1438
|
*
|
|
@@ -1634,10 +1622,9 @@ declare const encode_pascalToSnake: typeof pascalToSnake;
|
|
|
1634
1622
|
declare const encode_removeHexPrefix: typeof removeHexPrefix;
|
|
1635
1623
|
declare const encode_sanitizeBytes: typeof sanitizeBytes;
|
|
1636
1624
|
declare const encode_sanitizeHex: typeof sanitizeHex;
|
|
1637
|
-
declare const encode_stringToArrayBuffer: typeof stringToArrayBuffer;
|
|
1638
1625
|
declare const encode_utf8ToArray: typeof utf8ToArray;
|
|
1639
1626
|
declare namespace encode {
|
|
1640
|
-
export { encode_IS_BROWSER as IS_BROWSER, encode_addHexPrefix as addHexPrefix, encode_arrayBufferToString as arrayBufferToString, encode_atobUniversal as atobUniversal, encode_btoaUniversal as btoaUniversal, encode_buf2hex as buf2hex, encode_calcByteLength as calcByteLength, encode_concatenateArrayBuffer as concatenateArrayBuffer, encode_padLeft as padLeft, encode_pascalToSnake as pascalToSnake, encode_removeHexPrefix as removeHexPrefix, encode_sanitizeBytes as sanitizeBytes, encode_sanitizeHex as sanitizeHex,
|
|
1627
|
+
export { encode_IS_BROWSER as IS_BROWSER, encode_addHexPrefix as addHexPrefix, encode_arrayBufferToString as arrayBufferToString, encode_atobUniversal as atobUniversal, encode_btoaUniversal as btoaUniversal, encode_buf2hex as buf2hex, encode_calcByteLength as calcByteLength, encode_concatenateArrayBuffer as concatenateArrayBuffer, encode_padLeft as padLeft, encode_pascalToSnake as pascalToSnake, encode_removeHexPrefix as removeHexPrefix, encode_sanitizeBytes as sanitizeBytes, encode_sanitizeHex as sanitizeHex, encode_utf8ToArray as utf8ToArray };
|
|
1641
1628
|
}
|
|
1642
1629
|
|
|
1643
1630
|
/**
|
|
@@ -2389,7 +2376,6 @@ declare abstract class ProviderInterface {
|
|
|
2389
2376
|
abstract deployAccountContract(payload: DeployAccountContractPayload, details: InvocationsDetailsWithNonce): Promise<DeployContractResponse>;
|
|
2390
2377
|
/**
|
|
2391
2378
|
* Invokes a function on starknet
|
|
2392
|
-
* @deprecated This method won't be supported as soon as fees are mandatory. Should not be used outside of Account class
|
|
2393
2379
|
*
|
|
2394
2380
|
* @param invocation the invocation object containing:
|
|
2395
2381
|
* - contractAddress - the address of the contract
|
|
@@ -2416,23 +2402,6 @@ declare abstract class ProviderInterface {
|
|
|
2416
2402
|
* @returns a confirmation of sending a transaction on the starknet contract
|
|
2417
2403
|
*/
|
|
2418
2404
|
abstract declareContract(transaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<DeclareContractResponse>;
|
|
2419
|
-
/**
|
|
2420
|
-
* Estimates the fee for a given INVOKE transaction
|
|
2421
|
-
* @deprecated Please use getInvokeEstimateFee or getDeclareEstimateFee instead. Should not be used outside of Account class
|
|
2422
|
-
*
|
|
2423
|
-
* @param invocation the invocation object containing:
|
|
2424
|
-
* - contractAddress - the address of the contract
|
|
2425
|
-
* - entrypoint - the entrypoint of the contract
|
|
2426
|
-
* - calldata - (defaults to []) the calldata
|
|
2427
|
-
* - signature - (defaults to []) the signature
|
|
2428
|
-
* @param details - optional details containing:
|
|
2429
|
-
* - nonce - optional nonce
|
|
2430
|
-
* - version - optional version
|
|
2431
|
-
* @param blockIdentifier - (optional) block identifier
|
|
2432
|
-
* @param skipValidate - (optional) skip cairo __validate__ method
|
|
2433
|
-
* @returns the estimated fee
|
|
2434
|
-
*/
|
|
2435
|
-
abstract getEstimateFee(invocation: Invocation, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponse>;
|
|
2436
2405
|
/**
|
|
2437
2406
|
* Estimates the fee for a given INVOKE transaction
|
|
2438
2407
|
*
|
|
@@ -2608,12 +2577,6 @@ declare class RpcProvider$1 implements ProviderInterface {
|
|
|
2608
2577
|
getBlockStateUpdate(blockIdentifier?: BlockIdentifier): Promise<StateUpdateResponse>;
|
|
2609
2578
|
getBlockTransactionsTraces(blockIdentifier?: BlockIdentifier): Promise<RPCSPEC07.BlockTransactionsTraces | BlockTransactionsTraces>;
|
|
2610
2579
|
getBlockTransactionCount(blockIdentifier?: BlockIdentifier): Promise<number>;
|
|
2611
|
-
/**
|
|
2612
|
-
* Return transactions from pending block
|
|
2613
|
-
* @deprecated Instead use getBlock(BlockTag.PENDING); (will be removed in next minor version)
|
|
2614
|
-
* Utility method, same result can be achieved using getBlockWithTxHashes(BlockTag.pending);
|
|
2615
|
-
*/
|
|
2616
|
-
getPendingTransactions(): Promise<RPCSPEC07.TransactionWithHash[]>;
|
|
2617
2580
|
getTransaction(txHash: BigNumberish): Promise<RPCSPEC07.TransactionWithHash>;
|
|
2618
2581
|
getTransactionByHash(txHash: BigNumberish): Promise<RPCSPEC07.TransactionWithHash>;
|
|
2619
2582
|
getTransactionByBlockIdAndIndex(blockIdentifier: BlockIdentifier, index: number): Promise<RPCSPEC07.TransactionWithHash>;
|
|
@@ -2639,10 +2602,6 @@ declare class RpcProvider$1 implements ProviderInterface {
|
|
|
2639
2602
|
getClassAt(contractAddress: BigNumberish, blockIdentifier?: BlockIdentifier): Promise<LegacyContractClass | Omit<CompiledSierra, "sierra_program_debug_info">>;
|
|
2640
2603
|
getContractVersion(contractAddress: BigNumberish, classHash?: undefined, options?: getContractVersionOptions): Promise<ContractVersion>;
|
|
2641
2604
|
getContractVersion(contractAddress: undefined, classHash: BigNumberish, options?: getContractVersionOptions): Promise<ContractVersion>;
|
|
2642
|
-
/**
|
|
2643
|
-
* @deprecated use get*type*EstimateFee (will be refactored based on type after sequencer deprecation)
|
|
2644
|
-
*/
|
|
2645
|
-
getEstimateFee(invocation: Invocation, invocationDetails: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponse>;
|
|
2646
2605
|
getInvokeEstimateFee(invocation: Invocation, invocationDetails: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponse>;
|
|
2647
2606
|
getDeclareEstimateFee(invocation: DeclareContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponse>;
|
|
2648
2607
|
getDeployAccountEstimateFee(invocation: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponse>;
|
|
@@ -3473,18 +3432,6 @@ declare abstract class AccountInterface extends ProviderInterface {
|
|
|
3473
3432
|
* @returns response from addTransaction
|
|
3474
3433
|
*/
|
|
3475
3434
|
abstract execute(transactions: AllowArray<Call>, transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
|
|
3476
|
-
/**
|
|
3477
|
-
* @deprecated
|
|
3478
|
-
* @param transactions the invocation object or an array of them, containing:
|
|
3479
|
-
* - contractAddress - the address of the contract
|
|
3480
|
-
* - entrypoint - the entrypoint of the contract
|
|
3481
|
-
* - calldata - (defaults to []) the calldata
|
|
3482
|
-
* - signature - (defaults to []) the signature
|
|
3483
|
-
* @param abis (optional) the abi of the contract for better displaying
|
|
3484
|
-
* @param {InvocationsDetails} transactionsDetail Additional optional parameters for the transaction
|
|
3485
|
-
* * @returns response from addTransaction
|
|
3486
|
-
*/
|
|
3487
|
-
abstract execute(transactions: AllowArray<Call>, abis?: Abi[], transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
|
|
3488
3435
|
/**
|
|
3489
3436
|
* Declares a given compiled contract (json) to starknet
|
|
3490
3437
|
*
|
|
@@ -3629,7 +3576,6 @@ declare class Account extends RpcProvider implements AccountInterface {
|
|
|
3629
3576
|
estimateFeeBulk(invocations: Invocations, details?: UniversalDetails): Promise<EstimateFeeBulk>;
|
|
3630
3577
|
simulateTransaction(invocations: Invocations, details?: SimulateTransactionDetails): Promise<SimulateTransactionResponse>;
|
|
3631
3578
|
execute(transactions: AllowArray<Call>, transactionsDetail?: UniversalDetails): Promise<InvokeFunctionResponse>;
|
|
3632
|
-
execute(transactions: AllowArray<Call>, abis?: Abi[], transactionsDetail?: UniversalDetails): Promise<InvokeFunctionResponse>;
|
|
3633
3579
|
/**
|
|
3634
3580
|
* First check if contract is already declared, if not declare it
|
|
3635
3581
|
* If contract already declared returned transaction_hash is ''.
|
|
@@ -3645,22 +3591,6 @@ declare class Account extends RpcProvider implements AccountInterface {
|
|
|
3645
3591
|
deployAccount({ classHash, constructorCalldata, addressSalt, contractAddress: providedContractAddress, }: DeployAccountContractPayload, details?: UniversalDetails): Promise<DeployContractResponse>;
|
|
3646
3592
|
signMessage(typedData: TypedData): Promise<Signature>;
|
|
3647
3593
|
hashMessage(typedData: TypedData): Promise<string>;
|
|
3648
|
-
/**
|
|
3649
|
-
* @deprecated To replace by `myRpcProvider.verifyMessageInStarknet()`
|
|
3650
|
-
*/
|
|
3651
|
-
verifyMessageHash(hash: BigNumberish, signature: Signature, signatureVerificationFunctionName?: string, signatureVerificationResponse?: {
|
|
3652
|
-
okResponse: string[];
|
|
3653
|
-
nokResponse: string[];
|
|
3654
|
-
error: string[];
|
|
3655
|
-
}): Promise<boolean>;
|
|
3656
|
-
/**
|
|
3657
|
-
* @deprecated To replace by `myRpcProvider.verifyMessageInStarknet()`
|
|
3658
|
-
*/
|
|
3659
|
-
verifyMessage(typedData: TypedData, signature: Signature, signatureVerificationFunctionName?: string, signatureVerificationResponse?: {
|
|
3660
|
-
okResponse: string[];
|
|
3661
|
-
nokResponse: string[];
|
|
3662
|
-
error: string[];
|
|
3663
|
-
}): Promise<boolean>;
|
|
3664
3594
|
/**
|
|
3665
3595
|
* Verify if an account is compatible with SNIP-9 outside execution, and with which version of this standard.
|
|
3666
3596
|
* @returns {OutsideExecutionVersion} Not compatible, V1, V2.
|
|
@@ -3756,11 +3686,7 @@ interface StarknetWalletProvider extends StarknetWindowObject {
|
|
|
3756
3686
|
|
|
3757
3687
|
declare class WalletAccount extends Account implements AccountInterface {
|
|
3758
3688
|
walletProvider: StarknetWalletProvider;
|
|
3759
|
-
|
|
3760
|
-
* @deprecated Use static method WalletAccount.connect or WalletAccount.connectSilent instead. Constructor {@link WalletAccount.(format:2)}.
|
|
3761
|
-
*/
|
|
3762
|
-
constructor(providerOrOptions: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion);
|
|
3763
|
-
constructor(providerOrOptions: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion, address?: string);
|
|
3689
|
+
constructor(providerOrOptions: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, address: string, cairoVersion?: CairoVersion);
|
|
3764
3690
|
/**
|
|
3765
3691
|
* WALLET EVENTS
|
|
3766
3692
|
*/
|
|
@@ -4509,15 +4435,12 @@ declare const parseAlwaysAsBig: (str: string) => any;
|
|
|
4509
4435
|
* ```
|
|
4510
4436
|
*/
|
|
4511
4437
|
declare const stringify: (value: unknown, replacer?: any, space?: string | number | undefined, numberStringifiers?: json$1.NumberStringifier[] | undefined) => string;
|
|
4512
|
-
/** @deprecated equivalent to 'stringify', alias will be removed */
|
|
4513
|
-
declare const stringifyAlwaysAsBig: (value: unknown, replacer?: any, space?: string | number | undefined, numberStringifiers?: json$1.NumberStringifier[] | undefined) => string;
|
|
4514
4438
|
|
|
4515
4439
|
declare const json_parse: typeof parse;
|
|
4516
4440
|
declare const json_parseAlwaysAsBig: typeof parseAlwaysAsBig;
|
|
4517
4441
|
declare const json_stringify: typeof stringify;
|
|
4518
|
-
declare const json_stringifyAlwaysAsBig: typeof stringifyAlwaysAsBig;
|
|
4519
4442
|
declare namespace json {
|
|
4520
|
-
export { json_parse as parse, json_parseAlwaysAsBig as parseAlwaysAsBig, json_stringify as stringify
|
|
4443
|
+
export { json_parse as parse, json_parseAlwaysAsBig as parseAlwaysAsBig, json_stringify as stringify };
|
|
4521
4444
|
}
|
|
4522
4445
|
|
|
4523
4446
|
/**
|
|
@@ -4805,7 +4728,6 @@ declare function stringToSha256ToArrayBuff4(str: string): Uint8Array;
|
|
|
4805
4728
|
*/
|
|
4806
4729
|
declare function isBigNumberish(input: unknown): input is BigNumberish;
|
|
4807
4730
|
|
|
4808
|
-
type num_BigNumberish = BigNumberish;
|
|
4809
4731
|
declare const num_addPercent: typeof addPercent;
|
|
4810
4732
|
declare const num_assertInRange: typeof assertInRange;
|
|
4811
4733
|
declare const num_bigNumberishArrayToDecimalStringArray: typeof bigNumberishArrayToDecimalStringArray;
|
|
@@ -4828,7 +4750,7 @@ declare const num_toHexString: typeof toHexString;
|
|
|
4828
4750
|
declare const num_toStorageKey: typeof toStorageKey;
|
|
4829
4751
|
declare const num_tryToBigInt: typeof tryToBigInt;
|
|
4830
4752
|
declare namespace num {
|
|
4831
|
-
export {
|
|
4753
|
+
export { num_addPercent as addPercent, num_assertInRange as assertInRange, num_bigNumberishArrayToDecimalStringArray as bigNumberishArrayToDecimalStringArray, num_bigNumberishArrayToHexadecimalStringArray as bigNumberishArrayToHexadecimalStringArray, num_cleanHex as cleanHex, num_getDecimalString as getDecimalString, num_getHexString as getHexString, num_getHexStringArray as getHexStringArray, num_hexToBytes as hexToBytes, num_hexToDecimalString as hexToDecimalString, num_isBigNumberish as isBigNumberish, num_isHex as isHex, num_isStringWholeNumber as isStringWholeNumber, num_stringToSha256ToArrayBuff4 as stringToSha256ToArrayBuff4, num_toBigInt as toBigInt, num_toCairoBool as toCairoBool, num_toHex as toHex, num_toHex64 as toHex64, num_toHexString as toHexString, num_toStorageKey as toStorageKey, num_tryToBigInt as tryToBigInt };
|
|
4832
4754
|
}
|
|
4833
4755
|
|
|
4834
4756
|
/**
|
|
@@ -4892,16 +4814,6 @@ declare const transformCallsToMulticallArrays: (calls: Call[]) => {
|
|
|
4892
4814
|
* ```
|
|
4893
4815
|
*/
|
|
4894
4816
|
declare const fromCallsToExecuteCalldata: (calls: Call[]) => Calldata;
|
|
4895
|
-
/**
|
|
4896
|
-
* Transforms a list of calls into the Cairo 0 `__execute__` calldata including nonce.
|
|
4897
|
-
* @deprecated
|
|
4898
|
-
*/
|
|
4899
|
-
declare const fromCallsToExecuteCalldataWithNonce: (calls: Call[], nonce: BigNumberish) => Calldata;
|
|
4900
|
-
/**
|
|
4901
|
-
* Format Data inside Calls
|
|
4902
|
-
* @deprecated Not required for getting execute Calldata
|
|
4903
|
-
*/
|
|
4904
|
-
declare const transformCallsToMulticallArrays_cairo1: (calls: Call[]) => CallStruct[];
|
|
4905
4817
|
/**
|
|
4906
4818
|
* Transforms a list of calls into the Cairo 1 `__execute__` calldata.
|
|
4907
4819
|
* @param {Call[]} calls the list of calls to transform.
|
|
@@ -5018,14 +4930,12 @@ declare function getVersionsByType(versionType?: 'fee' | 'transaction'): {
|
|
|
5018
4930
|
|
|
5019
4931
|
declare const transaction_buildUDCCall: typeof buildUDCCall;
|
|
5020
4932
|
declare const transaction_fromCallsToExecuteCalldata: typeof fromCallsToExecuteCalldata;
|
|
5021
|
-
declare const transaction_fromCallsToExecuteCalldataWithNonce: typeof fromCallsToExecuteCalldataWithNonce;
|
|
5022
4933
|
declare const transaction_fromCallsToExecuteCalldata_cairo1: typeof fromCallsToExecuteCalldata_cairo1;
|
|
5023
4934
|
declare const transaction_getExecuteCalldata: typeof getExecuteCalldata;
|
|
5024
4935
|
declare const transaction_getVersionsByType: typeof getVersionsByType;
|
|
5025
4936
|
declare const transaction_transformCallsToMulticallArrays: typeof transformCallsToMulticallArrays;
|
|
5026
|
-
declare const transaction_transformCallsToMulticallArrays_cairo1: typeof transformCallsToMulticallArrays_cairo1;
|
|
5027
4937
|
declare namespace transaction {
|
|
5028
|
-
export { transaction_buildUDCCall as buildUDCCall, transaction_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata,
|
|
4938
|
+
export { transaction_buildUDCCall as buildUDCCall, transaction_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata, transaction_fromCallsToExecuteCalldata_cairo1 as fromCallsToExecuteCalldata_cairo1, transaction_getExecuteCalldata as getExecuteCalldata, transaction_getVersionsByType as getVersionsByType, transaction_transformCallsToMulticallArrays as transformCallsToMulticallArrays };
|
|
5029
4939
|
}
|
|
5030
4940
|
|
|
5031
4941
|
type V3Details = Required<Pick<UniversalDetails, 'tip' | 'paymasterData' | 'accountDeploymentData' | 'nonceDataAvailabilityMode' | 'feeDataAvailabilityMode' | 'resourceBounds'>>;
|
|
@@ -5082,12 +4992,6 @@ declare function decompressProgram(base64: CompressedProgram | CompressedProgram
|
|
|
5082
4992
|
* ```
|
|
5083
4993
|
*/
|
|
5084
4994
|
declare function randomAddress(): string;
|
|
5085
|
-
/**
|
|
5086
|
-
* Lowercase and hex prefix string
|
|
5087
|
-
*
|
|
5088
|
-
* @deprecated Not used internally, naming is confusing based on functionality
|
|
5089
|
-
*/
|
|
5090
|
-
declare function makeAddress(input: string): string;
|
|
5091
4995
|
/**
|
|
5092
4996
|
* Format Signature to standard type (hex array)
|
|
5093
4997
|
* @param {Signature} [sig]
|
|
@@ -5264,7 +5168,6 @@ type index$1_feeOverhead = feeOverhead;
|
|
|
5264
5168
|
declare const index$1_formatSignature: typeof formatSignature;
|
|
5265
5169
|
declare const index$1_getFullPublicKey: typeof getFullPublicKey;
|
|
5266
5170
|
declare const index$1_intDAM: typeof intDAM;
|
|
5267
|
-
declare const index$1_makeAddress: typeof makeAddress;
|
|
5268
5171
|
declare const index$1_randomAddress: typeof randomAddress;
|
|
5269
5172
|
declare const index$1_reduceV2: typeof reduceV2;
|
|
5270
5173
|
declare const index$1_signatureToDecimalArray: typeof signatureToDecimalArray;
|
|
@@ -5273,7 +5176,7 @@ declare const index$1_toFeeVersion: typeof toFeeVersion;
|
|
|
5273
5176
|
declare const index$1_toTransactionVersion: typeof toTransactionVersion;
|
|
5274
5177
|
declare const index$1_v3Details: typeof v3Details;
|
|
5275
5178
|
declare namespace index$1 {
|
|
5276
|
-
export { index$1_ZEROFee as ZEROFee, index$1_compressProgram as compressProgram, index$1_decompressProgram as decompressProgram, index$1_estimateFeeToBounds as estimateFeeToBounds, index$1_estimatedFeeToMaxFee as estimatedFeeToMaxFee, type index$1_feeOverhead as feeOverhead, index$1_formatSignature as formatSignature, index$1_getFullPublicKey as getFullPublicKey, index$1_intDAM as intDAM, index$
|
|
5179
|
+
export { index$1_ZEROFee as ZEROFee, index$1_compressProgram as compressProgram, index$1_decompressProgram as decompressProgram, index$1_estimateFeeToBounds as estimateFeeToBounds, index$1_estimatedFeeToMaxFee as estimatedFeeToMaxFee, type index$1_feeOverhead as feeOverhead, index$1_formatSignature as formatSignature, index$1_getFullPublicKey as getFullPublicKey, index$1_intDAM as intDAM, index$1_randomAddress as randomAddress, index$1_reduceV2 as reduceV2, index$1_signatureToDecimalArray as signatureToDecimalArray, index$1_signatureToHexArray as signatureToHexArray, index$1_toFeeVersion as toFeeVersion, index$1_toTransactionVersion as toTransactionVersion, index$1_v3Details as v3Details };
|
|
5277
5180
|
}
|
|
5278
5181
|
|
|
5279
5182
|
/**
|
|
@@ -5398,79 +5301,6 @@ declare namespace merkle {
|
|
|
5398
5301
|
export { merkle_MerkleTree as MerkleTree, merkle_proofMerklePath as proofMerklePath };
|
|
5399
5302
|
}
|
|
5400
5303
|
|
|
5401
|
-
/**
|
|
5402
|
-
* Singular class handling cairo u256 data type
|
|
5403
|
-
*/
|
|
5404
|
-
|
|
5405
|
-
declare const UINT_128_MAX: bigint;
|
|
5406
|
-
declare const UINT_256_MAX: bigint;
|
|
5407
|
-
declare const UINT_256_MIN = 0n;
|
|
5408
|
-
declare const UINT_256_LOW_MAX = 340282366920938463463374607431768211455n;
|
|
5409
|
-
declare const UINT_256_HIGH_MAX = 340282366920938463463374607431768211455n;
|
|
5410
|
-
declare const UINT_256_LOW_MIN = 0n;
|
|
5411
|
-
declare const UINT_256_HIGH_MIN = 0n;
|
|
5412
|
-
declare class CairoUint256 {
|
|
5413
|
-
low: bigint;
|
|
5414
|
-
high: bigint;
|
|
5415
|
-
static abiSelector: string;
|
|
5416
|
-
/**
|
|
5417
|
-
* Default constructor (Lib usage)
|
|
5418
|
-
* @param bigNumberish BigNumberish value representing uin256
|
|
5419
|
-
*/
|
|
5420
|
-
constructor(bigNumberish: BigNumberish);
|
|
5421
|
-
/**
|
|
5422
|
-
* Direct props initialization (Api response)
|
|
5423
|
-
*/
|
|
5424
|
-
constructor(low: BigNumberish, high: BigNumberish);
|
|
5425
|
-
/**
|
|
5426
|
-
* Initialization from Uint256 object
|
|
5427
|
-
*/
|
|
5428
|
-
constructor(uint256: Uint256);
|
|
5429
|
-
/**
|
|
5430
|
-
* Validate if BigNumberish can be represented as Unit256
|
|
5431
|
-
*/
|
|
5432
|
-
static validate(bigNumberish: BigNumberish): bigint;
|
|
5433
|
-
/**
|
|
5434
|
-
* Validate if low and high can be represented as Unit256
|
|
5435
|
-
*/
|
|
5436
|
-
static validateProps(low: BigNumberish, high: BigNumberish): {
|
|
5437
|
-
low: bigint;
|
|
5438
|
-
high: bigint;
|
|
5439
|
-
};
|
|
5440
|
-
/**
|
|
5441
|
-
* Check if BigNumberish can be represented as Unit256
|
|
5442
|
-
*/
|
|
5443
|
-
static is(bigNumberish: BigNumberish): boolean;
|
|
5444
|
-
/**
|
|
5445
|
-
* Check if provided abi type is this data type
|
|
5446
|
-
*/
|
|
5447
|
-
static isAbiType(abiType: string): boolean;
|
|
5448
|
-
/**
|
|
5449
|
-
* Return bigint representation
|
|
5450
|
-
*/
|
|
5451
|
-
toBigInt(): bigint;
|
|
5452
|
-
/**
|
|
5453
|
-
* Return Uint256 structure with HexString props
|
|
5454
|
-
* {low: HexString, high: HexString}
|
|
5455
|
-
*/
|
|
5456
|
-
toUint256HexString(): {
|
|
5457
|
-
low: string;
|
|
5458
|
-
high: string;
|
|
5459
|
-
};
|
|
5460
|
-
/**
|
|
5461
|
-
* Return Uint256 structure with DecimalString props
|
|
5462
|
-
* {low: DecString, high: DecString}
|
|
5463
|
-
*/
|
|
5464
|
-
toUint256DecimalString(): {
|
|
5465
|
-
low: string;
|
|
5466
|
-
high: string;
|
|
5467
|
-
};
|
|
5468
|
-
/**
|
|
5469
|
-
* Return api requests representation witch is felt array
|
|
5470
|
-
*/
|
|
5471
|
-
toApiRequest(): string[];
|
|
5472
|
-
}
|
|
5473
|
-
|
|
5474
5304
|
/**
|
|
5475
5305
|
* Convert Uint256 to bigint
|
|
5476
5306
|
* Legacy support Export
|
|
@@ -5511,13 +5341,11 @@ declare function isUint256(bn: BigNumberish): boolean;
|
|
|
5511
5341
|
*/
|
|
5512
5342
|
declare function bnToUint256(bn: BigNumberish): Uint256;
|
|
5513
5343
|
|
|
5514
|
-
declare const uint256$1_UINT_128_MAX: typeof UINT_128_MAX;
|
|
5515
|
-
declare const uint256$1_UINT_256_MAX: typeof UINT_256_MAX;
|
|
5516
5344
|
declare const uint256$1_bnToUint256: typeof bnToUint256;
|
|
5517
5345
|
declare const uint256$1_isUint256: typeof isUint256;
|
|
5518
5346
|
declare const uint256$1_uint256ToBN: typeof uint256ToBN;
|
|
5519
5347
|
declare namespace uint256$1 {
|
|
5520
|
-
export { uint256$
|
|
5348
|
+
export { uint256$1_bnToUint256 as bnToUint256, uint256$1_isUint256 as isUint256, uint256$1_uint256ToBN as uint256ToBN };
|
|
5521
5349
|
}
|
|
5522
5350
|
|
|
5523
5351
|
/**
|
|
@@ -5874,12 +5702,6 @@ declare function getMessageHash(typedData: TypedData, accountAddress: BigNumberi
|
|
|
5874
5702
|
declare function verifyMessage(message: TypedData, signature: Signature, fullPublicKey: BigNumberish, accountAddress: BigNumberish): boolean;
|
|
5875
5703
|
declare function verifyMessage(message: BigNumberish, signature: Signature, fullPublicKey: BigNumberish): boolean;
|
|
5876
5704
|
|
|
5877
|
-
declare const typedData_StarknetDomain: typeof StarknetDomain;
|
|
5878
|
-
declare const typedData_StarknetEnumType: typeof StarknetEnumType;
|
|
5879
|
-
declare const typedData_StarknetMerkleType: typeof StarknetMerkleType;
|
|
5880
|
-
declare const typedData_StarknetType: typeof StarknetType;
|
|
5881
|
-
declare const typedData_TypedData: typeof TypedData;
|
|
5882
|
-
declare const typedData_TypedDataRevision: typeof TypedDataRevision;
|
|
5883
5705
|
declare const typedData_encodeData: typeof encodeData;
|
|
5884
5706
|
declare const typedData_encodeType: typeof encodeType;
|
|
5885
5707
|
declare const typedData_encodeValue: typeof encodeValue;
|
|
@@ -5892,7 +5714,7 @@ declare const typedData_prepareSelector: typeof prepareSelector;
|
|
|
5892
5714
|
declare const typedData_validateTypedData: typeof validateTypedData;
|
|
5893
5715
|
declare const typedData_verifyMessage: typeof verifyMessage;
|
|
5894
5716
|
declare namespace typedData {
|
|
5895
|
-
export {
|
|
5717
|
+
export { typedData_encodeData as encodeData, typedData_encodeType as encodeType, typedData_encodeValue as encodeValue, typedData_getDependencies as getDependencies, typedData_getMessageHash as getMessageHash, typedData_getStructHash as getStructHash, typedData_getTypeHash as getTypeHash, typedData_isMerkleTreeType as isMerkleTreeType, typedData_prepareSelector as prepareSelector, typedData_validateTypedData as validateTypedData, typedData_verifyMessage as verifyMessage };
|
|
5896
5718
|
}
|
|
5897
5719
|
|
|
5898
5720
|
/**
|
|
@@ -6591,6 +6413,79 @@ declare class BatchClient {
|
|
|
6591
6413
|
}>(method: T, params?: Methods$1[T]['params'], id?: string | number): Promise<TResponse>;
|
|
6592
6414
|
}
|
|
6593
6415
|
|
|
6416
|
+
/**
|
|
6417
|
+
* Singular class handling cairo u256 data type
|
|
6418
|
+
*/
|
|
6419
|
+
|
|
6420
|
+
declare const UINT_128_MAX: bigint;
|
|
6421
|
+
declare const UINT_256_MAX: bigint;
|
|
6422
|
+
declare const UINT_256_MIN = 0n;
|
|
6423
|
+
declare const UINT_256_LOW_MAX = 340282366920938463463374607431768211455n;
|
|
6424
|
+
declare const UINT_256_HIGH_MAX = 340282366920938463463374607431768211455n;
|
|
6425
|
+
declare const UINT_256_LOW_MIN = 0n;
|
|
6426
|
+
declare const UINT_256_HIGH_MIN = 0n;
|
|
6427
|
+
declare class CairoUint256 {
|
|
6428
|
+
low: bigint;
|
|
6429
|
+
high: bigint;
|
|
6430
|
+
static abiSelector: string;
|
|
6431
|
+
/**
|
|
6432
|
+
* Default constructor (Lib usage)
|
|
6433
|
+
* @param bigNumberish BigNumberish value representing uin256
|
|
6434
|
+
*/
|
|
6435
|
+
constructor(bigNumberish: BigNumberish);
|
|
6436
|
+
/**
|
|
6437
|
+
* Direct props initialization (Api response)
|
|
6438
|
+
*/
|
|
6439
|
+
constructor(low: BigNumberish, high: BigNumberish);
|
|
6440
|
+
/**
|
|
6441
|
+
* Initialization from Uint256 object
|
|
6442
|
+
*/
|
|
6443
|
+
constructor(uint256: Uint256);
|
|
6444
|
+
/**
|
|
6445
|
+
* Validate if BigNumberish can be represented as Unit256
|
|
6446
|
+
*/
|
|
6447
|
+
static validate(bigNumberish: BigNumberish): bigint;
|
|
6448
|
+
/**
|
|
6449
|
+
* Validate if low and high can be represented as Unit256
|
|
6450
|
+
*/
|
|
6451
|
+
static validateProps(low: BigNumberish, high: BigNumberish): {
|
|
6452
|
+
low: bigint;
|
|
6453
|
+
high: bigint;
|
|
6454
|
+
};
|
|
6455
|
+
/**
|
|
6456
|
+
* Check if BigNumberish can be represented as Unit256
|
|
6457
|
+
*/
|
|
6458
|
+
static is(bigNumberish: BigNumberish): boolean;
|
|
6459
|
+
/**
|
|
6460
|
+
* Check if provided abi type is this data type
|
|
6461
|
+
*/
|
|
6462
|
+
static isAbiType(abiType: string): boolean;
|
|
6463
|
+
/**
|
|
6464
|
+
* Return bigint representation
|
|
6465
|
+
*/
|
|
6466
|
+
toBigInt(): bigint;
|
|
6467
|
+
/**
|
|
6468
|
+
* Return Uint256 structure with HexString props
|
|
6469
|
+
* {low: HexString, high: HexString}
|
|
6470
|
+
*/
|
|
6471
|
+
toUint256HexString(): {
|
|
6472
|
+
low: string;
|
|
6473
|
+
high: string;
|
|
6474
|
+
};
|
|
6475
|
+
/**
|
|
6476
|
+
* Return Uint256 structure with DecimalString props
|
|
6477
|
+
* {low: DecString, high: DecString}
|
|
6478
|
+
*/
|
|
6479
|
+
toUint256DecimalString(): {
|
|
6480
|
+
low: string;
|
|
6481
|
+
high: string;
|
|
6482
|
+
};
|
|
6483
|
+
/**
|
|
6484
|
+
* Return api requests representation witch is felt array
|
|
6485
|
+
*/
|
|
6486
|
+
toApiRequest(): string[];
|
|
6487
|
+
}
|
|
6488
|
+
|
|
6594
6489
|
/**
|
|
6595
6490
|
* Singular class handling cairo u512 data type
|
|
6596
6491
|
*/
|
|
@@ -7510,11 +7405,4 @@ declare class Logger {
|
|
|
7510
7405
|
*/
|
|
7511
7406
|
declare const logger: Logger;
|
|
7512
7407
|
|
|
7513
|
-
|
|
7514
|
-
* Main
|
|
7515
|
-
*/
|
|
7516
|
-
|
|
7517
|
-
/** @deprecated prefer the 'num' naming */
|
|
7518
|
-
declare const number: typeof num;
|
|
7519
|
-
|
|
7520
|
-
export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, 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 BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFixedArray, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallStruct, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, 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 DeployContractResponse, type DeployContractUDCResponse, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, type Details, EDAMode, EDataAvailabilityMode, ETH_ADDRESS, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type FEE_ESTIMATE, type FELT, type FeeEstimate, type FeeMarginPercentage, type FunctionAbi, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1Message, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, 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 PENDING_DECLARE_TXN_RECEIPT, type PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type PENDING_INVOKE_TXN_RECEIPT, type PENDING_L1_HANDLER_TXN_RECEIPT, type PENDING_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PendingBlock, type PendingReceipt, type PendingStateUpdate, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_7 as RPC07, rpc_0_8 as RPC08, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsOverhead, type ResourceBoundsOverheadRPC07, type ResourceBoundsOverheadRPC08, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SubscriptionBlockIdentifier, type SuccessfulTransactionReceiptResponse, type TRANSACTION_TRACE, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, 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 UniversalSuggestedFee, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WSSubscriptions, WalletAccount, WebSocketChannel, type WebSocketOptions, type WeierstrassSignatureType, addAddressPadding, byteArray, cairo, config, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, index$2 as hash, isRPC08_FeeEstimate, isRPC08_ResourceBounds, isSierra, json, logger, merkle, num, number, outsideExecution, parseCalldataField, provider, selector, shortString, src5, index$1 as stark, starknetId, transaction, typedData, index$3 as types, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };
|
|
7408
|
+
export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, 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 BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFixedArray, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, 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 DeployContractResponse, type DeployContractUDCResponse, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, type Details, EDAMode, EDataAvailabilityMode, ETH_ADDRESS, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type FEE_ESTIMATE, type FELT, type FeeEstimate, type FeeMarginPercentage, type FunctionAbi, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1Message, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, 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 PENDING_DECLARE_TXN_RECEIPT, type PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type PENDING_INVOKE_TXN_RECEIPT, type PENDING_L1_HANDLER_TXN_RECEIPT, type PENDING_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PendingBlock, type PendingReceipt, type PendingStateUpdate, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_7 as RPC07, rpc_0_8 as RPC08, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsOverhead, type ResourceBoundsOverheadRPC07, type ResourceBoundsOverheadRPC08, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SubscriptionBlockIdentifier, type SuccessfulTransactionReceiptResponse, type TRANSACTION_TRACE, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, 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 UniversalSuggestedFee, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WSSubscriptions, WalletAccount, WebSocketChannel, type WebSocketOptions, type WeierstrassSignatureType, addAddressPadding, byteArray, cairo, config, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, index$2 as hash, isRPC08_FeeEstimate, isRPC08_ResourceBounds, isSierra, json, logger, merkle, num, outsideExecution, parseCalldataField, provider, selector, shortString, src5, index$1 as stark, starknetId, transaction, typedData, index$3 as types, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };
|