Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
de63ce4
v4 support pre-alpha
liquid-8 Jun 27, 2023
fa75632
v4 support pre-alpha
liquid-8 Jun 27, 2023
0f0a189
Revert "v4 support pre-alpha"
liquid-8 Jun 27, 2023
d9b28e8
Revert "v4 support pre-alpha"
liquid-8 Jun 27, 2023
f1918d6
Merge branch 'uniswap-python:master' into master
liquid-8 Jan 7, 2024
f6b973b
Merge branch 'uniswap-python:master' into master
liquid-8 Dec 25, 2025
18fad99
Update __init__.py
liquid-8 Dec 25, 2025
b84f0bc
Merge pull request #417 from liquid-8/master
liquid-8 Dec 25, 2025
2397805
Add files via upload
liquid-8 Dec 25, 2025
6a113d5
Add Uniswap4 to module exports
liquid-8 Dec 25, 2025
e0823f8
Delete uniswap/uniswap-v4 directory
liquid-8 Dec 25, 2025
441df01
Add files via upload
liquid-8 Dec 25, 2025
019704a
Refactor uniswap4.py by removing unused imports
liquid-8 Jan 4, 2026
74e72b4
Add files via upload
liquid-8 Jan 15, 2026
e33e9d2
Delete uniswap/configs/evmuniV4_permit2.ini
liquid-8 Jan 15, 2026
f7d8274
Delete uniswap/configs/evmuniV4_chains.ini
liquid-8 Jan 15, 2026
d7387a2
Delete uniswap/configs/evmuniV4_quoter.ini
liquid-8 Jan 15, 2026
b21f2ee
Delete uniswap/configs/evmuniV4_router.ini
liquid-8 Jan 15, 2026
e097c4c
Delete uniswap/configs/evmuniV4_stateview.ini
liquid-8 Jan 15, 2026
3a55c6a
Add files via upload
liquid-8 Jan 15, 2026
60a08b8
Add files via upload
liquid-8 Jan 15, 2026
69cc90d
Delete uniswap/uni4base.py
liquid-8 Jan 23, 2026
dd7ae62
Delete uniswap/configs/chains.ini
liquid-8 Jan 23, 2026
a763a66
Delete uniswap/configs directory
liquid-8 Jan 23, 2026
c7a4173
Beta
liquid-8 Jan 23, 2026
0f9a3ed
Add files via upload
liquid-8 Feb 2, 2026
567a8c7
Add files via upload
liquid-8 Feb 2, 2026
60675b0
Delete uniswap/v4pools.py
liquid-8 Feb 17, 2026
eb0cab0
Delete uniswap/v4types.py
liquid-8 Feb 17, 2026
bd546e8
Delete uniswap/v4constants.py
liquid-8 Feb 17, 2026
0ffc017
Add files via upload
liquid-8 Feb 17, 2026
e8855b3
Formmating fixes, naming fixes
liquid-8 Feb 17, 2026
298599f
fix constants
liquid-8 Feb 17, 2026
67d8eec
Fix util
liquid-8 Feb 17, 2026
11f694d
technical commit
liquid-8 Feb 22, 2026
ca9aa33
Technical fixes
liquid-8 Feb 22, 2026
75aad02
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 Feb 22, 2026
f828082
Merge pull request #419 from liquid-8/uniswap4_RC
liquid-8 Feb 22, 2026
7d0921b
pre-commit formatter/linter
liquid-8 Feb 23, 2026
85cab6b
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 Feb 23, 2026
ffe15eb
fix pyproject.toml
liquid-8 Feb 23, 2026
847edf9
Merge pull request #420 from liquid-8/uniswap4_RC
liquid-8 Feb 23, 2026
ebc8d8c
ci: update GitHub Actions to supported versions
ErikBjare Feb 23, 2026
444a6cf
ci: fix python version output quoting in workflow
ErikBjare Feb 23, 2026
943bd88
build(deps): update poetry.lock
ErikBjare Feb 23, 2026
58154f8
typecheck fixes
liquid-8 Mar 8, 2026
fa9f716
review fixes
liquid-8 Mar 8, 2026
7c689ce
Merge pull request #421 from liquid-8/uniswap4_RC
liquid-8 Mar 8, 2026
0a8cf4c
poetry.lock update
liquid-8 Mar 8, 2026
9b3e096
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 Mar 8, 2026
4a7775e
Merge pull request #422 from liquid-8/uniswap4_RC
liquid-8 Mar 8, 2026
d3188f2
more typecheck fixes
liquid-8 Mar 8, 2026
5950b0d
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 Mar 8, 2026
1c7a137
Merge pull request #423 from liquid-8/uniswap4_RC
liquid-8 Mar 8, 2026
76aa5da
more typecheck
liquid-8 Mar 8, 2026
c521110
get_token fix
liquid-8 Mar 8, 2026
ed129b0
Merge pull request #424 from liquid-8/uniswap4_RC
liquid-8 Mar 8, 2026
feee9d1
PositionDescriptor support; PositionManager read methods support; misc
liquid-8 Mar 15, 2026
f8e435c
fixes
liquid-8 Mar 15, 2026
41dbad6
Merge pull request #425 from liquid-8/uniswap4_RC
liquid-8 Mar 15, 2026
3492c3f
PositionManager full support; PoolManager full support; contracts-rel…
liquid-8 Mar 17, 2026
cc8c5f1
fixes
liquid-8 Mar 17, 2026
e3287ec
Merge pull request #426 from liquid-8/uniswap4_RC
liquid-8 Mar 17, 2026
d8e724e
review fixes
liquid-8 Mar 18, 2026
66ca74d
extra fix
liquid-8 Mar 18, 2026
293add0
Merge pull request #427 from liquid-8/uniswap4_RC
liquid-8 Mar 18, 2026
149aba1
poetry.lock fix
liquid-8 Mar 19, 2026
e3c3226
Merge pull request #428 from liquid-8/uniswap4_RC
liquid-8 Mar 19, 2026
0228e5d
v4 test prototype
liquid-8 Mar 19, 2026
9bf1d9b
Update uniswap/uniswap4.py
liquid-8 Mar 19, 2026
43c7927
Update tests/v4tests.py
liquid-8 Mar 19, 2026
94da45f
fix
liquid-8 Mar 19, 2026
b070366
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 Mar 19, 2026
4d08576
Merge pull request #429 from liquid-8/uniswap4_RC
liquid-8 Mar 19, 2026
4c0eb28
tech fix
liquid-8 Mar 19, 2026
b2eb3a0
fix(ci): replace rate-limited Infura with public RPC (#431)
TimeToBuildBob Mar 26, 2026
ade1cf8
fix(ci): stop push runs from preferring stale mainnet secret (#432)
TimeToBuildBob Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
Expand All @@ -25,15 +25,15 @@ jobs:
run: |
poetry run make docs
- name: Upload build
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v4
with:
name: build
path: docs/_build/html
- name: add CNAME file
run: |
echo 'uniswap-python.com' > docs/_build/html/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
42 changes: 22 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Test

on:
push:
branches: [ master ]
branches: [ master, dev/v4, dev/v4-fin ]
pull_request:
branches: [ master ]
branches: [ master, dev/v4, dev/v4-fin ]

env:
# Public key for PRs, plz don't abuse
PROVIDER_MAINNET: ${{ secrets.MAINNET_PROVIDER || 'https://mainnet.infura.io/v3/42ffb4f2549c4a5fa3b5d6db70f6fad1' }}
PROVIDER_ARBITRUM: 'https://rpc.ankr.com/arbitrum'
# The repo secret still points at a rate-limited Infura URL, so CI must use
# the public endpoint directly instead of preferring the secret on push runs.
PROVIDER_MAINNET: 'https://ethereum.publicnode.com'
PROVIDER_ARBITRUM: 'https://arb1.arbitrum.io/rpc'
PROVIDER_XDAI: 'https://rpc.ankr.com/gnosis'

jobs:
Expand All @@ -35,29 +36,30 @@ jobs:
# uniswap-version: 3

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.8'
- name: Set up Node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'

# Set up poetry cache, from https://github.com/python-poetry/poetry/blob/45a9b8f20384591d0a33ae876bcf23656f928ec0/.github/workflows/main.yml
- name: Get full python version
id: full-python-version
run: |
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))")
version=$(python3 -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))")
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Set up poetry
run: |
python -m pip install --upgrade pip poetry
poetry config virtualenvs.in-project true
poetry config installer.modern-installation false

- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v4
id: cache
with:
path: .venv
Expand All @@ -81,28 +83,28 @@ jobs:
make test

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

typecheck:
name: typecheck
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.8'

# Set up poetry cache, from https://github.com/python-poetry/poetry/blob/45a9b8f20384591d0a33ae876bcf23656f928ec0/.github/workflows/main.yml
- name: Get full python version
id: full-python-version
run: |
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))")
version=$(python3 -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))")
echo "version=$version" >> "$GITHUB_OUTPUT"

- name: Set up poetry
run: |
Expand All @@ -111,7 +113,7 @@ jobs:
poetry config installer.modern-installation false

- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v4
id: cache
with:
path: .venv
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ wheels/
.installed.cfg
*.egg
.idea/
.vscode/
__pycache__/

# PyInstaller
Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.15.2
hooks:
# Run the linter.
- id: ruff-check
args: [ --fix ]
# Run the formatter.
- id: ruff-format
Loading
Loading