MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions3,947 in github.com/NomicFoundation/hardhat

↓ 7 callersFunctionaskPassword
( requestSecretInput: KeystoreRequestSecretInput, )
packages/hardhat-keystore/src/internal/keystores/password.ts:78
↓ 7 callersFunctionassertOutputIncludes
( mockConsoleLog: Mock<(text: string) => void>, expectedText: string, )
packages/hardhat-keystore/test/helpers/assert-output-includes.ts:9
↓ 7 callersFunctioncreateEmptyEncryptedKeystore
({ masterKey, salt, }: { masterKey: Uint8Array; salt: Uint8Array; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:322
↓ 7 callersFunctionensureTTY
* ensureTTY checks if the process is running in a TTY (i.e. a terminal). * If it is not, it throws and error.
packages/hardhat/src/internal/cli/init/prompt.ts:149
↓ 7 callersFunctionfail
( future: Future, failure: string, )
packages/ignition-core/src/internal/reconciliation/utils.ts:6
↓ 7 callersFunctionfindExecutionStateById
( exStateType: ExStateT, deployment: DeploymentState, futureId: string, )
packages/ignition-core/src/internal/views/find-execution-state-by-id.ts:7
↓ 7 callersFunctiongetAddressOf
( account: Addressable | string, )
packages/hardhat-ethers-chai-matchers/src/internal/utils/account.ts:7
↓ 7 callersMethodgetAllFiles
* Returns an iterable with all the files.
packages/hardhat/src/types/solidity/dependency-graph.ts:21
↓ 7 callersMethodgetBlock
( blockHashOrBlockTag: BlockTag, prefetchTxs?: boolean | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:381
↓ 7 callersMethodgetBuildInfoPath
* Returns the absolute path to the given build info, or `undefined` if it * doesn't exist. * * @param buildInfoId The id of an existing build
packages/hardhat/src/types/artifacts.ts:151
↓ 7 callersFunctiongetFullyQualifiedName
( sourceName: string, contractName: string, )
packages/hardhat/src/utils/contract-names.ts:10
↓ 7 callersFunctiongetGasAnalyticsManager
( hookContextOrHre: HookContext | HardhatRuntimeEnvironment, )
packages/hardhat/src/internal/builtin-plugins/gas-analytics/helpers/accessors.ts:18
↓ 7 callersMethodgetScope
* Given the filesystem path for a source file, returns the build scope
packages/hardhat/src/types/solidity/build-system.ts:316
↓ 7 callersMethodgetSolcInput
* Returns the solc input to be used.
packages/hardhat/src/types/solidity/compilation-job.ts:35
↓ 7 callersFunctionglobalFlag
(options: { name: string; shortName?: string; description: string; })
packages/hardhat/src/internal/core/config.ts:85
↓ 7 callersFunctiongreaterThanOrEqual
( compared: SemverVersion, comparator: SemverVersion, )
packages/hardhat-utils/src/fast-semver.ts:90
↓ 7 callersFunctionhexStringToNumber
(hexString: string)
packages/hardhat-utils/src/hex.ts:66
↓ 7 callersFunctionisJsonRpcResponse
( payload: unknown, )
packages/hardhat/src/internal/builtin-plugins/network-manager/json-rpc.ts:81
↓ 7 callersFunctionjsonRpcQuantityToBigInt
* Converts a JSON-RPC quantity string to a BigInt value.
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:807
↓ 7 callersMethodloadArtifact
(contractName: string)
packages/ignition-core/src/types/artifact.ts:56
↓ 7 callersFunctionloadDeploymentState
( deploymentLoader: DeploymentLoader, )
packages/ignition-core/src/internal/execution/deployment-state-helpers.ts:17
↓ 7 callersFunctionlogStep
(step: string)
scripts/bump-peers.ts:844
↓ 7 callersFunctionlogger
(...args: unknown[])
packages/hardhat/test/internal/builtin-plugins/gas-analytics/snapshot-cheatcodes.ts:877
↓ 7 callersMethodoff
( ethersEvent: ProviderEvent, listener?: Listener | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:687
↓ 7 callersFunctionprint
(message: string)
packages/hardhat/test/internal/cli/banner-manager.ts:48
↓ 7 callersFunctionreconcileFrom
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-from.ts:25
↓ 7 callersMethodrecord
* Records a message to the journal synchronously. * * This function is async only to call an async event emitter, but every * implementation
packages/ignition-core/src/internal/journal/types/index.ts:18
↓ 7 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:51
↓ 7 callersFunctionrpcQuantityToNumber
(quantity: string)
packages/hardhat-network-helpers/test/helpers/helpers.ts:30
↓ 7 callersMethodsend
* Send an arbitrary transaction. * * Can be used to transfer ether and/or send raw data to an address. * * @param id - A custom id for the
packages/ignition-core/src/types/module-builder.ts:535
↓ 7 callersMethodsetInlineAction
* Sets the inline action of the task. * * It must be provided as a function. * * @remarks * This method can only be called once per tas
packages/hardhat/src/types/tasks.ts:241
↓ 7 callersFunctionsettleBeforeLazyImport
* The assertion implementation is loaded with a dynamic import, so a promise * passed to an assertion (e.g. a reverting contract call) may reject bef
packages/hardhat-viem-assertions/src/internal/lazy-viem-assertions.ts:30
↓ 7 callersMethodsetupExistingKeystoreFile
(keys: { [key: string]: string; })
packages/hardhat-keystore/test/helpers/mock-file-manager.ts:46
↓ 7 callersFunctionsetupKeystoreLoaderFrom
( { config, }: { config: HardhatConfig; }, isDevKeystore: boolean, )
packages/hardhat-keystore/src/internal/utils/setup-keystore-loader-from.ts:11
↓ 7 callersMethodsetupNoKeystoreFile
* Only used in tests to ensure there is no current keystore * file at the path.
packages/hardhat-keystore/test/helpers/mock-file-manager.ts:42
↓ 7 callersFunctionsourceNamePathJoin
(...parts: string[])
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/resolver/source-name-utils.ts:40
↓ 7 callersFunctionthrowUsingHardhat2PluginError
( apiName: string, migrationHint?: string, )
packages/hardhat/src/internal/using-hardhat2-plugin-errors.ts:107
↓ 7 callersFunctiontoContractFutureId
( moduleId: string, userProvidedId: string | undefined, contractOrLibraryName: string, )
packages/ignition-core/src/internal/utils/future-id-builders.ts:37
↓ 7 callersMethodtoJSON
()
packages/hardhat-keystore/src/internal/types.ts:10
↓ 7 callersMethodunregisterHandlers
* Removes previously registered handlers.
packages/hardhat/src/types/hooks.ts:294
↓ 6 callersMethod#getRpcBlockTag
(blockTag: string)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1026
↓ 6 callersMethod_assertValidContractName
( contractName: string, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1066
↓ 6 callersMethod_initialize
()
packages/ignition-core/src/internal/deployment-loader/file-deployment-loader.ts:155
↓ 6 callersMethod_writeToDisplay
(stage: DisplayStage)
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts:500
↓ 6 callersMethodaddDependency
* Adds a dependency from a file to another one. * * @param from The file that depends on another one, which must be already * present in the
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts:51
↓ 6 callersFunctionaddSecretToKeystore
({ masterKey, encryptedKeystore, key, value, }: { masterKey: Uint8Array; encryptedKeystore: Encryp
packages/hardhat-keystore/src/internal/keystores/encryption.ts:432
↓ 6 callersFunctionbigIntToJsonRpcQuantity
* Converts a BigInt value to a JSON-RPC quantity string. * * @param value - The BigInt value to convert. * @returns The JSON-RPC quantity string.
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:793
↓ 6 callersMethodcreateServer
* Spawns an Ethereum JSON-RPC server listening on HTTP and Websocket. * * @param networkOrParams The network name or connection parameters. *
packages/hardhat/src/types/network.ts:115
↓ 6 callersFunctiondeepEqual
(x: T, y: T)
packages/hardhat-utils/src/lang.ts:26
↓ 6 callersFunctionencodeArtifactDeploymentData
( artifact: Artifact, args: SolidityParameterType[], libraries: { [libraryName: string]: string }, )
packages/ignition-core/src/internal/execution/abi.ts:70
↓ 6 callersFunctionethersToHardhatEvent
( event: ProviderEvent, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:1412
↓ 6 callersFunctionexecuteOnchainInteractionRequest
( executionStateId: string, onchainInteractionRequest: OnchainInteractionRequest, decodeSuccessfulSimula
packages/ignition-core/src/internal/execution/execution-strategy-helpers.ts:86
↓ 6 callersMethodexitDeploy
* Exit from the deploy on the next block tick.
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:348
↓ 6 callersFunctionfindResultForFutureById
( deploymentState: DeploymentState, futureId: string, )
packages/ignition-core/src/internal/views/find-result-for-future-by-id.ts:8
↓ 6 callersFunctionformatRootPath
( userSourceName: string, rootFile: ResolvedFile, )
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/root-paths-utils.ts:72
↓ 6 callersFunctiongetAllFuturesForModule
({ futures, submodules, }: IgnitionModule<string, string, IgnitionModuleResult<string>>)
packages/ignition-ui/src/queries/futures.ts:31
↓ 6 callersFunctiongetChain
( provider: EthereumProvider, chainType: ChainTypeT, chainDescriptors: ChainDescriptorsConfig, network
packages/hardhat-viem/src/internal/chains.ts:31
↓ 6 callersMethodgetChainId
* Gets the chain ID that this Etherscan instance is configured for. * * @returns The chain ID as a string (e.g., "1" for Ethereum mainnet)
packages/hardhat-verify/src/internal/etherscan.types.ts:102
↓ 6 callersMethodgetCompilerPlatform
()
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts:126
↓ 6 callersMethodgetContractAt
( nameOrAbi: StringWithArtifactContractNamesAutocompletion | any[] | Abi, address: string | ethers.Add
packages/hardhat-ethers/src/types.ts:48
↓ 6 callersMethodgetContractUrl
(address: string)
packages/hardhat-verify/src/internal/types.ts:108
↓ 6 callersFunctiongetCurrentHardfork
(chainType: ChainType)
packages/hardhat/src/internal/builtin-plugins/network-manager/edr/types/hardfork.ts:47
↓ 6 callersFunctiongetDefaultSender
(accounts: string[])
packages/ignition-core/src/internal/execution/utils/get-default-sender.ts:8
↓ 6 callersFunctiongetDispatcher
( url: string, { timeout, proxy, pool, maxConnections, isTestDispatcher, }: Dispatch
packages/hardhat-utils/src/request.ts:296
↓ 6 callersFunctiongetFunctionFqn
( inputSourceName: string, contractName: string, functionName: string, )
packages/hardhat/src/internal/builtin-plugins/solidity-test/inline-config/helpers.ts:104
↓ 6 callersMethodgetLatestBlock
()
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:229
↓ 6 callersFunctiongetReturnDataFromError
(error: unknown)
packages/hardhat-ethers-chai-matchers/src/internal/matchers/reverted/utils.ts:33
↓ 6 callersFunctionhasErrorClassName
( error: Error, errorClass: abstract new (...args: never[]) => Error, )
packages/hardhat/src/internal/cli/telemetry/error-classification/helpers.ts:64
↓ 6 callersMethodhasKey
(key: string, masterKey: Uint8Array)
packages/hardhat-keystore/src/internal/types.ts:5
↓ 6 callersMethodincreaseTo
* Mines a new block whose timestamp is `timestamp`. * * @param timestamp Can be `Date` or Epoch seconds. Must be greater than the latest block's
packages/hardhat-network-helpers/src/types.ts:272
↓ 6 callersFunctionindent
(str: string, spaces: number)
packages/hardhat-node-test-reporter/src/formatting.ts:159
↓ 6 callersFunctionisContractFuture
( future: Future, )
packages/ignition-core/src/type-guards.ts:90
↓ 6 callersFunctionisFailedJsonRpcResponse
( payload: JsonRpcResponse, )
packages/hardhat/src/internal/builtin-plugins/network-manager/json-rpc.ts:127
↓ 6 callersFunctionisNpmRootPath
(rootPath: string)
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/root-paths-utils.ts:42
↓ 6 callersFunctionisPrefixedHexString
( hexString: string, )
packages/hardhat-utils/src/hex.ts:154
↓ 6 callersFunctionisRuntimeValue
(potential: unknown)
packages/ignition-core/src/type-guards.ts:339
↓ 6 callersMethodisSuccessfulBuildResult
* Returns true if the given build result is successful. * * @param buildResult Result of the `build` method. * @returns True if the build res
packages/hardhat/src/types/solidity/build-system.ts:348
↓ 6 callersMethodisVerified
(address: string)
packages/hardhat-verify/src/internal/types.ts:110
↓ 6 callersFunctionjsonRpcQuantityToNumber
* Converts a JSON-RPC quantity string to a number.
packages/ignition-core/src/internal/execution/jsonrpc-client.ts:814
↓ 6 callersFunctionlistener
( handler: BuildInfoHandler, absolutePath: string, )
packages/hardhat/src/internal/builtin-plugins/node/artifacts/build-info-watcher.ts:29
↓ 6 callersFunctionmove
(source: string, destination: string)
packages/hardhat-utils/src/fs.ts:925
↓ 6 callersMethodonce
( ethersEvent: ProviderEvent, listener: Listener, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:593
↓ 6 callersMethodpollVerificationStatus
( guid: string, contractAddress: string, contractName: string, )
packages/hardhat-verify/src/internal/types.ts:114
↓ 6 callersMethodreadJsonFile
(absolutePathToFile: string)
packages/hardhat-keystore/src/internal/types.ts:43
↓ 6 callersMethodreadValue
(key: string, masterKey: Uint8Array)
packages/hardhat-keystore/src/internal/types.ts:8
↓ 6 callersFunctionreconcileArtifacts
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-artifacts.ts:21
↓ 6 callersFunctionreconcileContractName
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-contract-name.ts:20
↓ 6 callersFunctionresolveArgsToFutures
(args: ArgumentType[])
packages/ignition-core/src/internal/utils.ts:5
↓ 6 callersFunctionresolveProjectRoot
( absolutePathWithinProject: string | undefined, )
packages/hardhat/src/internal/core/hre.ts:193
↓ 6 callersFunctionsendErrorTelemetry
( error: Error, hint?: { unhandled?: boolean; mechanismType?: string }, )
packages/hardhat/src/internal/cli/telemetry/sentry/reporter.ts:17
↓ 6 callersMethodsetContext
(context: HookContext)
packages/hardhat/src/internal/core/hook-manager.ts:119
↓ 6 callersMethodsetReturnValue
(method: string, value: any)
packages/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/ethereum-mocked-provider.ts:23
↓ 6 callersFunctionspawnTestRpcServer
()
packages/hardhat-ethers/test/helpers/helpers.ts:62
↓ 6 callersFunctionvalidateHmac
({ masterKey, encryptedKeystore, }: { masterKey: Uint8Array; encryptedKeystore: EncryptedKeystore; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:641
↓ 6 callersFunctionvalidateParams
( params: any[], ...types: TypesT )
packages/hardhat-zod-utils/src/rpc/validate-params.ts:5
↓ 6 callersMethodverify
(verifyFunctionArgs: VerifyFunctionArgs)
packages/hardhat-verify/src/internal/types.ts:112
↓ 6 callersFunctionwaitForPendingTxs
( connection: NetworkConnection<string>, expectedCount: number, finished: Promise<any>, )
packages/hardhat-ignition/test/test-helpers/wait-for-pending-txs.ts:9
↓ 6 callersMethodwithArgs
(...args: any[])
packages/hardhat-ethers-chai-matchers/src/type-extensions.ts:227
↓ 6 callersMethodwritePasswordFileForDevKeystore
( devKeystorePasswordFilePath: string, )
packages/hardhat-keystore/test/helpers/mock-file-manager.ts:32
↓ 5 callersMethod#ensureSplitCompilationModeIfTestsScope
(scope: BuildScope = "contracts")
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts:1628
← previousnext →201–300 of 3,947, ranked by callers