MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions4,382 in github.com/NomicFoundation/hardhat

↓ 1 callersMethod#resolveNpmUserRemapping
( npmPackage: ResolvedNpmPackage, unresolvedNpmRemapping: UnresolvedNpmUserRemapping, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:680
↓ 1 callersMethod#resolveProjectFile
( absoluteFilePath: string, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:185
↓ 1 callersMethod#resolveRelativeImport
({ from, importPath, directImport, }: { from: ResolvedFile; importPath: string; dire
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:580
↓ 1 callersMethod#resolveRequest
( jsonRpcRequest: JsonRpcRequest, )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/accounts/local-accounts.ts:108
↓ 1 callersMethod#resolveStrategyConfig
( hardhatConfig: HardhatConfig, strategyName: StrategyT | undefined, strategyConfig: StrategyConfi
packages/hardhat-ignition-viem/src/internal/viem-ignition-helper.ts:394
↓ 1 callersMethod#resolveStrategyConfig
( hardhatConfig: HardhatConfig, strategyName: StrategyT | undefined, strategyConfig: StrategyConfi
packages/hardhat-ignition-ethers/src/internal/ethers-ignition-helper.ts:323
↓ 1 callersMethod#resolveUserRemappedImport
* Resolves a user remapped import. * @returns The resolved file, or an error. If successful, the remapping is * always present, and of type `Res
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:618
↓ 1 callersMethod#retry
( request: JsonRpcRequest, retryAfterSeconds: number, retryCount: number, )
packages/hardhat/src/internal/builtin-plugins/network-manager/http-provider.ts:268
↓ 1 callersMethod#sendEmptyResponse
(res: ServerResponse)
packages/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:133
↓ 1 callersMethod#sendResponse
( res: ServerResponse, rpcResp: JsonRpcResponse | JsonRpcResponse[], )
packages/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:144
↓ 1 callersMethod#sendUncheckedTransaction
(tx: TransactionRequest)
packages/hardhat-ethers/src/internal/signers/signers.ts:269
↓ 1 callersMethod#setCorsHeaders
(res: ServerResponse)
packages/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:138
↓ 1 callersMethod#setProvider
(provider: EthereumProvider)
packages/hardhat/src/internal/builtin-plugins/network-manager/network-connection.ts:64
↓ 1 callersMethod#shouldDownloadCompilerList
(versions: Set<string>)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:343
↓ 1 callersMethod#shouldRetryRequest
(retryAfterSeconds: number, retryCount: number)
packages/hardhat/src/internal/builtin-plugins/network-manager/http-provider.ts:256
↓ 1 callersMethod#shouldSuppressWarning
(error: CompilerOutputError)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1577
↓ 1 callersMethod#skipModifierArguments
* Skips a modifier's arguments: a parenthesized list that can be nested, * like `(getRoleAdmin(role))`.
packages/hardhat-utils/src/internal/abi-signature.ts:234
↓ 1 callersMethod#startBlockPolling
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1149
↓ 1 callersMethod#startTransactionHashPolling
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1093
↓ 1 callersMethod#stopBlockPolling
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1154
↓ 1 callersMethod#stopTransactionHashPolling
()
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1097
↓ 1 callersMethod#suggestEip1559FeePriceValues
()
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/handlers/gas/automatic-gas-price-handler.ts:123
↓ 1 callersMethod#throwNotFoundError
( contractNameOrFullyQualifiedName: string, allBareNames: Iterable<string>, allFullyQualifiedNames
packages/hardhat/src/internal/builtin-plugins/artifacts/artifact-manager.ts:205
↓ 1 callersMethod#toEthersContracts
( connection: NetworkConnection<ChainTypeT>, ignitionModule: IgnitionModule< ModuleIdT, Co
packages/hardhat-ignition-ethers/src/internal/ethers-ignition-helper.ts:264
↓ 1 callersMethod#toRelativeImport
* Returns the relative import, starting with "./" or "../", that a file in * `fromDir` would use to import the file at `fileFsPath`.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:1051
↓ 1 callersMethod#toViemContracts
( connection: NetworkConnection<ChainTypeT>, ignitionModule: IgnitionModule< ModuleIdT, Co
packages/hardhat-ignition-viem/src/internal/viem-ignition-helper.ts:270
↓ 1 callersMethod#tryAcquire
()
packages/hardhat-utils/src/synchronization.ts:263
↓ 1 callersMethod#tryToGenerateBareImportToLocalFileError
({ from, importPath, }: { from: ResolvedFile; importPath: string; })
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:954
↓ 1 callersMethod#tryToGenerateDirectImportToLocalFileError
({ from, importPath, }: { from: ResolvedFile; importPath: string; })
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:1061
↓ 1 callersMethod#tryToGenerateDirectLocalImportError
({ from, importPath, }: { from: ResolvedFile; importPath: string; })
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/dependency-resolver.ts:934
↓ 1 callersMethod#tryUnlockingStaleLock
(metadata: LockMetadata | undefined)
packages/hardhat-utils/src/synchronization.ts:424
↓ 1 callersMethod#updateRemappingsTxFragment
* Updates a fragment of a remapping found in a remappings.txt in the package * from. * * This is used to update both contexts and targets.
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/remapped-npm-packages-graph.ts:761
↓ 1 callersMethod#updateResolvedPromiseCache
* Updates the cache if needed once a promise got resolved. * * @param key The cache key. * @param promise The promise that got resolved. *
packages/hardhat-utils/src/synchronization.ts:814
↓ 1 callersMethod#validateClashesWithGlobalOptions
( globalOptionDefinitions: GlobalOptionDefinitions, taskDefinition: NewTaskDefinition | TaskOverrideDe
packages/hardhat/src/internal/core/tasks/task-manager.ts:199
↓ 1 callersMethod#validateExtraArguments
* Validates that no extra arguments were provided in the task arguments. * * @throws HardhatError if extra arguments were provided. The error me
packages/hardhat/src/internal/core/tasks/resolved-task.ts:227
↓ 1 callersMethod#validateRequiredArgument
* Validates that a required argument has a value. A argument is required if * it doesn't have a default value. * * @throws HardhatError if th
packages/hardhat/src/internal/core/tasks/resolved-task.ts:202
↓ 1 callersMethod#validateTaskDefinition
( taskDefinition: TaskDefinition, isPlugin: boolean, )
packages/hardhat/src/internal/core/tasks/task-manager.ts:293
↓ 1 callersMethod#verifyCompilerDownload
* Compares a downloaded compiler against its expected SHA-256 checksum. On a * mismatch the file is deleted and false is returned, leaving the call
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:472
↓ 1 callersMethod#wrapBlock
(value: BlockParams)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:906
↓ 1 callersMethod#wrapLog
(value: LogParams)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1023
↓ 1 callersMethod#wrapTransactionReceipt
(value: TransactionReceiptParams)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:910
↓ 1 callersMethod_allDependenciesVisited
( futureId: string, batchState: BatchState, )
packages/ignition-core/src/internal/batcher.ts:127
↓ 1 callersMethod_allVisited
(batchState: BatchState)
packages/ignition-core/src/internal/batcher.ts:103
↓ 1 callersMethod_appendJsonLine
(path: string, value: JournalMessage)
packages/ignition-core/src/internal/journal/file-journal.ts:52
↓ 1 callersMethod_applyResultToBatches
( batches: UiBatches, result: DeploymentResult, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:446
↓ 1 callersMethod_applyUpdateToBatchFuture
(updatedFuture: UiFuture)
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:400
↓ 1 callersFunction_assertConsoleOutputMatchesFor
* This is a helper function that mocks out `process.stdin`'s read and `process.stdout`'s write * to allow for crude integration testing. * * This i
packages/hardhat-keystore/test/integration/tasks.ts:259
↓ 1 callersMethod_assertUniqueToAndFrom
( to: | string | AddressResolvableFuture | ModuleParameterRuntimeValue<string> | A
packages/ignition-core/src/internal/module-builder.ts:1252
↓ 1 callersMethod_assertValidData
( data: string | EncodeFunctionCallFuture<string, string> | undefined, func: (...[]: any[]) => any,
packages/ignition-core/src/internal/module-builder.ts:1239
↓ 1 callersMethod_assertValidEventName
( eventName: string, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1069
↓ 1 callersFunction_buildReleaseBody
* Builds the full release body from a changelog entry. The Hardhat package * has a placeholder summary line prefixed.
scripts/github-release/build-release-descriptors.ts:98
↓ 1 callersFunction_calculateFailed
(deploymentId: string, statusResult: StatusResult)
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-status-display.ts:55
↓ 1 callersFunction_calculateStartedButUnfinished
( deploymentId: string, statusResult: StatusResult, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-status-display.ts:40
↓ 1 callersFunction_calculateStrategySuffix
(state: UiState)
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deploying-module-panel.ts:51
↓ 1 callersFunction_calculateSuccess
(deploymentId: string, statusResult: StatusResult)
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-status-display.ts:24
↓ 1 callersMethod_check
( future: Future, executionState: ExecutionState, context: ReconciliationContext, checks: Reco
packages/ignition-core/src/internal/reconciliation/reconciler.ts:167
↓ 1 callersFunction_checkForDuplicateModuleIds
* Check to ensure that there are no duplicate module ids among the root * module and its submodules.
packages/ignition-core/src/build-module.ts:70
↓ 1 callersMethod_checkForMissingTransactions
* Checks the journal for missing transactions, throws if any are found * and asks the user to track the missing transaction via the `track-tx` comm
packages/ignition-core/src/internal/execution/execution-engine.ts:215
↓ 1 callersMethod_checkModuleDependencyIsComplete
* This is needed because moduleIds are not present in the visit state * causing an infinite loop when checking whether a dependency is visited if t
packages/ignition-core/src/internal/batcher.ts:147
↓ 1 callersMethod_clearCurrentLine
()
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:597
↓ 1 callersMethod_clearUpToHeight
(height: number)
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:603
↓ 1 callersMethod_contractAtFromArtifact
( contractName: string, artifact: Artifact, address: string | AddressResolvableFuture | Modu
packages/ignition-core/src/internal/module-builder.ts:816
↓ 1 callersMethod_contractFromArtifact
( contractName: string, artifact: Artifact, args: ArgumentType[] = [], options: ContractOption
packages/ignition-core/src/internal/module-builder.ts:321
↓ 1 callersFunction_convertExecutionError
(result: ExecutionErrorDeploymentResult)
packages/hardhat-ignition/src/helpers/error-deployment-result-to-exception-message.ts:61
↓ 1 callersMethod_convertLibrariesToLibraryTokens
( libraries: Record<string, ContractFuture<string>>, )
packages/ignition-core/src/ignition-module-serializer.ts:389
↓ 1 callersMethod_convertModuleToModuleToken
( m: IgnitionModule<string, string, IgnitionModuleResult<string>>, )
packages/ignition-core/src/ignition-module-serializer.ts:438
↓ 1 callersFunction_convertPreviousRunError
(result: PreviousRunErrorDeploymentResult)
packages/hardhat-ignition/src/helpers/error-deployment-result-to-exception-message.ts:103
↓ 1 callersFunction_convertReconciliationError
( result: ReconciliationErrorDeploymentResult, )
packages/hardhat-ignition/src/helpers/error-deployment-result-to-exception-message.ts:49
↓ 1 callersFunction_convertValidationError
( result: ValidationErrorDeploymentResult, )
packages/hardhat-ignition/src/helpers/error-deployment-result-to-exception-message.ts:37
↓ 1 callersMethod_createNested
()
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/summarizer-factory.cjs:262
↓ 1 callersMethod_createPkg
()
packages/hardhat-vendored/src/coverage-module/istanbul-lib-report/lib/summarizer-factory.cjs:242
↓ 1 callersMethod_deployCreateXFactory
* Within the context of a local development Hardhat chain, deploy * the CreateX factory contract using a presigned transaction.
packages/ignition-core/src/strategies/create2-strategy.ts:314
↓ 1 callersMethod_deserializeArgument
( arg: SerializedArgumentType, futureLookup: Map<string, Future>, )
packages/ignition-core/src/ignition-module-serializer.ts:595
↓ 1 callersMethod_deserializeFuture
( serializedFuture: SerializedFuture, modulesLookup: Map< string, IgnitionModuleImplementa
packages/ignition-core/src/ignition-module-serializer.ts:690
↓ 1 callersFunction_displayExecutionErrors
( result: ExecutionErrorDeploymentResult, { moduleName }: { moduleName: string }, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-complete-display.ts:160
↓ 1 callersFunction_displayPreviousRunErrors
( result: PreviousRunErrorDeploymentResult, { moduleName }: { moduleName: string }, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-complete-display.ts:143
↓ 1 callersFunction_displayReconciliationErrors
( result: ReconciliationErrorDeploymentResult, { moduleName }: { moduleName: string }, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-complete-display.ts:118
↓ 1 callersFunction_displaySuccessfulDeployment
( result: SuccessfulDeploymentResult, { moduleName, isRerunWithNoChanges, deploymentDir, }:
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-complete-display.ts:56
↓ 1 callersFunction_displayValidationErrors
( result: ValidationErrorDeploymentResult, { moduleName }: { moduleName: string }, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-deployment-complete-display.ts:93
↓ 1 callersMethod_eliminateAlreadyVisitedFutures
({ adjacencyList, visitState, }: { adjacencyList: AdjacencyList; visitState: VisitStatusMap;
packages/ignition-core/src/internal/batcher.ts:87
↓ 1 callersMethod_emitBeginNextBatchEvent
* Emits an execution event signaling that execution of the next batch has begun.
packages/ignition-core/src/internal/execution/execution-engine.ts:341
↓ 1 callersMethod_emitDeploymentBatchEvent
(batches: string[][])
packages/ignition-core/src/internal/deployer.ts:311
↓ 1 callersMethod_emitDeploymentCompleteEvent
( result: DeploymentResult, )
packages/ignition-core/src/internal/deployer.ts:332
↓ 1 callersMethod_emitDeploymentStartEvent
( moduleId: string, deploymentDir: string | undefined, isResumed: boolean, maxFeeBumps: number
packages/ignition-core/src/internal/deployer.ts:277
↓ 1 callersMethod_emitReconciliationWarningsEvent
( warnings: string[], )
packages/ignition-core/src/internal/deployer.ts:298
↓ 1 callersMethod_emitRunStartEvent
()
packages/ignition-core/src/internal/deployer.ts:322
↓ 1 callersMethod_ensureAddressFormat
(address: string)
packages/hardhat-ignition/test/test-helpers/test-ignition-helper.ts:198
↓ 1 callersFunction_ensureStateThen
* Ensure the execution state is defined and of the correct type, then * run the given `then` function. * * @param state - the execution state * @p
packages/ignition-core/src/internal/execution/reducers/execution-state-reducer.ts:216
↓ 1 callersMethod_executeBatch
* Executes a batch of futures until all of its futures are completed. * * @param futureProcessor The FutureProcessor to use for executing the fu
packages/ignition-core/src/internal/execution/execution-engine.ts:150
↓ 1 callersFunction_extendBaseInitWith
( messageType: MessageT, future: FutureT, strategy: string, strategyConfig: ConcreteExecutionConfig,
packages/ignition-core/src/internal/execution/future-processor/helpers/build-initialize-message-for.ts:267
↓ 1 callersFunction_futureStatus
( future: UiFuture, gasBumps: Record<string, number>, maxFeeBumps: number, )
packages/hardhat-ignition/src/internal/ui/helpers/calculate-batch-display.ts:24
↓ 1 callersMethod_getAllFuturesFor
( deployment: SerializedIgnitionModule, )
packages/ignition-core/src/ignition-module-serializer.ts:682
↓ 1 callersMethod_getBatchSortedByHighestPendingNonce
* Returns the batch sorted by the highest the pending nonce of each future * and sender. * * Futures without any pending nonce come last.
packages/ignition-core/src/internal/execution/execution-engine.ts:303
↓ 1 callersFunction_getChangelogEntry
* Extracts the changelog entry for a specific version from raw changelog content. * Normalizes major/minor/patch changes to "### Changes". * Throws
scripts/github-release/build-release-descriptors.ts:48
↓ 1 callersFunction_getChangelogPath
* Returns the path to the CHANGELOG.md for a given package name. * Strips the npm scope (e.g. `@nomicfoundation/`) to get the directory name.
scripts/github-release/file-helpers.ts:74
↓ 1 callersMethod_getContract
( hre: HardhatRuntimeEnvironment, future: Future, deployedContract: { address: string; contractNam
packages/hardhat-ignition/test/test-helpers/test-ignition-helper.ts:171
↓ 1 callersMethod_getDeploymentResult
( deploymentState: DeploymentState, _module: IgnitionModule<ModuleIdT, ContractNameT, IgnitionModuleRe
packages/ignition-core/src/internal/deployer.ts:219
↓ 1 callersMethod_getExecutionErrorResult
( deploymentState: DeploymentState, )
packages/ignition-core/src/internal/deployer.ts:351
↓ 1 callersMethod_getFutureStatusFromEventResult
( result: ExecutionEventResult, )
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:420
↓ 1 callersMethod_getFuturesInReverseTopologicalOrder
( module: IgnitionModule, )
packages/ignition-core/src/internal/reconciliation/reconciler.ts:149
← previousnext →1,701–1,800 of 4,382, ranked by callers