MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 2 callersFunctioncompareSnapshotCheatcodes
( previousSnapshotsMap: SnapshotCheatcodesMap, currentSnapshotsMap: SnapshotCheatcodesWithMetadataMap, t
packages/hardhat/src/internal/builtin-plugins/gas-analytics/snapshot-cheatcodes.ts:344
↓ 2 callersMethodcompileBuildInfo
* Compiles a build info, returning the output of the compilation, verbatim, * as `solc` returns it. * * This method doesn't call the hooks th
packages/hardhat/src/types/solidity/build-system.ts:465
↓ 2 callersFunctioncompilePatterns
( patterns: string[] | undefined, )
scripts/benchmark/helpers/plan.ts:65
↓ 2 callersMethodcontains
(other)
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/path.cjs:93
↓ 2 callersFunctionconvertEvmTupleToSolidityParam
( evmTuple: EvmTuple, )
packages/ignition-core/src/internal/execution/utils/convert-evm-tuple-to-solidity-param.ts:22
↓ 2 callersFunctionconvertEvmValueToSolidityParam
( evmValue: EvmValue, )
packages/ignition-core/src/internal/execution/utils/convert-evm-tuple-to-solidity-param.ts:8
↓ 2 callersMethodcopyFile
* copies a file from a source directory to a destination name * @param {String} source path to source file * @param {String} dest relative path
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/file-writer.cjs:152
↓ 2 callersFunctioncopyProjectFiles
( workspace: string, template: Template, force?: boolean, )
packages/hardhat/src/internal/cli/init/init.ts:503
↓ 2 callersFunctioncopyProjectFilesNonInteractive
( workspace: string, template: Template, )
packages/hardhat/src/internal/cli/init/init.ts:609
↓ 2 callersFunctioncreateClaudeMd
* Creates a `CLAUDE.md` file if an `AGENTS.md` file exists. Uses a symlink * except on Windows, where a file is created that references `AGENTS.md`.
packages/hardhat/src/internal/cli/init/init.ts:713
↓ 2 callersFunctioncreateClient
( config: { maxFeePerGasLimit?: bigint; maxFeePerGas?: bigint; maxPriorityFeePerGas?: bigint;
packages/ignition-core/test-integrations/helpers/create-hre.ts:45
↓ 2 callersFunctioncreateDotClaude
* Creates `.claude` if `.agents` exists. Uses a symlink except on Windows, * where the whole directory is copied. Does nothing if `.claude` already
packages/hardhat/src/internal/cli/init/init.ts:744
↓ 2 callersFunctioncreateHre
()
packages/hardhat-ignition/test/test-helpers/create-hre.ts:23
↓ 2 callersFunctioncreateHre
( slangCompiler: SolidityCompilerUserConfig, buildProfile?: string, )
packages/hardhat-slang/test/evm-version.ts:81
↓ 2 callersFunctioncreateMinimalChain
(id: number, name: string)
packages/hardhat-viem/src/internal/chains.ts:253
↓ 2 callersFunctioncreateMockNetworkConnection
( overrides: Partial<HttpNetworkConfig> = {}, connectionId: number = 0, )
packages/hardhat/test/internal/builtin-plugins/network-manager/hook-handlers/network.ts:160
↓ 2 callersFunctioncreateNestedNoDataProviderExecutionError
(code: number)
packages/hardhat-ethers-chai-matchers/test/matchers/reverted/no-data-error-fixtures.ts:63
↓ 2 callersFunctioncreateNoDataCallException
( action: "call" | "estimateGas", rpcError: Error | { code?: number; data?: unknown; message: string } = {
packages/hardhat-ethers-chai-matchers/test/matchers/reverted/no-data-error-fixtures.ts:10
↓ 2 callersFunctioncreateNoDataProviderExecutionError
( code: number, message = "EVM error InvalidFEOpcode", )
packages/hardhat-ethers-chai-matchers/test/matchers/reverted/no-data-error-fixtures.ts:33
↓ 2 callersFunctioncreateNonCryptographicHashId
( data: string, )
packages/hardhat-utils/src/crypto.ts:52
↓ 2 callersFunctioncreatePassword
( requestSecretInput: KeystoreRequestSecretInput, consoleLog: KeystoreConsoleLog = console.log, )
packages/hardhat-keystore/src/internal/keystores/password.ts:94
↓ 2 callersMethodcreateProvider
( networkConnection: NetworkConnectionImplementation<ChainTypeT>, )
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:267
↓ 2 callersFunctioncreateSolidityCompilerConfig
( overrides: Partial<SolidityCompilerConfig> = {}, )
packages/hardhat-slang/test/hook-handlers/solidity.ts:38
↓ 2 callersFunctioncreateSolidityErrorWithStackTrace
( fallbackMessage: string, stackTrace: SolidityStackTrace, data: string, transactionHash?: string, )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/stack-traces/stack-trace-solidity-errors.ts:50
↓ 2 callersFunctioncreateSpinner
(options: SpinnerOptions = {})
packages/hardhat-utils/src/spinner.ts:116
↓ 2 callersFunctioncreateStandardTestResult
( name: string, consumedGas: bigint, )
packages/hardhat/test/internal/builtin-plugins/gas-analytics/suite-result-helpers.ts:11
↓ 2 callersFunctioncreateSubprocessToSendAnalytics
( payload: TelemetryConfigPayload | Payload, )
packages/hardhat/src/internal/cli/telemetry/analytics/analytics.ts:110
↓ 2 callersFunctioncreateTestEnvManager
()
packages/hardhat-utils/test/helpers/env.ts:129
↓ 2 callersFunctioncreateTestResultWithSnapshots
( valueSnapshotGroups?: ValueSnapshotGroup[], )
packages/hardhat/test/internal/builtin-plugins/gas-analytics/suite-result-helpers.ts:80
↓ 2 callersFunctioncreateVerificationProviderInstance
({ provider, networkName, chainDescriptors, verificationProviderName, verificationProvidersConfig,
packages/hardhat-verify/src/internal/verification.ts:350
↓ 2 callersMethoddays
* Converts the given number of days into seconds. * * @param n - The number of days. * @returns The equivalent duration in seconds. * *
packages/hardhat-network-helpers/src/types.ts:342
↓ 2 callersMethoddays
(n: number)
packages/hardhat-network-helpers/src/internal/network-helpers/duration/duration.ts:12
↓ 2 callersMethoddec
()
packages/hardhat/src/internal/builtin-plugins/solidity-test/reporter.ts:34
↓ 2 callersFunctiondeepCopy
(value: T)
packages/hardhat-ethers/src/internal/signers/deep-copy.ts:13
↓ 2 callersMethoddeploymentExecutionStateComplete
( event: DeploymentExecutionStateCompleteEvent, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:188
↓ 2 callersMethoddeploymentStart
(event: DeploymentStartEvent)
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:113
↓ 2 callersFunctionderiveMasterKey
* Derives a master key based on the user's password and an existing salt * (normally obtained from an EncryptedKeystore). * * @param password The u
packages/hardhat-keystore/src/internal/keystores/encryption.ts:575
↓ 2 callersFunctionderivePrivateKeys
( mnemonic: string, hdpath: string, initialIndex: number, count: number, passphrase: string, )
packages/hardhat/src/internal/builtin-plugins/network-manager/accounts/derive-private-keys.ts:15
↓ 2 callersFunctionderivePrivateKeys
( accounts: EdrNetworkHDAccountsConfig | HttpNetworkHDAccountsConfig, )
packages/hardhat-ethers/src/internal/signers/derive-private-key.ts:19
↓ 2 callersFunctiondetectInvalidProxyUrl
( error: Error, )
packages/hardhat/src/internal/cli/error-handling/invalid-proxy-url-error.ts:16
↓ 2 callersFunctiondetectNativeBindingFailure
( error: Error, )
packages/hardhat/src/internal/cli/error-handling/native-binding-error.ts:41
↓ 2 callersFunctiondeterministicJsonStringify
( obj: ObjectT, )
packages/hardhat-keystore/src/internal/keystores/encryption.ts:129
↓ 2 callersMethoddisableReport
()
packages/hardhat/src/internal/builtin-plugins/coverage/types.ts:26
↓ 2 callersMethoddisplayInvalidKeyErrorMessage
(key: string)
packages/hardhat-keystore/src/internal/ui/user-display-messages.ts:6
↓ 2 callersMethoddisplayKeyAlreadyExistsWarning
( key: string, dev: boolean, )
packages/hardhat-keystore/src/internal/ui/user-display-messages.ts:13
↓ 2 callersFunctiondoesKeyExist
({ masterKey, encryptedKeystore, key, }: { masterKey: Uint8Array; encryptedKeystore: EncryptedKeysto
packages/hardhat-keystore/src/internal/keystores/encryption.ts:410
↓ 2 callersMethoddownloadCompiler
* Downloads the compiler for a given version, which can later be obtained * with getCompiler. * * @returns `true` if the compiler was downloa
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:112
↓ 2 callersFunctiondownloadSlang
( slangVersion: string, release: SlangRelease, onBinaryDownloadStart: () => void, options: DownloadSla
packages/hardhat-slang/src/internal/downloader.ts:85
↓ 2 callersFunctiondownloadSolcCompilersHandler
( compilerConfigs: SolidityCompilerConfig[], quiet: boolean, )
packages/hardhat/src/internal/builtin-plugins/solidity/solidity-hooks.ts:17
↓ 2 callersFunctiondownloadSolx
( solxVersion: string, onBinaryDownloadStart: () => void, options: DownloadSolxOptions = {}, )
packages/hardhat-slang-solx/src/internal/downloader.ts:80
↓ 2 callersMethoddropTransaction
* Removes the given transaction from the mempool, if it exists. * * @param txHash Transaction hash to be removed from the mempool. * @returns
packages/hardhat-network-helpers/src/types.ts:31
↓ 2 callersFunctionedrGasReportToHardhatGasMeasurements
( gasReport: GasReport, excludedContractFqns: string[] = [], )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/convert-to-edr.ts:277
↓ 2 callersFunctionedrL1HardforkToHardhatL1HardforkName
( hardfork: L1Hardfork, )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/convert-to-edr.ts:57
↓ 2 callersFunctionemitExecutionEvent
( message: JournalMessage, executionEventListener: ExecutionEventListener, )
packages/ignition-core/src/internal/journal/utils/emitExecutionEvent.ts:25
↓ 2 callersMethodenableReport
()
packages/hardhat/src/internal/builtin-plugins/coverage/types.ts:25
↓ 2 callersFunctionencodeMemberType
( typeName: unknown, userDefinedValueTypeI: UserDefinedValueTypeIndex = new Map(), )
packages/hardhat/src/internal/builtin-plugins/solidity-test/eip712/ast-walker.ts:189
↓ 2 callersFunctionensureExportPathWritable
(exportPath: string)
scripts/benchmark/helpers/bench-export.ts:19
↓ 2 callersFunctionensurePublishedLocally
( targets: PackageVersion[], storageDir: string = VERDACCIO_STORAGE, )
scripts/verdaccio/publish.ts:632
↓ 2 callersFunctionensureVerdaccioRunning
()
scripts/verdaccio/publish.ts:96
↓ 2 callersMethodenterPasswordMsg
()
packages/hardhat-keystore/src/internal/ui/user-display-messages.ts:114
↓ 2 callersFunctionequals
(a: SemverVersion, b: SemverVersion)
packages/hardhat-utils/src/fast-semver.ts:53
↓ 2 callersFunctionerrorIncludesTestFile
( error: unknown, testAbsolutePath: string, )
packages/hardhat-viem-assertions/test/helpers/error-includes-test-file.ts:10
↓ 2 callersFunctionerrorWithStack
( name: string, message: string, stackLines: string[] = [], cause?: Error, )
packages/hardhat/test/internal/cli/telemetry/error-classification/helpers.ts:80
↓ 2 callersFunctionethersValueIntoEvmValue
( ethersValue: any, paramType: ParamType, )
packages/ignition-core/src/internal/execution/abi.ts:536
↓ 2 callersMethodexecuteModule
* Executes a module to completion, returning the new deployment state. * * This functions saves to the journal any created message, and stores
packages/ignition-core/src/internal/execution/execution-engine.ts:68
↓ 2 callersFunctionexecuteStaticCallRequest
( staticCallRequest: StaticCallRequest, decodeSuccessfulResult: DecodeSuccessfulExecutionResult, decodeC
packages/ignition-core/src/internal/execution/execution-strategy-helpers.ts:164
↓ 2 callersFunctionexportedWith
( measured: MeasuredRun[], peakRssMethod: PeakRssMethod | undefined, )
scripts/benchmark/helpers/bench-export.test.ts:31
↓ 2 callersFunctionextendWithSourcifyArgs
( task: NewTaskDefinitionBuilder<BaseVerifyActionArgs>, isMainTask: boolean = true, )
packages/hardhat-verify/src/internal/tasks/verify/utils.ts:53
↓ 2 callersFunctionextractRevertError
(error: unknown)
packages/hardhat-viem-assertions/src/internal/assertions/revert/extract-revert-error.ts:23
↓ 2 callersFunctionextractStructsFromAst
( ast: unknown, sourcePath: string, userDefinedValueTypeI: UserDefinedValueTypeIndex = new Map(), )
packages/hardhat/src/internal/builtin-plugins/solidity-test/eip712/ast-walker.ts:96
↓ 2 callersFunctionfailedEvmExecutionResultToErrorDescription
( result: FailedEvmExecutionResult, )
packages/ignition-core/src/internal/journal/utils/failedEvmExecutionResultToErrorDescription.ts:5
↓ 2 callersMethodfillTemplate
(node, templateData, context)
packages/hardhat-vendored/src/coverage-module/istanbul-reports/lib/html/index.cjs:291
↓ 2 callersFunctionfilterVersionsByInferred
( versions: string[], inferred: InferredSolcVersion, )
packages/hardhat-verify/src/internal/solc-versions.ts:72
↓ 2 callersFunctionfindAddressForContractFuture
( deploymentState: DeploymentState, futureId: string, )
packages/ignition-core/src/internal/views/find-address-for-contract-future-by-id.ts:18
↓ 2 callersFunctionfindDeployedContracts
(deploymentState: DeploymentState)
packages/ignition-core/src/internal/views/find-deployed-contracts.ts:15
↓ 2 callersFunctionfindOrCreateParent
(parentPath, nodeMap, created = () => {})
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/summarizer-factory.cjs:145
↓ 2 callersFunctionfindProxyEnvVar
(requestUrl: string)
packages/hardhat-utils/src/internal/request.ts:210
↓ 2 callersFunctionfindStatus
( deploymentState: DeploymentState, )
packages/ignition-core/src/internal/views/find-status.ts:19
↓ 2 callersMethodfinish
* The run's peak RSS in MB; undefined when the method could observe no * process. Throws when a report the method must produce is missing or * u
scripts/benchmark/helpers/peak-rss.ts:248
↓ 2 callersFunctionfixture
()
scripts/benchmark/helpers/plan.test.ts:10
↓ 2 callersFunctionfoo
()
packages/template-package/src/index.ts:3
↓ 2 callersFunctionfooterTemplate
(details)
packages/hardhat-vendored/src/coverage-module/istanbul-reports/lib/html/index.cjs:100
↓ 2 callersMethodformatCoverage
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:367
↓ 2 callersFunctionformatDirectiveOrigin
* Names where a directive was found: `Contract.testFn` for a function-level * directive, and just `Contract` for a contract-level one, which EDR repo
packages/hardhat/src/internal/builtin-plugins/solidity-test/formatters.ts:45
↓ 2 callersFunctionformatEdrNetworkConfigAccounts
( config: EdrNetworkAccountsConfig, )
packages/hardhat/src/internal/builtin-plugins/node/helpers.ts:22
↓ 2 callersFunctionformatError
(error: Error)
packages/hardhat-node-test-reporter/src/error-formatting.ts:58
↓ 2 callersFunctionformatHash
(str: string, hashFn = id)
packages/hardhat-ethers-chai-matchers/test/matchers/events.ts:238
↓ 2 callersFunctionformatImportResolutionError
( error: ImportResolutionError, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:108
↓ 2 callersFunctionformatInlineConfigErrors
( errors: InlineConfigError[], sourceNameToUserSourceName: Map<string, string>, )
packages/hardhat/src/internal/builtin-plugins/solidity-test/formatters.ts:22
↓ 2 callersMethodformatLcovReport
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:262
↓ 2 callersMethodformatLines
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:374
↓ 2 callersFunctionformatLocation
( location: string, cwd: string = process.cwd(), sep: string = path.sep, windows: boolean = process.pl
packages/hardhat-node-test-reporter/src/error-formatting.ts:404
↓ 2 callersFunctionformatLog
(value: any)
packages/hardhat-ethers/src/internal/ethers-utils/ethers-utils.ts:440
↓ 2 callersMethodformatMarkdownReport
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:437
↓ 2 callersFunctionformatNpmRootResolutionError
( error: NpmRootResolutionError, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:39
↓ 2 callersFunctionformatProjectRootResolutionError
( error: ProjectRootResolutionError, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:18
↓ 2 callersMethodformatRelativePath
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:331
↓ 2 callersFunctionformatRemappingErrors
(errors: UserRemappingError[])
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:206
↓ 2 callersFunctionformatResolutionErrorRemappingsOrPackageExportsNotes
({ message, subpath, packageExportsResolvedSubpath, userRemapping, isNpmRootResolutionError, }: {
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:215
↓ 2 callersFunctionformatSectionHeader
( sectionName: string, { changedLength, addedLength, removedLength, }: { changedLength:
packages/hardhat/src/internal/builtin-plugins/gas-analytics/helpers/utils.ts:102
← previousnext →1,001–1,100 of 4,382, ranked by callers