voltaire-effect 0.3.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{X25519Test-D5Q-5fL9.d.ts → X25519Test-avt1DUgp.d.ts} +231 -6
- package/dist/crypto/index.d.ts +2 -2
- package/dist/crypto/index.js +72 -2
- package/dist/{index-3UKSP3cd.d.ts → index-DxwZo3xo.d.ts} +7781 -5513
- package/dist/index.d.ts +990 -3096
- package/dist/index.js +2374 -1652
- package/dist/native/index.d.ts +6 -6
- package/dist/native/index.js +2399 -1677
- package/dist/primitives/index.d.ts +7 -6
- package/dist/primitives/index.js +2966 -2361
- package/dist/services/index.d.ts +1631 -1255
- package/dist/services/index.js +4493 -3977
- package/package.json +7 -3
- package/src/crypto/Signers/SignersService.ts +1 -1
- package/src/crypto/Signers/errors.ts +29 -0
- package/src/crypto/Signers/index.ts +1 -0
- package/src/crypto/Signers/operations.ts +26 -8
- package/src/crypto/index.ts +10 -11
- package/src/index.ts +1 -2
- package/src/jsonrpc/Anvil.ts +13 -8
- package/src/jsonrpc/Eth.ts +13 -8
- package/src/jsonrpc/Hardhat.ts +13 -8
- package/src/jsonrpc/IdCounter.ts +21 -5
- package/src/jsonrpc/JsonRpc.test.ts +126 -61
- package/src/jsonrpc/Net.ts +13 -8
- package/src/jsonrpc/Request.ts +16 -8
- package/src/jsonrpc/Txpool.ts +13 -8
- package/src/jsonrpc/Wallet.ts +13 -8
- package/src/jsonrpc/Web3.ts +13 -8
- package/src/jsonrpc/index.ts +1 -1
- package/src/primitives/Abi/AbiSchema.ts +3 -4
- package/src/primitives/Abi/fromBytecode.test.ts +47 -0
- package/src/primitives/Abi/fromBytecode.ts +81 -0
- package/src/primitives/Abi/index.ts +3 -0
- package/src/primitives/AccessList/from.ts +12 -9
- package/src/primitives/Address/Checksummed.ts +21 -27
- package/src/primitives/Address/from.ts +12 -15
- package/src/primitives/Address/toHex.ts +2 -1
- package/src/primitives/Base64/from.ts +21 -4
- package/src/primitives/Blob/from.ts +12 -4
- package/src/primitives/BlockHash/index.ts +2 -2
- package/src/primitives/BlockNumber/index.ts +3 -3
- package/src/primitives/Bytecode/from.ts +11 -2
- package/src/primitives/ContractSignature/verifySignature.ts +3 -5
- package/src/primitives/Ens/from.ts +12 -11
- package/src/primitives/Hex/from.ts +12 -4
- package/src/primitives/Signature/from.ts +11 -2
- package/src/primitives/Transaction/EIP2930/index.ts +12 -12
- package/src/primitives/Transaction/EIP4844/index.ts +14 -14
- package/src/primitives/Transaction/EIP7702/index.ts +13 -13
- package/src/primitives/Transaction/Legacy/index.ts +13 -13
- package/src/primitives/TransactionHash/index.ts +3 -2
- package/src/primitives/TransactionIndex/index.ts +2 -2
- package/src/primitives/Trie/Trie.test.ts +70 -0
- package/src/primitives/Trie/TrieSchema.ts +26 -0
- package/src/primitives/Trie/clear.ts +16 -0
- package/src/primitives/Trie/del.ts +18 -0
- package/src/primitives/Trie/get.ts +18 -0
- package/src/primitives/Trie/index.ts +30 -0
- package/src/primitives/Trie/init.ts +13 -0
- package/src/primitives/Trie/prove.ts +19 -0
- package/src/primitives/Trie/put.ts +20 -0
- package/src/primitives/Trie/rootHash.ts +14 -0
- package/src/primitives/Trie/verify.ts +18 -0
- package/src/primitives/Uint/from.ts +11 -2
- package/src/primitives/Uint16/index.ts +5 -4
- package/src/primitives/Uint64/index.ts +5 -4
- package/src/primitives/Uint8/index.ts +5 -4
- package/src/primitives/index.ts +3 -2
- package/src/services/BlockExplorerApi/BlockExplorerApi.test.ts +789 -0
- package/src/services/BlockExplorerApi/BlockExplorerApi.ts +797 -0
- package/src/services/BlockExplorerApi/BlockExplorerApiErrors.ts +176 -0
- package/src/services/BlockExplorerApi/BlockExplorerApiService.ts +60 -0
- package/src/services/BlockExplorerApi/BlockExplorerApiTypes.ts +225 -0
- package/src/services/BlockExplorerApi/index.ts +42 -0
- package/src/services/Contract/Contract.test.ts +2 -6
- package/src/services/Contract/ContractTypes.ts +26 -8
- package/src/services/Contract/estimateGas.test.ts +4 -7
- package/src/services/Provider/actions/multicall.ts +28 -9
- package/src/services/Provider/actions/readContract.test.ts +8 -11
- package/src/services/Provider/actions/readContract.ts +28 -9
- package/src/services/Provider/functions/getBlock.ts +2 -1
- package/src/services/Provider/functions/getBlockReceipts.ts +2 -1
- package/src/services/Provider/functions/getBlockTransactionCount.ts +2 -1
- package/src/services/Provider/functions/getUncle.ts +2 -1
- package/src/services/Provider/functions/getUncleCount.ts +2 -1
- package/src/services/Signer/actions/deployContract.ts +1 -1
- package/src/services/index.ts +25 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AddressType as AddressType$3 } from '@tevm/voltaire/Address';
|
|
2
2
|
export { AddressType, BrandedAddress } from '@tevm/voltaire/Address';
|
|
3
|
-
import { HexType } from '@tevm/voltaire/Hex';
|
|
4
3
|
export { Hex as HexBrand, HexType, Sized } from '@tevm/voltaire/Hex';
|
|
5
4
|
export { HashType } from '@tevm/voltaire/Hash';
|
|
6
5
|
export { AbstractError, CryptoError, DecodingError, EncodingError, IntegerOverflowError, IntegerUnderflowError, InvalidChecksumError, InvalidFormatError, InvalidLengthError, InvalidPrivateKeyError, InvalidPublicKeyError, InvalidRangeError, InvalidSignatureError, InvalidSignerError, InvalidSizeError, InvalidTransactionTypeError, PrimitiveError, SerializationError, TransactionError, ValidationError } from '@tevm/voltaire/errors';
|
|
@@ -13,14 +12,14 @@ import * as S from 'effect/Schema';
|
|
|
13
12
|
import { b as KeccakLive, K as KeccakService, d as KeccakServiceShape, c as KeccakTest, P as ProviderService } from './ProviderService-BZ5pqDrD.js';
|
|
14
13
|
export { a as ProviderShape, T as TransportError } from './ProviderService-BZ5pqDrD.js';
|
|
15
14
|
import { I as InvalidPrivateKeyError, a as InvalidPublicKeyError, b as InvalidRecoveryIdError, c as InvalidSignatureError, d as Secp256k1Error, e as Secp256k1Errors, S as Secp256k1Service, f as Secp256k1ServiceShape, g as SignOptions, m as mapToSecp256k1Error } from './Secp256k1Service-OxQ6hJFp.js';
|
|
16
|
-
import { aN as hash,
|
|
17
|
-
export { i as AesGcm, f as CryptoLive, g as CryptoTest } from './X25519Test-
|
|
18
|
-
import {
|
|
19
|
-
export { i as
|
|
15
|
+
import { aN as hash, bv as Secp256k1Live, bw as Secp256k1Test, bu as recover, bx as sign, by as verify, ae as EIP712Live, E as EIP712Service, af as EIP712ServiceShape, ag as EIP712Test, ah as hashDomain, ai as hashStruct, aj as hashTypedData, ak as recoverAddress, al as signTypedData, am as verifyTypedData, h as SignatureInput, s as Bip39Live, B as Bip39Service, t as Bip39ServiceShape, u as Bip39Test, bz as MnemonicStrength, bA as WORD_COUNTS, v as generateMnemonic, w as getWordCount, x as mnemonicToSeed, y as mnemonicToSeedSync, z as validateMnemonic, D as Blake2Live, a as Blake2Service, F as Blake2Test, G as hash$1, J as Bls12381Live, b as Bls12381Service, L as Bls12381ServiceShape, I as aggregate, M as sign$1, N as verify$1, O as Bn254Error, Q as Bn254Live, c as Bn254Service, T as Bn254ServiceShape, U as Bn254Test, W as g1Add, X as g1Generator, Y as g1Mul, Z as g2Add, _ as g2Generator, $ as g2Mul, a0 as pairingCheck, bB as ChaCha20Poly1305Error, a1 as ChaCha20Poly1305Live, C as ChaCha20Poly1305Service, a2 as ChaCha20Poly1305ServiceShape, a3 as ChaCha20Poly1305Test, bC as InvalidKeyError, bD as InvalidNonceError, a4 as decrypt, a5 as encrypt, a6 as generateKey, a7 as generateNonce, a8 as Ed25519Live, d as Ed25519Service, a9 as Ed25519ServiceShape, aa as Ed25519Test, ab as getPublicKey, ac as sign$2, ad as verify$2, an as unwrapSignature, ao as verifySignature, ap as wrapSignature, ax as HDNode, ay as HDPath, az as HDWalletError, e as HDWalletService, aA as HDWalletServiceShape, aB as HDWalletTest, aw as HardenedDerivationError, aC as InvalidKeyError$1, aD as InvalidPathError, aE as InvalidSeedError, aq as derive, ar as fromMnemonic, as as fromSeed, at as generateMnemonic$1, au as getPrivateKey, av as getPublicKey$1, bE as mapToHDWalletError, aF as mnemonicToSeed$1, aG as withPrivateKey, aH as withSeed, aI as HMACLive, H as HMACService, aJ as HMACServiceShape, aK as HMACTest, aL as hmacSha256, aM as hmacSha512, aO as DecryptError, aR as KeystoreLive, K as KeystoreService, aS as KeystoreServiceShape, aT as KeystoreTest, aP as decrypt$1, aQ as encrypt$1, aU as withDecryptedKey, aV as blobToKzgCommitment, aW as computeBlobKzgProof, aX as verifyBlobKzgProof, aZ as ModExpLive, a_ as ModExpService, a$ as ModExpServiceShape, b0 as ModExpTest, aY as calculateGas, b1 as modexp, b2 as modexpBytes, b3 as P256Live, P as P256Service, b4 as P256ServiceShape, b5 as sign$3, b6 as verify$3, b8 as Ripemd160Live, R as Ripemd160Service, b9 as Ripemd160Test, b7 as hash$2, bb as SHA256Live, S as SHA256Service, bc as SHA256Test, ba as hash$3, bF as CryptoError, bG as InvalidPrivateKeyError$1, bi as Signer, bj as SignersLive, bk as SignersService, bl as SignersServiceShape, bm as SignersTest, bf as fromPrivateKey, bg as getAddress, bh as recoverTransactionAddress, bq as X25519Live, br as X25519Service, bs as X25519ServiceShape, bt as X25519Test, bn as computeSecret, bo as generateKeyPair, bp as getPublicKey$2 } from './X25519Test-avt1DUgp.js';
|
|
16
|
+
export { i as AesGcm, f as CryptoLive, g as CryptoTest } from './X25519Test-avt1DUgp.js';
|
|
17
|
+
import { bn as SiweMessageType } from './index-DxwZo3xo.js';
|
|
18
|
+
export { i as Abi, a as AccessList, b as AccountState, c as Address, d as Authorization, e as Balance, f as Base64, g as BaseFeePerGas, h as BeaconBlockRoot, j as BinaryTree, k as Blob, l as Block, m as BlockBody, n as BlockFilter, o as BlockHash, p as BlockHeader, q as BlockNumber, r as BloomFilter, s as BuilderBid, t as Bundle, u as BundleHash, v as Bundler, w as Bytecode, x as Bytes, y as Bytes32, z as CallData, A as CallTrace, B as Chain, C as ChainHead, D as ChainId, E as CompilerVersion, F as ContractCode, G as ContractResult, H as ContractSignature, I as DecodedData, J as Denomination, K as Domain, L as DomainSeparator, M as EffectiveGasPrice, N as EncodedData, O as Ens, P as EntryPoint, Q as Epoch, R as ErrorSignature, S as EventLog, T as EventSignature, U as FeeMarket, V as FeeOracle, W as FilterId, X as ForkId, Y as ForwardRequest, Z as FunctionSignature, _ as Gas, $ as GasConstants, a0 as GasCosts, a1 as GasEstimate, a2 as GasPrice, a3 as GasRefund, a4 as GasUsed, a5 as Hardfork, a6 as Hash, a7 as Hex, a8 as InitCode, ad as Int128, aa as Int16, ae as Int256, ab as Int32, ac as Int64, a9 as Int8, af as License, ag as LogFilter, ah as LogIndex, ai as MaxFeePerGas, aj as MaxPriorityFeePerGas, ak as MemoryDump, al as MerkleTree, am as Metadata, an as MultiTokenId, ao as NetworkId, ap as NodeInfo, aq as Nonce, as as OpStep, ar as Opcode, at as PackedUserOperation, au as Paymaster, av as PeerId, aw as PeerInfo, ax as PendingTransactionFilter, ay as Permit, az as PrivateKey, aA as Proof, aB as ProtocolVersion, aC as Proxy, aD as PublicKey, aE as Receipt, aF as RelayData, aG as ReturnData, aH as RevertReason, aI as Rlp, aJ as RuntimeCode, aK as Selector, aL as Signature, aM as SignedData, aN as Siwe, aO as Slot, aP as SourceMap, aQ as Ssz, aR as State, aS as StateDiff, aT as StateProof, aU as StateRoot, aV as StealthAddress, aW as Storage, aX as StorageDiff, aY as StorageProof, aZ as StorageValue, a_ as StructLog, a$ as SyncStatus, b0 as TokenBalance, b1 as TokenId, b2 as TopicFilter, b3 as TraceConfig, b4 as TraceResult, b5 as Transaction, b6 as TransactionHash, b7 as TransactionIndex, b8 as TransactionStatus, b9 as TransactionUrl, ba as TypedData, bb as U256, bc as Uint, bh as Uint128, be as Uint16, bf as Uint32, bg as Uint64, bd as Uint8, bi as Uncle, bj as UserOperation, bk as ValidatorIndex, bl as Withdrawal, bm as WithdrawalIndex } from './index-DxwZo3xo.js';
|
|
20
19
|
import { BlockInclude, RetryOptions, StreamBlock, LightBlock, BackfillOptions, BlockStream, BlockStreamConstructorOptions, BlockStreamEvent, BlockStreamMetadata, BlockStreamOptions, BlocksEvent, ReorgEvent, WatchOptions } from '@tevm/voltaire/block';
|
|
21
20
|
export { BackfillOptions, BlockInclude, BlockStreamEvent, BlocksEvent, WatchOptions } from '@tevm/voltaire/block';
|
|
22
21
|
import { TransportService } from './services/index.js';
|
|
23
|
-
export { AbiDecodeError, AbiEncodeError, AbiEncoderService, AbiEncoderShape, AccessListInput, AccessListType, AccountError, AccountService, AccountShape, AccountStateOverride, AddressInput, ArbitrumFormatter, ArbitrumProvider, AssetChange, BackfillBlocksError, BalanceResolver, BaseProvider, BlockExplorerConfig, BlockExplorerService, BlockOverrides, BlockStream, BlockStreamError, BlockStreamService, BlockStreamShape, BlockTag, BlockType, BlockchainError, BlockchainHexInput, BlockchainService, BlockchainShape, BrowserProvider, BrowserTransport, CacheService, CacheShape, CallError, CallRequest, CcipError, CcipRequest, CcipService, CcipShape, ChainConfig, ChainContract, ChainService, ComposedServices, Contract, ContractAbi, ContractAbiItem, ContractBlockTag, ContractCall, ContractCallError, ContractDef, ContractError, ContractEventError, ContractFactory, ContractInstance, ContractRegistryBase, ContractRegistryConfig, ContractRegistryService, ContractRegistryShape, ContractWriteError, ContractsConfig, ContractsService, CreateAccessListError, CreateAccessListResult, CreateBlockFilterError, CreateEventFilterError, CreatePendingTransactionFilterError, CustomTransport, CustomTransportConfig, CustomTransportFromFn, Debug, DebugService, DebugShape, DebugTraceConfig, DecodedEvent, DefaultAbiEncoder, DefaultCcip, DefaultEns, DefaultFeeEstimator, DefaultFormatter, DefaultKzg, DefaultNonceManager, DefaultRateLimiter, DefaultTransactionSerializer, DeserializeError, EIP1193Provider, ENS_REGISTRY_ADDRESS, ENS_UNIVERSAL_RESOLVER_ADDRESS, EngineApi, EngineApiService, EngineApiShape, EnsError, EnsService, EnsShape, EstimateGasError, EthBlockNumber, EthCall, EthChainId, EthEstimateGas, EthGasPrice, EthGetBalance, EthGetBlockByHash, EthGetBlockByNumber, EthGetCode, EthGetLogs, EthGetStorageAt, EthGetTransactionByHash, EthGetTransactionCount, EthGetTransactionReceipt, EventFilter, FeeEstimationError, FeeEstimatorService, FeeEstimatorShape, FeeHistoryType, FeeValues, FeeValuesEIP1559, FeeValuesLegacy, FilterChanges, ForkBlockchain, ForkBlockchainOptions, FormatError, FormatterService, FormatterShape, GenericRpcRequest, GetAccountsError, GetBalance, GetBalanceError, GetBlobBaseFeeError, GetBlockArgs, GetBlockError, GetBlockNumberError, GetBlockReceiptsArgs, GetBlockReceiptsError, GetBlockTransactionCountArgs, GetBlockTransactionCountError, GetChainIdError, GetCodeError, GetCoinbaseError, GetEnsAddressParams, GetEnsAvatarParams, GetEnsNameParams, GetEnsResolverParams, GetEnsTextParams, GetFeeHistoryError, GetFilterChangesError, GetFilterLogsError, GetGasPriceError, GetHashrateError, GetLogsError, GetMaxPriorityFeePerGasError, GetMiningError, GetProofError, GetProtocolVersionError, GetStorageAtError, GetSyncingError, GetTransactionByBlockHashAndIndexError, GetTransactionByBlockNumberAndIndexError, GetTransactionConfirmationsError, GetTransactionCountError, GetTransactionError, GetTransactionReceiptError, GetUncleArgs, GetUncleCountArgs, GetUncleCountError, GetUncleError, GetWorkError, HashInput, HttpProvider, HttpProviderFetch, HttpTransport, IdGenerator, IdGeneratorLive, IdGeneratorShape, InMemoryBlockchain, InferContractRegistry, IpcProvider, JsonRpcAccount, KzgError, KzgService, KzgShape, LocalAccount, LogType, MULTICALL3_ADDRESS, MainnetFullProvider, MainnetProvider, MemoryCache, MemoryCacheOptions, MulticallCall, MulticallError, MulticallParams, MulticallResult, MulticallResults, NetVersionError, NonceError, NonceManagerService, NonceManagerShape, NoopCache, NoopCcip, NoopKzg, NoopRateLimiter, OptimismFormatter, OptimismProvider, PolygonProvider, ProofType, Provider, ProviderConfirmationsPendingError, ProviderError, ProviderNotFoundError, ProviderReceiptPendingError, ProviderResponseError, ProviderStepConfig, ProviderStreamError, ProviderTimeoutError, ProviderValidationError, RateLimitBehavior, RateLimitError, RateLimitedTransport, RateLimiterConfig, RateLimiterService, RateLimiterShape, RawProviderService, RawProviderShape, RawProviderTransport, RawRequestArguments, ReadContractError, ReadContractParams, ReceiptType, RpcBatch, RpcBatchService, RpcBatchShape, RpcRequest, RpcTransactionRequest, RpcUrlsConfig, SendRawTransactionError, SendTransactionError, SepoliaProvider, SerializeError, SignError, SignTransactionError, Signer, SignerError, SignerService, SignerShape, SimulateCallsError, SimulateCallsParams, SimulateContractError, SimulateContractParams, SimulateContractResult, SimulateV1BlockCall, SimulateV1BlockResult, SimulateV1CallResult, SimulateV1Error, SimulateV1Payload, SimulateV1Result, SimulateV2Error, SimulateV2Payload, SimulateV2Result, SimulationResult, StateOverride, StorageProofType, SubmitHashrateError, SubmitWorkError, SubscribeError, SyncingStatus, TestProvider, TestTransport, TransactionIndexInput, TransactionRequest, TransactionSerializerService, TransactionStream, TransactionStreamError, TransactionStreamService, TransactionStreamShape, TransactionType, TransportShape, UncleBlockType, UninstallFilterError, UnsignedTransaction, UnsubscribeError, WaitForTransactionReceiptArgs, WaitForTransactionReceiptError, WaitForTransactionReceiptOptions, WatchBlocksError, WebSocketProvider, WebSocketProviderConfig, WebSocketProviderGlobal, WebSocketTransport, WithdrawalType, ZkSyncFormatter, aggregate3, arbitrum, arbitrumBlockExplorers, arbitrumConfig, arbitrumContracts, backfillBlocks, base, baseBlockExplorers, baseConfig, baseContracts, bytesToHex, cacheEnabledRef, call, createAccessList, createBlockFilter, createEventFilter, createPendingTransactionFilter, createProvider, estimateGas, formatAccessList, formatCallRequest, formatLogFilterParams, formatTransactionRequest, getAccounts, getBalance, getBlobBaseFee, getBlock, getBlockNumber, getBlockReceipts, getBlockTransactionCount, getChainId, getCode, getCoinbase, getEnsAddress, getEnsAvatar, getEnsName, getEnsResolver, getEnsText, getFeeHistory, getFilterChanges, getFilterLogs, getGasPrice, getHashrate, getLogs, getMaxPriorityFeePerGas, getMining, getProof, getProtocolVersion, getStorageAt, getSyncing, getTransaction, getTransactionByBlockHashAndIndex, getTransactionByBlockNumberAndIndex, getTransactionConfirmations, getTransactionCount, getTransactionReceipt, getUncle, getUncleCount, mainnet, mainnetBlockExplorers, mainnetConfig, mainnetContracts, makeBlockStream, makeContractRegistry, makeFeeEstimator, makeIdGenerator, makeProviderPlan, makeRateLimiter, makeResilientProviderPlan, makeRpcResolver, makeTransactionStream, multicall, netVersion, nextId, optimism, optimismBlockExplorers, optimismConfig, optimismContracts, parseHexToBigInt, polygon, polygonBlockExplorers, polygonConfig, polygonContracts, readContract, retryScheduleRef, rpcUrlsByChainId, sendRawTransaction, sendTransaction, sepolia, sepoliaBlockExplorers, sepoliaConfig, sepoliaContracts, sign, signTransaction, simulateCalls, simulateContract, simulateV1, simulateV2, subscribe, timeoutRef, toAddressHex, toHashHex, tracingRef, uninstallFilter, unsubscribe, waitForTransactionReceipt, watchBlocks, withRetrySchedule, withTimeout, withTracing, withoutCache } from './services/index.js';
|
|
22
|
+
export { AbiDecodeError, AbiEncodeError, AbiEncoderService, AbiEncoderShape, AbiResolution, AccessListInput, AccessListType, AccountError, AccountService, AccountShape, AccountStateOverride, AddressInput, ArbitrumFormatter, ArbitrumProvider, AssetChange, BackfillBlocksError, BalanceResolver, BaseProvider, BlockExplorerApi, BlockExplorerApiConfig, BlockExplorerApiError, BlockExplorerApiService, BlockExplorerApiShape, BlockExplorerConfig, BlockExplorerConfigError, BlockExplorerDecodeError, BlockExplorerNotFoundError, BlockExplorerProxyResolutionError, BlockExplorerRateLimitError, BlockExplorerResponseError, BlockExplorerService, BlockExplorerUnexpectedError, BlockOverrides, BlockStream, BlockStreamError, BlockStreamService, BlockStreamShape, BlockTag, BlockType, BlockchainError, BlockchainHexInput, BlockchainService, BlockchainShape, BrowserProvider, BrowserTransport, CacheService, CacheShape, CallError, CallRequest, CcipError, CcipRequest, CcipService, CcipShape, ChainConfig, ChainContract, ChainService, ComposedServices, Contract, ContractAbi, ContractAbiItem, ContractBlockTag, ContractCall, ContractCallError, ContractDef, ContractError, ContractEventError, ContractFactory, ContractInstance, ContractRegistryBase, ContractRegistryConfig, ContractRegistryService, ContractRegistryShape, ContractSourceFile, ContractWriteError, ContractsConfig, ContractsService, CreateAccessListError, CreateAccessListResult, CreateBlockFilterError, CreateEventFilterError, CreatePendingTransactionFilterError, CustomTransport, CustomTransportConfig, CustomTransportFromFn, Debug, DebugService, DebugShape, DebugTraceConfig, DecodedEvent, DefaultAbiEncoder, DefaultCcip, DefaultEns, DefaultFeeEstimator, DefaultFormatter, DefaultKzg, DefaultNonceManager, DefaultRateLimiter, DefaultTransactionSerializer, DeserializeError, EIP1193Provider, ENS_REGISTRY_ADDRESS, ENS_UNIVERSAL_RESOLVER_ADDRESS, EngineApi, EngineApiService, EngineApiShape, EnsError, EnsService, EnsShape, EstimateGasError, EthBlockNumber, EthCall, EthChainId, EthEstimateGas, EthGasPrice, EthGetBalance, EthGetBlockByHash, EthGetBlockByNumber, EthGetCode, EthGetLogs, EthGetStorageAt, EthGetTransactionByHash, EthGetTransactionCount, EthGetTransactionReceipt, EventFilter, ExplorerAbiItem, ExplorerContractInstance, ExplorerSourceId, FeeEstimationError, FeeEstimatorService, FeeEstimatorShape, FeeHistoryType, FeeValues, FeeValuesEIP1559, FeeValuesLegacy, FilterChanges, ForkBlockchain, ForkBlockchainOptions, FormatError, FormatterService, FormatterShape, GenericRpcRequest, GetAbiOptions, GetAccountsError, GetBalance, GetBalanceError, GetBlobBaseFeeError, GetBlockArgs, GetBlockError, GetBlockNumberError, GetBlockReceiptsArgs, GetBlockReceiptsError, GetBlockTransactionCountArgs, GetBlockTransactionCountError, GetChainIdError, GetCodeError, GetCoinbaseError, GetContractOptions, GetEnsAddressParams, GetEnsAvatarParams, GetEnsNameParams, GetEnsResolverParams, GetEnsTextParams, GetFeeHistoryError, GetFilterChangesError, GetFilterLogsError, GetGasPriceError, GetHashrateError, GetLogsError, GetMaxPriorityFeePerGasError, GetMiningError, GetProofError, GetProtocolVersionError, GetSourcesOptions, GetStorageAtError, GetSyncingError, GetTransactionByBlockHashAndIndexError, GetTransactionByBlockNumberAndIndexError, GetTransactionConfirmationsError, GetTransactionCountError, GetTransactionError, GetTransactionReceiptError, GetUncleArgs, GetUncleCountArgs, GetUncleCountError, GetUncleError, GetWorkError, HashInput, HttpProvider, HttpProviderFetch, HttpTransport, IdGenerator, IdGeneratorLive, IdGeneratorShape, InMemoryBlockchain, InferContractRegistry, IpcProvider, JsonRpcAccount, KzgError, KzgService, KzgShape, LocalAccount, LogType, MULTICALL3_ADDRESS, MainnetFullProvider, MainnetProvider, MemoryCache, MemoryCacheOptions, MulticallCall, MulticallError, MulticallParams, MulticallResult, MulticallResults, NetVersionError, NonceError, NonceManagerService, NonceManagerShape, NoopCache, NoopCcip, NoopKzg, NoopRateLimiter, OptimismFormatter, OptimismProvider, PolygonProvider, ProofType, Provider, ProviderConfirmationsPendingError, ProviderError, ProviderNotFoundError, ProviderReceiptPendingError, ProviderResponseError, ProviderStepConfig, ProviderStreamError, ProviderTimeoutError, ProviderValidationError, ProxyInfo, RateLimitBehavior, RateLimitError, RateLimitedTransport, RateLimiterConfig, RateLimiterService, RateLimiterShape, RawProviderService, RawProviderShape, RawProviderTransport, RawRequestArguments, ReadContractError, ReadContractParams, ReceiptType, ResolvedExplorerContract, RpcBatch, RpcBatchService, RpcBatchShape, RpcRequest, RpcTransactionRequest, RpcUrlsConfig, SendRawTransactionError, SendTransactionError, SepoliaProvider, SerializeError, SignError, SignTransactionError, Signer, SignerError, SignerService, SignerShape, SimulateCallsError, SimulateCallsParams, SimulateContractError, SimulateContractParams, SimulateContractResult, SimulateV1BlockCall, SimulateV1BlockResult, SimulateV1CallResult, SimulateV1Error, SimulateV1Payload, SimulateV1Result, SimulateV2Error, SimulateV2Payload, SimulateV2Result, SimulationResult, StateOverride, StorageProofType, SubmitHashrateError, SubmitWorkError, SubscribeError, SyncingStatus, TestProvider, TestTransport, TransactionIndexInput, TransactionRequest, TransactionSerializerService, TransactionStream, TransactionStreamError, TransactionStreamService, TransactionStreamShape, TransactionType, TransportShape, UncleBlockType, UninstallFilterError, UnsignedTransaction, UnsubscribeError, WaitForTransactionReceiptArgs, WaitForTransactionReceiptError, WaitForTransactionReceiptOptions, WatchBlocksError, WebSocketProvider, WebSocketProviderConfig, WebSocketProviderGlobal, WebSocketTransport, WithdrawalType, ZkSyncFormatter, aggregate3, arbitrum, arbitrumBlockExplorers, arbitrumConfig, arbitrumContracts, backfillBlocks, base, baseBlockExplorers, baseConfig, baseContracts, bytesToHex, cacheEnabledRef, call, createAccessList, createBlockFilter, createEventFilter, createPendingTransactionFilter, createProvider, estimateGas, formatAccessList, formatCallRequest, formatLogFilterParams, formatTransactionRequest, getAccounts, getBalance, getBlobBaseFee, getBlock, getBlockNumber, getBlockReceipts, getBlockTransactionCount, getChainId, getCode, getCoinbase, getEnsAddress, getEnsAvatar, getEnsName, getEnsResolver, getEnsText, getFeeHistory, getFilterChanges, getFilterLogs, getGasPrice, getHashrate, getLogs, getMaxPriorityFeePerGas, getMining, getProof, getProtocolVersion, getStorageAt, getSyncing, getTransaction, getTransactionByBlockHashAndIndex, getTransactionByBlockNumberAndIndex, getTransactionConfirmations, getTransactionCount, getTransactionReceipt, getUncle, getUncleCount, mainnet, mainnetBlockExplorers, mainnetConfig, mainnetContracts, makeBlockStream, makeContractRegistry, makeFeeEstimator, makeIdGenerator, makeProviderPlan, makeRateLimiter, makeResilientProviderPlan, makeRpcResolver, makeTransactionStream, multicall, netVersion, nextId, optimism, optimismBlockExplorers, optimismConfig, optimismContracts, parseHexToBigInt, polygon, polygonBlockExplorers, polygonConfig, polygonContracts, readContract, retryScheduleRef, rpcUrlsByChainId, sendRawTransaction, sendTransaction, sepolia, sepoliaBlockExplorers, sepoliaConfig, sepoliaContracts, sign, signTransaction, simulateCalls, simulateContract, simulateV1, simulateV2, subscribe, timeoutRef, toAddressHex, toHashHex, tracingRef, uninstallFilter, unsubscribe, waitForTransactionReceipt, watchBlocks, withRetrySchedule, withTimeout, withTracing, withoutCache } from './services/index.js';
|
|
24
23
|
import * as Layer from 'effect/Layer';
|
|
25
24
|
import { Keccak256Hash, BrandedAbi, BrandedAddress } from '@tevm/voltaire';
|
|
26
25
|
import { EventStreamConstructorOptions, BackfillOptions as BackfillOptions$1, EventStreamResult, WatchOptions as WatchOptions$1 } from '@tevm/voltaire/contract';
|
|
@@ -28,8 +27,6 @@ import * as Context from 'effect/Context';
|
|
|
28
27
|
import * as Stream from 'effect/Stream';
|
|
29
28
|
import { a as KZGError, b as KZGLive, K as KZGService, c as KZGServiceShape, d as KZGTest } from './KZGService-B7PJerOb.js';
|
|
30
29
|
import * as effect_SchemaAST from 'effect/SchemaAST';
|
|
31
|
-
import * as _tevm_voltaire_Abi from '@tevm/voltaire/Abi';
|
|
32
|
-
import { ItemType, AbiItemNotFoundError, AbiEncodingError, AbiParameterMismatchError, WrappedErrorType, AbiDecodingError, AbiInvalidSelectorError as AbiInvalidSelectorError$1, Error as Error$1, Event, Function, Item as Item$1, Abi as Abi$1 } from '@tevm/voltaire/Abi';
|
|
33
30
|
import * as _tevm_voltaire_stream from '@tevm/voltaire/stream';
|
|
34
31
|
import { BlockRangeTooLargeError, BlockStreamAbortedError, EventStreamAbortedError, StreamAbortedError, UnrecoverableReorgError } from '@tevm/voltaire/stream';
|
|
35
32
|
import '@tevm/voltaire/Secp256k1';
|
|
@@ -43,6 +40,7 @@ import '@tevm/voltaire/P256';
|
|
|
43
40
|
import '@tevm/voltaire/X25519';
|
|
44
41
|
import '@tevm/voltaire/Siwe';
|
|
45
42
|
import 'effect';
|
|
43
|
+
import '@tevm/voltaire/Abi';
|
|
46
44
|
import '@tevm/voltaire/AccessList';
|
|
47
45
|
import '@tevm/voltaire/Bytes';
|
|
48
46
|
import '@tevm/voltaire/functional';
|
|
@@ -700,17 +698,17 @@ declare class EventStreamError extends EventStreamError_base<{
|
|
|
700
698
|
* @see {@link TransportService} - Required dependency
|
|
701
699
|
*/
|
|
702
700
|
|
|
703
|
-
type EventType
|
|
701
|
+
type EventType = BrandedAbi.Event.EventType;
|
|
704
702
|
|
|
705
703
|
/**
|
|
706
704
|
* Options for backfill with address and event included
|
|
707
705
|
*/
|
|
708
|
-
interface BackfillStreamOptions<TEvent extends EventType
|
|
706
|
+
interface BackfillStreamOptions<TEvent extends EventType> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, BackfillOptions$1 {
|
|
709
707
|
}
|
|
710
708
|
/**
|
|
711
709
|
* Options for watch with address and event included
|
|
712
710
|
*/
|
|
713
|
-
interface WatchStreamOptions<TEvent extends EventType
|
|
711
|
+
interface WatchStreamOptions<TEvent extends EventType> extends Omit<EventStreamConstructorOptions<TEvent>, "provider">, WatchOptions$1 {
|
|
714
712
|
}
|
|
715
713
|
/**
|
|
716
714
|
* Shape of the EventStream service.
|
|
@@ -737,7 +735,7 @@ type EventStreamShape = {
|
|
|
737
735
|
* });
|
|
738
736
|
* ```
|
|
739
737
|
*/
|
|
740
|
-
readonly backfill: <TEvent extends EventType
|
|
738
|
+
readonly backfill: <TEvent extends EventType>(options: BackfillStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
741
739
|
/**
|
|
742
740
|
* Watch for new events by polling.
|
|
743
741
|
*
|
|
@@ -755,7 +753,7 @@ type EventStreamShape = {
|
|
|
755
753
|
* });
|
|
756
754
|
* ```
|
|
757
755
|
*/
|
|
758
|
-
readonly watch: <TEvent extends EventType
|
|
756
|
+
readonly watch: <TEvent extends EventType>(options: WatchStreamOptions<TEvent>) => Stream.Stream<EventStreamResult<TEvent>, EventStreamError>;
|
|
759
757
|
};
|
|
760
758
|
declare const EventStreamService_base: Context.TagClass<EventStreamService, "EventStreamService", EventStreamShape>;
|
|
761
759
|
/**
|
|
@@ -1524,6 +1522,51 @@ declare namespace index$d {
|
|
|
1524
1522
|
export { index$d_SHA256Live as SHA256Live, index$d_SHA256Service as SHA256Service, index$d_SHA256Test as SHA256Test, hash$3 as hash };
|
|
1525
1523
|
}
|
|
1526
1524
|
|
|
1525
|
+
/**
|
|
1526
|
+
* @fileoverview Ethereum signers module for Effect.
|
|
1527
|
+
* Provides cryptographic signing of messages, transactions, and typed data.
|
|
1528
|
+
*
|
|
1529
|
+
* @module Signers
|
|
1530
|
+
* @since 0.0.1
|
|
1531
|
+
*
|
|
1532
|
+
* @description
|
|
1533
|
+
* Signers handle cryptographic signing operations for Ethereum. Each signer
|
|
1534
|
+
* encapsulates a private key and provides methods for:
|
|
1535
|
+
*
|
|
1536
|
+
* - Message signing (EIP-191 personal_sign)
|
|
1537
|
+
* - Transaction signing
|
|
1538
|
+
* - Typed data signing (EIP-712)
|
|
1539
|
+
*
|
|
1540
|
+
* @example
|
|
1541
|
+
* ```typescript
|
|
1542
|
+
* import { SignersService, SignersLive, fromPrivateKey, getAddress } from 'voltaire-effect/crypto/Signers'
|
|
1543
|
+
* import * as Effect from 'effect/Effect'
|
|
1544
|
+
*
|
|
1545
|
+
* const program = Effect.gen(function* () {
|
|
1546
|
+
* const signer = yield* fromPrivateKey('0x...')
|
|
1547
|
+
* const address = yield* getAddress(signer)
|
|
1548
|
+
* const sig = yield* signer.signMessage('Hello World')
|
|
1549
|
+
* return { address, sig }
|
|
1550
|
+
* }).pipe(Effect.provide(SignersLive))
|
|
1551
|
+
* ```
|
|
1552
|
+
*
|
|
1553
|
+
* @see {@link https://eips.ethereum.org/EIPS/eip-191 | EIP-191}
|
|
1554
|
+
* @see {@link https://eips.ethereum.org/EIPS/eip-712 | EIP-712}
|
|
1555
|
+
*/
|
|
1556
|
+
|
|
1557
|
+
declare const index$c_CryptoError: typeof CryptoError;
|
|
1558
|
+
declare const index$c_Signer: typeof Signer;
|
|
1559
|
+
declare const index$c_SignersLive: typeof SignersLive;
|
|
1560
|
+
declare const index$c_SignersService: typeof SignersService;
|
|
1561
|
+
declare const index$c_SignersServiceShape: typeof SignersServiceShape;
|
|
1562
|
+
declare const index$c_SignersTest: typeof SignersTest;
|
|
1563
|
+
declare const index$c_fromPrivateKey: typeof fromPrivateKey;
|
|
1564
|
+
declare const index$c_getAddress: typeof getAddress;
|
|
1565
|
+
declare const index$c_recoverTransactionAddress: typeof recoverTransactionAddress;
|
|
1566
|
+
declare namespace index$c {
|
|
1567
|
+
export { index$c_CryptoError as CryptoError, InvalidPrivateKeyError$1 as InvalidPrivateKeyError, index$c_Signer as Signer, index$c_SignersLive as SignersLive, index$c_SignersService as SignersService, index$c_SignersServiceShape as SignersServiceShape, index$c_SignersTest as SignersTest, index$c_fromPrivateKey as fromPrivateKey, index$c_getAddress as getAddress, getAddress as getSignerAddress, index$c_recoverTransactionAddress as recoverTransactionAddress };
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1527
1570
|
/**
|
|
1528
1571
|
* @fileoverview X25519 key exchange module for Effect.
|
|
1529
1572
|
* Provides Curve25519 ECDH for secure shared secret generation.
|
|
@@ -1559,15 +1602,23 @@ declare namespace index$d {
|
|
|
1559
1602
|
* @see {@link https://datatracker.ietf.org/doc/html/rfc7748 | RFC 7748}
|
|
1560
1603
|
*/
|
|
1561
1604
|
|
|
1562
|
-
declare const index$
|
|
1563
|
-
declare const index$
|
|
1564
|
-
declare const index$
|
|
1565
|
-
declare const index$
|
|
1566
|
-
declare const index$
|
|
1567
|
-
declare const index$
|
|
1568
|
-
declare namespace index$
|
|
1569
|
-
export { index$
|
|
1605
|
+
declare const index$b_X25519Live: typeof X25519Live;
|
|
1606
|
+
declare const index$b_X25519Service: typeof X25519Service;
|
|
1607
|
+
declare const index$b_X25519ServiceShape: typeof X25519ServiceShape;
|
|
1608
|
+
declare const index$b_X25519Test: typeof X25519Test;
|
|
1609
|
+
declare const index$b_computeSecret: typeof computeSecret;
|
|
1610
|
+
declare const index$b_generateKeyPair: typeof generateKeyPair;
|
|
1611
|
+
declare namespace index$b {
|
|
1612
|
+
export { index$b_X25519Live as X25519Live, index$b_X25519Service as X25519Service, index$b_X25519ServiceShape as X25519ServiceShape, index$b_X25519Test as X25519Test, index$b_computeSecret as computeSecret, index$b_generateKeyPair as generateKeyPair, getPublicKey$2 as getPublicKey };
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
type IdCounterShape = {
|
|
1616
|
+
readonly next: () => Effect.Effect<number>;
|
|
1617
|
+
};
|
|
1618
|
+
declare const IdCounterService_base: Context.TagClass<IdCounterService, "IdCounterService", IdCounterShape>;
|
|
1619
|
+
declare class IdCounterService extends IdCounterService_base {
|
|
1570
1620
|
}
|
|
1621
|
+
declare const IdCounterLive: Layer.Layer<IdCounterService>;
|
|
1571
1622
|
|
|
1572
1623
|
type JsonRpcIdType = number | string | null;
|
|
1573
1624
|
type JsonRpcRequestType<TParams = unknown[]> = {
|
|
@@ -1582,70 +1633,70 @@ declare function from$4(input: {
|
|
|
1582
1633
|
id?: JsonRpcIdType;
|
|
1583
1634
|
}): JsonRpcRequestType;
|
|
1584
1635
|
declare function isNotification(request: JsonRpcRequestType): boolean;
|
|
1585
|
-
declare function withParams<TParams>(request: JsonRpcRequestType): (params: TParams) => JsonRpcRequestType<TParams>;
|
|
1636
|
+
declare function withParams<TParams>(request: JsonRpcRequestType): (params: TParams) => Effect.Effect<JsonRpcRequestType<TParams>, never, IdCounterService>;
|
|
1586
1637
|
declare const Request: {
|
|
1587
1638
|
from: typeof from$4;
|
|
1588
1639
|
isNotification: typeof isNotification;
|
|
1589
1640
|
withParams: typeof withParams;
|
|
1590
1641
|
};
|
|
1591
1642
|
|
|
1592
|
-
declare const MineRequest$3: (blocks?: number, interval?: number) => JsonRpcRequestType
|
|
1593
|
-
declare const SetBalanceRequest$3: (address: string, balance: string) => JsonRpcRequestType
|
|
1594
|
-
declare const SetCodeRequest$3: (address: string, code: string) => JsonRpcRequestType
|
|
1595
|
-
declare const SetNonceRequest$3: (address: string, nonce: string) => JsonRpcRequestType
|
|
1596
|
-
declare const SetStorageAtRequest$3: (address: string, slot: string, value: string) => JsonRpcRequestType
|
|
1597
|
-
declare const ImpersonateAccountRequest$3: (address: string) => JsonRpcRequestType
|
|
1598
|
-
declare const StopImpersonatingAccountRequest$3: (address: string) => JsonRpcRequestType
|
|
1643
|
+
declare const MineRequest$3: (blocks?: number, interval?: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1644
|
+
declare const SetBalanceRequest$3: (address: string, balance: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1645
|
+
declare const SetCodeRequest$3: (address: string, code: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1646
|
+
declare const SetNonceRequest$3: (address: string, nonce: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1647
|
+
declare const SetStorageAtRequest$3: (address: string, slot: string, value: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1648
|
+
declare const ImpersonateAccountRequest$3: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1649
|
+
declare const StopImpersonatingAccountRequest$3: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1599
1650
|
declare const ResetRequest$3: (options?: {
|
|
1600
1651
|
forking?: {
|
|
1601
1652
|
jsonRpcUrl: string;
|
|
1602
1653
|
blockNumber?: number;
|
|
1603
1654
|
};
|
|
1604
|
-
}) => JsonRpcRequestType
|
|
1605
|
-
declare const SetRpcUrlRequest: (url: string) => JsonRpcRequestType
|
|
1606
|
-
declare const SetCoinbaseRequest$1: (address: string) => JsonRpcRequestType
|
|
1607
|
-
declare const DumpStateRequest: () => JsonRpcRequestType
|
|
1608
|
-
declare const LoadStateRequest: (state: string) => JsonRpcRequestType
|
|
1609
|
-
declare const SnapshotRequest$1: () => JsonRpcRequestType
|
|
1610
|
-
declare const RevertRequest$1: (snapshotId: string) => JsonRpcRequestType
|
|
1611
|
-
declare const IncreaseTimeRequest: (seconds: number) => JsonRpcRequestType
|
|
1612
|
-
declare const SetNextBlockTimestampRequest$1: (timestamp: number) => JsonRpcRequestType
|
|
1613
|
-
declare const SetBlockGasLimitRequest: (gasLimit: string) => JsonRpcRequestType
|
|
1614
|
-
declare const SetMinGasPriceRequest$1: (gasPrice: string) => JsonRpcRequestType
|
|
1615
|
-
declare const DropTransactionRequest$3: (hash: string) => JsonRpcRequestType
|
|
1616
|
-
declare const GetAutomineRequest: () => JsonRpcRequestType
|
|
1617
|
-
declare const SetAutomineRequest$1: (enabled: boolean) => JsonRpcRequestType
|
|
1618
|
-
declare const SetIntervalMiningRequest: (interval: number) => JsonRpcRequestType
|
|
1619
|
-
declare const EnableTracesRequest: () => JsonRpcRequestType
|
|
1655
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1656
|
+
declare const SetRpcUrlRequest: (url: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1657
|
+
declare const SetCoinbaseRequest$1: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1658
|
+
declare const DumpStateRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1659
|
+
declare const LoadStateRequest: (state: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1660
|
+
declare const SnapshotRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1661
|
+
declare const RevertRequest$1: (snapshotId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1662
|
+
declare const IncreaseTimeRequest: (seconds: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1663
|
+
declare const SetNextBlockTimestampRequest$1: (timestamp: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1664
|
+
declare const SetBlockGasLimitRequest: (gasLimit: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1665
|
+
declare const SetMinGasPriceRequest$1: (gasPrice: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1666
|
+
declare const DropTransactionRequest$3: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1667
|
+
declare const GetAutomineRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1668
|
+
declare const SetAutomineRequest$1: (enabled: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1669
|
+
declare const SetIntervalMiningRequest: (interval: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1670
|
+
declare const EnableTracesRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1620
1671
|
declare const Anvil: {
|
|
1621
|
-
MineRequest: (blocks?: number, interval?: number) => JsonRpcRequestType
|
|
1622
|
-
SetBalanceRequest: (address: string, balance: string) => JsonRpcRequestType
|
|
1623
|
-
SetCodeRequest: (address: string, code: string) => JsonRpcRequestType
|
|
1624
|
-
SetNonceRequest: (address: string, nonce: string) => JsonRpcRequestType
|
|
1625
|
-
SetStorageAtRequest: (address: string, slot: string, value: string) => JsonRpcRequestType
|
|
1626
|
-
ImpersonateAccountRequest: (address: string) => JsonRpcRequestType
|
|
1627
|
-
StopImpersonatingAccountRequest: (address: string) => JsonRpcRequestType
|
|
1672
|
+
MineRequest: (blocks?: number, interval?: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1673
|
+
SetBalanceRequest: (address: string, balance: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1674
|
+
SetCodeRequest: (address: string, code: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1675
|
+
SetNonceRequest: (address: string, nonce: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1676
|
+
SetStorageAtRequest: (address: string, slot: string, value: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1677
|
+
ImpersonateAccountRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1678
|
+
StopImpersonatingAccountRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1628
1679
|
ResetRequest: (options?: {
|
|
1629
1680
|
forking?: {
|
|
1630
1681
|
jsonRpcUrl: string;
|
|
1631
1682
|
blockNumber?: number;
|
|
1632
1683
|
};
|
|
1633
|
-
}) => JsonRpcRequestType
|
|
1634
|
-
SetRpcUrlRequest: (url: string) => JsonRpcRequestType
|
|
1635
|
-
SetCoinbaseRequest: (address: string) => JsonRpcRequestType
|
|
1636
|
-
DumpStateRequest: () => JsonRpcRequestType
|
|
1637
|
-
LoadStateRequest: (state: string) => JsonRpcRequestType
|
|
1638
|
-
SnapshotRequest: () => JsonRpcRequestType
|
|
1639
|
-
RevertRequest: (snapshotId: string) => JsonRpcRequestType
|
|
1640
|
-
IncreaseTimeRequest: (seconds: number) => JsonRpcRequestType
|
|
1641
|
-
SetNextBlockTimestampRequest: (timestamp: number) => JsonRpcRequestType
|
|
1642
|
-
SetBlockGasLimitRequest: (gasLimit: string) => JsonRpcRequestType
|
|
1643
|
-
SetMinGasPriceRequest: (gasPrice: string) => JsonRpcRequestType
|
|
1644
|
-
DropTransactionRequest: (hash: string) => JsonRpcRequestType
|
|
1645
|
-
GetAutomineRequest: () => JsonRpcRequestType
|
|
1646
|
-
SetAutomineRequest: (enabled: boolean) => JsonRpcRequestType
|
|
1647
|
-
SetIntervalMiningRequest: (interval: number) => JsonRpcRequestType
|
|
1648
|
-
EnableTracesRequest: () => JsonRpcRequestType
|
|
1684
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1685
|
+
SetRpcUrlRequest: (url: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1686
|
+
SetCoinbaseRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1687
|
+
DumpStateRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1688
|
+
LoadStateRequest: (state: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1689
|
+
SnapshotRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1690
|
+
RevertRequest: (snapshotId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1691
|
+
IncreaseTimeRequest: (seconds: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1692
|
+
SetNextBlockTimestampRequest: (timestamp: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1693
|
+
SetBlockGasLimitRequest: (gasLimit: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1694
|
+
SetMinGasPriceRequest: (gasPrice: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1695
|
+
DropTransactionRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1696
|
+
GetAutomineRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1697
|
+
SetAutomineRequest: (enabled: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1698
|
+
SetIntervalMiningRequest: (interval: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1699
|
+
EnableTracesRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
1649
1700
|
};
|
|
1650
1701
|
|
|
1651
1702
|
declare const Anvil$1_Anvil: typeof Anvil;
|
|
@@ -2114,13 +2165,13 @@ type JsonRpcErrorResponseType$1 = {
|
|
|
2114
2165
|
};
|
|
2115
2166
|
type JsonRpcResponseType<TResult = unknown> = JsonRpcSuccessResponseType<TResult> | JsonRpcErrorResponseType$1;
|
|
2116
2167
|
declare function from$1<TResult = unknown>(raw: unknown): JsonRpcResponseType<TResult>;
|
|
2117
|
-
declare function parse$
|
|
2168
|
+
declare function parse$1<TResult = unknown>(raw: unknown): Effect.Effect<JsonRpcResponseType<TResult>, JsonRpcParseError>;
|
|
2118
2169
|
declare function isSuccess<TResult>(response: JsonRpcResponseType<TResult>): response is JsonRpcSuccessResponseType<TResult>;
|
|
2119
2170
|
declare function isError<TResult>(response: JsonRpcResponseType<TResult>): response is JsonRpcErrorResponseType$1;
|
|
2120
2171
|
declare function unwrap<TResult>(response: JsonRpcResponseType<TResult>): Effect.Effect<TResult, JsonRpcErrorResponse>;
|
|
2121
2172
|
declare const Response: {
|
|
2122
2173
|
from: typeof from$1;
|
|
2123
|
-
parse: typeof parse$
|
|
2174
|
+
parse: typeof parse$1;
|
|
2124
2175
|
isSuccess: typeof isSuccess;
|
|
2125
2176
|
isError: typeof isError;
|
|
2126
2177
|
unwrap: typeof unwrap;
|
|
@@ -2128,121 +2179,121 @@ declare const Response: {
|
|
|
2128
2179
|
|
|
2129
2180
|
type BatchResponseType = readonly JsonRpcResponseType[];
|
|
2130
2181
|
declare function from(raw: unknown[]): BatchResponseType;
|
|
2131
|
-
declare function parse
|
|
2182
|
+
declare function parse(raw: unknown): Effect.Effect<BatchResponseType, JsonRpcParseError>;
|
|
2132
2183
|
declare function findById(batch: BatchResponseType): (id: JsonRpcIdType) => JsonRpcResponseType | undefined;
|
|
2133
2184
|
declare function errors(batch: BatchResponseType): JsonRpcErrorResponseType$1[];
|
|
2134
2185
|
declare function results(batch: BatchResponseType): JsonRpcResponseType[];
|
|
2135
2186
|
declare const BatchResponse: {
|
|
2136
2187
|
from: typeof from;
|
|
2137
|
-
parse: typeof parse
|
|
2188
|
+
parse: typeof parse;
|
|
2138
2189
|
findById: typeof findById;
|
|
2139
2190
|
errors: typeof errors;
|
|
2140
2191
|
results: typeof results;
|
|
2141
2192
|
};
|
|
2142
2193
|
|
|
2143
|
-
declare const AccountsRequest$1: () => JsonRpcRequestType
|
|
2144
|
-
declare const BlobBaseFeeRequest$1: () => JsonRpcRequestType
|
|
2145
|
-
declare const BlockNumberRequest$1: () => JsonRpcRequestType
|
|
2146
|
-
declare const CallRequest$1: (tx: unknown, blockTag?: string, stateOverride?: unknown, blockOverrides?: unknown) => JsonRpcRequestType
|
|
2147
|
-
declare const ChainIdRequest$1: () => JsonRpcRequestType
|
|
2148
|
-
declare const CoinbaseRequest$1: () => JsonRpcRequestType
|
|
2149
|
-
declare const CreateAccessListRequest$1: (tx: unknown) => JsonRpcRequestType
|
|
2150
|
-
declare const EstimateGasRequest$1: (tx: unknown, blockTag?: string, stateOverride?: unknown) => JsonRpcRequestType
|
|
2151
|
-
declare const FeeHistoryRequest$1: (blockCount: number | string, newestBlock: string, rewardPercentiles: number[]) => JsonRpcRequestType
|
|
2152
|
-
declare const GasPriceRequest$1: () => JsonRpcRequestType
|
|
2153
|
-
declare const GetBalanceRequest$1: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2154
|
-
declare const GetBlockByHashRequest$1: (hash: string, fullTx?: boolean) => JsonRpcRequestType
|
|
2155
|
-
declare const GetBlockByNumberRequest$1: (blockNumber: string, fullTx?: boolean) => JsonRpcRequestType
|
|
2156
|
-
declare const GetBlockReceiptsRequest$1: (blockId: string) => JsonRpcRequestType
|
|
2157
|
-
declare const GetBlockTransactionCountByHashRequest$1: (hash: string) => JsonRpcRequestType
|
|
2158
|
-
declare const GetBlockTransactionCountByNumberRequest$1: (blockNumber: string) => JsonRpcRequestType
|
|
2159
|
-
declare const GetCodeRequest$1: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2160
|
-
declare const GetFilterChangesRequest$1: (filterId: string) => JsonRpcRequestType
|
|
2161
|
-
declare const GetFilterLogsRequest$1: (filterId: string) => JsonRpcRequestType
|
|
2162
|
-
declare const GetLogsRequest$1: (filter: unknown) => JsonRpcRequestType
|
|
2163
|
-
declare const GetProofRequest$1: (address: string, storageKeys: string[], blockTag?: string) => JsonRpcRequestType
|
|
2164
|
-
declare const GetStorageAtRequest$1: (address: string, slot: string, blockTag?: string) => JsonRpcRequestType
|
|
2165
|
-
declare const GetTransactionByBlockHashAndIndexRequest$1: (blockHash: string, index: string) => JsonRpcRequestType
|
|
2166
|
-
declare const GetTransactionByBlockNumberAndIndexRequest$1: (blockNumber: string, index: string) => JsonRpcRequestType
|
|
2167
|
-
declare const GetTransactionByHashRequest$1: (hash: string) => JsonRpcRequestType
|
|
2168
|
-
declare const GetTransactionCountRequest$1: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2169
|
-
declare const GetTransactionReceiptRequest$1: (hash: string) => JsonRpcRequestType
|
|
2170
|
-
declare const GetUncleCountByBlockHashRequest$1: (hash: string) => JsonRpcRequestType
|
|
2171
|
-
declare const GetUncleCountByBlockNumberRequest$1: (blockNumber: string) => JsonRpcRequestType
|
|
2172
|
-
declare const GetUncleByBlockHashAndIndexRequest$1: (blockHash: string, index: string) => JsonRpcRequestType
|
|
2173
|
-
declare const GetUncleByBlockNumberAndIndexRequest$1: (blockNumber: string, index: string) => JsonRpcRequestType
|
|
2174
|
-
declare const MaxPriorityFeePerGasRequest$1: () => JsonRpcRequestType
|
|
2175
|
-
declare const NewBlockFilterRequest$1: () => JsonRpcRequestType
|
|
2176
|
-
declare const NewFilterRequest$1: (filter: unknown) => JsonRpcRequestType
|
|
2177
|
-
declare const NewPendingTransactionFilterRequest$1: () => JsonRpcRequestType
|
|
2178
|
-
declare const SendRawTransactionRequest$1: (signedTx: string) => JsonRpcRequestType
|
|
2179
|
-
declare const SendTransactionRequest$1: (tx: unknown) => JsonRpcRequestType
|
|
2180
|
-
declare const SignRequest$1: (address: string, message: string) => JsonRpcRequestType
|
|
2181
|
-
declare const SignTransactionRequest$1: (tx: unknown) => JsonRpcRequestType
|
|
2182
|
-
declare const SimulateV1Request: (calls: unknown[], blockTag?: string) => JsonRpcRequestType
|
|
2183
|
-
declare const SimulateV2Request: (payload: unknown, blockTag?: string) => JsonRpcRequestType
|
|
2184
|
-
declare const SyncingRequest$1: () => JsonRpcRequestType
|
|
2185
|
-
declare const UninstallFilterRequest$1: (filterId: string) => JsonRpcRequestType
|
|
2186
|
-
declare const SubscribeRequest$1: (...args: unknown[]) => JsonRpcRequestType
|
|
2187
|
-
declare const UnsubscribeRequest$1: (subscriptionId: string) => JsonRpcRequestType
|
|
2188
|
-
declare const GetWorkRequest$1: () => JsonRpcRequestType
|
|
2189
|
-
declare const SubmitWorkRequest$1: (nonce: string, powHash: string, mixDigest: string) => JsonRpcRequestType
|
|
2190
|
-
declare const SubmitHashrateRequest$1: (hashrate: string, id: string) => JsonRpcRequestType
|
|
2191
|
-
declare const HashrateRequest$1: () => JsonRpcRequestType
|
|
2192
|
-
declare const MiningRequest$1: () => JsonRpcRequestType
|
|
2193
|
-
declare const ProtocolVersionRequest$1: () => JsonRpcRequestType
|
|
2194
|
+
declare const AccountsRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2195
|
+
declare const BlobBaseFeeRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2196
|
+
declare const BlockNumberRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2197
|
+
declare const CallRequest$1: (tx: unknown, blockTag?: string, stateOverride?: unknown, blockOverrides?: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2198
|
+
declare const ChainIdRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2199
|
+
declare const CoinbaseRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2200
|
+
declare const CreateAccessListRequest$1: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2201
|
+
declare const EstimateGasRequest$1: (tx: unknown, blockTag?: string, stateOverride?: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2202
|
+
declare const FeeHistoryRequest$1: (blockCount: number | string, newestBlock: string, rewardPercentiles: number[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2203
|
+
declare const GasPriceRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2204
|
+
declare const GetBalanceRequest$1: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2205
|
+
declare const GetBlockByHashRequest$1: (hash: string, fullTx?: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2206
|
+
declare const GetBlockByNumberRequest$1: (blockNumber: string, fullTx?: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2207
|
+
declare const GetBlockReceiptsRequest$1: (blockId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2208
|
+
declare const GetBlockTransactionCountByHashRequest$1: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2209
|
+
declare const GetBlockTransactionCountByNumberRequest$1: (blockNumber: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2210
|
+
declare const GetCodeRequest$1: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2211
|
+
declare const GetFilterChangesRequest$1: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2212
|
+
declare const GetFilterLogsRequest$1: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2213
|
+
declare const GetLogsRequest$1: (filter: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2214
|
+
declare const GetProofRequest$1: (address: string, storageKeys: string[], blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2215
|
+
declare const GetStorageAtRequest$1: (address: string, slot: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2216
|
+
declare const GetTransactionByBlockHashAndIndexRequest$1: (blockHash: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2217
|
+
declare const GetTransactionByBlockNumberAndIndexRequest$1: (blockNumber: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2218
|
+
declare const GetTransactionByHashRequest$1: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2219
|
+
declare const GetTransactionCountRequest$1: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2220
|
+
declare const GetTransactionReceiptRequest$1: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2221
|
+
declare const GetUncleCountByBlockHashRequest$1: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2222
|
+
declare const GetUncleCountByBlockNumberRequest$1: (blockNumber: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2223
|
+
declare const GetUncleByBlockHashAndIndexRequest$1: (blockHash: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2224
|
+
declare const GetUncleByBlockNumberAndIndexRequest$1: (blockNumber: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2225
|
+
declare const MaxPriorityFeePerGasRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2226
|
+
declare const NewBlockFilterRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2227
|
+
declare const NewFilterRequest$1: (filter: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2228
|
+
declare const NewPendingTransactionFilterRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2229
|
+
declare const SendRawTransactionRequest$1: (signedTx: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2230
|
+
declare const SendTransactionRequest$1: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2231
|
+
declare const SignRequest$1: (address: string, message: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2232
|
+
declare const SignTransactionRequest$1: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2233
|
+
declare const SimulateV1Request: (calls: unknown[], blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2234
|
+
declare const SimulateV2Request: (payload: unknown, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2235
|
+
declare const SyncingRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2236
|
+
declare const UninstallFilterRequest$1: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2237
|
+
declare const SubscribeRequest$1: (...args: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2238
|
+
declare const UnsubscribeRequest$1: (subscriptionId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2239
|
+
declare const GetWorkRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2240
|
+
declare const SubmitWorkRequest$1: (nonce: string, powHash: string, mixDigest: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2241
|
+
declare const SubmitHashrateRequest$1: (hashrate: string, id: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2242
|
+
declare const HashrateRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2243
|
+
declare const MiningRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2244
|
+
declare const ProtocolVersionRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2194
2245
|
declare const Eth: {
|
|
2195
|
-
AccountsRequest: () => JsonRpcRequestType
|
|
2196
|
-
BlobBaseFeeRequest: () => JsonRpcRequestType
|
|
2197
|
-
BlockNumberRequest: () => JsonRpcRequestType
|
|
2198
|
-
CallRequest: (tx: unknown, blockTag?: string, stateOverride?: unknown, blockOverrides?: unknown) => JsonRpcRequestType
|
|
2199
|
-
ChainIdRequest: () => JsonRpcRequestType
|
|
2200
|
-
CoinbaseRequest: () => JsonRpcRequestType
|
|
2201
|
-
CreateAccessListRequest: (tx: unknown) => JsonRpcRequestType
|
|
2202
|
-
EstimateGasRequest: (tx: unknown, blockTag?: string, stateOverride?: unknown) => JsonRpcRequestType
|
|
2203
|
-
FeeHistoryRequest: (blockCount: number | string, newestBlock: string, rewardPercentiles: number[]) => JsonRpcRequestType
|
|
2204
|
-
GasPriceRequest: () => JsonRpcRequestType
|
|
2205
|
-
GetBalanceRequest: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2206
|
-
GetBlockByHashRequest: (hash: string, fullTx?: boolean) => JsonRpcRequestType
|
|
2207
|
-
GetBlockByNumberRequest: (blockNumber: string, fullTx?: boolean) => JsonRpcRequestType
|
|
2208
|
-
GetBlockReceiptsRequest: (blockId: string) => JsonRpcRequestType
|
|
2209
|
-
GetBlockTransactionCountByHashRequest: (hash: string) => JsonRpcRequestType
|
|
2210
|
-
GetBlockTransactionCountByNumberRequest: (blockNumber: string) => JsonRpcRequestType
|
|
2211
|
-
GetCodeRequest: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2212
|
-
GetFilterChangesRequest: (filterId: string) => JsonRpcRequestType
|
|
2213
|
-
GetFilterLogsRequest: (filterId: string) => JsonRpcRequestType
|
|
2214
|
-
GetLogsRequest: (filter: unknown) => JsonRpcRequestType
|
|
2215
|
-
GetProofRequest: (address: string, storageKeys: string[], blockTag?: string) => JsonRpcRequestType
|
|
2216
|
-
GetStorageAtRequest: (address: string, slot: string, blockTag?: string) => JsonRpcRequestType
|
|
2217
|
-
GetTransactionByBlockHashAndIndexRequest: (blockHash: string, index: string) => JsonRpcRequestType
|
|
2218
|
-
GetTransactionByBlockNumberAndIndexRequest: (blockNumber: string, index: string) => JsonRpcRequestType
|
|
2219
|
-
GetTransactionByHashRequest: (hash: string) => JsonRpcRequestType
|
|
2220
|
-
GetTransactionCountRequest: (address: string, blockTag?: string) => JsonRpcRequestType
|
|
2221
|
-
GetTransactionReceiptRequest: (hash: string) => JsonRpcRequestType
|
|
2222
|
-
GetUncleCountByBlockHashRequest: (hash: string) => JsonRpcRequestType
|
|
2223
|
-
GetUncleCountByBlockNumberRequest: (blockNumber: string) => JsonRpcRequestType
|
|
2224
|
-
GetUncleByBlockHashAndIndexRequest: (blockHash: string, index: string) => JsonRpcRequestType
|
|
2225
|
-
GetUncleByBlockNumberAndIndexRequest: (blockNumber: string, index: string) => JsonRpcRequestType
|
|
2226
|
-
MaxPriorityFeePerGasRequest: () => JsonRpcRequestType
|
|
2227
|
-
NewBlockFilterRequest: () => JsonRpcRequestType
|
|
2228
|
-
NewFilterRequest: (filter: unknown) => JsonRpcRequestType
|
|
2229
|
-
NewPendingTransactionFilterRequest: () => JsonRpcRequestType
|
|
2230
|
-
SendRawTransactionRequest: (signedTx: string) => JsonRpcRequestType
|
|
2231
|
-
SendTransactionRequest: (tx: unknown) => JsonRpcRequestType
|
|
2232
|
-
SignRequest: (address: string, message: string) => JsonRpcRequestType
|
|
2233
|
-
SignTransactionRequest: (tx: unknown) => JsonRpcRequestType
|
|
2234
|
-
SimulateV1Request: (calls: unknown[], blockTag?: string) => JsonRpcRequestType
|
|
2235
|
-
SimulateV2Request: (payload: unknown, blockTag?: string) => JsonRpcRequestType
|
|
2236
|
-
SyncingRequest: () => JsonRpcRequestType
|
|
2237
|
-
UninstallFilterRequest: (filterId: string) => JsonRpcRequestType
|
|
2238
|
-
SubscribeRequest: (...args: unknown[]) => JsonRpcRequestType
|
|
2239
|
-
UnsubscribeRequest: (subscriptionId: string) => JsonRpcRequestType
|
|
2240
|
-
GetWorkRequest: () => JsonRpcRequestType
|
|
2241
|
-
SubmitWorkRequest: (nonce: string, powHash: string, mixDigest: string) => JsonRpcRequestType
|
|
2242
|
-
SubmitHashrateRequest: (hashrate: string, id: string) => JsonRpcRequestType
|
|
2243
|
-
HashrateRequest: () => JsonRpcRequestType
|
|
2244
|
-
MiningRequest: () => JsonRpcRequestType
|
|
2245
|
-
ProtocolVersionRequest: () => JsonRpcRequestType
|
|
2246
|
+
AccountsRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2247
|
+
BlobBaseFeeRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2248
|
+
BlockNumberRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2249
|
+
CallRequest: (tx: unknown, blockTag?: string, stateOverride?: unknown, blockOverrides?: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2250
|
+
ChainIdRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2251
|
+
CoinbaseRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2252
|
+
CreateAccessListRequest: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2253
|
+
EstimateGasRequest: (tx: unknown, blockTag?: string, stateOverride?: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2254
|
+
FeeHistoryRequest: (blockCount: number | string, newestBlock: string, rewardPercentiles: number[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2255
|
+
GasPriceRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2256
|
+
GetBalanceRequest: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2257
|
+
GetBlockByHashRequest: (hash: string, fullTx?: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2258
|
+
GetBlockByNumberRequest: (blockNumber: string, fullTx?: boolean) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2259
|
+
GetBlockReceiptsRequest: (blockId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2260
|
+
GetBlockTransactionCountByHashRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2261
|
+
GetBlockTransactionCountByNumberRequest: (blockNumber: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2262
|
+
GetCodeRequest: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2263
|
+
GetFilterChangesRequest: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2264
|
+
GetFilterLogsRequest: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2265
|
+
GetLogsRequest: (filter: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2266
|
+
GetProofRequest: (address: string, storageKeys: string[], blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2267
|
+
GetStorageAtRequest: (address: string, slot: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2268
|
+
GetTransactionByBlockHashAndIndexRequest: (blockHash: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2269
|
+
GetTransactionByBlockNumberAndIndexRequest: (blockNumber: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2270
|
+
GetTransactionByHashRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2271
|
+
GetTransactionCountRequest: (address: string, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2272
|
+
GetTransactionReceiptRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2273
|
+
GetUncleCountByBlockHashRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2274
|
+
GetUncleCountByBlockNumberRequest: (blockNumber: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2275
|
+
GetUncleByBlockHashAndIndexRequest: (blockHash: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2276
|
+
GetUncleByBlockNumberAndIndexRequest: (blockNumber: string, index: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2277
|
+
MaxPriorityFeePerGasRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2278
|
+
NewBlockFilterRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2279
|
+
NewFilterRequest: (filter: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2280
|
+
NewPendingTransactionFilterRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2281
|
+
SendRawTransactionRequest: (signedTx: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2282
|
+
SendTransactionRequest: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2283
|
+
SignRequest: (address: string, message: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2284
|
+
SignTransactionRequest: (tx: unknown) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2285
|
+
SimulateV1Request: (calls: unknown[], blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2286
|
+
SimulateV2Request: (payload: unknown, blockTag?: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2287
|
+
SyncingRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2288
|
+
UninstallFilterRequest: (filterId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2289
|
+
SubscribeRequest: (...args: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2290
|
+
UnsubscribeRequest: (subscriptionId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2291
|
+
GetWorkRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2292
|
+
SubmitWorkRequest: (nonce: string, powHash: string, mixDigest: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2293
|
+
SubmitHashrateRequest: (hashrate: string, id: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2294
|
+
HashrateRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2295
|
+
MiningRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2296
|
+
ProtocolVersionRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2246
2297
|
};
|
|
2247
2298
|
|
|
2248
2299
|
declare const Eth$1_Eth: typeof Eth;
|
|
@@ -2257,38 +2308,38 @@ declare const ResetRequest$2: (options?: {
|
|
|
2257
2308
|
jsonRpcUrl: string;
|
|
2258
2309
|
blockNumber?: number;
|
|
2259
2310
|
};
|
|
2260
|
-
}) => JsonRpcRequestType
|
|
2261
|
-
declare const SetBalanceRequest$2: (address: string, balance: string) => JsonRpcRequestType
|
|
2262
|
-
declare const SetCodeRequest$2: (address: string, code: string) => JsonRpcRequestType
|
|
2263
|
-
declare const SetNonceRequest$2: (address: string, nonce: string) => JsonRpcRequestType
|
|
2264
|
-
declare const SetStorageAtRequest$2: (address: string, slot: string, value: string) => JsonRpcRequestType
|
|
2265
|
-
declare const ImpersonateAccountRequest$2: (address: string) => JsonRpcRequestType
|
|
2266
|
-
declare const StopImpersonatingAccountRequest$2: (address: string) => JsonRpcRequestType
|
|
2267
|
-
declare const MineRequest$2: (blocks?: number, interval?: number) => JsonRpcRequestType
|
|
2268
|
-
declare const DropTransactionRequest$2: (hash: string) => JsonRpcRequestType
|
|
2269
|
-
declare const SetCoinbaseRequest: (address: string) => JsonRpcRequestType
|
|
2270
|
-
declare const SetMinGasPriceRequest: (gasPrice: string) => JsonRpcRequestType
|
|
2271
|
-
declare const SetNextBlockBaseFeePerGasRequest: (baseFee: string) => JsonRpcRequestType
|
|
2272
|
-
declare const SetPrevRandaoRequest: (prevRandao: string) => JsonRpcRequestType
|
|
2311
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2312
|
+
declare const SetBalanceRequest$2: (address: string, balance: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2313
|
+
declare const SetCodeRequest$2: (address: string, code: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2314
|
+
declare const SetNonceRequest$2: (address: string, nonce: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2315
|
+
declare const SetStorageAtRequest$2: (address: string, slot: string, value: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2316
|
+
declare const ImpersonateAccountRequest$2: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2317
|
+
declare const StopImpersonatingAccountRequest$2: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2318
|
+
declare const MineRequest$2: (blocks?: number, interval?: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2319
|
+
declare const DropTransactionRequest$2: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2320
|
+
declare const SetCoinbaseRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2321
|
+
declare const SetMinGasPriceRequest: (gasPrice: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2322
|
+
declare const SetNextBlockBaseFeePerGasRequest: (baseFee: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2323
|
+
declare const SetPrevRandaoRequest: (prevRandao: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2273
2324
|
declare const Hardhat: {
|
|
2274
2325
|
ResetRequest: (options?: {
|
|
2275
2326
|
forking?: {
|
|
2276
2327
|
jsonRpcUrl: string;
|
|
2277
2328
|
blockNumber?: number;
|
|
2278
2329
|
};
|
|
2279
|
-
}) => JsonRpcRequestType
|
|
2280
|
-
SetBalanceRequest: (address: string, balance: string) => JsonRpcRequestType
|
|
2281
|
-
SetCodeRequest: (address: string, code: string) => JsonRpcRequestType
|
|
2282
|
-
SetNonceRequest: (address: string, nonce: string) => JsonRpcRequestType
|
|
2283
|
-
SetStorageAtRequest: (address: string, slot: string, value: string) => JsonRpcRequestType
|
|
2284
|
-
ImpersonateAccountRequest: (address: string) => JsonRpcRequestType
|
|
2285
|
-
StopImpersonatingAccountRequest: (address: string) => JsonRpcRequestType
|
|
2286
|
-
MineRequest: (blocks?: number, interval?: number) => JsonRpcRequestType
|
|
2287
|
-
DropTransactionRequest: (hash: string) => JsonRpcRequestType
|
|
2288
|
-
SetCoinbaseRequest: (address: string) => JsonRpcRequestType
|
|
2289
|
-
SetMinGasPriceRequest: (gasPrice: string) => JsonRpcRequestType
|
|
2290
|
-
SetNextBlockBaseFeePerGasRequest: (baseFee: string) => JsonRpcRequestType
|
|
2291
|
-
SetPrevRandaoRequest: (prevRandao: string) => JsonRpcRequestType
|
|
2330
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2331
|
+
SetBalanceRequest: (address: string, balance: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2332
|
+
SetCodeRequest: (address: string, code: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2333
|
+
SetNonceRequest: (address: string, nonce: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2334
|
+
SetStorageAtRequest: (address: string, slot: string, value: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2335
|
+
ImpersonateAccountRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2336
|
+
StopImpersonatingAccountRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2337
|
+
MineRequest: (blocks?: number, interval?: number) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2338
|
+
DropTransactionRequest: (hash: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2339
|
+
SetCoinbaseRequest: (address: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2340
|
+
SetMinGasPriceRequest: (gasPrice: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2341
|
+
SetNextBlockBaseFeePerGasRequest: (baseFee: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2342
|
+
SetPrevRandaoRequest: (prevRandao: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2292
2343
|
};
|
|
2293
2344
|
|
|
2294
2345
|
declare const Hardhat$1_Hardhat: typeof Hardhat;
|
|
@@ -2300,16 +2351,13 @@ declare namespace Hardhat$1 {
|
|
|
2300
2351
|
export { DropTransactionRequest$2 as DropTransactionRequest, Hardhat$1_Hardhat as Hardhat, ImpersonateAccountRequest$2 as ImpersonateAccountRequest, MineRequest$2 as MineRequest, ResetRequest$2 as ResetRequest, SetBalanceRequest$2 as SetBalanceRequest, SetCodeRequest$2 as SetCodeRequest, Hardhat$1_SetCoinbaseRequest as SetCoinbaseRequest, Hardhat$1_SetMinGasPriceRequest as SetMinGasPriceRequest, Hardhat$1_SetNextBlockBaseFeePerGasRequest as SetNextBlockBaseFeePerGasRequest, SetNonceRequest$2 as SetNonceRequest, Hardhat$1_SetPrevRandaoRequest as SetPrevRandaoRequest, SetStorageAtRequest$2 as SetStorageAtRequest, StopImpersonatingAccountRequest$2 as StopImpersonatingAccountRequest };
|
|
2301
2352
|
}
|
|
2302
2353
|
|
|
2303
|
-
declare const
|
|
2304
|
-
declare const
|
|
2305
|
-
|
|
2306
|
-
declare const VersionRequest$1: () => JsonRpcRequestType;
|
|
2307
|
-
declare const ListeningRequest$1: () => JsonRpcRequestType;
|
|
2308
|
-
declare const PeerCountRequest$1: () => JsonRpcRequestType;
|
|
2354
|
+
declare const VersionRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2355
|
+
declare const ListeningRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2356
|
+
declare const PeerCountRequest$1: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2309
2357
|
declare const Net: {
|
|
2310
|
-
VersionRequest: () => JsonRpcRequestType
|
|
2311
|
-
ListeningRequest: () => JsonRpcRequestType
|
|
2312
|
-
PeerCountRequest: () => JsonRpcRequestType
|
|
2358
|
+
VersionRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2359
|
+
ListeningRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2360
|
+
PeerCountRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
2313
2361
|
};
|
|
2314
2362
|
|
|
2315
2363
|
declare const Net$1_Net: typeof Net;
|
|
@@ -3313,40 +3361,40 @@ declare const AnvilMethodRequest: S.Union<[S.Struct<{
|
|
|
3313
3361
|
/** Type for AnvilMethodRequest union */
|
|
3314
3362
|
type AnvilMethodRequestType = S.Schema.Type<typeof AnvilMethodRequest>;
|
|
3315
3363
|
|
|
3316
|
-
declare const index$
|
|
3317
|
-
type index$
|
|
3318
|
-
declare const index$
|
|
3319
|
-
declare const index$
|
|
3320
|
-
type index$
|
|
3321
|
-
declare const index$
|
|
3322
|
-
type index$
|
|
3323
|
-
declare const index$
|
|
3324
|
-
declare const index$
|
|
3325
|
-
declare const index$
|
|
3326
|
-
type index$
|
|
3327
|
-
declare const index$
|
|
3328
|
-
type index$
|
|
3329
|
-
declare const index$
|
|
3330
|
-
declare const index$
|
|
3331
|
-
declare const index$
|
|
3332
|
-
type index$
|
|
3333
|
-
declare const index$
|
|
3334
|
-
type index$
|
|
3335
|
-
declare const index$
|
|
3336
|
-
declare const index$
|
|
3337
|
-
declare const index$
|
|
3338
|
-
type index$
|
|
3339
|
-
declare const index$
|
|
3340
|
-
type index$
|
|
3341
|
-
declare const index$
|
|
3342
|
-
declare const index$
|
|
3343
|
-
declare const index$
|
|
3344
|
-
type index$
|
|
3345
|
-
declare const index$
|
|
3346
|
-
type index$
|
|
3347
|
-
declare const index$
|
|
3348
|
-
declare namespace index$
|
|
3349
|
-
export { index$
|
|
3364
|
+
declare const index$a_AnvilMethodRequest: typeof AnvilMethodRequest;
|
|
3365
|
+
type index$a_AnvilMethodRequestType = AnvilMethodRequestType;
|
|
3366
|
+
declare const index$a_RevertParams: typeof RevertParams;
|
|
3367
|
+
declare const index$a_RevertRequest: typeof RevertRequest;
|
|
3368
|
+
type index$a_RevertRequestType = RevertRequestType;
|
|
3369
|
+
declare const index$a_RevertResponse: typeof RevertResponse;
|
|
3370
|
+
type index$a_RevertResponseType = RevertResponseType;
|
|
3371
|
+
declare const index$a_RevertResult: typeof RevertResult;
|
|
3372
|
+
declare const index$a_SetAutomineParams: typeof SetAutomineParams;
|
|
3373
|
+
declare const index$a_SetAutomineRequest: typeof SetAutomineRequest;
|
|
3374
|
+
type index$a_SetAutomineRequestType = SetAutomineRequestType;
|
|
3375
|
+
declare const index$a_SetAutomineResponse: typeof SetAutomineResponse;
|
|
3376
|
+
type index$a_SetAutomineResponseType = SetAutomineResponseType;
|
|
3377
|
+
declare const index$a_SetAutomineResult: typeof SetAutomineResult;
|
|
3378
|
+
declare const index$a_SetBlockTimestampIntervalParams: typeof SetBlockTimestampIntervalParams;
|
|
3379
|
+
declare const index$a_SetBlockTimestampIntervalRequest: typeof SetBlockTimestampIntervalRequest;
|
|
3380
|
+
type index$a_SetBlockTimestampIntervalRequestType = SetBlockTimestampIntervalRequestType;
|
|
3381
|
+
declare const index$a_SetBlockTimestampIntervalResponse: typeof SetBlockTimestampIntervalResponse;
|
|
3382
|
+
type index$a_SetBlockTimestampIntervalResponseType = SetBlockTimestampIntervalResponseType;
|
|
3383
|
+
declare const index$a_SetBlockTimestampIntervalResult: typeof SetBlockTimestampIntervalResult;
|
|
3384
|
+
declare const index$a_SetNextBlockTimestampParams: typeof SetNextBlockTimestampParams;
|
|
3385
|
+
declare const index$a_SetNextBlockTimestampRequest: typeof SetNextBlockTimestampRequest;
|
|
3386
|
+
type index$a_SetNextBlockTimestampRequestType = SetNextBlockTimestampRequestType;
|
|
3387
|
+
declare const index$a_SetNextBlockTimestampResponse: typeof SetNextBlockTimestampResponse;
|
|
3388
|
+
type index$a_SetNextBlockTimestampResponseType = SetNextBlockTimestampResponseType;
|
|
3389
|
+
declare const index$a_SetNextBlockTimestampResult: typeof SetNextBlockTimestampResult;
|
|
3390
|
+
declare const index$a_SnapshotParams: typeof SnapshotParams;
|
|
3391
|
+
declare const index$a_SnapshotRequest: typeof SnapshotRequest;
|
|
3392
|
+
type index$a_SnapshotRequestType = SnapshotRequestType;
|
|
3393
|
+
declare const index$a_SnapshotResponse: typeof SnapshotResponse;
|
|
3394
|
+
type index$a_SnapshotResponseType = SnapshotResponseType;
|
|
3395
|
+
declare const index$a_SnapshotResult: typeof SnapshotResult;
|
|
3396
|
+
declare namespace index$a {
|
|
3397
|
+
export { index$a_AnvilMethodRequest as AnvilMethodRequest, type index$a_AnvilMethodRequestType as AnvilMethodRequestType, DropTransactionParams$1 as DropTransactionParams, DropTransactionRequest$1 as DropTransactionRequest, type DropTransactionRequestType$1 as DropTransactionRequestType, DropTransactionResponse$1 as DropTransactionResponse, type DropTransactionResponseType$1 as DropTransactionResponseType, DropTransactionResult$1 as DropTransactionResult, ForkConfigSchema$1 as ForkConfigSchema, ImpersonateAccountParams$1 as ImpersonateAccountParams, ImpersonateAccountRequest$1 as ImpersonateAccountRequest, type ImpersonateAccountRequestType$1 as ImpersonateAccountRequestType, ImpersonateAccountResponse$1 as ImpersonateAccountResponse, type ImpersonateAccountResponseType$1 as ImpersonateAccountResponseType, ImpersonateAccountResult$1 as ImpersonateAccountResult, MineParams$1 as MineParams, MineRequest$1 as MineRequest, type MineRequestType$1 as MineRequestType, MineResponse$1 as MineResponse, type MineResponseType$1 as MineResponseType, MineResult$1 as MineResult, ResetParams$1 as ResetParams, ResetRequest$1 as ResetRequest, type ResetRequestType$1 as ResetRequestType, ResetResponse$1 as ResetResponse, type ResetResponseType$1 as ResetResponseType, ResetResult$1 as ResetResult, index$a_RevertParams as RevertParams, index$a_RevertRequest as RevertRequest, type index$a_RevertRequestType as RevertRequestType, index$a_RevertResponse as RevertResponse, type index$a_RevertResponseType as RevertResponseType, index$a_RevertResult as RevertResult, index$a_SetAutomineParams as SetAutomineParams, index$a_SetAutomineRequest as SetAutomineRequest, type index$a_SetAutomineRequestType as SetAutomineRequestType, index$a_SetAutomineResponse as SetAutomineResponse, type index$a_SetAutomineResponseType as SetAutomineResponseType, index$a_SetAutomineResult as SetAutomineResult, SetBalanceParams$1 as SetBalanceParams, SetBalanceRequest$1 as SetBalanceRequest, type SetBalanceRequestType$1 as SetBalanceRequestType, SetBalanceResponse$1 as SetBalanceResponse, type SetBalanceResponseType$1 as SetBalanceResponseType, SetBalanceResult$1 as SetBalanceResult, index$a_SetBlockTimestampIntervalParams as SetBlockTimestampIntervalParams, index$a_SetBlockTimestampIntervalRequest as SetBlockTimestampIntervalRequest, type index$a_SetBlockTimestampIntervalRequestType as SetBlockTimestampIntervalRequestType, index$a_SetBlockTimestampIntervalResponse as SetBlockTimestampIntervalResponse, type index$a_SetBlockTimestampIntervalResponseType as SetBlockTimestampIntervalResponseType, index$a_SetBlockTimestampIntervalResult as SetBlockTimestampIntervalResult, SetCodeParams$1 as SetCodeParams, SetCodeRequest$1 as SetCodeRequest, type SetCodeRequestType$1 as SetCodeRequestType, SetCodeResponse$1 as SetCodeResponse, type SetCodeResponseType$1 as SetCodeResponseType, SetCodeResult$1 as SetCodeResult, index$a_SetNextBlockTimestampParams as SetNextBlockTimestampParams, index$a_SetNextBlockTimestampRequest as SetNextBlockTimestampRequest, type index$a_SetNextBlockTimestampRequestType as SetNextBlockTimestampRequestType, index$a_SetNextBlockTimestampResponse as SetNextBlockTimestampResponse, type index$a_SetNextBlockTimestampResponseType as SetNextBlockTimestampResponseType, index$a_SetNextBlockTimestampResult as SetNextBlockTimestampResult, SetNonceParams$1 as SetNonceParams, SetNonceRequest$1 as SetNonceRequest, type SetNonceRequestType$1 as SetNonceRequestType, SetNonceResponse$1 as SetNonceResponse, type SetNonceResponseType$1 as SetNonceResponseType, SetNonceResult$1 as SetNonceResult, SetStorageAtParams$1 as SetStorageAtParams, SetStorageAtRequest$1 as SetStorageAtRequest, type SetStorageAtRequestType$1 as SetStorageAtRequestType, SetStorageAtResponse$1 as SetStorageAtResponse, type SetStorageAtResponseType$1 as SetStorageAtResponseType, SetStorageAtResult$1 as SetStorageAtResult, index$a_SnapshotParams as SnapshotParams, index$a_SnapshotRequest as SnapshotRequest, type index$a_SnapshotRequestType as SnapshotRequestType, index$a_SnapshotResponse as SnapshotResponse, type index$a_SnapshotResponseType as SnapshotResponseType, index$a_SnapshotResult as SnapshotResult, StopImpersonatingAccountParams$1 as StopImpersonatingAccountParams, StopImpersonatingAccountRequest$1 as StopImpersonatingAccountRequest, type StopImpersonatingAccountRequestType$1 as StopImpersonatingAccountRequestType, StopImpersonatingAccountResponse$1 as StopImpersonatingAccountResponse, type StopImpersonatingAccountResponseType$1 as StopImpersonatingAccountResponseType, StopImpersonatingAccountResult$1 as StopImpersonatingAccountResult };
|
|
3350
3398
|
}
|
|
3351
3399
|
|
|
3352
3400
|
/**
|
|
@@ -7160,309 +7208,309 @@ declare const EthMethodRequest: S.Union<[S.Struct<{
|
|
|
7160
7208
|
/** Type for EthMethodRequest union */
|
|
7161
7209
|
type EthMethodRequestType = S.Schema.Type<typeof EthMethodRequest>;
|
|
7162
7210
|
|
|
7163
|
-
declare const index$
|
|
7164
|
-
declare const index$
|
|
7165
|
-
type index$
|
|
7166
|
-
declare const index$
|
|
7167
|
-
type index$
|
|
7168
|
-
declare const index$
|
|
7169
|
-
declare const index$
|
|
7170
|
-
declare const index$
|
|
7171
|
-
type index$
|
|
7172
|
-
declare const index$
|
|
7173
|
-
type index$
|
|
7174
|
-
declare const index$
|
|
7175
|
-
declare const index$
|
|
7176
|
-
declare const index$
|
|
7177
|
-
type index$
|
|
7178
|
-
declare const index$
|
|
7179
|
-
type index$
|
|
7180
|
-
declare const index$
|
|
7181
|
-
declare const index$
|
|
7182
|
-
declare const index$
|
|
7183
|
-
type index$
|
|
7184
|
-
declare const index$
|
|
7185
|
-
type index$
|
|
7186
|
-
declare const index$
|
|
7187
|
-
declare const index$
|
|
7188
|
-
declare const index$
|
|
7189
|
-
type index$
|
|
7190
|
-
declare const index$
|
|
7191
|
-
type index$
|
|
7192
|
-
declare const index$
|
|
7193
|
-
declare const index$
|
|
7194
|
-
declare const index$
|
|
7195
|
-
type index$
|
|
7196
|
-
declare const index$
|
|
7197
|
-
type index$
|
|
7198
|
-
declare const index$
|
|
7199
|
-
declare const index$
|
|
7200
|
-
declare const index$
|
|
7201
|
-
type index$
|
|
7202
|
-
declare const index$
|
|
7203
|
-
type index$
|
|
7204
|
-
declare const index$
|
|
7205
|
-
declare const index$
|
|
7206
|
-
declare const index$
|
|
7207
|
-
type index$
|
|
7208
|
-
declare const index$
|
|
7209
|
-
type index$
|
|
7210
|
-
declare const index$
|
|
7211
|
-
declare const index$
|
|
7212
|
-
type index$
|
|
7213
|
-
declare const index$
|
|
7214
|
-
declare const index$
|
|
7215
|
-
type index$
|
|
7216
|
-
declare const index$
|
|
7217
|
-
type index$
|
|
7218
|
-
declare const index$
|
|
7219
|
-
declare const index$
|
|
7220
|
-
declare const index$
|
|
7221
|
-
type index$
|
|
7222
|
-
declare const index$
|
|
7223
|
-
type index$
|
|
7224
|
-
declare const index$
|
|
7225
|
-
declare const index$
|
|
7226
|
-
declare const index$
|
|
7227
|
-
type index$
|
|
7228
|
-
declare const index$
|
|
7229
|
-
type index$
|
|
7230
|
-
declare const index$
|
|
7231
|
-
declare const index$
|
|
7232
|
-
declare const index$
|
|
7233
|
-
type index$
|
|
7234
|
-
declare const index$
|
|
7235
|
-
type index$
|
|
7236
|
-
declare const index$
|
|
7237
|
-
declare const index$
|
|
7238
|
-
declare const index$
|
|
7239
|
-
type index$
|
|
7240
|
-
declare const index$
|
|
7241
|
-
type index$
|
|
7242
|
-
declare const index$
|
|
7243
|
-
declare const index$
|
|
7244
|
-
declare const index$
|
|
7245
|
-
type index$
|
|
7246
|
-
declare const index$
|
|
7247
|
-
type index$
|
|
7248
|
-
declare const index$
|
|
7249
|
-
declare const index$
|
|
7250
|
-
declare const index$
|
|
7251
|
-
type index$
|
|
7252
|
-
declare const index$
|
|
7253
|
-
type index$
|
|
7254
|
-
declare const index$
|
|
7255
|
-
declare const index$
|
|
7256
|
-
declare const index$
|
|
7257
|
-
type index$
|
|
7258
|
-
declare const index$
|
|
7259
|
-
type index$
|
|
7260
|
-
declare const index$
|
|
7261
|
-
declare const index$
|
|
7262
|
-
declare const index$
|
|
7263
|
-
type index$
|
|
7264
|
-
declare const index$
|
|
7265
|
-
type index$
|
|
7266
|
-
declare const index$
|
|
7267
|
-
declare const index$
|
|
7268
|
-
declare const index$
|
|
7269
|
-
type index$
|
|
7270
|
-
declare const index$
|
|
7271
|
-
type index$
|
|
7272
|
-
declare const index$
|
|
7273
|
-
declare const index$
|
|
7274
|
-
declare const index$
|
|
7275
|
-
type index$
|
|
7276
|
-
declare const index$
|
|
7277
|
-
type index$
|
|
7278
|
-
declare const index$
|
|
7279
|
-
declare const index$
|
|
7280
|
-
declare const index$
|
|
7281
|
-
type index$
|
|
7282
|
-
declare const index$
|
|
7283
|
-
type index$
|
|
7284
|
-
declare const index$
|
|
7285
|
-
declare const index$
|
|
7286
|
-
declare const index$
|
|
7287
|
-
type index$
|
|
7288
|
-
declare const index$
|
|
7289
|
-
type index$
|
|
7290
|
-
declare const index$
|
|
7291
|
-
declare const index$
|
|
7292
|
-
declare const index$
|
|
7293
|
-
type index$
|
|
7294
|
-
declare const index$
|
|
7295
|
-
type index$
|
|
7296
|
-
declare const index$
|
|
7297
|
-
declare const index$
|
|
7298
|
-
declare const index$
|
|
7299
|
-
type index$
|
|
7300
|
-
declare const index$
|
|
7301
|
-
type index$
|
|
7302
|
-
declare const index$
|
|
7303
|
-
declare const index$
|
|
7304
|
-
declare const index$
|
|
7305
|
-
type index$
|
|
7306
|
-
declare const index$
|
|
7307
|
-
type index$
|
|
7308
|
-
declare const index$
|
|
7309
|
-
declare const index$
|
|
7310
|
-
declare const index$
|
|
7311
|
-
type index$
|
|
7312
|
-
declare const index$
|
|
7313
|
-
type index$
|
|
7314
|
-
declare const index$
|
|
7315
|
-
declare const index$
|
|
7316
|
-
declare const index$
|
|
7317
|
-
type index$
|
|
7318
|
-
declare const index$
|
|
7319
|
-
type index$
|
|
7320
|
-
declare const index$
|
|
7321
|
-
declare const index$
|
|
7322
|
-
declare const index$
|
|
7323
|
-
type index$
|
|
7324
|
-
declare const index$
|
|
7325
|
-
type index$
|
|
7326
|
-
declare const index$
|
|
7327
|
-
declare const index$
|
|
7328
|
-
declare const index$
|
|
7329
|
-
type index$
|
|
7330
|
-
declare const index$
|
|
7331
|
-
type index$
|
|
7332
|
-
declare const index$
|
|
7333
|
-
declare const index$
|
|
7334
|
-
declare const index$
|
|
7335
|
-
type index$
|
|
7336
|
-
declare const index$
|
|
7337
|
-
type index$
|
|
7338
|
-
declare const index$
|
|
7339
|
-
declare const index$
|
|
7340
|
-
declare const index$
|
|
7341
|
-
type index$
|
|
7342
|
-
declare const index$
|
|
7343
|
-
type index$
|
|
7344
|
-
declare const index$
|
|
7345
|
-
declare const index$
|
|
7346
|
-
declare const index$
|
|
7347
|
-
type index$
|
|
7348
|
-
declare const index$
|
|
7349
|
-
type index$
|
|
7350
|
-
declare const index$
|
|
7351
|
-
declare const index$
|
|
7352
|
-
declare const index$
|
|
7353
|
-
type index$
|
|
7354
|
-
declare const index$
|
|
7355
|
-
type index$
|
|
7356
|
-
declare const index$
|
|
7357
|
-
declare const index$
|
|
7358
|
-
declare const index$
|
|
7359
|
-
type index$
|
|
7360
|
-
declare const index$
|
|
7361
|
-
type index$
|
|
7362
|
-
declare const index$
|
|
7363
|
-
declare const index$
|
|
7364
|
-
declare const index$
|
|
7365
|
-
type index$
|
|
7366
|
-
declare const index$
|
|
7367
|
-
type index$
|
|
7368
|
-
declare const index$
|
|
7369
|
-
declare const index$
|
|
7370
|
-
declare const index$
|
|
7371
|
-
type index$
|
|
7372
|
-
declare const index$
|
|
7373
|
-
type index$
|
|
7374
|
-
declare const index$
|
|
7375
|
-
declare const index$
|
|
7376
|
-
declare const index$
|
|
7377
|
-
type index$
|
|
7378
|
-
declare const index$
|
|
7379
|
-
type index$
|
|
7380
|
-
declare const index$
|
|
7381
|
-
declare const index$
|
|
7382
|
-
declare const index$
|
|
7383
|
-
type index$
|
|
7384
|
-
declare const index$
|
|
7385
|
-
type index$
|
|
7386
|
-
declare const index$
|
|
7387
|
-
declare const index$
|
|
7388
|
-
declare const index$
|
|
7389
|
-
type index$
|
|
7390
|
-
declare const index$
|
|
7391
|
-
type index$
|
|
7392
|
-
declare const index$
|
|
7393
|
-
declare const index$
|
|
7394
|
-
declare const index$
|
|
7395
|
-
type index$
|
|
7396
|
-
declare const index$
|
|
7397
|
-
type index$
|
|
7398
|
-
declare const index$
|
|
7399
|
-
declare const index$
|
|
7400
|
-
declare const index$
|
|
7401
|
-
type index$
|
|
7402
|
-
declare const index$
|
|
7403
|
-
type index$
|
|
7404
|
-
declare const index$
|
|
7405
|
-
declare const index$
|
|
7406
|
-
declare const index$
|
|
7407
|
-
type index$
|
|
7408
|
-
declare const index$
|
|
7409
|
-
type index$
|
|
7410
|
-
declare const index$
|
|
7411
|
-
declare const index$
|
|
7412
|
-
declare const index$
|
|
7413
|
-
type index$
|
|
7414
|
-
declare const index$
|
|
7415
|
-
type index$
|
|
7416
|
-
declare const index$
|
|
7417
|
-
declare const index$
|
|
7418
|
-
declare const index$
|
|
7419
|
-
type index$
|
|
7420
|
-
declare const index$
|
|
7421
|
-
type index$
|
|
7422
|
-
declare const index$
|
|
7423
|
-
declare const index$
|
|
7424
|
-
declare const index$
|
|
7425
|
-
type index$
|
|
7426
|
-
declare const index$
|
|
7427
|
-
type index$
|
|
7428
|
-
declare const index$
|
|
7429
|
-
declare const index$
|
|
7430
|
-
declare const index$
|
|
7431
|
-
type index$
|
|
7432
|
-
declare const index$
|
|
7433
|
-
type index$
|
|
7434
|
-
declare const index$
|
|
7435
|
-
declare const index$
|
|
7436
|
-
declare const index$
|
|
7437
|
-
declare const index$
|
|
7438
|
-
declare const index$
|
|
7439
|
-
declare const index$
|
|
7440
|
-
declare const index$
|
|
7441
|
-
type index$
|
|
7442
|
-
declare const index$
|
|
7443
|
-
type index$
|
|
7444
|
-
declare const index$
|
|
7445
|
-
declare const index$
|
|
7446
|
-
declare const index$
|
|
7447
|
-
declare const index$
|
|
7448
|
-
type index$
|
|
7449
|
-
declare const index$
|
|
7450
|
-
type index$
|
|
7451
|
-
declare const index$
|
|
7452
|
-
declare const index$
|
|
7453
|
-
declare const index$
|
|
7454
|
-
type index$
|
|
7455
|
-
declare const index$
|
|
7456
|
-
type index$
|
|
7457
|
-
declare const index$
|
|
7458
|
-
declare const index$
|
|
7459
|
-
declare const index$
|
|
7460
|
-
type index$
|
|
7461
|
-
declare const index$
|
|
7462
|
-
type index$
|
|
7463
|
-
declare const index$
|
|
7464
|
-
declare namespace index$
|
|
7465
|
-
export { index$a_AccountsParams as AccountsParams, index$a_AccountsRequest as AccountsRequest, type index$a_AccountsRequestType as AccountsRequestType, index$a_AccountsResponse as AccountsResponse, type index$a_AccountsResponseType as AccountsResponseType, index$a_AccountsResult as AccountsResult, index$a_BlobBaseFeeParams as BlobBaseFeeParams, index$a_BlobBaseFeeRequest as BlobBaseFeeRequest, type index$a_BlobBaseFeeRequestType as BlobBaseFeeRequestType, index$a_BlobBaseFeeResponse as BlobBaseFeeResponse, type index$a_BlobBaseFeeResponseType as BlobBaseFeeResponseType, index$a_BlobBaseFeeResult as BlobBaseFeeResult, index$a_BlockNumberParams as BlockNumberParams, index$a_BlockNumberRequest as BlockNumberRequest, type index$a_BlockNumberRequestType as BlockNumberRequestType, index$a_BlockNumberResponse as BlockNumberResponse, type index$a_BlockNumberResponseType as BlockNumberResponseType, index$a_BlockNumberResult as BlockNumberResult, index$a_CallParams as CallParams, index$a_CallRequest as CallRequest, type index$a_CallRequestType as CallRequestType, index$a_CallResponse as CallResponse, type index$a_CallResponseType as CallResponseType, index$a_CallResult as CallResult, index$a_ChainIdParams as ChainIdParams, index$a_ChainIdRequest as ChainIdRequest, type index$a_ChainIdRequestType as ChainIdRequestType, index$a_ChainIdResponse as ChainIdResponse, type index$a_ChainIdResponseType as ChainIdResponseType, index$a_ChainIdResult as ChainIdResult, index$a_CoinbaseParams as CoinbaseParams, index$a_CoinbaseRequest as CoinbaseRequest, type index$a_CoinbaseRequestType as CoinbaseRequestType, index$a_CoinbaseResponse as CoinbaseResponse, type index$a_CoinbaseResponseType as CoinbaseResponseType, index$a_CoinbaseResult as CoinbaseResult, index$a_CreateAccessListParams as CreateAccessListParams, index$a_CreateAccessListRequest as CreateAccessListRequest, type index$a_CreateAccessListRequestType as CreateAccessListRequestType, index$a_CreateAccessListResponse as CreateAccessListResponse, type index$a_CreateAccessListResponseType as CreateAccessListResponseType, index$a_CreateAccessListResult as CreateAccessListResult, index$a_EstimateGasParams as EstimateGasParams, index$a_EstimateGasRequest as EstimateGasRequest, type index$a_EstimateGasRequestType as EstimateGasRequestType, index$a_EstimateGasResponse as EstimateGasResponse, type index$a_EstimateGasResponseType as EstimateGasResponseType, index$a_EstimateGasResult as EstimateGasResult, index$a_EthMethodRequest as EthMethodRequest, type index$a_EthMethodRequestType as EthMethodRequestType, index$a_FeeHistoryParams as FeeHistoryParams, index$a_FeeHistoryRequest as FeeHistoryRequest, type index$a_FeeHistoryRequestType as FeeHistoryRequestType, index$a_FeeHistoryResponse as FeeHistoryResponse, type index$a_FeeHistoryResponseType as FeeHistoryResponseType, index$a_FeeHistoryResult as FeeHistoryResult, index$a_GasPriceParams as GasPriceParams, index$a_GasPriceRequest as GasPriceRequest, type index$a_GasPriceRequestType as GasPriceRequestType, index$a_GasPriceResponse as GasPriceResponse, type index$a_GasPriceResponseType as GasPriceResponseType, index$a_GasPriceResult as GasPriceResult, index$a_GetBalanceParams as GetBalanceParams, index$a_GetBalanceRequest as GetBalanceRequest, type index$a_GetBalanceRequestType as GetBalanceRequestType, index$a_GetBalanceResponse as GetBalanceResponse, type index$a_GetBalanceResponseType as GetBalanceResponseType, index$a_GetBalanceResult as GetBalanceResult, index$a_GetBlockByHashParams as GetBlockByHashParams, index$a_GetBlockByHashRequest as GetBlockByHashRequest, type index$a_GetBlockByHashRequestType as GetBlockByHashRequestType, index$a_GetBlockByHashResponse as GetBlockByHashResponse, type index$a_GetBlockByHashResponseType as GetBlockByHashResponseType, index$a_GetBlockByHashResult as GetBlockByHashResult, index$a_GetBlockByNumberParams as GetBlockByNumberParams, index$a_GetBlockByNumberRequest as GetBlockByNumberRequest, type index$a_GetBlockByNumberRequestType as GetBlockByNumberRequestType, index$a_GetBlockByNumberResponse as GetBlockByNumberResponse, type index$a_GetBlockByNumberResponseType as GetBlockByNumberResponseType, index$a_GetBlockByNumberResult as GetBlockByNumberResult, index$a_GetBlockReceiptsParams as GetBlockReceiptsParams, index$a_GetBlockReceiptsRequest as GetBlockReceiptsRequest, type index$a_GetBlockReceiptsRequestType as GetBlockReceiptsRequestType, index$a_GetBlockReceiptsResponse as GetBlockReceiptsResponse, type index$a_GetBlockReceiptsResponseType as GetBlockReceiptsResponseType, index$a_GetBlockReceiptsResult as GetBlockReceiptsResult, index$a_GetBlockTransactionCountByHashParams as GetBlockTransactionCountByHashParams, index$a_GetBlockTransactionCountByHashRequest as GetBlockTransactionCountByHashRequest, type index$a_GetBlockTransactionCountByHashRequestType as GetBlockTransactionCountByHashRequestType, index$a_GetBlockTransactionCountByHashResponse as GetBlockTransactionCountByHashResponse, type index$a_GetBlockTransactionCountByHashResponseType as GetBlockTransactionCountByHashResponseType, index$a_GetBlockTransactionCountByHashResult as GetBlockTransactionCountByHashResult, index$a_GetBlockTransactionCountByNumberParams as GetBlockTransactionCountByNumberParams, index$a_GetBlockTransactionCountByNumberRequest as GetBlockTransactionCountByNumberRequest, type index$a_GetBlockTransactionCountByNumberRequestType as GetBlockTransactionCountByNumberRequestType, index$a_GetBlockTransactionCountByNumberResponse as GetBlockTransactionCountByNumberResponse, type index$a_GetBlockTransactionCountByNumberResponseType as GetBlockTransactionCountByNumberResponseType, index$a_GetBlockTransactionCountByNumberResult as GetBlockTransactionCountByNumberResult, index$a_GetCodeParams as GetCodeParams, index$a_GetCodeRequest as GetCodeRequest, type index$a_GetCodeRequestType as GetCodeRequestType, index$a_GetCodeResponse as GetCodeResponse, type index$a_GetCodeResponseType as GetCodeResponseType, index$a_GetCodeResult as GetCodeResult, index$a_GetFilterChangesParams as GetFilterChangesParams, index$a_GetFilterChangesRequest as GetFilterChangesRequest, type index$a_GetFilterChangesRequestType as GetFilterChangesRequestType, index$a_GetFilterChangesResponse as GetFilterChangesResponse, type index$a_GetFilterChangesResponseType as GetFilterChangesResponseType, index$a_GetFilterChangesResult as GetFilterChangesResult, index$a_GetFilterLogsParams as GetFilterLogsParams, index$a_GetFilterLogsRequest as GetFilterLogsRequest, type index$a_GetFilterLogsRequestType as GetFilterLogsRequestType, index$a_GetFilterLogsResponse as GetFilterLogsResponse, type index$a_GetFilterLogsResponseType as GetFilterLogsResponseType, index$a_GetFilterLogsResult as GetFilterLogsResult, index$a_GetLogsParams as GetLogsParams, index$a_GetLogsRequest as GetLogsRequest, type index$a_GetLogsRequestType as GetLogsRequestType, index$a_GetLogsResponse as GetLogsResponse, type index$a_GetLogsResponseType as GetLogsResponseType, index$a_GetLogsResult as GetLogsResult, index$a_GetProofParams as GetProofParams, index$a_GetProofRequest as GetProofRequest, type index$a_GetProofRequestType as GetProofRequestType, index$a_GetProofResponse as GetProofResponse, type index$a_GetProofResponseType as GetProofResponseType, index$a_GetProofResult as GetProofResult, index$a_GetStorageAtParams as GetStorageAtParams, index$a_GetStorageAtRequest as GetStorageAtRequest, type index$a_GetStorageAtRequestType as GetStorageAtRequestType, index$a_GetStorageAtResponse as GetStorageAtResponse, type index$a_GetStorageAtResponseType as GetStorageAtResponseType, index$a_GetStorageAtResult as GetStorageAtResult, index$a_GetTransactionByBlockHashAndIndexParams as GetTransactionByBlockHashAndIndexParams, index$a_GetTransactionByBlockHashAndIndexRequest as GetTransactionByBlockHashAndIndexRequest, type index$a_GetTransactionByBlockHashAndIndexRequestType as GetTransactionByBlockHashAndIndexRequestType, index$a_GetTransactionByBlockHashAndIndexResponse as GetTransactionByBlockHashAndIndexResponse, type index$a_GetTransactionByBlockHashAndIndexResponseType as GetTransactionByBlockHashAndIndexResponseType, index$a_GetTransactionByBlockHashAndIndexResult as GetTransactionByBlockHashAndIndexResult, index$a_GetTransactionByBlockNumberAndIndexParams as GetTransactionByBlockNumberAndIndexParams, index$a_GetTransactionByBlockNumberAndIndexRequest as GetTransactionByBlockNumberAndIndexRequest, type index$a_GetTransactionByBlockNumberAndIndexRequestType as GetTransactionByBlockNumberAndIndexRequestType, index$a_GetTransactionByBlockNumberAndIndexResponse as GetTransactionByBlockNumberAndIndexResponse, type index$a_GetTransactionByBlockNumberAndIndexResponseType as GetTransactionByBlockNumberAndIndexResponseType, index$a_GetTransactionByBlockNumberAndIndexResult as GetTransactionByBlockNumberAndIndexResult, index$a_GetTransactionByHashParams as GetTransactionByHashParams, index$a_GetTransactionByHashRequest as GetTransactionByHashRequest, type index$a_GetTransactionByHashRequestType as GetTransactionByHashRequestType, index$a_GetTransactionByHashResponse as GetTransactionByHashResponse, type index$a_GetTransactionByHashResponseType as GetTransactionByHashResponseType, index$a_GetTransactionByHashResult as GetTransactionByHashResult, index$a_GetTransactionCountParams as GetTransactionCountParams, index$a_GetTransactionCountRequest as GetTransactionCountRequest, type index$a_GetTransactionCountRequestType as GetTransactionCountRequestType, index$a_GetTransactionCountResponse as GetTransactionCountResponse, type index$a_GetTransactionCountResponseType as GetTransactionCountResponseType, index$a_GetTransactionCountResult as GetTransactionCountResult, index$a_GetTransactionReceiptParams as GetTransactionReceiptParams, index$a_GetTransactionReceiptRequest as GetTransactionReceiptRequest, type index$a_GetTransactionReceiptRequestType as GetTransactionReceiptRequestType, index$a_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$a_GetTransactionReceiptResponseType as GetTransactionReceiptResponseType, index$a_GetTransactionReceiptResult as GetTransactionReceiptResult, index$a_GetUncleByBlockHashAndIndexParams as GetUncleByBlockHashAndIndexParams, index$a_GetUncleByBlockHashAndIndexRequest as GetUncleByBlockHashAndIndexRequest, type index$a_GetUncleByBlockHashAndIndexRequestType as GetUncleByBlockHashAndIndexRequestType, index$a_GetUncleByBlockHashAndIndexResponse as GetUncleByBlockHashAndIndexResponse, type index$a_GetUncleByBlockHashAndIndexResponseType as GetUncleByBlockHashAndIndexResponseType, index$a_GetUncleByBlockHashAndIndexResult as GetUncleByBlockHashAndIndexResult, index$a_GetUncleByBlockNumberAndIndexParams as GetUncleByBlockNumberAndIndexParams, index$a_GetUncleByBlockNumberAndIndexRequest as GetUncleByBlockNumberAndIndexRequest, type index$a_GetUncleByBlockNumberAndIndexRequestType as GetUncleByBlockNumberAndIndexRequestType, index$a_GetUncleByBlockNumberAndIndexResponse as GetUncleByBlockNumberAndIndexResponse, type index$a_GetUncleByBlockNumberAndIndexResponseType as GetUncleByBlockNumberAndIndexResponseType, index$a_GetUncleByBlockNumberAndIndexResult as GetUncleByBlockNumberAndIndexResult, index$a_GetUncleCountByBlockHashParams as GetUncleCountByBlockHashParams, index$a_GetUncleCountByBlockHashRequest as GetUncleCountByBlockHashRequest, type index$a_GetUncleCountByBlockHashRequestType as GetUncleCountByBlockHashRequestType, index$a_GetUncleCountByBlockHashResponse as GetUncleCountByBlockHashResponse, type index$a_GetUncleCountByBlockHashResponseType as GetUncleCountByBlockHashResponseType, index$a_GetUncleCountByBlockHashResult as GetUncleCountByBlockHashResult, index$a_GetUncleCountByBlockNumberParams as GetUncleCountByBlockNumberParams, index$a_GetUncleCountByBlockNumberRequest as GetUncleCountByBlockNumberRequest, type index$a_GetUncleCountByBlockNumberRequestType as GetUncleCountByBlockNumberRequestType, index$a_GetUncleCountByBlockNumberResponse as GetUncleCountByBlockNumberResponse, type index$a_GetUncleCountByBlockNumberResponseType as GetUncleCountByBlockNumberResponseType, index$a_GetUncleCountByBlockNumberResult as GetUncleCountByBlockNumberResult, index$a_GetWorkParams as GetWorkParams, index$a_GetWorkRequest as GetWorkRequest, type index$a_GetWorkRequestType as GetWorkRequestType, index$a_GetWorkResponse as GetWorkResponse, type index$a_GetWorkResponseType as GetWorkResponseType, index$a_GetWorkResult as GetWorkResult, index$a_HashrateParams as HashrateParams, index$a_HashrateRequest as HashrateRequest, type index$a_HashrateRequestType as HashrateRequestType, index$a_HashrateResponse as HashrateResponse, type index$a_HashrateResponseType as HashrateResponseType, index$a_HashrateResult as HashrateResult, index$a_MaxPriorityFeePerGasParams as MaxPriorityFeePerGasParams, index$a_MaxPriorityFeePerGasRequest as MaxPriorityFeePerGasRequest, type index$a_MaxPriorityFeePerGasRequestType as MaxPriorityFeePerGasRequestType, index$a_MaxPriorityFeePerGasResponse as MaxPriorityFeePerGasResponse, type index$a_MaxPriorityFeePerGasResponseType as MaxPriorityFeePerGasResponseType, index$a_MaxPriorityFeePerGasResult as MaxPriorityFeePerGasResult, index$a_MiningParams as MiningParams, index$a_MiningRequest as MiningRequest, type index$a_MiningRequestType as MiningRequestType, index$a_MiningResponse as MiningResponse, type index$a_MiningResponseType as MiningResponseType, index$a_MiningResult as MiningResult, index$a_NewBlockFilterParams as NewBlockFilterParams, index$a_NewBlockFilterRequest as NewBlockFilterRequest, type index$a_NewBlockFilterRequestType as NewBlockFilterRequestType, index$a_NewBlockFilterResponse as NewBlockFilterResponse, type index$a_NewBlockFilterResponseType as NewBlockFilterResponseType, index$a_NewBlockFilterResult as NewBlockFilterResult, index$a_NewFilterParams as NewFilterParams, index$a_NewFilterRequest as NewFilterRequest, type index$a_NewFilterRequestType as NewFilterRequestType, index$a_NewFilterResponse as NewFilterResponse, type index$a_NewFilterResponseType as NewFilterResponseType, index$a_NewFilterResult as NewFilterResult, index$a_NewPendingTransactionFilterParams as NewPendingTransactionFilterParams, index$a_NewPendingTransactionFilterRequest as NewPendingTransactionFilterRequest, type index$a_NewPendingTransactionFilterRequestType as NewPendingTransactionFilterRequestType, index$a_NewPendingTransactionFilterResponse as NewPendingTransactionFilterResponse, type index$a_NewPendingTransactionFilterResponseType as NewPendingTransactionFilterResponseType, index$a_NewPendingTransactionFilterResult as NewPendingTransactionFilterResult, index$a_ProtocolVersionParams as ProtocolVersionParams, index$a_ProtocolVersionRequest as ProtocolVersionRequest, type index$a_ProtocolVersionRequestType as ProtocolVersionRequestType, index$a_ProtocolVersionResponse as ProtocolVersionResponse, type index$a_ProtocolVersionResponseType as ProtocolVersionResponseType, index$a_ProtocolVersionResult as ProtocolVersionResult, index$a_SendRawTransactionParams as SendRawTransactionParams, index$a_SendRawTransactionRequest as SendRawTransactionRequest, type index$a_SendRawTransactionRequestType as SendRawTransactionRequestType, index$a_SendRawTransactionResponse as SendRawTransactionResponse, type index$a_SendRawTransactionResponseType as SendRawTransactionResponseType, index$a_SendRawTransactionResult as SendRawTransactionResult, index$a_SendTransactionParams as SendTransactionParams, index$a_SendTransactionRequest as SendTransactionRequest, type index$a_SendTransactionRequestType as SendTransactionRequestType, index$a_SendTransactionResponse as SendTransactionResponse, type index$a_SendTransactionResponseType as SendTransactionResponseType, index$a_SendTransactionResult as SendTransactionResult, index$a_SignParams as SignParams, index$a_SignRequest as SignRequest, type index$a_SignRequestType as SignRequestType, index$a_SignResponse as SignResponse, type index$a_SignResponseType as SignResponseType, index$a_SignResult as SignResult, index$a_SignTransactionParams as SignTransactionParams, index$a_SignTransactionRequest as SignTransactionRequest, type index$a_SignTransactionRequestType as SignTransactionRequestType, index$a_SignTransactionResponse as SignTransactionResponse, type index$a_SignTransactionResponseType as SignTransactionResponseType, index$a_SignTransactionResult as SignTransactionResult, index$a_SubmitHashrateParams as SubmitHashrateParams, index$a_SubmitHashrateRequest as SubmitHashrateRequest, type index$a_SubmitHashrateRequestType as SubmitHashrateRequestType, index$a_SubmitHashrateResponse as SubmitHashrateResponse, type index$a_SubmitHashrateResponseType as SubmitHashrateResponseType, index$a_SubmitHashrateResult as SubmitHashrateResult, index$a_SubmitWorkParams as SubmitWorkParams, index$a_SubmitWorkRequest as SubmitWorkRequest, type index$a_SubmitWorkRequestType as SubmitWorkRequestType, index$a_SubmitWorkResponse as SubmitWorkResponse, type index$a_SubmitWorkResponseType as SubmitWorkResponseType, index$a_SubmitWorkResult as SubmitWorkResult, index$a_SubscribeLogsParamsNoFilter as SubscribeLogsParamsNoFilter, index$a_SubscribeLogsParamsWithFilter as SubscribeLogsParamsWithFilter, index$a_SubscribeNewHeadsParams as SubscribeNewHeadsParams, index$a_SubscribeNewPendingTransactionsParams as SubscribeNewPendingTransactionsParams, index$a_SubscribeParams as SubscribeParams, index$a_SubscribeRequest as SubscribeRequest, type index$a_SubscribeRequestType as SubscribeRequestType, index$a_SubscribeResponse as SubscribeResponse, type index$a_SubscribeResponseType as SubscribeResponseType, index$a_SubscribeResult as SubscribeResult, index$a_SubscribeSyncingParams as SubscribeSyncingParams, index$a_SyncingParams as SyncingParams, index$a_SyncingRequest as SyncingRequest, type index$a_SyncingRequestType as SyncingRequestType, index$a_SyncingResponse as SyncingResponse, type index$a_SyncingResponseType as SyncingResponseType, index$a_SyncingResult as SyncingResult, index$a_UninstallFilterParams as UninstallFilterParams, index$a_UninstallFilterRequest as UninstallFilterRequest, type index$a_UninstallFilterRequestType as UninstallFilterRequestType, index$a_UninstallFilterResponse as UninstallFilterResponse, type index$a_UninstallFilterResponseType as UninstallFilterResponseType, index$a_UninstallFilterResult as UninstallFilterResult, index$a_UnsubscribeParams as UnsubscribeParams, index$a_UnsubscribeRequest as UnsubscribeRequest, type index$a_UnsubscribeRequestType as UnsubscribeRequestType, index$a_UnsubscribeResponse as UnsubscribeResponse, type index$a_UnsubscribeResponseType as UnsubscribeResponseType, index$a_UnsubscribeResult as UnsubscribeResult };
|
|
7211
|
+
declare const index$9_AccountsParams: typeof AccountsParams;
|
|
7212
|
+
declare const index$9_AccountsRequest: typeof AccountsRequest;
|
|
7213
|
+
type index$9_AccountsRequestType = AccountsRequestType;
|
|
7214
|
+
declare const index$9_AccountsResponse: typeof AccountsResponse;
|
|
7215
|
+
type index$9_AccountsResponseType = AccountsResponseType;
|
|
7216
|
+
declare const index$9_AccountsResult: typeof AccountsResult;
|
|
7217
|
+
declare const index$9_BlobBaseFeeParams: typeof BlobBaseFeeParams;
|
|
7218
|
+
declare const index$9_BlobBaseFeeRequest: typeof BlobBaseFeeRequest;
|
|
7219
|
+
type index$9_BlobBaseFeeRequestType = BlobBaseFeeRequestType;
|
|
7220
|
+
declare const index$9_BlobBaseFeeResponse: typeof BlobBaseFeeResponse;
|
|
7221
|
+
type index$9_BlobBaseFeeResponseType = BlobBaseFeeResponseType;
|
|
7222
|
+
declare const index$9_BlobBaseFeeResult: typeof BlobBaseFeeResult;
|
|
7223
|
+
declare const index$9_BlockNumberParams: typeof BlockNumberParams;
|
|
7224
|
+
declare const index$9_BlockNumberRequest: typeof BlockNumberRequest;
|
|
7225
|
+
type index$9_BlockNumberRequestType = BlockNumberRequestType;
|
|
7226
|
+
declare const index$9_BlockNumberResponse: typeof BlockNumberResponse;
|
|
7227
|
+
type index$9_BlockNumberResponseType = BlockNumberResponseType;
|
|
7228
|
+
declare const index$9_BlockNumberResult: typeof BlockNumberResult;
|
|
7229
|
+
declare const index$9_CallParams: typeof CallParams;
|
|
7230
|
+
declare const index$9_CallRequest: typeof CallRequest;
|
|
7231
|
+
type index$9_CallRequestType = CallRequestType;
|
|
7232
|
+
declare const index$9_CallResponse: typeof CallResponse;
|
|
7233
|
+
type index$9_CallResponseType = CallResponseType;
|
|
7234
|
+
declare const index$9_CallResult: typeof CallResult;
|
|
7235
|
+
declare const index$9_ChainIdParams: typeof ChainIdParams;
|
|
7236
|
+
declare const index$9_ChainIdRequest: typeof ChainIdRequest;
|
|
7237
|
+
type index$9_ChainIdRequestType = ChainIdRequestType;
|
|
7238
|
+
declare const index$9_ChainIdResponse: typeof ChainIdResponse;
|
|
7239
|
+
type index$9_ChainIdResponseType = ChainIdResponseType;
|
|
7240
|
+
declare const index$9_ChainIdResult: typeof ChainIdResult;
|
|
7241
|
+
declare const index$9_CoinbaseParams: typeof CoinbaseParams;
|
|
7242
|
+
declare const index$9_CoinbaseRequest: typeof CoinbaseRequest;
|
|
7243
|
+
type index$9_CoinbaseRequestType = CoinbaseRequestType;
|
|
7244
|
+
declare const index$9_CoinbaseResponse: typeof CoinbaseResponse;
|
|
7245
|
+
type index$9_CoinbaseResponseType = CoinbaseResponseType;
|
|
7246
|
+
declare const index$9_CoinbaseResult: typeof CoinbaseResult;
|
|
7247
|
+
declare const index$9_CreateAccessListParams: typeof CreateAccessListParams;
|
|
7248
|
+
declare const index$9_CreateAccessListRequest: typeof CreateAccessListRequest;
|
|
7249
|
+
type index$9_CreateAccessListRequestType = CreateAccessListRequestType;
|
|
7250
|
+
declare const index$9_CreateAccessListResponse: typeof CreateAccessListResponse;
|
|
7251
|
+
type index$9_CreateAccessListResponseType = CreateAccessListResponseType;
|
|
7252
|
+
declare const index$9_CreateAccessListResult: typeof CreateAccessListResult;
|
|
7253
|
+
declare const index$9_EstimateGasParams: typeof EstimateGasParams;
|
|
7254
|
+
declare const index$9_EstimateGasRequest: typeof EstimateGasRequest;
|
|
7255
|
+
type index$9_EstimateGasRequestType = EstimateGasRequestType;
|
|
7256
|
+
declare const index$9_EstimateGasResponse: typeof EstimateGasResponse;
|
|
7257
|
+
type index$9_EstimateGasResponseType = EstimateGasResponseType;
|
|
7258
|
+
declare const index$9_EstimateGasResult: typeof EstimateGasResult;
|
|
7259
|
+
declare const index$9_EthMethodRequest: typeof EthMethodRequest;
|
|
7260
|
+
type index$9_EthMethodRequestType = EthMethodRequestType;
|
|
7261
|
+
declare const index$9_FeeHistoryParams: typeof FeeHistoryParams;
|
|
7262
|
+
declare const index$9_FeeHistoryRequest: typeof FeeHistoryRequest;
|
|
7263
|
+
type index$9_FeeHistoryRequestType = FeeHistoryRequestType;
|
|
7264
|
+
declare const index$9_FeeHistoryResponse: typeof FeeHistoryResponse;
|
|
7265
|
+
type index$9_FeeHistoryResponseType = FeeHistoryResponseType;
|
|
7266
|
+
declare const index$9_FeeHistoryResult: typeof FeeHistoryResult;
|
|
7267
|
+
declare const index$9_GasPriceParams: typeof GasPriceParams;
|
|
7268
|
+
declare const index$9_GasPriceRequest: typeof GasPriceRequest;
|
|
7269
|
+
type index$9_GasPriceRequestType = GasPriceRequestType;
|
|
7270
|
+
declare const index$9_GasPriceResponse: typeof GasPriceResponse;
|
|
7271
|
+
type index$9_GasPriceResponseType = GasPriceResponseType;
|
|
7272
|
+
declare const index$9_GasPriceResult: typeof GasPriceResult;
|
|
7273
|
+
declare const index$9_GetBalanceParams: typeof GetBalanceParams;
|
|
7274
|
+
declare const index$9_GetBalanceRequest: typeof GetBalanceRequest;
|
|
7275
|
+
type index$9_GetBalanceRequestType = GetBalanceRequestType;
|
|
7276
|
+
declare const index$9_GetBalanceResponse: typeof GetBalanceResponse;
|
|
7277
|
+
type index$9_GetBalanceResponseType = GetBalanceResponseType;
|
|
7278
|
+
declare const index$9_GetBalanceResult: typeof GetBalanceResult;
|
|
7279
|
+
declare const index$9_GetBlockByHashParams: typeof GetBlockByHashParams;
|
|
7280
|
+
declare const index$9_GetBlockByHashRequest: typeof GetBlockByHashRequest;
|
|
7281
|
+
type index$9_GetBlockByHashRequestType = GetBlockByHashRequestType;
|
|
7282
|
+
declare const index$9_GetBlockByHashResponse: typeof GetBlockByHashResponse;
|
|
7283
|
+
type index$9_GetBlockByHashResponseType = GetBlockByHashResponseType;
|
|
7284
|
+
declare const index$9_GetBlockByHashResult: typeof GetBlockByHashResult;
|
|
7285
|
+
declare const index$9_GetBlockByNumberParams: typeof GetBlockByNumberParams;
|
|
7286
|
+
declare const index$9_GetBlockByNumberRequest: typeof GetBlockByNumberRequest;
|
|
7287
|
+
type index$9_GetBlockByNumberRequestType = GetBlockByNumberRequestType;
|
|
7288
|
+
declare const index$9_GetBlockByNumberResponse: typeof GetBlockByNumberResponse;
|
|
7289
|
+
type index$9_GetBlockByNumberResponseType = GetBlockByNumberResponseType;
|
|
7290
|
+
declare const index$9_GetBlockByNumberResult: typeof GetBlockByNumberResult;
|
|
7291
|
+
declare const index$9_GetBlockReceiptsParams: typeof GetBlockReceiptsParams;
|
|
7292
|
+
declare const index$9_GetBlockReceiptsRequest: typeof GetBlockReceiptsRequest;
|
|
7293
|
+
type index$9_GetBlockReceiptsRequestType = GetBlockReceiptsRequestType;
|
|
7294
|
+
declare const index$9_GetBlockReceiptsResponse: typeof GetBlockReceiptsResponse;
|
|
7295
|
+
type index$9_GetBlockReceiptsResponseType = GetBlockReceiptsResponseType;
|
|
7296
|
+
declare const index$9_GetBlockReceiptsResult: typeof GetBlockReceiptsResult;
|
|
7297
|
+
declare const index$9_GetBlockTransactionCountByHashParams: typeof GetBlockTransactionCountByHashParams;
|
|
7298
|
+
declare const index$9_GetBlockTransactionCountByHashRequest: typeof GetBlockTransactionCountByHashRequest;
|
|
7299
|
+
type index$9_GetBlockTransactionCountByHashRequestType = GetBlockTransactionCountByHashRequestType;
|
|
7300
|
+
declare const index$9_GetBlockTransactionCountByHashResponse: typeof GetBlockTransactionCountByHashResponse;
|
|
7301
|
+
type index$9_GetBlockTransactionCountByHashResponseType = GetBlockTransactionCountByHashResponseType;
|
|
7302
|
+
declare const index$9_GetBlockTransactionCountByHashResult: typeof GetBlockTransactionCountByHashResult;
|
|
7303
|
+
declare const index$9_GetBlockTransactionCountByNumberParams: typeof GetBlockTransactionCountByNumberParams;
|
|
7304
|
+
declare const index$9_GetBlockTransactionCountByNumberRequest: typeof GetBlockTransactionCountByNumberRequest;
|
|
7305
|
+
type index$9_GetBlockTransactionCountByNumberRequestType = GetBlockTransactionCountByNumberRequestType;
|
|
7306
|
+
declare const index$9_GetBlockTransactionCountByNumberResponse: typeof GetBlockTransactionCountByNumberResponse;
|
|
7307
|
+
type index$9_GetBlockTransactionCountByNumberResponseType = GetBlockTransactionCountByNumberResponseType;
|
|
7308
|
+
declare const index$9_GetBlockTransactionCountByNumberResult: typeof GetBlockTransactionCountByNumberResult;
|
|
7309
|
+
declare const index$9_GetCodeParams: typeof GetCodeParams;
|
|
7310
|
+
declare const index$9_GetCodeRequest: typeof GetCodeRequest;
|
|
7311
|
+
type index$9_GetCodeRequestType = GetCodeRequestType;
|
|
7312
|
+
declare const index$9_GetCodeResponse: typeof GetCodeResponse;
|
|
7313
|
+
type index$9_GetCodeResponseType = GetCodeResponseType;
|
|
7314
|
+
declare const index$9_GetCodeResult: typeof GetCodeResult;
|
|
7315
|
+
declare const index$9_GetFilterChangesParams: typeof GetFilterChangesParams;
|
|
7316
|
+
declare const index$9_GetFilterChangesRequest: typeof GetFilterChangesRequest;
|
|
7317
|
+
type index$9_GetFilterChangesRequestType = GetFilterChangesRequestType;
|
|
7318
|
+
declare const index$9_GetFilterChangesResponse: typeof GetFilterChangesResponse;
|
|
7319
|
+
type index$9_GetFilterChangesResponseType = GetFilterChangesResponseType;
|
|
7320
|
+
declare const index$9_GetFilterChangesResult: typeof GetFilterChangesResult;
|
|
7321
|
+
declare const index$9_GetFilterLogsParams: typeof GetFilterLogsParams;
|
|
7322
|
+
declare const index$9_GetFilterLogsRequest: typeof GetFilterLogsRequest;
|
|
7323
|
+
type index$9_GetFilterLogsRequestType = GetFilterLogsRequestType;
|
|
7324
|
+
declare const index$9_GetFilterLogsResponse: typeof GetFilterLogsResponse;
|
|
7325
|
+
type index$9_GetFilterLogsResponseType = GetFilterLogsResponseType;
|
|
7326
|
+
declare const index$9_GetFilterLogsResult: typeof GetFilterLogsResult;
|
|
7327
|
+
declare const index$9_GetLogsParams: typeof GetLogsParams;
|
|
7328
|
+
declare const index$9_GetLogsRequest: typeof GetLogsRequest;
|
|
7329
|
+
type index$9_GetLogsRequestType = GetLogsRequestType;
|
|
7330
|
+
declare const index$9_GetLogsResponse: typeof GetLogsResponse;
|
|
7331
|
+
type index$9_GetLogsResponseType = GetLogsResponseType;
|
|
7332
|
+
declare const index$9_GetLogsResult: typeof GetLogsResult;
|
|
7333
|
+
declare const index$9_GetProofParams: typeof GetProofParams;
|
|
7334
|
+
declare const index$9_GetProofRequest: typeof GetProofRequest;
|
|
7335
|
+
type index$9_GetProofRequestType = GetProofRequestType;
|
|
7336
|
+
declare const index$9_GetProofResponse: typeof GetProofResponse;
|
|
7337
|
+
type index$9_GetProofResponseType = GetProofResponseType;
|
|
7338
|
+
declare const index$9_GetProofResult: typeof GetProofResult;
|
|
7339
|
+
declare const index$9_GetStorageAtParams: typeof GetStorageAtParams;
|
|
7340
|
+
declare const index$9_GetStorageAtRequest: typeof GetStorageAtRequest;
|
|
7341
|
+
type index$9_GetStorageAtRequestType = GetStorageAtRequestType;
|
|
7342
|
+
declare const index$9_GetStorageAtResponse: typeof GetStorageAtResponse;
|
|
7343
|
+
type index$9_GetStorageAtResponseType = GetStorageAtResponseType;
|
|
7344
|
+
declare const index$9_GetStorageAtResult: typeof GetStorageAtResult;
|
|
7345
|
+
declare const index$9_GetTransactionByBlockHashAndIndexParams: typeof GetTransactionByBlockHashAndIndexParams;
|
|
7346
|
+
declare const index$9_GetTransactionByBlockHashAndIndexRequest: typeof GetTransactionByBlockHashAndIndexRequest;
|
|
7347
|
+
type index$9_GetTransactionByBlockHashAndIndexRequestType = GetTransactionByBlockHashAndIndexRequestType;
|
|
7348
|
+
declare const index$9_GetTransactionByBlockHashAndIndexResponse: typeof GetTransactionByBlockHashAndIndexResponse;
|
|
7349
|
+
type index$9_GetTransactionByBlockHashAndIndexResponseType = GetTransactionByBlockHashAndIndexResponseType;
|
|
7350
|
+
declare const index$9_GetTransactionByBlockHashAndIndexResult: typeof GetTransactionByBlockHashAndIndexResult;
|
|
7351
|
+
declare const index$9_GetTransactionByBlockNumberAndIndexParams: typeof GetTransactionByBlockNumberAndIndexParams;
|
|
7352
|
+
declare const index$9_GetTransactionByBlockNumberAndIndexRequest: typeof GetTransactionByBlockNumberAndIndexRequest;
|
|
7353
|
+
type index$9_GetTransactionByBlockNumberAndIndexRequestType = GetTransactionByBlockNumberAndIndexRequestType;
|
|
7354
|
+
declare const index$9_GetTransactionByBlockNumberAndIndexResponse: typeof GetTransactionByBlockNumberAndIndexResponse;
|
|
7355
|
+
type index$9_GetTransactionByBlockNumberAndIndexResponseType = GetTransactionByBlockNumberAndIndexResponseType;
|
|
7356
|
+
declare const index$9_GetTransactionByBlockNumberAndIndexResult: typeof GetTransactionByBlockNumberAndIndexResult;
|
|
7357
|
+
declare const index$9_GetTransactionByHashParams: typeof GetTransactionByHashParams;
|
|
7358
|
+
declare const index$9_GetTransactionByHashRequest: typeof GetTransactionByHashRequest;
|
|
7359
|
+
type index$9_GetTransactionByHashRequestType = GetTransactionByHashRequestType;
|
|
7360
|
+
declare const index$9_GetTransactionByHashResponse: typeof GetTransactionByHashResponse;
|
|
7361
|
+
type index$9_GetTransactionByHashResponseType = GetTransactionByHashResponseType;
|
|
7362
|
+
declare const index$9_GetTransactionByHashResult: typeof GetTransactionByHashResult;
|
|
7363
|
+
declare const index$9_GetTransactionCountParams: typeof GetTransactionCountParams;
|
|
7364
|
+
declare const index$9_GetTransactionCountRequest: typeof GetTransactionCountRequest;
|
|
7365
|
+
type index$9_GetTransactionCountRequestType = GetTransactionCountRequestType;
|
|
7366
|
+
declare const index$9_GetTransactionCountResponse: typeof GetTransactionCountResponse;
|
|
7367
|
+
type index$9_GetTransactionCountResponseType = GetTransactionCountResponseType;
|
|
7368
|
+
declare const index$9_GetTransactionCountResult: typeof GetTransactionCountResult;
|
|
7369
|
+
declare const index$9_GetTransactionReceiptParams: typeof GetTransactionReceiptParams;
|
|
7370
|
+
declare const index$9_GetTransactionReceiptRequest: typeof GetTransactionReceiptRequest;
|
|
7371
|
+
type index$9_GetTransactionReceiptRequestType = GetTransactionReceiptRequestType;
|
|
7372
|
+
declare const index$9_GetTransactionReceiptResponse: typeof GetTransactionReceiptResponse;
|
|
7373
|
+
type index$9_GetTransactionReceiptResponseType = GetTransactionReceiptResponseType;
|
|
7374
|
+
declare const index$9_GetTransactionReceiptResult: typeof GetTransactionReceiptResult;
|
|
7375
|
+
declare const index$9_GetUncleByBlockHashAndIndexParams: typeof GetUncleByBlockHashAndIndexParams;
|
|
7376
|
+
declare const index$9_GetUncleByBlockHashAndIndexRequest: typeof GetUncleByBlockHashAndIndexRequest;
|
|
7377
|
+
type index$9_GetUncleByBlockHashAndIndexRequestType = GetUncleByBlockHashAndIndexRequestType;
|
|
7378
|
+
declare const index$9_GetUncleByBlockHashAndIndexResponse: typeof GetUncleByBlockHashAndIndexResponse;
|
|
7379
|
+
type index$9_GetUncleByBlockHashAndIndexResponseType = GetUncleByBlockHashAndIndexResponseType;
|
|
7380
|
+
declare const index$9_GetUncleByBlockHashAndIndexResult: typeof GetUncleByBlockHashAndIndexResult;
|
|
7381
|
+
declare const index$9_GetUncleByBlockNumberAndIndexParams: typeof GetUncleByBlockNumberAndIndexParams;
|
|
7382
|
+
declare const index$9_GetUncleByBlockNumberAndIndexRequest: typeof GetUncleByBlockNumberAndIndexRequest;
|
|
7383
|
+
type index$9_GetUncleByBlockNumberAndIndexRequestType = GetUncleByBlockNumberAndIndexRequestType;
|
|
7384
|
+
declare const index$9_GetUncleByBlockNumberAndIndexResponse: typeof GetUncleByBlockNumberAndIndexResponse;
|
|
7385
|
+
type index$9_GetUncleByBlockNumberAndIndexResponseType = GetUncleByBlockNumberAndIndexResponseType;
|
|
7386
|
+
declare const index$9_GetUncleByBlockNumberAndIndexResult: typeof GetUncleByBlockNumberAndIndexResult;
|
|
7387
|
+
declare const index$9_GetUncleCountByBlockHashParams: typeof GetUncleCountByBlockHashParams;
|
|
7388
|
+
declare const index$9_GetUncleCountByBlockHashRequest: typeof GetUncleCountByBlockHashRequest;
|
|
7389
|
+
type index$9_GetUncleCountByBlockHashRequestType = GetUncleCountByBlockHashRequestType;
|
|
7390
|
+
declare const index$9_GetUncleCountByBlockHashResponse: typeof GetUncleCountByBlockHashResponse;
|
|
7391
|
+
type index$9_GetUncleCountByBlockHashResponseType = GetUncleCountByBlockHashResponseType;
|
|
7392
|
+
declare const index$9_GetUncleCountByBlockHashResult: typeof GetUncleCountByBlockHashResult;
|
|
7393
|
+
declare const index$9_GetUncleCountByBlockNumberParams: typeof GetUncleCountByBlockNumberParams;
|
|
7394
|
+
declare const index$9_GetUncleCountByBlockNumberRequest: typeof GetUncleCountByBlockNumberRequest;
|
|
7395
|
+
type index$9_GetUncleCountByBlockNumberRequestType = GetUncleCountByBlockNumberRequestType;
|
|
7396
|
+
declare const index$9_GetUncleCountByBlockNumberResponse: typeof GetUncleCountByBlockNumberResponse;
|
|
7397
|
+
type index$9_GetUncleCountByBlockNumberResponseType = GetUncleCountByBlockNumberResponseType;
|
|
7398
|
+
declare const index$9_GetUncleCountByBlockNumberResult: typeof GetUncleCountByBlockNumberResult;
|
|
7399
|
+
declare const index$9_GetWorkParams: typeof GetWorkParams;
|
|
7400
|
+
declare const index$9_GetWorkRequest: typeof GetWorkRequest;
|
|
7401
|
+
type index$9_GetWorkRequestType = GetWorkRequestType;
|
|
7402
|
+
declare const index$9_GetWorkResponse: typeof GetWorkResponse;
|
|
7403
|
+
type index$9_GetWorkResponseType = GetWorkResponseType;
|
|
7404
|
+
declare const index$9_GetWorkResult: typeof GetWorkResult;
|
|
7405
|
+
declare const index$9_HashrateParams: typeof HashrateParams;
|
|
7406
|
+
declare const index$9_HashrateRequest: typeof HashrateRequest;
|
|
7407
|
+
type index$9_HashrateRequestType = HashrateRequestType;
|
|
7408
|
+
declare const index$9_HashrateResponse: typeof HashrateResponse;
|
|
7409
|
+
type index$9_HashrateResponseType = HashrateResponseType;
|
|
7410
|
+
declare const index$9_HashrateResult: typeof HashrateResult;
|
|
7411
|
+
declare const index$9_MaxPriorityFeePerGasParams: typeof MaxPriorityFeePerGasParams;
|
|
7412
|
+
declare const index$9_MaxPriorityFeePerGasRequest: typeof MaxPriorityFeePerGasRequest;
|
|
7413
|
+
type index$9_MaxPriorityFeePerGasRequestType = MaxPriorityFeePerGasRequestType;
|
|
7414
|
+
declare const index$9_MaxPriorityFeePerGasResponse: typeof MaxPriorityFeePerGasResponse;
|
|
7415
|
+
type index$9_MaxPriorityFeePerGasResponseType = MaxPriorityFeePerGasResponseType;
|
|
7416
|
+
declare const index$9_MaxPriorityFeePerGasResult: typeof MaxPriorityFeePerGasResult;
|
|
7417
|
+
declare const index$9_MiningParams: typeof MiningParams;
|
|
7418
|
+
declare const index$9_MiningRequest: typeof MiningRequest;
|
|
7419
|
+
type index$9_MiningRequestType = MiningRequestType;
|
|
7420
|
+
declare const index$9_MiningResponse: typeof MiningResponse;
|
|
7421
|
+
type index$9_MiningResponseType = MiningResponseType;
|
|
7422
|
+
declare const index$9_MiningResult: typeof MiningResult;
|
|
7423
|
+
declare const index$9_NewBlockFilterParams: typeof NewBlockFilterParams;
|
|
7424
|
+
declare const index$9_NewBlockFilterRequest: typeof NewBlockFilterRequest;
|
|
7425
|
+
type index$9_NewBlockFilterRequestType = NewBlockFilterRequestType;
|
|
7426
|
+
declare const index$9_NewBlockFilterResponse: typeof NewBlockFilterResponse;
|
|
7427
|
+
type index$9_NewBlockFilterResponseType = NewBlockFilterResponseType;
|
|
7428
|
+
declare const index$9_NewBlockFilterResult: typeof NewBlockFilterResult;
|
|
7429
|
+
declare const index$9_NewFilterParams: typeof NewFilterParams;
|
|
7430
|
+
declare const index$9_NewFilterRequest: typeof NewFilterRequest;
|
|
7431
|
+
type index$9_NewFilterRequestType = NewFilterRequestType;
|
|
7432
|
+
declare const index$9_NewFilterResponse: typeof NewFilterResponse;
|
|
7433
|
+
type index$9_NewFilterResponseType = NewFilterResponseType;
|
|
7434
|
+
declare const index$9_NewFilterResult: typeof NewFilterResult;
|
|
7435
|
+
declare const index$9_NewPendingTransactionFilterParams: typeof NewPendingTransactionFilterParams;
|
|
7436
|
+
declare const index$9_NewPendingTransactionFilterRequest: typeof NewPendingTransactionFilterRequest;
|
|
7437
|
+
type index$9_NewPendingTransactionFilterRequestType = NewPendingTransactionFilterRequestType;
|
|
7438
|
+
declare const index$9_NewPendingTransactionFilterResponse: typeof NewPendingTransactionFilterResponse;
|
|
7439
|
+
type index$9_NewPendingTransactionFilterResponseType = NewPendingTransactionFilterResponseType;
|
|
7440
|
+
declare const index$9_NewPendingTransactionFilterResult: typeof NewPendingTransactionFilterResult;
|
|
7441
|
+
declare const index$9_ProtocolVersionParams: typeof ProtocolVersionParams;
|
|
7442
|
+
declare const index$9_ProtocolVersionRequest: typeof ProtocolVersionRequest;
|
|
7443
|
+
type index$9_ProtocolVersionRequestType = ProtocolVersionRequestType;
|
|
7444
|
+
declare const index$9_ProtocolVersionResponse: typeof ProtocolVersionResponse;
|
|
7445
|
+
type index$9_ProtocolVersionResponseType = ProtocolVersionResponseType;
|
|
7446
|
+
declare const index$9_ProtocolVersionResult: typeof ProtocolVersionResult;
|
|
7447
|
+
declare const index$9_SendRawTransactionParams: typeof SendRawTransactionParams;
|
|
7448
|
+
declare const index$9_SendRawTransactionRequest: typeof SendRawTransactionRequest;
|
|
7449
|
+
type index$9_SendRawTransactionRequestType = SendRawTransactionRequestType;
|
|
7450
|
+
declare const index$9_SendRawTransactionResponse: typeof SendRawTransactionResponse;
|
|
7451
|
+
type index$9_SendRawTransactionResponseType = SendRawTransactionResponseType;
|
|
7452
|
+
declare const index$9_SendRawTransactionResult: typeof SendRawTransactionResult;
|
|
7453
|
+
declare const index$9_SendTransactionParams: typeof SendTransactionParams;
|
|
7454
|
+
declare const index$9_SendTransactionRequest: typeof SendTransactionRequest;
|
|
7455
|
+
type index$9_SendTransactionRequestType = SendTransactionRequestType;
|
|
7456
|
+
declare const index$9_SendTransactionResponse: typeof SendTransactionResponse;
|
|
7457
|
+
type index$9_SendTransactionResponseType = SendTransactionResponseType;
|
|
7458
|
+
declare const index$9_SendTransactionResult: typeof SendTransactionResult;
|
|
7459
|
+
declare const index$9_SignParams: typeof SignParams;
|
|
7460
|
+
declare const index$9_SignRequest: typeof SignRequest;
|
|
7461
|
+
type index$9_SignRequestType = SignRequestType;
|
|
7462
|
+
declare const index$9_SignResponse: typeof SignResponse;
|
|
7463
|
+
type index$9_SignResponseType = SignResponseType;
|
|
7464
|
+
declare const index$9_SignResult: typeof SignResult;
|
|
7465
|
+
declare const index$9_SignTransactionParams: typeof SignTransactionParams;
|
|
7466
|
+
declare const index$9_SignTransactionRequest: typeof SignTransactionRequest;
|
|
7467
|
+
type index$9_SignTransactionRequestType = SignTransactionRequestType;
|
|
7468
|
+
declare const index$9_SignTransactionResponse: typeof SignTransactionResponse;
|
|
7469
|
+
type index$9_SignTransactionResponseType = SignTransactionResponseType;
|
|
7470
|
+
declare const index$9_SignTransactionResult: typeof SignTransactionResult;
|
|
7471
|
+
declare const index$9_SubmitHashrateParams: typeof SubmitHashrateParams;
|
|
7472
|
+
declare const index$9_SubmitHashrateRequest: typeof SubmitHashrateRequest;
|
|
7473
|
+
type index$9_SubmitHashrateRequestType = SubmitHashrateRequestType;
|
|
7474
|
+
declare const index$9_SubmitHashrateResponse: typeof SubmitHashrateResponse;
|
|
7475
|
+
type index$9_SubmitHashrateResponseType = SubmitHashrateResponseType;
|
|
7476
|
+
declare const index$9_SubmitHashrateResult: typeof SubmitHashrateResult;
|
|
7477
|
+
declare const index$9_SubmitWorkParams: typeof SubmitWorkParams;
|
|
7478
|
+
declare const index$9_SubmitWorkRequest: typeof SubmitWorkRequest;
|
|
7479
|
+
type index$9_SubmitWorkRequestType = SubmitWorkRequestType;
|
|
7480
|
+
declare const index$9_SubmitWorkResponse: typeof SubmitWorkResponse;
|
|
7481
|
+
type index$9_SubmitWorkResponseType = SubmitWorkResponseType;
|
|
7482
|
+
declare const index$9_SubmitWorkResult: typeof SubmitWorkResult;
|
|
7483
|
+
declare const index$9_SubscribeLogsParamsNoFilter: typeof SubscribeLogsParamsNoFilter;
|
|
7484
|
+
declare const index$9_SubscribeLogsParamsWithFilter: typeof SubscribeLogsParamsWithFilter;
|
|
7485
|
+
declare const index$9_SubscribeNewHeadsParams: typeof SubscribeNewHeadsParams;
|
|
7486
|
+
declare const index$9_SubscribeNewPendingTransactionsParams: typeof SubscribeNewPendingTransactionsParams;
|
|
7487
|
+
declare const index$9_SubscribeParams: typeof SubscribeParams;
|
|
7488
|
+
declare const index$9_SubscribeRequest: typeof SubscribeRequest;
|
|
7489
|
+
type index$9_SubscribeRequestType = SubscribeRequestType;
|
|
7490
|
+
declare const index$9_SubscribeResponse: typeof SubscribeResponse;
|
|
7491
|
+
type index$9_SubscribeResponseType = SubscribeResponseType;
|
|
7492
|
+
declare const index$9_SubscribeResult: typeof SubscribeResult;
|
|
7493
|
+
declare const index$9_SubscribeSyncingParams: typeof SubscribeSyncingParams;
|
|
7494
|
+
declare const index$9_SyncingParams: typeof SyncingParams;
|
|
7495
|
+
declare const index$9_SyncingRequest: typeof SyncingRequest;
|
|
7496
|
+
type index$9_SyncingRequestType = SyncingRequestType;
|
|
7497
|
+
declare const index$9_SyncingResponse: typeof SyncingResponse;
|
|
7498
|
+
type index$9_SyncingResponseType = SyncingResponseType;
|
|
7499
|
+
declare const index$9_SyncingResult: typeof SyncingResult;
|
|
7500
|
+
declare const index$9_UninstallFilterParams: typeof UninstallFilterParams;
|
|
7501
|
+
declare const index$9_UninstallFilterRequest: typeof UninstallFilterRequest;
|
|
7502
|
+
type index$9_UninstallFilterRequestType = UninstallFilterRequestType;
|
|
7503
|
+
declare const index$9_UninstallFilterResponse: typeof UninstallFilterResponse;
|
|
7504
|
+
type index$9_UninstallFilterResponseType = UninstallFilterResponseType;
|
|
7505
|
+
declare const index$9_UninstallFilterResult: typeof UninstallFilterResult;
|
|
7506
|
+
declare const index$9_UnsubscribeParams: typeof UnsubscribeParams;
|
|
7507
|
+
declare const index$9_UnsubscribeRequest: typeof UnsubscribeRequest;
|
|
7508
|
+
type index$9_UnsubscribeRequestType = UnsubscribeRequestType;
|
|
7509
|
+
declare const index$9_UnsubscribeResponse: typeof UnsubscribeResponse;
|
|
7510
|
+
type index$9_UnsubscribeResponseType = UnsubscribeResponseType;
|
|
7511
|
+
declare const index$9_UnsubscribeResult: typeof UnsubscribeResult;
|
|
7512
|
+
declare namespace index$9 {
|
|
7513
|
+
export { index$9_AccountsParams as AccountsParams, index$9_AccountsRequest as AccountsRequest, type index$9_AccountsRequestType as AccountsRequestType, index$9_AccountsResponse as AccountsResponse, type index$9_AccountsResponseType as AccountsResponseType, index$9_AccountsResult as AccountsResult, index$9_BlobBaseFeeParams as BlobBaseFeeParams, index$9_BlobBaseFeeRequest as BlobBaseFeeRequest, type index$9_BlobBaseFeeRequestType as BlobBaseFeeRequestType, index$9_BlobBaseFeeResponse as BlobBaseFeeResponse, type index$9_BlobBaseFeeResponseType as BlobBaseFeeResponseType, index$9_BlobBaseFeeResult as BlobBaseFeeResult, index$9_BlockNumberParams as BlockNumberParams, index$9_BlockNumberRequest as BlockNumberRequest, type index$9_BlockNumberRequestType as BlockNumberRequestType, index$9_BlockNumberResponse as BlockNumberResponse, type index$9_BlockNumberResponseType as BlockNumberResponseType, index$9_BlockNumberResult as BlockNumberResult, index$9_CallParams as CallParams, index$9_CallRequest as CallRequest, type index$9_CallRequestType as CallRequestType, index$9_CallResponse as CallResponse, type index$9_CallResponseType as CallResponseType, index$9_CallResult as CallResult, index$9_ChainIdParams as ChainIdParams, index$9_ChainIdRequest as ChainIdRequest, type index$9_ChainIdRequestType as ChainIdRequestType, index$9_ChainIdResponse as ChainIdResponse, type index$9_ChainIdResponseType as ChainIdResponseType, index$9_ChainIdResult as ChainIdResult, index$9_CoinbaseParams as CoinbaseParams, index$9_CoinbaseRequest as CoinbaseRequest, type index$9_CoinbaseRequestType as CoinbaseRequestType, index$9_CoinbaseResponse as CoinbaseResponse, type index$9_CoinbaseResponseType as CoinbaseResponseType, index$9_CoinbaseResult as CoinbaseResult, index$9_CreateAccessListParams as CreateAccessListParams, index$9_CreateAccessListRequest as CreateAccessListRequest, type index$9_CreateAccessListRequestType as CreateAccessListRequestType, index$9_CreateAccessListResponse as CreateAccessListResponse, type index$9_CreateAccessListResponseType as CreateAccessListResponseType, index$9_CreateAccessListResult as CreateAccessListResult, index$9_EstimateGasParams as EstimateGasParams, index$9_EstimateGasRequest as EstimateGasRequest, type index$9_EstimateGasRequestType as EstimateGasRequestType, index$9_EstimateGasResponse as EstimateGasResponse, type index$9_EstimateGasResponseType as EstimateGasResponseType, index$9_EstimateGasResult as EstimateGasResult, index$9_EthMethodRequest as EthMethodRequest, type index$9_EthMethodRequestType as EthMethodRequestType, index$9_FeeHistoryParams as FeeHistoryParams, index$9_FeeHistoryRequest as FeeHistoryRequest, type index$9_FeeHistoryRequestType as FeeHistoryRequestType, index$9_FeeHistoryResponse as FeeHistoryResponse, type index$9_FeeHistoryResponseType as FeeHistoryResponseType, index$9_FeeHistoryResult as FeeHistoryResult, index$9_GasPriceParams as GasPriceParams, index$9_GasPriceRequest as GasPriceRequest, type index$9_GasPriceRequestType as GasPriceRequestType, index$9_GasPriceResponse as GasPriceResponse, type index$9_GasPriceResponseType as GasPriceResponseType, index$9_GasPriceResult as GasPriceResult, index$9_GetBalanceParams as GetBalanceParams, index$9_GetBalanceRequest as GetBalanceRequest, type index$9_GetBalanceRequestType as GetBalanceRequestType, index$9_GetBalanceResponse as GetBalanceResponse, type index$9_GetBalanceResponseType as GetBalanceResponseType, index$9_GetBalanceResult as GetBalanceResult, index$9_GetBlockByHashParams as GetBlockByHashParams, index$9_GetBlockByHashRequest as GetBlockByHashRequest, type index$9_GetBlockByHashRequestType as GetBlockByHashRequestType, index$9_GetBlockByHashResponse as GetBlockByHashResponse, type index$9_GetBlockByHashResponseType as GetBlockByHashResponseType, index$9_GetBlockByHashResult as GetBlockByHashResult, index$9_GetBlockByNumberParams as GetBlockByNumberParams, index$9_GetBlockByNumberRequest as GetBlockByNumberRequest, type index$9_GetBlockByNumberRequestType as GetBlockByNumberRequestType, index$9_GetBlockByNumberResponse as GetBlockByNumberResponse, type index$9_GetBlockByNumberResponseType as GetBlockByNumberResponseType, index$9_GetBlockByNumberResult as GetBlockByNumberResult, index$9_GetBlockReceiptsParams as GetBlockReceiptsParams, index$9_GetBlockReceiptsRequest as GetBlockReceiptsRequest, type index$9_GetBlockReceiptsRequestType as GetBlockReceiptsRequestType, index$9_GetBlockReceiptsResponse as GetBlockReceiptsResponse, type index$9_GetBlockReceiptsResponseType as GetBlockReceiptsResponseType, index$9_GetBlockReceiptsResult as GetBlockReceiptsResult, index$9_GetBlockTransactionCountByHashParams as GetBlockTransactionCountByHashParams, index$9_GetBlockTransactionCountByHashRequest as GetBlockTransactionCountByHashRequest, type index$9_GetBlockTransactionCountByHashRequestType as GetBlockTransactionCountByHashRequestType, index$9_GetBlockTransactionCountByHashResponse as GetBlockTransactionCountByHashResponse, type index$9_GetBlockTransactionCountByHashResponseType as GetBlockTransactionCountByHashResponseType, index$9_GetBlockTransactionCountByHashResult as GetBlockTransactionCountByHashResult, index$9_GetBlockTransactionCountByNumberParams as GetBlockTransactionCountByNumberParams, index$9_GetBlockTransactionCountByNumberRequest as GetBlockTransactionCountByNumberRequest, type index$9_GetBlockTransactionCountByNumberRequestType as GetBlockTransactionCountByNumberRequestType, index$9_GetBlockTransactionCountByNumberResponse as GetBlockTransactionCountByNumberResponse, type index$9_GetBlockTransactionCountByNumberResponseType as GetBlockTransactionCountByNumberResponseType, index$9_GetBlockTransactionCountByNumberResult as GetBlockTransactionCountByNumberResult, index$9_GetCodeParams as GetCodeParams, index$9_GetCodeRequest as GetCodeRequest, type index$9_GetCodeRequestType as GetCodeRequestType, index$9_GetCodeResponse as GetCodeResponse, type index$9_GetCodeResponseType as GetCodeResponseType, index$9_GetCodeResult as GetCodeResult, index$9_GetFilterChangesParams as GetFilterChangesParams, index$9_GetFilterChangesRequest as GetFilterChangesRequest, type index$9_GetFilterChangesRequestType as GetFilterChangesRequestType, index$9_GetFilterChangesResponse as GetFilterChangesResponse, type index$9_GetFilterChangesResponseType as GetFilterChangesResponseType, index$9_GetFilterChangesResult as GetFilterChangesResult, index$9_GetFilterLogsParams as GetFilterLogsParams, index$9_GetFilterLogsRequest as GetFilterLogsRequest, type index$9_GetFilterLogsRequestType as GetFilterLogsRequestType, index$9_GetFilterLogsResponse as GetFilterLogsResponse, type index$9_GetFilterLogsResponseType as GetFilterLogsResponseType, index$9_GetFilterLogsResult as GetFilterLogsResult, index$9_GetLogsParams as GetLogsParams, index$9_GetLogsRequest as GetLogsRequest, type index$9_GetLogsRequestType as GetLogsRequestType, index$9_GetLogsResponse as GetLogsResponse, type index$9_GetLogsResponseType as GetLogsResponseType, index$9_GetLogsResult as GetLogsResult, index$9_GetProofParams as GetProofParams, index$9_GetProofRequest as GetProofRequest, type index$9_GetProofRequestType as GetProofRequestType, index$9_GetProofResponse as GetProofResponse, type index$9_GetProofResponseType as GetProofResponseType, index$9_GetProofResult as GetProofResult, index$9_GetStorageAtParams as GetStorageAtParams, index$9_GetStorageAtRequest as GetStorageAtRequest, type index$9_GetStorageAtRequestType as GetStorageAtRequestType, index$9_GetStorageAtResponse as GetStorageAtResponse, type index$9_GetStorageAtResponseType as GetStorageAtResponseType, index$9_GetStorageAtResult as GetStorageAtResult, index$9_GetTransactionByBlockHashAndIndexParams as GetTransactionByBlockHashAndIndexParams, index$9_GetTransactionByBlockHashAndIndexRequest as GetTransactionByBlockHashAndIndexRequest, type index$9_GetTransactionByBlockHashAndIndexRequestType as GetTransactionByBlockHashAndIndexRequestType, index$9_GetTransactionByBlockHashAndIndexResponse as GetTransactionByBlockHashAndIndexResponse, type index$9_GetTransactionByBlockHashAndIndexResponseType as GetTransactionByBlockHashAndIndexResponseType, index$9_GetTransactionByBlockHashAndIndexResult as GetTransactionByBlockHashAndIndexResult, index$9_GetTransactionByBlockNumberAndIndexParams as GetTransactionByBlockNumberAndIndexParams, index$9_GetTransactionByBlockNumberAndIndexRequest as GetTransactionByBlockNumberAndIndexRequest, type index$9_GetTransactionByBlockNumberAndIndexRequestType as GetTransactionByBlockNumberAndIndexRequestType, index$9_GetTransactionByBlockNumberAndIndexResponse as GetTransactionByBlockNumberAndIndexResponse, type index$9_GetTransactionByBlockNumberAndIndexResponseType as GetTransactionByBlockNumberAndIndexResponseType, index$9_GetTransactionByBlockNumberAndIndexResult as GetTransactionByBlockNumberAndIndexResult, index$9_GetTransactionByHashParams as GetTransactionByHashParams, index$9_GetTransactionByHashRequest as GetTransactionByHashRequest, type index$9_GetTransactionByHashRequestType as GetTransactionByHashRequestType, index$9_GetTransactionByHashResponse as GetTransactionByHashResponse, type index$9_GetTransactionByHashResponseType as GetTransactionByHashResponseType, index$9_GetTransactionByHashResult as GetTransactionByHashResult, index$9_GetTransactionCountParams as GetTransactionCountParams, index$9_GetTransactionCountRequest as GetTransactionCountRequest, type index$9_GetTransactionCountRequestType as GetTransactionCountRequestType, index$9_GetTransactionCountResponse as GetTransactionCountResponse, type index$9_GetTransactionCountResponseType as GetTransactionCountResponseType, index$9_GetTransactionCountResult as GetTransactionCountResult, index$9_GetTransactionReceiptParams as GetTransactionReceiptParams, index$9_GetTransactionReceiptRequest as GetTransactionReceiptRequest, type index$9_GetTransactionReceiptRequestType as GetTransactionReceiptRequestType, index$9_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$9_GetTransactionReceiptResponseType as GetTransactionReceiptResponseType, index$9_GetTransactionReceiptResult as GetTransactionReceiptResult, index$9_GetUncleByBlockHashAndIndexParams as GetUncleByBlockHashAndIndexParams, index$9_GetUncleByBlockHashAndIndexRequest as GetUncleByBlockHashAndIndexRequest, type index$9_GetUncleByBlockHashAndIndexRequestType as GetUncleByBlockHashAndIndexRequestType, index$9_GetUncleByBlockHashAndIndexResponse as GetUncleByBlockHashAndIndexResponse, type index$9_GetUncleByBlockHashAndIndexResponseType as GetUncleByBlockHashAndIndexResponseType, index$9_GetUncleByBlockHashAndIndexResult as GetUncleByBlockHashAndIndexResult, index$9_GetUncleByBlockNumberAndIndexParams as GetUncleByBlockNumberAndIndexParams, index$9_GetUncleByBlockNumberAndIndexRequest as GetUncleByBlockNumberAndIndexRequest, type index$9_GetUncleByBlockNumberAndIndexRequestType as GetUncleByBlockNumberAndIndexRequestType, index$9_GetUncleByBlockNumberAndIndexResponse as GetUncleByBlockNumberAndIndexResponse, type index$9_GetUncleByBlockNumberAndIndexResponseType as GetUncleByBlockNumberAndIndexResponseType, index$9_GetUncleByBlockNumberAndIndexResult as GetUncleByBlockNumberAndIndexResult, index$9_GetUncleCountByBlockHashParams as GetUncleCountByBlockHashParams, index$9_GetUncleCountByBlockHashRequest as GetUncleCountByBlockHashRequest, type index$9_GetUncleCountByBlockHashRequestType as GetUncleCountByBlockHashRequestType, index$9_GetUncleCountByBlockHashResponse as GetUncleCountByBlockHashResponse, type index$9_GetUncleCountByBlockHashResponseType as GetUncleCountByBlockHashResponseType, index$9_GetUncleCountByBlockHashResult as GetUncleCountByBlockHashResult, index$9_GetUncleCountByBlockNumberParams as GetUncleCountByBlockNumberParams, index$9_GetUncleCountByBlockNumberRequest as GetUncleCountByBlockNumberRequest, type index$9_GetUncleCountByBlockNumberRequestType as GetUncleCountByBlockNumberRequestType, index$9_GetUncleCountByBlockNumberResponse as GetUncleCountByBlockNumberResponse, type index$9_GetUncleCountByBlockNumberResponseType as GetUncleCountByBlockNumberResponseType, index$9_GetUncleCountByBlockNumberResult as GetUncleCountByBlockNumberResult, index$9_GetWorkParams as GetWorkParams, index$9_GetWorkRequest as GetWorkRequest, type index$9_GetWorkRequestType as GetWorkRequestType, index$9_GetWorkResponse as GetWorkResponse, type index$9_GetWorkResponseType as GetWorkResponseType, index$9_GetWorkResult as GetWorkResult, index$9_HashrateParams as HashrateParams, index$9_HashrateRequest as HashrateRequest, type index$9_HashrateRequestType as HashrateRequestType, index$9_HashrateResponse as HashrateResponse, type index$9_HashrateResponseType as HashrateResponseType, index$9_HashrateResult as HashrateResult, index$9_MaxPriorityFeePerGasParams as MaxPriorityFeePerGasParams, index$9_MaxPriorityFeePerGasRequest as MaxPriorityFeePerGasRequest, type index$9_MaxPriorityFeePerGasRequestType as MaxPriorityFeePerGasRequestType, index$9_MaxPriorityFeePerGasResponse as MaxPriorityFeePerGasResponse, type index$9_MaxPriorityFeePerGasResponseType as MaxPriorityFeePerGasResponseType, index$9_MaxPriorityFeePerGasResult as MaxPriorityFeePerGasResult, index$9_MiningParams as MiningParams, index$9_MiningRequest as MiningRequest, type index$9_MiningRequestType as MiningRequestType, index$9_MiningResponse as MiningResponse, type index$9_MiningResponseType as MiningResponseType, index$9_MiningResult as MiningResult, index$9_NewBlockFilterParams as NewBlockFilterParams, index$9_NewBlockFilterRequest as NewBlockFilterRequest, type index$9_NewBlockFilterRequestType as NewBlockFilterRequestType, index$9_NewBlockFilterResponse as NewBlockFilterResponse, type index$9_NewBlockFilterResponseType as NewBlockFilterResponseType, index$9_NewBlockFilterResult as NewBlockFilterResult, index$9_NewFilterParams as NewFilterParams, index$9_NewFilterRequest as NewFilterRequest, type index$9_NewFilterRequestType as NewFilterRequestType, index$9_NewFilterResponse as NewFilterResponse, type index$9_NewFilterResponseType as NewFilterResponseType, index$9_NewFilterResult as NewFilterResult, index$9_NewPendingTransactionFilterParams as NewPendingTransactionFilterParams, index$9_NewPendingTransactionFilterRequest as NewPendingTransactionFilterRequest, type index$9_NewPendingTransactionFilterRequestType as NewPendingTransactionFilterRequestType, index$9_NewPendingTransactionFilterResponse as NewPendingTransactionFilterResponse, type index$9_NewPendingTransactionFilterResponseType as NewPendingTransactionFilterResponseType, index$9_NewPendingTransactionFilterResult as NewPendingTransactionFilterResult, index$9_ProtocolVersionParams as ProtocolVersionParams, index$9_ProtocolVersionRequest as ProtocolVersionRequest, type index$9_ProtocolVersionRequestType as ProtocolVersionRequestType, index$9_ProtocolVersionResponse as ProtocolVersionResponse, type index$9_ProtocolVersionResponseType as ProtocolVersionResponseType, index$9_ProtocolVersionResult as ProtocolVersionResult, index$9_SendRawTransactionParams as SendRawTransactionParams, index$9_SendRawTransactionRequest as SendRawTransactionRequest, type index$9_SendRawTransactionRequestType as SendRawTransactionRequestType, index$9_SendRawTransactionResponse as SendRawTransactionResponse, type index$9_SendRawTransactionResponseType as SendRawTransactionResponseType, index$9_SendRawTransactionResult as SendRawTransactionResult, index$9_SendTransactionParams as SendTransactionParams, index$9_SendTransactionRequest as SendTransactionRequest, type index$9_SendTransactionRequestType as SendTransactionRequestType, index$9_SendTransactionResponse as SendTransactionResponse, type index$9_SendTransactionResponseType as SendTransactionResponseType, index$9_SendTransactionResult as SendTransactionResult, index$9_SignParams as SignParams, index$9_SignRequest as SignRequest, type index$9_SignRequestType as SignRequestType, index$9_SignResponse as SignResponse, type index$9_SignResponseType as SignResponseType, index$9_SignResult as SignResult, index$9_SignTransactionParams as SignTransactionParams, index$9_SignTransactionRequest as SignTransactionRequest, type index$9_SignTransactionRequestType as SignTransactionRequestType, index$9_SignTransactionResponse as SignTransactionResponse, type index$9_SignTransactionResponseType as SignTransactionResponseType, index$9_SignTransactionResult as SignTransactionResult, index$9_SubmitHashrateParams as SubmitHashrateParams, index$9_SubmitHashrateRequest as SubmitHashrateRequest, type index$9_SubmitHashrateRequestType as SubmitHashrateRequestType, index$9_SubmitHashrateResponse as SubmitHashrateResponse, type index$9_SubmitHashrateResponseType as SubmitHashrateResponseType, index$9_SubmitHashrateResult as SubmitHashrateResult, index$9_SubmitWorkParams as SubmitWorkParams, index$9_SubmitWorkRequest as SubmitWorkRequest, type index$9_SubmitWorkRequestType as SubmitWorkRequestType, index$9_SubmitWorkResponse as SubmitWorkResponse, type index$9_SubmitWorkResponseType as SubmitWorkResponseType, index$9_SubmitWorkResult as SubmitWorkResult, index$9_SubscribeLogsParamsNoFilter as SubscribeLogsParamsNoFilter, index$9_SubscribeLogsParamsWithFilter as SubscribeLogsParamsWithFilter, index$9_SubscribeNewHeadsParams as SubscribeNewHeadsParams, index$9_SubscribeNewPendingTransactionsParams as SubscribeNewPendingTransactionsParams, index$9_SubscribeParams as SubscribeParams, index$9_SubscribeRequest as SubscribeRequest, type index$9_SubscribeRequestType as SubscribeRequestType, index$9_SubscribeResponse as SubscribeResponse, type index$9_SubscribeResponseType as SubscribeResponseType, index$9_SubscribeResult as SubscribeResult, index$9_SubscribeSyncingParams as SubscribeSyncingParams, index$9_SyncingParams as SyncingParams, index$9_SyncingRequest as SyncingRequest, type index$9_SyncingRequestType as SyncingRequestType, index$9_SyncingResponse as SyncingResponse, type index$9_SyncingResponseType as SyncingResponseType, index$9_SyncingResult as SyncingResult, index$9_UninstallFilterParams as UninstallFilterParams, index$9_UninstallFilterRequest as UninstallFilterRequest, type index$9_UninstallFilterRequestType as UninstallFilterRequestType, index$9_UninstallFilterResponse as UninstallFilterResponse, type index$9_UninstallFilterResponseType as UninstallFilterResponseType, index$9_UninstallFilterResult as UninstallFilterResult, index$9_UnsubscribeParams as UnsubscribeParams, index$9_UnsubscribeRequest as UnsubscribeRequest, type index$9_UnsubscribeRequestType as UnsubscribeRequestType, index$9_UnsubscribeResponse as UnsubscribeResponse, type index$9_UnsubscribeResponseType as UnsubscribeResponseType, index$9_UnsubscribeResult as UnsubscribeResult };
|
|
7466
7514
|
}
|
|
7467
7515
|
|
|
7468
7516
|
/**
|
|
@@ -7882,65 +7930,65 @@ declare const HardhatMethodRequest: S.Union<[S.Struct<{
|
|
|
7882
7930
|
/** Type for HardhatMethodRequest union */
|
|
7883
7931
|
type HardhatMethodRequestType = S.Schema.Type<typeof HardhatMethodRequest>;
|
|
7884
7932
|
|
|
7885
|
-
declare const index$
|
|
7886
|
-
declare const index$
|
|
7887
|
-
type index$
|
|
7888
|
-
declare const index$
|
|
7889
|
-
type index$
|
|
7890
|
-
declare const index$
|
|
7891
|
-
declare const index$
|
|
7892
|
-
declare const index$
|
|
7893
|
-
type index$
|
|
7894
|
-
declare const index$
|
|
7895
|
-
declare const index$
|
|
7896
|
-
type index$
|
|
7897
|
-
declare const index$
|
|
7898
|
-
type index$
|
|
7899
|
-
declare const index$
|
|
7900
|
-
declare const index$
|
|
7901
|
-
declare const index$
|
|
7902
|
-
type index$
|
|
7903
|
-
declare const index$
|
|
7904
|
-
type index$
|
|
7905
|
-
declare const index$
|
|
7906
|
-
declare const index$
|
|
7907
|
-
declare const index$
|
|
7908
|
-
type index$
|
|
7909
|
-
declare const index$
|
|
7910
|
-
type index$
|
|
7911
|
-
declare const index$
|
|
7912
|
-
declare const index$
|
|
7913
|
-
declare const index$
|
|
7914
|
-
type index$
|
|
7915
|
-
declare const index$
|
|
7916
|
-
type index$
|
|
7917
|
-
declare const index$
|
|
7918
|
-
declare const index$
|
|
7919
|
-
declare const index$
|
|
7920
|
-
type index$
|
|
7921
|
-
declare const index$
|
|
7922
|
-
type index$
|
|
7923
|
-
declare const index$
|
|
7924
|
-
declare const index$
|
|
7925
|
-
declare const index$
|
|
7926
|
-
type index$
|
|
7927
|
-
declare const index$
|
|
7928
|
-
type index$
|
|
7929
|
-
declare const index$
|
|
7930
|
-
declare const index$
|
|
7931
|
-
declare const index$
|
|
7932
|
-
type index$
|
|
7933
|
-
declare const index$
|
|
7934
|
-
type index$
|
|
7935
|
-
declare const index$
|
|
7936
|
-
declare const index$
|
|
7937
|
-
declare const index$
|
|
7938
|
-
type index$
|
|
7939
|
-
declare const index$
|
|
7940
|
-
type index$
|
|
7941
|
-
declare const index$
|
|
7942
|
-
declare namespace index$
|
|
7943
|
-
export { index$
|
|
7933
|
+
declare const index$8_DropTransactionParams: typeof DropTransactionParams;
|
|
7934
|
+
declare const index$8_DropTransactionRequest: typeof DropTransactionRequest;
|
|
7935
|
+
type index$8_DropTransactionRequestType = DropTransactionRequestType;
|
|
7936
|
+
declare const index$8_DropTransactionResponse: typeof DropTransactionResponse;
|
|
7937
|
+
type index$8_DropTransactionResponseType = DropTransactionResponseType;
|
|
7938
|
+
declare const index$8_DropTransactionResult: typeof DropTransactionResult;
|
|
7939
|
+
declare const index$8_ForkConfigSchema: typeof ForkConfigSchema;
|
|
7940
|
+
declare const index$8_HardhatMethodRequest: typeof HardhatMethodRequest;
|
|
7941
|
+
type index$8_HardhatMethodRequestType = HardhatMethodRequestType;
|
|
7942
|
+
declare const index$8_ImpersonateAccountParams: typeof ImpersonateAccountParams;
|
|
7943
|
+
declare const index$8_ImpersonateAccountRequest: typeof ImpersonateAccountRequest;
|
|
7944
|
+
type index$8_ImpersonateAccountRequestType = ImpersonateAccountRequestType;
|
|
7945
|
+
declare const index$8_ImpersonateAccountResponse: typeof ImpersonateAccountResponse;
|
|
7946
|
+
type index$8_ImpersonateAccountResponseType = ImpersonateAccountResponseType;
|
|
7947
|
+
declare const index$8_ImpersonateAccountResult: typeof ImpersonateAccountResult;
|
|
7948
|
+
declare const index$8_MineParams: typeof MineParams;
|
|
7949
|
+
declare const index$8_MineRequest: typeof MineRequest;
|
|
7950
|
+
type index$8_MineRequestType = MineRequestType;
|
|
7951
|
+
declare const index$8_MineResponse: typeof MineResponse;
|
|
7952
|
+
type index$8_MineResponseType = MineResponseType;
|
|
7953
|
+
declare const index$8_MineResult: typeof MineResult;
|
|
7954
|
+
declare const index$8_ResetParams: typeof ResetParams;
|
|
7955
|
+
declare const index$8_ResetRequest: typeof ResetRequest;
|
|
7956
|
+
type index$8_ResetRequestType = ResetRequestType;
|
|
7957
|
+
declare const index$8_ResetResponse: typeof ResetResponse;
|
|
7958
|
+
type index$8_ResetResponseType = ResetResponseType;
|
|
7959
|
+
declare const index$8_ResetResult: typeof ResetResult;
|
|
7960
|
+
declare const index$8_SetBalanceParams: typeof SetBalanceParams;
|
|
7961
|
+
declare const index$8_SetBalanceRequest: typeof SetBalanceRequest;
|
|
7962
|
+
type index$8_SetBalanceRequestType = SetBalanceRequestType;
|
|
7963
|
+
declare const index$8_SetBalanceResponse: typeof SetBalanceResponse;
|
|
7964
|
+
type index$8_SetBalanceResponseType = SetBalanceResponseType;
|
|
7965
|
+
declare const index$8_SetBalanceResult: typeof SetBalanceResult;
|
|
7966
|
+
declare const index$8_SetCodeParams: typeof SetCodeParams;
|
|
7967
|
+
declare const index$8_SetCodeRequest: typeof SetCodeRequest;
|
|
7968
|
+
type index$8_SetCodeRequestType = SetCodeRequestType;
|
|
7969
|
+
declare const index$8_SetCodeResponse: typeof SetCodeResponse;
|
|
7970
|
+
type index$8_SetCodeResponseType = SetCodeResponseType;
|
|
7971
|
+
declare const index$8_SetCodeResult: typeof SetCodeResult;
|
|
7972
|
+
declare const index$8_SetNonceParams: typeof SetNonceParams;
|
|
7973
|
+
declare const index$8_SetNonceRequest: typeof SetNonceRequest;
|
|
7974
|
+
type index$8_SetNonceRequestType = SetNonceRequestType;
|
|
7975
|
+
declare const index$8_SetNonceResponse: typeof SetNonceResponse;
|
|
7976
|
+
type index$8_SetNonceResponseType = SetNonceResponseType;
|
|
7977
|
+
declare const index$8_SetNonceResult: typeof SetNonceResult;
|
|
7978
|
+
declare const index$8_SetStorageAtParams: typeof SetStorageAtParams;
|
|
7979
|
+
declare const index$8_SetStorageAtRequest: typeof SetStorageAtRequest;
|
|
7980
|
+
type index$8_SetStorageAtRequestType = SetStorageAtRequestType;
|
|
7981
|
+
declare const index$8_SetStorageAtResponse: typeof SetStorageAtResponse;
|
|
7982
|
+
type index$8_SetStorageAtResponseType = SetStorageAtResponseType;
|
|
7983
|
+
declare const index$8_SetStorageAtResult: typeof SetStorageAtResult;
|
|
7984
|
+
declare const index$8_StopImpersonatingAccountParams: typeof StopImpersonatingAccountParams;
|
|
7985
|
+
declare const index$8_StopImpersonatingAccountRequest: typeof StopImpersonatingAccountRequest;
|
|
7986
|
+
type index$8_StopImpersonatingAccountRequestType = StopImpersonatingAccountRequestType;
|
|
7987
|
+
declare const index$8_StopImpersonatingAccountResponse: typeof StopImpersonatingAccountResponse;
|
|
7988
|
+
type index$8_StopImpersonatingAccountResponseType = StopImpersonatingAccountResponseType;
|
|
7989
|
+
declare const index$8_StopImpersonatingAccountResult: typeof StopImpersonatingAccountResult;
|
|
7990
|
+
declare namespace index$8 {
|
|
7991
|
+
export { index$8_DropTransactionParams as DropTransactionParams, index$8_DropTransactionRequest as DropTransactionRequest, type index$8_DropTransactionRequestType as DropTransactionRequestType, index$8_DropTransactionResponse as DropTransactionResponse, type index$8_DropTransactionResponseType as DropTransactionResponseType, index$8_DropTransactionResult as DropTransactionResult, index$8_ForkConfigSchema as ForkConfigSchema, index$8_HardhatMethodRequest as HardhatMethodRequest, type index$8_HardhatMethodRequestType as HardhatMethodRequestType, index$8_ImpersonateAccountParams as ImpersonateAccountParams, index$8_ImpersonateAccountRequest as ImpersonateAccountRequest, type index$8_ImpersonateAccountRequestType as ImpersonateAccountRequestType, index$8_ImpersonateAccountResponse as ImpersonateAccountResponse, type index$8_ImpersonateAccountResponseType as ImpersonateAccountResponseType, index$8_ImpersonateAccountResult as ImpersonateAccountResult, index$8_MineParams as MineParams, index$8_MineRequest as MineRequest, type index$8_MineRequestType as MineRequestType, index$8_MineResponse as MineResponse, type index$8_MineResponseType as MineResponseType, index$8_MineResult as MineResult, index$8_ResetParams as ResetParams, index$8_ResetRequest as ResetRequest, type index$8_ResetRequestType as ResetRequestType, index$8_ResetResponse as ResetResponse, type index$8_ResetResponseType as ResetResponseType, index$8_ResetResult as ResetResult, index$8_SetBalanceParams as SetBalanceParams, index$8_SetBalanceRequest as SetBalanceRequest, type index$8_SetBalanceRequestType as SetBalanceRequestType, index$8_SetBalanceResponse as SetBalanceResponse, type index$8_SetBalanceResponseType as SetBalanceResponseType, index$8_SetBalanceResult as SetBalanceResult, index$8_SetCodeParams as SetCodeParams, index$8_SetCodeRequest as SetCodeRequest, type index$8_SetCodeRequestType as SetCodeRequestType, index$8_SetCodeResponse as SetCodeResponse, type index$8_SetCodeResponseType as SetCodeResponseType, index$8_SetCodeResult as SetCodeResult, index$8_SetNonceParams as SetNonceParams, index$8_SetNonceRequest as SetNonceRequest, type index$8_SetNonceRequestType as SetNonceRequestType, index$8_SetNonceResponse as SetNonceResponse, type index$8_SetNonceResponseType as SetNonceResponseType, index$8_SetNonceResult as SetNonceResult, index$8_SetStorageAtParams as SetStorageAtParams, index$8_SetStorageAtRequest as SetStorageAtRequest, type index$8_SetStorageAtRequestType as SetStorageAtRequestType, index$8_SetStorageAtResponse as SetStorageAtResponse, type index$8_SetStorageAtResponseType as SetStorageAtResponseType, index$8_SetStorageAtResult as SetStorageAtResult, index$8_StopImpersonatingAccountParams as StopImpersonatingAccountParams, index$8_StopImpersonatingAccountRequest as StopImpersonatingAccountRequest, type index$8_StopImpersonatingAccountRequestType as StopImpersonatingAccountRequestType, index$8_StopImpersonatingAccountResponse as StopImpersonatingAccountResponse, type index$8_StopImpersonatingAccountResponseType as StopImpersonatingAccountResponseType, index$8_StopImpersonatingAccountResult as StopImpersonatingAccountResult };
|
|
7944
7992
|
}
|
|
7945
7993
|
|
|
7946
7994
|
/**
|
|
@@ -8086,28 +8134,28 @@ declare const NetMethodRequest: S.Union<[S.Struct<{
|
|
|
8086
8134
|
/** Type for NetMethodRequest union */
|
|
8087
8135
|
type NetMethodRequestType = S.Schema.Type<typeof NetMethodRequest>;
|
|
8088
8136
|
|
|
8089
|
-
declare const index$
|
|
8090
|
-
declare const index$
|
|
8091
|
-
type index$
|
|
8092
|
-
declare const index$
|
|
8093
|
-
type index$
|
|
8094
|
-
declare const index$
|
|
8095
|
-
declare const index$
|
|
8096
|
-
type index$
|
|
8097
|
-
declare const index$
|
|
8098
|
-
declare const index$
|
|
8099
|
-
type index$
|
|
8100
|
-
declare const index$
|
|
8101
|
-
type index$
|
|
8102
|
-
declare const index$
|
|
8103
|
-
declare const index$
|
|
8104
|
-
declare const index$
|
|
8105
|
-
type index$
|
|
8106
|
-
declare const index$
|
|
8107
|
-
type index$
|
|
8108
|
-
declare const index$
|
|
8109
|
-
declare namespace index$
|
|
8110
|
-
export { index$
|
|
8137
|
+
declare const index$7_ListeningParams: typeof ListeningParams;
|
|
8138
|
+
declare const index$7_ListeningRequest: typeof ListeningRequest;
|
|
8139
|
+
type index$7_ListeningRequestType = ListeningRequestType;
|
|
8140
|
+
declare const index$7_ListeningResponse: typeof ListeningResponse;
|
|
8141
|
+
type index$7_ListeningResponseType = ListeningResponseType;
|
|
8142
|
+
declare const index$7_ListeningResult: typeof ListeningResult;
|
|
8143
|
+
declare const index$7_NetMethodRequest: typeof NetMethodRequest;
|
|
8144
|
+
type index$7_NetMethodRequestType = NetMethodRequestType;
|
|
8145
|
+
declare const index$7_PeerCountParams: typeof PeerCountParams;
|
|
8146
|
+
declare const index$7_PeerCountRequest: typeof PeerCountRequest;
|
|
8147
|
+
type index$7_PeerCountRequestType = PeerCountRequestType;
|
|
8148
|
+
declare const index$7_PeerCountResponse: typeof PeerCountResponse;
|
|
8149
|
+
type index$7_PeerCountResponseType = PeerCountResponseType;
|
|
8150
|
+
declare const index$7_PeerCountResult: typeof PeerCountResult;
|
|
8151
|
+
declare const index$7_VersionParams: typeof VersionParams;
|
|
8152
|
+
declare const index$7_VersionRequest: typeof VersionRequest;
|
|
8153
|
+
type index$7_VersionRequestType = VersionRequestType;
|
|
8154
|
+
declare const index$7_VersionResponse: typeof VersionResponse;
|
|
8155
|
+
type index$7_VersionResponseType = VersionResponseType;
|
|
8156
|
+
declare const index$7_VersionResult: typeof VersionResult;
|
|
8157
|
+
declare namespace index$7 {
|
|
8158
|
+
export { index$7_ListeningParams as ListeningParams, index$7_ListeningRequest as ListeningRequest, type index$7_ListeningRequestType as ListeningRequestType, index$7_ListeningResponse as ListeningResponse, type index$7_ListeningResponseType as ListeningResponseType, index$7_ListeningResult as ListeningResult, index$7_NetMethodRequest as NetMethodRequest, type index$7_NetMethodRequestType as NetMethodRequestType, index$7_PeerCountParams as PeerCountParams, index$7_PeerCountRequest as PeerCountRequest, type index$7_PeerCountRequestType as PeerCountRequestType, index$7_PeerCountResponse as PeerCountResponse, type index$7_PeerCountResponseType as PeerCountResponseType, index$7_PeerCountResult as PeerCountResult, index$7_VersionParams as VersionParams, index$7_VersionRequest as VersionRequest, type index$7_VersionRequestType as VersionRequestType, index$7_VersionResponse as VersionResponse, type index$7_VersionResponseType as VersionResponseType, index$7_VersionResult as VersionResult };
|
|
8111
8159
|
}
|
|
8112
8160
|
|
|
8113
8161
|
/**
|
|
@@ -8448,29 +8496,29 @@ declare const TxpoolMethodRequest: S.Union<[S.Struct<{
|
|
|
8448
8496
|
/** Type for TxpoolMethodRequest union */
|
|
8449
8497
|
type TxpoolMethodRequestType = S.Schema.Type<typeof TxpoolMethodRequest>;
|
|
8450
8498
|
|
|
8451
|
-
declare const index$
|
|
8452
|
-
type index$
|
|
8453
|
-
declare const index$
|
|
8454
|
-
type index$
|
|
8455
|
-
declare const index$
|
|
8456
|
-
declare const index$
|
|
8457
|
-
type index$
|
|
8458
|
-
declare const index$
|
|
8459
|
-
type index$
|
|
8460
|
-
declare const index$
|
|
8461
|
-
declare const index$
|
|
8462
|
-
type index$
|
|
8463
|
-
declare const index$
|
|
8464
|
-
type index$
|
|
8465
|
-
declare const index$
|
|
8466
|
-
declare const index$
|
|
8467
|
-
declare const index$
|
|
8468
|
-
declare const index$
|
|
8469
|
-
declare const index$
|
|
8470
|
-
declare const index$
|
|
8471
|
-
type index$
|
|
8472
|
-
declare namespace index$
|
|
8473
|
-
export { index$
|
|
8499
|
+
declare const index$6_ContentParams: typeof ContentParams;
|
|
8500
|
+
type index$6_ContentRequestType = ContentRequestType;
|
|
8501
|
+
declare const index$6_ContentResponse: typeof ContentResponse;
|
|
8502
|
+
type index$6_ContentResponseType = ContentResponseType;
|
|
8503
|
+
declare const index$6_ContentResult: typeof ContentResult;
|
|
8504
|
+
declare const index$6_InspectParams: typeof InspectParams;
|
|
8505
|
+
type index$6_InspectRequestType = InspectRequestType;
|
|
8506
|
+
declare const index$6_InspectResponse: typeof InspectResponse;
|
|
8507
|
+
type index$6_InspectResponseType = InspectResponseType;
|
|
8508
|
+
declare const index$6_InspectResult: typeof InspectResult;
|
|
8509
|
+
declare const index$6_StatusParams: typeof StatusParams;
|
|
8510
|
+
type index$6_StatusRequestType = StatusRequestType;
|
|
8511
|
+
declare const index$6_StatusResponse: typeof StatusResponse;
|
|
8512
|
+
type index$6_StatusResponseType = StatusResponseType;
|
|
8513
|
+
declare const index$6_StatusResult: typeof StatusResult;
|
|
8514
|
+
declare const index$6_TransactionSummaryByAddressSchema: typeof TransactionSummaryByAddressSchema;
|
|
8515
|
+
declare const index$6_TransactionSummaryByNonceSchema: typeof TransactionSummaryByNonceSchema;
|
|
8516
|
+
declare const index$6_TransactionsByAddressSchema: typeof TransactionsByAddressSchema;
|
|
8517
|
+
declare const index$6_TransactionsByNonceSchema: typeof TransactionsByNonceSchema;
|
|
8518
|
+
declare const index$6_TxpoolMethodRequest: typeof TxpoolMethodRequest;
|
|
8519
|
+
type index$6_TxpoolMethodRequestType = TxpoolMethodRequestType;
|
|
8520
|
+
declare namespace index$6 {
|
|
8521
|
+
export { index$6_ContentParams as ContentParams, ContentRequest$1 as ContentRequest, type index$6_ContentRequestType as ContentRequestType, index$6_ContentResponse as ContentResponse, type index$6_ContentResponseType as ContentResponseType, index$6_ContentResult as ContentResult, index$6_InspectParams as InspectParams, InspectRequest$1 as InspectRequest, type index$6_InspectRequestType as InspectRequestType, index$6_InspectResponse as InspectResponse, type index$6_InspectResponseType as InspectResponseType, index$6_InspectResult as InspectResult, index$6_StatusParams as StatusParams, StatusRequest$1 as StatusRequest, type index$6_StatusRequestType as StatusRequestType, index$6_StatusResponse as StatusResponse, type index$6_StatusResponseType as StatusResponseType, index$6_StatusResult as StatusResult, index$6_TransactionSummaryByAddressSchema as TransactionSummaryByAddressSchema, index$6_TransactionSummaryByNonceSchema as TransactionSummaryByNonceSchema, index$6_TransactionsByAddressSchema as TransactionsByAddressSchema, index$6_TransactionsByNonceSchema as TransactionsByNonceSchema, index$6_TxpoolMethodRequest as TxpoolMethodRequest, type index$6_TxpoolMethodRequestType as TxpoolMethodRequestType };
|
|
8474
8522
|
}
|
|
8475
8523
|
|
|
8476
8524
|
/**
|
|
@@ -9327,99 +9375,99 @@ declare const WalletMethodRequest: S.Union<[S.Struct<{
|
|
|
9327
9375
|
/** Type for WalletMethodRequest union */
|
|
9328
9376
|
type WalletMethodRequestType = S.Schema.Type<typeof WalletMethodRequest>;
|
|
9329
9377
|
|
|
9330
|
-
declare const index$
|
|
9331
|
-
type index$
|
|
9332
|
-
declare const index$
|
|
9333
|
-
type index$
|
|
9334
|
-
declare const index$
|
|
9335
|
-
type index$
|
|
9336
|
-
declare const index$
|
|
9337
|
-
declare const index$
|
|
9338
|
-
type index$
|
|
9339
|
-
declare const index$
|
|
9340
|
-
type index$
|
|
9341
|
-
declare const index$
|
|
9342
|
-
declare const index$
|
|
9343
|
-
type index$
|
|
9344
|
-
declare const index$
|
|
9345
|
-
declare const index$
|
|
9346
|
-
type index$
|
|
9347
|
-
declare const index$
|
|
9348
|
-
type index$
|
|
9349
|
-
declare const index$
|
|
9350
|
-
declare const index$
|
|
9351
|
-
declare const index$
|
|
9352
|
-
type index$
|
|
9353
|
-
declare const index$
|
|
9354
|
-
type index$
|
|
9355
|
-
declare const index$
|
|
9356
|
-
type index$
|
|
9357
|
-
declare const index$
|
|
9358
|
-
type index$
|
|
9359
|
-
declare const index$
|
|
9360
|
-
type index$
|
|
9361
|
-
declare const index$
|
|
9362
|
-
declare const index$
|
|
9363
|
-
declare const index$
|
|
9364
|
-
declare const index$
|
|
9365
|
-
type index$
|
|
9366
|
-
type index$
|
|
9367
|
-
declare const index$
|
|
9368
|
-
type index$
|
|
9369
|
-
declare const index$
|
|
9370
|
-
declare const index$
|
|
9371
|
-
type index$
|
|
9372
|
-
declare const index$
|
|
9373
|
-
type index$
|
|
9374
|
-
declare const index$
|
|
9375
|
-
declare const index$
|
|
9376
|
-
type index$
|
|
9377
|
-
declare const index$
|
|
9378
|
-
type index$
|
|
9379
|
-
declare const index$
|
|
9380
|
-
declare const index$
|
|
9381
|
-
type index$
|
|
9382
|
-
declare const index$
|
|
9383
|
-
type index$
|
|
9384
|
-
declare const index$
|
|
9385
|
-
type index$
|
|
9386
|
-
declare const index$
|
|
9387
|
-
declare const index$
|
|
9388
|
-
type index$
|
|
9389
|
-
declare const index$
|
|
9390
|
-
declare const index$
|
|
9391
|
-
type index$
|
|
9392
|
-
declare const index$
|
|
9393
|
-
type index$
|
|
9394
|
-
declare const index$
|
|
9395
|
-
declare const index$
|
|
9396
|
-
declare const index$
|
|
9397
|
-
type index$
|
|
9398
|
-
declare const index$
|
|
9399
|
-
type index$
|
|
9400
|
-
declare const index$
|
|
9401
|
-
declare const index$
|
|
9402
|
-
type index$
|
|
9403
|
-
declare const index$
|
|
9404
|
-
type index$
|
|
9405
|
-
declare const index$
|
|
9406
|
-
type index$
|
|
9407
|
-
declare const index$
|
|
9408
|
-
declare const index$
|
|
9409
|
-
type index$
|
|
9410
|
-
declare const index$
|
|
9411
|
-
type index$
|
|
9412
|
-
declare const index$
|
|
9413
|
-
type index$
|
|
9414
|
-
declare const index$
|
|
9415
|
-
type index$
|
|
9416
|
-
declare const index$
|
|
9417
|
-
type index$
|
|
9418
|
-
declare const index$
|
|
9419
|
-
type index$
|
|
9420
|
-
declare const index$
|
|
9421
|
-
declare namespace index$
|
|
9422
|
-
export { index$
|
|
9378
|
+
declare const index$5_AddEthereumChainParameter: typeof AddEthereumChainParameter;
|
|
9379
|
+
type index$5_AddEthereumChainParameterType = AddEthereumChainParameterType;
|
|
9380
|
+
declare const index$5_AddEthereumChainParams: typeof AddEthereumChainParams;
|
|
9381
|
+
type index$5_AddEthereumChainRequestType = AddEthereumChainRequestType;
|
|
9382
|
+
declare const index$5_AddEthereumChainResponse: typeof AddEthereumChainResponse;
|
|
9383
|
+
type index$5_AddEthereumChainResponseType = AddEthereumChainResponseType;
|
|
9384
|
+
declare const index$5_AddEthereumChainResult: typeof AddEthereumChainResult;
|
|
9385
|
+
declare const index$5_CallReceipt: typeof CallReceipt;
|
|
9386
|
+
type index$5_CallReceiptType = CallReceiptType;
|
|
9387
|
+
declare const index$5_CallsStatus: typeof CallsStatus;
|
|
9388
|
+
type index$5_CallsStatusType = CallsStatusType;
|
|
9389
|
+
declare const index$5_CapabilityValue: typeof CapabilityValue;
|
|
9390
|
+
declare const index$5_ChainCapabilities: typeof ChainCapabilities;
|
|
9391
|
+
type index$5_ChainCapabilitiesType = ChainCapabilitiesType;
|
|
9392
|
+
declare const index$5_GetCallsStatusParams: typeof GetCallsStatusParams;
|
|
9393
|
+
declare const index$5_GetCallsStatusRequest: typeof GetCallsStatusRequest;
|
|
9394
|
+
type index$5_GetCallsStatusRequestType = GetCallsStatusRequestType;
|
|
9395
|
+
declare const index$5_GetCallsStatusResponse: typeof GetCallsStatusResponse;
|
|
9396
|
+
type index$5_GetCallsStatusResponseType = GetCallsStatusResponseType;
|
|
9397
|
+
declare const index$5_GetCallsStatusResult: typeof GetCallsStatusResult;
|
|
9398
|
+
declare const index$5_GetCapabilitiesParams: typeof GetCapabilitiesParams;
|
|
9399
|
+
declare const index$5_GetCapabilitiesRequest: typeof GetCapabilitiesRequest;
|
|
9400
|
+
type index$5_GetCapabilitiesRequestType = GetCapabilitiesRequestType;
|
|
9401
|
+
declare const index$5_GetCapabilitiesResponse: typeof GetCapabilitiesResponse;
|
|
9402
|
+
type index$5_GetCapabilitiesResponseType = GetCapabilitiesResponseType;
|
|
9403
|
+
declare const index$5_GetCapabilitiesResult: typeof GetCapabilitiesResult;
|
|
9404
|
+
type index$5_GetCapabilitiesResultType = GetCapabilitiesResultType;
|
|
9405
|
+
declare const index$5_GetPermissionsParams: typeof GetPermissionsParams;
|
|
9406
|
+
type index$5_GetPermissionsRequestType = GetPermissionsRequestType;
|
|
9407
|
+
declare const index$5_GetPermissionsResponse: typeof GetPermissionsResponse;
|
|
9408
|
+
type index$5_GetPermissionsResponseType = GetPermissionsResponseType;
|
|
9409
|
+
declare const index$5_GetPermissionsResult: typeof GetPermissionsResult;
|
|
9410
|
+
declare const index$5_NativeCurrencySchema: typeof NativeCurrencySchema;
|
|
9411
|
+
declare const index$5_Permission: typeof Permission;
|
|
9412
|
+
declare const index$5_PermissionCaveat: typeof PermissionCaveat;
|
|
9413
|
+
type index$5_PermissionCaveatType = PermissionCaveatType;
|
|
9414
|
+
type index$5_PermissionType = PermissionType;
|
|
9415
|
+
declare const index$5_PermissionsToRevoke: typeof PermissionsToRevoke;
|
|
9416
|
+
type index$5_PermissionsToRevokeType = PermissionsToRevokeType;
|
|
9417
|
+
declare const index$5_RegisterOnboardingParams: typeof RegisterOnboardingParams;
|
|
9418
|
+
declare const index$5_RegisterOnboardingRequest: typeof RegisterOnboardingRequest;
|
|
9419
|
+
type index$5_RegisterOnboardingRequestType = RegisterOnboardingRequestType;
|
|
9420
|
+
declare const index$5_RegisterOnboardingResponse: typeof RegisterOnboardingResponse;
|
|
9421
|
+
type index$5_RegisterOnboardingResponseType = RegisterOnboardingResponseType;
|
|
9422
|
+
declare const index$5_RegisterOnboardingResult: typeof RegisterOnboardingResult;
|
|
9423
|
+
declare const index$5_RequestPermissionsParams: typeof RequestPermissionsParams;
|
|
9424
|
+
type index$5_RequestPermissionsRequestType = RequestPermissionsRequestType;
|
|
9425
|
+
declare const index$5_RequestPermissionsResponse: typeof RequestPermissionsResponse;
|
|
9426
|
+
type index$5_RequestPermissionsResponseType = RequestPermissionsResponseType;
|
|
9427
|
+
declare const index$5_RequestPermissionsResult: typeof RequestPermissionsResult;
|
|
9428
|
+
declare const index$5_RequestedPermissions: typeof RequestedPermissions;
|
|
9429
|
+
type index$5_RequestedPermissionsType = RequestedPermissionsType;
|
|
9430
|
+
declare const index$5_RevokePermissionsParams: typeof RevokePermissionsParams;
|
|
9431
|
+
type index$5_RevokePermissionsRequestType = RevokePermissionsRequestType;
|
|
9432
|
+
declare const index$5_RevokePermissionsResponse: typeof RevokePermissionsResponse;
|
|
9433
|
+
type index$5_RevokePermissionsResponseType = RevokePermissionsResponseType;
|
|
9434
|
+
declare const index$5_RevokePermissionsResult: typeof RevokePermissionsResult;
|
|
9435
|
+
declare const index$5_SendCallsParameter: typeof SendCallsParameter;
|
|
9436
|
+
type index$5_SendCallsParameterType = SendCallsParameterType;
|
|
9437
|
+
declare const index$5_SendCallsParams: typeof SendCallsParams;
|
|
9438
|
+
declare const index$5_SendCallsRequest: typeof SendCallsRequest;
|
|
9439
|
+
type index$5_SendCallsRequestType = SendCallsRequestType;
|
|
9440
|
+
declare const index$5_SendCallsResponse: typeof SendCallsResponse;
|
|
9441
|
+
type index$5_SendCallsResponseType = SendCallsResponseType;
|
|
9442
|
+
declare const index$5_SendCallsResult: typeof SendCallsResult;
|
|
9443
|
+
declare const index$5_ShowCallsStatusParams: typeof ShowCallsStatusParams;
|
|
9444
|
+
declare const index$5_ShowCallsStatusRequest: typeof ShowCallsStatusRequest;
|
|
9445
|
+
type index$5_ShowCallsStatusRequestType = ShowCallsStatusRequestType;
|
|
9446
|
+
declare const index$5_ShowCallsStatusResponse: typeof ShowCallsStatusResponse;
|
|
9447
|
+
type index$5_ShowCallsStatusResponseType = ShowCallsStatusResponseType;
|
|
9448
|
+
declare const index$5_ShowCallsStatusResult: typeof ShowCallsStatusResult;
|
|
9449
|
+
declare const index$5_SwitchEthereumChainParameter: typeof SwitchEthereumChainParameter;
|
|
9450
|
+
type index$5_SwitchEthereumChainParameterType = SwitchEthereumChainParameterType;
|
|
9451
|
+
declare const index$5_SwitchEthereumChainParams: typeof SwitchEthereumChainParams;
|
|
9452
|
+
type index$5_SwitchEthereumChainRequestType = SwitchEthereumChainRequestType;
|
|
9453
|
+
declare const index$5_SwitchEthereumChainResponse: typeof SwitchEthereumChainResponse;
|
|
9454
|
+
type index$5_SwitchEthereumChainResponseType = SwitchEthereumChainResponseType;
|
|
9455
|
+
declare const index$5_SwitchEthereumChainResult: typeof SwitchEthereumChainResult;
|
|
9456
|
+
declare const index$5_WalletCall: typeof WalletCall;
|
|
9457
|
+
type index$5_WalletCallType = WalletCallType;
|
|
9458
|
+
declare const index$5_WalletMethodRequest: typeof WalletMethodRequest;
|
|
9459
|
+
type index$5_WalletMethodRequestType = WalletMethodRequestType;
|
|
9460
|
+
declare const index$5_WatchAssetOptions: typeof WatchAssetOptions;
|
|
9461
|
+
type index$5_WatchAssetOptionsType = WatchAssetOptionsType;
|
|
9462
|
+
declare const index$5_WatchAssetParameter: typeof WatchAssetParameter;
|
|
9463
|
+
type index$5_WatchAssetParameterType = WatchAssetParameterType;
|
|
9464
|
+
declare const index$5_WatchAssetParams: typeof WatchAssetParams;
|
|
9465
|
+
type index$5_WatchAssetRequestType = WatchAssetRequestType;
|
|
9466
|
+
declare const index$5_WatchAssetResponse: typeof WatchAssetResponse;
|
|
9467
|
+
type index$5_WatchAssetResponseType = WatchAssetResponseType;
|
|
9468
|
+
declare const index$5_WatchAssetResult: typeof WatchAssetResult;
|
|
9469
|
+
declare namespace index$5 {
|
|
9470
|
+
export { index$5_AddEthereumChainParameter as AddEthereumChainParameter, type index$5_AddEthereumChainParameterType as AddEthereumChainParameterType, index$5_AddEthereumChainParams as AddEthereumChainParams, AddEthereumChainRequest$1 as AddEthereumChainRequest, type index$5_AddEthereumChainRequestType as AddEthereumChainRequestType, index$5_AddEthereumChainResponse as AddEthereumChainResponse, type index$5_AddEthereumChainResponseType as AddEthereumChainResponseType, index$5_AddEthereumChainResult as AddEthereumChainResult, index$5_CallReceipt as CallReceipt, type index$5_CallReceiptType as CallReceiptType, index$5_CallsStatus as CallsStatus, type index$5_CallsStatusType as CallsStatusType, index$5_CapabilityValue as CapabilityValue, index$5_ChainCapabilities as ChainCapabilities, type index$5_ChainCapabilitiesType as ChainCapabilitiesType, index$5_GetCallsStatusParams as GetCallsStatusParams, index$5_GetCallsStatusRequest as GetCallsStatusRequest, type index$5_GetCallsStatusRequestType as GetCallsStatusRequestType, index$5_GetCallsStatusResponse as GetCallsStatusResponse, type index$5_GetCallsStatusResponseType as GetCallsStatusResponseType, index$5_GetCallsStatusResult as GetCallsStatusResult, index$5_GetCapabilitiesParams as GetCapabilitiesParams, index$5_GetCapabilitiesRequest as GetCapabilitiesRequest, type index$5_GetCapabilitiesRequestType as GetCapabilitiesRequestType, index$5_GetCapabilitiesResponse as GetCapabilitiesResponse, type index$5_GetCapabilitiesResponseType as GetCapabilitiesResponseType, index$5_GetCapabilitiesResult as GetCapabilitiesResult, type index$5_GetCapabilitiesResultType as GetCapabilitiesResultType, index$5_GetPermissionsParams as GetPermissionsParams, GetPermissionsRequest$1 as GetPermissionsRequest, type index$5_GetPermissionsRequestType as GetPermissionsRequestType, index$5_GetPermissionsResponse as GetPermissionsResponse, type index$5_GetPermissionsResponseType as GetPermissionsResponseType, index$5_GetPermissionsResult as GetPermissionsResult, index$5_NativeCurrencySchema as NativeCurrencySchema, index$5_Permission as Permission, index$5_PermissionCaveat as PermissionCaveat, type index$5_PermissionCaveatType as PermissionCaveatType, type index$5_PermissionType as PermissionType, index$5_PermissionsToRevoke as PermissionsToRevoke, type index$5_PermissionsToRevokeType as PermissionsToRevokeType, index$5_RegisterOnboardingParams as RegisterOnboardingParams, index$5_RegisterOnboardingRequest as RegisterOnboardingRequest, type index$5_RegisterOnboardingRequestType as RegisterOnboardingRequestType, index$5_RegisterOnboardingResponse as RegisterOnboardingResponse, type index$5_RegisterOnboardingResponseType as RegisterOnboardingResponseType, index$5_RegisterOnboardingResult as RegisterOnboardingResult, index$5_RequestPermissionsParams as RequestPermissionsParams, RequestPermissionsRequest$1 as RequestPermissionsRequest, type index$5_RequestPermissionsRequestType as RequestPermissionsRequestType, index$5_RequestPermissionsResponse as RequestPermissionsResponse, type index$5_RequestPermissionsResponseType as RequestPermissionsResponseType, index$5_RequestPermissionsResult as RequestPermissionsResult, index$5_RequestedPermissions as RequestedPermissions, type index$5_RequestedPermissionsType as RequestedPermissionsType, index$5_RevokePermissionsParams as RevokePermissionsParams, RevokePermissionsRequest$1 as RevokePermissionsRequest, type index$5_RevokePermissionsRequestType as RevokePermissionsRequestType, index$5_RevokePermissionsResponse as RevokePermissionsResponse, type index$5_RevokePermissionsResponseType as RevokePermissionsResponseType, index$5_RevokePermissionsResult as RevokePermissionsResult, index$5_SendCallsParameter as SendCallsParameter, type index$5_SendCallsParameterType as SendCallsParameterType, index$5_SendCallsParams as SendCallsParams, index$5_SendCallsRequest as SendCallsRequest, type index$5_SendCallsRequestType as SendCallsRequestType, index$5_SendCallsResponse as SendCallsResponse, type index$5_SendCallsResponseType as SendCallsResponseType, index$5_SendCallsResult as SendCallsResult, index$5_ShowCallsStatusParams as ShowCallsStatusParams, index$5_ShowCallsStatusRequest as ShowCallsStatusRequest, type index$5_ShowCallsStatusRequestType as ShowCallsStatusRequestType, index$5_ShowCallsStatusResponse as ShowCallsStatusResponse, type index$5_ShowCallsStatusResponseType as ShowCallsStatusResponseType, index$5_ShowCallsStatusResult as ShowCallsStatusResult, index$5_SwitchEthereumChainParameter as SwitchEthereumChainParameter, type index$5_SwitchEthereumChainParameterType as SwitchEthereumChainParameterType, index$5_SwitchEthereumChainParams as SwitchEthereumChainParams, SwitchEthereumChainRequest$1 as SwitchEthereumChainRequest, type index$5_SwitchEthereumChainRequestType as SwitchEthereumChainRequestType, index$5_SwitchEthereumChainResponse as SwitchEthereumChainResponse, type index$5_SwitchEthereumChainResponseType as SwitchEthereumChainResponseType, index$5_SwitchEthereumChainResult as SwitchEthereumChainResult, index$5_WalletCall as WalletCall, type index$5_WalletCallType as WalletCallType, index$5_WalletMethodRequest as WalletMethodRequest, type index$5_WalletMethodRequestType as WalletMethodRequestType, index$5_WatchAssetOptions as WatchAssetOptions, type index$5_WatchAssetOptionsType as WatchAssetOptionsType, index$5_WatchAssetParameter as WatchAssetParameter, type index$5_WatchAssetParameterType as WatchAssetParameterType, index$5_WatchAssetParams as WatchAssetParams, WatchAssetRequest$1 as WatchAssetRequest, type index$5_WatchAssetRequestType as WatchAssetRequestType, index$5_WatchAssetResponse as WatchAssetResponse, type index$5_WatchAssetResponseType as WatchAssetResponseType, index$5_WatchAssetResult as WatchAssetResult };
|
|
9423
9471
|
}
|
|
9424
9472
|
|
|
9425
9473
|
/**
|
|
@@ -9522,20 +9570,20 @@ declare const Web3MethodRequest: S.Union<[S.Struct<{
|
|
|
9522
9570
|
/** Type for Web3MethodRequest union */
|
|
9523
9571
|
type Web3MethodRequestType = S.Schema.Type<typeof Web3MethodRequest>;
|
|
9524
9572
|
|
|
9525
|
-
declare const index$
|
|
9526
|
-
type index$
|
|
9527
|
-
declare const index$
|
|
9528
|
-
type index$
|
|
9529
|
-
declare const index$
|
|
9530
|
-
declare const index$
|
|
9531
|
-
type index$
|
|
9532
|
-
declare const index$
|
|
9533
|
-
type index$
|
|
9534
|
-
declare const index$
|
|
9535
|
-
declare const index$
|
|
9536
|
-
type index$
|
|
9537
|
-
declare namespace index$
|
|
9538
|
-
export { index$
|
|
9573
|
+
declare const index$4_ClientVersionParams: typeof ClientVersionParams;
|
|
9574
|
+
type index$4_ClientVersionRequestType = ClientVersionRequestType;
|
|
9575
|
+
declare const index$4_ClientVersionResponse: typeof ClientVersionResponse;
|
|
9576
|
+
type index$4_ClientVersionResponseType = ClientVersionResponseType;
|
|
9577
|
+
declare const index$4_ClientVersionResult: typeof ClientVersionResult;
|
|
9578
|
+
declare const index$4_Sha3Params: typeof Sha3Params;
|
|
9579
|
+
type index$4_Sha3RequestType = Sha3RequestType;
|
|
9580
|
+
declare const index$4_Sha3Response: typeof Sha3Response;
|
|
9581
|
+
type index$4_Sha3ResponseType = Sha3ResponseType;
|
|
9582
|
+
declare const index$4_Sha3Result: typeof Sha3Result;
|
|
9583
|
+
declare const index$4_Web3MethodRequest: typeof Web3MethodRequest;
|
|
9584
|
+
type index$4_Web3MethodRequestType = Web3MethodRequestType;
|
|
9585
|
+
declare namespace index$4 {
|
|
9586
|
+
export { index$4_ClientVersionParams as ClientVersionParams, ClientVersionRequest$1 as ClientVersionRequest, type index$4_ClientVersionRequestType as ClientVersionRequestType, index$4_ClientVersionResponse as ClientVersionResponse, type index$4_ClientVersionResponseType as ClientVersionResponseType, index$4_ClientVersionResult as ClientVersionResult, index$4_Sha3Params as Sha3Params, Sha3Request$1 as Sha3Request, type index$4_Sha3RequestType as Sha3RequestType, index$4_Sha3Response as Sha3Response, type index$4_Sha3ResponseType as Sha3ResponseType, index$4_Sha3Result as Sha3Result, index$4_Web3MethodRequest as Web3MethodRequest, type index$4_Web3MethodRequestType as Web3MethodRequestType };
|
|
9539
9587
|
}
|
|
9540
9588
|
|
|
9541
9589
|
/**
|
|
@@ -11286,82 +11334,82 @@ declare const isErrorResponse: (response: GenericJsonRpcResponseType) => respons
|
|
|
11286
11334
|
*/
|
|
11287
11335
|
declare const isSuccessResponse: (response: GenericJsonRpcResponseType) => response is S.Schema.Type<typeof GenericJsonRpcSuccessResponse>;
|
|
11288
11336
|
|
|
11289
|
-
declare const index$
|
|
11290
|
-
type index$
|
|
11291
|
-
declare const index$
|
|
11292
|
-
type index$
|
|
11293
|
-
declare const index$
|
|
11294
|
-
declare const index$
|
|
11295
|
-
type index$
|
|
11296
|
-
declare const index$
|
|
11297
|
-
type index$
|
|
11298
|
-
declare const index$
|
|
11299
|
-
type index$
|
|
11300
|
-
declare const index$
|
|
11301
|
-
type index$
|
|
11302
|
-
declare const index$
|
|
11303
|
-
type index$
|
|
11304
|
-
declare const index$
|
|
11305
|
-
type index$
|
|
11306
|
-
declare const index$
|
|
11307
|
-
declare const index$
|
|
11308
|
-
type index$
|
|
11309
|
-
declare const index$
|
|
11310
|
-
type index$
|
|
11311
|
-
declare const index$
|
|
11312
|
-
type index$
|
|
11313
|
-
declare const index$
|
|
11314
|
-
declare const index$
|
|
11315
|
-
type index$
|
|
11316
|
-
declare const index$
|
|
11317
|
-
type index$
|
|
11318
|
-
declare const index$
|
|
11319
|
-
type index$
|
|
11320
|
-
declare const index$
|
|
11321
|
-
type index$
|
|
11322
|
-
type index$
|
|
11323
|
-
declare const index$
|
|
11324
|
-
declare const index$
|
|
11325
|
-
type index$
|
|
11326
|
-
declare const index$
|
|
11327
|
-
type index$
|
|
11328
|
-
declare const index$
|
|
11329
|
-
type index$
|
|
11330
|
-
declare const index$
|
|
11331
|
-
type index$
|
|
11332
|
-
type index$
|
|
11333
|
-
declare const index$
|
|
11334
|
-
type index$
|
|
11335
|
-
declare const index$
|
|
11336
|
-
type index$
|
|
11337
|
-
declare const index$
|
|
11338
|
-
type index$
|
|
11339
|
-
declare const index$
|
|
11340
|
-
declare const index$
|
|
11341
|
-
type index$
|
|
11342
|
-
declare const index$
|
|
11343
|
-
type index$
|
|
11344
|
-
declare const index$
|
|
11345
|
-
type index$
|
|
11346
|
-
declare const index$
|
|
11347
|
-
declare const index$
|
|
11348
|
-
declare const index$
|
|
11349
|
-
declare const index$
|
|
11350
|
-
declare const index$
|
|
11351
|
-
declare const index$
|
|
11352
|
-
declare const index$
|
|
11353
|
-
declare const index$
|
|
11354
|
-
declare namespace index$
|
|
11355
|
-
export { index$
|
|
11337
|
+
declare const index$3_AccessListItemRpcSchema: typeof AccessListItemRpcSchema;
|
|
11338
|
+
type index$3_AccessListResultRpc = AccessListResultRpc;
|
|
11339
|
+
declare const index$3_AccessListResultRpcSchema: typeof AccessListResultRpcSchema;
|
|
11340
|
+
type index$3_AccountProofRpc = AccountProofRpc;
|
|
11341
|
+
declare const index$3_AccountProofRpcSchema: typeof AccountProofRpcSchema;
|
|
11342
|
+
declare const index$3_AccountStateOverrideSchema: typeof AccountStateOverrideSchema;
|
|
11343
|
+
type index$3_AddressHex = AddressHex;
|
|
11344
|
+
declare const index$3_AddressHexSchema: typeof AddressHexSchema;
|
|
11345
|
+
type index$3_BlockOverride = BlockOverride;
|
|
11346
|
+
declare const index$3_BlockOverrideSchema: typeof BlockOverrideSchema;
|
|
11347
|
+
type index$3_BlockRpc = BlockRpc;
|
|
11348
|
+
declare const index$3_BlockRpcSchema: typeof BlockRpcSchema;
|
|
11349
|
+
type index$3_BlockTag = BlockTag;
|
|
11350
|
+
declare const index$3_BlockTagSchema: typeof BlockTagSchema;
|
|
11351
|
+
type index$3_Bytes32Hex = Bytes32Hex;
|
|
11352
|
+
declare const index$3_Bytes32HexSchema: typeof Bytes32HexSchema;
|
|
11353
|
+
type index$3_FeeHistoryRpc = FeeHistoryRpc;
|
|
11354
|
+
declare const index$3_FeeHistoryRpcSchema: typeof FeeHistoryRpcSchema;
|
|
11355
|
+
declare const index$3_GenericJsonRpcRequest: typeof GenericJsonRpcRequest;
|
|
11356
|
+
type index$3_GenericJsonRpcRequestType = GenericJsonRpcRequestType;
|
|
11357
|
+
declare const index$3_GenericJsonRpcResponse: typeof GenericJsonRpcResponse;
|
|
11358
|
+
type index$3_GenericJsonRpcResponseType = GenericJsonRpcResponseType;
|
|
11359
|
+
declare const index$3_GenericJsonRpcSuccessResponse: typeof GenericJsonRpcSuccessResponse;
|
|
11360
|
+
type index$3_Hex = Hex;
|
|
11361
|
+
declare const index$3_HexSchema: typeof HexSchema;
|
|
11362
|
+
declare const index$3_JsonRpcBatchRequest: typeof JsonRpcBatchRequest;
|
|
11363
|
+
type index$3_JsonRpcBatchRequestType = JsonRpcBatchRequestType;
|
|
11364
|
+
declare const index$3_JsonRpcBatchResponse: typeof JsonRpcBatchResponse;
|
|
11365
|
+
type index$3_JsonRpcBatchResponseType = JsonRpcBatchResponseType;
|
|
11366
|
+
declare const index$3_JsonRpcErrorResponseSchema: typeof JsonRpcErrorResponseSchema;
|
|
11367
|
+
type index$3_JsonRpcErrorResponseType = JsonRpcErrorResponseType;
|
|
11368
|
+
declare const index$3_JsonRpcErrorSchema: typeof JsonRpcErrorSchema;
|
|
11369
|
+
type index$3_JsonRpcErrorType = JsonRpcErrorType;
|
|
11370
|
+
type index$3_JsonRpcId = JsonRpcId;
|
|
11371
|
+
declare const index$3_JsonRpcIdSchema: typeof JsonRpcIdSchema;
|
|
11372
|
+
declare const index$3_JsonRpcMethodRequest: typeof JsonRpcMethodRequest;
|
|
11373
|
+
type index$3_JsonRpcMethodRequestType = JsonRpcMethodRequestType;
|
|
11374
|
+
declare const index$3_JsonRpcVersionSchema: typeof JsonRpcVersionSchema;
|
|
11375
|
+
type index$3_LogFilter = LogFilter;
|
|
11376
|
+
declare const index$3_LogFilterSchema: typeof LogFilterSchema;
|
|
11377
|
+
type index$3_LogRpc = LogRpc;
|
|
11378
|
+
declare const index$3_LogRpcSchema: typeof LogRpcSchema;
|
|
11379
|
+
type index$3_MethodResult<M extends keyof typeof methodResultSchemas> = MethodResult<M>;
|
|
11380
|
+
type index$3_QuantityHex = QuantityHex;
|
|
11381
|
+
declare const index$3_QuantityHexSchema: typeof QuantityHexSchema;
|
|
11382
|
+
type index$3_ReceiptRpc = ReceiptRpc;
|
|
11383
|
+
declare const index$3_ReceiptRpcSchema: typeof ReceiptRpcSchema;
|
|
11384
|
+
type index$3_StateOverrideSet = StateOverrideSet;
|
|
11385
|
+
declare const index$3_StateOverrideSetSchema: typeof StateOverrideSetSchema;
|
|
11386
|
+
type index$3_SyncStatusRpc = SyncStatusRpc;
|
|
11387
|
+
declare const index$3_SyncStatusRpcSchema: typeof SyncStatusRpcSchema;
|
|
11388
|
+
declare const index$3_TopicFilterValueSchema: typeof TopicFilterValueSchema;
|
|
11389
|
+
type index$3_TransactionRequest = TransactionRequest;
|
|
11390
|
+
declare const index$3_TransactionRequestSchema: typeof TransactionRequestSchema;
|
|
11391
|
+
type index$3_TransactionRpc = TransactionRpc;
|
|
11392
|
+
declare const index$3_TransactionRpcSchema: typeof TransactionRpcSchema;
|
|
11393
|
+
type index$3_WithdrawalRpc = WithdrawalRpc;
|
|
11394
|
+
declare const index$3_WithdrawalRpcSchema: typeof WithdrawalRpcSchema;
|
|
11395
|
+
declare const index$3_decodeRequest: typeof decodeRequest;
|
|
11396
|
+
declare const index$3_decodeResponse: typeof decodeResponse;
|
|
11397
|
+
declare const index$3_isErrorResponse: typeof isErrorResponse;
|
|
11398
|
+
declare const index$3_isSuccessResponse: typeof isSuccessResponse;
|
|
11399
|
+
declare const index$3_isValidRequest: typeof isValidRequest;
|
|
11400
|
+
declare const index$3_isValidResponse: typeof isValidResponse;
|
|
11401
|
+
declare const index$3_methodResultSchemas: typeof methodResultSchemas;
|
|
11402
|
+
declare namespace index$3 {
|
|
11403
|
+
export { index$3_AccessListItemRpcSchema as AccessListItemRpcSchema, type index$3_AccessListResultRpc as AccessListResultRpc, index$3_AccessListResultRpcSchema as AccessListResultRpcSchema, type index$3_AccountProofRpc as AccountProofRpc, index$3_AccountProofRpcSchema as AccountProofRpcSchema, index$3_AccountStateOverrideSchema as AccountStateOverrideSchema, type index$3_AddressHex as AddressHex, index$3_AddressHexSchema as AddressHexSchema, index$a as Anvil, type index$3_BlockOverride as BlockOverride, index$3_BlockOverrideSchema as BlockOverrideSchema, type index$3_BlockRpc as BlockRpc, index$3_BlockRpcSchema as BlockRpcSchema, type index$3_BlockTag as BlockTag, index$3_BlockTagSchema as BlockTagSchema, type index$3_Bytes32Hex as Bytes32Hex, index$3_Bytes32HexSchema as Bytes32HexSchema, index$9 as Eth, type index$3_FeeHistoryRpc as FeeHistoryRpc, index$3_FeeHistoryRpcSchema as FeeHistoryRpcSchema, index$3_GenericJsonRpcRequest as GenericJsonRpcRequest, type index$3_GenericJsonRpcRequestType as GenericJsonRpcRequestType, index$3_GenericJsonRpcResponse as GenericJsonRpcResponse, type index$3_GenericJsonRpcResponseType as GenericJsonRpcResponseType, index$3_GenericJsonRpcSuccessResponse as GenericJsonRpcSuccessResponse, index$8 as Hardhat, type index$3_Hex as Hex, index$3_HexSchema as HexSchema, index$3_JsonRpcBatchRequest as JsonRpcBatchRequest, type index$3_JsonRpcBatchRequestType as JsonRpcBatchRequestType, index$3_JsonRpcBatchResponse as JsonRpcBatchResponse, type index$3_JsonRpcBatchResponseType as JsonRpcBatchResponseType, index$3_JsonRpcErrorResponseSchema as JsonRpcErrorResponseSchema, type index$3_JsonRpcErrorResponseType as JsonRpcErrorResponseType, index$3_JsonRpcErrorSchema as JsonRpcErrorSchema, type index$3_JsonRpcErrorType as JsonRpcErrorType, type index$3_JsonRpcId as JsonRpcId, index$3_JsonRpcIdSchema as JsonRpcIdSchema, index$3_JsonRpcMethodRequest as JsonRpcMethodRequest, type index$3_JsonRpcMethodRequestType as JsonRpcMethodRequestType, index$3_JsonRpcVersionSchema as JsonRpcVersionSchema, type index$3_LogFilter as LogFilter, index$3_LogFilterSchema as LogFilterSchema, type index$3_LogRpc as LogRpc, index$3_LogRpcSchema as LogRpcSchema, type index$3_MethodResult as MethodResult, index$7 as Net, type index$3_QuantityHex as QuantityHex, index$3_QuantityHexSchema as QuantityHexSchema, type index$3_ReceiptRpc as ReceiptRpc, index$3_ReceiptRpcSchema as ReceiptRpcSchema, type index$3_StateOverrideSet as StateOverrideSet, index$3_StateOverrideSetSchema as StateOverrideSetSchema, type index$3_SyncStatusRpc as SyncStatusRpc, index$3_SyncStatusRpcSchema as SyncStatusRpcSchema, index$3_TopicFilterValueSchema as TopicFilterValueSchema, type index$3_TransactionRequest as TransactionRequest, index$3_TransactionRequestSchema as TransactionRequestSchema, type index$3_TransactionRpc as TransactionRpc, index$3_TransactionRpcSchema as TransactionRpcSchema, index$6 as Txpool, index$5 as Wallet, index$4 as Web3, type index$3_WithdrawalRpc as WithdrawalRpc, index$3_WithdrawalRpcSchema as WithdrawalRpcSchema, index$3_decodeRequest as decodeRequest, index$3_decodeResponse as decodeResponse, index$3_isErrorResponse as isErrorResponse, index$3_isSuccessResponse as isSuccessResponse, index$3_isValidRequest as isValidRequest, index$3_isValidResponse as isValidResponse, index$3_methodResultSchemas as methodResultSchemas };
|
|
11356
11404
|
}
|
|
11357
11405
|
|
|
11358
|
-
declare const StatusRequest: () => JsonRpcRequestType
|
|
11359
|
-
declare const ContentRequest: () => JsonRpcRequestType
|
|
11360
|
-
declare const InspectRequest: () => JsonRpcRequestType
|
|
11406
|
+
declare const StatusRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11407
|
+
declare const ContentRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11408
|
+
declare const InspectRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11361
11409
|
declare const Txpool: {
|
|
11362
|
-
StatusRequest: () => JsonRpcRequestType
|
|
11363
|
-
ContentRequest: () => JsonRpcRequestType
|
|
11364
|
-
InspectRequest: () => JsonRpcRequestType
|
|
11410
|
+
StatusRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11411
|
+
ContentRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11412
|
+
InspectRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11365
11413
|
};
|
|
11366
11414
|
|
|
11367
11415
|
declare const Txpool$1_ContentRequest: typeof ContentRequest;
|
|
@@ -11372,7 +11420,7 @@ declare namespace Txpool$1 {
|
|
|
11372
11420
|
export { Txpool$1_ContentRequest as ContentRequest, Txpool$1_InspectRequest as InspectRequest, Txpool$1_StatusRequest as StatusRequest, Txpool$1_Txpool as Txpool };
|
|
11373
11421
|
}
|
|
11374
11422
|
|
|
11375
|
-
declare const SwitchEthereumChainRequest: (chainId: string) => JsonRpcRequestType
|
|
11423
|
+
declare const SwitchEthereumChainRequest: (chainId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11376
11424
|
declare const AddEthereumChainRequest: (chainParams: {
|
|
11377
11425
|
chainId: string;
|
|
11378
11426
|
chainName: string;
|
|
@@ -11383,7 +11431,7 @@ declare const AddEthereumChainRequest: (chainParams: {
|
|
|
11383
11431
|
};
|
|
11384
11432
|
rpcUrls?: string[];
|
|
11385
11433
|
blockExplorerUrls?: string[];
|
|
11386
|
-
}) => JsonRpcRequestType
|
|
11434
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11387
11435
|
declare const WatchAssetRequest: (asset: {
|
|
11388
11436
|
type: string;
|
|
11389
11437
|
options: {
|
|
@@ -11392,12 +11440,12 @@ declare const WatchAssetRequest: (asset: {
|
|
|
11392
11440
|
decimals: number;
|
|
11393
11441
|
image?: string;
|
|
11394
11442
|
};
|
|
11395
|
-
}) => JsonRpcRequestType
|
|
11396
|
-
declare const RequestPermissionsRequest: (permissions: unknown[]) => JsonRpcRequestType
|
|
11397
|
-
declare const GetPermissionsRequest: () => JsonRpcRequestType
|
|
11398
|
-
declare const RevokePermissionsRequest: (permissions: unknown[]) => JsonRpcRequestType
|
|
11443
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11444
|
+
declare const RequestPermissionsRequest: (permissions: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11445
|
+
declare const GetPermissionsRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11446
|
+
declare const RevokePermissionsRequest: (permissions: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11399
11447
|
declare const Wallet: {
|
|
11400
|
-
SwitchEthereumChainRequest: (chainId: string) => JsonRpcRequestType
|
|
11448
|
+
SwitchEthereumChainRequest: (chainId: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11401
11449
|
AddEthereumChainRequest: (chainParams: {
|
|
11402
11450
|
chainId: string;
|
|
11403
11451
|
chainName: string;
|
|
@@ -11408,7 +11456,7 @@ declare const Wallet: {
|
|
|
11408
11456
|
};
|
|
11409
11457
|
rpcUrls?: string[];
|
|
11410
11458
|
blockExplorerUrls?: string[];
|
|
11411
|
-
}) => JsonRpcRequestType
|
|
11459
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11412
11460
|
WatchAssetRequest: (asset: {
|
|
11413
11461
|
type: string;
|
|
11414
11462
|
options: {
|
|
@@ -11417,10 +11465,10 @@ declare const Wallet: {
|
|
|
11417
11465
|
decimals: number;
|
|
11418
11466
|
image?: string;
|
|
11419
11467
|
};
|
|
11420
|
-
}) => JsonRpcRequestType
|
|
11421
|
-
RequestPermissionsRequest: (permissions: unknown[]) => JsonRpcRequestType
|
|
11422
|
-
GetPermissionsRequest: () => JsonRpcRequestType
|
|
11423
|
-
RevokePermissionsRequest: (permissions: unknown[]) => JsonRpcRequestType
|
|
11468
|
+
}) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11469
|
+
RequestPermissionsRequest: (permissions: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11470
|
+
GetPermissionsRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11471
|
+
RevokePermissionsRequest: (permissions: unknown[]) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11424
11472
|
};
|
|
11425
11473
|
|
|
11426
11474
|
declare const Wallet$1_AddEthereumChainRequest: typeof AddEthereumChainRequest;
|
|
@@ -11434,11 +11482,11 @@ declare namespace Wallet$1 {
|
|
|
11434
11482
|
export { Wallet$1_AddEthereumChainRequest as AddEthereumChainRequest, Wallet$1_GetPermissionsRequest as GetPermissionsRequest, Wallet$1_RequestPermissionsRequest as RequestPermissionsRequest, Wallet$1_RevokePermissionsRequest as RevokePermissionsRequest, Wallet$1_SwitchEthereumChainRequest as SwitchEthereumChainRequest, Wallet$1_Wallet as Wallet, Wallet$1_WatchAssetRequest as WatchAssetRequest };
|
|
11435
11483
|
}
|
|
11436
11484
|
|
|
11437
|
-
declare const ClientVersionRequest: () => JsonRpcRequestType
|
|
11438
|
-
declare const Sha3Request: (data: string) => JsonRpcRequestType
|
|
11485
|
+
declare const ClientVersionRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11486
|
+
declare const Sha3Request: (data: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11439
11487
|
declare const Web3: {
|
|
11440
|
-
ClientVersionRequest: () => JsonRpcRequestType
|
|
11441
|
-
Sha3Request: (data: string) => JsonRpcRequestType
|
|
11488
|
+
ClientVersionRequest: () => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11489
|
+
Sha3Request: (data: string) => Effect.Effect<JsonRpcRequestType, never, IdCounterService>;
|
|
11442
11490
|
};
|
|
11443
11491
|
|
|
11444
11492
|
declare const Web3$1_ClientVersionRequest: typeof ClientVersionRequest;
|
|
@@ -11448,2256 +11496,102 @@ declare namespace Web3$1 {
|
|
|
11448
11496
|
export { Web3$1_ClientVersionRequest as ClientVersionRequest, Web3$1_Sha3Request as Sha3Request, Web3$1_Web3 as Web3 };
|
|
11449
11497
|
}
|
|
11450
11498
|
|
|
11451
|
-
declare const index$
|
|
11452
|
-
type index$
|
|
11453
|
-
declare const index$
|
|
11454
|
-
type index$
|
|
11455
|
-
declare const index$
|
|
11456
|
-
type index$
|
|
11457
|
-
declare const index$
|
|
11458
|
-
declare const index$
|
|
11459
|
-
type index$
|
|
11460
|
-
declare const index$
|
|
11461
|
-
declare const index$
|
|
11462
|
-
type index$
|
|
11463
|
-
declare const index$
|
|
11464
|
-
declare const index$
|
|
11465
|
-
declare const index$
|
|
11466
|
-
declare const index$
|
|
11467
|
-
declare const index$
|
|
11468
|
-
declare const index$
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
declare const index$
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
declare const index$
|
|
11483
|
-
|
|
11484
|
-
type index$
|
|
11485
|
-
declare const index$
|
|
11486
|
-
type index$
|
|
11487
|
-
type index$
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
type index$
|
|
11491
|
-
|
|
11492
|
-
declare const index$
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
declare const index$
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
declare const index$
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
declare const index$
|
|
11502
|
-
|
|
11503
|
-
|
|
11504
|
-
declare const index$
|
|
11505
|
-
type index$
|
|
11506
|
-
declare const index$
|
|
11507
|
-
declare const index$
|
|
11508
|
-
|
|
11509
|
-
declare const index$
|
|
11510
|
-
|
|
11511
|
-
declare const index$
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
declare const index$
|
|
11515
|
-
type index$
|
|
11516
|
-
|
|
11517
|
-
declare const index$
|
|
11518
|
-
type index$
|
|
11519
|
-
|
|
11520
|
-
declare const index$
|
|
11521
|
-
|
|
11522
|
-
declare const index$
|
|
11523
|
-
|
|
11524
|
-
declare const index$
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
declare const index$
|
|
11530
|
-
|
|
11531
|
-
declare const index$
|
|
11532
|
-
declare const index$
|
|
11533
|
-
declare const index$
|
|
11534
|
-
declare const index$
|
|
11535
|
-
declare const index$
|
|
11536
|
-
declare const index$
|
|
11537
|
-
declare const index$
|
|
11538
|
-
declare const index$
|
|
11539
|
-
declare const index$
|
|
11540
|
-
declare const index$
|
|
11541
|
-
declare const index$
|
|
11542
|
-
declare const index$
|
|
11543
|
-
declare const index$
|
|
11544
|
-
declare
|
|
11545
|
-
export { Anvil$1 as Anvil, index$3_BatchRequest as BatchRequest, type index$3_BatchRequestType as BatchRequestType, index$3_BatchResponse as BatchResponse, type index$3_BatchResponseType as BatchResponseType, index$3_CHAIN_DISCONNECTED as CHAIN_DISCONNECTED, index$3_ChainDisconnectedError as ChainDisconnectedError, index$3_DISCONNECTED as DISCONNECTED, index$3_DisconnectedError as DisconnectedError, index$3_EXECUTION_REVERTED as EXECUTION_REVERTED, Eth$1 as Eth, index$3_ExecutionRevertedError as ExecutionRevertedError, Hardhat$1 as Hardhat, index$3_INSUFFICIENT_FUNDS as INSUFFICIENT_FUNDS, index$3_INTERNAL_ERROR as INTERNAL_ERROR, index$3_INVALID_INPUT as INVALID_INPUT, index$3_INVALID_PARAMS as INVALID_PARAMS, index$3_INVALID_REQUEST as INVALID_REQUEST, index$3_InsufficientFundsError as InsufficientFundsError, index$3_InternalError as InternalError, index$3_InvalidInputError as InvalidInputError, index$3_InvalidParamsError as InvalidParamsError, index$3_InvalidRequestError as InvalidRequestError, index$3_JSON_RPC_VERSION_NOT_SUPPORTED as JSON_RPC_VERSION_NOT_SUPPORTED, index$3_JsonRpcError as JsonRpcError, index$3_JsonRpcErrorResponse as JsonRpcErrorResponse, type JsonRpcErrorResponseType$1 as JsonRpcErrorResponseType, type JsonRpcErrorType$1 as JsonRpcErrorType, type index$3_JsonRpcIdType as JsonRpcIdType, index$3_JsonRpcParseError as JsonRpcParseError, type index$3_JsonRpcRequestType as JsonRpcRequestType, type index$3_JsonRpcResponseType as JsonRpcResponseType, type index$3_JsonRpcSuccessResponseType as JsonRpcSuccessResponseType, index$3_LIMIT_EXCEEDED as LIMIT_EXCEEDED, index$3_LimitExceededError as LimitExceededError, index$3_METHOD_NOT_FOUND as METHOD_NOT_FOUND, index$3_METHOD_NOT_SUPPORTED as METHOD_NOT_SUPPORTED, index$3_MethodNotFoundError as MethodNotFoundError, index$3_MethodNotSupportedError as MethodNotSupportedError, index$3_NONCE_TOO_HIGH as NONCE_TOO_HIGH, index$3_NONCE_TOO_LOW as NONCE_TOO_LOW, Net$1 as Net, index$3_NonceTooHighError as NonceTooHighError, index$3_NonceTooLowError as NonceTooLowError, index$3_PARSE_ERROR as PARSE_ERROR, index$3_ParseError as ParseError, index$3_RESOURCE_NOT_FOUND as RESOURCE_NOT_FOUND, index$3_RESOURCE_UNAVAILABLE as RESOURCE_UNAVAILABLE, index$3_Request as Request, index$3_ResourceNotFoundError as ResourceNotFoundError, index$3_ResourceUnavailableError as ResourceUnavailableError, index$3_Response as Response, type index$3_RpcError as RpcError, type index$3_RpcErrorCode as RpcErrorCode, index$4 as Schemas, index$3_TRANSACTION_REJECTED as TRANSACTION_REJECTED, index$3_TransactionRejectedError as TransactionRejectedError, Txpool$1 as Txpool, index$3_UNAUTHORIZED as UNAUTHORIZED, index$3_UNSUPPORTED_METHOD as UNSUPPORTED_METHOD, index$3_USER_REJECTED_REQUEST as USER_REJECTED_REQUEST, index$3_UnauthorizedError as UnauthorizedError, index$3_UnsupportedMethodError as UnsupportedMethodError, index$3_UserRejectedRequestError as UserRejectedRequestError, Wallet$1 as Wallet, Web3$1 as Web3, add as batchAdd, errors as batchErrors, from$3 as batchRequestFrom, from as batchResponseFrom, parse$1 as batchResponseParse, results as batchResults, size as batchSize, from$2 as errorFrom, toString as errorToString, index$3_findById as findById, index$3_isDisconnected as isDisconnected, index$3_isError as isError, index$3_isExecutionReverted as isExecutionReverted, index$3_isInsufficientFunds as isInsufficientFunds, index$3_isNonceError as isNonceError, index$3_isNotification as isNotification, index$3_isProviderError as isProviderError, index$3_isSuccess as isSuccess, index$3_isUserRejected as isUserRejected, index$3_nextId as nextId, index$3_parseErrorCode as parseErrorCode, from$4 as requestFrom, index$3_resetId as resetId, from$1 as responseFrom, parse$2 as responseParse, index$3_unwrap as unwrap, index$3_withParams as withParams };
|
|
11546
|
-
}
|
|
11547
|
-
|
|
11548
|
-
/**
|
|
11549
|
-
* Local abitype configuration with Uint8Array for bytes types
|
|
11550
|
-
*
|
|
11551
|
-
* This file provides scoped abitype configuration that uses Uint8Array for bytes
|
|
11552
|
-
* instead of `0x${string}`. This declaration merging is scoped to this module and
|
|
11553
|
-
* does not affect downstream users who import abitype directly.
|
|
11554
|
-
*
|
|
11555
|
-
* @internal
|
|
11556
|
-
*/
|
|
11557
|
-
declare module "abitype" {
|
|
11558
|
-
interface Register {
|
|
11559
|
-
bytesType: {
|
|
11560
|
-
inputs: Uint8Array;
|
|
11561
|
-
outputs: Uint8Array;
|
|
11562
|
-
};
|
|
11563
|
-
intType: bigint;
|
|
11564
|
-
}
|
|
11565
|
-
}
|
|
11566
|
-
//# sourceMappingURL=abitype-uint8array.d.ts.map
|
|
11567
|
-
|
|
11568
|
-
type AbiType = "uint" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "int" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "address" | "bool" | "string" | "bytes" | "bytes1" | "bytes2" | "bytes3" | "bytes4" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes22" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "bytes32" | "tuple" | `${string}[]` | `${string}[${number}]`;
|
|
11569
|
-
|
|
11570
|
-
type Parameter<TType extends AbiType = AbiType, TName extends string = string, TInternalType extends string = string> = {
|
|
11571
|
-
readonly type: TType;
|
|
11572
|
-
readonly name?: TName;
|
|
11573
|
-
readonly internalType?: TInternalType;
|
|
11574
|
-
readonly indexed?: boolean;
|
|
11575
|
-
readonly components?: readonly Parameter[];
|
|
11576
|
-
};
|
|
11577
|
-
|
|
11578
|
-
type EventType<TName extends string = string, TInputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11579
|
-
type: "event";
|
|
11580
|
-
name: TName;
|
|
11581
|
-
inputs: TInputs;
|
|
11582
|
-
anonymous?: boolean;
|
|
11583
|
-
};
|
|
11584
|
-
|
|
11585
|
-
type StateMutability = "pure" | "view" | "nonpayable" | "payable";
|
|
11586
|
-
|
|
11587
|
-
/**
|
|
11588
|
-
* Type definition for Constructor (data only)
|
|
11589
|
-
*/
|
|
11590
|
-
type ConstructorType<TStateMutability extends StateMutability = StateMutability, TInputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11591
|
-
type: "constructor";
|
|
11592
|
-
stateMutability: TStateMutability;
|
|
11593
|
-
inputs: TInputs;
|
|
11594
|
-
};
|
|
11595
|
-
|
|
11596
|
-
/**
|
|
11597
|
-
* Function ABI item type
|
|
11598
|
-
*
|
|
11599
|
-
* @template TName - Function name
|
|
11600
|
-
* @template TStateMutability - State mutability (pure | view | nonpayable | payable)
|
|
11601
|
-
* @template TInputs - Input parameters
|
|
11602
|
-
* @template TOutputs - Output parameters
|
|
11603
|
-
*/
|
|
11604
|
-
type FunctionType<TName extends string = string, TStateMutability extends StateMutability = StateMutability, TInputs extends readonly Parameter[] = readonly Parameter[], TOutputs extends readonly Parameter[] = readonly Parameter[]> = {
|
|
11605
|
-
type: "function";
|
|
11606
|
-
name: TName;
|
|
11607
|
-
stateMutability: TStateMutability;
|
|
11608
|
-
inputs: TInputs;
|
|
11609
|
-
outputs: TOutputs;
|
|
11610
|
-
};
|
|
11611
|
-
|
|
11612
|
-
type Fallback<TStateMutability extends StateMutability = StateMutability> = {
|
|
11613
|
-
type: "fallback";
|
|
11614
|
-
stateMutability: TStateMutability;
|
|
11615
|
-
};
|
|
11616
|
-
type Receive = {
|
|
11617
|
-
type: "receive";
|
|
11618
|
-
stateMutability: "payable";
|
|
11619
|
-
};
|
|
11620
|
-
|
|
11621
|
-
type ParameterType<TType extends AbiType = AbiType, TName extends string = string, TInternalType extends string = string> = {
|
|
11622
|
-
readonly type: TType;
|
|
11623
|
-
readonly name?: TName;
|
|
11624
|
-
readonly internalType?: TInternalType;
|
|
11625
|
-
readonly indexed?: boolean;
|
|
11626
|
-
readonly components?: readonly ParameterType[];
|
|
11627
|
-
};
|
|
11628
|
-
|
|
11629
|
-
type ErrorType<TName extends string = string, TInputs extends readonly ParameterType[] = readonly ParameterType[]> = {
|
|
11630
|
-
type: "error";
|
|
11631
|
-
name: TName;
|
|
11632
|
-
inputs: TInputs;
|
|
11633
|
-
};
|
|
11634
|
-
|
|
11635
|
-
/**
|
|
11636
|
-
* Single ABI item (function, event, error, constructor, fallback, or receive)
|
|
11637
|
-
*/
|
|
11638
|
-
type Item = FunctionType | EventType | ErrorType | ConstructorType | Fallback | Receive;
|
|
11639
|
-
|
|
11640
|
-
/**
|
|
11641
|
-
* Abi class interface
|
|
11642
|
-
*
|
|
11643
|
-
* Array-like class for working with contract ABIs, extending Array with ABI-specific methods
|
|
11644
|
-
*/
|
|
11645
|
-
interface Abi<TItems extends readonly Item[] = readonly Item[]> extends Array<TItems[number]> {
|
|
11646
|
-
getItem(name: string, type: "function" | "event" | "error"): Item | undefined;
|
|
11647
|
-
format(): string[];
|
|
11648
|
-
formatWithArgs(args: Record<string, any>): string[];
|
|
11649
|
-
encode(functionName: string, args: any[]): Uint8Array;
|
|
11650
|
-
decode(functionName: string, data: Uint8Array): any[];
|
|
11651
|
-
decodeData(data: Uint8Array): {
|
|
11652
|
-
item: Item;
|
|
11653
|
-
decoded: any[];
|
|
11654
|
-
};
|
|
11655
|
-
parseLogs(logs: any[]): any[];
|
|
11656
|
-
getFunction(name: string): FunctionType | undefined;
|
|
11657
|
-
getEvent(name: string): EventType | undefined;
|
|
11658
|
-
getError(name: string): ErrorType | undefined;
|
|
11659
|
-
getConstructor(): ConstructorType | undefined;
|
|
11660
|
-
getFallback(): any;
|
|
11661
|
-
getReceive(): any;
|
|
11662
|
-
}
|
|
11663
|
-
|
|
11664
|
-
/**
|
|
11665
|
-
* Schema for Solidity state mutability.
|
|
11666
|
-
*
|
|
11667
|
-
* @since 0.1.0
|
|
11668
|
-
*/
|
|
11669
|
-
declare const StateMutabilitySchema: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11670
|
-
/**
|
|
11671
|
-
* Schema for Solidity type strings.
|
|
11672
|
-
* Uses S.String for flexibility with array types like "uint256[]" and "address[10]".
|
|
11673
|
-
*
|
|
11674
|
-
* @since 0.1.0
|
|
11675
|
-
*/
|
|
11676
|
-
declare const AbiTypeSchema: typeof S.String;
|
|
11677
|
-
/**
|
|
11678
|
-
* Internal interface for ABI parameters.
|
|
11679
|
-
* @internal
|
|
11680
|
-
*/
|
|
11681
|
-
interface ParameterInternal {
|
|
11682
|
-
readonly type: string;
|
|
11683
|
-
readonly name?: string;
|
|
11684
|
-
readonly internalType?: string;
|
|
11685
|
-
readonly indexed?: boolean;
|
|
11686
|
-
readonly components?: readonly ParameterInternal[];
|
|
11687
|
-
}
|
|
11688
|
-
/**
|
|
11689
|
-
* Schema for ABI parameters (recursive for tuple types).
|
|
11690
|
-
*
|
|
11691
|
-
* @since 0.1.0
|
|
11692
|
-
*/
|
|
11693
|
-
declare const ParameterSchema: S.Schema<ParameterInternal>;
|
|
11694
|
-
/**
|
|
11695
|
-
* Internal schema for function ABI items.
|
|
11696
|
-
* @internal
|
|
11697
|
-
*/
|
|
11698
|
-
declare const FunctionSchemaInternal: S.Struct<{
|
|
11699
|
-
type: S.Literal<["function"]>;
|
|
11700
|
-
name: typeof S.String;
|
|
11701
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11702
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11703
|
-
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11704
|
-
}>;
|
|
11705
|
-
/**
|
|
11706
|
-
* Type for function items.
|
|
11707
|
-
* @internal
|
|
11708
|
-
*/
|
|
11709
|
-
type FunctionItem = {
|
|
11710
|
-
readonly type: "function";
|
|
11711
|
-
readonly name: string;
|
|
11712
|
-
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11713
|
-
readonly inputs: readonly ParameterInternal[];
|
|
11714
|
-
readonly outputs: readonly ParameterInternal[];
|
|
11715
|
-
};
|
|
11716
|
-
/**
|
|
11717
|
-
* Schema for function ABI items.
|
|
11718
|
-
*
|
|
11719
|
-
* @since 0.1.0
|
|
11720
|
-
*/
|
|
11721
|
-
declare const FunctionSchema: S.Schema<FunctionItem, S.Schema.Encoded<typeof FunctionSchemaInternal>>;
|
|
11722
|
-
/**
|
|
11723
|
-
* Internal schema for event ABI items.
|
|
11724
|
-
* @internal
|
|
11725
|
-
*/
|
|
11726
|
-
declare const EventSchemaInternal: S.Struct<{
|
|
11727
|
-
type: S.Literal<["event"]>;
|
|
11728
|
-
name: typeof S.String;
|
|
11729
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11730
|
-
anonymous: S.optional<typeof S.Boolean>;
|
|
11731
|
-
}>;
|
|
11732
|
-
/**
|
|
11733
|
-
* Type for event items.
|
|
11734
|
-
* @internal
|
|
11735
|
-
*/
|
|
11736
|
-
type EventItem = {
|
|
11737
|
-
readonly type: "event";
|
|
11738
|
-
readonly name: string;
|
|
11739
|
-
readonly inputs: readonly ParameterInternal[];
|
|
11740
|
-
readonly anonymous?: boolean;
|
|
11741
|
-
};
|
|
11742
|
-
/**
|
|
11743
|
-
* Schema for event ABI items.
|
|
11744
|
-
*
|
|
11745
|
-
* @since 0.1.0
|
|
11746
|
-
*/
|
|
11747
|
-
declare const EventSchema: S.Schema<EventItem, S.Schema.Encoded<typeof EventSchemaInternal>>;
|
|
11748
|
-
/**
|
|
11749
|
-
* Internal schema for error ABI items.
|
|
11750
|
-
* @internal
|
|
11751
|
-
*/
|
|
11752
|
-
declare const ErrorSchemaInternal: S.Struct<{
|
|
11753
|
-
type: S.Literal<["error"]>;
|
|
11754
|
-
name: typeof S.String;
|
|
11755
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11756
|
-
}>;
|
|
11757
|
-
/**
|
|
11758
|
-
* Type for error items.
|
|
11759
|
-
* @internal
|
|
11760
|
-
*/
|
|
11761
|
-
type ErrorItem = {
|
|
11762
|
-
readonly type: "error";
|
|
11763
|
-
readonly name: string;
|
|
11764
|
-
readonly inputs: readonly ParameterInternal[];
|
|
11765
|
-
};
|
|
11766
|
-
/**
|
|
11767
|
-
* Schema for error ABI items.
|
|
11768
|
-
*
|
|
11769
|
-
* @since 0.1.0
|
|
11770
|
-
*/
|
|
11771
|
-
declare const ErrorSchema: S.Schema<ErrorItem, S.Schema.Encoded<typeof ErrorSchemaInternal>>;
|
|
11772
|
-
/**
|
|
11773
|
-
* Internal schema for constructor ABI items.
|
|
11774
|
-
* @internal
|
|
11775
|
-
*/
|
|
11776
|
-
declare const ConstructorSchemaInternal: S.Struct<{
|
|
11777
|
-
type: S.Literal<["constructor"]>;
|
|
11778
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11779
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11780
|
-
}>;
|
|
11781
|
-
/**
|
|
11782
|
-
* Type for constructor items.
|
|
11783
|
-
* @internal
|
|
11784
|
-
*/
|
|
11785
|
-
type ConstructorItem = {
|
|
11786
|
-
readonly type: "constructor";
|
|
11787
|
-
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11788
|
-
readonly inputs: readonly ParameterInternal[];
|
|
11789
|
-
};
|
|
11790
|
-
/**
|
|
11791
|
-
* Schema for constructor ABI items.
|
|
11792
|
-
*
|
|
11793
|
-
* @since 0.1.0
|
|
11794
|
-
*/
|
|
11795
|
-
declare const ConstructorSchema: S.Schema<ConstructorItem, S.Schema.Encoded<typeof ConstructorSchemaInternal>>;
|
|
11796
|
-
/**
|
|
11797
|
-
* Internal schema for fallback ABI items.
|
|
11798
|
-
* @internal
|
|
11799
|
-
*/
|
|
11800
|
-
declare const FallbackSchemaInternal: S.Struct<{
|
|
11801
|
-
type: S.Literal<["fallback"]>;
|
|
11802
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11803
|
-
}>;
|
|
11804
|
-
/**
|
|
11805
|
-
* Type for fallback items.
|
|
11806
|
-
* @internal
|
|
11807
|
-
*/
|
|
11808
|
-
type FallbackItem = {
|
|
11809
|
-
readonly type: "fallback";
|
|
11810
|
-
readonly stateMutability: "pure" | "view" | "nonpayable" | "payable";
|
|
11811
|
-
};
|
|
11812
|
-
/**
|
|
11813
|
-
* Schema for fallback ABI items.
|
|
11814
|
-
*
|
|
11815
|
-
* @since 0.1.0
|
|
11816
|
-
*/
|
|
11817
|
-
declare const FallbackSchema: S.Schema<FallbackItem, S.Schema.Encoded<typeof FallbackSchemaInternal>>;
|
|
11818
|
-
/**
|
|
11819
|
-
* Internal schema for receive ABI items.
|
|
11820
|
-
* @internal
|
|
11821
|
-
*/
|
|
11822
|
-
declare const ReceiveSchemaInternal: S.Struct<{
|
|
11823
|
-
type: S.Literal<["receive"]>;
|
|
11824
|
-
stateMutability: S.Literal<["payable"]>;
|
|
11825
|
-
}>;
|
|
11826
|
-
/**
|
|
11827
|
-
* Type for receive items.
|
|
11828
|
-
* @internal
|
|
11829
|
-
*/
|
|
11830
|
-
type ReceiveItem = {
|
|
11831
|
-
readonly type: "receive";
|
|
11832
|
-
readonly stateMutability: "payable";
|
|
11833
|
-
};
|
|
11834
|
-
/**
|
|
11835
|
-
* Schema for receive ABI items.
|
|
11836
|
-
*
|
|
11837
|
-
* @since 0.1.0
|
|
11838
|
-
*/
|
|
11839
|
-
declare const ReceiveSchema: S.Schema<ReceiveItem, S.Schema.Encoded<typeof ReceiveSchemaInternal>>;
|
|
11840
|
-
/**
|
|
11841
|
-
* Internal union schema for all ABI item types.
|
|
11842
|
-
* @internal
|
|
11843
|
-
*/
|
|
11844
|
-
declare const ItemSchemaInternal: S.Union<[S.Struct<{
|
|
11845
|
-
type: S.Literal<["function"]>;
|
|
11846
|
-
name: typeof S.String;
|
|
11847
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11848
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11849
|
-
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11850
|
-
}>, S.Struct<{
|
|
11851
|
-
type: S.Literal<["event"]>;
|
|
11852
|
-
name: typeof S.String;
|
|
11853
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11854
|
-
anonymous: S.optional<typeof S.Boolean>;
|
|
11855
|
-
}>, S.Struct<{
|
|
11856
|
-
type: S.Literal<["error"]>;
|
|
11857
|
-
name: typeof S.String;
|
|
11858
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11859
|
-
}>, S.Struct<{
|
|
11860
|
-
type: S.Literal<["constructor"]>;
|
|
11861
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11862
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11863
|
-
}>, S.Struct<{
|
|
11864
|
-
type: S.Literal<["fallback"]>;
|
|
11865
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11866
|
-
}>, S.Struct<{
|
|
11867
|
-
type: S.Literal<["receive"]>;
|
|
11868
|
-
stateMutability: S.Literal<["payable"]>;
|
|
11869
|
-
}>]>;
|
|
11870
|
-
/**
|
|
11871
|
-
* Type for any ABI item.
|
|
11872
|
-
* @internal
|
|
11873
|
-
*/
|
|
11874
|
-
type AbiItemInternal = FunctionItem | EventItem | ErrorItem | ConstructorItem | FallbackItem | ReceiveItem;
|
|
11875
|
-
/**
|
|
11876
|
-
* Schema for any ABI item (function, event, error, constructor, fallback, receive).
|
|
11877
|
-
*
|
|
11878
|
-
* @since 0.1.0
|
|
11879
|
-
*/
|
|
11880
|
-
declare const ItemSchema: S.Schema<AbiItemInternal, S.Schema.Encoded<typeof ItemSchemaInternal>>;
|
|
11881
|
-
/**
|
|
11882
|
-
* Schema for validated Abi instances.
|
|
11883
|
-
* Use this schema to check if a value is already an Abi.
|
|
11884
|
-
*
|
|
11885
|
-
* @since 0.1.0
|
|
11886
|
-
*/
|
|
11887
|
-
declare const AbiSchema: S.declare<Abi<readonly _tevm_voltaire_Abi.ItemType[]>, Abi<readonly _tevm_voltaire_Abi.ItemType[]>, readonly [], never>;
|
|
11888
|
-
/**
|
|
11889
|
-
* Schema that parses raw ABI arrays into Abi instances.
|
|
11890
|
-
* Use this to validate and construct Abi from unknown input.
|
|
11891
|
-
*
|
|
11892
|
-
* @example
|
|
11893
|
-
* ```typescript
|
|
11894
|
-
* import * as Abi from 'voltaire-effect/primitives/Abi'
|
|
11895
|
-
* import * as S from 'effect/Schema'
|
|
11896
|
-
*
|
|
11897
|
-
* const abi = S.decodeUnknownSync(Abi.fromArray)([
|
|
11898
|
-
* { type: 'function', name: 'transfer', stateMutability: 'nonpayable',
|
|
11899
|
-
* inputs: [{ type: 'address', name: 'to' }, { type: 'uint256', name: 'amount' }],
|
|
11900
|
-
* outputs: [{ type: 'bool' }] }
|
|
11901
|
-
* ])
|
|
11902
|
-
* ```
|
|
11903
|
-
*
|
|
11904
|
-
* @since 0.1.0
|
|
11905
|
-
*/
|
|
11906
|
-
declare const fromArray: S.transformOrFail<S.Array$<S.Union<[S.Struct<{
|
|
11907
|
-
type: S.Literal<["function"]>;
|
|
11908
|
-
name: typeof S.String;
|
|
11909
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11910
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11911
|
-
outputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11912
|
-
}>, S.Struct<{
|
|
11913
|
-
type: S.Literal<["event"]>;
|
|
11914
|
-
name: typeof S.String;
|
|
11915
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11916
|
-
anonymous: S.optional<typeof S.Boolean>;
|
|
11917
|
-
}>, S.Struct<{
|
|
11918
|
-
type: S.Literal<["error"]>;
|
|
11919
|
-
name: typeof S.String;
|
|
11920
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11921
|
-
}>, S.Struct<{
|
|
11922
|
-
type: S.Literal<["constructor"]>;
|
|
11923
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11924
|
-
inputs: S.Array$<S.Schema<ParameterInternal, ParameterInternal, never>>;
|
|
11925
|
-
}>, S.Struct<{
|
|
11926
|
-
type: S.Literal<["fallback"]>;
|
|
11927
|
-
stateMutability: S.Union<[S.Literal<["pure"]>, S.Literal<["view"]>, S.Literal<["nonpayable"]>, S.Literal<["payable"]>]>;
|
|
11928
|
-
}>, S.Struct<{
|
|
11929
|
-
type: S.Literal<["receive"]>;
|
|
11930
|
-
stateMutability: S.Literal<["payable"]>;
|
|
11931
|
-
}>]>>, S.declare<Abi<readonly _tevm_voltaire_Abi.ItemType[]>, Abi<readonly _tevm_voltaire_Abi.ItemType[]>, readonly [], never>, never>;
|
|
11932
|
-
|
|
11933
|
-
/**
|
|
11934
|
-
* @fileoverview Encodes function call data from ABI by function name.
|
|
11935
|
-
* Provides Effect-based wrapper around the branded ABI encode method.
|
|
11936
|
-
*
|
|
11937
|
-
* @module Abi/encode
|
|
11938
|
-
* @since 0.0.1
|
|
11939
|
-
*/
|
|
11940
|
-
|
|
11941
|
-
type AbiInput$k = readonly ItemType[];
|
|
11942
|
-
/**
|
|
11943
|
-
* Encodes function call data from ABI by function name.
|
|
11944
|
-
*
|
|
11945
|
-
* @description
|
|
11946
|
-
* Creates encoded calldata for invoking a contract function.
|
|
11947
|
-
*
|
|
11948
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
11949
|
-
* @param {string} functionName - The function name to encode.
|
|
11950
|
-
* @param {readonly unknown[]} args - The function arguments.
|
|
11951
|
-
* @returns {Effect.Effect<Uint8Array, AbiItemNotFoundError | AbiEncodingError>}
|
|
11952
|
-
* Effect yielding encoded calldata as bytes.
|
|
11953
|
-
*
|
|
11954
|
-
* @example
|
|
11955
|
-
* ```typescript
|
|
11956
|
-
* import * as Effect from 'effect/Effect'
|
|
11957
|
-
* import { encode } from 'voltaire-effect/primitives/Abi'
|
|
11958
|
-
*
|
|
11959
|
-
* const calldata = await Effect.runPromise(
|
|
11960
|
-
* encode(abi, 'transfer', [to, amount])
|
|
11961
|
-
* )
|
|
11962
|
-
* ```
|
|
11963
|
-
*
|
|
11964
|
-
* @since 0.0.1
|
|
11965
|
-
*/
|
|
11966
|
-
declare const encode: (abi: AbiInput$k, functionName: string, args: readonly unknown[]) => Effect.Effect<Uint8Array, AbiItemNotFoundError | AbiEncodingError>;
|
|
11967
|
-
|
|
11968
|
-
/**
|
|
11969
|
-
* @fileoverview ABI encodePacked - compact encoding without padding.
|
|
11970
|
-
* Provides Effect-based wrapper for packed encoding.
|
|
11971
|
-
*
|
|
11972
|
-
* @module Abi/encodePacked
|
|
11973
|
-
* @since 0.0.1
|
|
11974
|
-
*/
|
|
11975
|
-
|
|
11976
|
-
/**
|
|
11977
|
-
* Encodes values in packed format (no padding).
|
|
11978
|
-
*
|
|
11979
|
-
* @description
|
|
11980
|
-
* Performs ABI encoding without padding, used for creating hashes
|
|
11981
|
-
* where standard ABI encoding would waste space.
|
|
11982
|
-
*
|
|
11983
|
-
* @param {readonly string[]} types - Array of Solidity type strings.
|
|
11984
|
-
* @param {readonly unknown[]} values - Array of values to encode.
|
|
11985
|
-
* @returns {Effect.Effect<HexType, AbiParameterMismatchError | AbiEncodingError>}
|
|
11986
|
-
* Effect yielding encoded hex string.
|
|
11987
|
-
*
|
|
11988
|
-
* @example
|
|
11989
|
-
* ```typescript
|
|
11990
|
-
* import * as Effect from 'effect/Effect'
|
|
11991
|
-
* import { encodePacked } from 'voltaire-effect/primitives/Abi'
|
|
11992
|
-
*
|
|
11993
|
-
* const encoded = await Effect.runPromise(
|
|
11994
|
-
* encodePacked(['address', 'uint256'], [address, amount])
|
|
11995
|
-
* )
|
|
11996
|
-
* ```
|
|
11997
|
-
*
|
|
11998
|
-
* @since 0.0.1
|
|
11999
|
-
*/
|
|
12000
|
-
declare const encodePacked: (types: readonly string[], values: readonly unknown[]) => Effect.Effect<HexType, AbiParameterMismatchError | AbiEncodingError>;
|
|
12001
|
-
|
|
12002
|
-
/**
|
|
12003
|
-
* @fileoverview Encodes ERC-7751 wrapped error data.
|
|
12004
|
-
* Provides Effect-based wrapper for wrapped error encoding.
|
|
12005
|
-
*
|
|
12006
|
-
* @module Abi/encodeWrappedError
|
|
12007
|
-
* @since 0.0.1
|
|
12008
|
-
*/
|
|
12009
|
-
|
|
12010
|
-
/**
|
|
12011
|
-
* Wrapped error input structure (ERC-7751).
|
|
12012
|
-
*/
|
|
12013
|
-
type WrappedErrorInput = WrappedErrorType;
|
|
12014
|
-
/**
|
|
12015
|
-
* Encodes ERC-7751 wrapped error data.
|
|
12016
|
-
*
|
|
12017
|
-
* @description
|
|
12018
|
-
* Creates encoded error data following the ERC-7751 specification:
|
|
12019
|
-
* `error WrappedError(address target, bytes4 selector, bytes reason, bytes details)`
|
|
12020
|
-
*
|
|
12021
|
-
* @param {WrappedErrorInput} wrappedError - Wrapped error data.
|
|
12022
|
-
* @returns {Effect.Effect<Uint8Array, AbiEncodingError>}
|
|
12023
|
-
* Effect yielding encoded error data (selector + ABI-encoded params).
|
|
12024
|
-
*
|
|
12025
|
-
* @example
|
|
12026
|
-
* ```typescript
|
|
12027
|
-
* import * as Effect from 'effect/Effect'
|
|
12028
|
-
* import { encodeWrappedError } from 'voltaire-effect/primitives/Abi'
|
|
12029
|
-
* import * as Address from '@tevm/voltaire/Address'
|
|
12030
|
-
* import * as Selector from '@tevm/voltaire/Selector'
|
|
12031
|
-
*
|
|
12032
|
-
* const encoded = await Effect.runPromise(
|
|
12033
|
-
* encodeWrappedError({
|
|
12034
|
-
* target: Address.from('0x1234...'),
|
|
12035
|
-
* selector: Selector.fromHex('0xabcd1234'),
|
|
12036
|
-
* reason: new Uint8Array([...]),
|
|
12037
|
-
* details: new Uint8Array([...])
|
|
12038
|
-
* })
|
|
12039
|
-
* )
|
|
12040
|
-
* ```
|
|
12041
|
-
*
|
|
12042
|
-
* @see https://eips.ethereum.org/EIPS/eip-7751
|
|
12043
|
-
* @since 0.0.1
|
|
12044
|
-
*/
|
|
12045
|
-
declare const encodeWrappedError: (wrappedError: WrappedErrorInput) => Effect.Effect<Uint8Array, AbiEncodingError>;
|
|
12046
|
-
|
|
12047
|
-
/**
|
|
12048
|
-
* @fileoverview Decodes function return values from ABI by function name.
|
|
12049
|
-
* Provides Effect-based wrapper around the branded ABI decode method.
|
|
12050
|
-
*
|
|
12051
|
-
* @module Abi/decode
|
|
12052
|
-
* @since 0.0.1
|
|
12053
|
-
*/
|
|
12054
|
-
|
|
12055
|
-
type AbiInput$j = readonly ItemType[];
|
|
12056
|
-
/**
|
|
12057
|
-
* Decodes function return values from ABI by function name.
|
|
12058
|
-
*
|
|
12059
|
-
* @description
|
|
12060
|
-
* Decodes the return data from a contract call using the function's output types.
|
|
12061
|
-
*
|
|
12062
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12063
|
-
* @param {string} functionName - The function name whose outputs to decode.
|
|
12064
|
-
* @param {Uint8Array} data - The encoded return data.
|
|
12065
|
-
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>}
|
|
12066
|
-
* Effect yielding decoded return values.
|
|
12067
|
-
*
|
|
12068
|
-
* @example
|
|
12069
|
-
* ```typescript
|
|
12070
|
-
* import * as Effect from 'effect/Effect'
|
|
12071
|
-
* import { decode } from 'voltaire-effect/primitives/Abi'
|
|
12072
|
-
*
|
|
12073
|
-
* const result = await Effect.runPromise(
|
|
12074
|
-
* decode(abi, 'balanceOf', returnData)
|
|
12075
|
-
* )
|
|
12076
|
-
* ```
|
|
12077
|
-
*
|
|
12078
|
-
* @since 0.0.1
|
|
12079
|
-
*/
|
|
12080
|
-
declare const decode: (abi: AbiInput$j, functionName: string, data: Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>;
|
|
12081
|
-
|
|
12082
|
-
/**
|
|
12083
|
-
* @fileoverview Decodes function call data and identifies the function.
|
|
12084
|
-
* Provides Effect-based wrapper around the branded ABI decodeData method.
|
|
12085
|
-
*
|
|
12086
|
-
* @module Abi/decodeData
|
|
12087
|
-
* @since 0.0.1
|
|
12088
|
-
*/
|
|
12089
|
-
|
|
12090
|
-
type AbiInput$i = readonly ItemType[];
|
|
12091
|
-
/**
|
|
12092
|
-
* Decodes function call data and identifies the function.
|
|
12093
|
-
*
|
|
12094
|
-
* @description
|
|
12095
|
-
* Parses encoded calldata to extract the function name and decoded arguments.
|
|
12096
|
-
* The data must start with a 4-byte function selector.
|
|
12097
|
-
*
|
|
12098
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12099
|
-
* @param {Uint8Array} data - The encoded function call data.
|
|
12100
|
-
* @returns {Effect.Effect<{ functionName: string; args: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12101
|
-
* Effect yielding the function name and decoded arguments.
|
|
12102
|
-
*
|
|
12103
|
-
* @example
|
|
12104
|
-
* ```typescript
|
|
12105
|
-
* import * as Effect from 'effect/Effect'
|
|
12106
|
-
* import { decodeData } from 'voltaire-effect/primitives/Abi'
|
|
12107
|
-
*
|
|
12108
|
-
* const decoded = await Effect.runPromise(
|
|
12109
|
-
* decodeData(abi, calldata)
|
|
12110
|
-
* )
|
|
12111
|
-
* console.log(decoded.functionName) // 'transfer'
|
|
12112
|
-
* console.log(decoded.args) // ['0x...', 100n]
|
|
12113
|
-
* ```
|
|
12114
|
-
*
|
|
12115
|
-
* @since 0.0.1
|
|
12116
|
-
*/
|
|
12117
|
-
declare const decodeData: (abi: AbiInput$i, data: Uint8Array) => Effect.Effect<{
|
|
12118
|
-
functionName: string;
|
|
12119
|
-
args: readonly unknown[];
|
|
12120
|
-
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12121
|
-
|
|
12122
|
-
/**
|
|
12123
|
-
* @fileoverview Decodes event log data using ABI.
|
|
12124
|
-
* Provides Effect-based wrapper for parsing log entries.
|
|
12125
|
-
*
|
|
12126
|
-
* @module Abi/decodeLog
|
|
12127
|
-
* @since 0.0.1
|
|
12128
|
-
*/
|
|
12129
|
-
|
|
12130
|
-
type AbiInput$h = readonly ItemType[];
|
|
12131
|
-
/**
|
|
12132
|
-
* Log input structure.
|
|
12133
|
-
*/
|
|
12134
|
-
interface LogInput$1 {
|
|
12135
|
-
data: HexType | Uint8Array;
|
|
12136
|
-
topics: readonly (HexType | Uint8Array)[];
|
|
12137
|
-
}
|
|
12138
|
-
/**
|
|
12139
|
-
* Decodes event log data using ABI.
|
|
12140
|
-
*
|
|
12141
|
-
* @description
|
|
12142
|
-
* Parses a log entry to extract the event name and decoded parameters.
|
|
12143
|
-
* Supports both regular events (matched by topic0) and anonymous events.
|
|
12144
|
-
*
|
|
12145
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12146
|
-
* @param {LogInput} log - The log object with data and topics.
|
|
12147
|
-
* @returns {Effect.Effect<{ event: string; params: Record<string, unknown> }, AbiItemNotFoundError | AbiDecodingError>}
|
|
12148
|
-
* Effect yielding the event name and decoded parameters.
|
|
12149
|
-
*
|
|
12150
|
-
* @example
|
|
12151
|
-
* ```typescript
|
|
12152
|
-
* import * as Effect from 'effect/Effect'
|
|
12153
|
-
* import { decodeLog } from 'voltaire-effect/primitives/Abi'
|
|
12154
|
-
*
|
|
12155
|
-
* const decoded = await Effect.runPromise(
|
|
12156
|
-
* decodeLog(abi, { data: '0x...', topics: ['0x...', ...] })
|
|
12157
|
-
* )
|
|
12158
|
-
* console.log(decoded.event) // 'Transfer'
|
|
12159
|
-
* console.log(decoded.params) // { from: '0x...', to: '0x...', value: 100n }
|
|
12160
|
-
* ```
|
|
12161
|
-
*
|
|
12162
|
-
* @since 0.0.1
|
|
12163
|
-
*/
|
|
12164
|
-
declare const decodeLog: (abi: AbiInput$h, log: LogInput$1) => Effect.Effect<{
|
|
12165
|
-
event: string;
|
|
12166
|
-
params: Record<string, unknown>;
|
|
12167
|
-
}, AbiItemNotFoundError | AbiDecodingError>;
|
|
12168
|
-
|
|
12169
|
-
/**
|
|
12170
|
-
* @fileoverview Decodes ERC-7751 wrapped error data.
|
|
12171
|
-
* Provides Effect-based wrapper for wrapped error decoding.
|
|
12172
|
-
*
|
|
12173
|
-
* @module Abi/decodeWrappedError
|
|
12174
|
-
* @since 0.0.1
|
|
12175
|
-
*/
|
|
12176
|
-
|
|
12177
|
-
/**
|
|
12178
|
-
* Decoded wrapped error structure (ERC-7751).
|
|
12179
|
-
*/
|
|
12180
|
-
type WrappedErrorResult = WrappedErrorType;
|
|
12181
|
-
/**
|
|
12182
|
-
* Decodes ERC-7751 wrapped error data.
|
|
12183
|
-
*
|
|
12184
|
-
* @description
|
|
12185
|
-
* Decodes a WrappedError from encoded bytes following the ERC-7751 specification.
|
|
12186
|
-
* Expects data to start with the WrappedError selector (0x90bfb865).
|
|
12187
|
-
*
|
|
12188
|
-
* @param {Uint8Array} data - Encoded error data (selector + ABI-encoded params).
|
|
12189
|
-
* @returns {Effect.Effect<WrappedErrorResult, AbiDecodingError | AbiInvalidSelectorError>}
|
|
12190
|
-
* Effect yielding decoded wrapped error.
|
|
12191
|
-
*
|
|
12192
|
-
* @example
|
|
12193
|
-
* ```typescript
|
|
12194
|
-
* import * as Effect from 'effect/Effect'
|
|
12195
|
-
* import { decodeWrappedError } from 'voltaire-effect/primitives/Abi'
|
|
12196
|
-
*
|
|
12197
|
-
* const decoded = await Effect.runPromise(
|
|
12198
|
-
* decodeWrappedError(errorData)
|
|
12199
|
-
* )
|
|
12200
|
-
* console.log(decoded.target) // Address of failing contract
|
|
12201
|
-
* console.log(decoded.selector) // Function selector
|
|
12202
|
-
* ```
|
|
12203
|
-
*
|
|
12204
|
-
* @see https://eips.ethereum.org/EIPS/eip-7751
|
|
12205
|
-
* @since 0.0.1
|
|
12206
|
-
*/
|
|
12207
|
-
declare const decodeWrappedError: (data: Uint8Array) => Effect.Effect<WrappedErrorResult, AbiDecodingError | AbiInvalidSelectorError$1>;
|
|
12208
|
-
|
|
12209
|
-
/**
|
|
12210
|
-
* @fileoverview Decodes error data using ABI.
|
|
12211
|
-
* Provides Effect-based wrapper for decoding error parameters.
|
|
12212
|
-
*
|
|
12213
|
-
* @module Abi/decodeError
|
|
12214
|
-
* @since 0.0.1
|
|
12215
|
-
*/
|
|
12216
|
-
|
|
12217
|
-
type AbiInvalidSelectorError = Error & {
|
|
12218
|
-
code: string;
|
|
12219
|
-
};
|
|
12220
|
-
/**
|
|
12221
|
-
* Represents a single ABI item.
|
|
12222
|
-
* @internal
|
|
12223
|
-
*/
|
|
12224
|
-
type AbiItem$4 = {
|
|
12225
|
-
type: string;
|
|
12226
|
-
name?: string;
|
|
12227
|
-
};
|
|
12228
|
-
/**
|
|
12229
|
-
* Type alias for ABI input.
|
|
12230
|
-
* @internal
|
|
12231
|
-
*/
|
|
12232
|
-
type AbiInput$g = readonly AbiItem$4[];
|
|
12233
|
-
/**
|
|
12234
|
-
* Decodes error data using ABI.
|
|
12235
|
-
*
|
|
12236
|
-
* @description
|
|
12237
|
-
* Decodes error data by matching the 4-byte selector and decoding parameters.
|
|
12238
|
-
* Returns the error name and decoded parameters.
|
|
12239
|
-
*
|
|
12240
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12241
|
-
* @param {string} errorName - The error name to decode as.
|
|
12242
|
-
* @param {HexType | Uint8Array} data - The encoded error data.
|
|
12243
|
-
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError | AbiInvalidSelectorError>}
|
|
12244
|
-
* Effect yielding the decoded error parameters.
|
|
12245
|
-
*
|
|
12246
|
-
* @example
|
|
12247
|
-
* ```typescript
|
|
12248
|
-
* import * as Effect from 'effect/Effect'
|
|
12249
|
-
* import { decodeError } from 'voltaire-effect/primitives/Abi'
|
|
12250
|
-
*
|
|
12251
|
-
* const params = await Effect.runPromise(
|
|
12252
|
-
* decodeError(abi, 'InsufficientBalance', '0x...')
|
|
12253
|
-
* )
|
|
12254
|
-
* ```
|
|
12255
|
-
*
|
|
12256
|
-
* @since 0.0.1
|
|
12257
|
-
*/
|
|
12258
|
-
declare const decodeError: (abi: AbiInput$g, errorName: string, data: HexType | Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError | AbiInvalidSelectorError>;
|
|
12259
|
-
|
|
12260
|
-
/**
|
|
12261
|
-
* @fileoverview Encodes error data with selector.
|
|
12262
|
-
* Provides Effect-based wrapper for encoding error parameters.
|
|
12263
|
-
*
|
|
12264
|
-
* @module Abi/encodeError
|
|
12265
|
-
* @since 0.0.1
|
|
12266
|
-
*/
|
|
12267
|
-
|
|
12268
|
-
/**
|
|
12269
|
-
* Represents a single ABI item.
|
|
12270
|
-
* @internal
|
|
12271
|
-
*/
|
|
12272
|
-
type AbiItem$3 = {
|
|
12273
|
-
type: string;
|
|
12274
|
-
name?: string;
|
|
12275
|
-
};
|
|
12276
|
-
/**
|
|
12277
|
-
* Type alias for ABI input.
|
|
12278
|
-
* @internal
|
|
12279
|
-
*/
|
|
12280
|
-
type AbiInput$f = readonly AbiItem$3[];
|
|
12281
|
-
/**
|
|
12282
|
-
* Encodes error data with selector.
|
|
12283
|
-
*
|
|
12284
|
-
* @description
|
|
12285
|
-
* Encodes error parameters with a 4-byte selector prefix.
|
|
12286
|
-
* The selector is the first 4 bytes of keccak256(signature).
|
|
12287
|
-
*
|
|
12288
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12289
|
-
* @param {string} errorName - The error name.
|
|
12290
|
-
* @param {readonly unknown[]} args - The error parameters.
|
|
12291
|
-
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12292
|
-
* Effect yielding the encoded error data.
|
|
12293
|
-
*
|
|
12294
|
-
* @example
|
|
12295
|
-
* ```typescript
|
|
12296
|
-
* import * as Effect from 'effect/Effect'
|
|
12297
|
-
* import { encodeError } from 'voltaire-effect/primitives/Abi'
|
|
12298
|
-
*
|
|
12299
|
-
* const encoded = await Effect.runPromise(
|
|
12300
|
-
* encodeError(abi, 'InsufficientBalance', [100n])
|
|
12301
|
-
* )
|
|
12302
|
-
* ```
|
|
12303
|
-
*
|
|
12304
|
-
* @since 0.0.1
|
|
12305
|
-
*/
|
|
12306
|
-
declare const encodeError: (abi: AbiInput$f, errorName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12307
|
-
|
|
12308
|
-
/**
|
|
12309
|
-
* @fileoverview Decodes Ethereum event logs using ABI definitions.
|
|
12310
|
-
* Provides Effect-based wrapper for decoding log data and topics into
|
|
12311
|
-
* structured event information with typed parameters.
|
|
12312
|
-
*
|
|
12313
|
-
* @module Abi/decodeEventLog
|
|
12314
|
-
* @since 0.0.1
|
|
12315
|
-
*/
|
|
12316
|
-
|
|
12317
|
-
/**
|
|
12318
|
-
* Type alias for ABI input accepted by the decoder.
|
|
12319
|
-
* @internal
|
|
12320
|
-
*/
|
|
12321
|
-
type AbiInput$e = readonly ItemType[];
|
|
12322
|
-
/**
|
|
12323
|
-
* Input structure for decoding event logs.
|
|
12324
|
-
* Represents the raw log data emitted during transaction execution.
|
|
12325
|
-
*
|
|
12326
|
-
* @description
|
|
12327
|
-
* Contains the log data payload and topics array from an Ethereum event.
|
|
12328
|
-
* The first topic (topics[0]) is typically the event signature hash,
|
|
12329
|
-
* while subsequent topics contain indexed event parameters.
|
|
12330
|
-
*
|
|
12331
|
-
* @since 0.0.1
|
|
12332
|
-
*
|
|
12333
|
-
* @example
|
|
12334
|
-
* ```typescript
|
|
12335
|
-
* const log: LogInput = {
|
|
12336
|
-
* data: '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000',
|
|
12337
|
-
* topics: [
|
|
12338
|
-
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef', // Transfer signature
|
|
12339
|
-
* '0x000000000000000000000000sender...', // indexed from
|
|
12340
|
-
* '0x000000000000000000000000recipient...' // indexed to
|
|
12341
|
-
* ]
|
|
12342
|
-
* }
|
|
12343
|
-
* ```
|
|
12344
|
-
*/
|
|
12345
|
-
interface LogInput {
|
|
12346
|
-
/**
|
|
12347
|
-
* The log data as hex string or bytes.
|
|
12348
|
-
* Contains non-indexed event parameters ABI-encoded.
|
|
12349
|
-
*/
|
|
12350
|
-
data: HexType | Uint8Array;
|
|
12351
|
-
/**
|
|
12352
|
-
* Array of log topics as hex strings or bytes.
|
|
12353
|
-
* First topic is event signature, rest are indexed params.
|
|
12354
|
-
*/
|
|
12355
|
-
topics: readonly (HexType | Uint8Array)[];
|
|
12356
|
-
}
|
|
12357
|
-
/**
|
|
12358
|
-
* Decodes an event log using the provided ABI.
|
|
12359
|
-
*
|
|
12360
|
-
* @description
|
|
12361
|
-
* Parses raw log data and topics into a structured object containing
|
|
12362
|
-
* the event name and decoded parameters. Uses the first topic to identify
|
|
12363
|
-
* the event by its signature hash, then decodes remaining topics and data
|
|
12364
|
-
* according to the event's ABI definition.
|
|
12365
|
-
*
|
|
12366
|
-
* This function never throws exceptions. Instead, it returns an Effect
|
|
12367
|
-
* that may fail with an `AbiItemNotFoundError` if no matching event
|
|
12368
|
-
* is found in the provided ABI, or an `AbiDecodingError` if the log
|
|
12369
|
-
* data cannot be decoded.
|
|
12370
|
-
*
|
|
12371
|
-
* @param {AbiInput} abi - The contract ABI containing event definitions.
|
|
12372
|
-
* Can be a JSON ABI array or parsed ABI object.
|
|
12373
|
-
* @param {LogInput} log - The log data with topics to decode.
|
|
12374
|
-
* Must include at least one topic (the event signature).
|
|
12375
|
-
*
|
|
12376
|
-
* @returns {Effect.Effect<{ event: string; params: Record<string, unknown> }, AbiItemNotFoundError | AbiDecodingError>}
|
|
12377
|
-
* Effect yielding an object with:
|
|
12378
|
-
* - `event`: The name of the matched event
|
|
12379
|
-
* - `params`: Record of parameter names to decoded values
|
|
12380
|
-
* Or failing with `AbiItemNotFoundError` if event not found.
|
|
12381
|
-
*
|
|
12382
|
-
* @throws {AbiItemNotFoundError} When no event in the ABI matches the log's topic signature.
|
|
12383
|
-
*
|
|
12384
|
-
* @example
|
|
12385
|
-
* ```typescript
|
|
12386
|
-
* import * as Effect from 'effect/Effect'
|
|
12387
|
-
* import { decodeEventLog } from 'voltaire-effect/primitives/Abi'
|
|
12388
|
-
*
|
|
12389
|
-
* const erc20Abi = [
|
|
12390
|
-
* {
|
|
12391
|
-
* type: 'event',
|
|
12392
|
-
* name: 'Transfer',
|
|
12393
|
-
* inputs: [
|
|
12394
|
-
* { name: 'from', type: 'address', indexed: true },
|
|
12395
|
-
* { name: 'to', type: 'address', indexed: true },
|
|
12396
|
-
* { name: 'value', type: 'uint256', indexed: false }
|
|
12397
|
-
* ]
|
|
12398
|
-
* }
|
|
12399
|
-
* ]
|
|
12400
|
-
*
|
|
12401
|
-
* const result = await Effect.runPromise(decodeEventLog(erc20Abi, {
|
|
12402
|
-
* data: '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000',
|
|
12403
|
-
* topics: [
|
|
12404
|
-
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
|
12405
|
-
* '0x000000000000000000000000abc...',
|
|
12406
|
-
* '0x000000000000000000000000def...'
|
|
12407
|
-
* ]
|
|
12408
|
-
* }))
|
|
12409
|
-
*
|
|
12410
|
-
* console.log(result.event) // 'Transfer'
|
|
12411
|
-
* console.log(result.params) // { from: '0xabc...', to: '0xdef...', value: 1000000000000000000n }
|
|
12412
|
-
* ```
|
|
12413
|
-
*
|
|
12414
|
-
* @example
|
|
12415
|
-
* ```typescript
|
|
12416
|
-
* // Handle unknown events gracefully
|
|
12417
|
-
* const decoded = await Effect.runPromise(
|
|
12418
|
-
* decodeEventLog(abi, log).pipe(
|
|
12419
|
-
* Effect.catchTag('AbiItemNotFoundError', (e) =>
|
|
12420
|
-
* Effect.succeed({ event: 'Unknown', params: {} })
|
|
12421
|
-
* )
|
|
12422
|
-
* )
|
|
12423
|
-
* )
|
|
12424
|
-
* ```
|
|
12425
|
-
*
|
|
12426
|
-
* @since 0.0.1
|
|
12427
|
-
* @see {@link getEvent} for retrieving event definitions by name
|
|
12428
|
-
*/
|
|
12429
|
-
declare const decodeEventLog: (abi: AbiInput$e, log: LogInput) => Effect.Effect<{
|
|
12430
|
-
event: string;
|
|
12431
|
-
params: Record<string, unknown>;
|
|
12432
|
-
}, AbiItemNotFoundError | AbiDecodingError>;
|
|
12433
|
-
|
|
12434
|
-
/**
|
|
12435
|
-
* @fileoverview Encodes event log topics.
|
|
12436
|
-
* Provides Effect-based wrapper for encoding event topics.
|
|
12437
|
-
*
|
|
12438
|
-
* @module Abi/encodeEventLog
|
|
12439
|
-
* @since 0.0.1
|
|
12440
|
-
*/
|
|
12441
|
-
|
|
12442
|
-
/**
|
|
12443
|
-
* Represents a single ABI item.
|
|
12444
|
-
* @internal
|
|
12445
|
-
*/
|
|
12446
|
-
type AbiItem$2 = {
|
|
12447
|
-
type: string;
|
|
12448
|
-
name?: string;
|
|
12449
|
-
};
|
|
12450
|
-
/**
|
|
12451
|
-
* Type alias for ABI input.
|
|
12452
|
-
* @internal
|
|
12453
|
-
*/
|
|
12454
|
-
type AbiInput$d = readonly AbiItem$2[];
|
|
12455
|
-
/**
|
|
12456
|
-
* Encodes event log topics.
|
|
12457
|
-
*
|
|
12458
|
-
* @description
|
|
12459
|
-
* Encodes indexed event parameters as topics for filtering logs.
|
|
12460
|
-
* Returns the event selector as topic0 followed by encoded indexed parameters.
|
|
12461
|
-
* Null topics indicate a wildcard match in log filters.
|
|
12462
|
-
*
|
|
12463
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12464
|
-
* @param {string} eventName - The event name.
|
|
12465
|
-
* @param {readonly unknown[]} indexedArgs - The indexed parameter values.
|
|
12466
|
-
* @returns {Effect.Effect<readonly (HexType | null)[], AbiItemNotFoundError | AbiEncodingError>}
|
|
12467
|
-
* Effect yielding the encoded topics array.
|
|
12468
|
-
*
|
|
12469
|
-
* @example
|
|
12470
|
-
* ```typescript
|
|
12471
|
-
* import * as Effect from 'effect/Effect'
|
|
12472
|
-
* import { encodeEventLog } from 'voltaire-effect/primitives/Abi'
|
|
12473
|
-
*
|
|
12474
|
-
* const topics = await Effect.runPromise(
|
|
12475
|
-
* encodeEventLog(abi, 'Transfer', [from, to])
|
|
12476
|
-
* )
|
|
12477
|
-
* ```
|
|
12478
|
-
*
|
|
12479
|
-
* @since 0.0.1
|
|
12480
|
-
*/
|
|
12481
|
-
declare const encodeEventLog: (abi: AbiInput$d, eventName: string, indexedArgs: readonly unknown[]) => Effect.Effect<readonly (HexType | null)[], AbiItemNotFoundError | AbiEncodingError>;
|
|
12482
|
-
|
|
12483
|
-
/**
|
|
12484
|
-
* @fileoverview Decodes function call data using ABI.
|
|
12485
|
-
* Provides Effect-based wrapper for parsing encoded calldata.
|
|
12486
|
-
*
|
|
12487
|
-
* @module Abi/decodeFunction
|
|
12488
|
-
* @since 0.0.1
|
|
12489
|
-
*/
|
|
12490
|
-
|
|
12491
|
-
/**
|
|
12492
|
-
* Type alias for ABI input.
|
|
12493
|
-
* @internal
|
|
12494
|
-
*/
|
|
12495
|
-
type AbiInput$c = readonly ItemType[];
|
|
12496
|
-
/**
|
|
12497
|
-
* Decodes function call data using ABI.
|
|
12498
|
-
*
|
|
12499
|
-
* @description
|
|
12500
|
-
* Parses encoded calldata to extract the function name and decoded parameters.
|
|
12501
|
-
* The data must start with a 4-byte function selector.
|
|
12502
|
-
*
|
|
12503
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12504
|
-
* @param {HexType | Uint8Array} data - The encoded function call data.
|
|
12505
|
-
* @returns {Effect.Effect<{ name: string; params: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12506
|
-
* Effect yielding the function name and decoded parameters.
|
|
12507
|
-
*
|
|
12508
|
-
* @example
|
|
12509
|
-
* ```typescript
|
|
12510
|
-
* import * as Effect from 'effect/Effect'
|
|
12511
|
-
* import { decodeFunction } from 'voltaire-effect/primitives/Abi'
|
|
12512
|
-
*
|
|
12513
|
-
* const decoded = await Effect.runPromise(
|
|
12514
|
-
* decodeFunction(abi, '0xa9059cbb...')
|
|
12515
|
-
* )
|
|
12516
|
-
* console.log(decoded.name) // 'transfer'
|
|
12517
|
-
* console.log(decoded.params) // ['0x...', 100n]
|
|
12518
|
-
* ```
|
|
12519
|
-
*
|
|
12520
|
-
* @since 0.0.1
|
|
12521
|
-
*/
|
|
12522
|
-
declare const decodeFunction: (abi: AbiInput$c, data: HexType | Uint8Array) => Effect.Effect<{
|
|
12523
|
-
name: string;
|
|
12524
|
-
params: readonly unknown[];
|
|
12525
|
-
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12526
|
-
|
|
12527
|
-
/**
|
|
12528
|
-
* @fileoverview Decodes Ethereum function call data (calldata) using ABI definitions.
|
|
12529
|
-
* Provides Effect-based wrapper for parsing calldata into function name and parameters.
|
|
12530
|
-
*
|
|
12531
|
-
* @module Abi/decodeFunctionData
|
|
12532
|
-
* @since 0.0.1
|
|
12533
|
-
*/
|
|
12534
|
-
|
|
12535
|
-
/**
|
|
12536
|
-
* Type alias for ABI input accepted by the decoder.
|
|
12537
|
-
* @internal
|
|
12538
|
-
*/
|
|
12539
|
-
type AbiInput$b = readonly ItemType[];
|
|
12540
|
-
/**
|
|
12541
|
-
* Decodes function call data using the provided ABI.
|
|
12542
|
-
*
|
|
12543
|
-
* @description
|
|
12544
|
-
* Parses encoded calldata to extract the function name and decoded parameters.
|
|
12545
|
-
* The calldata consists of a 4-byte function selector followed by ABI-encoded
|
|
12546
|
-
* arguments. This function identifies the function by its selector and decodes
|
|
12547
|
-
* the arguments according to the function's input types.
|
|
12548
|
-
*
|
|
12549
|
-
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12550
|
-
* may fail with one of several error types depending on what went wrong.
|
|
12551
|
-
*
|
|
12552
|
-
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12553
|
-
* Can be a JSON ABI array or parsed ABI object.
|
|
12554
|
-
* @param {HexType | Uint8Array} data - The encoded function calldata as hex string or bytes.
|
|
12555
|
-
* Must be at least 4 bytes (the selector).
|
|
12556
|
-
*
|
|
12557
|
-
* @returns {Effect.Effect<{ name: string; params: readonly unknown[] }, AbiItemNotFoundError | AbiInvalidSelectorError | AbiDecodingError>}
|
|
12558
|
-
* Effect yielding an object with:
|
|
12559
|
-
* - `name`: The name of the matched function
|
|
12560
|
-
* - `params`: Array of decoded parameter values in order
|
|
12561
|
-
* Or failing with one of:
|
|
12562
|
-
* - `AbiItemNotFoundError`: No function matches the selector
|
|
12563
|
-
* - `AbiInvalidSelectorError`: Invalid or malformed selector
|
|
12564
|
-
* - `AbiDecodingError`: Failed to decode the parameters
|
|
12565
|
-
*
|
|
12566
|
-
* @throws {AbiItemNotFoundError} When no function in the ABI matches the calldata selector.
|
|
12567
|
-
* @throws {AbiInvalidSelectorError} When the calldata is too short or has invalid selector.
|
|
12568
|
-
* @throws {AbiDecodingError} When parameter decoding fails (wrong types, insufficient data).
|
|
12569
|
-
*
|
|
12570
|
-
* @example
|
|
12571
|
-
* ```typescript
|
|
12572
|
-
* import * as Effect from 'effect/Effect'
|
|
12573
|
-
* import { decodeFunctionData } from 'voltaire-effect/primitives/Abi'
|
|
12574
|
-
*
|
|
12575
|
-
* const erc20Abi = [
|
|
12576
|
-
* {
|
|
12577
|
-
* type: 'function',
|
|
12578
|
-
* name: 'transfer',
|
|
12579
|
-
* inputs: [
|
|
12580
|
-
* { name: 'to', type: 'address' },
|
|
12581
|
-
* { name: 'amount', type: 'uint256' }
|
|
12582
|
-
* ],
|
|
12583
|
-
* outputs: [{ type: 'bool' }]
|
|
12584
|
-
* }
|
|
12585
|
-
* ]
|
|
12586
|
-
*
|
|
12587
|
-
* // Decode a transfer call
|
|
12588
|
-
* const result = await Effect.runPromise(
|
|
12589
|
-
* decodeFunctionData(erc20Abi, '0xa9059cbb000000000000000000000000...')
|
|
12590
|
-
* )
|
|
12591
|
-
* console.log(result.name) // 'transfer'
|
|
12592
|
-
* console.log(result.params) // ['0x...recipient', 1000000n]
|
|
12593
|
-
* ```
|
|
12594
|
-
*
|
|
12595
|
-
* @example
|
|
12596
|
-
* ```typescript
|
|
12597
|
-
* // Handle decoding errors
|
|
12598
|
-
* const decoded = await Effect.runPromise(
|
|
12599
|
-
* decodeFunctionData(abi, calldata).pipe(
|
|
12600
|
-
* Effect.catchTags({
|
|
12601
|
-
* AbiItemNotFoundError: () => Effect.succeed({ name: 'unknown', params: [] }),
|
|
12602
|
-
* AbiInvalidSelectorError: () => Effect.fail(new Error('Invalid calldata')),
|
|
12603
|
-
* AbiDecodingError: (e) => Effect.fail(new Error(`Decode failed: ${e.message}`))
|
|
12604
|
-
* })
|
|
12605
|
-
* )
|
|
12606
|
-
* )
|
|
12607
|
-
* ```
|
|
12608
|
-
*
|
|
12609
|
-
* @since 0.0.1
|
|
12610
|
-
* @see {@link encodeFunctionData} for encoding function calls
|
|
12611
|
-
* @see {@link getFunction} for retrieving function definitions by name
|
|
12612
|
-
*/
|
|
12613
|
-
declare const decodeFunctionData: (abi: AbiInput$b, data: HexType | Uint8Array) => Effect.Effect<{
|
|
12614
|
-
name: string;
|
|
12615
|
-
params: readonly unknown[];
|
|
12616
|
-
}, AbiItemNotFoundError | AbiInvalidSelectorError$1 | AbiDecodingError>;
|
|
12617
|
-
|
|
12618
|
-
/**
|
|
12619
|
-
* @fileoverview Decodes Ethereum function return data using ABI definitions.
|
|
12620
|
-
* Provides Effect-based wrapper for parsing function call return values.
|
|
12621
|
-
*
|
|
12622
|
-
* @module Abi/decodeFunctionResult
|
|
12623
|
-
* @since 0.0.1
|
|
12624
|
-
*/
|
|
12625
|
-
|
|
12626
|
-
/**
|
|
12627
|
-
* Represents a single ABI item with type and optional name.
|
|
12628
|
-
* @internal
|
|
12629
|
-
*/
|
|
12630
|
-
type AbiItem$1 = {
|
|
12631
|
-
type: string;
|
|
12632
|
-
name?: string;
|
|
12633
|
-
};
|
|
12634
|
-
/**
|
|
12635
|
-
* Type alias for ABI input accepted by the decoder.
|
|
12636
|
-
* @internal
|
|
12637
|
-
*/
|
|
12638
|
-
type AbiInput$a = readonly AbiItem$1[];
|
|
12639
|
-
/**
|
|
12640
|
-
* Decodes the return value of a function call using the provided ABI.
|
|
12641
|
-
*
|
|
12642
|
-
* @description
|
|
12643
|
-
* Parses the ABI-encoded return data from a contract call into an array of
|
|
12644
|
-
* decoded values. The function looks up the named function in the ABI to
|
|
12645
|
-
* determine the expected output types, then decodes the data accordingly.
|
|
12646
|
-
*
|
|
12647
|
-
* This is typically used after making an `eth_call` or similar RPC request
|
|
12648
|
-
* to interpret the raw bytes returned by the contract.
|
|
12649
|
-
*
|
|
12650
|
-
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12651
|
-
* may fail with typed errors.
|
|
12652
|
-
*
|
|
12653
|
-
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12654
|
-
* Must be an array of ABI items including the target function.
|
|
12655
|
-
* @param {string} functionName - The name of the function whose result to decode.
|
|
12656
|
-
* Must exactly match a function name in the ABI.
|
|
12657
|
-
* @param {HexType | Uint8Array} data - The encoded return data as hex string or bytes.
|
|
12658
|
-
* This is the raw data returned from the contract call.
|
|
12659
|
-
*
|
|
12660
|
-
* @returns {Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>}
|
|
12661
|
-
* Effect yielding an array of decoded return values in order.
|
|
12662
|
-
* For functions with single return value, array has one element.
|
|
12663
|
-
* For functions with multiple returns, array has multiple elements.
|
|
12664
|
-
* Or failing with:
|
|
12665
|
-
* - `AbiItemNotFoundError`: Function not found in ABI
|
|
12666
|
-
* - `AbiDecodingError`: Failed to decode the return data
|
|
12667
|
-
*
|
|
12668
|
-
* @throws {AbiItemNotFoundError} When the function name is not found in the ABI.
|
|
12669
|
-
* @throws {AbiDecodingError} When return data decoding fails (wrong types, insufficient data).
|
|
12670
|
-
*
|
|
12671
|
-
* @example
|
|
12672
|
-
* ```typescript
|
|
12673
|
-
* import * as Effect from 'effect/Effect'
|
|
12674
|
-
* import { decodeFunctionResult } from 'voltaire-effect/primitives/Abi'
|
|
12675
|
-
*
|
|
12676
|
-
* const erc20Abi = [
|
|
12677
|
-
* {
|
|
12678
|
-
* type: 'function',
|
|
12679
|
-
* name: 'balanceOf',
|
|
12680
|
-
* inputs: [{ name: 'account', type: 'address' }],
|
|
12681
|
-
* outputs: [{ type: 'uint256' }]
|
|
12682
|
-
* }
|
|
12683
|
-
* ]
|
|
12684
|
-
*
|
|
12685
|
-
* // Decode balanceOf return value
|
|
12686
|
-
* const returnData = '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000'
|
|
12687
|
-
* const result = await Effect.runPromise(
|
|
12688
|
-
* decodeFunctionResult(erc20Abi, 'balanceOf', returnData)
|
|
12689
|
-
* )
|
|
12690
|
-
* console.log(result[0]) // 1000000000000000000n (1 ETH in wei)
|
|
12691
|
-
* ```
|
|
12692
|
-
*
|
|
12693
|
-
* @example
|
|
12694
|
-
* ```typescript
|
|
12695
|
-
* // Function with multiple return values
|
|
12696
|
-
* const pairAbi = [
|
|
12697
|
-
* {
|
|
12698
|
-
* type: 'function',
|
|
12699
|
-
* name: 'getReserves',
|
|
12700
|
-
* inputs: [],
|
|
12701
|
-
* outputs: [
|
|
12702
|
-
* { name: 'reserve0', type: 'uint112' },
|
|
12703
|
-
* { name: 'reserve1', type: 'uint112' },
|
|
12704
|
-
* { name: 'blockTimestampLast', type: 'uint32' }
|
|
12705
|
-
* ]
|
|
12706
|
-
* }
|
|
12707
|
-
* ]
|
|
12708
|
-
*
|
|
12709
|
-
* const result = await Effect.runPromise(
|
|
12710
|
-
* decodeFunctionResult(pairAbi, 'getReserves', returnData)
|
|
12711
|
-
* )
|
|
12712
|
-
* const [reserve0, reserve1, timestamp] = result
|
|
12713
|
-
* ```
|
|
12714
|
-
*
|
|
12715
|
-
* @example
|
|
12716
|
-
* ```typescript
|
|
12717
|
-
* // Handle errors gracefully
|
|
12718
|
-
* const decoded = await Effect.runPromise(
|
|
12719
|
-
* decodeFunctionResult(abi, 'unknownFn', data).pipe(
|
|
12720
|
-
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
12721
|
-
* Effect.fail(new Error('Function not in ABI'))
|
|
12722
|
-
* )
|
|
12723
|
-
* )
|
|
12724
|
-
* )
|
|
12725
|
-
* ```
|
|
12726
|
-
*
|
|
12727
|
-
* @since 0.0.1
|
|
12728
|
-
* @see {@link decodeFunctionData} for decoding function calldata
|
|
12729
|
-
* @see {@link encodeFunctionData} for encoding function calls
|
|
12730
|
-
*/
|
|
12731
|
-
declare const decodeFunctionResult: (abi: AbiInput$a, functionName: string, data: HexType | Uint8Array) => Effect.Effect<readonly unknown[], AbiItemNotFoundError | AbiDecodingError>;
|
|
12732
|
-
|
|
12733
|
-
/**
|
|
12734
|
-
* @fileoverview Encodes function call data from ABI by function name.
|
|
12735
|
-
* Provides Effect-based wrapper for creating encoded calldata.
|
|
12736
|
-
*
|
|
12737
|
-
* @module Abi/encodeFunction
|
|
12738
|
-
* @since 0.0.1
|
|
12739
|
-
*/
|
|
12740
|
-
|
|
12741
|
-
/**
|
|
12742
|
-
* Type alias for ABI input.
|
|
12743
|
-
* @internal
|
|
12744
|
-
*/
|
|
12745
|
-
type AbiInput$9 = readonly ItemType[];
|
|
12746
|
-
/**
|
|
12747
|
-
* Encodes function call data from ABI by function name.
|
|
12748
|
-
*
|
|
12749
|
-
* @description
|
|
12750
|
-
* Creates encoded calldata for invoking a contract function. The result
|
|
12751
|
-
* is a hex string consisting of a 4-byte function selector followed by
|
|
12752
|
-
* ABI-encoded arguments.
|
|
12753
|
-
*
|
|
12754
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12755
|
-
* @param {string} functionName - The function name to encode.
|
|
12756
|
-
* @param {readonly unknown[]} args - The function arguments.
|
|
12757
|
-
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12758
|
-
* Effect yielding encoded calldata as hex string.
|
|
12759
|
-
*
|
|
12760
|
-
* @example
|
|
12761
|
-
* ```typescript
|
|
12762
|
-
* import * as Effect from 'effect/Effect'
|
|
12763
|
-
* import { encodeFunction } from 'voltaire-effect/primitives/Abi'
|
|
12764
|
-
*
|
|
12765
|
-
* const calldata = await Effect.runPromise(
|
|
12766
|
-
* encodeFunction(abi, 'transfer', [to, amount])
|
|
12767
|
-
* )
|
|
12768
|
-
* ```
|
|
12769
|
-
*
|
|
12770
|
-
* @since 0.0.1
|
|
12771
|
-
*/
|
|
12772
|
-
declare const encodeFunction: (abi: AbiInput$9, functionName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12773
|
-
|
|
12774
|
-
/**
|
|
12775
|
-
* @fileoverview Encodes Ethereum function call data (calldata) using ABI definitions.
|
|
12776
|
-
* Provides Effect-based wrapper for creating encoded calldata for contract calls.
|
|
12777
|
-
*
|
|
12778
|
-
* @module Abi/encodeFunctionData
|
|
12779
|
-
* @since 0.0.1
|
|
12780
|
-
*/
|
|
12781
|
-
|
|
12782
|
-
/**
|
|
12783
|
-
* Type alias for ABI input accepted by the encoder.
|
|
12784
|
-
* @internal
|
|
12785
|
-
*/
|
|
12786
|
-
type AbiInput$8 = readonly ItemType[];
|
|
12787
|
-
/**
|
|
12788
|
-
* Encodes function call data using the provided ABI.
|
|
12789
|
-
*
|
|
12790
|
-
* @description
|
|
12791
|
-
* Creates encoded calldata for invoking a contract function. The result
|
|
12792
|
-
* is a hex string consisting of a 4-byte function selector followed by
|
|
12793
|
-
* ABI-encoded arguments. This calldata can be used directly in a transaction
|
|
12794
|
-
* or `eth_call` request.
|
|
12795
|
-
*
|
|
12796
|
-
* This function never throws exceptions. Instead, it returns an Effect that
|
|
12797
|
-
* may fail with typed errors if the function is not found or arguments
|
|
12798
|
-
* cannot be encoded.
|
|
12799
|
-
*
|
|
12800
|
-
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
12801
|
-
* Can be a JSON ABI array or parsed ABI object.
|
|
12802
|
-
* @param {string} functionName - The name of the function to encode.
|
|
12803
|
-
* Must exactly match a function name in the ABI.
|
|
12804
|
-
* @param {readonly unknown[]} args - The function arguments to encode.
|
|
12805
|
-
* Must match the function's input types in order.
|
|
12806
|
-
*
|
|
12807
|
-
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12808
|
-
* Effect yielding encoded calldata as hex string starting with '0x'.
|
|
12809
|
-
* Or failing with:
|
|
12810
|
-
* - `AbiItemNotFoundError`: Function not found in ABI
|
|
12811
|
-
* - `AbiEncodingError`: Failed to encode the arguments
|
|
12812
|
-
*
|
|
12813
|
-
* @throws {AbiItemNotFoundError} When the function name is not found in the ABI.
|
|
12814
|
-
* @throws {AbiEncodingError} When argument encoding fails (wrong types, invalid values).
|
|
12815
|
-
*
|
|
12816
|
-
* @example
|
|
12817
|
-
* ```typescript
|
|
12818
|
-
* import * as Effect from 'effect/Effect'
|
|
12819
|
-
* import { encodeFunctionData } from 'voltaire-effect/primitives/Abi'
|
|
12820
|
-
*
|
|
12821
|
-
* const erc20Abi = [
|
|
12822
|
-
* {
|
|
12823
|
-
* type: 'function',
|
|
12824
|
-
* name: 'transfer',
|
|
12825
|
-
* inputs: [
|
|
12826
|
-
* { name: 'to', type: 'address' },
|
|
12827
|
-
* { name: 'amount', type: 'uint256' }
|
|
12828
|
-
* ],
|
|
12829
|
-
* outputs: [{ type: 'bool' }]
|
|
12830
|
-
* }
|
|
12831
|
-
* ]
|
|
12832
|
-
*
|
|
12833
|
-
* // Encode a transfer call
|
|
12834
|
-
* const calldata = await Effect.runPromise(
|
|
12835
|
-
* encodeFunctionData(erc20Abi, 'transfer', [
|
|
12836
|
-
* '0x742d35Cc6634C0532925a3b844Bc9e7595f251e3',
|
|
12837
|
-
* 1000000000000000000n // 1 token
|
|
12838
|
-
* ])
|
|
12839
|
-
* )
|
|
12840
|
-
* // Returns: 0xa9059cbb000000000000000000000000742d35cc6634c0532925a3b844bc9e7595f251e3...
|
|
12841
|
-
* ```
|
|
12842
|
-
*
|
|
12843
|
-
* @example
|
|
12844
|
-
* ```typescript
|
|
12845
|
-
* // Handle encoding errors
|
|
12846
|
-
* const calldata = await Effect.runPromise(
|
|
12847
|
-
* encodeFunctionData(abi, 'unknownFn', []).pipe(
|
|
12848
|
-
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
12849
|
-
* Effect.fail(new Error('Function not found'))
|
|
12850
|
-
* ),
|
|
12851
|
-
* Effect.catchTag('AbiEncodingError', (e) =>
|
|
12852
|
-
* Effect.fail(new Error(`Encoding failed: ${e.message}`))
|
|
12853
|
-
* )
|
|
12854
|
-
* )
|
|
12855
|
-
* )
|
|
12856
|
-
* ```
|
|
12857
|
-
*
|
|
12858
|
-
* @example
|
|
12859
|
-
* ```typescript
|
|
12860
|
-
* // Use with transaction sending
|
|
12861
|
-
* const calldata = await Effect.runPromise(
|
|
12862
|
-
* encodeFunctionData(abi, 'approve', [spender, amount])
|
|
12863
|
-
* )
|
|
12864
|
-
* const tx = { to: tokenAddress, data: calldata }
|
|
12865
|
-
* ```
|
|
12866
|
-
*
|
|
12867
|
-
* @since 0.0.1
|
|
12868
|
-
* @see {@link decodeFunctionData} for decoding function calldata
|
|
12869
|
-
* @see {@link decodeFunctionResult} for decoding return values
|
|
12870
|
-
* @see {@link getFunction} for retrieving function definitions by name
|
|
12871
|
-
*/
|
|
12872
|
-
declare const encodeFunctionData: (abi: AbiInput$8, functionName: string, args: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12873
|
-
|
|
12874
|
-
/**
|
|
12875
|
-
* @fileoverview Encodes function return values.
|
|
12876
|
-
* Provides Effect-based wrapper for encoding function output data.
|
|
12877
|
-
*
|
|
12878
|
-
* @module Abi/encodeFunctionResult
|
|
12879
|
-
* @since 0.0.1
|
|
12880
|
-
*/
|
|
12881
|
-
|
|
12882
|
-
/**
|
|
12883
|
-
* Represents a single ABI item.
|
|
12884
|
-
* @internal
|
|
12885
|
-
*/
|
|
12886
|
-
type AbiItem = {
|
|
12887
|
-
type: string;
|
|
12888
|
-
name?: string;
|
|
12889
|
-
};
|
|
12890
|
-
/**
|
|
12891
|
-
* Type alias for ABI input.
|
|
12892
|
-
* @internal
|
|
12893
|
-
*/
|
|
12894
|
-
type AbiInput$7 = readonly AbiItem[];
|
|
12895
|
-
/**
|
|
12896
|
-
* Encodes function return values.
|
|
12897
|
-
*
|
|
12898
|
-
* @description
|
|
12899
|
-
* Encodes values as function return data according to the function's
|
|
12900
|
-
* output specification in the ABI.
|
|
12901
|
-
*
|
|
12902
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12903
|
-
* @param {string} functionName - The function name.
|
|
12904
|
-
* @param {readonly unknown[]} values - The values to encode.
|
|
12905
|
-
* @returns {Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>}
|
|
12906
|
-
* Effect yielding the encoded return data.
|
|
12907
|
-
*
|
|
12908
|
-
* @example
|
|
12909
|
-
* ```typescript
|
|
12910
|
-
* import * as Effect from 'effect/Effect'
|
|
12911
|
-
* import { encodeFunctionResult } from 'voltaire-effect/primitives/Abi'
|
|
12912
|
-
*
|
|
12913
|
-
* const encoded = await Effect.runPromise(
|
|
12914
|
-
* encodeFunctionResult(abi, 'balanceOf', [1000n])
|
|
12915
|
-
* )
|
|
12916
|
-
* ```
|
|
12917
|
-
*
|
|
12918
|
-
* @since 0.0.1
|
|
12919
|
-
*/
|
|
12920
|
-
declare const encodeFunctionResult: (abi: AbiInput$7, functionName: string, values: readonly unknown[]) => Effect.Effect<HexType, AbiItemNotFoundError | AbiEncodingError>;
|
|
12921
|
-
|
|
12922
|
-
/**
|
|
12923
|
-
* @fileoverview Finds an error in an ABI by name.
|
|
12924
|
-
* Provides Effect-based wrapper for looking up errors.
|
|
12925
|
-
*
|
|
12926
|
-
* @module Abi/findError
|
|
12927
|
-
* @since 0.0.1
|
|
12928
|
-
*/
|
|
12929
|
-
|
|
12930
|
-
/**
|
|
12931
|
-
* Type alias for ABI input.
|
|
12932
|
-
* @internal
|
|
12933
|
-
*/
|
|
12934
|
-
type AbiInput$6 = readonly ItemType[];
|
|
12935
|
-
/**
|
|
12936
|
-
* Finds an error in an ABI by name.
|
|
12937
|
-
*
|
|
12938
|
-
* @description
|
|
12939
|
-
* Searches the ABI for an error with the given name.
|
|
12940
|
-
* Returns the error definition or undefined if not found.
|
|
12941
|
-
*
|
|
12942
|
-
* This is an infallible operation that always succeeds.
|
|
12943
|
-
*
|
|
12944
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12945
|
-
* @param {string} name - The error name to find.
|
|
12946
|
-
* @returns {Effect.Effect<AbiError.ErrorType | undefined, never>}
|
|
12947
|
-
* Effect yielding the error or undefined.
|
|
12948
|
-
*
|
|
12949
|
-
* @example
|
|
12950
|
-
* ```typescript
|
|
12951
|
-
* import * as Effect from 'effect/Effect'
|
|
12952
|
-
* import { findError } from 'voltaire-effect/primitives/Abi'
|
|
12953
|
-
*
|
|
12954
|
-
* const err = Effect.runSync(findError(abi, 'InsufficientBalance'))
|
|
12955
|
-
* if (err) {
|
|
12956
|
-
* console.log(err.inputs)
|
|
12957
|
-
* }
|
|
12958
|
-
* ```
|
|
12959
|
-
*
|
|
12960
|
-
* @since 0.0.1
|
|
12961
|
-
*/
|
|
12962
|
-
declare const findError: (abi: AbiInput$6, name: string) => Effect.Effect<Error$1.ErrorType | undefined, never>;
|
|
12963
|
-
|
|
12964
|
-
/**
|
|
12965
|
-
* @fileoverview Finds an event in an ABI by name.
|
|
12966
|
-
* Provides Effect-based wrapper for looking up events.
|
|
12967
|
-
*
|
|
12968
|
-
* @module Abi/findEvent
|
|
12969
|
-
* @since 0.0.1
|
|
12970
|
-
*/
|
|
12971
|
-
|
|
12972
|
-
/**
|
|
12973
|
-
* Type alias for ABI input.
|
|
12974
|
-
* @internal
|
|
12975
|
-
*/
|
|
12976
|
-
type AbiInput$5 = readonly ItemType[];
|
|
12977
|
-
/**
|
|
12978
|
-
* Finds an event in an ABI by name.
|
|
12979
|
-
*
|
|
12980
|
-
* @description
|
|
12981
|
-
* Searches the ABI for an event with the given name.
|
|
12982
|
-
* Returns the event definition or undefined if not found.
|
|
12983
|
-
*
|
|
12984
|
-
* This is an infallible operation that always succeeds.
|
|
12985
|
-
*
|
|
12986
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
12987
|
-
* @param {string} name - The event name to find.
|
|
12988
|
-
* @returns {Effect.Effect<Event.EventType | undefined, never>}
|
|
12989
|
-
* Effect yielding the event or undefined.
|
|
12990
|
-
*
|
|
12991
|
-
* @example
|
|
12992
|
-
* ```typescript
|
|
12993
|
-
* import * as Effect from 'effect/Effect'
|
|
12994
|
-
* import { findEvent } from 'voltaire-effect/primitives/Abi'
|
|
12995
|
-
*
|
|
12996
|
-
* const evt = Effect.runSync(findEvent(abi, 'Transfer'))
|
|
12997
|
-
* if (evt) {
|
|
12998
|
-
* console.log(evt.inputs)
|
|
12999
|
-
* }
|
|
13000
|
-
* ```
|
|
13001
|
-
*
|
|
13002
|
-
* @since 0.0.1
|
|
13003
|
-
*/
|
|
13004
|
-
declare const findEvent: (abi: AbiInput$5, name: string) => Effect.Effect<Event.EventType | undefined, never>;
|
|
13005
|
-
|
|
13006
|
-
/**
|
|
13007
|
-
* @fileoverview Finds a function in an ABI by name.
|
|
13008
|
-
* Provides Effect-based wrapper for looking up functions.
|
|
13009
|
-
*
|
|
13010
|
-
* @module Abi/findFunction
|
|
13011
|
-
* @since 0.0.1
|
|
13012
|
-
*/
|
|
13013
|
-
|
|
13014
|
-
/**
|
|
13015
|
-
* Type alias for ABI input.
|
|
13016
|
-
* @internal
|
|
13017
|
-
*/
|
|
13018
|
-
type AbiInput$4 = readonly ItemType[];
|
|
13019
|
-
/**
|
|
13020
|
-
* Finds a function in an ABI by name.
|
|
13021
|
-
*
|
|
13022
|
-
* @description
|
|
13023
|
-
* Searches the ABI for a function with the given name.
|
|
13024
|
-
* Returns the function definition or undefined if not found.
|
|
13025
|
-
*
|
|
13026
|
-
* This is an infallible operation that always succeeds.
|
|
13027
|
-
*
|
|
13028
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
13029
|
-
* @param {string} name - The function name to find.
|
|
13030
|
-
* @returns {Effect.Effect<AbiFunction.FunctionType | undefined, never>}
|
|
13031
|
-
* Effect yielding the function or undefined.
|
|
13032
|
-
*
|
|
13033
|
-
* @example
|
|
13034
|
-
* ```typescript
|
|
13035
|
-
* import * as Effect from 'effect/Effect'
|
|
13036
|
-
* import { findFunction } from 'voltaire-effect/primitives/Abi'
|
|
13037
|
-
*
|
|
13038
|
-
* const fn = Effect.runSync(findFunction(abi, 'transfer'))
|
|
13039
|
-
* if (fn) {
|
|
13040
|
-
* console.log(fn.inputs)
|
|
13041
|
-
* }
|
|
13042
|
-
* ```
|
|
13043
|
-
*
|
|
13044
|
-
* @since 0.0.1
|
|
13045
|
-
*/
|
|
13046
|
-
declare const findFunction: (abi: AbiInput$4, name: string) => Effect.Effect<Function.FunctionType | undefined, never>;
|
|
13047
|
-
|
|
13048
|
-
/**
|
|
13049
|
-
* @fileoverview Finds function selector collisions in an ABI.
|
|
13050
|
-
* Provides Effect-based wrapper for collision detection.
|
|
13051
|
-
*
|
|
13052
|
-
* @module Abi/findSelectorCollisions
|
|
13053
|
-
* @since 0.0.1
|
|
13054
|
-
*/
|
|
13055
|
-
|
|
13056
|
-
type AbiInput$3 = readonly ItemType[];
|
|
13057
|
-
/**
|
|
13058
|
-
* Selector collision information.
|
|
13059
|
-
*/
|
|
13060
|
-
interface SelectorCollision {
|
|
13061
|
-
selector: HexType;
|
|
13062
|
-
functions: readonly ItemType[];
|
|
13063
|
-
}
|
|
13064
|
-
/**
|
|
13065
|
-
* Finds function selector collisions in an ABI.
|
|
13066
|
-
*
|
|
13067
|
-
* @description
|
|
13068
|
-
* Detects when multiple functions in an ABI share the same 4-byte selector.
|
|
13069
|
-
* This can happen due to the birthday paradox with 4-byte hashes.
|
|
13070
|
-
*
|
|
13071
|
-
* @param {AbiInput} abi - The contract ABI to check.
|
|
13072
|
-
* @returns {Effect.Effect<readonly SelectorCollision[], never>}
|
|
13073
|
-
* Effect yielding array of collisions (empty if none).
|
|
13074
|
-
*
|
|
13075
|
-
* @example
|
|
13076
|
-
* ```typescript
|
|
13077
|
-
* import * as Effect from 'effect/Effect'
|
|
13078
|
-
* import { findSelectorCollisions } from 'voltaire-effect/primitives/Abi'
|
|
13079
|
-
*
|
|
13080
|
-
* const collisions = await Effect.runPromise(
|
|
13081
|
-
* findSelectorCollisions(abi)
|
|
13082
|
-
* )
|
|
13083
|
-
* if (collisions.length > 0) {
|
|
13084
|
-
* console.warn('Selector collisions detected:', collisions)
|
|
13085
|
-
* }
|
|
13086
|
-
* ```
|
|
13087
|
-
*
|
|
13088
|
-
* @since 0.0.1
|
|
13089
|
-
*/
|
|
13090
|
-
declare const findSelectorCollisions: (abi: AbiInput$3) => Effect.Effect<readonly SelectorCollision[], never>;
|
|
13091
|
-
/**
|
|
13092
|
-
* Checks if an ABI has any function selector collisions.
|
|
13093
|
-
*
|
|
13094
|
-
* @description
|
|
13095
|
-
* Quick check for the presence of selector collisions.
|
|
13096
|
-
*
|
|
13097
|
-
* @param {AbiInput} abi - The contract ABI to check.
|
|
13098
|
-
* @returns {Effect.Effect<boolean, never>}
|
|
13099
|
-
* Effect yielding true if collisions exist.
|
|
13100
|
-
*
|
|
13101
|
-
* @example
|
|
13102
|
-
* ```typescript
|
|
13103
|
-
* import * as Effect from 'effect/Effect'
|
|
13104
|
-
* import { hasSelectorCollisions } from 'voltaire-effect/primitives/Abi'
|
|
13105
|
-
*
|
|
13106
|
-
* const hasCollisions = await Effect.runPromise(
|
|
13107
|
-
* hasSelectorCollisions(abi)
|
|
13108
|
-
* )
|
|
13109
|
-
* ```
|
|
13110
|
-
*
|
|
13111
|
-
* @since 0.0.1
|
|
13112
|
-
*/
|
|
13113
|
-
declare const hasSelectorCollisions: (abi: AbiInput$3) => Effect.Effect<boolean, never>;
|
|
13114
|
-
|
|
13115
|
-
/**
|
|
13116
|
-
* @fileoverview Formats ABI item as human-readable string.
|
|
13117
|
-
* Provides Effect-based wrapper for ABI formatting.
|
|
13118
|
-
*
|
|
13119
|
-
* @module Abi/format
|
|
13120
|
-
* @since 0.0.1
|
|
13121
|
-
*/
|
|
13122
|
-
|
|
13123
|
-
/**
|
|
13124
|
-
* Formats an ABI item as a human-readable string.
|
|
13125
|
-
*
|
|
13126
|
-
* @description
|
|
13127
|
-
* Converts an ABI item to its canonical human-readable representation,
|
|
13128
|
-
* e.g., "function transfer(address to, uint256 amount) returns (bool)".
|
|
13129
|
-
*
|
|
13130
|
-
* This is an infallible operation that always succeeds.
|
|
13131
|
-
*
|
|
13132
|
-
* @param {object} item - The ABI item to format.
|
|
13133
|
-
* @returns {Effect.Effect<string, never>}
|
|
13134
|
-
* Effect yielding the formatted string.
|
|
13135
|
-
*
|
|
13136
|
-
* @example
|
|
13137
|
-
* ```typescript
|
|
13138
|
-
* import * as Effect from 'effect/Effect'
|
|
13139
|
-
* import { format } from 'voltaire-effect/primitives/Abi'
|
|
13140
|
-
*
|
|
13141
|
-
* const fn = { type: 'function', name: 'transfer', inputs: [...], outputs: [...] }
|
|
13142
|
-
* const formatted = Effect.runSync(format(fn))
|
|
13143
|
-
* // 'function transfer(address to, uint256 amount) returns (bool)'
|
|
13144
|
-
* ```
|
|
13145
|
-
*
|
|
13146
|
-
* @since 0.0.1
|
|
13147
|
-
*/
|
|
13148
|
-
declare const format: (item: Parameters<typeof Item$1.format>[0]) => Effect.Effect<string, never>;
|
|
13149
|
-
|
|
13150
|
-
/**
|
|
13151
|
-
* @fileoverview Formats ABI item with argument values.
|
|
13152
|
-
* Provides Effect-based wrapper for ABI formatting with args.
|
|
13153
|
-
*
|
|
13154
|
-
* @module Abi/formatWithArgs
|
|
13155
|
-
* @since 0.0.1
|
|
13156
|
-
*/
|
|
13157
|
-
|
|
13158
|
-
/**
|
|
13159
|
-
* Formats an ABI item with argument values.
|
|
13160
|
-
*
|
|
13161
|
-
* @description
|
|
13162
|
-
* Converts an ABI item to its human-readable representation with
|
|
13163
|
-
* actual argument values substituted, e.g.,
|
|
13164
|
-
* "function transfer(0x123..., 1000)".
|
|
13165
|
-
*
|
|
13166
|
-
* This is an infallible operation that always succeeds.
|
|
13167
|
-
*
|
|
13168
|
-
* @param {object} item - The ABI item to format.
|
|
13169
|
-
* @param {readonly unknown[]} args - The argument values.
|
|
13170
|
-
* @returns {Effect.Effect<string, never>}
|
|
13171
|
-
* Effect yielding the formatted string with args.
|
|
13172
|
-
*
|
|
13173
|
-
* @example
|
|
13174
|
-
* ```typescript
|
|
13175
|
-
* import * as Effect from 'effect/Effect'
|
|
13176
|
-
* import { formatWithArgs } from 'voltaire-effect/primitives/Abi'
|
|
13177
|
-
*
|
|
13178
|
-
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13179
|
-
* const formatted = Effect.runSync(formatWithArgs(fn, ['0x123...', 1000n]))
|
|
13180
|
-
* // 'function transfer(0x123..., 1000)'
|
|
13181
|
-
* ```
|
|
13182
|
-
*
|
|
13183
|
-
* @since 0.0.1
|
|
13184
|
-
*/
|
|
13185
|
-
declare const formatWithArgs: (item: Parameters<typeof Item$1.formatWithArgs>[0], args: readonly unknown[]) => Effect.Effect<string, never>;
|
|
13186
|
-
|
|
13187
|
-
/**
|
|
13188
|
-
* @fileoverview Gets the canonical signature of an error.
|
|
13189
|
-
* Provides Effect-based wrapper for getting error signatures.
|
|
13190
|
-
*
|
|
13191
|
-
* @module Abi/getErrorSignature
|
|
13192
|
-
* @since 0.0.1
|
|
13193
|
-
*/
|
|
13194
|
-
|
|
13195
|
-
/**
|
|
13196
|
-
* Gets the canonical signature of an error.
|
|
13197
|
-
*
|
|
13198
|
-
* @description
|
|
13199
|
-
* Returns the canonical string representation of an error signature,
|
|
13200
|
-
* e.g., "InsufficientBalance(uint256)".
|
|
13201
|
-
*
|
|
13202
|
-
* This is an infallible operation that always succeeds.
|
|
13203
|
-
*
|
|
13204
|
-
* @param {AbiError.ErrorType} error - The error ABI item.
|
|
13205
|
-
* @returns {Effect.Effect<string, never>}
|
|
13206
|
-
* Effect yielding the error signature string.
|
|
13207
|
-
*
|
|
13208
|
-
* @example
|
|
13209
|
-
* ```typescript
|
|
13210
|
-
* import * as Effect from 'effect/Effect'
|
|
13211
|
-
* import { getErrorSignature } from 'voltaire-effect/primitives/Abi'
|
|
13212
|
-
*
|
|
13213
|
-
* const err = { type: 'error', name: 'InsufficientBalance', inputs: [...] }
|
|
13214
|
-
* const sig = Effect.runSync(getErrorSignature(err))
|
|
13215
|
-
* // 'InsufficientBalance(uint256)'
|
|
13216
|
-
* ```
|
|
13217
|
-
*
|
|
13218
|
-
* @since 0.0.1
|
|
13219
|
-
*/
|
|
13220
|
-
declare const getErrorSignature: (error: Error$1.ErrorType) => Effect.Effect<string, never>;
|
|
13221
|
-
|
|
13222
|
-
/**
|
|
13223
|
-
* @fileoverview Retrieves event definitions from Ethereum ABI.
|
|
13224
|
-
* Provides Effect-based wrapper for looking up event ABI items by name.
|
|
13225
|
-
*
|
|
13226
|
-
* @module Abi/getEvent
|
|
13227
|
-
* @since 0.0.1
|
|
13228
|
-
*/
|
|
13229
|
-
|
|
13230
|
-
/**
|
|
13231
|
-
* Type alias for ABI input accepted by the lookup function.
|
|
13232
|
-
* @internal
|
|
13233
|
-
*/
|
|
13234
|
-
type AbiInput$2 = readonly ItemType[];
|
|
13235
|
-
/**
|
|
13236
|
-
* Retrieves an event definition from an ABI by name.
|
|
13237
|
-
*
|
|
13238
|
-
* @description
|
|
13239
|
-
* Looks up an event in the provided ABI by its name and returns the full
|
|
13240
|
-
* event definition including input parameters, indexed flags, and other
|
|
13241
|
-
* metadata. This is useful for programmatically working with events,
|
|
13242
|
-
* such as building log filters or decoding event parameters.
|
|
13243
|
-
*
|
|
13244
|
-
* This function never throws exceptions. Instead, it returns an Effect
|
|
13245
|
-
* that may fail with `AbiItemNotFoundError` if no event with the given
|
|
13246
|
-
* name exists in the ABI.
|
|
13247
|
-
*
|
|
13248
|
-
* @param {AbiInput} abi - The contract ABI containing event definitions.
|
|
13249
|
-
* Can be a JSON ABI array or parsed ABI object.
|
|
13250
|
-
* @param {string} name - The name of the event to retrieve.
|
|
13251
|
-
* Must exactly match an event name in the ABI (case-sensitive).
|
|
13252
|
-
*
|
|
13253
|
-
* @returns {Effect.Effect<AbiEvent.EventType, AbiItemNotFoundError>}
|
|
13254
|
-
* Effect yielding the event definition object containing:
|
|
13255
|
-
* - `type`: 'event'
|
|
13256
|
-
* - `name`: The event name
|
|
13257
|
-
* - `inputs`: Array of input parameters with types and indexed flags
|
|
13258
|
-
* Or failing with `AbiItemNotFoundError` if event not found.
|
|
13259
|
-
*
|
|
13260
|
-
* @throws {AbiItemNotFoundError} When no event with the given name exists in the ABI.
|
|
13261
|
-
*
|
|
13262
|
-
* @example
|
|
13263
|
-
* ```typescript
|
|
13264
|
-
* import * as Effect from 'effect/Effect'
|
|
13265
|
-
* import { getEvent } from 'voltaire-effect/primitives/Abi'
|
|
13266
|
-
*
|
|
13267
|
-
* const erc20Abi = [
|
|
13268
|
-
* {
|
|
13269
|
-
* type: 'event',
|
|
13270
|
-
* name: 'Transfer',
|
|
13271
|
-
* inputs: [
|
|
13272
|
-
* { name: 'from', type: 'address', indexed: true },
|
|
13273
|
-
* { name: 'to', type: 'address', indexed: true },
|
|
13274
|
-
* { name: 'value', type: 'uint256', indexed: false }
|
|
13275
|
-
* ]
|
|
13276
|
-
* }
|
|
13277
|
-
* ]
|
|
13278
|
-
*
|
|
13279
|
-
* const transferEvent = await Effect.runPromise(getEvent(erc20Abi, 'Transfer'))
|
|
13280
|
-
* console.log(transferEvent.inputs)
|
|
13281
|
-
* // [{ name: 'from', type: 'address', indexed: true }, ...]
|
|
13282
|
-
* ```
|
|
13283
|
-
*
|
|
13284
|
-
* @example
|
|
13285
|
-
* ```typescript
|
|
13286
|
-
* // Build a log filter from event definition
|
|
13287
|
-
* const event = await Effect.runPromise(getEvent(abi, 'Transfer'))
|
|
13288
|
-
* const signature = keccak256(
|
|
13289
|
-
* `${event.name}(${event.inputs.map(i => i.type).join(',')})`
|
|
13290
|
-
* )
|
|
13291
|
-
* ```
|
|
13292
|
-
*
|
|
13293
|
-
* @example
|
|
13294
|
-
* ```typescript
|
|
13295
|
-
* // Handle missing events
|
|
13296
|
-
* const event = await Effect.runPromise(
|
|
13297
|
-
* getEvent(abi, 'MaybeEvent').pipe(
|
|
13298
|
-
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
13299
|
-
* Effect.succeed(null)
|
|
13300
|
-
* )
|
|
13301
|
-
* )
|
|
13302
|
-
* )
|
|
13303
|
-
* ```
|
|
13304
|
-
*
|
|
13305
|
-
* @since 0.0.1
|
|
13306
|
-
* @see {@link decodeEventLog} for decoding event log data
|
|
13307
|
-
* @see {@link getFunction} for retrieving function definitions
|
|
13308
|
-
*/
|
|
13309
|
-
declare const getEvent: (abi: AbiInput$2, name: string) => Effect.Effect<Event.EventType, AbiItemNotFoundError>;
|
|
13310
|
-
|
|
13311
|
-
/**
|
|
13312
|
-
* @fileoverview Gets the canonical signature of an event.
|
|
13313
|
-
* Provides Effect-based wrapper for getting event signatures.
|
|
13314
|
-
*
|
|
13315
|
-
* @module Abi/getEventSignature
|
|
13316
|
-
* @since 0.0.1
|
|
13317
|
-
*/
|
|
13318
|
-
|
|
13319
|
-
/**
|
|
13320
|
-
* Gets the canonical signature of an event.
|
|
13321
|
-
*
|
|
13322
|
-
* @description
|
|
13323
|
-
* Returns the canonical string representation of an event signature,
|
|
13324
|
-
* e.g., "Transfer(address,address,uint256)".
|
|
13325
|
-
*
|
|
13326
|
-
* This is an infallible operation that always succeeds.
|
|
13327
|
-
*
|
|
13328
|
-
* @param {Event.EventType} event - The event ABI item.
|
|
13329
|
-
* @returns {Effect.Effect<string, never>}
|
|
13330
|
-
* Effect yielding the event signature string.
|
|
13331
|
-
*
|
|
13332
|
-
* @example
|
|
13333
|
-
* ```typescript
|
|
13334
|
-
* import * as Effect from 'effect/Effect'
|
|
13335
|
-
* import { getEventSignature } from 'voltaire-effect/primitives/Abi'
|
|
13336
|
-
*
|
|
13337
|
-
* const evt = { type: 'event', name: 'Transfer', inputs: [...] }
|
|
13338
|
-
* const sig = Effect.runSync(getEventSignature(evt))
|
|
13339
|
-
* // 'Transfer(address,address,uint256)'
|
|
13340
|
-
* ```
|
|
13341
|
-
*
|
|
13342
|
-
* @since 0.0.1
|
|
13343
|
-
*/
|
|
13344
|
-
declare const getEventSignature: (event: Event.EventType) => Effect.Effect<string, never>;
|
|
13345
|
-
|
|
13346
|
-
/**
|
|
13347
|
-
* @fileoverview Retrieves function definitions from Ethereum ABI.
|
|
13348
|
-
* Provides Effect-based wrapper for looking up function ABI items by name.
|
|
13349
|
-
*
|
|
13350
|
-
* @module Abi/getFunction
|
|
13351
|
-
* @since 0.0.1
|
|
13352
|
-
*/
|
|
13353
|
-
|
|
13354
|
-
/**
|
|
13355
|
-
* Type alias for ABI input accepted by the lookup function.
|
|
13356
|
-
* @internal
|
|
13357
|
-
*/
|
|
13358
|
-
type AbiInput$1 = readonly ItemType[];
|
|
13359
|
-
/**
|
|
13360
|
-
* Retrieves a function definition from an ABI by name.
|
|
13361
|
-
*
|
|
13362
|
-
* @description
|
|
13363
|
-
* Looks up a function in the provided ABI by its name and returns the full
|
|
13364
|
-
* function definition including input parameters, output parameters, and
|
|
13365
|
-
* state mutability. This is useful for programmatically working with functions,
|
|
13366
|
-
* such as building transaction data or validating call parameters.
|
|
13367
|
-
*
|
|
13368
|
-
* This function never throws exceptions. Instead, it returns an Effect
|
|
13369
|
-
* that may fail with `AbiItemNotFoundError` if no function with the given
|
|
13370
|
-
* name exists in the ABI.
|
|
13371
|
-
*
|
|
13372
|
-
* @param {AbiInput} abi - The contract ABI containing function definitions.
|
|
13373
|
-
* Can be a JSON ABI array or parsed ABI object.
|
|
13374
|
-
* @param {string} name - The name of the function to retrieve.
|
|
13375
|
-
* Must exactly match a function name in the ABI (case-sensitive).
|
|
13376
|
-
*
|
|
13377
|
-
* @returns {Effect.Effect<AbiFunction.FunctionType, AbiItemNotFoundError>}
|
|
13378
|
-
* Effect yielding the function definition object containing:
|
|
13379
|
-
* - `type`: 'function'
|
|
13380
|
-
* - `name`: The function name
|
|
13381
|
-
* - `inputs`: Array of input parameter definitions
|
|
13382
|
-
* - `outputs`: Array of output parameter definitions
|
|
13383
|
-
* - `stateMutability`: 'pure' | 'view' | 'nonpayable' | 'payable'
|
|
13384
|
-
* Or failing with `AbiItemNotFoundError` if function not found.
|
|
13385
|
-
*
|
|
13386
|
-
* @throws {AbiItemNotFoundError} When no function with the given name exists in the ABI.
|
|
13387
|
-
*
|
|
13388
|
-
* @example
|
|
13389
|
-
* ```typescript
|
|
13390
|
-
* import * as Effect from 'effect/Effect'
|
|
13391
|
-
* import { getFunction } from 'voltaire-effect/primitives/Abi'
|
|
13392
|
-
*
|
|
13393
|
-
* const erc20Abi = [
|
|
13394
|
-
* {
|
|
13395
|
-
* type: 'function',
|
|
13396
|
-
* name: 'transfer',
|
|
13397
|
-
* inputs: [
|
|
13398
|
-
* { name: 'to', type: 'address' },
|
|
13399
|
-
* { name: 'amount', type: 'uint256' }
|
|
13400
|
-
* ],
|
|
13401
|
-
* outputs: [{ type: 'bool' }],
|
|
13402
|
-
* stateMutability: 'nonpayable'
|
|
13403
|
-
* }
|
|
13404
|
-
* ]
|
|
13405
|
-
*
|
|
13406
|
-
* const transferFn = await Effect.runPromise(getFunction(erc20Abi, 'transfer'))
|
|
13407
|
-
* console.log(transferFn.inputs) // [{ name: 'to', type: 'address' }, ...]
|
|
13408
|
-
* console.log(transferFn.outputs) // [{ type: 'bool' }]
|
|
13409
|
-
* ```
|
|
13410
|
-
*
|
|
13411
|
-
* @example
|
|
13412
|
-
* ```typescript
|
|
13413
|
-
* // Check if function is view/pure (read-only)
|
|
13414
|
-
* const fn = await Effect.runPromise(getFunction(abi, 'balanceOf'))
|
|
13415
|
-
* const isReadOnly = fn.stateMutability === 'view' || fn.stateMutability === 'pure'
|
|
13416
|
-
* ```
|
|
13417
|
-
*
|
|
13418
|
-
* @example
|
|
13419
|
-
* ```typescript
|
|
13420
|
-
* // Handle missing functions
|
|
13421
|
-
* const fn = await Effect.runPromise(
|
|
13422
|
-
* getFunction(abi, 'maybeExists').pipe(
|
|
13423
|
-
* Effect.catchTag('AbiItemNotFoundError', () =>
|
|
13424
|
-
* Effect.succeed(null)
|
|
13425
|
-
* )
|
|
13426
|
-
* )
|
|
13427
|
-
* )
|
|
13428
|
-
* ```
|
|
13429
|
-
*
|
|
13430
|
-
* @since 0.0.1
|
|
13431
|
-
* @see {@link encodeFunctionData} for encoding function calls
|
|
13432
|
-
* @see {@link decodeFunctionData} for decoding function calldata
|
|
13433
|
-
* @see {@link decodeFunctionResult} for decoding function return values
|
|
13434
|
-
* @see {@link getEvent} for retrieving event definitions
|
|
13435
|
-
*/
|
|
13436
|
-
declare const getFunction: (abi: AbiInput$1, name: string) => Effect.Effect<Function.FunctionType, AbiItemNotFoundError>;
|
|
13437
|
-
|
|
13438
|
-
/**
|
|
13439
|
-
* @fileoverview Gets the canonical signature of a function.
|
|
13440
|
-
* Provides Effect-based wrapper for getting function signatures.
|
|
13441
|
-
*
|
|
13442
|
-
* @module Abi/getFunctionSignature
|
|
13443
|
-
* @since 0.0.1
|
|
13444
|
-
*/
|
|
13445
|
-
|
|
13446
|
-
/**
|
|
13447
|
-
* Gets the canonical signature of a function.
|
|
13448
|
-
*
|
|
13449
|
-
* @description
|
|
13450
|
-
* Returns the canonical string representation of a function signature,
|
|
13451
|
-
* e.g., "transfer(address,uint256)".
|
|
13452
|
-
*
|
|
13453
|
-
* This is an infallible operation that always succeeds.
|
|
13454
|
-
*
|
|
13455
|
-
* @param {AbiFunction.FunctionType} fn - The function ABI item.
|
|
13456
|
-
* @returns {Effect.Effect<string, never>}
|
|
13457
|
-
* Effect yielding the function signature string.
|
|
13458
|
-
*
|
|
13459
|
-
* @example
|
|
13460
|
-
* ```typescript
|
|
13461
|
-
* import * as Effect from 'effect/Effect'
|
|
13462
|
-
* import { getFunctionSignature } from 'voltaire-effect/primitives/Abi'
|
|
13463
|
-
*
|
|
13464
|
-
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13465
|
-
* const sig = Effect.runSync(getFunctionSignature(fn))
|
|
13466
|
-
* // 'transfer(address,uint256)'
|
|
13467
|
-
* ```
|
|
13468
|
-
*
|
|
13469
|
-
* @since 0.0.1
|
|
13470
|
-
*/
|
|
13471
|
-
declare const getFunctionSignature: (fn: Function.FunctionType) => Effect.Effect<string, never>;
|
|
13472
|
-
|
|
13473
|
-
/**
|
|
13474
|
-
* @fileoverview Gets function/event/error selector.
|
|
13475
|
-
* Provides Effect-based wrapper for computing selectors.
|
|
13476
|
-
*
|
|
13477
|
-
* @module Abi/getSelector
|
|
13478
|
-
* @since 0.0.1
|
|
13479
|
-
*/
|
|
13480
|
-
|
|
13481
|
-
/**
|
|
13482
|
-
* Gets the selector for a function, event, or error ABI item.
|
|
13483
|
-
*
|
|
13484
|
-
* @description
|
|
13485
|
-
* Computes the selector (first 4 bytes of keccak256 for functions/errors,
|
|
13486
|
-
* full 32 bytes for events) from an ABI item.
|
|
13487
|
-
*
|
|
13488
|
-
* This is an infallible operation that always succeeds.
|
|
13489
|
-
*
|
|
13490
|
-
* @param {object} item - The ABI item (function, event, or error).
|
|
13491
|
-
* @returns {Effect.Effect<HexType, never>}
|
|
13492
|
-
* Effect yielding the selector as hex string.
|
|
13493
|
-
*
|
|
13494
|
-
* @example
|
|
13495
|
-
* ```typescript
|
|
13496
|
-
* import * as Effect from 'effect/Effect'
|
|
13497
|
-
* import { getSelector } from 'voltaire-effect/primitives/Abi'
|
|
13498
|
-
*
|
|
13499
|
-
* const fn = { type: 'function', name: 'transfer', inputs: [...] }
|
|
13500
|
-
* const selector = Effect.runSync(getSelector(fn))
|
|
13501
|
-
* // '0xa9059cbb'
|
|
13502
|
-
* ```
|
|
13503
|
-
*
|
|
13504
|
-
* @since 0.0.1
|
|
13505
|
-
*/
|
|
13506
|
-
declare const getSelector: (item: {
|
|
13507
|
-
type: string;
|
|
13508
|
-
name?: string;
|
|
13509
|
-
inputs?: readonly unknown[];
|
|
13510
|
-
}) => Effect.Effect<HexType, never>;
|
|
13511
|
-
|
|
13512
|
-
declare const AbiParseError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
13513
|
-
readonly _tag: "AbiParseError";
|
|
13514
|
-
} & Readonly<A>;
|
|
13515
|
-
/**
|
|
13516
|
-
* Error thrown when JSON parsing fails.
|
|
13517
|
-
*/
|
|
13518
|
-
declare class AbiParseError extends AbiParseError_base<{
|
|
13519
|
-
readonly message: string;
|
|
13520
|
-
readonly code?: number;
|
|
13521
|
-
readonly context?: Record<string, unknown>;
|
|
13522
|
-
readonly cause?: unknown;
|
|
13523
|
-
}> {
|
|
13524
|
-
}
|
|
13525
|
-
/**
|
|
13526
|
-
* Parses a JSON string to an ABI array.
|
|
13527
|
-
*
|
|
13528
|
-
* @description
|
|
13529
|
-
* Parses a JSON string representing an Ethereum ABI into a structured
|
|
13530
|
-
* ABI array that can be used with other ABI functions.
|
|
13531
|
-
*
|
|
13532
|
-
* @param {string} jsonString - The JSON string to parse.
|
|
13533
|
-
* @returns {Effect.Effect<ReturnType<typeof Abi>, AbiParseError>}
|
|
13534
|
-
* Effect yielding the parsed ABI array.
|
|
13535
|
-
*
|
|
13536
|
-
* @example
|
|
13537
|
-
* ```typescript
|
|
13538
|
-
* import * as Effect from 'effect/Effect'
|
|
13539
|
-
* import { parse } from 'voltaire-effect/primitives/Abi'
|
|
13540
|
-
*
|
|
13541
|
-
* const abiJson = '[{"type":"function","name":"transfer",...}]'
|
|
13542
|
-
* const abi = await Effect.runPromise(parse(abiJson))
|
|
13543
|
-
* ```
|
|
13544
|
-
*
|
|
13545
|
-
* @since 0.0.1
|
|
13546
|
-
*/
|
|
13547
|
-
declare const parse: (jsonString: string) => Effect.Effect<ReturnType<typeof Abi$1>, AbiParseError>;
|
|
13548
|
-
|
|
13549
|
-
declare const AbiItemParseError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
13550
|
-
readonly _tag: "AbiItemParseError";
|
|
13551
|
-
} & Readonly<A>;
|
|
13552
|
-
/**
|
|
13553
|
-
* Error thrown when ABI item parsing fails.
|
|
13554
|
-
*/
|
|
13555
|
-
declare class AbiItemParseError extends AbiItemParseError_base<{
|
|
13556
|
-
readonly message: string;
|
|
13557
|
-
readonly code?: number;
|
|
13558
|
-
readonly context?: Record<string, unknown>;
|
|
13559
|
-
readonly cause?: unknown;
|
|
13560
|
-
}> {
|
|
13561
|
-
}
|
|
13562
|
-
/**
|
|
13563
|
-
* Parses a JSON string to a single ABI item.
|
|
13564
|
-
*
|
|
13565
|
-
* @description
|
|
13566
|
-
* Parses a JSON string representing a single Ethereum ABI item (function,
|
|
13567
|
-
* event, error, etc.) into a structured ABI item object.
|
|
13568
|
-
*
|
|
13569
|
-
* @param {string} jsonString - The JSON string to parse.
|
|
13570
|
-
* @returns {Effect.Effect<Item.ItemType, AbiItemParseError>}
|
|
13571
|
-
* Effect yielding the parsed ABI item.
|
|
13572
|
-
*
|
|
13573
|
-
* @example
|
|
13574
|
-
* ```typescript
|
|
13575
|
-
* import * as Effect from 'effect/Effect'
|
|
13576
|
-
* import { parseItem } from 'voltaire-effect/primitives/Abi'
|
|
13577
|
-
*
|
|
13578
|
-
* const itemJson = '{"type":"function","name":"transfer","inputs":[],"outputs":[]}'
|
|
13579
|
-
* const item = await Effect.runPromise(parseItem(itemJson))
|
|
13580
|
-
* ```
|
|
13581
|
-
*
|
|
13582
|
-
* @since 0.0.1
|
|
13583
|
-
*/
|
|
13584
|
-
declare const parseItem: (jsonString: string) => Effect.Effect<Item$1.ItemType, AbiItemParseError>;
|
|
13585
|
-
|
|
13586
|
-
/**
|
|
13587
|
-
* @fileoverview Parses multiple event logs using ABI.
|
|
13588
|
-
* Provides Effect-based wrapper for batch log parsing.
|
|
13589
|
-
*
|
|
13590
|
-
* @module Abi/parseLogs
|
|
13591
|
-
* @since 0.0.1
|
|
13592
|
-
*/
|
|
13593
|
-
|
|
13594
|
-
type AbiInput = readonly ItemType[];
|
|
13595
|
-
/**
|
|
13596
|
-
* Log input structure for parseLogs.
|
|
13597
|
-
*/
|
|
13598
|
-
interface ParseLogsInput {
|
|
13599
|
-
data: Uint8Array | string;
|
|
13600
|
-
topics: readonly (Uint8Array | string)[];
|
|
13601
|
-
}
|
|
13602
|
-
/**
|
|
13603
|
-
* Parsed log result.
|
|
13604
|
-
*/
|
|
13605
|
-
interface ParsedLog {
|
|
13606
|
-
eventName: string;
|
|
13607
|
-
args: Record<string, unknown>;
|
|
13608
|
-
}
|
|
13609
|
-
/**
|
|
13610
|
-
* Parses multiple event logs using ABI.
|
|
13611
|
-
*
|
|
13612
|
-
* @description
|
|
13613
|
-
* Parses an array of log entries, returning successfully decoded logs.
|
|
13614
|
-
* Logs that don't match any event in the ABI are silently filtered out.
|
|
13615
|
-
*
|
|
13616
|
-
* @param {AbiInput} abi - The contract ABI.
|
|
13617
|
-
* @param {readonly ParseLogsInput[]} logs - Array of log objects.
|
|
13618
|
-
* @returns {Effect.Effect<readonly ParsedLog[], never>}
|
|
13619
|
-
* Effect yielding array of parsed logs (never fails).
|
|
13620
|
-
*
|
|
13621
|
-
* @example
|
|
13622
|
-
* ```typescript
|
|
13623
|
-
* import * as Effect from 'effect/Effect'
|
|
13624
|
-
* import { parseLogs } from 'voltaire-effect/primitives/Abi'
|
|
13625
|
-
*
|
|
13626
|
-
* const parsed = await Effect.runPromise(
|
|
13627
|
-
* parseLogs(abi, logs)
|
|
13628
|
-
* )
|
|
13629
|
-
* // [{ eventName: 'Transfer', args: { from, to, value } }]
|
|
13630
|
-
* ```
|
|
13631
|
-
*
|
|
13632
|
-
* @since 0.0.1
|
|
13633
|
-
*/
|
|
13634
|
-
declare const parseLogs: (abi: AbiInput, logs: readonly ParseLogsInput[]) => Effect.Effect<readonly ParsedLog[], never>;
|
|
13635
|
-
|
|
13636
|
-
/**
|
|
13637
|
-
* @fileoverview Abi module for encoding and decoding Ethereum ABI data.
|
|
13638
|
-
* Provides Effect-based wrappers around voltaire's ABI utilities with
|
|
13639
|
-
* type-safe error handling through Effect's error channel.
|
|
13640
|
-
*
|
|
13641
|
-
* @module Abi
|
|
13642
|
-
* @since 0.0.1
|
|
13643
|
-
*/
|
|
13644
|
-
|
|
13645
|
-
type index$2_AbiItemParseError = AbiItemParseError;
|
|
13646
|
-
declare const index$2_AbiItemParseError: typeof AbiItemParseError;
|
|
13647
|
-
type index$2_AbiParseError = AbiParseError;
|
|
13648
|
-
declare const index$2_AbiParseError: typeof AbiParseError;
|
|
13649
|
-
declare const index$2_AbiSchema: typeof AbiSchema;
|
|
13650
|
-
declare const index$2_AbiTypeSchema: typeof AbiTypeSchema;
|
|
13651
|
-
declare const index$2_ConstructorSchema: typeof ConstructorSchema;
|
|
13652
|
-
declare const index$2_ErrorSchema: typeof ErrorSchema;
|
|
13653
|
-
declare const index$2_EventSchema: typeof EventSchema;
|
|
13654
|
-
declare const index$2_FallbackSchema: typeof FallbackSchema;
|
|
13655
|
-
declare const index$2_FunctionSchema: typeof FunctionSchema;
|
|
13656
|
-
declare const index$2_ItemSchema: typeof ItemSchema;
|
|
13657
|
-
declare const index$2_ParameterSchema: typeof ParameterSchema;
|
|
13658
|
-
type index$2_ParseLogsInput = ParseLogsInput;
|
|
13659
|
-
type index$2_ParsedLog = ParsedLog;
|
|
13660
|
-
declare const index$2_ReceiveSchema: typeof ReceiveSchema;
|
|
13661
|
-
type index$2_SelectorCollision = SelectorCollision;
|
|
13662
|
-
declare const index$2_StateMutabilitySchema: typeof StateMutabilitySchema;
|
|
13663
|
-
type index$2_WrappedErrorInput = WrappedErrorInput;
|
|
13664
|
-
type index$2_WrappedErrorResult = WrappedErrorResult;
|
|
13665
|
-
declare const index$2_decode: typeof decode;
|
|
13666
|
-
declare const index$2_decodeData: typeof decodeData;
|
|
13667
|
-
declare const index$2_decodeError: typeof decodeError;
|
|
13668
|
-
declare const index$2_decodeEventLog: typeof decodeEventLog;
|
|
13669
|
-
declare const index$2_decodeFunction: typeof decodeFunction;
|
|
13670
|
-
declare const index$2_decodeFunctionData: typeof decodeFunctionData;
|
|
13671
|
-
declare const index$2_decodeFunctionResult: typeof decodeFunctionResult;
|
|
13672
|
-
declare const index$2_decodeLog: typeof decodeLog;
|
|
13673
|
-
declare const index$2_decodeWrappedError: typeof decodeWrappedError;
|
|
13674
|
-
declare const index$2_encode: typeof encode;
|
|
13675
|
-
declare const index$2_encodeError: typeof encodeError;
|
|
13676
|
-
declare const index$2_encodeEventLog: typeof encodeEventLog;
|
|
13677
|
-
declare const index$2_encodeFunction: typeof encodeFunction;
|
|
13678
|
-
declare const index$2_encodeFunctionData: typeof encodeFunctionData;
|
|
13679
|
-
declare const index$2_encodeFunctionResult: typeof encodeFunctionResult;
|
|
13680
|
-
declare const index$2_encodePacked: typeof encodePacked;
|
|
13681
|
-
declare const index$2_encodeWrappedError: typeof encodeWrappedError;
|
|
13682
|
-
declare const index$2_findError: typeof findError;
|
|
13683
|
-
declare const index$2_findEvent: typeof findEvent;
|
|
13684
|
-
declare const index$2_findFunction: typeof findFunction;
|
|
13685
|
-
declare const index$2_findSelectorCollisions: typeof findSelectorCollisions;
|
|
13686
|
-
declare const index$2_format: typeof format;
|
|
13687
|
-
declare const index$2_formatWithArgs: typeof formatWithArgs;
|
|
13688
|
-
declare const index$2_fromArray: typeof fromArray;
|
|
13689
|
-
declare const index$2_getErrorSignature: typeof getErrorSignature;
|
|
13690
|
-
declare const index$2_getEvent: typeof getEvent;
|
|
13691
|
-
declare const index$2_getEventSignature: typeof getEventSignature;
|
|
13692
|
-
declare const index$2_getFunction: typeof getFunction;
|
|
13693
|
-
declare const index$2_getFunctionSignature: typeof getFunctionSignature;
|
|
13694
|
-
declare const index$2_getSelector: typeof getSelector;
|
|
13695
|
-
declare const index$2_hasSelectorCollisions: typeof hasSelectorCollisions;
|
|
13696
|
-
declare const index$2_parse: typeof parse;
|
|
13697
|
-
declare const index$2_parseItem: typeof parseItem;
|
|
13698
|
-
declare const index$2_parseLogs: typeof parseLogs;
|
|
11499
|
+
declare const index$2_BatchRequest: typeof BatchRequest;
|
|
11500
|
+
type index$2_BatchRequestType = BatchRequestType;
|
|
11501
|
+
declare const index$2_BatchResponse: typeof BatchResponse;
|
|
11502
|
+
type index$2_BatchResponseType = BatchResponseType;
|
|
11503
|
+
declare const index$2_CHAIN_DISCONNECTED: typeof CHAIN_DISCONNECTED;
|
|
11504
|
+
type index$2_ChainDisconnectedError = ChainDisconnectedError;
|
|
11505
|
+
declare const index$2_ChainDisconnectedError: typeof ChainDisconnectedError;
|
|
11506
|
+
declare const index$2_DISCONNECTED: typeof DISCONNECTED;
|
|
11507
|
+
type index$2_DisconnectedError = DisconnectedError;
|
|
11508
|
+
declare const index$2_DisconnectedError: typeof DisconnectedError;
|
|
11509
|
+
declare const index$2_EXECUTION_REVERTED: typeof EXECUTION_REVERTED;
|
|
11510
|
+
type index$2_ExecutionRevertedError = ExecutionRevertedError;
|
|
11511
|
+
declare const index$2_ExecutionRevertedError: typeof ExecutionRevertedError;
|
|
11512
|
+
declare const index$2_INSUFFICIENT_FUNDS: typeof INSUFFICIENT_FUNDS;
|
|
11513
|
+
declare const index$2_INTERNAL_ERROR: typeof INTERNAL_ERROR;
|
|
11514
|
+
declare const index$2_INVALID_INPUT: typeof INVALID_INPUT;
|
|
11515
|
+
declare const index$2_INVALID_PARAMS: typeof INVALID_PARAMS;
|
|
11516
|
+
declare const index$2_INVALID_REQUEST: typeof INVALID_REQUEST;
|
|
11517
|
+
declare const index$2_IdCounterLive: typeof IdCounterLive;
|
|
11518
|
+
type index$2_IdCounterService = IdCounterService;
|
|
11519
|
+
declare const index$2_IdCounterService: typeof IdCounterService;
|
|
11520
|
+
type index$2_InsufficientFundsError = InsufficientFundsError;
|
|
11521
|
+
declare const index$2_InsufficientFundsError: typeof InsufficientFundsError;
|
|
11522
|
+
type index$2_InternalError = InternalError;
|
|
11523
|
+
declare const index$2_InternalError: typeof InternalError;
|
|
11524
|
+
type index$2_InvalidInputError = InvalidInputError;
|
|
11525
|
+
declare const index$2_InvalidInputError: typeof InvalidInputError;
|
|
11526
|
+
type index$2_InvalidParamsError = InvalidParamsError;
|
|
11527
|
+
declare const index$2_InvalidParamsError: typeof InvalidParamsError;
|
|
11528
|
+
type index$2_InvalidRequestError = InvalidRequestError;
|
|
11529
|
+
declare const index$2_InvalidRequestError: typeof InvalidRequestError;
|
|
11530
|
+
declare const index$2_JSON_RPC_VERSION_NOT_SUPPORTED: typeof JSON_RPC_VERSION_NOT_SUPPORTED;
|
|
11531
|
+
declare const index$2_JsonRpcError: typeof JsonRpcError;
|
|
11532
|
+
type index$2_JsonRpcErrorResponse = JsonRpcErrorResponse;
|
|
11533
|
+
declare const index$2_JsonRpcErrorResponse: typeof JsonRpcErrorResponse;
|
|
11534
|
+
type index$2_JsonRpcIdType = JsonRpcIdType;
|
|
11535
|
+
type index$2_JsonRpcParseError = JsonRpcParseError;
|
|
11536
|
+
declare const index$2_JsonRpcParseError: typeof JsonRpcParseError;
|
|
11537
|
+
type index$2_JsonRpcRequestType<TParams = unknown[]> = JsonRpcRequestType<TParams>;
|
|
11538
|
+
type index$2_JsonRpcResponseType<TResult = unknown> = JsonRpcResponseType<TResult>;
|
|
11539
|
+
type index$2_JsonRpcSuccessResponseType<TResult = unknown> = JsonRpcSuccessResponseType<TResult>;
|
|
11540
|
+
declare const index$2_LIMIT_EXCEEDED: typeof LIMIT_EXCEEDED;
|
|
11541
|
+
type index$2_LimitExceededError = LimitExceededError;
|
|
11542
|
+
declare const index$2_LimitExceededError: typeof LimitExceededError;
|
|
11543
|
+
declare const index$2_METHOD_NOT_FOUND: typeof METHOD_NOT_FOUND;
|
|
11544
|
+
declare const index$2_METHOD_NOT_SUPPORTED: typeof METHOD_NOT_SUPPORTED;
|
|
11545
|
+
type index$2_MethodNotFoundError = MethodNotFoundError;
|
|
11546
|
+
declare const index$2_MethodNotFoundError: typeof MethodNotFoundError;
|
|
11547
|
+
type index$2_MethodNotSupportedError = MethodNotSupportedError;
|
|
11548
|
+
declare const index$2_MethodNotSupportedError: typeof MethodNotSupportedError;
|
|
11549
|
+
declare const index$2_NONCE_TOO_HIGH: typeof NONCE_TOO_HIGH;
|
|
11550
|
+
declare const index$2_NONCE_TOO_LOW: typeof NONCE_TOO_LOW;
|
|
11551
|
+
type index$2_NonceTooHighError = NonceTooHighError;
|
|
11552
|
+
declare const index$2_NonceTooHighError: typeof NonceTooHighError;
|
|
11553
|
+
type index$2_NonceTooLowError = NonceTooLowError;
|
|
11554
|
+
declare const index$2_NonceTooLowError: typeof NonceTooLowError;
|
|
11555
|
+
declare const index$2_PARSE_ERROR: typeof PARSE_ERROR;
|
|
11556
|
+
type index$2_ParseError = ParseError;
|
|
11557
|
+
declare const index$2_ParseError: typeof ParseError;
|
|
11558
|
+
declare const index$2_RESOURCE_NOT_FOUND: typeof RESOURCE_NOT_FOUND;
|
|
11559
|
+
declare const index$2_RESOURCE_UNAVAILABLE: typeof RESOURCE_UNAVAILABLE;
|
|
11560
|
+
declare const index$2_Request: typeof Request;
|
|
11561
|
+
type index$2_ResourceNotFoundError = ResourceNotFoundError;
|
|
11562
|
+
declare const index$2_ResourceNotFoundError: typeof ResourceNotFoundError;
|
|
11563
|
+
type index$2_ResourceUnavailableError = ResourceUnavailableError;
|
|
11564
|
+
declare const index$2_ResourceUnavailableError: typeof ResourceUnavailableError;
|
|
11565
|
+
declare const index$2_Response: typeof Response;
|
|
11566
|
+
type index$2_RpcError = RpcError;
|
|
11567
|
+
type index$2_RpcErrorCode = RpcErrorCode;
|
|
11568
|
+
declare const index$2_TRANSACTION_REJECTED: typeof TRANSACTION_REJECTED;
|
|
11569
|
+
type index$2_TransactionRejectedError = TransactionRejectedError;
|
|
11570
|
+
declare const index$2_TransactionRejectedError: typeof TransactionRejectedError;
|
|
11571
|
+
declare const index$2_UNAUTHORIZED: typeof UNAUTHORIZED;
|
|
11572
|
+
declare const index$2_UNSUPPORTED_METHOD: typeof UNSUPPORTED_METHOD;
|
|
11573
|
+
declare const index$2_USER_REJECTED_REQUEST: typeof USER_REJECTED_REQUEST;
|
|
11574
|
+
type index$2_UnauthorizedError = UnauthorizedError;
|
|
11575
|
+
declare const index$2_UnauthorizedError: typeof UnauthorizedError;
|
|
11576
|
+
type index$2_UnsupportedMethodError = UnsupportedMethodError;
|
|
11577
|
+
declare const index$2_UnsupportedMethodError: typeof UnsupportedMethodError;
|
|
11578
|
+
type index$2_UserRejectedRequestError = UserRejectedRequestError;
|
|
11579
|
+
declare const index$2_UserRejectedRequestError: typeof UserRejectedRequestError;
|
|
11580
|
+
declare const index$2_findById: typeof findById;
|
|
11581
|
+
declare const index$2_isDisconnected: typeof isDisconnected;
|
|
11582
|
+
declare const index$2_isError: typeof isError;
|
|
11583
|
+
declare const index$2_isExecutionReverted: typeof isExecutionReverted;
|
|
11584
|
+
declare const index$2_isInsufficientFunds: typeof isInsufficientFunds;
|
|
11585
|
+
declare const index$2_isNonceError: typeof isNonceError;
|
|
11586
|
+
declare const index$2_isNotification: typeof isNotification;
|
|
11587
|
+
declare const index$2_isProviderError: typeof isProviderError;
|
|
11588
|
+
declare const index$2_isSuccess: typeof isSuccess;
|
|
11589
|
+
declare const index$2_isUserRejected: typeof isUserRejected;
|
|
11590
|
+
declare const index$2_parseErrorCode: typeof parseErrorCode;
|
|
11591
|
+
declare const index$2_unwrap: typeof unwrap;
|
|
11592
|
+
declare const index$2_withParams: typeof withParams;
|
|
13699
11593
|
declare namespace index$2 {
|
|
13700
|
-
export { index$
|
|
11594
|
+
export { Anvil$1 as Anvil, index$2_BatchRequest as BatchRequest, type index$2_BatchRequestType as BatchRequestType, index$2_BatchResponse as BatchResponse, type index$2_BatchResponseType as BatchResponseType, index$2_CHAIN_DISCONNECTED as CHAIN_DISCONNECTED, index$2_ChainDisconnectedError as ChainDisconnectedError, index$2_DISCONNECTED as DISCONNECTED, index$2_DisconnectedError as DisconnectedError, index$2_EXECUTION_REVERTED as EXECUTION_REVERTED, Eth$1 as Eth, index$2_ExecutionRevertedError as ExecutionRevertedError, Hardhat$1 as Hardhat, index$2_INSUFFICIENT_FUNDS as INSUFFICIENT_FUNDS, index$2_INTERNAL_ERROR as INTERNAL_ERROR, index$2_INVALID_INPUT as INVALID_INPUT, index$2_INVALID_PARAMS as INVALID_PARAMS, index$2_INVALID_REQUEST as INVALID_REQUEST, index$2_IdCounterLive as IdCounterLive, index$2_IdCounterService as IdCounterService, index$2_InsufficientFundsError as InsufficientFundsError, index$2_InternalError as InternalError, index$2_InvalidInputError as InvalidInputError, index$2_InvalidParamsError as InvalidParamsError, index$2_InvalidRequestError as InvalidRequestError, index$2_JSON_RPC_VERSION_NOT_SUPPORTED as JSON_RPC_VERSION_NOT_SUPPORTED, index$2_JsonRpcError as JsonRpcError, index$2_JsonRpcErrorResponse as JsonRpcErrorResponse, type JsonRpcErrorResponseType$1 as JsonRpcErrorResponseType, type JsonRpcErrorType$1 as JsonRpcErrorType, type index$2_JsonRpcIdType as JsonRpcIdType, index$2_JsonRpcParseError as JsonRpcParseError, type index$2_JsonRpcRequestType as JsonRpcRequestType, type index$2_JsonRpcResponseType as JsonRpcResponseType, type index$2_JsonRpcSuccessResponseType as JsonRpcSuccessResponseType, index$2_LIMIT_EXCEEDED as LIMIT_EXCEEDED, index$2_LimitExceededError as LimitExceededError, index$2_METHOD_NOT_FOUND as METHOD_NOT_FOUND, index$2_METHOD_NOT_SUPPORTED as METHOD_NOT_SUPPORTED, index$2_MethodNotFoundError as MethodNotFoundError, index$2_MethodNotSupportedError as MethodNotSupportedError, index$2_NONCE_TOO_HIGH as NONCE_TOO_HIGH, index$2_NONCE_TOO_LOW as NONCE_TOO_LOW, Net$1 as Net, index$2_NonceTooHighError as NonceTooHighError, index$2_NonceTooLowError as NonceTooLowError, index$2_PARSE_ERROR as PARSE_ERROR, index$2_ParseError as ParseError, index$2_RESOURCE_NOT_FOUND as RESOURCE_NOT_FOUND, index$2_RESOURCE_UNAVAILABLE as RESOURCE_UNAVAILABLE, index$2_Request as Request, index$2_ResourceNotFoundError as ResourceNotFoundError, index$2_ResourceUnavailableError as ResourceUnavailableError, index$2_Response as Response, type index$2_RpcError as RpcError, type index$2_RpcErrorCode as RpcErrorCode, index$3 as Schemas, index$2_TRANSACTION_REJECTED as TRANSACTION_REJECTED, index$2_TransactionRejectedError as TransactionRejectedError, Txpool$1 as Txpool, index$2_UNAUTHORIZED as UNAUTHORIZED, index$2_UNSUPPORTED_METHOD as UNSUPPORTED_METHOD, index$2_USER_REJECTED_REQUEST as USER_REJECTED_REQUEST, index$2_UnauthorizedError as UnauthorizedError, index$2_UnsupportedMethodError as UnsupportedMethodError, index$2_UserRejectedRequestError as UserRejectedRequestError, Wallet$1 as Wallet, Web3$1 as Web3, add as batchAdd, errors as batchErrors, from$3 as batchRequestFrom, from as batchResponseFrom, parse as batchResponseParse, results as batchResults, size as batchSize, from$2 as errorFrom, toString as errorToString, index$2_findById as findById, index$2_isDisconnected as isDisconnected, index$2_isError as isError, index$2_isExecutionReverted as isExecutionReverted, index$2_isInsufficientFunds as isInsufficientFunds, index$2_isNonceError as isNonceError, index$2_isNotification as isNotification, index$2_isProviderError as isProviderError, index$2_isSuccess as isSuccess, index$2_isUserRejected as isUserRejected, index$2_parseErrorCode as parseErrorCode, from$4 as requestFrom, from$1 as responseFrom, parse$1 as responseParse, index$2_unwrap as unwrap, index$2_withParams as withParams };
|
|
13701
11595
|
}
|
|
13702
11596
|
|
|
13703
11597
|
declare const StandardsError_base: new <A extends Record<string, any> = {}>(args: effect_Types.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => effect_Cause.YieldableError & {
|
|
@@ -14178,4 +12072,4 @@ declare namespace index {
|
|
|
14178
12072
|
export { index_UnitError as UnitError, index_formatEther as formatEther, index_formatGwei as formatGwei, index_formatUnits as formatUnits, index_parseEther as parseEther, index_parseGwei as parseGwei, index_parseUnits as parseUnits };
|
|
14179
12073
|
}
|
|
14180
12074
|
|
|
14181
|
-
export { index$
|
|
12075
|
+
export { index$t as Auth, type BackfillStreamOptions, index$r as Bip39, index$q as Blake2, index$s as BlockUtils, index$p as Bls12381, index$o as Bn254, index$n as ChaCha20Poly1305, index$u as EIP712, ERC1155, ERC165, ERC20, index$l as ERC6492, ERC721, index$m as Ed25519, EventStream, EventStreamError, EventStreamService, type EventStreamShape, index$k as HDWallet, index$j as HMAC, index$2 as JsonRpc, index$h as KZG, index$w as Keccak256, index$i as Keystore, index$g as ModExp, index$f as P256, ProviderService, index$e as Ripemd160, index$d as SHA256, index$v as Secp256k1, index$c as Signers, StandardsError, index$1 as Stream, TransportService, index as Unit, type WatchStreamOptions, index$b as X25519, makeEventStream };
|