MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 6 callersMethodisVerified
(address: string)
packages/hardhat-verify/src/internal/types.ts:110
↓ 6 callersFunctionjsonRpcQuantityToNumber
* Converts a JSON-RPC quantity string to a number.
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:817
↓ 6 callersFunctionlistener
( handler: BuildInfoHandler, absolutePath: string, )
packages/hardhat/src/internal/builtin-plugins/node/artifacts/build-info-watcher.ts:29
↓ 6 callersFunctionmakeWorkspaceTmpDir
(nameHint: string)
packages/hardhat-test-utils/src/fs.ts:46
↓ 6 callersFunctionparseCore
(version: string)
scripts/verdaccio/helpers/version.ts:33
↓ 6 callersFunctionparseIntType
(type: string)
packages/hardhat-utils/src/abi.ts:117
↓ 6 callersMethodpollVerificationStatus
( guid: string, contractAddress: string, contractName: string, )
packages/hardhat-verify/src/internal/types.ts:114
↓ 6 callersMethodread
()
packages/ignition-core/src/internal/journal/types/index.ts:20
↓ 6 callersFunctionreadBinaryFile
( absolutePathToFile: string, )
packages/hardhat-utils/src/fs.ts:631
↓ 6 callersMethodreadJsonFile
(absolutePathToFile: string)
packages/hardhat-keystore/src/internal/types.ts:43
↓ 6 callersMethodreadValue
(key: string, masterKey: Uint8Array)
packages/hardhat-keystore/src/internal/types.ts:8
↓ 6 callersFunctionreconcileArtifacts
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-artifacts.ts:21
↓ 6 callersFunctionreconcileContractName
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-contract-name.ts:20
↓ 6 callersFunctionresolveArgsToFutures
(args: ArgumentType[])
packages/ignition-core/src/internal/utils.ts:5
↓ 6 callersFunctionresolveCloneDirectory
(given: string | undefined)
scripts/end-to-end/helpers/args.ts:18
↓ 6 callersFunctionresolveInvocationPath
( givenPath: string | undefined, )
scripts/end-to-end/helpers/directory.ts:71
↓ 6 callersFunctionresolveProjectRoot
( absolutePathWithinProject: string | undefined, )
packages/hardhat/src/internal/core/hre.ts:191
↓ 6 callersMethodrunCompilationJob
* Returns the output of running the given compilation job. * * Note that this method returns the compiler output verbatim, as `solc` * return
packages/hardhat/src/types/solidity/build-system.ts:376
↓ 6 callersMethodrunParallelHandlers
* Runs all the handlers for a hook in parallel. * * @param hookCategoryName The name of the category of the hook whose * handlers should be
packages/hardhat/src/types/hooks.ts:368
↓ 6 callersFunctionsafeRemoveTmpDir
(tmpPath: string)
packages/hardhat-test-utils/src/fs.ts:69
↓ 6 callersFunctionsendErrorTelemetry
( error: Error, hint?: { unhandled?: boolean; mechanismType?: string }, )
packages/hardhat/src/internal/cli/telemetry/sentry/reporter.ts:17
↓ 6 callersMethodsetContext
(context: HookContext)
packages/hardhat/src/internal/core/hook-manager.ts:119
↓ 6 callersMethodsetEnvVar
* Sets an environment variable, saving its original value the first time it * is changed through this handle.
packages/hardhat-utils/test/helpers/env.ts:14
↓ 6 callersMethodsetReturnValue
(method: string, value: any)
packages/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/ethereum-mocked-provider.ts:23
↓ 6 callersFunctionsha256
(bytes: Uint8Array)
packages/hardhat-utils/src/crypto.ts:29
↓ 6 callersFunctionspawnTestRpcServer
()
packages/hardhat-ethers/test/helpers/helpers.ts:62
↓ 6 callersFunctionsummarize
(plan: ReturnType<typeof planCommands>)
scripts/benchmark/helpers/plan.test.ts:50
↓ 6 callersFunctiontoBigInt
(x: NumberLike)
packages/hardhat-network-helpers/src/internal/conversion.ts:10
↓ 6 callersFunctionunsetEnvVar
(name: string)
packages/hardhat-test-utils/src/env.ts:85
↓ 6 callersMethoduse
* Runs the function f while holding the mutex, returning its result. * * @param f The function to run. * @returns The result of the function.
packages/hardhat-utils/src/synchronization.ts:167
↓ 6 callersFunctionvalidateHmac
({ masterKey, encryptedKeystore, }: { masterKey: Uint8Array; encryptedKeystore: EncryptedKeystore; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:641
↓ 6 callersFunctionvalidateParams
( params: any[], ...types: TypesT )
packages/hardhat-zod-utils/src/rpc/validate-params.ts:5
↓ 6 callersMethodverify
(verifyFunctionArgs: VerifyFunctionArgs)
packages/hardhat-verify/src/internal/types.ts:112
↓ 6 callersFunctionwaitForPendingTxs
( connection: NetworkConnection<string>, expectedCount: number, finished: Promise<any>, )
packages/hardhat-ignition/test/test-helpers/wait-for-pending-txs.ts:9
↓ 6 callersMethodwritePasswordFileForDevKeystore
( devKeystorePasswordFilePath: string, )
packages/hardhat-keystore/test/helpers/mock-file-manager.ts:32
↓ 5 callersMethod#consume
If the current token is the given one, moves past it and returns true.
packages/hardhat-utils/src/internal/abi-signature.ts:381
↓ 5 callersMethod#ensureSplitCompilationModeIfTestsScope
(scope: BuildScope = "contracts")
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1676
↓ 5 callersMethod#fail
Throws an `InvalidAbiSignatureError` for the given reason.
packages/hardhat-utils/src/internal/abi-signature.ts:405
↓ 5 callersMethod#getAddress
(address: AddressLike)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:779
↓ 5 callersMethod#getFsData
()
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:287
↓ 5 callersMethod#markName
(phase: string)
packages/hardhat-mocha/src/performance.ts:196
↓ 5 callersMethod_setFutureStatusAndRedisplayBatch
( futureId: string, status: UiFutureStatus, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:383
↓ 5 callersFunctionassertIsHardhatError
( error: unknown, descriptor: ErrorDescriptorT, messageArguments: HardhatError<ErrorDescriptorT>["messag
packages/hardhat-test-utils/src/hardhat-error.ts:17
↓ 5 callersFunctionassertValidationErrors
( validationResult: ValidationError[], expectedErrors: ExpectedValidationError[], )
packages/hardhat-test-utils/src/validations.ts:28
↓ 5 callersFunctionbuildGlobalOptionDefinition
({ name, shortName, description, type, defaultValue, }: { name: string; shortName?: string; de
packages/hardhat/src/internal/core/global-options.ts:97
↓ 5 callersFunctionbuildGlobalOptionDefinitions
( resolvedPlugins: HardhatPlugin[], )
packages/hardhat/src/internal/core/global-options.ts:32
↓ 5 callersFunctionbuildUtilsTask
( builder: NewTaskDefinitionBuilder<TaskArgumentsT>, action: LazyActionObject<NewUtilsTaskActionFunction<T
packages/hardhat/src/internal/builtin-plugins/hhu/tasks/utils-task.ts:20
↓ 5 callersFunctionbytesToBigInt
(bytes: Uint8Array)
packages/hardhat-utils/src/number.ts:15
↓ 5 callersFunctionbytesToNumber
(bytes: Uint8Array)
packages/hardhat-utils/src/number.ts:25
↓ 5 callersFunctioncompare
(a: SemverVersion, b: SemverVersion)
packages/hardhat-utils/src/fast-semver.ts:40
↓ 5 callersFunctioncopy
(source: string, destination: string)
packages/hardhat-utils/src/fs.ts:844
↓ 5 callersFunctioncreateFile
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:1000
↓ 5 callersFunctiondecodeReturnData
(returnData: string)
packages/hardhat-ethers-chai-matchers/src/internal/matchers/reverted/utils.ts:283
↓ 5 callersFunctiondecryptSecret
({ masterKey, encryptedKeystore, key, }: { masterKey: Uint8Array; encryptedKeystore: EncryptedKeysto
packages/hardhat-keystore/src/internal/keystores/encryption.ts:532
↓ 5 callersFunctiondeepMerge
( target: T, source: U, shouldOverwriteUndefined: boolean = true, )
packages/hardhat-utils/src/lang.ts:56
↓ 5 callersFunctiondefineConfig
(config: HardhatUserConfig)
packages/hardhat/src/config.ts:33
↓ 5 callersFunctiondetectPluginNpmDependencyProblems
( basePathForNpmResolution: string, plugin: HardhatPlugin, originalError: Error, )
packages/hardhat/src/internal/core/plugins/detect-plugin-npm-dependency-problems.ts:32
↓ 5 callersMethoddisplayNoKeystoreSetErrorMessage
(dev: boolean)
packages/hardhat-keystore/src/internal/ui/user-display-messages.ts:73
↓ 5 callersMethodemitWithArgs
* Assert that executing a contract function emits a specific event with the given arguments. * * Arguments are matched positionally in the same
packages/hardhat-viem-assertions/src/types.ts:69
↓ 5 callersMethodencodeFunctionCall
* ABI encode a function call, including both the function's name and * the parameters it is being called with. This is useful when * sending a r
packages/ignition-core/src/types/module-builder.ts:407
↓ 5 callersFunctionequalAddresses
( leftAddress: string, rightAddress: string, )
packages/ignition-core/src/internal/execution/utils/address.ts:31
↓ 5 callersFunctionexec
( e2eCloneDirectory: string, scenarioPath: string, command: string | undefined, useLocal: UseLocal,
scripts/end-to-end/subcommands/exec.ts:6
↓ 5 callersFunctionfilterToAccountRuntimeValues
( runtimeValues: RuntimeValue[], )
packages/ignition-core/src/internal/validation/utils.ts:69
↓ 5 callersFunctionfindDependencyPackageJson
( from: string, dependencyPackageName: string, )
packages/hardhat-utils/src/package.ts:147
↓ 5 callersFunctionformatRemapping
(remapping: Remapping)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remappings.ts:94
↓ 5 callersFunctiongenerateEncryptedKeystoreHmac
({ masterKey, encryptedKeystore, }: { masterKey: Uint8Array; encryptedKeystore: Omit<EncryptedKeystore
packages/hardhat-keystore/src/internal/keystores/encryption.ts:602
↓ 5 callersMethodgetArtifactsDirectory
* Gets the artifacts directory for a given target (contracts/tests). * * When `solidity.splitTestsCompilation` is `false`, both scopes return th
packages/hardhat/src/types/solidity/build-system.ts:483
↓ 5 callersMethodgetArtifactsDirectory
(scope: BuildScope)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1114
↓ 5 callersFunctiongetBigInt
()
packages/hardhat/src/internal/core/configuration-variables.ts:99
↓ 5 callersMethodgetBuildInfoId
* Returns the BuildInfo id associated with the solc run that compiled a * contract. * * Note that it may return `undefined` if the artifact d
packages/hardhat/src/types/artifacts.ts:132
↓ 5 callersMethodgetBuildInfoOutputPath
* Returns the absolute path to the output of the given build info, * if present. * * Note that the build info may exist, but it's output may
packages/hardhat/src/types/artifacts.ts:161
↓ 5 callersFunctiongetConfigDir
( packageName: string = HARDHAT_PACKAGE_NAME, )
packages/hardhat-utils/src/global-dir.ts:33
↓ 5 callersMethodgetContractAt
( nameOrAbi: StringWithArtifactContractNamesAutocompletion | any[] | Abi, address: string | ethers.Add
packages/hardhat-ethers/src/types.ts:48
↓ 5 callersFunctiongetFullyQualifiedName
( sourceName: string, contractName: string, )
packages/hardhat/src/utils/contract-names.ts:10
↓ 5 callersFunctiongetHardforkName
( hardfork: string, chainType: ChainType, )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/hardfork.ts:90
↓ 5 callersFunctiongetHardforks
(chainType: ChainType)
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/types/hardfork.ts:40
↓ 5 callersMethodgetKeystoreDevPasswordFilePath
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:30
↓ 5 callersFunctiongetPasswordHandlers
( requestSecretInput: KeystoreRequestSecretInput, consoleLog: KeystoreConsoleLog, isDevKeystore: boolean
packages/hardhat-keystore/src/internal/keystores/password.ts:15
↓ 5 callersFunctiongetPublicClient
( provider: EthereumProvider, chainType: ChainTypeT, chainDescriptors: ChainDescriptorsConfig, network
packages/hardhat-viem/src/internal/clients.ts:28
↓ 5 callersFunctiongetSlangAssetName
( version: string, release: SlangRelease, )
packages/hardhat-slang/src/internal/platform.ts:40
↓ 5 callersFunctiongetTemplates
()
packages/hardhat/src/internal/cli/init/template.ts:52
↓ 5 callersMethodgetTransaction
( hash: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:398
↓ 5 callersMethodgetUrl
* Returns the value of the configuration variable, after * validating that it's a URL. * * @throws an error if the value is not a URL.
packages/hardhat/src/types/config.ts:43
↓ 5 callersFunctiongit
(args: string[], cwd?: string)
scripts/end-to-end/helpers/shell.ts:19
↓ 5 callersFunctiongivenCloneDirectory
( fromFlag: string | undefined, )
scripts/end-to-end/helpers/args.ts:11
↓ 5 callersMethodhasFile
(file: ResolvedFile)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts:105
↓ 5 callersFunctionisAddress
(address: any)
packages/ignition-core/src/internal/execution/utils/address.ts:8
↓ 5 callersFunctionisBigInt
(source: any)
packages/hardhat-ethers-chai-matchers/src/internal/utils/bigint.ts:1
↓ 5 callersFunctionisExpectedError
( error: Error & { expected?: any; actual?: any }, errMsg: string, actual: any, expected: any, )
packages/hardhat-viem-assertions/test/helpers/is-expected-error.ts:3
↓ 5 callersMethodisProviderError
(other: unknown)
packages/hardhat/src/internal/builtin-plugins/network-manager/provider-errors.ts:35
↓ 5 callersFunctionisValidUrl
(url: string)
packages/hardhat-utils/src/request.ts:383
↓ 5 callersMethodlistUnverifiedKeys
()
packages/hardhat-keystore/src/internal/types.ts:4
↓ 5 callersFunctionlog
(msg: string)
scripts/end-to-end/helpers/log.ts:13
↓ 5 callersFunctionlog
(msg: string)
scripts/benchmark/helpers/log.ts:13
↓ 5 callersFunctionlowerThan
( compared: SemverVersion, comparator: SemverVersion, )
packages/hardhat-utils/src/fast-semver.ts:60
↓ 5 callersFunctionmain
()
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/solcjs-runner.ts:25
↓ 5 callersFunctionmockRequestSecretFn
( valuesToMock: string[], )
packages/hardhat-keystore/test/helpers/mock-request-secret.ts:5
↓ 5 callersMethodname
()
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/path.cjs:89
↓ 5 callersFunctionnormalizeHexString
(hexString: string)
packages/hardhat-utils/src/hex.ts:135
↓ 5 callersMethodnumber
()
packages/hardhat-errors/src/errors.ts:152
← previousnext →301–400 of 4,382, ranked by callers