Constructor
new EtherscanVerify(config)
- Source:
Create an instance of EtherscanVerify.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | Configuration object. |
Methods
(async) verifyContract(contract, address, filepath)
- Source:
Verifies a contract on Etherscan, as designated by the configuration passed to the object (i.e., API key, Etherscan URL, are all set there)
Parameters:
Name | Type | Description |
---|---|---|
contract |
object | Internal contract object, as defined in DeployUtil.extractContract |
address |
string | Contract address at which it was deployed |
filepath |
string | Filepath of the .sol file to verify. |