SolidityDeploy

SolidityDeploy

new SolidityDeploy(options)

Source:

Initialize a SolidityDeploy object. Main point of entry for config-based needs. In other words, if you are looking to use an object listed here with particular configuration, please initialize this and call the appropriate method.

Parameters:
Name Type Description
options object

User options, which will overwrite any default ones.

Methods

createCompiler(logSetting, options)

Source:

Create a Compiler object.

Parameters:
Name Type Description
logSetting Logger.state.ENUM

Log setting, as represented by the Logger state enum.

options object

User options

(async) createDeployer(_web3, _compiledopt, logSetting, options)

Source:

Create a Deployer object.

Parameters:
Name Type Attributes Default Description
_web3 web3_instance

Initizalized web3 instance, with provider set

_compiled JSON <optional>
null

solc compilation output. Required for using async deploy() function!

logSetting Logger.state.ENUM

Log setting, as represented by the Logger state enum.

options object

User options

createFlattener(logSetting, options)

Source:

Create a Flattener object.

Parameters:
Name Type Description
logSetting Logger.state.ENUM

Log setting, as represented by the Logger state enum.

options object

User options