Skip to content

otter-sec/uniswap-v4-research

Repository files navigation

v4-template

Execute PoC:

Via Docker

After cloning the repo, run the Dockerfile to execute a PoC:

docker build --no-cache --progress=plain --build-arg poc_path="./bugs/<folder-name>/PoC.sol" -t hooks . 

Note: If the poc_path argument is not specified, all PoCs will be executed by default.

Via shell script

After cloning the repo, install the necessary dependencies:

forge install https://github.com/Uniswap/v4-core@06564d33b2fa6095830c914461ee64d34d39c305

forge install openzeppelin/openzeppelin-contracts

Once these dependencies are installed, the PoC may be executed via the build.sh shell script by supplying the path to the specific PoC as an argument:

chmod +x build.sh

./build.sh ./bugs/<folder-name>/PoC.sol

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages