ChainAwareWriter
Inherits: ChainAwareness, DataWriter
Functions
writeDeploymentArtifact
Writes the deployment JSON for a contract on the active chain under the specified alias. Example: contractName = "LinkedPool", contractAlias = "LinkedPool.USDC" Note: writes the JSON file to the FRESH deployments directory. The written file needs to be moved to the correct location outside of the deployment script. Note: will not include the ABI in the output JSON.
function writeDeploymentArtifact(string memory contractAlias, string memory artifact) internal;
writeDeployConfig
Writes the deploy config for a contract on the active chain.
function writeDeployConfig(string memory contractName, string memory configData) internal;