V4 support beta by liquid-8 · Pull Request #418 · uniswap-python/uniswap-python · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 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
01f1814
tech commit
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
e65778b
Added multi-hop quotes support
liquid-8 Mar 31, 2026
d32b5dd
review fixes
liquid-8 Mar 31, 2026
7608442
Merge pull request #433 from liquid-8/uniswap4_RC
liquid-8 Mar 31, 2026
9de6a7e
Checks improvements, small logic fix, multi-hop tests added
liquid-8 Mar 31, 2026
4ae4dcb
Merge pull request #434 from liquid-8/uniswap4_RC
liquid-8 Mar 31, 2026
be8d61f
Added multi-hop swaps support; added market pricing functions similar…
liquid-8 Apr 2, 2026
3257c21
review fix
liquid-8 Apr 2, 2026
fbd4d40
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 Apr 2, 2026
e06463b
Merge pull request #435 from liquid-8/uniswap4_RC
liquid-8 Apr 2, 2026
3100ad0
typecheck fix
liquid-8 Apr 6, 2026
e656e23
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 Apr 6, 2026
c0d6463
Improved exceptions handling; get_logs() glitch fix
liquid-8 Apr 6, 2026
9f29868
Merge pull request #436 from liquid-8/uniswap4_RC
liquid-8 Apr 8, 2026
1922558
Added swap tests; added liquidity read functions; added liquidity tests
liquid-8 Apr 9, 2026
52001fe
typo fix
liquid-8 Apr 9, 2026
fb53a24
Merge pull request #437 from liquid-8/uniswap4_RC
liquid-8 Apr 9, 2026
c07de6b
Fixes: get_poolkeys_sublist() - addresses comparison; estimate_price_…
liquid-8 Apr 10, 2026
07fd3d2
Fix: decode_position_info() - truncated poolID decoding
liquid-8 Apr 10, 2026
33560f4
Merge pull request #438 from liquid-8/uniswap4_RC
liquid-8 Apr 10, 2026
430aa75
Add get_position_value() and get_minted_token_id(); related tests; ti…
liquid-8 Apr 14, 2026
06ac6f5
get_amounts_for_liquidity_by_ticks() refactoring; review suggestions …
liquid-8 Apr 15, 2026
cee11a7
typecheck glitch fix
liquid-8 Apr 15, 2026
209879f
typo
liquid-8 Apr 15, 2026
d1bd472
typo
liquid-8 Apr 15, 2026
363b136
Merge pull request #439 from liquid-8/uniswap4_RC
liquid-8 Apr 15, 2026
46ff1b2
get_sqrt_ratio_at_tick() moved to util.py as it is shared with v3; g…
liquid-8 Apr 15, 2026
5738beb
review suggestion
liquid-8 Apr 15, 2026
eb2507c
review suggestion
liquid-8 Apr 15, 2026
a1b1e75
Merge pull request #440 from liquid-8/uniswap4_RC
liquid-8 Apr 15, 2026
442a13c
Add liquidity management methods; add router commands and pool action…
liquid-8 Apr 16, 2026
f822a20
quick self-fix
liquid-8 Apr 16, 2026
cabaa43
typos
liquid-8 Apr 16, 2026
dabed7b
typos
liquid-8 Apr 16, 2026
06252a2
Merge pull request #441 from liquid-8/uniswap4_RC
liquid-8 Apr 16, 2026
d751447
Changed direct contract call methods naming to improve usability
liquid-8 Apr 16, 2026
7bbf69c
typo
liquid-8 Apr 16, 2026
68ed908
Merge pull request #442 from liquid-8/uniswap4_RC
liquid-8 Apr 16, 2026
0a88dbd
Improve log processing in fetch_poolkey_data(); typos fixed
liquid-8 Apr 16, 2026
b0fe04f
Merge pull request #443 from liquid-8/uniswap4_RC
liquid-8 Apr 16, 2026
5e927b2
Add fetch_poolkey_data() reconnect functionality
liquid-8 Apr 16, 2026
1f0b57d
Merge pull request #444 from liquid-8/uniswap4_RC
liquid-8 Apr 16, 2026
e6a77cd
Change fetch_poolkey_data(): param/var renamed and docstring changed …
liquid-8 Apr 17, 2026
422e90c
Merge pull request #445 from liquid-8/uniswap4_RC
liquid-8 Apr 17, 2026
c2b2dfd
Add universal router prerequisites
liquid-8 Apr 19, 2026
094a917
quick fix
liquid-8 Apr 19, 2026
2875a3d
Merge pull request #446 from liquid-8/uniswap4_RC
liquid-8 Apr 19, 2026
bbdd87e
Add universal router support
liquid-8 Apr 20, 2026
8c805ee
Review fixes
liquid-8 Apr 20, 2026
04b3b08
Merge pull request #447 from liquid-8/uniswap4_RC
liquid-8 Apr 20, 2026
5f59027
review suggestions
liquid-8 Apr 21, 2026
9082f43
Review suggestions
liquid-8 Apr 21, 2026
548f455
Merge pull request #448 from liquid-8/uniswap4_RC
liquid-8 Apr 21, 2026
ffbfd12
Review suggestions
liquid-8 Apr 24, 2026
6bbf05c
Merge pull request #449 from liquid-8/uniswap4_RC
liquid-8 Apr 24, 2026
670ea44
Fixed custom recipient' logic in swaps; fixed ABIs constants.
liquid-8 Apr 25, 2026
7b92231
review fixes
liquid-8 Apr 25, 2026
cb74b7a
Merge pull request #450 from liquid-8/uniswap4_RC
liquid-8 Apr 25, 2026
5f318d8
Removed custom recipent in swaps; tests added.
liquid-8 May 4, 2026
9f5bd0c
quick fix
liquid-8 May 4, 2026
73a517e
Merge pull request #451 from liquid-8/uniswap4_RC
liquid-8 May 4, 2026
7735238
misc fixes
liquid-8 May 4, 2026
551fcd4
Merge pull request #452 from liquid-8/uniswap4_RC
liquid-8 May 4, 2026
5ff88d5
Switch from ganachr to foundry-anvil for v4 tests
liquid-8 May 12, 2026
1d79532
fix
liquid-8 May 12, 2026
a0b5b80
fix
liquid-8 May 12, 2026
6f02fc1
fix
liquid-8 May 12, 2026
5341275
fix
liquid-8 May 12, 2026
acf4e4e
fix
liquid-8 May 12, 2026
43fa444
fix
liquid-8 May 12, 2026
1dcf975
fix
liquid-8 May 12, 2026
7bd29c1
fix
liquid-8 May 12, 2026
dcdae41
fix
liquid-8 May 12, 2026
6dee9fd
Merge pull request #453 from liquid-8/uniswap4_RC
liquid-8 May 12, 2026
6fc2b95
Add custom transactions' nonce; custom delay time within approve(); u…
liquid-8 May 14, 2026
8ac29c0
fix
liquid-8 May 14, 2026
965cda3
Merge pull request #454 from liquid-8/uniswap4_RC
liquid-8 May 14, 2026
c9cedc6
ABI fix
liquid-8 May 14, 2026
11b1373
fix
liquid-8 May 14, 2026
a4c04b8
Merge pull request #455 from liquid-8/uniswap4_RC
liquid-8 May 14, 2026
8f78338
Add more v4 tests
liquid-8 May 17, 2026
2126666
fix
liquid-8 May 17, 2026
727f600
fix
liquid-8 May 18, 2026
6f5b6c2
fix
liquid-8 May 18, 2026
b6138ab
fix
liquid-8 May 18, 2026
3d9ed0d
fix
liquid-8 May 18, 2026
aa78cb6
fix
liquid-8 May 18, 2026
419e76a
fix
liquid-8 May 18, 2026
ee76a0b
Add more tests
liquid-8 May 18, 2026
842a5eb
fix
liquid-8 May 18, 2026
a2b4911
Add liquidity tests
liquid-8 May 18, 2026
f63a1e7
fix
liquid-8 May 18, 2026
3a3f3fa
Add swap tests
liquid-8 May 22, 2026
856f05a
fix
liquid-8 May 22, 2026
aa8db89
fix
liquid-8 May 22, 2026
ac4fc43
fix
liquid-8 May 22, 2026
a98f3ff
fix
liquid-8 May 22, 2026
ad708f4
Add fetch pool data test
liquid-8 May 22, 2026
9fd0723
Add the rest of pool data tests
liquid-8 May 22, 2026
084655f
Add liquidity postions management tests.
liquid-8 May 24, 2026
73385e2
fix
liquid-8 May 24, 2026
2d4a0cb
fix
liquid-8 May 24, 2026
db1b855
fix
liquid-8 May 24, 2026
81d0258
fix
liquid-8 May 25, 2026
f9babd9
fix
liquid-8 May 25, 2026
a00f9e1
fix
liquid-8 May 25, 2026
a00b884
fix
liquid-8 May 25, 2026
804b951
fix
liquid-8 May 25, 2026
88477f5
fix
liquid-8 May 25, 2026
4e4a12d
fix
liquid-8 May 25, 2026
ad260bd
fix
liquid-8 May 25, 2026
4742bff
fix
liquid-8 May 25, 2026
ac729b4
Core tests
liquid-8 May 25, 2026
21ea48f
Add StateView and PositionDescriptor tests; liquidity tests reorg.
liquid-8 May 25, 2026
8215424
fix
liquid-8 May 25, 2026
1b673c1
fix
liquid-8 May 25, 2026
59da651
fix
liquid-8 May 25, 2026
4adc723
fix
liquid-8 May 25, 2026
62e3cbf
Add StateView and PositionDescriptor tests; liquidity tests reorg.
liquid-8 May 25, 2026
98365cc
Add Universal_router_execute() tests
liquid-8 May 27, 2026
ba5fc2a
fix
liquid-8 May 27, 2026
c830b8a
fix
liquid-8 May 27, 2026
e67b70c
Add Universal_router_execute() tests
liquid-8 May 27, 2026
b39f696
Add positive slippage collection
liquid-8 May 28, 2026
9788275
Fix comments
liquid-8 May 28, 2026
3834e7e
Fix positive slippage recipient
liquid-8 May 28, 2026
61a2ba6
Minor fixes.
liquid-8 May 28, 2026
dbb4343
Fix
liquid-8 May 28, 2026
382f2fe
Merge pull request #460 from liquid-8/uniswap4_RC
liquid-8 May 28, 2026
c356784
RC
liquid-8 Jun 1, 2026
68779ff
fix
liquid-8 Jun 1, 2026
7fe6971
Release candidate
liquid-8 Jun 1, 2026
a9cc57b
Docstrings clarification, comments on universal_router_execute() usage
liquid-8 Jun 4, 2026
f609454
fix
liquid-8 Jun 4, 2026
759d5cf
RC 1
liquid-8 Jun 4, 2026
4d19b29
Fix position_manager_permit2_single()
liquid-8 Jun 4, 2026
97b6e6f
Merge pull request #464 from liquid-8/uniswap4_RC
liquid-8 Jun 4, 2026
75240b7
Fix constructor network handling
liquid-8 Jun 4, 2026
1eccd7a
fix
liquid-8 Jun 4, 2026
e079370
Merge pull request #465 from liquid-8/uniswap4_RC
liquid-8 Jun 4, 2026
791db2d
Docstrings clarification
liquid-8 Jun 4, 2026
f249a3c
fix
liquid-8 Jun 4, 2026
ce76683
Merge pull request #466 from liquid-8/uniswap4_RC
liquid-8 Jun 4, 2026
3217091
Add testnets, minor constructor improvements
liquid-8 Jun 7, 2026
16fda28
Docstrings clarification
liquid-8 Jun 8, 2026
303de33
Add testnets, minor constructor improvements
liquid-8 Jun 8, 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
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
53 changes: 29 additions & 24 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 @@ -19,11 +20,11 @@ jobs:
strategy:
fail-fast: false
matrix:
uniswap-version: [1, 2, 3]
uniswap-version: [1, 2, 3, 4]
network: ["mainnet"]
include:
- network: arbitrum
uniswap-version: 3
# include:
# - network: arbitrum
# uniswap-version: 3
#include:
# - network: xdai
# uniswap-version: 3
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 @@ -72,6 +74,9 @@ jobs:
poetry install
npm install -g ganache@7.5.0

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Test
env:
# Use the secret if available, otherwise fallback to the public key
Expand All @@ -81,28 +86,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 +116,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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ Contributors also earn this beautiful [GitPOAP](https://gitpoap.notion.site/What

## Changelog

_0.8.0_

* Added: Uniswap V4 support
* Added: Pool cache service for Uniswap V4
* Full parameters customization for V4 transactions; V4 transaction replacement and cancelling.

_0.7.2_

* Updated: Default fee is not applied when using Uniswap V3. Default fee for Uniswap V1 and V2 is still 0.3%.
Expand Down
18 changes: 18 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ Uniswap class
.. autoclass:: Uniswap
:members:




Uniswap4 class
--------------
.. automodule:: uniswap.uniswap4

.. autoclass:: Uniswap4
:members:


Pools cache class
-----------------
.. automodule:: uniswap.util

.. autoclass:: V4pools
:members:

Token class
-----------

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.rst
Loading
Loading