MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions3,947 in github.com/NomicFoundation/hardhat

↓ 5 callersMethod#getAddress
(address: AddressLike)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:778
↓ 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:379
↓ 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 callersFunctionbytesToBigInt
(bytes: Uint8Array)
packages/hardhat-utils/src/number.ts:15
↓ 5 callersFunctionbytesToNumber
(bytes: Uint8Array)
packages/hardhat-utils/src/number.ts:25
↓ 5 callersFunctioncaptureConsole
()
packages/hardhat-test-utils/src/console.ts:52
↓ 5 callersFunctioncompare
(a: SemverVersion, b: SemverVersion)
packages/hardhat-utils/src/fast-semver.ts:40
↓ 5 callersFunctionconfigVariable
( name: string, format: string = CONFIGURATION_VARIABLE_MARKER, )
packages/hardhat/src/internal/core/config.ts:27
↓ 5 callersFunctioncopy
(source: string, destination: string)
packages/hardhat-utils/src/fs.ts:872
↓ 5 callersFunctioncreateFile
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:1028
↓ 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 callersFunctiondeepClone
(value: T)
packages/hardhat-utils/src/lang.ts:13
↓ 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 callersMethodend
* Mark the end of the overarching operation and record its duration * as a performance measure.
packages/hardhat-mocha/src/performance.ts:56
↓ 5 callersFunctionexec
( e2eCloneDirectory: string, scenarioPath: string, command: string | undefined, useLocal: UseLocal,
scripts/end-to-end/subcommands/exec.ts:7
↓ 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 callersFunctionfsPathToSourceNamePath
(fsPath: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/source-name-utils.ts:12
↓ 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:492
↓ 5 callersMethodgetArtifactsDirectory
(scope: BuildScope)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1110
↓ 5 callersFunctiongetBigInt
()
packages/hardhat/src/internal/core/configuration-variables.ts:68
↓ 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:133
↓ 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:162
↓ 5 callersFunctiongetConfigDir
( packageName: string = HARDHAT_PACKAGE_NAME, )
packages/hardhat-utils/src/global-dir.ts:33
↓ 5 callersMethodgetHexString
* Returns the value of the configuration variable, validating that is a * valid hex string. Trimming any spaces, and making sure it's lowercase and
packages/hardhat/src/types/config.ts:46
↓ 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 callersFunctiongetProxyUrl
(url: string)
packages/hardhat-utils/src/request.ts:394
↓ 5 callersFunctiongetPublicClient
( provider: EthereumProvider, chainType: ChainTypeT, chainDescriptors: ChainDescriptorsConfig, network
packages/hardhat-viem/src/internal/clients.ts:28
↓ 5 callersFunctiongetTemplates
( templatesDir: "hardhat-2" | "hardhat-3", )
packages/hardhat/src/internal/cli/init/template.ts:37
↓ 5 callersMethodgetTransaction
( hash: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:397
↓ 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:31
↓ 5 callersFunctiongit
(args: string[], cwd?: string)
scripts/end-to-end/helpers/shell.ts:19
↓ 5 callersMethodhasFile
(file: ResolvedFile)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts:105
↓ 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 callersFunctionisHash
(value: unknown)
packages/hardhat-utils/src/eth.ts:36
↓ 5 callersMethodisProviderError
(other: unknown)
packages/hardhat/src/internal/builtin-plugins/network-manager/provider-errors.ts:35
↓ 5 callersFunctionkeccak256
(bytes: Uint8Array)
packages/hardhat-utils/src/crypto.ts:15
↓ 5 callersFunctionloadFixture
( networkHelpers: NetworkHelpers<ChainTypeT>, fixture: Fixture<T, ChainTypeT>, snapshots: Array<Snapshot
packages/hardhat-network-helpers/src/internal/network-helpers/helpers/load-fixture.ts:6
↓ 5 callersFunctionlog
(msg: string)
scripts/end-to-end/helpers/log.ts:13
↓ 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
↓ 5 callersFunctionparseFullyQualifiedName
(fullyQualifiedName: string)
packages/hardhat/src/utils/contract-names.ts:37
↓ 5 callersMethodread
()
packages/ignition-core/src/internal/journal/types/index.ts:20
↓ 5 callersFunctionreadBinaryFile
( absolutePathToFile: string, )
packages/hardhat-utils/src/fs.ts:659
↓ 5 callersFunctionreadClosestPackageJson
( pathOrUrl: string, )
packages/hardhat-utils/src/package.ts:100
↓ 5 callersFunctionreaddirOrEmpty
( absolutePathToDir: string, )
packages/hardhat-utils/src/fs.ts:715
↓ 5 callersFunctionreconcileArguments
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | StaticCal
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-arguments.ts:27
↓ 5 callersFunctionresetMockCacheDir
()
packages/hardhat-utils/src/global-dir.ts:21
↓ 5 callersFunctionresolveLibraries
( librariesPath?: string, )
packages/hardhat-verify/src/internal/tasks/arg-resolution.ts:55
↓ 5 callersFunctionresolvePluginList
( projectRoot: string, userConfigPluginList: HardhatPlugin[] = [], )
packages/hardhat/src/internal/core/plugins/resolve-plugin-list.ts:11
↓ 5 callersFunctionretrieveNestedRuntimeValues
( args: ArgumentType[], )
packages/ignition-core/src/internal/validation/utils.ts:85
↓ 5 callersMethodrevert
* Assert that executing a contract function reverts for any reason, without checking the cause of the revert. * * @param contractFn - A promise
packages/hardhat-viem-assertions/src/types.ts:84
↓ 5 callersFunctionrunFailedAsserts
({ matchers, method, args = [], failedAssert, failedAssertReason, }: { matchers: any; method: st
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:60
↓ 5 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
↓ 5 callersFunctionrunSuccessfulAsserts
({ matchers, method, args = [], successfulAssert, }: { matchers: any; method: string; args?: any
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:39
↓ 5 callersFunctionsanitizeUrl
(requestUrl: string)
packages/hardhat-utils/src/internal/request.ts:151
↓ 5 callersMethodsetDescription
* Sets the description of the task.
packages/hardhat/src/types/tasks.ts:199
↓ 5 callersFunctionsetMockCacheDir
(dir: string)
packages/hardhat-utils/src/global-dir.ts:13
↓ 5 callersMethodsetNextBlockBaseFeePerGas
* Sets the base fee of the next block. * * @param baseFeePerGas The new base fee to use. * @returns A promise that resolves once the base fee
packages/hardhat-network-helpers/src/types.ts:178
↓ 5 callersFunctionshouldUseProxy
(url: string)
packages/hardhat-utils/src/request.ts:351
↓ 5 callersFunctionsleep
(timeout: number)
packages/hardhat-ethers/test/helpers/helpers.ts:102
↓ 5 callersFunctiontoBigInt
(x: NumberLike)
packages/hardhat-network-helpers/src/internal/conversion.ts:10
↓ 5 callersMethodtoJSON
* Returns a JSON representation of the graph.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/types.ts:184
↓ 5 callersFunctionunionType
( types: Parameters<typeof z.union>[0], errorMessage: string, )
packages/hardhat-zod-utils/src/index.ts:32
↓ 5 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:169
↓ 5 callersFunctionvalidateLibraryNames
( artifact: Artifact, libraryNames: string[], )
packages/ignition-core/src/internal/execution/libraries.ts:29
↓ 5 callersFunctionverifyArtifactsVersion
( deploymentDir: string | undefined, )
packages/hardhat-ignition/src/internal/utils/verifyArtifactsVersion.ts:12
↓ 5 callersMethodwaitForTransaction
( hash: string, confirms?: number | undefined, timeout?: number | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:472
↓ 4 callersMethod#clearBlockListeners
(listener?: Listener)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1263
↓ 4 callersMethod#clearTransactionHashListeners
( transactionHash?: string, listener?: Listener, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1062
↓ 4 callersMethod#derivePath
( addressToFindAsBuffer: Uint8Array<ArrayBufferLike>, retryState: RetryState = { reconnection: 0, devi
packages/hardhat-ledger/src/internal/handler.ts:319
↓ 4 callersMethod#getCompilerBinaryPathFromBuild
(build: CompilerBuild)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:307
↓ 4 callersMethod#getHandlersInChainedRunningOrder
( hookCategoryName: HookCategoryNameT, hookName: HookNameT, )
packages/hardhat/src/internal/core/hook-manager.ts:302
↓ 4 callersMethod#getUserInterruptionManager
()
packages/hardhat/src/internal/core/lazy-user-interruptions.ts:55
↓ 4 callersMethod#isFullyQualifiedName
(name: string)
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:230
↓ 4 callersMethod#requireControlledInit
( address: Uint8Array<ArrayBufferLike>, )
packages/hardhat-ledger/src/internal/handler.ts:238
↓ 4 callersMethod#withConfirmation
( func: T, retryState: RetryState = { reconnection: 0, deviceNotReady: 0 }, )
packages/hardhat-ledger/src/internal/handler.ts:516
↓ 4 callersMethod_assertValidLibraries
( libraries: Record<string, ContractFuture<string>>, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1132
↓ 4 callersMethod_assertValidValue
( value: | bigint | ModuleParameterRuntimeValue<bigint> | StaticCallFuture<string, strin
packages/ignition-core/src/internal/module-builder.ts:1146
↓ 4 callersMethod_setFutureStatusCompleteAndRedisplayBatch
({ futureId, result, }: { futureId: string; result: ExecutionEventResult; })
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:362
↓ 4 callersMethod_setFutureStatusInitializedAndRedisplayBatch
({ futureId, }: { futureId: string; })
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:352
↓ 4 callersMethodaddGasMeasurement
(gasMeasurement: GasMeasurement)
packages/hardhat/src/internal/builtin-plugins/gas-analytics/types.ts:62
↓ 4 callersMethodaddNewValue
(key: string, value: string, masterKey: Uint8Array)
packages/hardhat-keystore/src/internal/types.ts:6
↓ 4 callersFunctionapplyNewMessage
( message: JournalMessage, deploymentState: DeploymentState, deploymentLoader: DeploymentLoader, )
packages/ignition-core/src/internal/execution/deployment-state-helpers.ts:59
↓ 4 callersMethodartifactsBasePath
()
packages/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/helpers.ts:90
← previousnext →301–400 of 3,947, ranked by callers