DefenderDeploy
Smart contract DefenderDeploy utilities and implementations
import "@openzeppelin/src/internal/DefenderDeploy.sol";
Internal helper methods for Defender deployments.
DO NOT USE DIRECTLY. Use Defender.sol instead.
Functions
- deploy(contractName, constructorData, defenderOpts)
- buildDeployCommand(contractInfo, buildInfoFile, constructorData, defenderOpts)
- proposeUpgrade(proxyAddress, proxyAdminAddress, newImplementationAddress, newImplementationContractName, opts)
- parseProposeUpgradeResponse(stdout)
- buildProposeUpgradeCommand(proxyAddress, proxyAdminAddress, newImplementationAddress, contractInfo, opts)
- getApprovalProcess(command)
- parseApprovalProcessResponse(stdout)
- buildGetApprovalProcessCommand(command)
deploy(string contractName, bytes constructorData, struct DefenderOptions defenderOpts) → address
internal
#buildDeployCommand(struct ContractInfo contractInfo, string buildInfoFile, bytes constructorData, struct DefenderOptions defenderOpts) → string[]
internal
#proposeUpgrade(address proxyAddress, address proxyAdminAddress, address newImplementationAddress, string newImplementationContractName, struct Options opts) → struct ProposeUpgradeResponse
internal
#parseProposeUpgradeResponse(string stdout) → struct ProposeUpgradeResponse
internal
#buildProposeUpgradeCommand(address proxyAddress, address proxyAdminAddress, address newImplementationAddress, struct ContractInfo contractInfo, struct Options opts) → string[]
internal
#getApprovalProcess(string command) → struct ApprovalProcessResponse
internal
#parseApprovalProcessResponse(string stdout) → struct ApprovalProcessResponse
internal
#buildGetApprovalProcessCommand(string command) → string[]
internal
#