starknet 11.6.0 → 11.6.2
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 +12 -0
- package/dist/falcon/index.d.ts +11 -2
- package/dist/index.d.ts +356 -52
- package/dist/index.global.js +22 -28
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +17 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +26 -27
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as RPCSPEC0104 from '@starknet-io/starknet-types-0104';
|
|
2
|
-
import { PAYMASTER_API, CONTRACT, EDataAvailabilityMode as EDataAvailabilityMode$1,
|
|
2
|
+
import { PAYMASTER_API, CONTRACT, ETransactionType, EDataAvailabilityMode as EDataAvailabilityMode$1, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, IsSucceeded, TransactionReceipt as TransactionReceipt$1, IsReverted, BLOCK_WITH_TX_HASHES, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, IsType, ETransactionVersion3 as ETransactionVersion3$1, SUBSCRIPTION_ID, NewHeadsEvent, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, TXN_STATUS_WITHOUT_L1, NewTransactionEvent, TransactionHash, BlockHash, FAILED_TO_RECEIVE_TXN, NO_TRACE_AVAILABLE, CONTRACT_NOT_FOUND, ENTRYPOINT_NOT_FOUND, BLOCK_NOT_FOUND, INVALID_TXN_INDEX, CLASS_HASH_NOT_FOUND, TXN_HASH_NOT_FOUND, PAGE_SIZE_TOO_BIG, NO_BLOCKS, INVALID_CONTINUATION_TOKEN, TOO_MANY_KEYS_IN_FILTER, CONTRACT_ERROR, TRANSACTION_EXECUTION_ERROR, STORAGE_PROOF_NOT_SUPPORTED, CLASS_ALREADY_DECLARED, INVALID_TRANSACTION_NONCE, INSUFFICIENT_RESOURCES_FOR_VALIDATE, INSUFFICIENT_ACCOUNT_BALANCE, VALIDATION_FAILURE, COMPILATION_FAILED, CONTRACT_CLASS_SIZE_IS_TOO_LARGE, NON_ACCOUNT, DUPLICATE_TX, COMPILED_CLASS_HASH_MISMATCH, UNSUPPORTED_TX_VERSION, UNSUPPORTED_CONTRACT_CLASS_VERSION, UNEXPECTED_ERROR, REPLACEMENT_TRANSACTION_UNDERPRICED, FEE_BELOW_MINIMUM, INVALID_SUBSCRIPTION_ID, TOO_MANY_ADDRESSES_IN_FILTER, TOO_MANY_BLOCKS_BACK, COMPILATION_ERROR, ETransactionVersion as ETransactionVersion$1, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, STRK20_DEPOSIT_ACTION, STRK20_WITHDRAW_ACTION, STRK20_TRANSFER_ACTION, STRK20_INVOKE_ACTION, STRK20_SHADOW_ACCOUNT_INVOKE_ACTION as STRK20_SHADOW_ACCOUNT_INVOKE_ACTION$1, STRK20_CALL_AND_PROOF as STRK20_CALL_AND_PROOF$1, STRK20_PROOF, Address, STRK20_BALANCE_ENTRY, STRK20_DAPP_NAME, FELT as FELT$1, EDAMode as EDAMode$1, TypedDataRevision, StarknetType, StarknetMerkleType, OutsideCallV1, OutsideCallV2, Event as Event$2, EmittedEvent as EmittedEvent$1, AddDeclareTransactionParameters, AddDeclareTransactionResult, AddInvokeTransactionParameters, AddInvokeTransactionResult, AccountDeploymentData, Permission, ChainId, SpecVersion, API_VERSION as API_VERSION$1, STRK20_ACTION as STRK20_ACTION$1 } from '@starknet-io/starknet-types-0104';
|
|
3
3
|
export { STRK20_BALANCE_ENTRY, STRK20_CALLDATA_ITEM, STRK20_CALLDATA_PLACEHOLDER, STRK20_COLLECT_POLICY, STRK20_DAPP_NAME, STRK20_DEPOSIT_ACTION, STRK20_INVOKE_ACTION, STRK20_PROOF, STRK20_TRANSFER_ACTION, STRK20_WITHDRAW_ACTION, StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from '@starknet-io/starknet-types-0104';
|
|
4
4
|
import * as RPC$1 from '@starknet-io/starknet-types-0101';
|
|
5
|
-
import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2,
|
|
5
|
+
import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2, AddDeclareTransactionParameters as AddDeclareTransactionParameters$1, AddDeclareTransactionResult as AddDeclareTransactionResult$1, AddInvokeTransactionParameters as AddInvokeTransactionParameters$1, AddInvokeTransactionResult as AddInvokeTransactionResult$1, AccountDeploymentData as AccountDeploymentData$1, Permission as Permission$1, Address as Address$1, ChainId as ChainId$1, TypedData as TypedData$1, SpecVersion as SpecVersion$1, API_VERSION as API_VERSION$2 } from '@starknet-io/starknet-types-0101';
|
|
6
6
|
import * as weierstrass from '@noble/curves/abstract/weierstrass.js';
|
|
7
7
|
import { ECDSASignature } from '@noble/curves/abstract/weierstrass.js';
|
|
8
8
|
import * as RPC from '@starknet-io/starknet-types-09';
|
|
@@ -16,7 +16,10 @@ import { StandardConnectOutput, StandardEventsChangeProperties as StandardEvents
|
|
|
16
16
|
|
|
17
17
|
declare const ec_weierstrass: typeof weierstrass;
|
|
18
18
|
declare namespace ec {
|
|
19
|
-
export {
|
|
19
|
+
export {
|
|
20
|
+
starknet as starkCurve,
|
|
21
|
+
ec_weierstrass as weierstrass,
|
|
22
|
+
};
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
type RequestBody = {
|
|
@@ -56,7 +59,12 @@ declare namespace jsonrpc {
|
|
|
56
59
|
declare const index$8_PAYMASTER_API: typeof PAYMASTER_API;
|
|
57
60
|
declare const index$8_RPCSPEC0104: typeof RPCSPEC0104;
|
|
58
61
|
declare namespace index$8 {
|
|
59
|
-
export {
|
|
62
|
+
export {
|
|
63
|
+
jsonrpc as JRPC,
|
|
64
|
+
index$8_PAYMASTER_API as PAYMASTER_API,
|
|
65
|
+
index$8_RPCSPEC0104 as RPCSPEC0104,
|
|
66
|
+
RPC as RPCSPEC09,
|
|
67
|
+
};
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
type CairoEnumRaw = Record<string, any>;
|
|
@@ -871,7 +879,7 @@ type waitForTransactionOptions = {
|
|
|
871
879
|
*/
|
|
872
880
|
lifeCycleRetries?: number;
|
|
873
881
|
/**
|
|
874
|
-
*
|
|
882
|
+
* Limit status polling, including pending statuses, and receipt retries.
|
|
875
883
|
*/
|
|
876
884
|
retries?: number;
|
|
877
885
|
/**
|
|
@@ -8202,7 +8210,27 @@ declare const encode_uint8ArrayToBigInt: typeof uint8ArrayToBigInt;
|
|
|
8202
8210
|
declare const encode_utf8ToBigInt: typeof utf8ToBigInt;
|
|
8203
8211
|
declare const encode_utf8ToUint8Array: typeof utf8ToUint8Array;
|
|
8204
8212
|
declare namespace encode {
|
|
8205
|
-
export {
|
|
8213
|
+
export {
|
|
8214
|
+
encode_IS_BROWSER as IS_BROWSER,
|
|
8215
|
+
encode_addHexPrefix as addHexPrefix,
|
|
8216
|
+
encode_arrayBufferToString as arrayBufferToString,
|
|
8217
|
+
encode_atobUniversal as atobUniversal,
|
|
8218
|
+
encode_bigIntToUint8Array as bigIntToUint8Array,
|
|
8219
|
+
encode_btoaUniversal as btoaUniversal,
|
|
8220
|
+
encode_buf2hex as buf2hex,
|
|
8221
|
+
encode_calcByteLength as calcByteLength,
|
|
8222
|
+
encode_concatenateArrayBuffer as concatenateArrayBuffer,
|
|
8223
|
+
encode_hexStringToUint8Array as hexStringToUint8Array,
|
|
8224
|
+
encode_padLeft as padLeft,
|
|
8225
|
+
encode_pascalToSnake as pascalToSnake,
|
|
8226
|
+
encode_removeHexPrefix as removeHexPrefix,
|
|
8227
|
+
encode_sanitizeBytes as sanitizeBytes,
|
|
8228
|
+
encode_sanitizeHex as sanitizeHex,
|
|
8229
|
+
encode_stringToUint8Array as stringToUint8Array,
|
|
8230
|
+
encode_uint8ArrayToBigInt as uint8ArrayToBigInt,
|
|
8231
|
+
encode_utf8ToBigInt as utf8ToBigInt,
|
|
8232
|
+
encode_utf8ToUint8Array as utf8ToUint8Array,
|
|
8233
|
+
};
|
|
8206
8234
|
}
|
|
8207
8235
|
|
|
8208
8236
|
/**
|
|
@@ -8482,7 +8510,8 @@ declare const constants_TYPED_DATA_MAX_TYPES: typeof TYPED_DATA_MAX_TYPES;
|
|
|
8482
8510
|
declare const constants_UDC: typeof UDC;
|
|
8483
8511
|
declare const constants_ZERO: typeof ZERO;
|
|
8484
8512
|
declare namespace constants {
|
|
8485
|
-
export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION,
|
|
8513
|
+
export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, constants_DEFAULT_GLOBAL_CONFIG as DEFAULT_GLOBAL_CONFIG, constants_HARDENING_4BYTES as HARDENING_4BYTES, constants_HARDENING_BYTE as HARDENING_BYTE, constants_IS_BROWSER as IS_BROWSER, constants_LegacyUDC as LegacyUDC, constants_MASK_250 as MASK_250, constants_MASK_31 as MASK_31, constants_MAX_STORAGE_ITEM_SIZE as MAX_STORAGE_ITEM_SIZE, _NetworkName as NetworkName, constants_OutsideExecutionCallerAny as OutsideExecutionCallerAny, constants_PAYMASTER_RPC_NODES as PAYMASTER_RPC_NODES, constants_PRIME as PRIME, constants_RANGE_CLASS_HASH as RANGE_CLASS_HASH, constants_RANGE_CONTRACT_ADDRESS as RANGE_CONTRACT_ADDRESS, constants_RANGE_ETH_ADDRESS as RANGE_ETH_ADDRESS, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_I16 as RANGE_I16, constants_RANGE_I32 as RANGE_I32, constants_RANGE_I64 as RANGE_I64, constants_RANGE_I8 as RANGE_I8, constants_RANGE_STORAGE_ADDRESS as RANGE_STORAGE_ADDRESS, constants_RANGE_U128 as RANGE_U128, constants_RANGE_U16 as RANGE_U16, constants_RANGE_U32 as RANGE_U32, constants_RANGE_U64 as RANGE_U64, constants_RANGE_U8 as RANGE_U8, constants_RANGE_U96 as RANGE_U96, constants_RPC_DEFAULT_NODES as RPC_DEFAULT_NODES, constants_SNIP9_V1_INTERFACE_ID as SNIP9_V1_INTERFACE_ID, constants_SNIP9_V2_INTERFACE_ID as SNIP9_V2_INTERFACE_ID, constants_SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS as SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS, constants_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, _SupportedRpcVersion as SupportedRpcVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, constants_TYPED_DATA_MAX_HASHED_FELTS as TYPED_DATA_MAX_HASHED_FELTS, constants_TYPED_DATA_MAX_TYPES as TYPED_DATA_MAX_TYPES, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
|
|
8514
|
+
export type { constants_ChannelDefaultOptions as ChannelDefaultOptions, constants_ChannelDefaults as ChannelDefaults, constants_ChannelMethodOptions as ChannelMethodOptions, constants_SupportedCairoVersion as SupportedCairoVersion, constants_SupportedRpcVersion0_10 as SupportedRpcVersion0_10, constants_SupportedTransactionVersion as SupportedTransactionVersion };
|
|
8486
8515
|
}
|
|
8487
8516
|
|
|
8488
8517
|
/** What a {@link SubscriptionChannel} needs: a socket to borrow, and how much to buffer. */
|
|
@@ -8742,25 +8771,25 @@ declare class RpcChannel$3 {
|
|
|
8742
8771
|
status: RPC.BLOCK_STATUS;
|
|
8743
8772
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC.BLOCK_BODY_WITH_TX_HASHES & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8744
8773
|
block_hash?: undefined;
|
|
8745
|
-
new_root?: undefined;
|
|
8746
8774
|
status?: undefined;
|
|
8747
8775
|
parent_hash?: undefined;
|
|
8776
|
+
new_root?: undefined;
|
|
8748
8777
|
})>;
|
|
8749
8778
|
getBlockWithTxs(blockIdentifier?: BlockIdentifier): Promise<({
|
|
8750
8779
|
status: RPC.BLOCK_STATUS;
|
|
8751
8780
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TXS & {}) | (RPC.BLOCK_BODY_WITH_TXS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8752
8781
|
block_hash?: undefined;
|
|
8753
|
-
new_root?: undefined;
|
|
8754
8782
|
status?: undefined;
|
|
8755
8783
|
parent_hash?: undefined;
|
|
8784
|
+
new_root?: undefined;
|
|
8756
8785
|
})>;
|
|
8757
8786
|
getBlockWithReceipts(blockIdentifier?: BlockIdentifier): Promise<({
|
|
8758
8787
|
status: RPC.BLOCK_STATUS;
|
|
8759
8788
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC.BLOCK_BODY_WITH_RECEIPTS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8760
8789
|
block_hash?: undefined;
|
|
8761
|
-
new_root?: undefined;
|
|
8762
8790
|
status?: undefined;
|
|
8763
8791
|
parent_hash?: undefined;
|
|
8792
|
+
new_root?: undefined;
|
|
8764
8793
|
})>;
|
|
8765
8794
|
getBlockStateUpdate(blockIdentifier?: BlockIdentifier): Promise<(RPC.STATE_UPDATE & {}) | (RPC.PRE_CONFIRMED_STATE_UPDATE & {
|
|
8766
8795
|
new_root?: undefined;
|
|
@@ -8801,8 +8830,8 @@ declare class RpcChannel$3 {
|
|
|
8801
8830
|
getEstimateFee(invocations: AccountInvocations, options?: getEstimateFeeBulkOptions): Promise<RPC.FEE_ESTIMATE[]>;
|
|
8802
8831
|
invoke(functionInvocation: Invocation, details: InvocationsDetailsWithNonce): Promise<RPC.InvokedTransaction>;
|
|
8803
8832
|
invokeSignedTx(transaction: RPC.INVOKE_TXN_V3): Promise<RPC.InvokedTransaction>;
|
|
8804
|
-
declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.
|
|
8805
|
-
deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.
|
|
8833
|
+
declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.TXN_RECEIPT | RPC.DeclaredTransaction>;
|
|
8834
|
+
deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.TXN_RECEIPT | RPC.DeployedAccountTransaction>;
|
|
8806
8835
|
callContract(call: Call, blockIdentifier?: BlockIdentifier): Promise<string[]>;
|
|
8807
8836
|
/**
|
|
8808
8837
|
* NEW: Estimate the fee for a message from L1
|
|
@@ -8840,7 +8869,8 @@ declare class SubscriptionChannel$2 extends SubscriptionChannel$3 {
|
|
|
8840
8869
|
|
|
8841
8870
|
type index$7_SubscriptionChannelOptions = SubscriptionChannelOptions;
|
|
8842
8871
|
declare namespace index$7 {
|
|
8843
|
-
export { RpcChannel$3 as RpcChannel, SubscriptionChannel$2 as SubscriptionChannel
|
|
8872
|
+
export { RpcChannel$3 as RpcChannel, SubscriptionChannel$2 as SubscriptionChannel };
|
|
8873
|
+
export type { index$7_SubscriptionChannelOptions as SubscriptionChannelOptions };
|
|
8844
8874
|
}
|
|
8845
8875
|
|
|
8846
8876
|
declare class RpcChannel$2 {
|
|
@@ -8916,9 +8946,9 @@ declare class RpcChannel$2 {
|
|
|
8916
8946
|
status: RPC$1.BLOCK_STATUS;
|
|
8917
8947
|
} & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC$1.BLOCK_BODY_WITH_TX_HASHES & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8918
8948
|
block_hash?: undefined;
|
|
8919
|
-
new_root?: undefined;
|
|
8920
8949
|
status?: undefined;
|
|
8921
8950
|
parent_hash?: undefined;
|
|
8951
|
+
new_root?: undefined;
|
|
8922
8952
|
event_commitment?: undefined;
|
|
8923
8953
|
transaction_commitment?: undefined;
|
|
8924
8954
|
receipt_commitment?: undefined;
|
|
@@ -8939,9 +8969,9 @@ declare class RpcChannel$2 {
|
|
|
8939
8969
|
status: RPC$1.BLOCK_STATUS;
|
|
8940
8970
|
} & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_TXS & {}) | (RPC$1.BLOCK_BODY_WITH_TXS & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8941
8971
|
block_hash?: undefined;
|
|
8942
|
-
new_root?: undefined;
|
|
8943
8972
|
status?: undefined;
|
|
8944
8973
|
parent_hash?: undefined;
|
|
8974
|
+
new_root?: undefined;
|
|
8945
8975
|
event_commitment?: undefined;
|
|
8946
8976
|
transaction_commitment?: undefined;
|
|
8947
8977
|
receipt_commitment?: undefined;
|
|
@@ -8962,9 +8992,9 @@ declare class RpcChannel$2 {
|
|
|
8962
8992
|
status: RPC$1.BLOCK_STATUS;
|
|
8963
8993
|
} & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC$1.BLOCK_BODY_WITH_RECEIPTS & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
8964
8994
|
block_hash?: undefined;
|
|
8965
|
-
new_root?: undefined;
|
|
8966
8995
|
status?: undefined;
|
|
8967
8996
|
parent_hash?: undefined;
|
|
8997
|
+
new_root?: undefined;
|
|
8968
8998
|
event_commitment?: undefined;
|
|
8969
8999
|
transaction_commitment?: undefined;
|
|
8970
9000
|
receipt_commitment?: undefined;
|
|
@@ -9039,7 +9069,7 @@ declare class RpcChannel$2 {
|
|
|
9039
9069
|
invoke(functionInvocation: Invocation, details: InvocationsDetailsWithNonce): Promise<RPC$1.InvokedTransaction>;
|
|
9040
9070
|
invokeSignedTx(transaction: RPC$1.INVOKE_TXN_V3): Promise<RPC$1.InvokedTransaction>;
|
|
9041
9071
|
declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.TXN_RECEIPT | RPC$1.DeclaredTransaction>;
|
|
9042
|
-
deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.
|
|
9072
|
+
deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.TXN_RECEIPT | RPC$1.DeployedAccountTransaction>;
|
|
9043
9073
|
callContract(call: Call, blockIdentifier?: BlockIdentifier): Promise<string[]>;
|
|
9044
9074
|
/**
|
|
9045
9075
|
* NEW: Estimate the fee for a message from L1
|
|
@@ -9067,7 +9097,8 @@ declare class RpcChannel$2 {
|
|
|
9067
9097
|
|
|
9068
9098
|
type index$6_SubscriptionChannelOptions = SubscriptionChannelOptions;
|
|
9069
9099
|
declare namespace index$6 {
|
|
9070
|
-
export { RpcChannel$2 as RpcChannel, SubscriptionChannel$3 as SubscriptionChannel
|
|
9100
|
+
export { RpcChannel$2 as RpcChannel, SubscriptionChannel$3 as SubscriptionChannel };
|
|
9101
|
+
export type { index$6_SubscriptionChannelOptions as SubscriptionChannelOptions };
|
|
9071
9102
|
}
|
|
9072
9103
|
|
|
9073
9104
|
declare class RpcChannel$1 extends RpcChannel$2 {
|
|
@@ -9086,7 +9117,8 @@ declare class SubscriptionChannel$1 extends SubscriptionChannel$3 {
|
|
|
9086
9117
|
|
|
9087
9118
|
type index$5_SubscriptionChannelOptions = SubscriptionChannelOptions;
|
|
9088
9119
|
declare namespace index$5 {
|
|
9089
|
-
export { RpcChannel$1 as RpcChannel, SubscriptionChannel$1 as SubscriptionChannel
|
|
9120
|
+
export { RpcChannel$1 as RpcChannel, SubscriptionChannel$1 as SubscriptionChannel };
|
|
9121
|
+
export type { index$5_SubscriptionChannelOptions as SubscriptionChannelOptions };
|
|
9090
9122
|
}
|
|
9091
9123
|
|
|
9092
9124
|
declare class RpcChannel extends RpcChannel$1 {
|
|
@@ -9110,7 +9142,8 @@ type index$4_SubscriptionChannel = SubscriptionChannel;
|
|
|
9110
9142
|
declare const index$4_SubscriptionChannel: typeof SubscriptionChannel;
|
|
9111
9143
|
type index$4_SubscriptionChannelOptions = SubscriptionChannelOptions;
|
|
9112
9144
|
declare namespace index$4 {
|
|
9113
|
-
export { index$4_RpcChannel as RpcChannel, index$4_SubscriptionChannel as SubscriptionChannel
|
|
9145
|
+
export { index$4_RpcChannel as RpcChannel, index$4_SubscriptionChannel as SubscriptionChannel };
|
|
9146
|
+
export type { index$4_SubscriptionChannelOptions as SubscriptionChannelOptions };
|
|
9114
9147
|
}
|
|
9115
9148
|
|
|
9116
9149
|
declare class CustomError extends Error {
|
|
@@ -9120,13 +9153,13 @@ declare class CustomError extends Error {
|
|
|
9120
9153
|
declare class LibraryError extends CustomError {
|
|
9121
9154
|
}
|
|
9122
9155
|
declare class RpcError<BaseErrorT extends RPC_ERROR = RPC_ERROR> extends LibraryError {
|
|
9123
|
-
readonly baseError: BaseErrorT;
|
|
9124
9156
|
readonly request: {
|
|
9125
9157
|
method: string;
|
|
9126
9158
|
params: any;
|
|
9127
9159
|
};
|
|
9160
|
+
readonly baseError: BaseErrorT;
|
|
9128
9161
|
constructor(baseError: BaseErrorT, method: string, params: any);
|
|
9129
|
-
get code():
|
|
9162
|
+
get code(): 31 | 64 | 1 | 10 | 20 | 21 | 24 | 27 | 28 | 29 | 32 | 33 | 34 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 | 68 | 100 | 150 | 151 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 163;
|
|
9130
9163
|
/**
|
|
9131
9164
|
* Verifies the underlying RPC error, also serves as a type guard for the _baseError_ property
|
|
9132
9165
|
* @example
|
|
@@ -9435,9 +9468,9 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
9435
9468
|
status: RPC.BLOCK_STATUS;
|
|
9436
9469
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC.BLOCK_BODY_WITH_TX_HASHES & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
9437
9470
|
block_hash?: undefined;
|
|
9438
|
-
new_root?: undefined;
|
|
9439
9471
|
status?: undefined;
|
|
9440
9472
|
parent_hash?: undefined;
|
|
9473
|
+
new_root?: undefined;
|
|
9441
9474
|
})>;
|
|
9442
9475
|
getBlockWithTxs(blockIdentifier?: BlockIdentifier, options?: {
|
|
9443
9476
|
includeProofFacts?: boolean;
|
|
@@ -9445,9 +9478,9 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
9445
9478
|
status: RPC.BLOCK_STATUS;
|
|
9446
9479
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TXS & {}) | (RPC.BLOCK_BODY_WITH_TXS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
9447
9480
|
block_hash?: undefined;
|
|
9448
|
-
new_root?: undefined;
|
|
9449
9481
|
status?: undefined;
|
|
9450
9482
|
parent_hash?: undefined;
|
|
9483
|
+
new_root?: undefined;
|
|
9451
9484
|
})>;
|
|
9452
9485
|
waitForBlock(blockIdentifier?: BlockIdentifier, retryInterval?: number): Promise<void>;
|
|
9453
9486
|
getL1GasPrice(blockIdentifier?: BlockIdentifier): Promise<string>;
|
|
@@ -9469,9 +9502,9 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
9469
9502
|
status: RPC.BLOCK_STATUS;
|
|
9470
9503
|
} & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC.BLOCK_BODY_WITH_RECEIPTS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
|
|
9471
9504
|
block_hash?: undefined;
|
|
9472
|
-
new_root?: undefined;
|
|
9473
9505
|
status?: undefined;
|
|
9474
9506
|
parent_hash?: undefined;
|
|
9507
|
+
new_root?: undefined;
|
|
9475
9508
|
})>;
|
|
9476
9509
|
getStateUpdate: {
|
|
9477
9510
|
(): Promise<StateUpdate>;
|
|
@@ -9697,8 +9730,8 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
9697
9730
|
transaction_hash: string;
|
|
9698
9731
|
}>;
|
|
9699
9732
|
declareContract(transaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<{
|
|
9700
|
-
class_hash: string;
|
|
9701
9733
|
transaction_hash: string;
|
|
9734
|
+
class_hash: string;
|
|
9702
9735
|
}>;
|
|
9703
9736
|
deployAccountContract(transaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<{
|
|
9704
9737
|
contract_address: string;
|
|
@@ -9787,7 +9820,7 @@ declare class WebSocketProvider extends RpcProvider {
|
|
|
9787
9820
|
*/
|
|
9788
9821
|
static create<T extends RpcProvider = WebSocketProvider>(this: any, optionsOrProvider?: RpcProviderOptions): Promise<T>;
|
|
9789
9822
|
}
|
|
9790
|
-
declare module
|
|
9823
|
+
declare module "./index" {
|
|
9791
9824
|
interface WebSocketProvider {
|
|
9792
9825
|
[Symbol.dispose](): void;
|
|
9793
9826
|
}
|
|
@@ -10881,7 +10914,35 @@ declare const cairo_isTypeUint256: typeof isTypeUint256;
|
|
|
10881
10914
|
declare const cairo_tuple: typeof tuple;
|
|
10882
10915
|
declare const cairo_uint512: typeof uint512;
|
|
10883
10916
|
declare namespace cairo {
|
|
10884
|
-
export {
|
|
10917
|
+
export {
|
|
10918
|
+
cairo_felt as felt,
|
|
10919
|
+
cairo_getAbiContractVersion as getAbiContractVersion,
|
|
10920
|
+
cairo_getArrayType as getArrayType,
|
|
10921
|
+
cairo_isCairo1Abi as isCairo1Abi,
|
|
10922
|
+
cairo_isCairo1Type as isCairo1Type,
|
|
10923
|
+
cairo_isLen as isLen,
|
|
10924
|
+
cairo_isTypeArray as isTypeArray,
|
|
10925
|
+
cairo_isTypeBool as isTypeBool,
|
|
10926
|
+
cairo_isTypeContractAddress as isTypeContractAddress,
|
|
10927
|
+
cairo_isTypeEnum as isTypeEnum,
|
|
10928
|
+
cairo_isTypeEthAddress as isTypeEthAddress,
|
|
10929
|
+
cairo_isTypeFelt as isTypeFelt,
|
|
10930
|
+
cairo_isTypeInt as isTypeInt,
|
|
10931
|
+
cairo_isTypeLiteral as isTypeLiteral,
|
|
10932
|
+
cairo_isTypeNamedTuple as isTypeNamedTuple,
|
|
10933
|
+
cairo_isTypeNonZero as isTypeNonZero,
|
|
10934
|
+
cairo_isTypeOption as isTypeOption,
|
|
10935
|
+
cairo_isTypeResult as isTypeResult,
|
|
10936
|
+
cairo_isTypeSecp256k1Point as isTypeSecp256k1Point,
|
|
10937
|
+
cairo_isTypeStruct as isTypeStruct,
|
|
10938
|
+
cairo_isTypeTuple as isTypeTuple,
|
|
10939
|
+
cairo_isTypeU96 as isTypeU96,
|
|
10940
|
+
cairo_isTypeUint as isTypeUint,
|
|
10941
|
+
cairo_isTypeUint256 as isTypeUint256,
|
|
10942
|
+
cairo_tuple as tuple,
|
|
10943
|
+
uint256$1 as uint256,
|
|
10944
|
+
cairo_uint512 as uint512,
|
|
10945
|
+
};
|
|
10885
10946
|
}
|
|
10886
10947
|
|
|
10887
10948
|
/**
|
|
@@ -10919,7 +10980,10 @@ declare function byteArrayFromString(targetString: string): ByteArray;
|
|
|
10919
10980
|
declare const byteArray_byteArrayFromString: typeof byteArrayFromString;
|
|
10920
10981
|
declare const byteArray_stringFromByteArray: typeof stringFromByteArray;
|
|
10921
10982
|
declare namespace byteArray {
|
|
10922
|
-
export {
|
|
10983
|
+
export {
|
|
10984
|
+
byteArray_byteArrayFromString as byteArrayFromString,
|
|
10985
|
+
byteArray_stringFromByteArray as stringFromByteArray,
|
|
10986
|
+
};
|
|
10923
10987
|
}
|
|
10924
10988
|
|
|
10925
10989
|
/**
|
|
@@ -11611,7 +11675,15 @@ declare const selector_keccakBn: typeof keccakBn;
|
|
|
11611
11675
|
declare const selector_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
|
|
11612
11676
|
declare const selector_starknetKeccak: typeof starknetKeccak;
|
|
11613
11677
|
declare namespace selector {
|
|
11614
|
-
export {
|
|
11678
|
+
export {
|
|
11679
|
+
selector_getL1MessageHash as getL1MessageHash,
|
|
11680
|
+
selector_getL2MessageHash as getL2MessageHash,
|
|
11681
|
+
selector_getSelector as getSelector,
|
|
11682
|
+
selector_getSelectorFromName as getSelectorFromName,
|
|
11683
|
+
selector_keccakBn as keccakBn,
|
|
11684
|
+
selector_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256,
|
|
11685
|
+
selector_starknetKeccak as starknetKeccak,
|
|
11686
|
+
};
|
|
11615
11687
|
}
|
|
11616
11688
|
|
|
11617
11689
|
/**
|
|
@@ -11946,7 +12018,41 @@ declare const index$3_nullSkipReplacer: typeof nullSkipReplacer;
|
|
|
11946
12018
|
declare const index$3_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
|
|
11947
12019
|
declare const index$3_starknetKeccak: typeof starknetKeccak;
|
|
11948
12020
|
declare namespace index$3 {
|
|
11949
|
-
export {
|
|
12021
|
+
export {
|
|
12022
|
+
index$3_COMPILED_CLASS_VERSION as COMPILED_CLASS_VERSION,
|
|
12023
|
+
index$3_blake2sHashMany as blake2sHashMany,
|
|
12024
|
+
index$3_calculateContractAddressFromHash as calculateContractAddressFromHash,
|
|
12025
|
+
calculateDeclareTransactionHash$1 as calculateDeclareTransactionHash,
|
|
12026
|
+
calculateDeployAccountTransactionHash$1 as calculateDeployAccountTransactionHash,
|
|
12027
|
+
calculateInvokeTransactionHash$1 as calculateInvokeTransactionHash,
|
|
12028
|
+
index$3_calculateL2MessageTxHash as calculateL2MessageTxHash,
|
|
12029
|
+
index$3_computeCompiledClassHash as computeCompiledClassHash,
|
|
12030
|
+
index$3_computeCompiledClassHashBlake as computeCompiledClassHashBlake,
|
|
12031
|
+
index$3_computeCompiledClassHashPoseidon as computeCompiledClassHashPoseidon,
|
|
12032
|
+
index$3_computeContractClassHash as computeContractClassHash,
|
|
12033
|
+
index$3_computeHashOnElements as computeHashOnElements,
|
|
12034
|
+
index$3_computeHintedClassHash as computeHintedClassHash,
|
|
12035
|
+
index$3_computeLegacyContractClassHash as computeLegacyContractClassHash,
|
|
12036
|
+
index$3_computePedersenHash as computePedersenHash,
|
|
12037
|
+
index$3_computePedersenHashOnElements as computePedersenHashOnElements,
|
|
12038
|
+
index$3_computePoseidonHash as computePoseidonHash,
|
|
12039
|
+
index$3_computePoseidonHashOnElements as computePoseidonHashOnElements,
|
|
12040
|
+
index$3_computeSierraContractClassHash as computeSierraContractClassHash,
|
|
12041
|
+
index$3_encodeBuiltins as encodeBuiltins,
|
|
12042
|
+
index$3_flattenEntryPointData as flattenEntryPointData,
|
|
12043
|
+
index$3_formatSpaces as formatSpaces,
|
|
12044
|
+
index$3_getL1MessageHash as getL1MessageHash,
|
|
12045
|
+
index$3_getL2MessageHash as getL2MessageHash,
|
|
12046
|
+
index$3_getSelector as getSelector,
|
|
12047
|
+
index$3_getSelectorFromName as getSelectorFromName,
|
|
12048
|
+
index$3_hashByteCodeSegments as hashByteCodeSegments,
|
|
12049
|
+
index$3_hashByteCodeSegmentsBlake as hashByteCodeSegmentsBlake,
|
|
12050
|
+
index$3_keccakBn as keccakBn,
|
|
12051
|
+
index$3_nullSkipReplacer as nullSkipReplacer,
|
|
12052
|
+
poseidon_js as poseidon,
|
|
12053
|
+
index$3_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256,
|
|
12054
|
+
index$3_starknetKeccak as starknetKeccak,
|
|
12055
|
+
};
|
|
11950
12056
|
}
|
|
11951
12057
|
|
|
11952
12058
|
/**
|
|
@@ -12001,7 +12107,17 @@ declare const v3_encodeResourceBoundsL2: typeof encodeResourceBoundsL2;
|
|
|
12001
12107
|
declare const v3_hashDAMode: typeof hashDAMode;
|
|
12002
12108
|
declare const v3_hashFeeFieldV3B3: typeof hashFeeFieldV3B3;
|
|
12003
12109
|
declare namespace v3 {
|
|
12004
|
-
export {
|
|
12110
|
+
export {
|
|
12111
|
+
v3_calculateDeclareTransactionHash as calculateDeclareTransactionHash,
|
|
12112
|
+
v3_calculateDeployAccountTransactionHash as calculateDeployAccountTransactionHash,
|
|
12113
|
+
v3_calculateInvokeTransactionHash as calculateInvokeTransactionHash,
|
|
12114
|
+
v3_calculateTransactionHashCommon as calculateTransactionHashCommon,
|
|
12115
|
+
v3_encodeDataResourceBoundsL1 as encodeDataResourceBoundsL1,
|
|
12116
|
+
v3_encodeResourceBoundsL1 as encodeResourceBoundsL1,
|
|
12117
|
+
v3_encodeResourceBoundsL2 as encodeResourceBoundsL2,
|
|
12118
|
+
v3_hashDAMode as hashDAMode,
|
|
12119
|
+
v3_hashFeeFieldV3B3 as hashFeeFieldV3B3,
|
|
12120
|
+
};
|
|
12005
12121
|
}
|
|
12006
12122
|
|
|
12007
12123
|
/**
|
|
@@ -12056,7 +12172,11 @@ declare const json_parse: typeof parse;
|
|
|
12056
12172
|
declare const json_parseAlwaysAsBig: typeof parseAlwaysAsBig;
|
|
12057
12173
|
declare const json_stringify: typeof stringify;
|
|
12058
12174
|
declare namespace json {
|
|
12059
|
-
export {
|
|
12175
|
+
export {
|
|
12176
|
+
json_parse as parse,
|
|
12177
|
+
json_parseAlwaysAsBig as parseAlwaysAsBig,
|
|
12178
|
+
json_stringify as stringify,
|
|
12179
|
+
};
|
|
12060
12180
|
}
|
|
12061
12181
|
|
|
12062
12182
|
/**
|
|
@@ -12414,7 +12534,32 @@ declare const num_toHexString: typeof toHexString;
|
|
|
12414
12534
|
declare const num_toStorageKey: typeof toStorageKey;
|
|
12415
12535
|
declare const num_tryToBigInt: typeof tryToBigInt;
|
|
12416
12536
|
declare namespace num {
|
|
12417
|
-
export {
|
|
12537
|
+
export {
|
|
12538
|
+
num_addPercent as addPercent,
|
|
12539
|
+
num_assertInRange as assertInRange,
|
|
12540
|
+
num_bigNumberishArrayToDecimalStringArray as bigNumberishArrayToDecimalStringArray,
|
|
12541
|
+
num_bigNumberishArrayToHexadecimalStringArray as bigNumberishArrayToHexadecimalStringArray,
|
|
12542
|
+
num_cleanHex as cleanHex,
|
|
12543
|
+
num_getDecimalString as getDecimalString,
|
|
12544
|
+
num_getHexString as getHexString,
|
|
12545
|
+
num_getHexStringArray as getHexStringArray,
|
|
12546
|
+
num_getNext as getNext,
|
|
12547
|
+
num_hexToBytes as hexToBytes,
|
|
12548
|
+
num_hexToDecimalString as hexToDecimalString,
|
|
12549
|
+
num_isBigNumberish as isBigNumberish,
|
|
12550
|
+
num_isEmptyHex as isEmptyHex,
|
|
12551
|
+
num_isHex as isHex,
|
|
12552
|
+
num_isHexString as isHexString,
|
|
12553
|
+
num_isStringWholeNumber as isStringWholeNumber,
|
|
12554
|
+
num_stringToSha256ToArrayBuff4 as stringToSha256ToArrayBuff4,
|
|
12555
|
+
num_toBigInt as toBigInt,
|
|
12556
|
+
num_toCairoBool as toCairoBool,
|
|
12557
|
+
num_toHex as toHex,
|
|
12558
|
+
num_toHex64 as toHex64,
|
|
12559
|
+
num_toHexString as toHexString,
|
|
12560
|
+
num_toStorageKey as toStorageKey,
|
|
12561
|
+
num_tryToBigInt as tryToBigInt,
|
|
12562
|
+
};
|
|
12418
12563
|
}
|
|
12419
12564
|
|
|
12420
12565
|
/**
|
|
@@ -12564,7 +12709,14 @@ declare const index$2_getExecuteCalldata: typeof getExecuteCalldata;
|
|
|
12564
12709
|
declare const index$2_getVersionsByType: typeof getVersionsByType;
|
|
12565
12710
|
declare const index$2_transformCallsToMulticallArrays: typeof transformCallsToMulticallArrays;
|
|
12566
12711
|
declare namespace index$2 {
|
|
12567
|
-
export {
|
|
12712
|
+
export {
|
|
12713
|
+
index$2_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata,
|
|
12714
|
+
index$2_fromCallsToExecuteCalldata_cairo1 as fromCallsToExecuteCalldata_cairo1,
|
|
12715
|
+
index$2_getCompiledCalldata as getCompiledCalldata,
|
|
12716
|
+
index$2_getExecuteCalldata as getExecuteCalldata,
|
|
12717
|
+
index$2_getVersionsByType as getVersionsByType,
|
|
12718
|
+
index$2_transformCallsToMulticallArrays as transformCallsToMulticallArrays,
|
|
12719
|
+
};
|
|
12568
12720
|
}
|
|
12569
12721
|
|
|
12570
12722
|
type V3Details = Required<Pick<UniversalDetails, 'tip' | 'paymasterData' | 'accountDeploymentData' | 'nonceDataAvailabilityMode' | 'feeDataAvailabilityMode' | 'resourceBounds'>> & Partial<Pick<UniversalDetails, 'proofFacts' | 'proof'>>;
|
|
@@ -12938,7 +13090,31 @@ declare const index$1_toTransactionVersion: typeof toTransactionVersion;
|
|
|
12938
13090
|
declare const index$1_v3Details: typeof v3Details;
|
|
12939
13091
|
declare const index$1_zeroResourceBounds: typeof zeroResourceBounds;
|
|
12940
13092
|
declare namespace index$1 {
|
|
12941
|
-
export {
|
|
13093
|
+
export {
|
|
13094
|
+
index$1_ZeroFeeEstimate as ZeroFeeEstimate,
|
|
13095
|
+
index$1_compressProgram as compressProgram,
|
|
13096
|
+
index$1_decodeProof as decodeProof,
|
|
13097
|
+
index$1_decompressProgram as decompressProgram,
|
|
13098
|
+
index$1_encodeProof as encodeProof,
|
|
13099
|
+
index$1_formatSignature as formatSignature,
|
|
13100
|
+
index$1_getFullPublicKey as getFullPublicKey,
|
|
13101
|
+
index$1_getSharedSecret as getSharedSecret,
|
|
13102
|
+
index$1_intDAM as intDAM,
|
|
13103
|
+
index$1_randomAddress as randomAddress,
|
|
13104
|
+
index$1_randomFelt as randomFelt,
|
|
13105
|
+
index$1_randomStarkPrivateKey as randomStarkPrivateKey,
|
|
13106
|
+
index$1_resourceBoundsToBigInt as resourceBoundsToBigInt,
|
|
13107
|
+
index$1_resourceBoundsToEstimateFeeResponse as resourceBoundsToEstimateFeeResponse,
|
|
13108
|
+
index$1_resourceBoundsToHexString as resourceBoundsToHexString,
|
|
13109
|
+
index$1_signatureToDecimalArray as signatureToDecimalArray,
|
|
13110
|
+
index$1_signatureToHexArray as signatureToHexArray,
|
|
13111
|
+
index$1_toFeeVersion as toFeeVersion,
|
|
13112
|
+
index$1_toOverheadOverallFee as toOverheadOverallFee,
|
|
13113
|
+
index$1_toOverheadResourceBounds as toOverheadResourceBounds,
|
|
13114
|
+
index$1_toTransactionVersion as toTransactionVersion,
|
|
13115
|
+
index$1_v3Details as v3Details,
|
|
13116
|
+
index$1_zeroResourceBounds as zeroResourceBounds,
|
|
13117
|
+
};
|
|
12942
13118
|
}
|
|
12943
13119
|
|
|
12944
13120
|
/**
|
|
@@ -12966,7 +13142,10 @@ declare function validateAndParseEthAddress(address: BigNumberish): string;
|
|
|
12966
13142
|
declare const eth_ethRandomPrivateKey: typeof ethRandomPrivateKey;
|
|
12967
13143
|
declare const eth_validateAndParseEthAddress: typeof validateAndParseEthAddress;
|
|
12968
13144
|
declare namespace eth {
|
|
12969
|
-
export {
|
|
13145
|
+
export {
|
|
13146
|
+
eth_ethRandomPrivateKey as ethRandomPrivateKey,
|
|
13147
|
+
eth_validateAndParseEthAddress as validateAndParseEthAddress,
|
|
13148
|
+
};
|
|
12970
13149
|
}
|
|
12971
13150
|
|
|
12972
13151
|
declare class MerkleTree {
|
|
@@ -13060,7 +13239,10 @@ type merkle_MerkleTree = MerkleTree;
|
|
|
13060
13239
|
declare const merkle_MerkleTree: typeof MerkleTree;
|
|
13061
13240
|
declare const merkle_proofMerklePath: typeof proofMerklePath;
|
|
13062
13241
|
declare namespace merkle {
|
|
13063
|
-
export {
|
|
13242
|
+
export {
|
|
13243
|
+
merkle_MerkleTree as MerkleTree,
|
|
13244
|
+
merkle_proofMerklePath as proofMerklePath,
|
|
13245
|
+
};
|
|
13064
13246
|
}
|
|
13065
13247
|
|
|
13066
13248
|
/**
|
|
@@ -13107,7 +13289,11 @@ declare const uint256_bnToUint256: typeof bnToUint256;
|
|
|
13107
13289
|
declare const uint256_isUint256: typeof isUint256;
|
|
13108
13290
|
declare const uint256_uint256ToBN: typeof uint256ToBN;
|
|
13109
13291
|
declare namespace uint256 {
|
|
13110
|
-
export {
|
|
13292
|
+
export {
|
|
13293
|
+
uint256_bnToUint256 as bnToUint256,
|
|
13294
|
+
uint256_isUint256 as isUint256,
|
|
13295
|
+
uint256_uint256ToBN as uint256ToBN,
|
|
13296
|
+
};
|
|
13111
13297
|
}
|
|
13112
13298
|
|
|
13113
13299
|
/**
|
|
@@ -13202,7 +13388,15 @@ declare const shortString_isShortText: typeof isShortText;
|
|
|
13202
13388
|
declare const shortString_isText: typeof isText;
|
|
13203
13389
|
declare const shortString_splitLongString: typeof splitLongString;
|
|
13204
13390
|
declare namespace shortString {
|
|
13205
|
-
export {
|
|
13391
|
+
export {
|
|
13392
|
+
shortString_isASCII as isASCII,
|
|
13393
|
+
shortString_isDecimalString as isDecimalString,
|
|
13394
|
+
shortString_isLongText as isLongText,
|
|
13395
|
+
shortString_isShortString as isShortString,
|
|
13396
|
+
shortString_isShortText as isShortText,
|
|
13397
|
+
shortString_isText as isText,
|
|
13398
|
+
shortString_splitLongString as splitLongString,
|
|
13399
|
+
};
|
|
13206
13400
|
}
|
|
13207
13401
|
|
|
13208
13402
|
interface Context {
|
|
@@ -13465,7 +13659,19 @@ declare const typedData_prepareSelector: typeof prepareSelector;
|
|
|
13465
13659
|
declare const typedData_validateTypedData: typeof validateTypedData;
|
|
13466
13660
|
declare const typedData_verifyMessage: typeof verifyMessage;
|
|
13467
13661
|
declare namespace typedData {
|
|
13468
|
-
export {
|
|
13662
|
+
export {
|
|
13663
|
+
typedData_encodeData as encodeData,
|
|
13664
|
+
typedData_encodeType as encodeType,
|
|
13665
|
+
typedData_encodeValue as encodeValue,
|
|
13666
|
+
typedData_getDependencies as getDependencies,
|
|
13667
|
+
typedData_getMessageHash as getMessageHash,
|
|
13668
|
+
typedData_getStructHash as getStructHash,
|
|
13669
|
+
typedData_getTypeHash as getTypeHash,
|
|
13670
|
+
typedData_isMerkleTreeType as isMerkleTreeType,
|
|
13671
|
+
typedData_prepareSelector as prepareSelector,
|
|
13672
|
+
typedData_validateTypedData as validateTypedData,
|
|
13673
|
+
typedData_verifyMessage as verifyMessage,
|
|
13674
|
+
};
|
|
13469
13675
|
}
|
|
13470
13676
|
|
|
13471
13677
|
/**
|
|
@@ -13690,7 +13896,26 @@ declare const starknetId_isStarkDomain: typeof isStarkDomain;
|
|
|
13690
13896
|
declare const starknetId_useDecoded: typeof useDecoded;
|
|
13691
13897
|
declare const starknetId_useEncoded: typeof useEncoded;
|
|
13692
13898
|
declare namespace starknetId {
|
|
13693
|
-
export {
|
|
13899
|
+
export {
|
|
13900
|
+
starknetId_StarknetIdContract as StarknetIdContract,
|
|
13901
|
+
starknetId_StarknetIdIdentityContract as StarknetIdIdentityContract,
|
|
13902
|
+
starknetId_StarknetIdMulticallContract as StarknetIdMulticallContract,
|
|
13903
|
+
starknetId_StarknetIdPfpContract as StarknetIdPfpContract,
|
|
13904
|
+
starknetId_StarknetIdPopContract as StarknetIdPopContract,
|
|
13905
|
+
starknetId_StarknetIdVerifierContract as StarknetIdVerifierContract,
|
|
13906
|
+
starknetId_dynamicCallData as dynamicCallData,
|
|
13907
|
+
starknetId_dynamicFelt as dynamicFelt,
|
|
13908
|
+
starknetId_execution as execution,
|
|
13909
|
+
starknetId_getStarknetIdContract as getStarknetIdContract,
|
|
13910
|
+
starknetId_getStarknetIdIdentityContract as getStarknetIdIdentityContract,
|
|
13911
|
+
starknetId_getStarknetIdMulticallContract as getStarknetIdMulticallContract,
|
|
13912
|
+
starknetId_getStarknetIdPfpContract as getStarknetIdPfpContract,
|
|
13913
|
+
starknetId_getStarknetIdPopContract as getStarknetIdPopContract,
|
|
13914
|
+
starknetId_getStarknetIdVerifierContract as getStarknetIdVerifierContract,
|
|
13915
|
+
starknetId_isStarkDomain as isStarkDomain,
|
|
13916
|
+
starknetId_useDecoded as useDecoded,
|
|
13917
|
+
starknetId_useEncoded as useEncoded,
|
|
13918
|
+
};
|
|
13694
13919
|
}
|
|
13695
13920
|
|
|
13696
13921
|
/**
|
|
@@ -13744,7 +13969,11 @@ declare const utils_assertCallsAreStrictlyEqual: typeof assertCallsAreStrictlyEq
|
|
|
13744
13969
|
declare const utils_assertPaymasterTransactionSafety: typeof assertPaymasterTransactionSafety;
|
|
13745
13970
|
declare const utils_getDefaultPaymasterNodeUrl: typeof getDefaultPaymasterNodeUrl;
|
|
13746
13971
|
declare namespace utils {
|
|
13747
|
-
export {
|
|
13972
|
+
export {
|
|
13973
|
+
utils_assertCallsAreStrictlyEqual as assertCallsAreStrictlyEqual,
|
|
13974
|
+
utils_assertPaymasterTransactionSafety as assertPaymasterTransactionSafety,
|
|
13975
|
+
utils_getDefaultPaymasterNodeUrl as getDefaultPaymasterNodeUrl,
|
|
13976
|
+
};
|
|
13748
13977
|
}
|
|
13749
13978
|
|
|
13750
13979
|
/**
|
|
@@ -13835,7 +14064,7 @@ declare function getDefaultNodes(rpcVersion: _SupportedRpcVersion): {
|
|
|
13835
14064
|
* @returns {SupportedRpcVersion[]} available RPC versions
|
|
13836
14065
|
*/
|
|
13837
14066
|
declare function getSupportedRpcVersions(): _SupportedRpcVersion[];
|
|
13838
|
-
declare const validBlockTags: ("
|
|
14067
|
+
declare const validBlockTags: ("latest" | "pre_confirmed" | "l1_accepted")[];
|
|
13839
14068
|
/**
|
|
13840
14069
|
* This class is formatting the identifier of a block.
|
|
13841
14070
|
*
|
|
@@ -13918,7 +14147,17 @@ declare const provider_parseContract: typeof parseContract;
|
|
|
13918
14147
|
declare const provider_validBlockTags: typeof validBlockTags;
|
|
13919
14148
|
declare const provider_wait: typeof wait;
|
|
13920
14149
|
declare namespace provider {
|
|
13921
|
-
export {
|
|
14150
|
+
export {
|
|
14151
|
+
provider_Block as Block,
|
|
14152
|
+
provider_createSierraContractClass as createSierraContractClass,
|
|
14153
|
+
provider_extractAbi as extractAbi,
|
|
14154
|
+
provider_getDefaultNodeUrl as getDefaultNodeUrl,
|
|
14155
|
+
provider_getDefaultNodes as getDefaultNodes,
|
|
14156
|
+
provider_getSupportedRpcVersions as getSupportedRpcVersions,
|
|
14157
|
+
provider_parseContract as parseContract,
|
|
14158
|
+
provider_validBlockTags as validBlockTags,
|
|
14159
|
+
provider_wait as wait,
|
|
14160
|
+
};
|
|
13922
14161
|
}
|
|
13923
14162
|
|
|
13924
14163
|
/**
|
|
@@ -14029,7 +14268,14 @@ declare const index_getEmittedEvents: typeof getEmittedEvents;
|
|
|
14029
14268
|
declare const index_isAbiEvent: typeof isAbiEvent;
|
|
14030
14269
|
declare const index_parseEvents: typeof parseEvents;
|
|
14031
14270
|
declare namespace index {
|
|
14032
|
-
export {
|
|
14271
|
+
export {
|
|
14272
|
+
index_addGetByPathMethod as addGetByPathMethod,
|
|
14273
|
+
index_filterEventsByAddress as filterEventsByAddress,
|
|
14274
|
+
index_getAbiEvents as getAbiEvents,
|
|
14275
|
+
index_getEmittedEvents as getEmittedEvents,
|
|
14276
|
+
index_isAbiEvent as isAbiEvent,
|
|
14277
|
+
index_parseEvents as parseEvents,
|
|
14278
|
+
};
|
|
14033
14279
|
}
|
|
14034
14280
|
|
|
14035
14281
|
declare function toOutsideCallV2(call: OutsideCallV1 | OutsideCallV2): OutsideCallV2;
|
|
@@ -14148,7 +14394,13 @@ declare const outsideExecution_getOutsideCall: typeof getOutsideCall;
|
|
|
14148
14394
|
declare const outsideExecution_getTypedData: typeof getTypedData;
|
|
14149
14395
|
declare const outsideExecution_toOutsideCallV2: typeof toOutsideCallV2;
|
|
14150
14396
|
declare namespace outsideExecution {
|
|
14151
|
-
export {
|
|
14397
|
+
export {
|
|
14398
|
+
outsideExecution_buildExecuteFromOutsideCall as buildExecuteFromOutsideCall,
|
|
14399
|
+
outsideExecution_buildExecuteFromOutsideCallData as buildExecuteFromOutsideCallData,
|
|
14400
|
+
outsideExecution_getOutsideCall as getOutsideCall,
|
|
14401
|
+
outsideExecution_getTypedData as getTypedData,
|
|
14402
|
+
outsideExecution_toOutsideCallV2 as toOutsideCallV2,
|
|
14403
|
+
};
|
|
14152
14404
|
}
|
|
14153
14405
|
|
|
14154
14406
|
/**
|
|
@@ -14169,7 +14421,9 @@ declare function supportsInterface(provider: RpcProvider, contractAddress: BigNu
|
|
|
14169
14421
|
|
|
14170
14422
|
declare const src5_supportsInterface: typeof supportsInterface;
|
|
14171
14423
|
declare namespace src5 {
|
|
14172
|
-
export {
|
|
14424
|
+
export {
|
|
14425
|
+
src5_supportsInterface as supportsInterface,
|
|
14426
|
+
};
|
|
14173
14427
|
}
|
|
14174
14428
|
|
|
14175
14429
|
/**
|
|
@@ -18391,7 +18645,22 @@ declare function onNetworkChanged(swo: StarknetWindowObject, callback: NetworkCh
|
|
|
18391
18645
|
declare const connect_onAccountChange: typeof onAccountChange;
|
|
18392
18646
|
declare const connect_onNetworkChanged: typeof onNetworkChanged;
|
|
18393
18647
|
declare namespace connect {
|
|
18394
|
-
export {
|
|
18648
|
+
export {
|
|
18649
|
+
addDeclareTransaction$2 as addDeclareTransaction,
|
|
18650
|
+
addInvokeTransaction$2 as addInvokeTransaction,
|
|
18651
|
+
addStarknetChain$2 as addStarknetChain,
|
|
18652
|
+
deploymentData$2 as deploymentData,
|
|
18653
|
+
getPermissions$2 as getPermissions,
|
|
18654
|
+
connect_onAccountChange as onAccountChange,
|
|
18655
|
+
connect_onNetworkChanged as onNetworkChanged,
|
|
18656
|
+
requestAccounts$2 as requestAccounts,
|
|
18657
|
+
requestChainId$2 as requestChainId,
|
|
18658
|
+
signMessage$2 as signMessage,
|
|
18659
|
+
supportedSpecs$2 as supportedSpecs,
|
|
18660
|
+
supportedWalletApi$2 as supportedWalletApi,
|
|
18661
|
+
switchStarknetChain$2 as switchStarknetChain,
|
|
18662
|
+
watchAsset$2 as watchAsset,
|
|
18663
|
+
};
|
|
18395
18664
|
}
|
|
18396
18665
|
|
|
18397
18666
|
/**
|
|
@@ -18496,7 +18765,22 @@ declare function supportedWalletApi$1(walletWSF: WalletWithStarknetFeatures): Pr
|
|
|
18496
18765
|
declare function subscribeWalletEvent$1(walletWSF: WalletWithStarknetFeatures, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
|
|
18497
18766
|
|
|
18498
18767
|
declare namespace connectV5 {
|
|
18499
|
-
export {
|
|
18768
|
+
export {
|
|
18769
|
+
addDeclareTransaction$1 as addDeclareTransaction,
|
|
18770
|
+
addInvokeTransaction$1 as addInvokeTransaction,
|
|
18771
|
+
addStarknetChain$1 as addStarknetChain,
|
|
18772
|
+
deploymentData$1 as deploymentData,
|
|
18773
|
+
getPermissions$1 as getPermissions,
|
|
18774
|
+
requestAccounts$1 as requestAccounts,
|
|
18775
|
+
requestChainId$1 as requestChainId,
|
|
18776
|
+
signMessage$1 as signMessage,
|
|
18777
|
+
standardConnect$1 as standardConnect,
|
|
18778
|
+
subscribeWalletEvent$1 as subscribeWalletEvent,
|
|
18779
|
+
supportedSpecs$1 as supportedSpecs,
|
|
18780
|
+
supportedWalletApi$1 as supportedWalletApi,
|
|
18781
|
+
switchStarknetChain$1 as switchStarknetChain,
|
|
18782
|
+
watchAsset$1 as watchAsset,
|
|
18783
|
+
};
|
|
18500
18784
|
}
|
|
18501
18785
|
|
|
18502
18786
|
/**
|
|
@@ -18586,7 +18870,26 @@ declare const connectV6_supportedWalletApi: typeof supportedWalletApi;
|
|
|
18586
18870
|
declare const connectV6_switchStarknetChain: typeof switchStarknetChain;
|
|
18587
18871
|
declare const connectV6_watchAsset: typeof watchAsset;
|
|
18588
18872
|
declare namespace connectV6 {
|
|
18589
|
-
export {
|
|
18873
|
+
export {
|
|
18874
|
+
connectV6_addDeclareTransaction as addDeclareTransaction,
|
|
18875
|
+
connectV6_addInvokeTransaction as addInvokeTransaction,
|
|
18876
|
+
connectV6_addStarknetChain as addStarknetChain,
|
|
18877
|
+
connectV6_deploymentData as deploymentData,
|
|
18878
|
+
connectV6_getPermissions as getPermissions,
|
|
18879
|
+
connectV6_requestAccounts as requestAccounts,
|
|
18880
|
+
connectV6_requestChainId as requestChainId,
|
|
18881
|
+
connectV6_signMessage as signMessage,
|
|
18882
|
+
connectV6_standardConnect as standardConnect,
|
|
18883
|
+
connectV6_strk20Balances as strk20Balances,
|
|
18884
|
+
connectV6_strk20InvokeTransaction as strk20InvokeTransaction,
|
|
18885
|
+
connectV6_strk20PrepareInvoke as strk20PrepareInvoke,
|
|
18886
|
+
connectV6_strk20ShadowAccountCommitment as strk20ShadowAccountCommitment,
|
|
18887
|
+
connectV6_subscribeWalletEvent as subscribeWalletEvent,
|
|
18888
|
+
connectV6_supportedSpecs as supportedSpecs,
|
|
18889
|
+
connectV6_supportedWalletApi as supportedWalletApi,
|
|
18890
|
+
connectV6_switchStarknetChain as switchStarknetChain,
|
|
18891
|
+
connectV6_watchAsset as watchAsset,
|
|
18892
|
+
};
|
|
18590
18893
|
}
|
|
18591
18894
|
|
|
18592
18895
|
type DefaultConfig = typeof DEFAULT_GLOBAL_CONFIG;
|
|
@@ -18690,4 +18993,5 @@ declare class Logger {
|
|
|
18690
18993
|
*/
|
|
18691
18994
|
declare const logger: Logger;
|
|
18692
18995
|
|
|
18693
|
-
export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser0, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, CairoArray, type CairoAssembly, CairoBool, CairoByteArray, CairoBytes31, CairoClassHash, type CairoContract, CairoContractAddress, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, CairoEthAddress, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoNonZero, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoStorageAddress, CairoStruct, CairoTuple, type CairoType, CairoTypeCustomEnum, CairoTypeOption, CairoTypeResult, type CairoTypeStrategy, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, HttpTransport, type HttpTransportOptions, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterAccountMethods, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$8 as RPC, index$6 as RPC0102, index$5 as RPC0103, index$4 as RPC0104, index$7 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, type ReconnectOptions, ReconnectingWsTransport, type ReconnectingWsTransportOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, type RpcNotification, RpcProvider, type RpcProviderOptions, type RpcTransport, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type Secp256k1PointStruct, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionOwner, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, type VariantType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, WebSocketProvider, type WebSocketProviderOptions, type WeierstrassSignatureType, type WithOptions, WsTransport, type WsTransportOptions, type WsTransportState, addAddressPadding, brotherId, byteArray, cairo, cairoTypeStrategy, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, enumStrategy, eth, index as events, extractContractHashes, fastCairoTypeStrategy, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isCairoType, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, utils as paymaster, paymasterPlugin, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, structStrategy, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|
|
18996
|
+
export { AbiParser0, AbiParser1, AbiParser2, AbiParserInterface, Account, AccountInterface, BatchClient, BlockStatus, BlockTag, BrotherIdImpl, CairoArray, CairoBool, CairoByteArray, CairoBytes31, CairoClassHash, CairoContractAddress, CairoCustomEnum, CairoEthAddress, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoNonZero, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoStorageAddress, CairoStruct, CairoTuple, CairoTypeCustomEnum, CairoTypeOption, CairoTypeResult, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, CallData, Contract, ContractInterface, Deployer, DeployerInterface, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion3, ETxnResponseFlag, EntryPointType, EthSigner, HttpTransport, Int, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, LibraryError, Literal, LogLevelIndex, NON_ZERO_PREFIX, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, PaymasterInterface, PaymasterRpc, PluginManager, Provider, ProviderInterface, index$8 as RPC, index$6 as RPC0102, index$5 as RPC0103, index$4 as RPC0104, index$7 as RPC09, RPCResponseParser, ReconnectingWsTransport, ResponseParser, RpcChannel, RpcError, RpcProvider, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, Signer, SignerInterface, StarknetIdImpl, Subscription, TimeoutError, TransactionExecutionStatus, TransactionFinalityStatus, TransactionType, 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, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, WebSocketNotConnectedError, WebSocketProvider, WsTransport, addAddressPadding, brotherId, byteArray, cairo, cairoTypeStrategy, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, enumStrategy, eth, index as events, extractContractHashes, fastCairoTypeStrategy, fastExecute, fastParsingStrategy, getAbiVersion, getChecksumAddress, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isCairoType, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, utils as paymaster, paymasterPlugin, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, structStrategy, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|
|
18997
|
+
export type { Abi, AbiEntry, AbiEntryType, AbiEnum, AbiEnums, AbiEvent, AbiEvents, AbiInterfaces, AbiStruct, AbiStructs, AccountHooks, AccountInvocationItem, AccountInvocations, AccountInvocationsFactoryDetails, AccountOptions, AllowArray, ApiEstimateFeeResponse, Args, ArgsOrCalldata, ArraySignatureType, AsyncContractFunction, BLOCK_HASH, BLOCK_NUMBER, BatchClientOptions, BigNumberish, Block$1 as Block, BlockIdentifier, BlockNumber, BlockTransactionTrace, BlockTransactionsTracesWithInitialReads, BlockWithTxHashes, BrotherIdProviderMethods, BrotherProfile, Builtins, ByteArray, ByteCode, CairoAssembly, CairoContract, CairoEnum, CairoEnumRaw, CairoEvent, CairoEventDefinition, CairoEventVariant, CairoType, CairoTypeStrategy, CairoVersion, Call, CallContractResponse, CallDetails, CallOptions, CallResult, Calldata, CommonContractOptions, CompiledContract, CompiledSierra, CompiledSierraCasm, CompilerVersion, CompleteDeclareContractPayload, CompressedProgram, ContractClass, ContractClassIdentifier, ContractClassPayload, ContractClassResponse, ContractEntryPointFields, ContractFunction, ContractOptions, ContractVersion, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclaredTransaction, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployAccountTransactionReceiptResponse, DeployAndInvokeTransaction, DeployContractResponse, DeployContractUDCResponse, DeployTransaction, DeployTransactionReceiptResponse, DeployedAccountTransaction, DeployerCall, EVENTS_CHUNK, EmittedEvent, EntryPointsByType, ErrorReceiptResponseHelper, EstimateFeeBulk, EstimateFeeResponseBulkOverhead, EstimateFeeResponseOverhead, Event$1 as Event, EventEntry, EventFilter, ExecutableDeployAndInvokeTransaction, ExecutableDeployTransaction, ExecutableInvokeTransaction, ExecutableUserInvoke, ExecutableUserTransaction, ExecuteOptions, ExecutionParameters, FEE_ESTIMATE, FELT, FactoryParams, FastExecuteAccountMethods, FastExecuteProviderMethods, FastExecuteResponse, FastWaitForTransactionOptions, FeeEstimate, FeeMode, FormatResponse, FunctionAbi, GasPrices, GetBlockResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTxReceiptResponseWithoutHelper, HexCalldata, Hint, HttpTransportOptions, INITIAL_READS, InterfaceAbi, Invocation, Invocations, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeTransaction, InvokeTransactionReceiptResponse, InvokedTransaction, L1HandlerTransactionReceiptResponse, L1_HANDLER_TXN, LedgerPathCalculation, LegacyCompiledContract, LegacyContractClass, LegacyEvent, LoadedContract, LogLevel, Methods, MultiDeployContractResponse, MultiType, Nonce, OptionalPayload, OutsideCall, OutsideExecution, OutsideExecutionOptions, OutsideTransaction, PRE_CONFIRMED_STATE_UPDATE, PRICE_UNIT, ParsedEvent, ParsedEvents, ParsedStruct, ParsingStrategy, PaymasterAccountMethods, PaymasterDetails, PaymasterFeeEstimate, PaymasterOptions, PaymasterRpcOptions, PaymasterTimeBounds, PluginConfig, PreConfirmedBlock, PreConfirmedStateUpdate, PreparedDeployAndInvokeTransaction, PreparedDeployTransaction, PreparedInvokeTransaction, PreparedTransaction, Program, ProviderHooks, ProviderOptions, ProviderOrAccount, PythonicHints, RESOURCE_PRICE, RPC_ERROR, RPC_ERROR_SET, RawArgs, RawArgsArray, RawArgsObject, RawCalldata, Receipt, ReconnectOptions, ReconnectingWsTransportOptions, RequiredKeysOf, ResourceBounds, ResourceBoundsBN, ResourceBoundsOverhead, RevertedTransactionReceiptResponse, RevertedTransactionReceiptResponseHelper, RpcNotification, RpcProviderOptions, RpcTransport, SIMULATION_FLAG, STATE_UPDATE, STRK20_ACTION, STRK20_CALL_AND_PROOF, STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, Secp256k1PointStruct, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Simplify, SimulateTransaction, SimulateTransactionDetails, SimulateTransactionOverhead, SimulateTransactionOverheadResponse, SimulateTransactionResponse, SimulationFlags, StarkProfile, StarknetIdAccountMethods, StarknetIdProviderMethods, StarknetPlugin, StateUpdate, StateUpdateResponse, StorageResponse, SubscribeEventsParams, SubscribeNewHeadsParams, SubscribeNewTransactionReceiptsParams, SubscribeNewTransactionsParams, SubscribeTransactionStatusParams, SubscriptionBlockIdentifier, SubscriptionNewHeadsEvent, SubscriptionNewTransactionEvent, SubscriptionNewTransactionReceiptsEvent, SubscriptionOptions, SubscriptionOwner, SubscriptionStarknetEventsEvent, SubscriptionTransactionStatusEvent, SuccessfulTransactionReceiptResponse, SuccessfulTransactionReceiptResponseHelper, TXN_EXECUTION_STATUS, TXN_HASH, TXN_STATUS, TipAnalysisOptions, TipEstimate, TipType, TokenData, TransactionReceipt, TransactionReceiptCallbacks, TransactionReceiptCallbacksDefault, TransactionReceiptCallbacksDefined, TransactionReceiptStatus, TransactionReceiptValue, TransactionStatus, TransactionStatusReceiptSets, TransactionTrace, TransactionWithHash, Tupled, TypedContractV2, Uint256, Uint512, UniversalDeployerContractPayload, UniversalDetails, UserInvoke, UserTransaction, V3DeclareSignerDetails, V3DeployAccountSignerDetails, V3InvocationsSignerDetails, V3TransactionDetails, VariantType, WebSocketModule, WebSocketOptions, WebSocketProviderOptions, WeierstrassSignatureType, WithOptions, WsTransportOptions, WsTransportState, getBlockTransactionsTracesOptions, getContractVersionOptions, getEstimateFeeBulkOptions, getSimulateTransactionOptions, waitForTransactionOptions };
|