new SolidityDeploy(options)
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)
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)
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 |
logSetting |
Logger.state.ENUM | Log setting, as represented by the Logger state enum. |
||
options |
object | User options |
createFlattener(logSetting, options)
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 |