@nomiclabs/buidler

Index

Classes

Interfaces

Type aliases

Variables

Functions

Object literals


Type aliases

ActionType

Ƭ ActionType: function

Defined in types.ts:252

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:221

Type declaration


EnvironmentExtender

Ƭ EnvironmentExtender: function

Defined in types.ts:125

A function that receives a BuidlerRuntimeEnvironment and modify its properties or add new ones.

Type declaration

▸(env: BuidlerRuntimeEnvironment): void

Parameters:

Name Type
env BuidlerRuntimeEnvironment

Returns: void


GlobalWithBuidlerContext

Ƭ GlobalWithBuidlerContext: Global & object

Defined in internal/internalTypes.ts:13


IEthereumProvider

Ƭ IEthereumProvider: EthereumProvider

Defined in types.ts:260


NetworkConfig

Ƭ NetworkConfig: AutoNetworkConfig | HttpNetworkConfig

Defined in types.ts:54


NetworkConfigAccounts

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

Defined in types.ts:43


RunSuperFunction

Ƭ RunSuperFunction: function

Defined in types.ts:248

Type declaration

▸(taskArguments?: ArgT): Promise<any>

Parameters:

Name Type
Optional taskArguments ArgT

Returns: Promise<any>


RunTaskFunction

Ƭ RunTaskFunction: function

Defined in types.ts:243

Type declaration

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

Parameters:

Name Type
name string
Optional taskArguments TaskArguments

Returns: Promise<any>


Variables

<Const> BUIDLER_EXECUTABLE_NAME

● BUIDLER_EXECUTABLE_NAME: "buidler" = "buidler"

Defined in internal/constants.ts:3


<Const> BUIDLER_NAME

● BUIDLER_NAME: "Buidler" = "Buidler"

Defined in internal/constants.ts:1


<Const> TASK_BUILD_ARTIFACTS

● TASK_BUILD_ARTIFACTS: "compile:build-artifacts" = "compile:build-artifacts"

Defined in builtin-tasks/task-names.ts:12


<Const> TASK_CHECK

● TASK_CHECK: "check" = "check"

Defined in builtin-tasks/task-names.ts:1


<Const> TASK_CLEAN

● TASK_CLEAN: "clean" = "clean"

Defined in builtin-tasks/task-names.ts:3


<Const> TASK_COMPILE

● TASK_COMPILE: "compile" = "compile"

Defined in builtin-tasks/task-names.ts:5


<Const> TASK_COMPILE_COMPILE

● TASK_COMPILE_COMPILE: "compile:compile" = "compile:compile"

Defined in builtin-tasks/task-names.ts:11


<Const> TASK_COMPILE_GET_COMPILER_INPUT

● TASK_COMPILE_GET_COMPILER_INPUT: "compile:get-compiler-input" = "compile:get-compiler-input"

Defined in builtin-tasks/task-names.ts:9


<Const> TASK_COMPILE_GET_DEPENDENCY_GRAPH

● TASK_COMPILE_GET_DEPENDENCY_GRAPH: "compile:get-dependency-graph" = "compile:get-dependency-graph"

Defined in builtin-tasks/task-names.ts:8


<Const> TASK_COMPILE_GET_RESOLVED_SOURCES

● TASK_COMPILE_GET_RESOLVED_SOURCES: "compile:get-resolved-sources" = "compile:get-resolved-sources"

Defined in builtin-tasks/task-names.ts:7


<Const> TASK_COMPILE_GET_SOURCE_PATHS

● TASK_COMPILE_GET_SOURCE_PATHS: "compile:get-source-paths" = "compile:get-source-paths"

Defined in builtin-tasks/task-names.ts:6


<Const> TASK_COMPILE_RUN_COMPILER

● TASK_COMPILE_RUN_COMPILER: "compile:run-compiler" = "compile:run-compiler"

Defined in builtin-tasks/task-names.ts:10


<Const> TASK_CONSOLE

● TASK_CONSOLE: "console" = "console"

Defined in builtin-tasks/task-names.ts:14


<Const> TASK_FLATTEN

● TASK_FLATTEN: "flatten" = "flatten"

Defined in builtin-tasks/task-names.ts:16


<Const> TASK_FLATTEN_GET_FLATTENED_SOURCE

● TASK_FLATTEN_GET_FLATTENED_SOURCE: "flatten:get-flattened-sources" = "flatten:get-flattened-sources"

Defined in builtin-tasks/task-names.ts:17


<Const> TASK_HELP

● TASK_HELP: "help" = "help"

Defined in builtin-tasks/task-names.ts:20


<Const> TASK_RUN

● TASK_RUN: "run" = "run"

Defined in builtin-tasks/task-names.ts:22


<Const> TASK_TEST

● TASK_TEST: "test" = "test"

Defined in builtin-tasks/task-names.ts:24


<Const> TASK_TEST_GET_TEST_FILES

● TASK_TEST_GET_TEST_FILES: "test:get-test-files" = "test:get-test-files"

Defined in builtin-tasks/task-names.ts:27


<Const> TASK_TEST_RUN_MOCHA_TESTS

● TASK_TEST_RUN_MOCHA_TESTS: "test:run-mocha-tests" = "test:run-mocha-tests"

Defined in builtin-tasks/task-names.ts:26


<Const> TASK_TEST_SETUP_TEST_ENVIRONMENT

● TASK_TEST_SETUP_TEST_ENVIRONMENT: "test:setup-test-environment" = "test:setup-test-environment"

Defined in builtin-tasks/task-names.ts:28


<Const> types

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

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


<Const> unsafeObjectKeys

● unsafeObjectKeys: function = Object.keys as ( o: T ) => Array<Extract<keyof T, string>>

Defined in internal/util/unsafe.ts:5

This function is a typed version of Object.keys. Note that it's type unsafe. You have to be sure that o has exactly the same keys as T.

Type declaration

▸<T>(o: T): Array<Extract<keyof T, string>>

Type parameters:

T

Parameters:

Name Type
o T

Returns: Array<Extract<keyof T, string>>


Functions

areArtifactsCached

areArtifactsCached(paths: ProjectPaths): Promise<boolean>

Defined in builtin-tasks/utils/cache.ts:70

Parameters:

Name Type
paths ProjectPaths

Returns: Promise<boolean>


createAutomaticGasPriceProvider

createAutomaticGasPriceProvider(provider: IEthereumProvider): EthereumProvider

Defined in internal/core/providers/gas-providers.ts:62

Parameters:

Name Type
provider IEthereumProvider

Returns: EthereumProvider


createAutomaticGasProvider

createAutomaticGasProvider(provider: IEthereumProvider, gasMultiplier?: number): EthereumProvider

Defined in internal/core/providers/gas-providers.ts:45

Parameters:

Name Type Default value
provider IEthereumProvider -
Default value gasMultiplier number 1.25

Returns: EthereumProvider


createFixedGasPriceProvider

createFixedGasPriceProvider(provider: IEthereumProvider, gasPrice: number): EthereumProvider

Defined in internal/core/providers/gas-providers.ts:25

Parameters:

Name Type
provider IEthereumProvider
gasPrice number

Returns: EthereumProvider


createFixedGasProvider

createFixedGasProvider(provider: IEthereumProvider, gasLimit: number): EthereumProvider

Defined in internal/core/providers/gas-providers.ts:5

Parameters:

Name Type
provider IEthereumProvider
gasLimit number

Returns: EthereumProvider


createHDWalletProvider

createHDWalletProvider(provider: IEthereumProvider, mnemonic: string, hdpath?: string, initialIndex?: number, count?: number): EthereumProvider

Defined in internal/core/providers/accounts.ts:97

Parameters:

Name Type Default value
provider IEthereumProvider -
mnemonic string -
Default value hdpath string "m/44'/60'/0'/0/"
Default value initialIndex number 0
Default value count number 10

Returns: EthereumProvider


createLocalAccountsProvider

createLocalAccountsProvider(provider: IEthereumProvider, privateKeys: string[]): EthereumProvider

Defined in internal/core/providers/accounts.ts:11

Parameters:

Name Type
provider IEthereumProvider
privateKeys string[]

Returns: EthereumProvider


createNetworkProvider

createNetworkProvider(provider: IEthereumProvider, chainId?: undefined | number): EthereumProvider

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

Parameters:

Name Type
provider IEthereumProvider
Optional chainId undefined | number

Returns: EthereumProvider


createProject

createProject(): Promise<void>

Defined in internal/cli/project-creation.ts:148

Returns: Promise<void>


createProvider

createProvider(selectedNetwork: string, networksConfig?: Networks): IEthereumProvider

Defined in internal/core/providers/construction.ts:16

Parameters:

Name Type
selectedNetwork string
Optional networksConfig Networks

Returns: IEthereumProvider


createSenderProvider

createSenderProvider(provider: IEthereumProvider, from?: undefined | string): EthereumProvider

Defined in internal/core/providers/accounts.ts:127

Parameters:

Name Type
provider IEthereumProvider
Optional from undefined | string

Returns: EthereumProvider


default

default(): void

Defined in builtin-tasks/check.ts:3

Returns: void


disableReplWriterShowProxy

disableReplWriterShowProxy(): void

Defined in internal/util/console.ts:11

Starting at node 10, proxies are shown in the console by default, instead of actually inspecting them. This makes all our lazy loading efforts wicked, so we disable it ni buidler/register.

Returns: void


emoji

emoji(msgIfEnabled: string, msgIfDisabled?: string): string

Defined in internal/cli/emoji.ts:7

Parameters:

Name Type Default value
msgIfEnabled string -
Default value msgIfDisabled string ""

Returns: string


enableEmoji

enableEmoji(): void

Defined in internal/cli/emoji.ts:3

Returns: void


ensurePluginLoadedWithUsePlugin

ensurePluginLoadedWithUsePlugin(): void

Defined in internal/core/plugins.ts:93

Returns: void


extendEnvironment

extendEnvironment(extender: EnvironmentExtender): void

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

Register an environment extender what will be run after the Buidler Runtime Environment is initialized.

Parameters:

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

Returns: void


fromEntries

fromEntries<T>(entries: Array<[string, any]>): T

Defined in internal/util/lang.ts:1

Type parameters:

T

Parameters:

Name Type
entries Array<[string, any]>

Returns: T


getArtifactFromContractOutput

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

Defined in internal/artifacts.ts:14

Retrieves an artifact for the given contractName from the compilation output.

Parameters:

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

Returns: Artifact


getClosestCallerPackage

getClosestCallerPackage(): string | undefined

Defined in internal/util/caller-package.ts:11

Returns the name of the closest package in the callstack that isn't this.

Returns: string | undefined


getEnvBuidlerArguments

getEnvBuidlerArguments(paramDefinitions: BuidlerParamDefinitions, envVariables: ProcessEnv): BuidlerArguments

Defined in internal/core/params/env-variables.ts:19

Parameters:

Name Type
paramDefinitions BuidlerParamDefinitions
envVariables ProcessEnv

Returns: BuidlerArguments


getImports

getImports(fileContent: string): string[]

Defined in internal/solidity/imports.ts:1

Parameters:

Name Type
fileContent string

Returns: string[]


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


getPackageJson

getPackageJson(): Promise<PackageJson>

Defined in internal/util/packageInfo.ts:27

Returns: Promise<PackageJson>


getPackageRoot

getPackageRoot(): Promise<string>

Defined in internal/util/packageInfo.ts:9

Returns: Promise<string>


getRecommendedGitIgnore

getRecommendedGitIgnore(): Promise<string>

Defined in internal/core/project-structure.ts:35

Returns: Promise<string>


getUserConfigPath

getUserConfigPath(): string

Defined in internal/core/project-structure.ts:19

Returns: string


glob

glob(pattern: string): Promise<string[]>

Defined in internal/util/glob.ts:3

Parameters:

Name Type
pattern string

Returns: Promise<string[]>


globSync

globSync(pattern: string): string[]

Defined in internal/util/glob.ts:8

Parameters:

Name Type
pattern string

Returns: string[]


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:40

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:46

Type parameters:

ArgsT : TaskArguments

Parameters:

Name Type
name string
action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition


isBuidlerError

isBuidlerError(error: any): boolean

Defined in internal/core/errors.ts:12

Parameters:

Name Type
error any

Returns: boolean


isBuidlerPluginError

isBuidlerPluginError(error: any): boolean

Defined in internal/core/errors.ts:16

Parameters:

Name Type
error any

Returns: boolean


isCwdInsideProject

isCwdInsideProject(): boolean

Defined in internal/core/project-structure.ts:12

Returns: boolean


isHDAccountsConfig

isHDAccountsConfig(accounts?: NetworkConfigAccounts): boolean

Defined in internal/core/providers/construction.ts:10

Parameters:

Name Type
Optional accounts NetworkConfigAccounts

Returns: boolean


isNodeCalledWithoutAScript

isNodeCalledWithoutAScript(): boolean

Defined in internal/util/console.ts:1

Returns: boolean


isTypescriptSupported

isTypescriptSupported(): boolean

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

Returns: boolean


lazyFunction

lazyFunction<T>(functionCreator: function): T

Defined in internal/util/lazy.ts:53

Type parameters:

T : Function

Parameters:

Name Type
functionCreator function

Returns: T


lazyObject

lazyObject<T>(objectCreator: function): T

Defined in internal/util/lazy.ts:30

This module provides function to implement proxy-based object, functions, and classes (they are functions). They receive an initializer function that it's not used until someone interacts with the lazy element.

This functions can also be used like a lazy require, creating a proxy that doesn't require the module until needed.

The disadvantage of using this technique is that the type information is lost wrt import, as require returns an `any. If done with enough care, this can be manually fixed.

TypeScript doesn't emit require calls for modules that are imported only because of their types. So if one uses lazyObject or lazyFunction along with a normal ESM import you can pass the module's type to this function.

An example of this can be:

import findUpT from "find-up"; export const findUp = lazyFunction(() => require("find-up"));

You can also use it with named exports:

import { EthT } from "web3x/eth"; const Eth = lazyFunction(() => require("web3x/eth").Eth);

Type parameters:

T : object

Parameters:

Name Type
objectCreator function

Returns: T


loadConfigAndTasks

loadConfigAndTasks(configPath?: undefined | string): ResolvedBuidlerConfig

Defined in internal/core/config/config-loading.ts:15

Parameters:

Name Type
Optional configPath undefined | string

Returns: ResolvedBuidlerConfig


loadPluginFile

loadPluginFile(absolutePluginFilePath: string): void

Defined in internal/core/plugins.ts:67

Parameters:

Name Type
absolutePluginFilePath string

Returns: void


loadTsNodeIfPresent

loadTsNodeIfPresent(): void

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

Returns: void


paramNameToEnvVariable

paramNameToEnvVariable(paramName: string): string

Defined in internal/core/params/env-variables.ts:10

Parameters:

Name Type
paramName string

Returns: string


pluralize

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

Defined in internal/util/strings.ts:10

Returns the plural form of a word.

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:60

Asynchronically reads an artifact with the given contractName from the given artifactPath.

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:79

Synchronically reads an artifact with the given contractName from the given artifactPath.

Parameters:

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

Returns: Artifact


readPackageJson

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

Defined in internal/core/plugins.ts:75

Parameters:

Name Type
packageName string
from string

Returns: PackageJson | undefined


resetBuidlerContext

resetBuidlerContext(): void

Defined in internal/reset.ts:10

Returns: void


resolveConfig

resolveConfig(userConfigPath: string, defaultConfig: BuidlerConfig, userConfig: BuidlerConfig): ResolvedBuidlerConfig

Defined in internal/core/config/config-resolution.ts:31

This functions resolves the buidler config by merging the user provided config and the buidler default config.

Parameters:

Name Type Description
userConfigPath string the user config filepath
defaultConfig BuidlerConfig the buidler's default config object
userConfig BuidlerConfig the user config object

Returns: ResolvedBuidlerConfig the resolved config


resolveProjectPaths

resolveProjectPaths(userConfigPath: string, userPaths?: any): ProjectPaths

Defined in internal/core/config/config-resolution.ts:71

This function resolves the ProjectPaths object from the user-provided config and its path. The logic of this is not obvious and should well be document. The good thing is that most users will never use this.

Explanation:

  • paths.configFile is not overridable
  • If a path is absolute it is used "as is".
  • If the root path is relative, it's resolved from paths.configFile's dir.
  • If any other path is relative, it's resolved from paths.root.

Parameters:

Name Type Default value
userConfigPath string -
Default value userPaths any {}

Returns: ProjectPaths


runScript

runScript(scriptPath: string, scriptArgs?: string[], extraNodeArgs?: string[], extraEnvVars?: object): Promise<number>

Defined in internal/util/scripts-runner.ts:1

Parameters:

Name Type Default value
scriptPath string -
Default value scriptArgs string[] []
Default value extraNodeArgs string[] []
Default value extraEnvVars object {}

Returns: Promise<number>


runScriptWithBuidler

runScriptWithBuidler(scriptPath: string, scriptArgs?: string[], extraNodeArgs?: string[], extraEnvVars?: object): Promise<number>

Defined in internal/util/scripts-runner.ts:27

Parameters:

Name Type Default value
scriptPath string -
Default value scriptArgs string[] []
Default value extraNodeArgs string[] []
Default value extraEnvVars object {}

Returns: Promise<number>


saveArtifact

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

Defined in internal/artifacts.ts:44

Stores an artifact in the given path.

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:10

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:16

Type parameters:

ArgsT : TaskArguments

Parameters:

Name Type
name string
action ActionType<ArgsT>

Returns: ConfigurableTaskDefinition


usePlugin

usePlugin(pluginName: string): void

Defined in internal/core/plugins.ts:16

Parameters:

Name Type
pluginName string

Returns: void


wrapEthereumProvider

wrapEthereumProvider(provider: IEthereumProvider, netConfig: Partial<HttpNetworkConfig>): IEthereumProvider

Defined in internal/core/providers/construction.ts:51

Parameters:

Name Type
provider IEthereumProvider
netConfig Partial<HttpNetworkConfig>

Returns: IEthereumProvider


wrapSend

wrapSend(provider: IEthereumProvider, sendWrapper: function): IEthereumProvider

Defined in internal/core/providers/wrapper.ts:3

Parameters:

Name Type
provider IEthereumProvider
sendWrapper function

Returns: IEthereumProvider


Object literals

<Const> BUIDLER_PARAM_DEFINITIONS

BUIDLER_PARAM_DEFINITIONS: object

Defined in internal/core/params/buidler-params.ts:5

config

config: object

Defined in internal/core/params/buidler-params.ts:51

defaultValue

● defaultValue: undefined = undefined

Defined in internal/core/params/buidler-params.ts:53


description

● description: string = "A Buidler config file."

Defined in internal/core/params/buidler-params.ts:54


isFlag

● isFlag: false = false

Defined in internal/core/params/buidler-params.ts:56


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:57


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:58


name

● name: string = "config"

Defined in internal/core/params/buidler-params.ts:52


type

● type: ArgumentType<string> = types.inputFile

Defined in internal/core/params/buidler-params.ts:55



emoji

emoji: object

Defined in internal/core/params/buidler-params.ts:42

defaultValue

● defaultValue: boolean = process.platform === "darwin"

Defined in internal/core/params/buidler-params.ts:44


description

● description: string = "Use emoji in messages."

Defined in internal/core/params/buidler-params.ts:45


isFlag

● isFlag: true = true

Defined in internal/core/params/buidler-params.ts:47


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:48


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:49


name

● name: string = "emoji"

Defined in internal/core/params/buidler-params.ts:43


type

● type: ArgumentType<boolean> = types.boolean

Defined in internal/core/params/buidler-params.ts:46



help

help: object

Defined in internal/core/params/buidler-params.ts:33

defaultValue

● defaultValue: false = false

Defined in internal/core/params/buidler-params.ts:35


description

● description: string = "Shows this message."

Defined in internal/core/params/buidler-params.ts:36


isFlag

● isFlag: true = true

Defined in internal/core/params/buidler-params.ts:38


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:39


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:40


name

● name: string = "help"

Defined in internal/core/params/buidler-params.ts:34


type

● type: ArgumentType<boolean> = types.boolean

Defined in internal/core/params/buidler-params.ts:37



network

network: object

Defined in internal/core/params/buidler-params.ts:6

defaultValue

● defaultValue: string = "develop"

Defined in internal/core/params/buidler-params.ts:8


description

● description: string = "The network to connect to."

Defined in internal/core/params/buidler-params.ts:9


isFlag

● isFlag: false = false

Defined in internal/core/params/buidler-params.ts:12


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:11


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:13


name

● name: string = "network"

Defined in internal/core/params/buidler-params.ts:7


type

● type: ArgumentType<string> = types.string

Defined in internal/core/params/buidler-params.ts:10



showStackTraces

showStackTraces: object

Defined in internal/core/params/buidler-params.ts:15

defaultValue

● defaultValue: false = false

Defined in internal/core/params/buidler-params.ts:17


description

● description: string = "Show stack traces."

Defined in internal/core/params/buidler-params.ts:18


isFlag

● isFlag: true = true

Defined in internal/core/params/buidler-params.ts:20


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:21


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:22


name

● name: string = "showStackTraces"

Defined in internal/core/params/buidler-params.ts:16


type

● type: ArgumentType<boolean> = types.boolean

Defined in internal/core/params/buidler-params.ts:19



version

version: object

Defined in internal/core/params/buidler-params.ts:24

defaultValue

● defaultValue: false = false

Defined in internal/core/params/buidler-params.ts:26


description

● description: string = "Shows buidler's version."

Defined in internal/core/params/buidler-params.ts:27


isFlag

● isFlag: true = true

Defined in internal/core/params/buidler-params.ts:29


isOptional

● isOptional: true = true

Defined in internal/core/params/buidler-params.ts:30


isVariadic

● isVariadic: false = false

Defined in internal/core/params/buidler-params.ts:31


name

● name: string = "version"

Defined in internal/core/params/buidler-params.ts:25


type

● type: ArgumentType<boolean> = types.boolean

Defined in internal/core/params/buidler-params.ts:28




<Const> ERRORS

ERRORS: object

Defined in internal/core/errors.ts:107

ARGUMENTS

ARGUMENTS: object

Defined in internal/core/errors.ts:227

INVALID_ENV_VAR_VALUE

INVALID_ENV_VAR_VALUE: object

Defined in internal/core/errors.ts:228

message

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

Defined in internal/core/errors.ts:230


number

● number: number = 300

Defined in internal/core/errors.ts:229



INVALID_INPUT_FILE

INVALID_INPUT_FILE: object

Defined in internal/core/errors.ts:236

message

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

Defined in internal/core/errors.ts:238


number

● number: number = 302

Defined in internal/core/errors.ts:237



INVALID_JSON_ARGUMENT

INVALID_JSON_ARGUMENT: object

Defined in internal/core/errors.ts:274

message

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

Defined in internal/core/errors.ts:276


number

● number: number = 311

Defined in internal/core/errors.ts:275



INVALID_VALUE_FOR_TYPE

INVALID_VALUE_FOR_TYPE: object

Defined in internal/core/errors.ts:232

message

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

Defined in internal/core/errors.ts:234


number

● number: number = 301

Defined in internal/core/errors.ts:233



MISSING_POSITIONAL_ARG

MISSING_POSITIONAL_ARG: object

Defined in internal/core/errors.ts:258

message

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

Defined in internal/core/errors.ts:260


number

● number: number = 307

Defined in internal/core/errors.ts:259



MISSING_TASK_ARGUMENT

MISSING_TASK_ARGUMENT: object

Defined in internal/core/errors.ts:254

message

● message: string = "Missing task argument "%s"."

Defined in internal/core/errors.ts:256


number

● number: number = 306

Defined in internal/core/errors.ts:255



PARAM_NAME_INVALID_CASING

PARAM_NAME_INVALID_CASING: object

Defined in internal/core/errors.ts:270

message

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

Defined in internal/core/errors.ts:272


number

● number: number = 310

Defined in internal/core/errors.ts:271



REPEATED_PARAM

REPEATED_PARAM: object

Defined in internal/core/errors.ts:266

message

● message: string = "Repeated parameter "%s"."

Defined in internal/core/errors.ts:268


number

● number: number = 309

Defined in internal/core/errors.ts:267



UNRECOGNIZED_COMMAND_LINE_ARG

UNRECOGNIZED_COMMAND_LINE_ARG: object

Defined in internal/core/errors.ts:245

message

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

Defined in internal/core/errors.ts:247


number

● number: number = 304

Defined in internal/core/errors.ts:246



UNRECOGNIZED_PARAM_NAME

UNRECOGNIZED_PARAM_NAME: object

Defined in internal/core/errors.ts:250

message

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

Defined in internal/core/errors.ts:252


number

● number: number = 305

Defined in internal/core/errors.ts:251



UNRECOGNIZED_POSITIONAL_ARG

UNRECOGNIZED_POSITIONAL_ARG: object

Defined in internal/core/errors.ts:262

message

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

Defined in internal/core/errors.ts:264


number

● number: number = 308

Defined in internal/core/errors.ts:263



UNRECOGNIZED_TASK

UNRECOGNIZED_TASK: object

Defined in internal/core/errors.ts:241

message

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

Defined in internal/core/errors.ts:243


number

● number: number = 303

Defined in internal/core/errors.ts:242




ARTIFACTS

ARTIFACTS: object

Defined in internal/core/errors.ts:349

NOT_FOUND

NOT_FOUND: object

Defined in internal/core/errors.ts:350

message

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

Defined in internal/core/errors.ts:352


number

● number: number = 700

Defined in internal/core/errors.ts:351




BUILTIN_TASKS

BUILTIN_TASKS: object

Defined in internal/core/errors.ts:331

COMPILE_FAILURE

COMPILE_FAILURE: object

Defined in internal/core/errors.ts:332

message

● message: string = "Compilation failed"

Defined in internal/core/errors.ts:334


number

● number: number = 600

Defined in internal/core/errors.ts:333



FLATTEN_CYCLE

FLATTEN_CYCLE: object

Defined in internal/core/errors.ts:344

message

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

Defined in internal/core/errors.ts:346


number

● number: number = 603

Defined in internal/core/errors.ts:345



RUN_FILE_NOT_FOUND

RUN_FILE_NOT_FOUND: object

Defined in internal/core/errors.ts:336

message

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

Defined in internal/core/errors.ts:338


number

● number: number = 601

Defined in internal/core/errors.ts:337



RUN_SCRIPT_ERROR

RUN_SCRIPT_ERROR: object

Defined in internal/core/errors.ts:340

message

● message: string = "Error running script "%s": %s"

Defined in internal/core/errors.ts:342


number

● number: number = 602

Defined in internal/core/errors.ts:341




GENERAL

GENERAL: object

Defined in internal/core/errors.ts:108

CONTEXT_ALREADY_CREATED

CONTEXT_ALREADY_CREATED: object

Defined in internal/core/errors.ts:121

message

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

Defined in internal/core/errors.ts:123


number

● number: number = 4

Defined in internal/core/errors.ts:122



CONTEXT_BRE_ALREADY_DEFINED

CONTEXT_BRE_ALREADY_DEFINED: object

Defined in internal/core/errors.ts:133

message

● message: string = "BuidlerRuntime is already defined in the BuidlerContext"

Defined in internal/core/errors.ts:135


number

● number: number = 7

Defined in internal/core/errors.ts:134



CONTEXT_BRE_NOT_DEFINED

CONTEXT_BRE_NOT_DEFINED: object

Defined in internal/core/errors.ts:129

message

● message: string = "BuidlerRuntimeEnvironment is not defined in the BuidlerContext."

Defined in internal/core/errors.ts:131


number

● number: number = 6

Defined in internal/core/errors.ts:130



CONTEXT_NOT_CREATED

CONTEXT_NOT_CREATED: object

Defined in internal/core/errors.ts:125

message

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

Defined in internal/core/errors.ts:127


number

● number: number = 5

Defined in internal/core/errors.ts:126



INVALID_NODE_VERSION

INVALID_NODE_VERSION: object

Defined in internal/core/errors.ts:113

message

● message: string = "Buidler doesn't support your node version. It should be %s."

Defined in internal/core/errors.ts:115


number

● number: number = 2

Defined in internal/core/errors.ts:114



NOT_INSIDE_PROJECT

NOT_INSIDE_PROJECT: object

Defined in internal/core/errors.ts:109

message

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

Defined in internal/core/errors.ts:111


number

● number: number = 1

Defined in internal/core/errors.ts:110



UNSUPPORTED_OPERATION

UNSUPPORTED_OPERATION: object

Defined in internal/core/errors.ts:117

message

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

Defined in internal/core/errors.ts:119


number

● number: number = 3

Defined in internal/core/errors.ts:118




NETWORK

NETWORK: object

Defined in internal/core/errors.ts:138

CONFIG_NOT_FOUND

CONFIG_NOT_FOUND: object

Defined in internal/core/errors.ts:139

message

● message: string = "Network "%s" not defined"

Defined in internal/core/errors.ts:141


number

● number: number = 100

Defined in internal/core/errors.ts:140



ETHSIGN_MISSING_DATA_PARAM

ETHSIGN_MISSING_DATA_PARAM: object

Defined in internal/core/errors.ts:153

message

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

Defined in internal/core/errors.ts:155


number

● number: number = 103

Defined in internal/core/errors.ts:154



INVALID_GLOBAL_CHAIN_ID

INVALID_GLOBAL_CHAIN_ID: object

Defined in internal/core/errors.ts:143

message

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

Defined in internal/core/errors.ts:145


number

● number: number = 101

Defined in internal/core/errors.ts:144



INVALID_HD_PATH

INVALID_HD_PATH: object

Defined in internal/core/errors.ts:171

message

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

Defined in internal/core/errors.ts:173


number

● number: number = 107

Defined in internal/core/errors.ts:172



INVALID_TX_CHAIN_ID

INVALID_TX_CHAIN_ID: object

Defined in internal/core/errors.ts:148

message

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

Defined in internal/core/errors.ts:150


number

● number: number = 102

Defined in internal/core/errors.ts:149



MISSING_TX_PARAM_TO_SIGN_LOCALLY

MISSING_TX_PARAM_TO_SIGN_LOCALLY: object

Defined in internal/core/errors.ts:162

message

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

Defined in internal/core/errors.ts:164


number

● number: number = 105

Defined in internal/core/errors.ts:163



NOT_LOCAL_ACCOUNT

NOT_LOCAL_ACCOUNT: object

Defined in internal/core/errors.ts:157

message

● message: string = "Account "%s" is not managed by the current network access provider."

Defined in internal/core/errors.ts:159


number

● number: number = 104

Defined in internal/core/errors.ts:158



NO_REMOTE_ACCOUNT_AVAILABLE

NO_REMOTE_ACCOUNT_AVAILABLE: object

Defined in internal/core/errors.ts:166

message

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

Defined in internal/core/errors.ts:168


number

● number: number = 106

Defined in internal/core/errors.ts:167




PLUGINS

PLUGINS: object

Defined in internal/core/errors.ts:355

DEPENDENCY_VERSION_MISMATCH

DEPENDENCY_VERSION_MISMATCH: object

Defined in internal/core/errors.ts:366

message

● message: string = "Plugin %s requires %s version %s but got %s.\n" + "If you haven't installed %s manually, please run: npm install --save-dev %[email protected]%s\n" + "If you have installed %s yourself, please reinstall it with a valid version."

Defined in internal/core/errors.ts:368


number

● number: number = 802

Defined in internal/core/errors.ts:367



MISSING_DEPENDENCY

MISSING_DEPENDENCY: object

Defined in internal/core/errors.ts:360

message

● message: string = "Plugin %s requires %s to be installed.\n" + "Please run: npm install --save-dev %[email protected]%s"

Defined in internal/core/errors.ts:362


number

● number: number = 801

Defined in internal/core/errors.ts:361



NOT_INSTALLED

NOT_INSTALLED: object

Defined in internal/core/errors.ts:356

message

● message: string = "Plugin %s is not installed."

Defined in internal/core/errors.ts:358


number

● number: number = 800

Defined in internal/core/errors.ts:357



OLD_STYLE_IMPORT_DETECTED

OLD_STYLE_IMPORT_DETECTED: object

Defined in internal/core/errors.ts:373

message

● message: string = "You are trying to load %s with a require or import statement.\n" + 'Please replace it with a call to usePlugin("%s").'

Defined in internal/core/errors.ts:375


number

● number: number = 803

Defined in internal/core/errors.ts:374




RESOLVER

RESOLVER: object

Defined in internal/core/errors.ts:279

FILE_NOT_FOUND

FILE_NOT_FOUND: object

Defined in internal/core/errors.ts:280

message

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

Defined in internal/core/errors.ts:280


number

● number: number = 400

Defined in internal/core/errors.ts:280



FILE_OUTSIDE_LIB

FILE_OUTSIDE_LIB: object

Defined in internal/core/errors.ts:301

message

● message: string = "File "%s" is outside its library."

Defined in internal/core/errors.ts:303


number

● number: number = 406

Defined in internal/core/errors.ts:302



FILE_OUTSIDE_PROJECT

FILE_OUTSIDE_PROJECT: object

Defined in internal/core/errors.ts:281

message

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

Defined in internal/core/errors.ts:283


number

● number: number = 401

Defined in internal/core/errors.ts:282



ILLEGAL_IMPORT

ILLEGAL_IMPORT: object

Defined in internal/core/errors.ts:297

message

● message: string = "Illegal import "%s" from "%s"."

Defined in internal/core/errors.ts:299


number

● number: number = 405

Defined in internal/core/errors.ts:298



IMPORTED_FILE_NOT_FOUND

IMPORTED_FILE_NOT_FOUND: object

Defined in internal/core/errors.ts:305

message

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

Defined in internal/core/errors.ts:307


number

● number: number = 407

Defined in internal/core/errors.ts:306



LIBRARY_FILE_NOT_FOUND

LIBRARY_FILE_NOT_FOUND: object

Defined in internal/core/errors.ts:293

message

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

Defined in internal/core/errors.ts:295


number

● number: number = 404

Defined in internal/core/errors.ts:294



LIBRARY_FILE_NOT_LOCAL

LIBRARY_FILE_NOT_LOCAL: object

Defined in internal/core/errors.ts:285

message

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

Defined in internal/core/errors.ts:287


number

● number: number = 402

Defined in internal/core/errors.ts:286



LIBRARY_NOT_INSTALLED

LIBRARY_NOT_INSTALLED: object

Defined in internal/core/errors.ts:289

message

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

Defined in internal/core/errors.ts:291


number

● number: number = 403

Defined in internal/core/errors.ts:290




SOLC

SOLC: object

Defined in internal/core/errors.ts:310

DOWNLOAD_FAILED

DOWNLOAD_FAILED: object

Defined in internal/core/errors.ts:315

message

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

Defined in internal/core/errors.ts:317


number

● number: number = 501

Defined in internal/core/errors.ts:316



INVALID_DOWNLOAD

INVALID_DOWNLOAD: object

Defined in internal/core/errors.ts:325

message

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

Defined in internal/core/errors.ts:327


number

● number: number = 503

Defined in internal/core/errors.ts:326



INVALID_VERSION

INVALID_VERSION: object

Defined in internal/core/errors.ts:311

message

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

Defined in internal/core/errors.ts:313


number

● number: number = 500

Defined in internal/core/errors.ts:312



VERSION_LIST_DOWNLOAD_FAILED

VERSION_LIST_DOWNLOAD_FAILED: object

Defined in internal/core/errors.ts:320

message

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

Defined in internal/core/errors.ts:322


number

● number: number = 502

Defined in internal/core/errors.ts:321




TASK_DEFINITIONS

TASK_DEFINITIONS: object

Defined in internal/core/errors.ts:177

ACTION_NOT_SET

ACTION_NOT_SET: object

Defined in internal/core/errors.ts:203

message

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

Defined in internal/core/errors.ts:205


number

● number: number = 205

Defined in internal/core/errors.ts:204



DEFAULT_IN_MANDATORY_PARAM

DEFAULT_IN_MANDATORY_PARAM: object

Defined in internal/core/errors.ts:217

message

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

Defined in internal/core/errors.ts:219


number

● number: number = 208

Defined in internal/core/errors.ts:218



DEFAULT_VALUE_WRONG_TYPE

DEFAULT_VALUE_WRONG_TYPE: object

Defined in internal/core/errors.ts:212

message

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

Defined in internal/core/errors.ts:214


number

● number: number = 207

Defined in internal/core/errors.ts:213



INVALID_PARAM_NAME_CASING

INVALID_PARAM_NAME_CASING: object

Defined in internal/core/errors.ts:221

message

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

Defined in internal/core/errors.ts:223


number

● number: number = 209

Defined in internal/core/errors.ts:222



MANDATORY_PARAM_AFTER_OPTIONAL

MANDATORY_PARAM_AFTER_OPTIONAL: object

Defined in internal/core/errors.ts:193

message

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

Defined in internal/core/errors.ts:195


number

● number: number = 203

Defined in internal/core/errors.ts:194



OVERRIDE_NO_PARAMS

OVERRIDE_NO_PARAMS: object

Defined in internal/core/errors.ts:198

message

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

Defined in internal/core/errors.ts:200


number

● number: number = 204

Defined in internal/core/errors.ts:199



PARAM_AFTER_VARIADIC

PARAM_AFTER_VARIADIC: object

Defined in internal/core/errors.ts:178

message

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

Defined in internal/core/errors.ts:180


number

● number: number = 200

Defined in internal/core/errors.ts:179



PARAM_ALREADY_DEFINED

PARAM_ALREADY_DEFINED: object

Defined in internal/core/errors.ts:183

message

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

Defined in internal/core/errors.ts:185


number

● number: number = 201

Defined in internal/core/errors.ts:184



PARAM_CLASHES_WITH_BUIDLER_PARAM

PARAM_CLASHES_WITH_BUIDLER_PARAM: object

Defined in internal/core/errors.ts:188

message

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

Defined in internal/core/errors.ts:190


number

● number: number = 202

Defined in internal/core/errors.ts:189



RUNSUPER_NOT_AVAILABLE

RUNSUPER_NOT_AVAILABLE: object

Defined in internal/core/errors.ts:207

message

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

Defined in internal/core/errors.ts:209


number

● number: number = 206

Defined in internal/core/errors.ts:208





<Const> ERROR_RANGES

ERROR_RANGES: object

Defined in internal/core/errors.ts:93

ARGUMENTS

ARGUMENTS: object

Defined in internal/core/errors.ts:99

max

● max: number = 399

Defined in internal/core/errors.ts:99


min

● min: number = 300

Defined in internal/core/errors.ts:99



ARTIFACTS

ARTIFACTS: object

Defined in internal/core/errors.ts:103

max

● max: number = 799

Defined in internal/core/errors.ts:103


min

● min: number = 700

Defined in internal/core/errors.ts:103



BUILTIN_TASKS

BUILTIN_TASKS: object

Defined in internal/core/errors.ts:102

max

● max: number = 699

Defined in internal/core/errors.ts:102


min

● min: number = 600

Defined in internal/core/errors.ts:102



GENERAL

GENERAL: object

Defined in internal/core/errors.ts:96

max

● max: number = 99

Defined in internal/core/errors.ts:96


min

● min: number = 0

Defined in internal/core/errors.ts:96



NETWORK

NETWORK: object

Defined in internal/core/errors.ts:97

max

● max: number = 199

Defined in internal/core/errors.ts:97


min

● min: number = 100

Defined in internal/core/errors.ts:97



PLUGINS

PLUGINS: object

Defined in internal/core/errors.ts:104

max

● max: number = 899

Defined in internal/core/errors.ts:104


min

● min: number = 800

Defined in internal/core/errors.ts:104



RESOLVER

RESOLVER: object

Defined in internal/core/errors.ts:100

max

● max: number = 499

Defined in internal/core/errors.ts:100


min

● min: number = 400

Defined in internal/core/errors.ts:100



SOLC

SOLC: object

Defined in internal/core/errors.ts:101

max

● max: number = 599

Defined in internal/core/errors.ts:101


min

● min: number = 500

Defined in internal/core/errors.ts:101



TASK_DEFINITIONS

TASK_DEFINITIONS: object

Defined in internal/core/errors.ts:98

max

● max: number = 299

Defined in internal/core/errors.ts:98


min

● min: number = 200

Defined in internal/core/errors.ts:98




<Const> boolean

boolean: object

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

Boolean type.

Accepts only 'true' or 'false' (case-insensitive).

throws: BDLR301

name

● name: string = "boolean"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: boolean



<Const> float

float: object

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

Float type. Accepts either a decimal string number or hexadecimal string number.

throws: BDLR301

name

● name: string = "float"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: number



<Const> inputFile

inputFile: object

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

Input file type. Accepts a path to a readable file..

throws: BDLR302

name

● name: string = "inputFile"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: string



<Const> int

int: object

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

Int type. Accepts either a decimal string integer or hexadecimal string integer.

throws: BDLR301

name

● name: string = "int"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: number



<Const> json

json: object

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

name

● name: string = "json"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: any



<Const> string

string: object

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

String type.

Accepts any kind of string.

name

● name: string = "string"

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


parse

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

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

Parameters:

Name Type
argName string
strValue string

Returns: string