Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fork Uniswap v3 #1

Merged
merged 7 commits into from
Jul 4, 2024
Merged

Conversation

thaixuandang
Copy link
Collaborator

@thaixuandang thaixuandang commented Jul 4, 2024

Description

Clone v3-core and v3-periphery to src directory.

Dependencies

  • OpenZeppelin/openzeppelin-contracts (@openzeppelin/contracts), version: v3.4.2-solc-0.7
  • Uniswap/solidity-lib (@uniswap/lib), version: 4.0.1-alpha
  • Brechtpd/base64 (base64-sol), version: 1.0.1
  • Uniswap/v2-core (@uniswap/v2-core), version: v1.0.1

How to verify?

1. Get the checksum
  • v3-core at version 1.0.1.

    git clone https://github.com/Uniswap/v3-core && cd v3-core/contracts && git checkout ed88be38ab2032d82bf10ac6f8d03aa631889d48
    find . -type d -name 'test' -prune -o -type f -print | sort | xargs shasum -a 256 | shasum -a 256
    

    It should output 7569ec6deaeab4aeebf93a26a79ec8dd236e4e2678f0e3176155e157a8c27d9f.

  • v3-periphery at version 1.4.4.

    git clone https://github.com/Uniswap/v3-periphery && cd v3-periphery/contracts && git checkout 697c2474757ea89fec12a4e6db16a574fe259610
    find . -type d -name 'test' -prune -o -type f -print | sort | xargs shasum -a 256 | shasum -a 256
    

    It should output 128ab6459b504a671ff378f5628ef42fe1525a196fb94ac6bd097d575af98f64.

2. Verify

Make sure that your working directory is the root of this repository.

  • For v3-core:
    cd src/core && find . -type f | sort | xargs shasum -a 256 | shasum -a 256
    
  • For v3-periphery:
    cd src/periphery && find . -type f | sort | xargs shasum -a 256 | shasum -a 256
    

@thaixuandang thaixuandang merged commit 985dcbd into release/v1.0.0 Jul 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants