MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 4 callersFunctiongetUnusedColumnsWidth
( columnWidths: number[], previousCellCount: number, )
packages/hardhat-utils/src/internal/format.ts:75
↓ 4 callersFunctiongetUserFqn
(inputFqn: string)
packages/hardhat/src/internal/builtin-plugins/gas-analytics/helpers/utils.ts:8
↓ 4 callersFunctiongit
(args: string[])
scripts/verdaccio/helpers/shell.ts:43
↓ 4 callersFunctionhandleError
(e: Error, requestUrl: string)
packages/hardhat-utils/src/internal/request.ts:348
↓ 4 callersFunctionhasArm64MirrorBuild
(version: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/solc-info.ts:37
↓ 4 callersFunctionhasOfficialArm64Build
(version: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/solc-info.ts:22
↓ 4 callersMethodhexEqual
* Assert that two hexadecimal strings represent the same numerical value. * @param other The other hexadecimal string to compare. * @exa
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:93
↓ 4 callersMethodimpersonateAccount
* Allows Hardhat Network to sign transactions as the given address. * * @param address The address to impersonate. * @returns A promise that
packages/hardhat-network-helpers/src/types.ts:61
↓ 4 callersMethodincrease
* Mines a new block whose timestamp is `amountInSeconds` after the latest block's timestamp. * * @param amountInSeconds Number of seconds to inc
packages/hardhat-network-helpers/src/types.ts:260
↓ 4 callersMethodinit
(retryAttempts: number = 0)
packages/hardhat-ledger/src/internal/handler.ts:261
↓ 4 callersFunctioninitializeTestDispatcher
(options: InitializeOptions = {})
packages/hardhat-verify/test/utils.ts:72
↓ 4 callersFunctionisAnvilNetwork
( provider: EthereumProvider, )
packages/hardhat-viem/src/internal/chains.ts:128
↓ 4 callersFunctionisArgumentRequired
( type: ArgumentType, defaultValue: ArgumentValue | ArgumentValue[] | undefined, )
packages/hardhat/src/internal/core/tasks/utils.ts:19
↓ 4 callersFunctionisEncodeFunctionCallFuture
( potential: unknown, )
packages/ignition-core/src/type-guards.ts:174
↓ 4 callersFunctionisHardhatNetwork
( provider: EthereumProvider, )
packages/hardhat-viem/src/internal/chains.ts:102
↓ 4 callersFunctionisNpmParsedRootPath
( parsedRootPath: ParsedRootPath, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/root-paths-utils.ts:58
↓ 4 callersFunctionisResult
( value: unknown, isValue?: (v: unknown) => v is ValueT, isError?: (e: unknown) => e is ErrorT, )
packages/hardhat/src/utils/result.ts:43
↓ 4 callersFunctionisTelemetryAllowed
( telemetryConfigFilePath?: string, )
packages/hardhat/src/internal/cli/telemetry/telemetry-permissions.ts:26
↓ 4 callersFunctionisWord
(token: string)
packages/hardhat-utils/src/internal/abi-signature.ts:426
↓ 4 callersFunctionloadScenario
( e2eCloneDirectory: string, scenarioFilePath: string, )
scripts/end-to-end/helpers/directory.ts:10
↓ 4 callersFunctionlogError
(msg: string)
scripts/benchmark/helpers/log.ts:25
↓ 4 callersFunctionlowerThanOrEqual
( compared: SemverVersion, comparator: SemverVersion, )
packages/hardhat-utils/src/fast-semver.ts:70
↓ 4 callersMethodmerge
* A method to merge two dependency graphs. The resulting graph will have all * the files of both graphs, with all the dependencies of the files in
packages/hardhat/src/types/solidity/dependency-graph.ts:65
↓ 4 callersFunctionmineSuccessfulTransaction
( provider: EthereumProvider, ethers: HardhatEthers, )
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:88
↓ 4 callersFunctionmkdtemp
(prefix: string)
packages/hardhat-utils/src/fs.ts:730
↓ 4 callersFunctionnestingToIndentationLength
(nesting: number)
packages/hardhat-node-test-reporter/src/formatting.ts:155
↓ 4 callersFunctionnumberToJsonRpcQuantity
* Converts a number to a JSON-RPC quantity string. * * @param value The number to convert. * @returns The JSON-RPC quantity string.
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:827
↓ 4 callersFunctionpanicErrorCodeToMessage
(errorCode: bigint)
packages/hardhat-utils/src/panic-errors.ts:17
↓ 4 callersFunctionparseArgumentValue
( value: string, type: ArgumentType, name: string, )
packages/hardhat/src/internal/core/arguments.ts:167
↓ 4 callersFunctionparseFrontMatter
(markdown: string)
scripts/lib/changesets.ts:39
↓ 4 callersFunctionparseRootPath
( rootPath: string, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/root-paths-utils.ts:29
↓ 4 callersMethodpopulateCall
( tx: TransactionRequest, )
packages/hardhat-ethers/src/internal/signers/signers.ts:138
↓ 4 callersFunctionpostFormRequest
( url: string, body: unknown, requestOptions: RequestOptions = {}, dispatcherOrDispatcherOptions?: Und
packages/hardhat-utils/src/request.ts:184
↓ 4 callersFunctionpostJsonRequest
( url: string, body: unknown, requestOptions: RequestOptions = {}, dispatcherOrDispatcherOptions?: Und
packages/hardhat-utils/src/request.ts:137
↓ 4 callersFunctionprintErrorMessages
( error: Error, shouldShowStackTraces: boolean = false, print: (message: string | Error) => void = conso
packages/hardhat/src/internal/cli/error-handling/error-handler.ts:81
↓ 4 callersFunctionreadDeploymentParameters
( filepath: string, )
packages/hardhat-ignition/src/helpers/read-deployment-parameters.ts:9
↓ 4 callersFunctionreadPackageInfo
(packageDir: string)
scripts/verdaccio/publish.ts:164
↓ 4 callersFunctionreconcileLibraries
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-libraries.ts:16
↓ 4 callersFunctionreconcileValue
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | ContractC
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-value.ts:21
↓ 4 callersFunctionrelativeTemplateToWorkspacePath
(file: string)
packages/hardhat/src/internal/cli/init/init.ts:484
↓ 4 callersMethodremoveAllListeners
( ethersEvent?: ProviderEvent | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:712
↓ 4 callersFunctionrenderRuleSegment
( columnWidths: number[], char: string, joiner: string, )
packages/hardhat-utils/src/internal/format.ts:87
↓ 4 callersFunctionreportPathsIn
(dir: string, stem: string)
scripts/benchmark/helpers/runner.ts:54
↓ 4 callersFunctionresetGlobalHardhatRuntimeEnvironment
()
packages/hardhat/src/internal/global-hre-instance.ts:38
↓ 4 callersFunctionresolveAccountRuntimeValue
( arv: AccountRuntimeValue, accounts: string[], )
packages/ignition-core/src/internal/execution/future-processor/helpers/future-resolvers.ts:151
↓ 4 callersFunctionresolveAddressLike
( addressLike: string | AddressResolvableFuture | ModuleParameterRuntimeValue<string>, deploymentState
packages/ignition-core/src/internal/execution/future-processor/helpers/future-resolvers.ts:223
↓ 4 callersFunctionresolveConstructorArgs
( constructorArgs: string[], constructorArgsPath?: string, )
packages/hardhat-verify/src/internal/tasks/arg-resolution.ts:8
↓ 4 callersFunctionresolveDeploymentId
( givenDeploymentId: string | undefined, chainId: number, )
packages/hardhat-ignition/src/helpers/resolve-deployment-id.ts:21
↓ 4 callersMethodrevert
* Assert that a transaction reverted for any reason. * Replaces `.reverted` in Hardhat v3 and requires the `ethers` instance. * @param e
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:38
↓ 4 callersMethodrevertWithCustomError
* Assert that executing a contract function reverts with a specific custom error defined in the given contract. * * The contract's ABI is used t
packages/hardhat-viem-assertions/src/types.ts:111
↓ 4 callersMethodrevertWithCustomErrorWithArgs
* Assert that executing a contract function reverts with a specific custom error and arguments. * * Arguments are matched positionally in the sa
packages/hardhat-viem-assertions/src/types.ts:131
↓ 4 callersMethodrevertedWith
* Assert that a transaction reverted with a specific reason string or matching regex. * @param reason The expected revert reason or regex patte
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:49
↓ 4 callersFunctionrunCounter
(index: number, total: number)
scripts/benchmark/helpers/report.ts:42
↓ 4 callersFunctionrunPlain
( command: string, options: RunOptions, )
scripts/benchmark/helpers/runner.ts:208
↓ 4 callersMethodsaveKeystoreToFile
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:78
↓ 4 callersMethodserialize
( ignitionModule: IgnitionModule< string, string, IgnitionModuleResult<string> >,
packages/ignition-core/src/ignition-module-serializer.ts:84
↓ 4 callersFunctionsetGlobalOptionsAsEnvVariables
(globalOptions: T)
packages/hardhat-utils/src/env.ts:9
↓ 4 callersFunctionsourceNamePathToFsPath
(sourceNamePath: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/source-name-utils.ts:27
↓ 4 callersFunctionsymlink
(target: string, linkPath: string)
packages/hardhat-utils/src/fs.ts:933
↓ 4 callersMethodtakeSnapshot
* Takes a snapshot of the blockchain state at the current block. * @returns A promise that resolves to a `SnapshotRestorer` object, which contains
packages/hardhat-network-helpers/src/types.ts:244
↓ 4 callersFunctiontestFormat
(expected: string)
packages/hardhat-ignition/test/ui/helpers/test-format.ts:6
↓ 4 callersFunctionthrowRevertDataNotRetrievedError
( message: string, cause?: unknown, )
packages/hardhat-ethers-chai-matchers/src/internal/matchers/reverted/utils.ts:238
↓ 4 callersFunctiontrimFullStop
(str: string)
packages/hardhat/src/internal/cli/help/utils.ts:145
↓ 4 callersFunctionvalidateFsPath
( resolver: TrueCasePathResolver, from: string, relative: string, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/utils.ts:18
↓ 4 callersFunctionvalidateId
(id: string | string[])
packages/hardhat/src/internal/core/tasks/validations.ts:24
↓ 4 callersFunctionvalidateOptions
( options: Record<string, OptionDefinition>, path: Array<string | number>, )
packages/hardhat/src/internal/core/config-validation.ts:398
↓ 4 callersFunctionwhich
(command: string)
scripts/end-to-end/helpers/shell.ts:8
↓ 4 callersFunctionwithAutomineOff
( provider: EthereumProvider, body: () => Promise<void>, )
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:122
↓ 4 callersFunctionwithReportDir
( prefix: string, fn: (dir: string) => Promise<T>, )
scripts/benchmark/helpers/runner.ts:67
↓ 4 callersMethodwriteFile
* returns a content writer for writing content to the supplied file. * @param {String|null} file the relative path to the file or the special *
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/file-writer.cjs:173
↓ 3 callersMethod#commonImportResolution
* Once the other methods selected which file to import, the rest of the logic * is shared in this method.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:839
↓ 3 callersMethod#downloadConfiguredCompilers
(quiet = false)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1392
↓ 3 callersMethod#getBuildProfile
(buildProfileName: string = DEFAULT_BUILD_PROFILE)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:858
↓ 3 callersMethod#getCompilerBuild
(version: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:287
↓ 3 callersMethod#getCompilerDownloadPathFromBuild
(build: CompilerBuild)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:320
↓ 3 callersMethod#getCompilerListPath
()
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:312
↓ 3 callersMethod#getDataPath
(id: string)
packages/hardhat/src/internal/builtin-plugins/coverage/coverage-manager.ts:89
↓ 3 callersMethod#getGasMeasurementsPath
(id: string)
packages/hardhat/src/internal/builtin-plugins/gas-analytics/gas-analytics-manager.ts:163
↓ 3 callersMethod#getPrivateKeyForAddress
(address: Uint8Array)
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:334
↓ 3 callersMethod#getQueryParams
* Returns the query params of a request: the `apiUrl`'s query params, * overridden by the given ones and by the API key, if one is configured. *
packages/hardhat-verify/src/internal/blockscout.ts:222
↓ 3 callersMethod#isHardhatNetwork
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1035
↓ 3 callersMethod#toRpcSig
(sig: Signature)
packages/hardhat-ledger/src/internal/handler.ts:584
↓ 3 callersMethod_assertValidAddress
( address: | string | AddressResolvableFuture | ModuleParameterRuntimeValue<string>
packages/ignition-core/src/internal/module-builder.ts:1217
↓ 3 callersMethod_assertValidArtifact
( artifact: Artifact, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1173
↓ 3 callersMethod_assertValidCallableContract
( contract: CallableContractFuture<string>, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1184
↓ 3 callersMethod_assertValidFunctionName
( functionName: string, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1083
↓ 3 callersMethod_calculateGasStats
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/gas-analytics/gas-analytics-manager.ts:190
↓ 3 callersMethod_convertFutureToFutureToken
(future: Future)
packages/ignition-core/src/ignition-module-serializer.ts:431
↓ 3 callersMethod_deserializedBigint
(n: SerializedBigInt)
packages/ignition-core/src/ignition-module-serializer.ts:654
↓ 3 callersFunction_handleError
(error: Error)
packages/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:252
↓ 3 callersMethod_loadGasMeasurements
* @private exposed for testing purposes only
packages/hardhat/src/internal/builtin-plugins/gas-analytics/gas-analytics-manager.ts:172
↓ 3 callersMethod_lookup
(lookupTable: Map<string, T>, key: string)
packages/ignition-core/src/ignition-module-serializer.ts:938
↓ 3 callersFunctionabbrev
(longString: string)
packages/hardhat-ethers-chai-matchers/test/matchers/events.ts:234
↓ 3 callersMethodacquire
* Acquires the mutex, returning an async function to release it. * The function MUST be called after using the mutex. * * If this function th
packages/hardhat-utils/src/synchronization.ts:186
↓ 3 callersMethodaddChild
(child)
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/summarizer-factory.cjs:34
↓ 3 callersMethodaddDependency
* Add a dependency from `from` to `to`. If A depends on B * then {`from`: A, `to`: B} should be passed.
packages/ignition-core/src/internal/utils/adjacency-list.ts:30
↓ 3 callersMethodaddLevel
* Adds an option of level type and default value 0.
packages/hardhat/src/types/tasks.ts:281
↓ 3 callersMethodaddMetadata
(metadata: CoverageMetadata)
packages/hardhat/src/internal/builtin-plugins/coverage/types.ts:17
↓ 3 callersFunctionanonymizeUserPaths
(str: string)
packages/hardhat/src/internal/cli/telemetry/sentry/anonymize-paths.ts:27
↓ 3 callersFunctionargumentTypeToString
(argument: ArgumentType)
packages/ignition-ui/src/utils/argumentTypeToString.tsx:8
← previousnext →501–600 of 4,382, ranked by callers