Skip to content
ClearClear
Docs
Protocol/Create2Deployer

Create2Deployer

Source: contracts/peripherals/Create2Deployer.sol

1 min readUpdated View source

On this page

Functions that change state

Function
Who can call
Also
deploy(bytes32 salt, bytes creationCode)
Anyone
payable

Read functions

Anyone can call these; they change nothing.

Function
Returns
computeAddress(bytes32 salt, bytes32 creationCodeHash)
address

Events

Event
Deployed(address addr indexed, bytes32 salt indexed)

Errors

Error
Create2DeployerEmptyBytecode()