Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NomicFoundation/hardhat
/ functions
Functions
3,947 in github.com/NomicFoundation/hardhat
⨍
Functions
3,947
◇
Types & classes
1,275
↓ 14 callers
Function
getRequest
( url: string, requestOptions: RequestOptions = {}, dispatcherOrDispatcherOptions?: Undici.Dispatcher |
packages/hardhat-utils/src/request.ts:90
↓ 14 callers
Method
handle
( jsonRpcRequest: JsonRpcRequest, )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/types.ts:27
↓ 14 callers
Function
isHexString
(value: unknown)
packages/hardhat-utils/src/hex.ts:192
↓ 14 callers
Method
registerHandlers
* Registers handlers for a category of hooks.
packages/hardhat/src/types/hooks.ts:286
↓ 14 callers
Function
toRpcQuantity
(x: NumberLike)
packages/hardhat-network-helpers/src/internal/conversion.ts:14
↓ 14 callers
Function
useFileIgnitionProject
( fixtureProjectName: string, deploymentId: string, config?: Partial<DeployConfig>, )
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:134
↓ 13 callers
Function
assertThrows
( f: () => any, condition?: (error: Error) => boolean, conditionDescription: string = "Condition for err
packages/hardhat-test-utils/src/errors.ts:47
↓ 13 callers
Function
assertValidationError
( errors: string[], expectedError: string, )
packages/ignition-core/test/helpers.ts:15
↓ 13 callers
Function
conditionalUnionType
( cases: Array<[predicate: (data: unknown) => boolean, zodType: ZodType<any>]>, noMatchMessage: string, )
packages/hardhat-zod-utils/src/index.ts:84
↓ 13 callers
Method
getAddress
()
packages/hardhat-ethers/src/internal/signers/signers.ts:261
↓ 13 callers
Method
getBalance
( address: AddressLike, blockTag?: BlockTag | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:225
↓ 13 callers
Function
getJsonRpcRequest
( id: number | string, method: string, params?: unknown[] | object, )
packages/hardhat/src/internal/builtin-plugins/network-manager/json-rpc.ts:16
↓ 13 callers
Method
getRootFilePaths
* Returns all the root files of the project. * * The root files are either absolute paths or * `npm:<package-name>/<file-path>` URIs. *
packages/hardhat/src/types/solidity/build-system.ts:311
↓ 13 callers
Method
inc
()
packages/hardhat/src/internal/builtin-plugins/solidity-test/reporter.ts:27
↓ 13 callers
Function
logStep
(step: string)
scripts/end-to-end/helpers/log.ts:17
↓ 13 callers
Function
overrideTask
( id: string | string[], )
packages/hardhat/src/internal/core/config.ts:63
↓ 13 callers
Function
reconcile
( ignitionModule: IgnitionModule, deploymentState: DeploymentState, deploymentLoader: DeploymentLoader =
packages/ignition-core/test/reconciliation/helpers.ts:130
↓ 13 callers
Method
resolve
( _address: string[], fromBlock?: string, toBlock?: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:929
↓ 12 callers
Function
assertInstanceOf
( obj: unknown, klass: new (...args: any[]) => ObjectT, )
packages/ignition-core/test/helpers.ts:25
↓ 12 callers
Function
assertSuccessReconciliation
( ignitionModule: IgnitionModule, deploymentState: DeploymentState, )
packages/ignition-core/test/reconciliation/helpers.ts:177
↓ 12 callers
Function
createDeploymentState
( ...exStates: ExecutionState[] )
packages/ignition-core/test/reconciliation/helpers.ts:121
↓ 12 callers
Function
deploymentStateReducer
( state?: DeploymentState, action?: JournalMessage, )
packages/ignition-core/src/internal/execution/reducers/deployment-state-reducer.ts:16
↓ 12 callers
Method
getContractFactory
( name: StringWithArtifactContractNamesAutocompletion, signerOrOptions?: ethers.Signer | FactoryOption
packages/hardhat-ethers/src/types.ts:33
↓ 12 callers
Function
getPrefixedHexString
(hexString: string)
packages/hardhat-utils/src/hex.ts:180
↓ 12 callers
Method
getRoots
* Gets a map of user source names to root files.
packages/hardhat/src/types/solidity/dependency-graph.ts:10
↓ 12 callers
Method
loadArtifact
(artifactId: string)
packages/ignition-core/src/internal/deployment-loader/types.ts:12
↓ 12 callers
Function
log
(msg: string)
scripts/verdaccio/helpers/logging.ts:13
↓ 11 callers
Method
#getImpl
()
packages/hardhat-verify/src/internal/lazy-verification.ts:42
↓ 11 callers
Method
_assertUniqueFutureId
( futureId: string, userProvidedId: string | undefined, futureConstructor: (...[]: any[]) => any,
packages/ignition-core/src/internal/module-builder.ts:1108
↓ 11 callers
Method
_assertValidId
(id: string | undefined, func: (...[]: any[]) => any)
packages/ignition-core/src/internal/module-builder.ts:1051
↓ 11 callers
Method
addPositionalArgument
* Adds a positional argument to the task. * * A positional task argument is one that is used as `<value>` in the CLI, * and whose position ma
packages/hardhat/src/types/tasks.ts:311
↓ 11 callers
Method
getBuildId
* Returns the build id of the compilation job. * * The id is guaranteed to be deterministically generated based on the solc * input that this
packages/hardhat/src/types/solidity/compilation-job.ts:47
↓ 11 callers
Method
getTransactionReceipt
( hash: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:414
↓ 11 callers
Function
globalOption
(options: { name: string; shortName?: string; description: string; type?: T; defaultValue: ArgumentT
packages/hardhat/src/internal/core/config.ts:72
↓ 11 callers
Function
initializeTestEthers
( mockedArtifacts: Array<{ artifactName: string; fileName: string }> = [], config: HardhatUserConfig = {},
packages/hardhat-ethers/test/helpers/helpers.ts:18
↓ 11 callers
Function
isModuleParameterRuntimeValue
( potential: unknown, )
packages/ignition-core/src/type-guards.ts:366
↓ 11 callers
Function
reconcileStrategy
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-strategy.ts:33
↓ 11 callers
Function
resolveConfigurationVariable
( hooks: HookManager, variable: ConfigurationVariable | string, )
packages/hardhat/src/internal/core/configuration-variables.ts:16
↓ 11 callers
Function
spawn
( command: string, args: string[], options: LastParameter<typeof nodeSpawn>, )
packages/hardhat/src/internal/cli/init/subprocess.ts:5
↓ 11 callers
Function
validateUserConfigZodType
( hardhatUserConfig: HardhatUserConfigToValidate, configType: ZodType<Output, Def, Input>, )
packages/hardhat-zod-utils/src/index.ts:204
↓ 10 callers
Method
#getArtifactManager
()
packages/hardhat/src/internal/builtin-plugins/artifacts/hook-handlers/hre.ts:92
↓ 10 callers
Method
#getBuildSystem
()
packages/hardhat/src/internal/builtin-plugins/solidity/hook-handlers/hre.ts:135
↓ 10 callers
Method
#getEtherscan
* Lazily initializes the underlying Etherscan verification provider and caches * the created instance so that subsequent calls reuse the same objec
packages/hardhat-verify/src/internal/etherscan.ts:647
↓ 10 callers
Method
clear
* Clear all performance marks and measures created by this tracker, * resetting it for reuse.
packages/hardhat-mocha/src/performance.ts:94
↓ 10 callers
Function
compare
( future: Future, fieldName: string, existingValue: ValueT, newValue: ValueT, messageSuffix?: string
packages/ignition-core/src/internal/reconciliation/helpers/compare.ts:6
↓ 10 callers
Function
findOnchainInteractionBy
( executionState: | DeploymentExecutionState | CallExecutionState | StaticCallExecutionState
packages/ignition-core/src/internal/views/execution-state/find-onchain-interaction-by.ts:12
↓ 10 callers
Method
getCompilationJobs
* Returns the CompilationJobs that would be used to build the provided files. * * Note that if `options.mergeCompilationJobs` is true, the same
packages/hardhat/src/types/solidity/build-system.ts:368
↓ 10 callers
Function
getRealPath
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:288
↓ 10 callers
Function
importUserConfig
( configPath: string, )
packages/hardhat/src/internal/config-loading.ts:75
↓ 10 callers
Function
isAddress
(value: unknown)
packages/hardhat-utils/src/eth.ts:16
↓ 10 callers
Function
isArtifactType
(potential: unknown)
packages/ignition-core/src/type-guards.ts:45
↓ 10 callers
Function
isCi
()
packages/hardhat-utils/src/ci.ts:11
↓ 10 callers
Method
listen
* Starts the Ethereum JSON-RPC server. * * @returns returns the address and port the server is listening on.
packages/hardhat/src/types/network.ts:143
↓ 10 callers
Method
mineBlock
* Mine the next block, optionally waiting for pending transactions to * build up before mining. * * @param pendingTxToAwait - the number of p
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:317
↓ 10 callers
Function
parseVersion
(version: string)
packages/hardhat-utils/src/fast-semver.ts:26
↓ 10 callers
Method
readEventArgument
* Read an event argument from a contract. * * The resulting value can be used wherever a value of the same type is * expected i.e. contract f
packages/ignition-core/src/types/module-builder.ts:502
↓ 9 callers
Method
#getBlockTag
(blockTag?: BlockTag)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:782
↓ 9 callers
Function
assertValidAddress
(address: string)
packages/hardhat-network-helpers/src/internal/assertions.ts:31
↓ 9 callers
Function
bindAllMethods
(obj: ObjectT)
packages/hardhat-utils/src/lang.ts:92
↓ 9 callers
Function
createConnection
()
packages/hardhat-ignition-viem/test/test-helpers/create-hre.ts:11
↓ 9 callers
Function
createMasterKey
({ password }: { password: string })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:301
↓ 9 callers
Function
emptyTask
( id: string | string[], description: string, )
packages/hardhat/src/internal/core/config.ts:53
↓ 9 callers
Function
encodeArtifactFunctionCall
( artifact: Artifact, functionName: string, args: SolidityParameterType[], )
packages/ignition-core/src/internal/execution/abi.ts:84
↓ 9 callers
Function
errorResult
( ...args: ErrorT extends undefined | void ? [] : [error: ErrorT] )
packages/hardhat/src/utils/result.ts:25
↓ 9 callers
Function
getCacheDir
( packageName: string = HARDHAT_PACKAGE_NAME, )
packages/hardhat-utils/src/global-dir.ts:53
↓ 9 callers
Function
hexStringToBigInt
(hexString: string)
packages/hardhat-utils/src/hex.ts:37
↓ 9 callers
Function
hexToBytes
(hex: string | undefined)
packages/hardhat/src/internal/builtin-plugins/solidity-test/helpers.ts:84
↓ 9 callers
Function
includesAny
( value: string | undefined, ...substrings: string[] )
packages/hardhat/src/internal/cli/telemetry/error-classification/helpers.ts:74
↓ 9 callers
Function
initEnvironment
(_artifactsPath: string)
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:11
↓ 9 callers
Function
isDirectory
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:377
↓ 9 callers
Function
logStep
(step: string)
scripts/verdaccio/helpers/logging.ts:17
↓ 9 callers
Function
mineBlock
( connection: NetworkConnection<string>, )
packages/hardhat-ignition/test/test-helpers/mine-block.ts:3
↓ 9 callers
Function
mkdir
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:736
↓ 9 callers
Function
preventAsyncMatcherChaining
( context: object, matcherName: string, chaiUtils: Chai.ChaiUtils, allowSelfChaining: boolean = false,
packages/hardhat-ethers-chai-matchers/src/internal/utils/prevent-chaining.ts:5
↓ 9 callers
Function
shortenPath
(absolutePath: string)
packages/hardhat-utils/src/path.ts:37
↓ 9 callers
Function
successfulResult
( ...args: ValueT extends undefined | void ? [] : [value: ValueT] )
packages/hardhat/src/utils/result.ts:11
↓ 9 callers
Method
waitForPendingTxs
(expectedCount: number)
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:302
↓ 8 callers
Function
assertIsNotNull
( value: T, errorMessage: string, )
packages/hardhat-ethers-chai-matchers/src/internal/utils/asserts.ts:10
↓ 8 callers
Function
decodeArtifactCustomError
( artifact: Artifact, returnData: string, )
packages/ignition-core/src/internal/execution/abi.ts:105
↓ 8 callers
Function
decodeArtifactFunctionCallResult
( artifact: Artifact, functionName: string, returnData: string, )
packages/ignition-core/src/internal/execution/abi.ts:137
↓ 8 callers
Function
deriveMasterKeyFromKeystore
({ password, encryptedKeystore, }: { password: string; encryptedKeystore: EncryptedKeystore; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:386
↓ 8 callers
Method
estimateGas
(tx: TransactionRequest)
packages/hardhat-ethers/src/internal/signers/signers.ts:150
↓ 8 callers
Function
findClosestPackageRoot
( filePathOrUrl: string, )
packages/hardhat-utils/src/package.ts:125
↓ 8 callers
Function
getCoverageManager
( hookContextOrHre: HookContext | HardhatRuntimeEnvironment, )
packages/hardhat/src/internal/builtin-plugins/coverage/helpers/accessors.ts:24
↓ 8 callers
Method
getSigner
(address: string)
packages/hardhat-ethers/src/internal/hardhat-helpers/hardhat-helpers.ts:77
↓ 8 callers
Method
isKeystoreInitialized
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:34
↓ 8 callers
Method
latestBlock
* Retrieves the latest block number. * * @returns A promise that resolves to the latest block number. * * @example * const { networkHel
packages/hardhat-network-helpers/src/types.ts:294
↓ 8 callers
Method
loadKeystore
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:42
↓ 8 callers
Function
log
(msg: string)
scripts/bump-peers.ts:840
↓ 8 callers
Method
next
()
packages/hardhat-utils/src/internal/eth.ts:18
↓ 8 callers
Function
resolveHardhatConfigPath
( userProvidedPath?: string, )
packages/hardhat/src/internal/config-loading.ts:33
↓ 8 callers
Function
resolvePotentialModuleParameterValueFrom
( deploymentParameters: DeploymentParameters, moduleRuntimeValue: ModuleParameterRuntimeValue<any>, )
packages/ignition-core/src/internal/validation/utils.ts:27
↓ 8 callers
Method
restore
* Resets the state of the blockchain to the point in which the snapshot was * taken.
packages/hardhat-network-helpers/src/types.ts:406
↓ 8 callers
Method
setBalance
* Sets the balance for the given address. * * @param address The address whose balance will be updated. * @param balance The new balance to s
packages/hardhat-network-helpers/src/types.ts:129
↓ 8 callers
Function
utf8StringToBytes
(utf8String: string)
packages/hardhat-utils/src/bytes.ts:48
↓ 8 callers
Function
validateAccountRuntimeValue
( arv: AccountRuntimeValue, accounts: string[], )
packages/ignition-core/src/internal/validation/utils.ts:40
↓ 7 callers
Method
#getImpl
()
packages/hardhat-viem-assertions/src/internal/lazy-viem-assertions.ts:137
↓ 7 callers
Method
_assertValidFrom
( from: string | AccountRuntimeValue | undefined, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1168
↓ 7 callers
Method
addRootFile
* Adds a root file to the graph. All the roots of the dependency graph must * be added before any dependency. * * @param userSourceName The s
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts:36
↓ 7 callers
Function
applyMessages
(messages: JournalMessage[])
packages/ignition-core/test/execution/reducers/utils.ts:5
← previous
next →
101–200 of 3,947, ranked by callers