Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deployer

Git Source

Title: Deployer

Interface for deployer contracts that deploy a proxy and emit on deployment

Functions

deploy

Deploys a proxy (and implementation if applicable), initializing in one transaction

function deploy() external returns (address proxy);

Returns

NameTypeDescription
proxyaddressThe address of the deployed proxy

Events

Deployed

Emitted when a new proxy is deployed

event Deployed(address indexed proxy, address indexed implementation);

Parameters

NameTypeDescription
proxyaddressThe address of the deployed proxy
implementationaddressThe address of the implementation contract