MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 3 callersMethodartifactExists
* Returns true if an artifact exists. * * This function doesn't throw if the name is not unique, this means that * this method may return `tr
packages/hardhat/src/types/artifacts.ts:99
↓ 3 callersFunctionassertCanConvertToBigInt
( value: any, variableName: string, )
packages/hardhat-ethers/src/internal/assertion.ts:3
↓ 3 callersFunctionassertGetNonceSyncResult
( { ignitionModule, deploymentState = deploymentStateReducer(), transactionCountEntries = {},
packages/ignition-core/test/execution/nonce-management/get-nonce-sync-messages.ts:783
↓ 3 callersFunctionassertHexString
(hexString: string)
packages/hardhat-network-helpers/src/internal/assertions.ts:7
↓ 3 callersMethodauthorize
(auth: AuthorizationRequest)
packages/hardhat-ethers/src/internal/signers/signers.ts:100
↓ 3 callersMethodbalancesHaveChanged
( txHash: Hash | Promise<Hash>, changes: Array<{ address: Address; amount: bigint; }>,
packages/hardhat-viem-assertions/src/internal/viem-assertions.ts:32
↓ 3 callersMethodbar
()
packages/hardhat-utils/test/lang.ts:763
↓ 3 callersMethodbatch
( module: IgnitionModule, deploymentState: DeploymentState, )
packages/ignition-core/src/internal/batcher.ts:24
↓ 3 callersFunctionbuildDependencyGraph
( rootFiles: string[], projectRoot: string, readFile: (absPath: string) => Promise<string>, hookManage
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph-building.ts:18
↓ 3 callersFunctioncanonicalizeStructs
( structs: CollectedStruct[], selectedSources: Set<string>, )
packages/hardhat/src/internal/builtin-plugins/solidity-test/eip712/canonicalize.ts:41
↓ 3 callersFunctioncapitalize
(str: string)
packages/hardhat-utils/src/string.ts:30
↓ 3 callersFunctioncaptureError
(fn: () => Promise<unknown>)
packages/hardhat/test/internal/cli/telemetry/error-classification/helpers.ts:13
↓ 3 callersMethodchangeEtherBalance
* Assert that the ether balance of an address changed by a specific amount. * @param ethers The Hardhat ethers instance used in the test.
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:130
↓ 3 callersMethodchangeTokenBalance
* Assert that an ERC20 token balance of an address changed by a specific amount. * @param ethers The Hardhat ethers instance used in the test.
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:175
↓ 3 callersMethodchangeTokenBalances
* Assert that ERC20 token balances of multiple addresses changed by specific amounts. * @param ethers The Hardhat ethers instance used in the t
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:197
↓ 3 callersFunctioncleanup
()
packages/hardhat-utils/test/synchronization.ts:78
↓ 3 callersMethodcleanupArtifacts
* Analyzes the project and cleans up the artifacts by: * - Removing any existing artifact of non-existent contracts. * - Removing any unreacha
packages/hardhat/src/types/solidity/build-system.ts:448
↓ 3 callersMethodclearTracedHashes
* Clear the dedup set (e.g. on snapshot revert so replayed txs are traced again).
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/trace-output.ts:125
↓ 3 callersFunctioncolor
(text: string)
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/trace-formatters.ts:105
↓ 3 callersFunctioncompareVersions
(a: string, b: string)
scripts/verdaccio/helpers/version.ts:50
↓ 3 callersFunctioncopyRequest
( req: TransactionRequest, )
packages/hardhat-ethers/src/internal/ethers-utils/ethers-utils.ts:35
↓ 3 callersFunctioncpuProfFlags
( profileDir: string, sampleRateHz: number, )
scripts/profiler/helpers/js-prof.ts:12
↓ 3 callersMethodcreate
( networkOrParams?: NetworkConnectionParams<ChainTypeT> | string, )
packages/hardhat/src/internal/builtin-plugins/network-manager/network-manager.ts:103
↓ 3 callersFunctioncreateContractInstance
( _contractName: ContractName, publicClient: PublicClient, walletClient: WalletClient, abi: ViemAbi,
packages/hardhat-viem/src/internal/contracts.ts:220
↓ 3 callersFunctioncreateErrorContext
(error: Error)
packages/hardhat/src/internal/cli/telemetry/error-classification/helpers.ts:33
↓ 3 callersFunctioncreateExecutionStateCompleteMessageForExecutionsWithOnchainInteractions
( exState: DeploymentExecutionState | CallExecutionState | SendDataExecutionState, result: Deploym
packages/ignition-core/src/internal/execution/future-processor/helpers/messages-helpers.ts:74
↓ 3 callersFunctioncreateHre
()
packages/ignition-core/test-integrations/helpers/create-hre.ts:22
↓ 3 callersFunctioncreatePeakRssRecorder
( method: PeakRssMethod | undefined, memPath: string, )
scripts/benchmark/helpers/peak-rss.ts:259
↓ 3 callersFunctioncreateSuiteResult
( contractNameOrFqn: string, testResults: TestResult[], )
packages/hardhat/test/internal/builtin-plugins/gas-analytics/suite-result-helpers.ts:105
↓ 3 callersMethodcreateUnsavedKeystore
({ masterKey, salt, }: { masterKey: Uint8Array; salt: Uint8Array; })
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:57
↓ 3 callersMethodcustomApiCall
* Makes a custom API call to the Etherscan API with specified * parameters. * * This method is designed for advanced use cases where plugins
packages/hardhat-verify/src/internal/etherscan.types.ts:254
↓ 3 callersMethodcwrap
(ident: string, returnType: string | null, argTypes: string[])
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/solcjs-wrapper.ts:18
↓ 3 callersFunctiondecode
( contractName: keyof typeof staticCallResultFixtures, functionName: keyof (typeof staticCallResul
packages/ignition-core/test/execution/abi.ts:563
↓ 3 callersFunctiondecodeError
( returnData: string, customErrorReported: boolean, decodeCustomError?: ( returnData: string, ) =>
packages/ignition-core/src/internal/execution/abi.ts:427
↓ 3 callersFunctiondecodeSimulationResult
( strategyGenerator: DeploymentStrategyGenerator | CallStrategyGenerator, exState: DeploymentExecution
packages/ignition-core/src/internal/execution/future-processor/helpers/decode-simulation-result.ts:23
↓ 3 callersFunctiondeployContract
({ hre, client, accounts, }: { hre: HardhatRuntimeEnvironment; client: EIP11
packages/ignition-core/test-integrations/internal/execution/jsonrpc-client.ts:20
↓ 3 callersMethoddeploymentComplete
( event: DeploymentCompleteEvent, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:320
↓ 3 callersFunctiondirectStructDeps
* Returns the names of all struct dependencies referenced by `struct`'s * members. Considers the base type of arrays. Members whose base type does no
packages/hardhat/src/internal/builtin-plugins/solidity-test/eip712/canonicalize.ts:146
↓ 3 callersFunctiondisableConsole
()
packages/hardhat-test-utils/src/console.ts:20
↓ 3 callersMethoddisplayKeyNotFoundErrorMessage
( key: string, dev: boolean, )
packages/hardhat-keystore/src/internal/ui/user-display-messages.ts:40
↓ 3 callersMethodemit
* Assert that a transaction emits a specific event. * @param contract The contract that emits the event. * @param eventName The name of
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:23
↓ 3 callersMethodemitArtifacts
* Emits the artifacts of the given compilation job. * * When `solidity.splitTestsCompilation` is `false`, this method rejects * `scope: "test
packages/hardhat/src/types/solidity/build-system.ts:410
↓ 3 callersFunctionencode
Encodes and returns the result without the "0x" prefix, for readability.
packages/hardhat-utils/test/abi.ts:29
↓ 3 callersFunctionencodeArguments
( parameters: readonly AbiParameter[], values: string[], name: string, )
packages/hardhat/src/internal/builtin-plugins/hhu/tasks/abi/encode.ts:25
↓ 3 callersFunctionencodeConstructorArgs
( abi: AbiFragment[], constructorArgs: unknown[], contract: string, )
packages/hardhat-verify/src/internal/constructor-args.ts:24
↓ 3 callersFunctionencodeStackTraceEntry
( stackTraceEntry: SolidityStackTraceEntry, )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/stack-traces/stack-trace-solidity-errors.ts:99
↓ 3 callersFunctionencryptUtf8String
({ encryptionKey, value, }: { encryptionKey: Uint8Array; value: string; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:244
↓ 3 callersFunctionensureScenarioInitialized
( e2eCloneDirectory: string, scenarioPath: string, useLocal: UseLocal, forceCheckout: ForceCheckout,
scripts/end-to-end/helpers/scenario-setup.ts:16
↓ 3 callersFunctionestimateCompilationJobCost
(job: CompilationJob)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compilation-job-cost.ts:9
↓ 3 callersFunctionexecute
( command: string, options: RunOptions, recorder?: PeakRssRecorder, )
scripts/benchmark/helpers/runner.ts:507
↓ 3 callersFunctionexitIfNodeVersionNotSupported
()
packages/hardhat/src/internal/cli/node-version.ts:45
↓ 3 callersFunctionextractDocsUrlsFromFrontMatter
(frontMatter: null | string)
scripts/lib/changesets.ts:54
↓ 3 callersFunctionextractFunctionGasSnapshots
( suiteResults: SuiteResult[], )
packages/hardhat/src/internal/builtin-plugins/gas-analytics/function-gas-snapshots.ts:82
↓ 3 callersFunctionextractSnapshotCheatcodes
( suiteResults: SuiteResult[], )
packages/hardhat/src/internal/builtin-plugins/gas-analytics/snapshot-cheatcodes.ts:155
↓ 3 callersFunctionfetch
(prefix: string[])
packages/hardhat/src/internal/builtin-plugins/hhu/tasks/fetch/index.ts:6
↓ 3 callersFunctionfetch
(scenarioWorkingDir: string, repo: string, ref: string)
scripts/end-to-end/subcommands/init.ts:340
↓ 3 callersMethodfileExists
(absolutePath: string)
packages/hardhat-keystore/src/internal/types.ts:38
↓ 3 callersFunctionfindCharClassEnd
* Returns the index of the `]` that closes the character class opened at * `start`, or -1 if none is found. E.g. for `a[bc]d` starting at 1, returns
packages/hardhat/src/internal/utils/glob.ts:118
↓ 3 callersFunctionfindClosestHardhatConfig
(from?: string)
packages/hardhat/src/internal/config-loading.ts:54
↓ 3 callersFunctionfindUp
( fileName: string, from?: string, )
packages/hardhat-utils/src/fs.ts:1047
↓ 3 callersFunctionformat
(v: string | RegExp | Function | undefined)
packages/hardhat-verify/test/utils.ts:91
↓ 3 callersFunctionformatArtifactId
( artifactId: ArtifactId, sourceNameToUserSourceName: Map<string, string>, )
packages/hardhat/src/internal/builtin-plugins/solidity-test/formatters.ts:8
↓ 3 callersFunctionformatFailureIndex
(index: number)
packages/hardhat-node-test-reporter/src/formatting.ts:151
↓ 3 callersFunctionformatInferredSolcVersion
(v: InferredSolcVersion)
packages/hardhat-verify/src/internal/metadata.ts:84
↓ 3 callersFunctionformatRemappingReference
(remapping: UserRemappingReference)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/error-messages.ts:202
↓ 3 callersFunctionformatTable
(items: TableItem[])
packages/hardhat-utils/src/format.ts:86
↓ 3 callersFunctionformatTraces
( traces: CallTrace[], prefix: string, // Allow passing a custom colorize function for testing purposes
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/utils/trace-formatters.ts:24
↓ 3 callersFunctiongeneratePaths
(packageName: string)
packages/hardhat-utils/src/internal/global-dir.ts:10
↓ 3 callersFunctiongetAbiSelector
( signature: AbiFunctionSignature, )
packages/hardhat-utils/src/abi.ts:361
↓ 3 callersFunctiongetAccounts
( provider: EthereumProvider, )
packages/hardhat-viem/src/internal/accounts.ts:6
↓ 3 callersFunctiongetActorFragment
(pluginId: string | undefined)
packages/hardhat/src/internal/core/tasks/utils.ts:11
↓ 3 callersMethodgetAddress
( searchedPath: string, )
packages/hardhat-ledger/test/helpers/eth-mocked.ts:107
↓ 3 callersMethodgetAllArtifactPaths
* Returns all artifact paths in the project. * * @returns A readonly set of absolute paths to all artifact files.
packages/hardhat/src/types/artifacts.ts:111
↓ 3 callersMethodgetAllRemappings
* Returns a set with all the remappings that are present in the graph.
packages/hardhat/src/types/solidity/dependency-graph.ts:70
↓ 3 callersFunctiongetBalance
( provider: EthereumProvider, address: string, )
packages/hardhat-network-helpers/test/helpers/helpers.ts:34
↓ 3 callersMethodgetBalance
( _address: string, _blockTag: "latest" | "pending", )
packages/ignition-core/test/execution/future-processor/utils.ts:127
↓ 3 callersFunctiongetBaseDispatcherOptions
( timeout: number = DEFAULT_TIMEOUT_IN_MILLISECONDS, isTestDispatcher: boolean = false, )
packages/hardhat-utils/src/internal/request.ts:319
↓ 3 callersFunctiongetBuildInfoAndOutput
( artifacts: ArtifactManager, contract: string, )
packages/hardhat-verify/src/internal/artifacts.ts:40
↓ 3 callersFunctiongetCallerRelativePath
(depth: number = 5)
packages/hardhat/src/internal/using-hardhat2-plugin-errors.ts:64
↓ 3 callersFunctiongetChainGenesisState
( hardforkName: L1HardforkName | OpHardforkName, chainType: ChainType, )
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/genesis-state.ts:178
↓ 3 callersFunctiongetChainId
(provider: EthereumProvider)
packages/hardhat-verify/src/internal/chains.ts:7
↓ 3 callersFunctiongetCheatcodeSuggestion
(cheatcode: string)
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/stack-traces/stack-trace-solidity-errors.ts:38
↓ 3 callersMethodgetChildren
()
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/summarizer-factory.cjs:70
↓ 3 callersMethodgetCode
( address: AddressLike, blockTag?: BlockTag | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:259
↓ 3 callersFunctiongetDefaultParams
(provider: EthereumProvider)
packages/hardhat-viem/src/internal/clients.ts:182
↓ 3 callersMethodgetDependencies
* Returns the set of dependencies of the given file. * * @param file The file to get the dependencies of. It must be present in the * graph.
packages/hardhat/src/types/solidity/dependency-graph.ts:34
↓ 3 callersMethodgetDependenciesFor
* Get the dependencies, if A depends on B, A's dependencies includes B * @param from - the future to get the list of dependencies for * @returns
packages/ignition-core/src/internal/utils/adjacency-list.ts:51
↓ 3 callersFunctiongetEventArgumentFromReceipt
( receipt: TransactionReceipt, emitterArtifact: Artifact, emitterAddress: string, eventName: string,
packages/ignition-core/src/internal/execution/abi.ts:379
↓ 3 callersMethodgetFunction
()
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/stack-traces/stack-trace-solidity-errors.ts:419
↓ 3 callersFunctiongetGlobalEdrContext
()
packages/hardhat/src/internal/edr/context.ts:19
↓ 3 callersFunctiongetGlobalHelpString
( rootTasks: Map<string, Task>, globalOptionDefinitions: GlobalOptionDefinitions, { command = "hardhat"
packages/hardhat/src/internal/cli/help/get-global-help-string.ts:14
↓ 3 callersFunctiongetHelpString
( task: Task, globalOptionDefinitions: GlobalOptionDefinitions, { command = "hardhat" }: { command?: "ha
packages/hardhat/src/internal/cli/help/get-help-string.ts:16
↓ 3 callersFunctiongetHre
()
packages/hardhat/src/internal/builtin-plugins/gas-analytics/helpers/compat.ts:16
↓ 3 callersFunctiongetHre
()
packages/hardhat/src/internal/builtin-plugins/coverage/helpers/compat.ts:16
↓ 3 callersFunctiongetLongestNameLength
( tasks: Array<{ name: string; shortName?: string }>, )
packages/hardhat/src/internal/cli/help/utils.ts:120
↓ 3 callersMethodgetNetworkFees
()
packages/ignition-core/test/execution/future-processor/utils.ts:111
↓ 3 callersMethodgetNonce
(blockTag?: BlockTag | undefined)
packages/hardhat-ethers/src/internal/signers/signers.ts:134
↓ 3 callersFunctiongetNthColumn
(n)
packages/hardhat-vendored/src/coverage-module/istanbul-reports/lib/html/assets/sorter.js:25
↓ 3 callersMethodgetNumberOfCalls
(method: string)
packages/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/ethereum-mocked-provider.ts:27
↓ 3 callersFunctiongetPackageManager
()
packages/hardhat/src/internal/cli/init/package-manager.ts:68
← previousnext →601–700 of 4,382, ranked by callers