MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 1 callersMethod#emitTransactionHash
(transactionHash: string, ...args: any[])
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1214
↓ 1 callersMethod#ensureNetworkOrParamsIsNotHttpNetworkConfig
( networkOrParams?: NetworkConnectionParams<string> | string, )
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:631
↓ 1 callersMethod#ethSendTransaction
(params: any[])
packages/hardhat-ledger/src/internal/handler.ts:718
↓ 1 callersMethod#ethSign
(params: unknown[])
packages/hardhat-ledger/src/internal/handler.ts:206
↓ 1 callersMethod#ethSignTypedDataV4
(params: any[])
packages/hardhat-ledger/src/internal/handler.ts:648
↓ 1 callersMethod#expect
Moves past the current token, failing if it isn't the given one.
packages/hardhat-utils/src/internal/abi-signature.ts:391
↓ 1 callersMethod#extractHeaders
( cause: Error, )
packages/hardhat-utils/src/errors/request.ts:65
↓ 1 callersMethod#filterOutTestArtifacts
* Returns `artifactPaths` with the test artifacts removed. * * This is only meaningful in unified mode, where contracts and tests share * the
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1304
↓ 1 callersMethod#findTrueCaseFile
* Returns the absolute path of the file named `fileName` in `dir`, with its * true casing, or undefined if there's no such file. * * We use t
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:986
↓ 1 callersMethod#formatSimilarNameSuggestions
( contractNameOrFullyQualifiedName: string, similarNames: string[], )
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:262
↓ 1 callersMethod#generateNpmRemapping
* Generates a remapping used to resolve an import from `from` to `to` using * the installation name `installationName` as a prefix.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:728
↓ 1 callersMethod#getAllSolidityCompilerConfigs
()
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1407
↓ 1 callersMethod#getBlock
( block: BlockTag | string, includeTransactions: boolean, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:884
↓ 1 callersMethod#getBuildInfosAndOutputsAsBuffers
()
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:593
↓ 1 callersMethod#getChainIdFromEthChainId
()
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/chain-id/chain-id.ts:37
↓ 1 callersMethod#getChainIdFromEthNetVersion
()
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/chain-id/chain-id.ts:47
↓ 1 callersMethod#getCompilationJobCreationError
* Returns a description of why we couldn't get a compiler configuration for * the given root file and dependency subgraph. * * @param root Th
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/solc-config-selection.ts:118
↓ 1 callersMethod#getContract
( connection: NetworkConnection<ChainTypeT>, future: Future, deployedContract: { address: string }
packages/hardhat-ignition-viem/src/internal/viem-ignition-helper.ts:301
↓ 1 callersMethod#getContract
( connection: NetworkConnection<ChainTypeT>, future: Future, deployedContract: { address: string }
packages/hardhat-ignition-ethers/src/internal/ethers-ignition-helper.ts:298
↓ 1 callersMethod#getCurrentContractArtifactPaths
* Returns every `.json` artifact under the contracts artifacts directory, * excluding the project-wide top-level files (e.g. `artifacts.d.ts`) and
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1269
↓ 1 callersMethod#getDerivationPath
(index: number)
packages/hardhat-ledger/src/internal/handler.ts:433
↓ 1 callersMethod#getDirCacheKey
(dirPath: string)
packages/hardhat-utils/src/fs.ts:266
↓ 1 callersMethod#getEthersIgnitionHelper
()
packages/hardhat-ignition-ethers/src/internal/hook-handlers/network.ts:98
↓ 1 callersMethod#getFileContent
(file: ResolvedFile)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compilation-job.ts:82
↓ 1 callersMethod#getFilter
( filter: Filter | FilterByBlockHash, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:914
↓ 1 callersMethod#getFormattedInternalCompilerErrorMessage
* This function returns a properly formatted Internal Compiler Error message. * * This is present due to a bug in Solidity. See: https://github.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1439
↓ 1 callersMethod#getFullyQualifiedName
( contractNameOrFullyQualifiedName: string, )
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:160
↓ 1 callersMethod#getFullyQualifiedNameFromArtifactAbsolutePath
(artifactPath: string)
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:234
↓ 1 callersMethod#getGasPrice
()
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/gas/automatic-gas-price-handler.ts:110
↓ 1 callersMethod#getHandlersInSequentialRunningOrder
( hookCategoryName: HookCategoryNameT, hookName: HookNameT, )
packages/hardhat/src/internal/core/hook-manager.ts:353
↓ 1 callersMethod#getNonce
(address: Uint8Array<ArrayBufferLike>)
packages/hardhat-ledger/src/internal/handler.ts:821
↓ 1 callersMethod#getNonce
(address: Uint8Array)
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:361
↓ 1 callersMethod#getPartialSolidityCompilerConfigFromBuildInfo
( buildInfo: SolidityBuildInfo, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1377
↓ 1 callersMethod#getPluginStaticHookCategory
* Returns the hook category object for a plugin that has the hook category * defined. * * @param plugin A plugin that MUST have the given hoo
packages/hardhat/src/internal/core/hook-manager.ts:434
↓ 1 callersMethod#getPrivateKey
()
packages/hardhat-ethers/src/internal/signers/signers.ts:318
↓ 1 callersMethod#getPrivateKeyForAddressOrNull
( address: Uint8Array, )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:351
↓ 1 callersMethod#getPrivateKeys
()
packages/hardhat-ethers/src/internal/signers/signers.ts:330
↓ 1 callersMethod#getResultFromCacheKey
(from: string)
packages/hardhat-utils/src/fs.ts:258
↓ 1 callersMethod#getResultRelativePathCacheKey
(relativePath: string)
packages/hardhat-utils/src/fs.ts:262
↓ 1 callersMethod#getRetryAfterSeconds
( retryAfterHeader: string | undefined, retryCount: number, )
packages/hardhat/src/internal/builtin-plugins/network-manager/http-provider.ts:243
↓ 1 callersMethod#getSignedTransaction
( transactionRequest: RpcTransactionRequest, chainId: number, privateKey: Uint8Array, )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:375
↓ 1 callersMethod#getSimilarStrings
* Filters an array of strings to only include the strings that are similar to * the given string. * * @param stringToCompare The string to th
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:250
↓ 1 callersMethod#getSoliditySourcesRootFilePaths
* Returns all the root files from the different solidity source dirs in the * config, partitioned into contract files and test files according to t
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:239
↓ 1 callersMethod#getSourceContentHash
(sourceName: string, text: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compilation-job.ts:286
↓ 1 callersMethod#getStaticHookHandlerCategories
( hookCategoryName: HookCategoryNameT, )
packages/hardhat/src/internal/core/hook-manager.ts:383
↓ 1 callersMethod#getTransitiveDependencies
* Returns a generator of all the transitive dependencies of a root file. For each * dependency, it yields the sequence of fsPaths from the root to
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/solc-config-selection.ts:265
↓ 1 callersMethod#getViemIgnitionHelper
()
packages/hardhat-ignition-viem/src/internal/hook-handlers/network.ts:95
↓ 1 callersMethod#handleEdrResponse
( edrResponse: Response, method: string, params?: unknown[], )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/edr-provider.ts:341
↓ 1 callersMethod#handleExistingLock
()
packages/hardhat-utils/src/synchronization.ts:360
↓ 1 callersMethod#handleRequest
(request: JsonRpcRequest)
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/edr-provider.ts:473
↓ 1 callersMethod#handleWsRequest
(rpcReq: JsonRpcRequest, subscriptions: string[])
packages/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:197
↓ 1 callersMethod#hasCompilationErrors
(output: CompilerOutput)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1428
↓ 1 callersMethod#importResolutionErrorToNpmRootResolutionError
( npmModule: string, error: ImportResolutionError, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:1202
↓ 1 callersMethod#initializeAddressesFromPrivateKeys
( localAccountsHexPrivateKeys: string[], )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:312
↓ 1 callersMethod#initializeNetworkConnection
( networkName?: string, chainType?: ChainTypeT, networkConfigOverride?: NetworkConfigOverride, )
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:248
↓ 1 callersMethod#insertTask
(taskId: string[], task: Task, pluginId?: string)
packages/hardhat/src/internal/core/tasks/task-manager.ts:102
↓ 1 callersMethod#isAppNotOpenError
* Checks if an error indicates the Ethereum app is not open on the Ledger device. * This happens when the device is on the dashboard or has a diffe
packages/hardhat-ledger/src/internal/handler.ts:467
↓ 1 callersMethod#isBannerConfig
(value: unknown)
packages/hardhat/src/internal/cli/banner-manager.ts:168
↓ 1 callersMethod#isConsoleLogError
(error: CompilerOutputError)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1413
↓ 1 callersMethod#isDeviceNotConnectedError
* Checks if an error indicates the Ledger device is not connected (not plugged in). * TransportError with id "NoDeviceFound" is thrown when no Ledg
packages/hardhat-ledger/src/internal/handler.ts:486
↓ 1 callersMethod#isFactoryOptions
( signerOrOptions?: EthersT.Signer | FactoryOptions, )
packages/hardhat-ethers/src/internal/hardhat-helpers/hardhat-helpers.ts:306
↓ 1 callersMethod#isPackageJsonFromMonorepo
(packageJsonFsPath: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:740
↓ 1 callersMethod#isValidHeaders
( headers: unknown, )
packages/hardhat-utils/src/errors/request.ts:79
↓ 1 callersMethod#linkBytecode
(artifact: Artifact, libraries: Link[])
packages/hardhat-ethers/src/internal/hardhat-helpers/hardhat-helpers.ts:455
↓ 1 callersMethod#lookupChild
(entries: DirEntries, requestedName: string)
packages/hardhat-utils/src/fs.ts:242
↓ 1 callersMethod#maybeConsoleLog
Decodes a calldata buffer into string arguments for a console log.
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/console-logger.ts:95
↓ 1 callersMethod#methodRequiresSignature
(method: string)
packages/hardhat-ledger/src/internal/handler.ts:197
↓ 1 callersMethod#modifyRequest
(jsonRpcRequest: JsonRpcRequest)
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:208
↓ 1 callersMethod#normaliseErrorPathToNetworkConfig
( path: Array<string | number>, resolvedNetworkName: string, )
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:616
↓ 1 callersMethod#npmPackageToInputSourceNameRoot
(name: string, version: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:749
↓ 1 callersMethod#parse
(bytecode: string)
packages/hardhat-verify/src/internal/bytecode.ts:32
↓ 1 callersMethod#parseAndDeduplicateRemappings
* Parses and deduplicates by "context:prefix" all the remappings from the * package. * * @param npmPackage The npm package. * @param allRe
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:508
↓ 1 callersMethod#parseDeclarationKeyword
Consumes the keyword that starts a declaration, if any, and returns it.
packages/hardhat-utils/src/internal/abi-signature.ts:212
↓ 1 callersMethod#parseTypeName
* Parses a type name other than a tuple, normalizing aliases. Custom types * are only accepted if `#allowCustomTypes` is set.
packages/hardhat-utils/src/internal/abi-signature.ts:320
↓ 1 callersMethod#parseUserRemapping
* Parses a user remapping, validating it, and preprocessing it, but without * loading its npm package (if any). * * @param npmPackage The npm
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:563
↓ 1 callersMethod#personalSign
(params: any[])
packages/hardhat-ledger/src/internal/handler.ts:615
↓ 1 callersMethod#pollBlocks
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1159
↓ 1 callersMethod#pollTransactionHashes
* Traverse all the registered transaction hashes and check if they were mined. * * This function should NOT throw.
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1107
↓ 1 callersMethod#postProcessCompilerDownload
( build: CompilerBuild, downloadPath: string, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:489
↓ 1 callersMethod#printCompilationResult
( runnableCompilationJobs: CompilationJob[], options: { scope: BuildScope }, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1587
↓ 1 callersMethod#printSolcErrorsAndWarnings
(errors?: CompilerOutputError[])
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1529
↓ 1 callersMethod#processTaskOverride
( taskDefinition: TaskOverrideDefinition, pluginId?: string, )
packages/hardhat/src/internal/core/tasks/task-manager.ts:255
↓ 1 callersMethod#readDirEntries
(dirPath: string)
packages/hardhat-utils/src/fs.ts:221
↓ 1 callersMethod#readFileContent
* Reads and analyzes the file at the given absolute path.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:1306
↓ 1 callersMethod#readFsDataFromFileSystem
()
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:295
↓ 1 callersMethod#readMetadata
()
packages/hardhat-utils/src/synchronization.ts:484
↓ 1 callersMethod#readPackageRemappings
* Reads all the user remappings of a package, validating their format and * processing them, but without loading their npm packages (if any). *
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:444
↓ 1 callersMethod#reduceTaskDefinition
( globalOptionDefinitions: GlobalOptionDefinitions, taskDefinition: TaskDefinition, pluginId?: str
packages/hardhat/src/internal/core/tasks/task-manager.ts:147
↓ 1 callersMethod#releaseLock
()
packages/hardhat-utils/src/synchronization.ts:249
↓ 1 callersMethod#removeEventListener
(event: EventFilter, listener: Listener)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1370
↓ 1 callersMethod#render
(frame: string)
packages/hardhat-utils/src/spinner.ts:73
↓ 1 callersMethod#requestBannerConfig
(timeout?: number)
packages/hardhat/src/internal/cli/banner-manager.ts:123
↓ 1 callersMethod#requireControlledAddress
(address: Uint8Array<ArrayBufferLike>)
packages/hardhat-ledger/src/internal/handler.ts:246
↓ 1 callersMethod#resolveByBytecodeLookup
* Infers a contract by scanning all artifacts and matching their compiled * bytecode against the on-chain bytecode. * * @param deployedByteco
packages/hardhat-verify/src/internal/contract.ts:162
↓ 1 callersMethod#resolveByFqn
* Resolves a contract by its fully qualified name by comparing its compiled * build info against the on-chain bytecode. * * @param contract T
packages/hardhat-verify/src/internal/contract.ts:83
↓ 1 callersMethod#resolveFrom
(from: string, relativePath: string)
packages/hardhat-utils/src/fs.ts:155
↓ 1 callersMethod#resolveImportAction
* Resolves the action file for a task. The action file is imported and the * default export function is returned. * * @throws HardhatError if
packages/hardhat/src/internal/core/tasks/resolved-task.ts:246
↓ 1 callersMethod#resolveImportThroughNpm
* Resolves an import through npm. * @returns The resolved file, or an error. If successful, the remapping is * always present.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:682
↓ 1 callersMethod#resolveNetworkConfig
* Resolve the network connection configuration settings for the network name * and taking into account any configuration overrides. * * @para
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:429
↓ 1 callersMethod#resolveNpmDependencyFileAsRoot
( npmModule: string, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:320
← previousnext →1,601–1,700 of 4,382, ranked by callers