MCPcopy Create free account

hub / github.com/NomicFoundation/hardhat / functions

Functions3,947 in github.com/NomicFoundation/hardhat

↓ 14 callersFunctiongetRequest
( url: string, requestOptions: RequestOptions = {}, dispatcherOrDispatcherOptions?: Undici.Dispatcher |
packages/hardhat-utils/src/request.ts:90
↓ 14 callersMethodhandle
( jsonRpcRequest: JsonRpcRequest, )
packages/hardhat/src/internal/builtin-plugins/network-manager/request-handlers/types.ts:27
↓ 14 callersFunctionisHexString
(value: unknown)
packages/hardhat-utils/src/hex.ts:192
↓ 14 callersMethodregisterHandlers
* Registers handlers for a category of hooks.
packages/hardhat/src/types/hooks.ts:286
↓ 14 callersFunctiontoRpcQuantity
(x: NumberLike)
packages/hardhat-network-helpers/src/internal/conversion.ts:14
↓ 14 callersFunctionuseFileIgnitionProject
( fixtureProjectName: string, deploymentId: string, config?: Partial<DeployConfig>, )
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:134
↓ 13 callersFunctionassertThrows
( f: () => any, condition?: (error: Error) => boolean, conditionDescription: string = "Condition for err
packages/hardhat-test-utils/src/errors.ts:47
↓ 13 callersFunctionassertValidationError
( errors: string[], expectedError: string, )
packages/ignition-core/test/helpers.ts:15
↓ 13 callersFunctionconditionalUnionType
( cases: Array<[predicate: (data: unknown) => boolean, zodType: ZodType<any>]>, noMatchMessage: string, )
packages/hardhat-zod-utils/src/index.ts:84
↓ 13 callersMethodgetAddress
()
packages/hardhat-ethers/src/internal/signers/signers.ts:261
↓ 13 callersMethodgetBalance
( address: AddressLike, blockTag?: BlockTag | undefined, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:225
↓ 13 callersFunctiongetJsonRpcRequest
( id: number | string, method: string, params?: unknown[] | object, )
packages/hardhat/src/internal/builtin-plugins/network-manager/json-rpc.ts:16
↓ 13 callersMethodgetRootFilePaths
* 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 callersMethodinc
()
packages/hardhat/src/internal/builtin-plugins/solidity-test/reporter.ts:27
↓ 13 callersFunctionlogStep
(step: string)
scripts/end-to-end/helpers/log.ts:17
↓ 13 callersFunctionoverrideTask
( id: string | string[], )
packages/hardhat/src/internal/core/config.ts:63
↓ 13 callersFunctionreconcile
( ignitionModule: IgnitionModule, deploymentState: DeploymentState, deploymentLoader: DeploymentLoader =
packages/ignition-core/test/reconciliation/helpers.ts:130
↓ 13 callersMethodresolve
( _address: string[], fromBlock?: string, toBlock?: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:929
↓ 12 callersFunctionassertInstanceOf
( obj: unknown, klass: new (...args: any[]) => ObjectT, )
packages/ignition-core/test/helpers.ts:25
↓ 12 callersFunctionassertSuccessReconciliation
( ignitionModule: IgnitionModule, deploymentState: DeploymentState, )
packages/ignition-core/test/reconciliation/helpers.ts:177
↓ 12 callersFunctioncreateDeploymentState
( ...exStates: ExecutionState[] )
packages/ignition-core/test/reconciliation/helpers.ts:121
↓ 12 callersFunctiondeploymentStateReducer
( state?: DeploymentState, action?: JournalMessage, )
packages/ignition-core/src/internal/execution/reducers/deployment-state-reducer.ts:16
↓ 12 callersMethodgetContractFactory
( name: StringWithArtifactContractNamesAutocompletion, signerOrOptions?: ethers.Signer | FactoryOption
packages/hardhat-ethers/src/types.ts:33
↓ 12 callersFunctiongetPrefixedHexString
(hexString: string)
packages/hardhat-utils/src/hex.ts:180
↓ 12 callersMethodgetRoots
* Gets a map of user source names to root files.
packages/hardhat/src/types/solidity/dependency-graph.ts:10
↓ 12 callersMethodloadArtifact
(artifactId: string)
packages/ignition-core/src/internal/deployment-loader/types.ts:12
↓ 12 callersFunctionlog
(msg: string)
scripts/verdaccio/helpers/logging.ts:13
↓ 11 callersMethod#getImpl
()
packages/hardhat-verify/src/internal/lazy-verification.ts:42
↓ 11 callersMethod_assertUniqueFutureId
( futureId: string, userProvidedId: string | undefined, futureConstructor: (...[]: any[]) => any,
packages/ignition-core/src/internal/module-builder.ts:1108
↓ 11 callersMethod_assertValidId
(id: string | undefined, func: (...[]: any[]) => any)
packages/ignition-core/src/internal/module-builder.ts:1051
↓ 11 callersMethodaddPositionalArgument
* 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 callersMethodgetBuildId
* 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 callersMethodgetTransactionReceipt
( hash: string, )
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:414
↓ 11 callersFunctionglobalOption
(options: { name: string; shortName?: string; description: string; type?: T; defaultValue: ArgumentT
packages/hardhat/src/internal/core/config.ts:72
↓ 11 callersFunctioninitializeTestEthers
( mockedArtifacts: Array<{ artifactName: string; fileName: string }> = [], config: HardhatUserConfig = {},
packages/hardhat-ethers/test/helpers/helpers.ts:18
↓ 11 callersFunctionisModuleParameterRuntimeValue
( potential: unknown, )
packages/ignition-core/src/type-guards.ts:366
↓ 11 callersFunctionreconcileStrategy
( future: | NamedArtifactContractDeploymentFuture<string> | ContractDeploymentFuture | NamedArti
packages/ignition-core/src/internal/reconciliation/helpers/reconcile-strategy.ts:33
↓ 11 callersFunctionresolveConfigurationVariable
( hooks: HookManager, variable: ConfigurationVariable | string, )
packages/hardhat/src/internal/core/configuration-variables.ts:16
↓ 11 callersFunctionspawn
( command: string, args: string[], options: LastParameter<typeof nodeSpawn>, )
packages/hardhat/src/internal/cli/init/subprocess.ts:5
↓ 11 callersFunctionvalidateUserConfigZodType
( hardhatUserConfig: HardhatUserConfigToValidate, configType: ZodType<Output, Def, Input>, )
packages/hardhat-zod-utils/src/index.ts:204
↓ 10 callersMethod#getArtifactManager
()
packages/hardhat/src/internal/builtin-plugins/artifacts/hook-handlers/hre.ts:92
↓ 10 callersMethod#getBuildSystem
()
packages/hardhat/src/internal/builtin-plugins/solidity/hook-handlers/hre.ts:135
↓ 10 callersMethod#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 callersMethodclear
* Clear all performance marks and measures created by this tracker, * resetting it for reuse.
packages/hardhat-mocha/src/performance.ts:94
↓ 10 callersFunctioncompare
( future: Future, fieldName: string, existingValue: ValueT, newValue: ValueT, messageSuffix?: string
packages/ignition-core/src/internal/reconciliation/helpers/compare.ts:6
↓ 10 callersFunctionfindOnchainInteractionBy
( executionState: | DeploymentExecutionState | CallExecutionState | StaticCallExecutionState
packages/ignition-core/src/internal/views/execution-state/find-onchain-interaction-by.ts:12
↓ 10 callersMethodgetCompilationJobs
* 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 callersFunctiongetRealPath
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:288
↓ 10 callersFunctionimportUserConfig
( configPath: string, )
packages/hardhat/src/internal/config-loading.ts:75
↓ 10 callersFunctionisAddress
(value: unknown)
packages/hardhat-utils/src/eth.ts:16
↓ 10 callersFunctionisArtifactType
(potential: unknown)
packages/ignition-core/src/type-guards.ts:45
↓ 10 callersFunctionisCi
()
packages/hardhat-utils/src/ci.ts:11
↓ 10 callersMethodlisten
* 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 callersMethodmineBlock
* 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 callersFunctionparseVersion
(version: string)
packages/hardhat-utils/src/fast-semver.ts:26
↓ 10 callersMethodreadEventArgument
* 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 callersMethod#getBlockTag
(blockTag?: BlockTag)
packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts:782
↓ 9 callersFunctionassertValidAddress
(address: string)
packages/hardhat-network-helpers/src/internal/assertions.ts:31
↓ 9 callersFunctionbindAllMethods
(obj: ObjectT)
packages/hardhat-utils/src/lang.ts:92
↓ 9 callersFunctioncreateConnection
()
packages/hardhat-ignition-viem/test/test-helpers/create-hre.ts:11
↓ 9 callersFunctioncreateMasterKey
({ password }: { password: string })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:301
↓ 9 callersFunctionemptyTask
( id: string | string[], description: string, )
packages/hardhat/src/internal/core/config.ts:53
↓ 9 callersFunctionencodeArtifactFunctionCall
( artifact: Artifact, functionName: string, args: SolidityParameterType[], )
packages/ignition-core/src/internal/execution/abi.ts:84
↓ 9 callersFunctionerrorResult
( ...args: ErrorT extends undefined | void ? [] : [error: ErrorT] )
packages/hardhat/src/utils/result.ts:25
↓ 9 callersFunctiongetCacheDir
( packageName: string = HARDHAT_PACKAGE_NAME, )
packages/hardhat-utils/src/global-dir.ts:53
↓ 9 callersFunctionhexStringToBigInt
(hexString: string)
packages/hardhat-utils/src/hex.ts:37
↓ 9 callersFunctionhexToBytes
(hex: string | undefined)
packages/hardhat/src/internal/builtin-plugins/solidity-test/helpers.ts:84
↓ 9 callersFunctionincludesAny
( value: string | undefined, ...substrings: string[] )
packages/hardhat/src/internal/cli/telemetry/error-classification/helpers.ts:74
↓ 9 callersFunctioninitEnvironment
(_artifactsPath: string)
packages/hardhat-ethers-chai-matchers/test/helpers/helpers.ts:11
↓ 9 callersFunctionisDirectory
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:377
↓ 9 callersFunctionlogStep
(step: string)
scripts/verdaccio/helpers/logging.ts:17
↓ 9 callersFunctionmineBlock
( connection: NetworkConnection<string>, )
packages/hardhat-ignition/test/test-helpers/mine-block.ts:3
↓ 9 callersFunctionmkdir
(absolutePath: string)
packages/hardhat-utils/src/fs.ts:736
↓ 9 callersFunctionpreventAsyncMatcherChaining
( context: object, matcherName: string, chaiUtils: Chai.ChaiUtils, allowSelfChaining: boolean = false,
packages/hardhat-ethers-chai-matchers/src/internal/utils/prevent-chaining.ts:5
↓ 9 callersFunctionshortenPath
(absolutePath: string)
packages/hardhat-utils/src/path.ts:37
↓ 9 callersFunctionsuccessfulResult
( ...args: ValueT extends undefined | void ? [] : [value: ValueT] )
packages/hardhat/src/utils/result.ts:11
↓ 9 callersMethodwaitForPendingTxs
(expectedCount: number)
packages/hardhat-ignition/test/test-helpers/use-ignition-project.ts:302
↓ 8 callersFunctionassertIsNotNull
( value: T, errorMessage: string, )
packages/hardhat-ethers-chai-matchers/src/internal/utils/asserts.ts:10
↓ 8 callersFunctiondecodeArtifactCustomError
( artifact: Artifact, returnData: string, )
packages/ignition-core/src/internal/execution/abi.ts:105
↓ 8 callersFunctiondecodeArtifactFunctionCallResult
( artifact: Artifact, functionName: string, returnData: string, )
packages/ignition-core/src/internal/execution/abi.ts:137
↓ 8 callersFunctionderiveMasterKeyFromKeystore
({ password, encryptedKeystore, }: { password: string; encryptedKeystore: EncryptedKeystore; })
packages/hardhat-keystore/src/internal/keystores/encryption.ts:386
↓ 8 callersMethodestimateGas
(tx: TransactionRequest)
packages/hardhat-ethers/src/internal/signers/signers.ts:150
↓ 8 callersFunctionfindClosestPackageRoot
( filePathOrUrl: string, )
packages/hardhat-utils/src/package.ts:125
↓ 8 callersFunctiongetCoverageManager
( hookContextOrHre: HookContext | HardhatRuntimeEnvironment, )
packages/hardhat/src/internal/builtin-plugins/coverage/helpers/accessors.ts:24
↓ 8 callersMethodgetSigner
(address: string)
packages/hardhat-ethers/src/internal/hardhat-helpers/hardhat-helpers.ts:77
↓ 8 callersMethodisKeystoreInitialized
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:34
↓ 8 callersMethodlatestBlock
* 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 callersMethodloadKeystore
()
packages/hardhat-keystore/src/internal/loaders/keystore-file-loader.ts:42
↓ 8 callersFunctionlog
(msg: string)
scripts/bump-peers.ts:840
↓ 8 callersMethodnext
()
packages/hardhat-utils/src/internal/eth.ts:18
↓ 8 callersFunctionresolveHardhatConfigPath
( userProvidedPath?: string, )
packages/hardhat/src/internal/config-loading.ts:33
↓ 8 callersFunctionresolvePotentialModuleParameterValueFrom
( deploymentParameters: DeploymentParameters, moduleRuntimeValue: ModuleParameterRuntimeValue<any>, )
packages/ignition-core/src/internal/validation/utils.ts:27
↓ 8 callersMethodrestore
* Resets the state of the blockchain to the point in which the snapshot was * taken.
packages/hardhat-network-helpers/src/types.ts:406
↓ 8 callersMethodsetBalance
* 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 callersFunctionutf8StringToBytes
(utf8String: string)
packages/hardhat-utils/src/bytes.ts:48
↓ 8 callersFunctionvalidateAccountRuntimeValue
( arv: AccountRuntimeValue, accounts: string[], )
packages/ignition-core/src/internal/validation/utils.ts:40
↓ 7 callersMethod#getImpl
()
packages/hardhat-viem-assertions/src/internal/lazy-viem-assertions.ts:137
↓ 7 callersMethod_assertValidFrom
( from: string | AccountRuntimeValue | undefined, func: (...[]: any[]) => any, )
packages/ignition-core/src/internal/module-builder.ts:1168
↓ 7 callersMethodaddRootFile
* 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 callersFunctionapplyMessages
(messages: JournalMessage[])
packages/ignition-core/test/execution/reducers/utils.ts:5
← previousnext →101–200 of 3,947, ranked by callers