MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 1 callersFunctionassertEqualBeforeAndAfterResolution
( resolve: (arg: ArgumentType) => SolidityParameterType, arg: ArgumentType, )
packages/ignition-core/test/utils/replace-within-arg.ts:309
↓ 1 callersFunctionassertFlattenedFilesResult
(flattened: string)
packages/hardhat/test/internal/builtin-plugins/flatten/task-action.ts:50
↓ 1 callersFunctionassertFunctionFixtureMatches
( contractName: string, functionName: string, )
packages/ignition-core/test-integrations/test-execution-result-fixtures.ts:69
↓ 1 callersFunctionassertGetAllDirectoriesMatching
( dir: string, matches: ((d: string) => Promise<boolean> | boolean) | undefined, expected: s
packages/hardhat-utils/test/fs.ts:417
↓ 1 callersFunctionassertGetAllFilesMatching
( dir: string, matches: ((f: string) => Promise<boolean> | boolean) | undefined, expected: s
packages/hardhat-utils/test/fs.ts:171
↓ 1 callersFunctionassertGetNonceSyncThrows
( ctx: { ignitionModule: IgnitionModule< string, string, IgnitionModuleResult<string>
packages/ignition-core/test/execution/nonce-management/get-nonce-sync-messages.ts:737
↓ 1 callersFunctionassertGrepRunsOnlyKeepAlpha
( envOverrides: NodeJS.ProcessEnv, )
packages/hardhat-mocha/test/index.ts:56
↓ 1 callersFunctionassertHardhat2PluginError
( error: unknown, removedApi: string, migrationHint: RegExp, )
packages/hardhat/test/config.ts:16
↓ 1 callersFunctionassertHardhat2PluginError
(error: unknown, removedApi: string)
packages/hardhat/test/plugins.ts:10
↓ 1 callersFunctionassertHardhatInvariant
( invariant: boolean, message: string, )
packages/hardhat-utils/test/helpers/fs.ts:19
↓ 1 callersFunctionassertInvalidNpmModuleIdentifierError
(npmModule: string)
packages/hardhat/test/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:307
↓ 1 callersFunctionassertInvalidSignature
Asserts that parsing a signature throws for the given reason.
packages/hardhat-utils/test/abi.ts:67
↓ 1 callersFunctionassertMergeableGrepPattern
( name: string, pattern: string | undefined, )
packages/hardhat-mocha/src/internal/merge-grep.ts:316
↓ 1 callersFunctionassertMochaCanCompilePattern
* Rejects a string name filter that Mocha itself cannot compile. * * Mocha runs `new RegExp(body || whole, flags)` on a `/pattern/flags` string. *
packages/hardhat-mocha/src/internal/merge-grep.ts:336
↓ 1 callersFunctionassertNoSyncMessageNeeded
(ctx: { ignitionModule: IgnitionModule<string, string, IgnitionModuleResult<string>>; deploymentState?: De
packages/ignition-core/test/execution/nonce-management/get-nonce-sync-messages.ts:767
↓ 1 callersFunctionassertParseResult
( result: z.SafeParseReturnType<any, any>, expectedMessage: string, path?: Array<string | number>, )
packages/hardhat-zod-utils/test/index.ts:13
↓ 1 callersFunctionassertPeakCoversAllocation
(run: MeasuredRun)
scripts/benchmark/helpers/runner.test.ts:58
↓ 1 callersFunctionassertPluginPropertiesCopied
( networkConfig: NetworkConfig, expectedOverride: { pluginAddedProperties: string[] }, )
packages/hardhat/test/internal/builtin-plugins/network-manager/network-manager.ts:870
↓ 1 callersFunctionassertPromptsShown
( output: string, inputDescriptions: string[], )
packages/hardhat/test/internal/core/user-interruptions/user-interruptions-manager.ts:293
↓ 1 callersFunctionassertReportDecision
( error: Error, expectedCategory: ErrorCategory, expectedShouldBeReported: boolean, )
packages/hardhat/test/internal/cli/telemetry/error-classification/filter.ts:550
↓ 1 callersFunctionassertSerializableModuleIn
( module: IgnitionModule<string, string, IgnitionModuleResult<string>>, )
packages/ignition-core/test/ignition-module-serializer.ts:666
↓ 1 callersFunctionassertSleep
( sleepSeconds: number, { minMillis, maxMillis }: { minMillis?: number; maxMillis?: number } = {},
packages/hardhat-utils/test/lang.ts:672
↓ 1 callersFunctionassertSuggestedRelativeImport
( resolver: Resolver, from: ResolvedFile, importPath: string, suggeste
packages/hardhat/test/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:3151
↓ 1 callersFunctionassertSuggestedRemapping
( resolver: Resolver, from: ResolvedFile, importPath: string, suggeste
packages/hardhat/test/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:3134
↓ 1 callersFunctionassertUnset
(name: string)
packages/hardhat-test-utils/test/env.ts:10
↓ 1 callersFunctionassertValidObject
(obj)
packages/hardhat-vendored/src/coverage-module/istanbul-lib-coverage/lib/file-coverage.cjs:30
↓ 1 callersFunctionassertValidPattern
(name: string, pattern: string | undefined)
packages/hardhat-mocha/src/internal/merge-grep.ts:536
↓ 1 callersFunctionassertValidSummary
(obj)
packages/hardhat-vendored/src/coverage-module/istanbul-lib-coverage/lib/coverage-summary.cjs:31
↓ 1 callersFunctionassetNames
(version: string)
packages/hardhat-slang-solx/test/mirror-availability.ts:15
↓ 1 callersFunctionassetNames
(version: string, release: SlangRelease)
packages/hardhat-slang/test/mirror-availability.ts:17
↓ 1 callersFunctionattemptVerification
( { verificationProvider, address, encodedConstructorArgs, contractInformation, creation
packages/hardhat-verify/src/internal/verification.ts:380
↓ 1 callersFunctionaugmentIfSlang
(entry: T)
packages/hardhat-slang/src/internal/hook-handlers/config.ts:382
↓ 1 callersFunctionaugmentIfSolx
(entry: T)
packages/hardhat-slang-solx/src/internal/hook-handlers/config.ts:256
↓ 1 callersFunctionaugmentSlangOutputSelectionInProfiles
* For each compiler entry whose `type === "slang"`, augments * `settings.outputSelection` with the slang debugInfo and debugSymbols * selectors. *
packages/hardhat-slang/src/internal/hook-handlers/config.ts:355
↓ 1 callersFunctionaugmentSolxOutputSelectionInProfiles
* For each compiler entry whose `type === "slang-solx"`, augments * `settings.outputSelection` with the solx debugInfo selectors. * Non-slang-solx e
packages/hardhat-slang-solx/src/internal/hook-handlers/config.ts:229
↓ 1 callersFunctionauthorizationListify
(authorizationList: AuthorizationLike[])
packages/hardhat-ethers/src/internal/ethers-utils/ethers-utils.ts:516
↓ 1 callersFunctionbalancesHaveChanged
( viem: HardhatViemHelpers<ChainTypeT>, txHash: Hash | Promise<Hash>, changes: Array<{ address: Addr
packages/hardhat-viem-assertions/src/internal/assertions/balances-have-changed.ts:9
↓ 1 callersFunctionbindCompile
( solc: Solc, isVersion6OrNewer: boolean, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/solcjs-wrapper.ts:113
↓ 1 callersFunctionbindReset
(solc: Solc)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/solcjs-wrapper.ts:105
↓ 1 callersFunctionbindVersion
(solc: Solc)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/solcjs-wrapper.ts:97
↓ 1 callersFunctionblankSummary
()
packages/hardhat-vendored/src/coverage-module/istanbul-lib-coverage/lib/coverage-summary.cjs:13
↓ 1 callersMethodbroadcastTransaction
( signedTx: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:343
↓ 1 callersFunctionbuildAllThenDropNoImports
( cleanupArtifacts: boolean | undefined, )
packages/hardhat/test/internal/builtin-plugins/solidity/build-system/build-system.ts:389
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat-mocha/test/index.ts:112
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat-ignition/test/deploy/build-invocation.ts:11
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat-ignition/test/plan/build-invocation.ts:11
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat/test/internal/builtin-plugins/console/task-action.ts:156
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat/test/internal/builtin-plugins/test/task-action.ts:316
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat/test/internal/builtin-plugins/run/task-action.ts:104
↓ 1 callersFunctionbuildArgCaptor
()
packages/hardhat-node-test-runner/test/index.ts:113
↓ 1 callersFunctionbuildArrayTypeName
(t: string)
packages/hardhat/test/internal/builtin-plugins/solidity-test/eip712/index.ts:99
↓ 1 callersFunctionbuildBytecode
( executableSection: string, metadataSection: string, )
packages/hardhat-verify/test/bytecode.ts:653
↓ 1 callersFunctionbuildCharacterCoverage
( fileContent: string, start: number, end: number, unexecutedStatements: Statement[], )
packages/hardhat/src/internal/builtin-plugins/coverage/process-coverage.ts:127
↓ 1 callersFunctionbuildCompilerOutputBytecode
( bytecode: string, linkReferences: CompilerOutputBytecode["linkReferences"] = {}, immutableReferences:
packages/hardhat-verify/test/bytecode.ts:667
↓ 1 callersFunctionbuildContractInformation
( contract: string, deployedBytecode: string, linkReferences: CompilerOutputBytecode["linkReferences"] =
packages/hardhat-verify/test/libraries.ts:587
↓ 1 callersFunctionbuildDependencyVersionMap
* Builds a map from dependency name, to version spec, to the set of packages that have that dependency.
scripts/check-dependencies.ts:251
↓ 1 callersFunctionbuildEdrArtifactsWithMetadata
( artifactManager: ArtifactManager, )
packages/hardhat/src/internal/builtin-plugins/solidity-test/edr-artifacts.ts:72
↓ 1 callersFunctionbuildFixtureTemplate
()
packages/hardhat/test/internal/cli/init/init.ts:1339
↓ 1 callersFunctionbuildFlamegraphPipeline
( args: FlamegraphArgs, )
scripts/profiler/helpers/flamegraph.ts:125
↓ 1 callersFunctionbuildGitHubCliReleaseArgs
( release: ReleaseDescriptor, )
scripts/github-release/file-helpers.ts:50
↓ 1 callersFunctionbuildLpsTable
(pattern: Uint8Array)
packages/hardhat-utils/src/internal/bytes.ts:67
↓ 1 callersFunctionbuildMergedGrep
* Builds the single regex source meaning "name contains `include` but not * `exclude`": a positive lookahead for include and a negative lookahead for
packages/hardhat-mocha/src/internal/merge-grep.ts:286
↓ 1 callersFunctionbuildPackageMap
(packages: PnpmPackage[])
scripts/bump-peers.ts:670
↓ 1 callersFunctionbuildPayload
(analyticsEvent: AnalyticsEvent)
packages/hardhat/src/internal/cli/telemetry/analytics/analytics.ts:137
↓ 1 callersFunctionbuildProfileUsesSlang
* Whether the build profile compiles anything with slang, through either its * compilers or its overrides. An unknown profile is left for the build s
packages/hardhat-slang/src/internal/hook-handlers/solidity.ts:74
↓ 1 callersFunctionbuildReplayTransactionRequest
( tx: TransactionResponse, blockNumber: number, )
packages/hardhat-ethers-chai-matchers/src/internal/matchers/reverted/utils.ts:410
↓ 1 callersFunctionbuildWorkspaceVersion
(version: string)
scripts/bump-peers.ts:696
↓ 1 callersFunctionbytesToUtf8String
(bytes: Uint8Array)
packages/hardhat-utils/src/bytes.ts:67
↓ 1 callersFunctioncacheFakePinnedBinary
()
packages/hardhat-slang/test/hook-handlers/solidity.ts:139
↓ 1 callersMethodcallExecutionStateComplete
( event: CallExecutionStateCompleteEvent, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:200
↓ 1 callersMethodcallExecutionStateInitialize
( event: CallExecutionStateInitializeEvent, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:194
↓ 1 callersFunctioncanonicalizeAll
(structs: CollectedStruct[])
packages/hardhat/test/internal/builtin-plugins/solidity-test/eip712/canonicalize.ts:30
↓ 1 callersFunctioncaptureErrors
()
packages/hardhat/test/internal/core/plugins/unused-plugins-warning.ts:9
↓ 1 callersFunctioncaptureStderr
(t: TestContext)
packages/hardhat-utils/test/debug.ts:22
↓ 1 callersFunctioncapturingRunner
( name: string, received: Array<Record<string, unknown>>, )
packages/hardhat/test/internal/builtin-plugins/test/task-action.ts:443
↓ 1 callersFunctionchainIdsFor
(chainType: ChainType)
packages/hardhat/test/internal/builtin-plugins/network-manager/edr/utils/convert-to-edr.ts:359
↓ 1 callersMethodchangeEtherBalances
* Assert that the ether balances of multiple addresses changed by specific amounts. * @param ethers The Hardhat ethers instance used in the tes
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:153
↓ 1 callersFunctionchangeset
(summary: string)
scripts/custom-changelog.test.ts:13
↓ 1 callersFunctioncharMustBeIgnored
(char: string)
packages/hardhat/src/internal/builtin-plugins/coverage/process-coverage.ts:170
↓ 1 callersFunctioncheckAll
( actual: number, expected: number, test: ( actual: string | SupportedNumber,
packages/hardhat-ethers-chai-matchers/test/matchers/big-number.ts:552
↓ 1 callersFunctioncheckAmbiguousOrUnnecessaryLinks
( providedLibraries: LibraryAddresses, neededLibraries: LibraryLink[], )
packages/hardhat-utils/src/internal/bytecode.ts:69
↓ 1 callersFunctioncheckConfirmations
( exState: | DeploymentExecutionState | CallExecutionState | StaticCallExecutionState | Send
packages/ignition-core/src/track-transaction.ts:205
↓ 1 callersFunctioncheckFunctionGasSnapshots
( basePath: string, suiteResults: SuiteResult[], tolerance: number, )
packages/hardhat/src/internal/builtin-plugins/gas-analytics/function-gas-snapshots.ts:335
↓ 1 callersFunctioncheckIfSubprocessWasExecuted
()
packages/hardhat-utils/test/subprocess.ts:24
↓ 1 callersFunctioncheckInternalConsistency
* Checks that the package's dependencies are consistent internally.
scripts/check-dependencies.ts:90
↓ 1 callersFunctioncheckMissingLibraryAddresses
( neededLibraries: LibraryLink[], )
packages/hardhat-utils/src/internal/bytecode.ts:148
↓ 1 callersFunctioncheckOverlappingLibraryNames
( providedLibraries: LibraryAddresses, neededLibraries: LibraryLink[], )
packages/hardhat-utils/src/internal/bytecode.ts:124
↓ 1 callersFunctioncheckProvidedLibraryAddresses
( providedLibraries: LibraryAddresses, )
packages/hardhat-utils/src/internal/bytecode.ts:47
↓ 1 callersFunctioncheckRelease
* The function checks whether the version of hardhat from its package.json is available in the NPM registry * It appends this information to the GITH
scripts/check-release.ts:9
↓ 1 callersFunctioncheckSnapshotCheatcodes
( basePath: string, suiteResults: SuiteResult[], tolerance: number, )
packages/hardhat/src/internal/builtin-plugins/gas-analytics/snapshot-cheatcodes.ts:421
↓ 1 callersFunctioncheckWorkspacePeerDependencies
* Checks that every package has all of its workspace: dependencies' own * peerDependencies installed. * * The reason for this check is that pnpm do
scripts/check-dependencies.ts:163
↓ 1 callersFunctioncheckout
( scenarioWorkingDir: string, ref: string, force: ForceCheckout, )
scripts/end-to-end/subcommands/init.ts:361
↓ 1 callersFunctionchildPids
(pid: number)
scripts/benchmark/helpers/mem-sampler.ts:111
↓ 1 callersFunctioncleanAction
( { global }, { config, hooks }, )
packages/hardhat/src/internal/builtin-plugins/clean/task-action.ts:10
↓ 1 callersFunctioncleanChangelogs
( revertedPeers: Map<string, Set<string>>, modifications: Map<string, PackageModification>, )
scripts/bump-peers.ts:511
↓ 1 callersFunctioncleanup
()
scripts/verdaccio/start.ts:169
↓ 1 callersMethodcleanupArtifacts
( rootFilePaths: string[], options: { scope?: BuildScope } = {}, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1126
↓ 1 callersFunctionclearBumpsInConfig
()
scripts/bump-peers.ts:495
↓ 1 callersMethodclearMempool
(pendingTxToAwait: number = 0)
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:340
↓ 1 callersMethodclearSnapshots
* Clears every existing snapshot. * * @example * // Clear all saved snapshots * clearSnapshots();
packages/hardhat-network-helpers/src/types.ts:19
← previousnext →1,901–2,000 of 4,382, ranked by callers