IUniswapV4DeployerCompetition
Git Source - Generated with forge doc
Interface for the UniswapV4DeployerCompetition contract
Functions
updateBestAddress
Updates the best address if the new address has a better vanity score
The first 20 bytes of the salt must be either address(0) or msg.sender
function updateBestAddress(bytes32 salt) external;
Parameters
| Name | Type | Description |
|---|---|---|
salt | bytes32 | The salt to use to compute the new address with CREATE2 |
deploy
deploys the Ring v4 PoolManager contract
The bytecode must match the initCodeHash
function deploy(bytes memory bytecode) external;
Parameters
| Name | Type | Description |
|---|---|---|
bytecode | bytes | The bytecode of the Ring v4 PoolManager contract |