# @nomiclabs/buidler

# Index

# Enumerations

# Classes

# Interfaces

# Type aliases

# Variables

# Functions

# Object literals


# Type aliases

# ActionType

Ƭ ActionType: function

Defined in types.ts:281

# Type declaration

▸(taskArgs: ArgsT, env: BuidlerRuntimeEnvironment, runSuper: RunSuperFunction<ArgsT>): Promise<any>

Parameters:

Name Type
taskArgs ArgsT
env BuidlerRuntimeEnvironment
runSuper RunSuperFunction<ArgsT>

Returns: Promise<any>


# BuidlerParamDefinitions

Ƭ BuidlerParamDefinitions: object

Defined in types.ts:236

# Type declaration


# ConfigExtender

Ƭ ConfigExtender: function

Defined in types.ts:135

# Type declaration

▸(config: ResolvedBuidlerConfig, userConfig: DeepReadonly<BuidlerConfig>): void

Parameters:

Name Type
config ResolvedBuidlerConfig
userConfig DeepReadonly<BuidlerConfig>

Returns: void


# EnvironmentExtender

Ƭ EnvironmentExtender: function

Defined in types.ts:133

# Type declaration

▸(env: BuidlerRuntimeEnvironment): void

Parameters:

Name Type
env BuidlerRuntimeEnvironment

Returns: void


# GlobalWithBuidlerContext

Ƭ GlobalWithBuidlerContext: Global & object

Defined in internal/context.ts:8


# IEthereumProvider

Ƭ IEthereumProvider: EthereumProvider

Defined in types.ts:292


# JsonRpcResponse

Ƭ JsonRpcResponse: SuccessfulJsonRpcResponse | FailedJsonRpcResponse

Defined in internal/util/jsonrpc.ts:27


# NetworkConfig

Ƭ NetworkConfig: BuidlerNetworkConfig | HttpNetworkConfig

Defined in types.ts:58


# NetworkConfigAccounts

Ƭ NetworkConfigAccounts: "remote" | string[] | HDAccountsConfig | OtherAccountsConfig

Defined in types.ts:45


# RunTaskFunction

Ƭ RunTaskFunction: function

Defined in types.ts:271

# Type declaration

▸(name: string, taskArguments: TaskArguments): Promise<any>

Parameters:

Name Type
name string
Optional taskArguments TaskArguments

Returns: Promise<any>


# TaskArguments

Ƭ TaskArguments: any

Defined in types.ts:269


# Variables

# <Const> ERROR_PREFIX

● ERROR_PREFIX: "BDLR" = "BDLR"

Defined in internal/core/errors-list.ts:1


# <Const> SENTRY_DSN

● SENTRY_DSN: "https://[email protected]/5224869" = "https://[email protected]/5224869"

Defined in internal/sentry/reporter.ts:12


# <Const> types

● types: "/opt/build/repo/packages/buidler-core/src/internal/core/params/argumentTypes" = argumentTypes

Defined in internal/core/config/config-env.ts:72


# Functions

# applyErrorMessageTemplate

applyErrorMessageTemplate(template: string, values: object): string

Defined in internal/core/errors.ts:180

Parameters:

Name Type Description
template string The template string.
values object A map of variable names to their values.

Returns: string


# createChainIdGetter

createChainIdGetter(provider: IEthereumProvider): getRealChainId

Defined in internal/core/providers/provider-utils.ts:29

Parameters:

Name Type
provider IEthereumProvider

Returns: getRealChainId


# createChainIdValidationProvider

createChainIdValidationProvider(provider: IEthereumProvider, chainId: undefined | number): EthereumProvider

Defined in internal/core/providers/chainId.ts:8

Parameters:

Name Type
provider IEthereumProvider
Optional chainId undefined | number

Returns: EthereumProvider


# dateToTimestampSeconds

dateToTimestampSeconds(date: Date): number

Defined in internal/util/date.ts:5

Parameters:

Name Type
date Date

Returns: number


# default

default(): void

Defined in builtin-tasks/node.ts:65

Returns: void


# deriveKeyFromMnemonicAndPath

deriveKeyFromMnemonicAndPath(mnemonic: string, hdPath: string): Buffer | undefined

Defined in internal/util/keys-derivation.ts:4

Parameters:

Name Type
mnemonic string
hdPath string

Returns: Buffer | undefined


# ensurePluginLoadedWithUsePlugin

ensurePluginLoadedWithUsePlugin(): void

Defined in internal/core/plugins.ts:178

Returns: void


# extendConfig

extendConfig(extender: ConfigExtender): void

Defined in internal/core/config/config-env.ts:87

Parameters:

Name Type
extender ConfigExtender

Returns: void


# extendEnvironment

extendEnvironment(extender: EnvironmentExtender): void

Defined in internal/core/config/config-env.ts:81

Parameters:

Name Type Description
extender EnvironmentExtender A function that receives the Buidler Runtime Environment.

Returns: void


# getArtifactFromContractOutput

getArtifactFromContractOutput(contractName: string, contractOutput: any): Artifact

Defined in internal/artifacts.ts:15

Parameters:

Name Type Description
contractName string the contract's name.
contractOutput any the contract's compilation output as emitted by `solc`.

Returns: Artifact


# getDifferenceInSeconds

getDifferenceInSeconds(a: Date, b: Date): number

Defined in internal/util/date.ts:9

Parameters:

Name Type
a Date
b Date

Returns: number


# getErrorCode

getErrorCode(error: ErrorDescriptor): string

Defined in internal/core/errors-list.ts:13

Parameters:

Name Type
error ErrorDescriptor

Returns: string


# getExecutionMode

getExecutionMode(): ExecutionMode

Defined in internal/core/execution-mode.ts:22

Returns: ExecutionMode


# getInputFromDependencyGraph

getInputFromDependencyGraph(graph: DependencyGraph, optimizerConfig: SolcOptimizerConfig, evmVersion: undefined | string): SolcInput

Defined in internal/solidity/compiler/compiler-input.ts:4

Parameters:

Name Type
graph DependencyGraph
optimizerConfig SolcOptimizerConfig
Optional evmVersion undefined | string

Returns: SolcInput


# getSubprocessTransport

getSubprocessTransport(): any

Defined in internal/sentry/transport.ts:7

Returns: any


# internalTask

internalTask<ArgsT>(name: string, description: undefined | string, action: ActionType<ArgsT>): ConfigurableTaskDefinition

internalTask<ArgsT>(name: string, action: ActionType<ArgsT>): ConfigurableTaskDefinition

Defined in internal/core/config/config-env.ts:42

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type
name string
Optional description undefined | string
Optional action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition

Defined in internal/core/config/config-env.ts:48

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type
name string
action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition


# isLocalDev

isLocalDev(): boolean

Defined in internal/core/execution-mode.ts:56

Returns: boolean


# isRunningOnCiServer

isRunningOnCiServer(): boolean

Defined in internal/util/ci-detection.ts:19

Returns: boolean


# isSuccessfulJsonResponse

isSuccessfulJsonResponse(payload: JsonRpcResponse): boolean

Defined in internal/util/jsonrpc.ts:102

Parameters:

Name Type
payload JsonRpcResponse

Returns: boolean


# isTypescriptSupported

isTypescriptSupported(): boolean

Defined in internal/core/typescript-support.ts:7

Returns: boolean


# isValidJsonRequest

isValidJsonRequest(payload: any): boolean

Defined in internal/util/jsonrpc.ts:48

Parameters:

Name Type
payload any

Returns: boolean


# isValidJsonResponse

isValidJsonResponse(payload: any): boolean

Defined in internal/util/jsonrpc.ts:68

Parameters:

Name Type
payload any

Returns: boolean


# loadPluginFile

loadPluginFile(absolutePluginFilePath: string): void

Defined in internal/core/plugins.ts:152

Parameters:

Name Type
absolutePluginFilePath string

Returns: void


# loadTsNodeIfPresent

loadTsNodeIfPresent(): void

Defined in internal/core/typescript-support.ts:38

Returns: void


# numberToRpcQuantity

numberToRpcQuantity(n: number): string

Defined in internal/core/providers/provider-utils.ts:24

Parameters:

Name Type
n number

Returns: string


# parseDateString

parseDateString(str: string): Date

Defined in internal/util/date.ts:1

Parameters:

Name Type
str string

Returns: Date


# parseJsonResponse

parseJsonResponse(text: string): JsonRpcResponse

Defined in internal/util/jsonrpc.ts:29

Parameters:

Name Type
text string

Returns: JsonRpcResponse


# pluralize

pluralize(n: number, singular: string, plural: undefined | string): string

Defined in internal/util/strings.ts:10

Parameters:

Name Type Description
n number The number of things to represent. This dictates whether to return the singular or plural form of the word.
singular string The singular form of the word.
Optional plural undefined | string An optional plural form of the word. If non is given, the plural form is constructed by appending an "s" to the singular form.

Returns: string


# readArtifact

readArtifact(artifactsPath: string, contractName: string): Promise<Artifact>

Defined in internal/artifacts.ts:82

Parameters:

Name Type Description
artifactsPath string the artifacts' directory.
contractName string the contract's name.

Returns: Promise<Artifact>


# readArtifactSync

readArtifactSync(artifactsPath: string, contractName: string): Artifact

Defined in internal/artifacts.ts:101

Parameters:

Name Type Description
artifactsPath string the artifacts directory.
contractName string the contract's name.

Returns: Artifact


# readPackageJson

readPackageJson(packageName: string, from: undefined | string): PackageJson | undefined

Defined in internal/core/plugins.ts:161

Parameters:

Name Type
packageName string
Optional from undefined | string

Returns: PackageJson | undefined


# replaceAll

replaceAll(str: string, toReplace: string, replacement: string): string

Defined in internal/util/strings.ts:25

Parameters:

Name Type
str string
toReplace string
replacement string

Returns: string


# resetBuidlerContext

resetBuidlerContext(): void

Defined in internal/reset.ts:11

Returns: void


# rpcQuantityToNumber

rpcQuantityToNumber(quantity: undefined | string): number

Defined in internal/core/providers/provider-utils.ts:5

Parameters:

Name Type
Optional quantity undefined | string

Returns: number


# saveArtifact

saveArtifact(artifactsPath: string, artifact: Artifact): Promise<void>

Defined in internal/artifacts.ts:65

Parameters:

Name Type Description
artifactsPath string the artifacts' directory.
artifact Artifact the artifact to be stored.

Returns: Promise<void>


# task

task<ArgsT>(name: string, description: undefined | string, action: ActionType<ArgsT>): ConfigurableTaskDefinition

task<ArgsT>(name: string, action: ActionType<ArgsT>): ConfigurableTaskDefinition

Defined in internal/core/config/config-env.ts:12

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type
name string
Optional description undefined | string
Optional action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition

Defined in internal/core/config/config-env.ts:18

Type parameters:

# ArgsT : TaskArguments

Parameters:

Name Type
name string
action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition


# usePlugin

usePlugin(buidlerContext: BuidlerContext, pluginName: string, from: undefined | string): void

Defined in internal/core/plugins.ts:28

Parameters:

Name Type Description
buidlerContext BuidlerContext The BuidlerContext
pluginName string The plugin name.
Optional from undefined | string Where to resolve plugins and dependencies from. Only for testing purposes.

Returns: void


# watchCompilerOutput

watchCompilerOutput(provider: EthereumProvider, solcConfig: SolcConfig, paths: ProjectPaths): Promise<void>

Defined in builtin-tasks/utils/watch.ts:15

Parameters:

Name Type
provider EthereumProvider
solcConfig SolcConfig
paths ProjectPaths

Returns: Promise<void>


# weiToHumanReadableString

weiToHumanReadableString(wei: BN | number): string

Defined in internal/util/wei-values.ts:13

Parameters:

Name Type
wei BN | number

Returns: string


# Object literals

# <Const> ERRORS

ERRORS: object

Defined in internal/core/errors-list.ts:38

# ARGUMENTS

ARGUMENTS: object

Defined in internal/core/errors-list.ts:431

# INVALID_ENV_VAR_VALUE

INVALID_ENV_VAR_VALUE: object

Defined in internal/core/errors-list.ts:432

# description

● description: string = `You are setting one of Buidler arguments using an environment variable, but it has an incorrect value.

Please double check your environment variables.`

Defined in internal/core/errors-list.ts:436


# message

● message: string = "Invalid environment variable %varName%'s value: %value%"

Defined in internal/core/errors-list.ts:434


# number

● number: number = 300

Defined in internal/core/errors-list.ts:433


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:439


# title

● title: string = "Invalid environment variable value"

Defined in internal/core/errors-list.ts:435



# INVALID_INPUT_FILE

INVALID_INPUT_FILE: object

Defined in internal/core/errors-list.ts:450

# description

● description: string = `One of your tasks expected a file as an argument, but you provided a non-existent or non-readable file.

Please double check your arguments.`

Defined in internal/core/errors-list.ts:455


# message

● message: string = "Invalid argument %name%: File %value% doesn't exist or is not a readable file."

Defined in internal/core/errors-list.ts:452


# number

● number: number = 302

Defined in internal/core/errors-list.ts:451


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:459


# title

● title: string = "Invalid file argument"

Defined in internal/core/errors-list.ts:454



# INVALID_JSON_ARGUMENT

INVALID_JSON_ARGUMENT: object

Defined in internal/core/errors-list.ts:536

# description

● description: string = `You tried to run a task with an invalid JSON parameter.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:540


# message

● message: string = "Error parsing JSON value for argument %param%: %error%"

Defined in internal/core/errors-list.ts:538


# number

● number: number = 311

Defined in internal/core/errors-list.ts:537


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:543


# title

● title: string = "Invalid JSON parameter"

Defined in internal/core/errors-list.ts:539



# INVALID_VALUE_FOR_TYPE

INVALID_VALUE_FOR_TYPE: object

Defined in internal/core/errors-list.ts:441

# description

● description: string = `One of your Buidler or task's arguments has an invalid type.

Please double check your arguments.`

Defined in internal/core/errors-list.ts:445


# message

● message: string = "Invalid value %value% for argument %name% of type %type%"

Defined in internal/core/errors-list.ts:443


# number

● number: number = 301

Defined in internal/core/errors-list.ts:442


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:448


# title

● title: string = "Invalid argument type"

Defined in internal/core/errors-list.ts:444



# MISSING_POSITIONAL_ARG

MISSING_POSITIONAL_ARG: object

Defined in internal/core/errors-list.ts:500

# description

● description: string = `You tried to run a task, but one of its required arguments was missing.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:504


# message

● message: string = "Missing positional argument %param%"

Defined in internal/core/errors-list.ts:502


# number

● number: number = 307

Defined in internal/core/errors-list.ts:501


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:507


# title

● title: string = "Missing task positional argument"

Defined in internal/core/errors-list.ts:503



# MISSING_TASK_ARGUMENT

MISSING_TASK_ARGUMENT: object

Defined in internal/core/errors-list.ts:491

# description

● description: string = `You tried to run a task, but one of its required arguments was missing.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:495


# message

● message: string = "Missing task argument %param%"

Defined in internal/core/errors-list.ts:493


# number

● number: number = 306

Defined in internal/core/errors-list.ts:492


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:498


# title

● title: string = "Missing task argument"

Defined in internal/core/errors-list.ts:494



# PARAM_NAME_INVALID_CASING

PARAM_NAME_INVALID_CASING: object

Defined in internal/core/errors-list.ts:527

# description

● description: string = `You tried to run buidler with a parameter with invalid casing. They must be lowercase.

Please double check how you invoked Buidler.`

Defined in internal/core/errors-list.ts:531


# message

● message: string = "Invalid param %param%. Command line params must be lowercase."

Defined in internal/core/errors-list.ts:529


# number

● number: number = 310

Defined in internal/core/errors-list.ts:528


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:534


# title

● title: string = "Invalid casing in command line parameter"

Defined in internal/core/errors-list.ts:530



# REPEATED_PARAM

REPEATED_PARAM: object

Defined in internal/core/errors-list.ts:518

# description

● description: string = `You tried to run a task with a repeated parameter.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:522


# message

● message: string = "Repeated parameter %param%"

Defined in internal/core/errors-list.ts:520


# number

● number: number = 309

Defined in internal/core/errors-list.ts:519


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:525


# title

● title: string = "Repeated task parameter"

Defined in internal/core/errors-list.ts:521



# UNRECOGNIZED_COMMAND_LINE_ARG

UNRECOGNIZED_COMMAND_LINE_ARG: object

Defined in internal/core/errors-list.ts:470

# description

● description: string = `Buidler couldn't recognize one of your command line arguments.

This may be because you are writing it before the task name. It should come after it.

Please double check how you invoked Buidler.`

Defined in internal/core/errors-list.ts:475


# message

● message: string = "Unrecognised command line argument %argument%. Note that task arguments must come after the task name."

Defined in internal/core/errors-list.ts:472


# number

● number: number = 304

Defined in internal/core/errors-list.ts:471


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:480


# title

● title: string = "Unrecognized command line argument"

Defined in internal/core/errors-list.ts:474



# UNRECOGNIZED_PARAM_NAME

UNRECOGNIZED_PARAM_NAME: object

Defined in internal/core/errors-list.ts:482

# description

● description: string = `Buidler couldn't recognize one of your tasks' parameters.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:486


# message

● message: string = "Unrecognized param %param%"

Defined in internal/core/errors-list.ts:484


# number

● number: number = 305

Defined in internal/core/errors-list.ts:483


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:489


# title

● title: string = "Unrecognized param"

Defined in internal/core/errors-list.ts:485



# UNRECOGNIZED_POSITIONAL_ARG

UNRECOGNIZED_POSITIONAL_ARG: object

Defined in internal/core/errors-list.ts:509

# description

● description: string = `You tried to run a task with more positional arguments than needed.

Please double check how you invoked Buidler or run your task.`

Defined in internal/core/errors-list.ts:513


# message

● message: string = "Unrecognized positional argument %argument%"

Defined in internal/core/errors-list.ts:511


# number

● number: number = 308

Defined in internal/core/errors-list.ts:510


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:516


# title

● title: string = "Unrecognized task positional argument"

Defined in internal/core/errors-list.ts:512



# UNRECOGNIZED_TASK

UNRECOGNIZED_TASK: object

Defined in internal/core/errors-list.ts:461

# description

● description: string = `Tried to run a non-existent task.

Please double check the name of the task you are trying to run.`

Defined in internal/core/errors-list.ts:465


# message

● message: string = "Unrecognized task %task%"

Defined in internal/core/errors-list.ts:463


# number

● number: number = 303

Defined in internal/core/errors-list.ts:462


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:468


# title

● title: string = "Unrecognized task"

Defined in internal/core/errors-list.ts:464




# ARTIFACTS

ARTIFACTS: object

Defined in internal/core/errors-list.ts:724

# NOT_FOUND

NOT_FOUND: object

Defined in internal/core/errors-list.ts:725

# description

● description: string = `Tried to import a non-existing artifact.

Please double check that your contracts have been compiled and your artifact's name.`

Defined in internal/core/errors-list.ts:729


# message

● message: string = "Artifact for contract "%contractName%" not found."

Defined in internal/core/errors-list.ts:727


# number

● number: number = 700

Defined in internal/core/errors-list.ts:726


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:732


# title

● title: string = "Artifact not found"

Defined in internal/core/errors-list.ts:728




# BUILTIN_TASKS

BUILTIN_TASKS: object

Defined in internal/core/errors-list.ts:662

# COMPILE_FAILURE

COMPILE_FAILURE: object

Defined in internal/core/errors-list.ts:663

# description

● description: string = `Your smart contracts failed to compile.

Please check Buidler's output for more details.`

Defined in internal/core/errors-list.ts:667


# message

● message: string = "Compilation failed"

Defined in internal/core/errors-list.ts:665


# number

● number: number = 600

Defined in internal/core/errors-list.ts:664


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:670


# title

● title: string = "Compilation failed"

Defined in internal/core/errors-list.ts:666



# FLATTEN_CYCLE

FLATTEN_CYCLE: object

Defined in internal/core/errors-list.ts:690

# description

● description: string = `Buidler flatten doesn't support cyclic dependencies.

We recommend not using this kind of dependencies.`

Defined in internal/core/errors-list.ts:694


# message

● message: string = "Buidler flatten doesn't support cyclic dependencies."

Defined in internal/core/errors-list.ts:692


# number

● number: number = 603

Defined in internal/core/errors-list.ts:691


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:697


# title

● title: string = "Flatten detected cyclic dependencies"

Defined in internal/core/errors-list.ts:693



# JSONRPC_HANDLER_ERROR

JSONRPC_HANDLER_ERROR: object

Defined in internal/core/errors-list.ts:706

# description

● description: string = Handling an incoming JSON-RPC request resulted in an error.

Defined in internal/core/errors-list.ts:710


# message

● message: string = "Error handling JSON-RPC request: %error%"

Defined in internal/core/errors-list.ts:708


# number

● number: number = 605

Defined in internal/core/errors-list.ts:707


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:711


# title

● title: string = "Error handling JSON-RPC request"

Defined in internal/core/errors-list.ts:709



# JSONRPC_SERVER_ERROR

JSONRPC_SERVER_ERROR: object

Defined in internal/core/errors-list.ts:699

# description

● description: string = There was error while starting the JSON-RPC HTTP server.

Defined in internal/core/errors-list.ts:703


# message

● message: string = "Error running JSON-RPC server: %error%"

Defined in internal/core/errors-list.ts:701


# number

● number: number = 604

Defined in internal/core/errors-list.ts:700


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:704


# title

● title: string = "Error running JSON-RPC server"

Defined in internal/core/errors-list.ts:702



# JSONRPC_UNSUPPORTED_NETWORK

JSONRPC_UNSUPPORTED_NETWORK: object

Defined in internal/core/errors-list.ts:713

# description

● description: string = `JSON-RPC server can only be started when running the BuidlerEVM network.

To start the JSON-RPC server, retry the command without the --network parameter.`

Defined in internal/core/errors-list.ts:718


# message

● message: string = "Unsupported network for JSON-RPC server. Only buidlerevm is currently supported."

Defined in internal/core/errors-list.ts:715


# number

● number: number = 606

Defined in internal/core/errors-list.ts:714


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:721


# title

● title: string = "Unsupported network for JSON-RPC server."

Defined in internal/core/errors-list.ts:717



# RUN_FILE_NOT_FOUND

RUN_FILE_NOT_FOUND: object

Defined in internal/core/errors-list.ts:672

# description

● description: string = Tried to use \buidler run` to execut a non-existing script.

Please double check your script's path`

Defined in internal/core/errors-list.ts:676


# message

● message: string = "Script %script% doesn't exist."

Defined in internal/core/errors-list.ts:674


# number

● number: number = 601

Defined in internal/core/errors-list.ts:673


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:679


# title

● title: string = "Script doesn't exist"

Defined in internal/core/errors-list.ts:675



# RUN_SCRIPT_ERROR

RUN_SCRIPT_ERROR: object

Defined in internal/core/errors-list.ts:681

# description

● description: string = `Running a script resulted in an error.

Please check Buidler's output for more details.`

Defined in internal/core/errors-list.ts:685


# message

● message: string = "Error running script {%script%}: %error%"

Defined in internal/core/errors-list.ts:683


# number

● number: number = 602

Defined in internal/core/errors-list.ts:682


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:688


# title

● title: string = "Error running script"

Defined in internal/core/errors-list.ts:684




# GENERAL

GENERAL: object

Defined in internal/core/errors-list.ts:43

# CONTEXT_ALREADY_CREATED

CONTEXT_ALREADY_CREATED: object

Defined in internal/core/errors-list.ts:74

# description

● description: string = `Buidler initialization was executed twice. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:78


# message

● message: string = "BuidlerContext is already created."

Defined in internal/core/errors-list.ts:76


# number

● number: number = 4

Defined in internal/core/errors-list.ts:75


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:81


# title

● title: string = "Buidler was already initialized"

Defined in internal/core/errors-list.ts:77



# CONTEXT_BRE_ALREADY_DEFINED

CONTEXT_BRE_ALREADY_DEFINED: object

Defined in internal/core/errors-list.ts:102

# description

● description: string = `The Buidler initialization process was executed twice. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:107


# message

● message: string = "Buidler Runtime Environment is already defined in the BuidlerContext"

Defined in internal/core/errors-list.ts:104


# number

● number: number = 7

Defined in internal/core/errors-list.ts:103


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:110


# title

● title: string = "Tried to create the Buidler Runtime Environment twice"

Defined in internal/core/errors-list.ts:106



# CONTEXT_BRE_NOT_DEFINED

CONTEXT_BRE_NOT_DEFINED: object

Defined in internal/core/errors-list.ts:92

# description

● description: string = `Buidler initialization failed. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:97


# message

● message: string = "Buidler Runtime Environment is not defined in the BuidlerContext."

Defined in internal/core/errors-list.ts:94


# number

● number: number = 6

Defined in internal/core/errors-list.ts:93


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:100


# title

● title: string = "Buidler Runtime Environment not created"

Defined in internal/core/errors-list.ts:96



# CONTEXT_CONFIG_PATH_NOT_SET

CONTEXT_CONFIG_PATH_NOT_SET: object

Defined in internal/core/errors-list.ts:149

# description

● description: string = `The Buidler initialization process was incomplete. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:154


# message

● message: string = "Trying to access the BuidlerContext's config path field but it wasn't set"

Defined in internal/core/errors-list.ts:151


# number

● number: number = 11

Defined in internal/core/errors-list.ts:150


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:157


# title

● title: string = "BuidlerContext's config path not defined"

Defined in internal/core/errors-list.ts:153



# CONTEXT_NOT_CREATED

CONTEXT_NOT_CREATED: object

Defined in internal/core/errors-list.ts:83

# description

● description: string = `Buidler initialization failed. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:87


# message

● message: string = "BuidlerContext is not created."

Defined in internal/core/errors-list.ts:85


# number

● number: number = 5

Defined in internal/core/errors-list.ts:84


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:90


# title

● title: string = "Buidler wasn't initialized"

Defined in internal/core/errors-list.ts:86



# INVALID_CONFIG

INVALID_CONFIG: object

Defined in internal/core/errors-list.ts:112

# description

● description: string = `You have one or more errors in your config file.

Check the error message for details, or go to documentation to learn more.`

Defined in internal/core/errors-list.ts:120


# message

● message: string = `There's one or more errors in your config file:

%errors%

To learn more about Buidler's configuration, please go to https://buidler.dev/config/`

Defined in internal/core/errors-list.ts:114


# number

● number: number = 8

Defined in internal/core/errors-list.ts:113


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:123


# title

● title: string = "Invalid Buidler config"

Defined in internal/core/errors-list.ts:119



# INVALID_NODE_VERSION

INVALID_NODE_VERSION: object

Defined in internal/core/errors-list.ts:53

# description

● description: string = `Buidler doesn't support your Node.js version.

Please upgrade your version of Node.js and try again.`

Defined in internal/core/errors-list.ts:58


# message

● message: string = "Buidler doesn't support your Node.js version. It should be %requirement%."

Defined in internal/core/errors-list.ts:55


# number

● number: number = 2

Defined in internal/core/errors-list.ts:54


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:61


# title

● title: string = "Unsupported Node.js"

Defined in internal/core/errors-list.ts:57



# LIB_IMPORTED_FROM_THE_CONFIG

LIB_IMPORTED_FROM_THE_CONFIG: object

Defined in internal/core/errors-list.ts:125

# description

● description: string = `There was an error while loading your config file.

The most common source of errors is trying to import `@nomiclabs/buidler` instead of `@nomiclabs/buidler/config`.

Please make sure your config file is correct.`

Defined in internal/core/errors-list.ts:130


# message

● message: string = Error while loading Buidler's configuration. You probably imported @nomiclabs/buidler instead of @nomiclabs/buidler/config

Defined in internal/core/errors-list.ts:127


# number

● number: number = 9

Defined in internal/core/errors-list.ts:126


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:135


# title

● title: string = "Failed to load config file"

Defined in internal/core/errors-list.ts:129



# NOT_INSIDE_PROJECT

NOT_INSIDE_PROJECT: object

Defined in internal/core/errors-list.ts:44

# description

● description: string = `You are trying to run Buidler outside of a Buidler project.

You can learn hoy to use Buidler by reading the Getting Started guide.`

Defined in internal/core/errors-list.ts:48


# message

● message: string = "You are not inside a Buidler project."

Defined in internal/core/errors-list.ts:46


# number

● number: number = 1

Defined in internal/core/errors-list.ts:45


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:51


# title

● title: string = "You are not inside a Buidler project"

Defined in internal/core/errors-list.ts:47



# UNSUPPORTED_OPERATION

UNSUPPORTED_OPERATION: object

Defined in internal/core/errors-list.ts:63

# description

● description: string = `You are tying to perform an unsupported operation.

Unless you are creating a task or plugin, this is probably a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:67


# message

● message: string = "%operation% is not supported in Buidler."

Defined in internal/core/errors-list.ts:65


# number

● number: number = 3

Defined in internal/core/errors-list.ts:64


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:72


# title

● title: string = "Unsupported operation"

Defined in internal/core/errors-list.ts:66



# USER_CONFIG_MODIFIED

USER_CONFIG_MODIFIED: object

Defined in internal/core/errors-list.ts:137

# description

● description: string = `An attempt to modify the user's config was made.

This is probably a bug in one of your plugins.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:142


# message

● message: string = Error while loading Buidler's configuration. You or one of your plugins is trying to modify the userConfig.%path% value from a config extender

Defined in internal/core/errors-list.ts:139


# number

● number: number = 10

Defined in internal/core/errors-list.ts:138


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:147


# title

● title: string = "Attempted to modify the user's config"

Defined in internal/core/errors-list.ts:141




# INTERNAL

INTERNAL: object

Defined in internal/core/errors-list.ts:778

# TEMPLATE_INVALID_VARIABLE_NAME

TEMPLATE_INVALID_VARIABLE_NAME: object

Defined in internal/core/errors-list.ts:779

# description

● description: string = `An error message template contains an invalid variable name. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:784


# message

● message: string = "Variable names can only include ascii letters and numbers, and start with a letter, but got %variable%"

Defined in internal/core/errors-list.ts:781


# number

● number: number = 900

Defined in internal/core/errors-list.ts:780


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:787


# title

● title: string = "Invalid error message template"

Defined in internal/core/errors-list.ts:783



# TEMPLATE_VALUE_CONTAINS_VARIABLE_TAG

TEMPLATE_VALUE_CONTAINS_VARIABLE_TAG: object

Defined in internal/core/errors-list.ts:789

# description

● description: string = `Tried to replace an error message variable with a value that contains another variable name. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:794


# message

● message: string = "Template values can't include variable tags, but %variable%'s value includes one"

Defined in internal/core/errors-list.ts:791


# number

● number: number = 901

Defined in internal/core/errors-list.ts:790


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:797


# title

● title: string = "Invalid error message replacement"

Defined in internal/core/errors-list.ts:793



# TEMPLATE_VARIABLE_TAG_MISSING

TEMPLATE_VARIABLE_TAG_MISSING: object

Defined in internal/core/errors-list.ts:799

# description

● description: string = `An error message template is missing a replacement value. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:803


# message

● message: string = "Variable %variable%'s tag not present in the template"

Defined in internal/core/errors-list.ts:801


# number

● number: number = 902

Defined in internal/core/errors-list.ts:800


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:806


# title

● title: string = "Missing replacement value from error message template"

Defined in internal/core/errors-list.ts:802




# NETWORK

NETWORK: object

Defined in internal/core/errors-list.ts:160

# CANT_DERIVE_KEY

CANT_DERIVE_KEY: object

Defined in internal/core/errors-list.ts:280

# description

● description: string = `One of your HD keys could not be derived.

Try using another mnemonic or deriving less keys.`

Defined in internal/core/errors-list.ts:285


# message

● message: string = "Cannot derive key %path% from mnemonic '%mnemonic%. Try using another mnemonic or deriving less keys."

Defined in internal/core/errors-list.ts:282


# number

● number: number = 112

Defined in internal/core/errors-list.ts:281


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:288


# title

● title: string = "Could not derive an HD key"

Defined in internal/core/errors-list.ts:284



# CONFIG_NOT_FOUND

CONFIG_NOT_FOUND: object

Defined in internal/core/errors-list.ts:161

# description

● description: string = `You are trying to run Buidler with a non-existent network.

Read the documentation to learn how to define custom networks.`

Defined in internal/core/errors-list.ts:165


# message

● message: string = "Network %network% doesn't exist"

Defined in internal/core/errors-list.ts:163


# number

● number: number = 100

Defined in internal/core/errors-list.ts:162


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:168


# title

● title: string = "Selected network doesn't exist"

Defined in internal/core/errors-list.ts:164



# DEPRECATED_INVALID_TX_CHAIN_ID

DEPRECATED_INVALID_TX_CHAIN_ID: object

Defined in internal/core/errors-list.ts:181

# description

● description: string = Buidler sent the \chainId` field in a transaction.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:186


# message

● message: string = "Trying to send a tx with chain id %txChainId%, but Buidler is connected to a chain with id %chainId%."

Defined in internal/core/errors-list.ts:183


# number

● number: number = 102

Defined in internal/core/errors-list.ts:182


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:189


# title

● title: string = "Incorrectly send chainId in a transaction"

Defined in internal/core/errors-list.ts:185



# ETHSIGN_MISSING_DATA_PARAM

ETHSIGN_MISSING_DATA_PARAM: object

Defined in internal/core/errors-list.ts:191

# description

● description: string = You called \eth_sign` with incorrect parameters.

Please check that you are sending a `data` parameter.`

Defined in internal/core/errors-list.ts:195


# message

● message: string = "Missing "data" param when calling eth_sign."

Defined in internal/core/errors-list.ts:193


# number

● number: number = 103

Defined in internal/core/errors-list.ts:192


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:198


# title

● title: string = "Missing data param when calling eth_sign."

Defined in internal/core/errors-list.ts:194



# INVALID_GLOBAL_CHAIN_ID

INVALID_GLOBAL_CHAIN_ID: object

Defined in internal/core/errors-list.ts:170

# description

● description: string = `Your config specifies a chain id for the network you are trying to used, but Buidler detected anotherone.

Please make sure you are setting your config correctly.`

Defined in internal/core/errors-list.ts:175


# message

● message: string = "Buidler was set to use chain id %configChainId%, but connected to a chain with id %connectionChainId%."

Defined in internal/core/errors-list.ts:172


# number

● number: number = 101

Defined in internal/core/errors-list.ts:171


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:178


# title

● title: string = "Connected to the wrong network"

Defined in internal/core/errors-list.ts:174



# INVALID_HD_PATH

INVALID_HD_PATH: object

Defined in internal/core/errors-list.ts:231

# description

● description: string = `An invalid HD/BIP32 derivation path was provided in your config.

Read the documentation to learn how to define HD accounts correctly.`

Defined in internal/core/errors-list.ts:236


# message

● message: string = "HD path %path% is invalid. Read about BIP32 to know about the valid forms."

Defined in internal/core/errors-list.ts:233


# number

● number: number = 107

Defined in internal/core/errors-list.ts:232


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:239


# title

● title: string = "Invalid HD path"

Defined in internal/core/errors-list.ts:235



# INVALID_JSON_RESPONSE

INVALID_JSON_RESPONSE: object

Defined in internal/core/errors-list.ts:271

# description

● description: string = `One of your JSON-RPC requests received an invalid response.

Please make sure your node is running, and check your internet connection and networks config.`

Defined in internal/core/errors-list.ts:275


# message

● message: string = "Invalid JSON-RPC response received: %response%"

Defined in internal/core/errors-list.ts:273


# number

● number: number = 111

Defined in internal/core/errors-list.ts:272


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:278


# title

● title: string = "Invalid JSON-RPC response"

Defined in internal/core/errors-list.ts:274



# INVALID_RPC_QUANTITY_VALUE

INVALID_RPC_QUANTITY_VALUE: object

Defined in internal/core/errors-list.ts:241

# description

● description: string = `One of your transactions sent or received an invalid JSON-RPC QUANTITY value.

Please double check your calls' parameters and keep your Ethereum node up to date.`

Defined in internal/core/errors-list.ts:246


# message

● message: string = "Received invalid value %value% from/to the node's JSON-RPC, but a Quantity was expected."

Defined in internal/core/errors-list.ts:243


# number

● number: number = 108

Defined in internal/core/errors-list.ts:242


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:249


# title

● title: string = "Invalid JSON-RPC value"

Defined in internal/core/errors-list.ts:245



# MISSING_TX_PARAM_TO_SIGN_LOCALLY

MISSING_TX_PARAM_TO_SIGN_LOCALLY: object

Defined in internal/core/errors-list.ts:211

# description

● description: string = `You are trying to send a transaction with a locally managed account, and some parameters are missing.

Please double check your transactions' parameters.`

Defined in internal/core/errors-list.ts:215


# message

● message: string = "Missing param %param% from a tx being signed locally."

Defined in internal/core/errors-list.ts:213


# number

● number: number = 105

Defined in internal/core/errors-list.ts:212


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:219


# title

● title: string = "Missing transaction parameter"

Defined in internal/core/errors-list.ts:214



# NETWORK_TIMEOUT

NETWORK_TIMEOUT: object

Defined in internal/core/errors-list.ts:261

# description

● description: string = `One of your JSON-RPC requests timed-out.

Please make sure your node is running, and check your internet connection and networks config.`

Defined in internal/core/errors-list.ts:266


# message

● message: string = Network connection timed-out. Please check your internet connection and networks config

Defined in internal/core/errors-list.ts:263


# number

● number: number = 110

Defined in internal/core/errors-list.ts:262


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:269


# title

● title: string = "Network timeout"

Defined in internal/core/errors-list.ts:265



# NODE_IS_NOT_RUNNING

NODE_IS_NOT_RUNNING: object

Defined in internal/core/errors-list.ts:251

# description

● description: string = `Cannot connect to the network.

Please make sure your node is running, and check your internet connection and networks config.`

Defined in internal/core/errors-list.ts:256


# message

● message: string = Cannot connect to the network %network%. Please make sure your node is running, and check your internet connection and networks config

Defined in internal/core/errors-list.ts:253


# number

● number: number = 109

Defined in internal/core/errors-list.ts:252


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:259


# title

● title: string = "Cannot connect to the network"

Defined in internal/core/errors-list.ts:255



# NOT_LOCAL_ACCOUNT

NOT_LOCAL_ACCOUNT: object

Defined in internal/core/errors-list.ts:200

# description

● description: string = `You are trying to send a transaction or sign some data with an account not managed by your Ethereum node nor Buidler.

Please double check your accounts and the `from` parameter in your RPC calls.`

Defined in internal/core/errors-list.ts:205


# message

● message: string = "Account %account% is not managed by the node you are connected to."

Defined in internal/core/errors-list.ts:202


# number

● number: number = 104

Defined in internal/core/errors-list.ts:201


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:209


# title

● title: string = "Unrecognized account"

Defined in internal/core/errors-list.ts:204



# NO_REMOTE_ACCOUNT_AVAILABLE

NO_REMOTE_ACCOUNT_AVAILABLE: object

Defined in internal/core/errors-list.ts:221

# description

● description: string = `No local account was set and there are accounts in the remote node.

Please make sure that your Ethereum node has unlocked accounts.`

Defined in internal/core/errors-list.ts:226


# message

● message: string = "No local account was set and there are accounts in the remote node."

Defined in internal/core/errors-list.ts:223


# number

● number: number = 106

Defined in internal/core/errors-list.ts:222


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:229


# title

● title: string = "No remote accounts available"

Defined in internal/core/errors-list.ts:225




# PLUGINS

PLUGINS: object

Defined in internal/core/errors-list.ts:735

# DEPENDENCY_VERSION_MISMATCH

DEPENDENCY_VERSION_MISMATCH: object

Defined in internal/core/errors-list.ts:756

# description

● description: string = `You are trying to use a plugin that requires a different version of one of its dependencies.

Please follow Buidler's instructions to resolve this.`

Defined in internal/core/errors-list.ts:762


# message

● message: string = Plugin %plugin% requires %dependency% version %versionSpec% but got %installedVersion%. %extraMessage%If you haven't installed %dependency% manually, please run: npm install --save-dev%extraFlags% "%dependency%@%versionSpec%" If you have installed %dependency% yourself, please reinstall it with a valid version.

Defined in internal/core/errors-list.ts:758


# number

● number: number = 802

Defined in internal/core/errors-list.ts:757


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:765


# title

● title: string = "Plugin dependencies's version mismatch"

Defined in internal/core/errors-list.ts:761



# MISSING_DEPENDENCY

MISSING_DEPENDENCY: object

Defined in internal/core/errors-list.ts:746

# description

● description: string = `You are trying to use a plugin with unmet dependencies.

Please follow Buidler's instructions to resolve this.`

Defined in internal/core/errors-list.ts:751


# message

● message: string = Plugin %plugin% requires %dependency% to be installed. %extraMessage%Please run: npm install --save-dev%extraFlags% "%dependency%@%versionSpec%"

Defined in internal/core/errors-list.ts:748


# number

● number: number = 801

Defined in internal/core/errors-list.ts:747


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:754


# title

● title: string = "Plugin dependencies not installed"

Defined in internal/core/errors-list.ts:750



# NOT_INSTALLED

NOT_INSTALLED: object

Defined in internal/core/errors-list.ts:736

# description

● description: string = `You are trying to use a plugin that hasn't been installed.

Please follow Buidler's instructions to resolve this.`

Defined in internal/core/errors-list.ts:741


# message

● message: string = Plugin %plugin% is not installed. %extraMessage%Please run: npm install --save-dev%extraFlags% %plugin%

Defined in internal/core/errors-list.ts:738


# number

● number: number = 800

Defined in internal/core/errors-list.ts:737


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:744


# title

● title: string = "Plugin not installed"

Defined in internal/core/errors-list.ts:740



# OLD_STYLE_IMPORT_DETECTED

OLD_STYLE_IMPORT_DETECTED: object

Defined in internal/core/errors-list.ts:767

# description

● description: string = You are trying to load a plugin with a call to \require`.

Please use `usePlugin(npm-plugin-package)` instead.`

Defined in internal/core/errors-list.ts:772


# message

● message: string = You are trying to load %pluginNameText% with a require or import statement. Please replace it with a call to usePlugin("%pluginNameCode%").

Defined in internal/core/errors-list.ts:769


# number

● number: number = 803

Defined in internal/core/errors-list.ts:768


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:775


# title

● title: string = "Importing a plugin with require"

Defined in internal/core/errors-list.ts:771




# RESOLVER

RESOLVER: object

Defined in internal/core/errors-list.ts:546

# FILE_NOT_FOUND

FILE_NOT_FOUND: object

Defined in internal/core/errors-list.ts:547

# description

● description: string = Tried to resolve a non-existing Solidity file as an entry-point.

Defined in internal/core/errors-list.ts:551


# message

● message: string = "File %file% doesn't exist."

Defined in internal/core/errors-list.ts:549


# number

● number: number = 400

Defined in internal/core/errors-list.ts:548


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:552


# title

● title: string = "Solidity file not found"

Defined in internal/core/errors-list.ts:550



# FILE_OUTSIDE_LIB

FILE_OUTSIDE_LIB: object

Defined in internal/core/errors-list.ts:600

# description

● description: string = `One of your libraries tried to use a relative import to import a file outside of its scope.

This is disabled for security reasons.`

Defined in internal/core/errors-list.ts:605


# message

● message: string = "File %file% from %library% is resolved to a path outside of its library."

Defined in internal/core/errors-list.ts:602


# number

● number: number = 406

Defined in internal/core/errors-list.ts:601


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:608


# title

● title: string = "Illegal Solidity import"

Defined in internal/core/errors-list.ts:604



# FILE_OUTSIDE_PROJECT

FILE_OUTSIDE_PROJECT: object

Defined in internal/core/errors-list.ts:554

# description

● description: string = `One of your projects tried to import a file that it's outside your Buidler project.

This is disabled for security reasons.`

Defined in internal/core/errors-list.ts:558


# message

● message: string = "File %file% is outside the project."

Defined in internal/core/errors-list.ts:556


# number

● number: number = 401

Defined in internal/core/errors-list.ts:555


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:561


# title

● title: string = "Tried to import file outside your project"

Defined in internal/core/errors-list.ts:557



# ILLEGAL_IMPORT

ILLEGAL_IMPORT: object

Defined in internal/core/errors-list.ts:591

# description

● description: string = `One of your libraries tried to use a relative import to import a file outside of its scope.

This is disabled for security reasons.`

Defined in internal/core/errors-list.ts:595


# message

● message: string = "Illegal import %imported% from %from%"

Defined in internal/core/errors-list.ts:593


# number

● number: number = 405

Defined in internal/core/errors-list.ts:592


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:598


# title

● title: string = "Illegal Solidity import"

Defined in internal/core/errors-list.ts:594



# IMPORTED_FILE_NOT_FOUND

IMPORTED_FILE_NOT_FOUND: object

Defined in internal/core/errors-list.ts:610

# description

● description: string = `One of your source files imported a non-existing one.

Please double check your imports.`

Defined in internal/core/errors-list.ts:614


# message

● message: string = "File %imported%, imported from %from%, not found."

Defined in internal/core/errors-list.ts:612


# number

● number: number = 407

Defined in internal/core/errors-list.ts:611


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:617


# title

● title: string = "Imported file not found"

Defined in internal/core/errors-list.ts:613



# LIBRARY_FILE_NOT_FOUND

LIBRARY_FILE_NOT_FOUND: object

Defined in internal/core/errors-list.ts:582

# description

● description: string = `One of your libraries' files was imported but doesn't exist.

Please double check your imports or update your libraries.`

Defined in internal/core/errors-list.ts:586


# message

● message: string = "File %file% doesn't exist."

Defined in internal/core/errors-list.ts:584


# number

● number: number = 404

Defined in internal/core/errors-list.ts:583


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:589


# title

● title: string = "Missing library file"

Defined in internal/core/errors-list.ts:585



# LIBRARY_FILE_NOT_LOCAL

LIBRARY_FILE_NOT_LOCAL: object

Defined in internal/core/errors-list.ts:563

# description

● description: string = `One of your libraries' files was treated as a local file. This is a bug.

Please report it to help us improve Buidler.`

Defined in internal/core/errors-list.ts:568


# message

● message: string = "File %file% belongs to a library but was treated as a local one."

Defined in internal/core/errors-list.ts:565


# number

● number: number = 402

Defined in internal/core/errors-list.ts:564


# shouldBeReported

● shouldBeReported: true = true

Defined in internal/core/errors-list.ts:571


# title

● title: string = "Resolved library file as a local one"

Defined in internal/core/errors-list.ts:567



# LIBRARY_NOT_INSTALLED

LIBRARY_NOT_INSTALLED: object

Defined in internal/core/errors-list.ts:573

# description

● description: string = `One of your Solidity sources imports a library that is not installed.

Please double check your imports or install the missing dependency.`

Defined in internal/core/errors-list.ts:577


# message

● message: string = "Library %library% is not installed."

Defined in internal/core/errors-list.ts:575


# number

● number: number = 403

Defined in internal/core/errors-list.ts:574


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:580


# title

● title: string = "Solidity library not installed"

Defined in internal/core/errors-list.ts:576




# SOLC

SOLC: object

Defined in internal/core/errors-list.ts:620

# DOWNLOAD_FAILED

DOWNLOAD_FAILED: object

Defined in internal/core/errors-list.ts:631

# description

● description: string = Couldn't download \solc`.

Please check your Internet connection.`

Defined in internal/core/errors-list.ts:636


# message

● message: string = "Couldn't download compiler version %remoteVersion%. Please check your connection or use local version %localVersion%"

Defined in internal/core/errors-list.ts:633


# number

● number: number = 501

Defined in internal/core/errors-list.ts:632


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:639


# title

● title: string = "solc download failed"

Defined in internal/core/errors-list.ts:635



# INVALID_DOWNLOAD

INVALID_DOWNLOAD: object

Defined in internal/core/errors-list.ts:651

# description

● description: string = Downloaded \solc` verification failed..

Please check your Internet connection.`

Defined in internal/core/errors-list.ts:656


# message

● message: string = "Couldn't download compiler version %remoteVersion%. Checksum verification failed. Please check your connection or use local version %localVersion%"

Defined in internal/core/errors-list.ts:653


# number

● number: number = 503

Defined in internal/core/errors-list.ts:652


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:659


# title

● title: string = "Downloaded solc checksum verification failed"

Defined in internal/core/errors-list.ts:655



# INVALID_VERSION

INVALID_VERSION: object

Defined in internal/core/errors-list.ts:621

# description

● description: string = `The Solidity version in your config is invalid or hasn't been released yet.

Please double check your `solc` config.`

Defined in internal/core/errors-list.ts:626


# message

● message: string = "Solidity version %version% is invalid or hasn't been released yet."

Defined in internal/core/errors-list.ts:623


# number

● number: number = 500

Defined in internal/core/errors-list.ts:622


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:629


# title

● title: string = "Invalid solc version"

Defined in internal/core/errors-list.ts:625



# VERSION_LIST_DOWNLOAD_FAILED

VERSION_LIST_DOWNLOAD_FAILED: object

Defined in internal/core/errors-list.ts:641

# description

● description: string = Couldn't download \solc`'s version list.

Please check your Internet connection.`

Defined in internal/core/errors-list.ts:646


# message

● message: string = "Couldn't download compiler versions list. Please check your connection or use local version %localVersion%"

Defined in internal/core/errors-list.ts:643


# number

● number: number = 502

Defined in internal/core/errors-list.ts:642


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:649


# title

● title: string = "Couldn't obtain solc version list"

Defined in internal/core/errors-list.ts:645




# TASK_DEFINITIONS

TASK_DEFINITIONS: object

Defined in internal/core/errors-list.ts:291

# ACTION_NOT_SET

ACTION_NOT_SET: object

Defined in internal/core/errors-list.ts:381

# description

● description: string = `A task was run, but it has no action set.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:385


# message

● message: string = "No action set for task %taskName%."

Defined in internal/core/errors-list.ts:383


# number

● number: number = 205

Defined in internal/core/errors-list.ts:382


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:388


# title

● title: string = "Tried to run task without an action"

Defined in internal/core/errors-list.ts:384



# DEFAULT_IN_MANDATORY_PARAM

DEFAULT_IN_MANDATORY_PARAM: object

Defined in internal/core/errors-list.ts:410

# description

● description: string = `One of your tasks has a required parameter with a default value.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:415


# message

● message: string = "Default value for param %paramName% of task %taskName% shouldn't be set."

Defined in internal/core/errors-list.ts:412


# number

● number: number = 208

Defined in internal/core/errors-list.ts:411


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:418


# title

● title: string = "Required parameter has a default value"

Defined in internal/core/errors-list.ts:414



# DEFAULT_VALUE_WRONG_TYPE

DEFAULT_VALUE_WRONG_TYPE: object

Defined in internal/core/errors-list.ts:400

# description

● description: string = `One of your tasks has a parameter whose default value doesn't match the expected type.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:405


# message

● message: string = "Default value for param %paramName% of task %taskName% doesn't match the default one, try specifying it."

Defined in internal/core/errors-list.ts:402


# number

● number: number = 207

Defined in internal/core/errors-list.ts:401


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:408


# title

● title: string = "Default value has incorrect type"

Defined in internal/core/errors-list.ts:404



# INVALID_PARAM_NAME_CASING

INVALID_PARAM_NAME_CASING: object

Defined in internal/core/errors-list.ts:420

# description

● description: string = `Your parameter names must use camelCase.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:425


# message

● message: string = "Invalid param name %paramName% in task %taskName%. Param names must be camelCase."

Defined in internal/core/errors-list.ts:422


# number

● number: number = 209

Defined in internal/core/errors-list.ts:421


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:428


# title

● title: string = "Invalid casing in parameter name"

Defined in internal/core/errors-list.ts:424



# MANDATORY_PARAM_AFTER_OPTIONAL

MANDATORY_PARAM_AFTER_OPTIONAL: object

Defined in internal/core/errors-list.ts:324

# description

● description: string = `Could not add param to your task because it is required and it was added after an optional positional param.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:329


# message

● message: string = "Could not set param %paramName% for task %taskName% because it is mandatory and it was added after an optional positional param."

Defined in internal/core/errors-list.ts:326


# number

● number: number = 203

Defined in internal/core/errors-list.ts:325


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:332


# title

● title: string = "Optional param followed by a required one"

Defined in internal/core/errors-list.ts:328



# OVERRIDE_NO_MANDATORY_PARAMS

OVERRIDE_NO_MANDATORY_PARAMS: object

Defined in internal/core/errors-list.ts:344

# description

● description: string = `You can't add mandatory (non optional) param definitions in an overridden task. The only supported param additions for overridden tasks are flags, and optional params.

Please, double check your task definitions.`

Defined in internal/core/errors-list.ts:349


# message

● message: string = "Redefinition of task %taskName% failed. Unsupported operation adding mandatory (non optional) param definitions in an overridden task."

Defined in internal/core/errors-list.ts:346


# number

● number: number = 210

Defined in internal/core/errors-list.ts:345


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:354


# title

● title: string = "Attempted to add mandatory params to an overridden task"

Defined in internal/core/errors-list.ts:348



# OVERRIDE_NO_PARAMS

OVERRIDE_NO_PARAMS: object

Defined in internal/core/errors-list.ts:334

# description

● description: string = `You can't change param definitions in an overridden task.

Please, double check your task definitions.`

Defined in internal/core/errors-list.ts:339


# message

● message: string = "Redefinition of task %taskName% failed. You can't change param definitions in an overridden task."

Defined in internal/core/errors-list.ts:336


# number

● number: number = 204

Defined in internal/core/errors-list.ts:335


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:342


# title

● title: string = "Attempted to add params to an overridden task"

Defined in internal/core/errors-list.ts:338



# OVERRIDE_NO_POSITIONAL_PARAMS

OVERRIDE_NO_POSITIONAL_PARAMS: object

Defined in internal/core/errors-list.ts:356

# description

● description: string = `You can't add positional param definitions in an overridden task. The only supported param additions for overridden tasks are flags, and optional params.

Please, double check your task definitions.`

Defined in internal/core/errors-list.ts:361


# message

● message: string = "Redefinition of task %taskName% failed. Unsupported operation adding positional param definitions in an overridden task."

Defined in internal/core/errors-list.ts:358


# number

● number: number = 211

Defined in internal/core/errors-list.ts:357


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:366


# title

● title: string = "Attempted to add positional params to an overridden task"

Defined in internal/core/errors-list.ts:360



# OVERRIDE_NO_VARIADIC_PARAMS

OVERRIDE_NO_VARIADIC_PARAMS: object

Defined in internal/core/errors-list.ts:368

# description

● description: string = `You can't add variadic param definitions in an overridden task. The only supported param additions for overridden tasks are flags, and optional params.

Please, double check your task definitions.`

Defined in internal/core/errors-list.ts:373


# message

● message: string = "Redefinition of task %taskName% failed. Unsupported operation adding variadic param definitions in an overridden task."

Defined in internal/core/errors-list.ts:370


# number

● number: number = 212

Defined in internal/core/errors-list.ts:369


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:378


# title

● title: string = "Attempted to add variadic params to an overridden task"

Defined in internal/core/errors-list.ts:372



# PARAM_AFTER_VARIADIC

PARAM_AFTER_VARIADIC: object

Defined in internal/core/errors-list.ts:292

# description

● description: string = `Could add a positional param to your task because there is already a variadic positional param and it has to be the last positional one.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:297


# message

● message: string = "Could not set positional param %paramName% for task %taskName% because there is already a variadic positional param and it has to be the last positional one."

Defined in internal/core/errors-list.ts:294


# number

● number: number = 200

Defined in internal/core/errors-list.ts:293


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:302


# title

● title: string = "Could not add positional param"

Defined in internal/core/errors-list.ts:296



# PARAM_ALREADY_DEFINED

PARAM_ALREADY_DEFINED: object

Defined in internal/core/errors-list.ts:304

# description

● description: string = `Could not add a param to your task because its name is already used.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:309


# message

● message: string = "Could not set param %paramName% for task %taskName% because its name is already used."

Defined in internal/core/errors-list.ts:306


# number

● number: number = 201

Defined in internal/core/errors-list.ts:305


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:312


# title

● title: string = "Repeated param name"

Defined in internal/core/errors-list.ts:308



# PARAM_CLASHES_WITH_BUIDLER_PARAM

PARAM_CLASHES_WITH_BUIDLER_PARAM: object

Defined in internal/core/errors-list.ts:314

# description

● description: string = `Could not add a param to your task because its name is used as a param for Buidler.

Please double check your task definitions.`

Defined in internal/core/errors-list.ts:319


# message

● message: string = "Could not set param %paramName% for task %taskName% because its name is used as a param for Buidler."

Defined in internal/core/errors-list.ts:316


# number

● number: number = 202

Defined in internal/core/errors-list.ts:315


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:322


# title

● title: string = "Buidler and task param names clash"

Defined in internal/core/errors-list.ts:318



# RUNSUPER_NOT_AVAILABLE

RUNSUPER_NOT_AVAILABLE: object

Defined in internal/core/errors-list.ts:390

# description

● description: string = You tried to call \runSuper` from a non-overridden task.

Please use `runSuper.isDefined` to make sure that you can call it.`

Defined in internal/core/errors-list.ts:395


# message

● message: string = "Tried to call runSuper from a non-overridden definition of task %taskName%"

Defined in internal/core/errors-list.ts:392


# number

● number: number = 206

Defined in internal/core/errors-list.ts:391


# shouldBeReported

● shouldBeReported: false = false

Defined in internal/core/errors-list.ts:398


# title

● title: string = "runSuper not available"

Defined in internal/core/errors-list.ts:394





# <Const> ERROR_RANGES

ERROR_RANGES: object

Defined in internal/core/errors-list.ts:17

# ARGUMENTS

ARGUMENTS: object

Defined in internal/core/errors-list.ts:25

# max

● max: number = 399

Defined in internal/core/errors-list.ts:25


# min

● min: number = 300

Defined in internal/core/errors-list.ts:25


# title

● title: string = "Arguments related errors"

Defined in internal/core/errors-list.ts:25



# ARTIFACTS

ARTIFACTS: object

Defined in internal/core/errors-list.ts:33

# max

● max: number = 799

Defined in internal/core/errors-list.ts:33


# min

● min: number = 700

Defined in internal/core/errors-list.ts:33


# title

● title: string = "Artifacts related errors"

Defined in internal/core/errors-list.ts:33



# BUILTIN_TASKS

BUILTIN_TASKS: object

Defined in internal/core/errors-list.ts:32

# max

● max: number = 699

Defined in internal/core/errors-list.ts:32


# min

● min: number = 600

Defined in internal/core/errors-list.ts:32


# title

● title: string = "Built-in tasks errors"

Defined in internal/core/errors-list.ts:32



# GENERAL

GENERAL: object

Defined in internal/core/errors-list.ts:18

# max

● max: number = 99

Defined in internal/core/errors-list.ts:18


# min

● min: number = 0

Defined in internal/core/errors-list.ts:18


# title

● title: string = "General errors"

Defined in internal/core/errors-list.ts:18



# INTERNAL

INTERNAL: object

Defined in internal/core/errors-list.ts:35

# max

● max: number = 999

Defined in internal/core/errors-list.ts:35


# min

● min: number = 900

Defined in internal/core/errors-list.ts:35


# title

● title: string = "Internal Buidler errors"

Defined in internal/core/errors-list.ts:35



# NETWORK

NETWORK: object

Defined in internal/core/errors-list.ts:19

# max

● max: number = 199

Defined in internal/core/errors-list.ts:19


# min

● min: number = 100

Defined in internal/core/errors-list.ts:19


# title

● title: string = "Network related errors"

Defined in internal/core/errors-list.ts:19



# PLUGINS

PLUGINS: object

Defined in internal/core/errors-list.ts:34

# max

● max: number = 899

Defined in internal/core/errors-list.ts:34


# min

● min: number = 800

Defined in internal/core/errors-list.ts:34


# title

● title: string = "Plugin system errors"

Defined in internal/core/errors-list.ts:34



# RESOLVER

RESOLVER: object

Defined in internal/core/errors-list.ts:26

# max

● max: number = 499

Defined in internal/core/errors-list.ts:28


# min

● min: number = 400

Defined in internal/core/errors-list.ts:27


# title

● title: string = "Dependencies resolution errors"

Defined in internal/core/errors-list.ts:29



# SOLC

SOLC: object

Defined in internal/core/errors-list.ts:31

# max

● max: number = 599

Defined in internal/core/errors-list.ts:31


# min

● min: number = 500

Defined in internal/core/errors-list.ts:31


# title

● title: string = "Solidity related errors"

Defined in internal/core/errors-list.ts:31



# TASK_DEFINITIONS

TASK_DEFINITIONS: object

Defined in internal/core/errors-list.ts:20

# max

● max: number = 299

Defined in internal/core/errors-list.ts:22


# min

● min: number = 200

Defined in internal/core/errors-list.ts:21


# title

● title: string = "Task definition errors"

Defined in internal/core/errors-list.ts:23




# <Const> boolean

boolean: object

Defined in internal/core/params/argumentTypes.ts:74

# name

● name: string = "boolean"

Defined in internal/core/params/argumentTypes.ts:75


# parse

parse(argName: string, strValue: string): boolean

Defined in internal/core/params/argumentTypes.ts:76

Parameters:

Name Type
argName string
strValue string

Returns: boolean


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:98

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void



# <Const> float

float: object

Defined in internal/core/params/argumentTypes.ts:160

# name

● name: string = "float"

Defined in internal/core/params/argumentTypes.ts:161


# parse

parse(argName: string, strValue: string): number

Defined in internal/core/params/argumentTypes.ts:162

Parameters:

Name Type
argName string
strValue string

Returns: number


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:188

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void



# <Const> inputFile

inputFile: object

Defined in internal/core/params/argumentTypes.ts:206

# name

● name: string = "inputFile"

Defined in internal/core/params/argumentTypes.ts:207


# parse

parse(argName: string, strValue: string): string

Defined in internal/core/params/argumentTypes.ts:208

Parameters:

Name Type
argName string
strValue string

Returns: string


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:240

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void



# <Const> int

int: object

Defined in internal/core/params/argumentTypes.ts:116

# name

● name: string = "int"

Defined in internal/core/params/argumentTypes.ts:117


# parse

parse(argName: string, strValue: string): number

Defined in internal/core/params/argumentTypes.ts:118

Parameters:

Name Type
argName string
strValue string

Returns: number


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:143

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void



# <Const> json

json: object

Defined in internal/core/params/argumentTypes.ts:258

# name

● name: string = "json"

Defined in internal/core/params/argumentTypes.ts:259


# parse

parse(argName: string, strValue: string): any

Defined in internal/core/params/argumentTypes.ts:260

Parameters:

Name Type
argName string
strValue string

Returns: any


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:283

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void



# <Const> string

string: object

Defined in internal/core/params/argumentTypes.ts:44

# name

● name: string = "string"

Defined in internal/core/params/argumentTypes.ts:45


# parse

parse(argName: string, strValue: string): string

Defined in internal/core/params/argumentTypes.ts:46

Parameters:

Name Type
argName string
strValue string

Returns: string


# validate

validate(argName: string, value: any): void

Defined in internal/core/params/argumentTypes.ts:55

Parameters:

Name Type Description
argName string argument's name - used for context in case of error.
value any argument's value to validate.

Returns: void