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.

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

#

On this page