-
Notifications
You must be signed in to change notification settings - Fork 374
V4 support #418
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
Merged
Merged
V4 support #418
Changes from 1 commit
Commits
Show all changes
239 commits
Select commit
Hold shift + click to select a range
de63ce4
v4 support pre-alpha
liquid-8 fa75632
v4 support pre-alpha
liquid-8 0f0a189
Revert "v4 support pre-alpha"
liquid-8 d9b28e8
Revert "v4 support pre-alpha"
liquid-8 f1918d6
Merge branch 'uniswap-python:master' into master
liquid-8 f6b973b
Merge branch 'uniswap-python:master' into master
liquid-8 18fad99
Update __init__.py
liquid-8 b84f0bc
Merge pull request #417 from liquid-8/master
liquid-8 2397805
Add files via upload
liquid-8 6a113d5
Add Uniswap4 to module exports
liquid-8 e0823f8
Delete uniswap/uniswap-v4 directory
liquid-8 441df01
Add files via upload
liquid-8 019704a
Refactor uniswap4.py by removing unused imports
liquid-8 74e72b4
Add files via upload
liquid-8 e33e9d2
Delete uniswap/configs/evmuniV4_permit2.ini
liquid-8 f7d8274
Delete uniswap/configs/evmuniV4_chains.ini
liquid-8 d7387a2
Delete uniswap/configs/evmuniV4_quoter.ini
liquid-8 b21f2ee
Delete uniswap/configs/evmuniV4_router.ini
liquid-8 e097c4c
Delete uniswap/configs/evmuniV4_stateview.ini
liquid-8 3a55c6a
Add files via upload
liquid-8 60a08b8
Add files via upload
liquid-8 69cc90d
Delete uniswap/uni4base.py
liquid-8 dd7ae62
Delete uniswap/configs/chains.ini
liquid-8 a763a66
Delete uniswap/configs directory
liquid-8 c7a4173
Beta
liquid-8 0f9a3ed
Add files via upload
liquid-8 567a8c7
Add files via upload
liquid-8 60675b0
Delete uniswap/v4pools.py
liquid-8 eb0cab0
Delete uniswap/v4types.py
liquid-8 bd546e8
Delete uniswap/v4constants.py
liquid-8 0ffc017
Add files via upload
liquid-8 e8855b3
Formmating fixes, naming fixes
liquid-8 298599f
fix constants
liquid-8 67d8eec
Fix util
liquid-8 11f694d
technical commit
liquid-8 ca9aa33
Technical fixes
liquid-8 75aad02
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 f828082
Merge pull request #419 from liquid-8/uniswap4_RC
liquid-8 7d0921b
pre-commit formatter/linter
liquid-8 85cab6b
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 ffe15eb
fix pyproject.toml
liquid-8 847edf9
Merge pull request #420 from liquid-8/uniswap4_RC
liquid-8 ebc8d8c
ci: update GitHub Actions to supported versions
ErikBjare 444a6cf
ci: fix python version output quoting in workflow
ErikBjare 943bd88
build(deps): update poetry.lock
ErikBjare 58154f8
typecheck fixes
liquid-8 fa9f716
review fixes
liquid-8 7c689ce
Merge pull request #421 from liquid-8/uniswap4_RC
liquid-8 0a8cf4c
poetry.lock update
liquid-8 9b3e096
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 4a7775e
Merge pull request #422 from liquid-8/uniswap4_RC
liquid-8 d3188f2
more typecheck fixes
liquid-8 5950b0d
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 1c7a137
Merge pull request #423 from liquid-8/uniswap4_RC
liquid-8 76aa5da
more typecheck
liquid-8 c521110
get_token fix
liquid-8 ed129b0
Merge pull request #424 from liquid-8/uniswap4_RC
liquid-8 feee9d1
PositionDescriptor support; PositionManager read methods support; misc
liquid-8 f8e435c
fixes
liquid-8 41dbad6
Merge pull request #425 from liquid-8/uniswap4_RC
liquid-8 3492c3f
PositionManager full support; PoolManager full support; contracts-rel…
liquid-8 cc8c5f1
fixes
liquid-8 e3287ec
Merge pull request #426 from liquid-8/uniswap4_RC
liquid-8 d8e724e
review fixes
liquid-8 66ca74d
extra fix
liquid-8 293add0
Merge pull request #427 from liquid-8/uniswap4_RC
liquid-8 149aba1
poetry.lock fix
liquid-8 e3c3226
Merge pull request #428 from liquid-8/uniswap4_RC
liquid-8 0228e5d
v4 test prototype
liquid-8 9bf1d9b
Update uniswap/uniswap4.py
liquid-8 43c7927
Update tests/v4tests.py
liquid-8 94da45f
fix
liquid-8 b070366
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 4d08576
Merge pull request #429 from liquid-8/uniswap4_RC
liquid-8 01f1814
tech commit
liquid-8 4c0eb28
tech fix
liquid-8 b2eb3a0
fix(ci): replace rate-limited Infura with public RPC (#431)
TimeToBuildBob ade1cf8
fix(ci): stop push runs from preferring stale mainnet secret (#432)
TimeToBuildBob e65778b
Added multi-hop quotes support
liquid-8 d32b5dd
review fixes
liquid-8 7608442
Merge pull request #433 from liquid-8/uniswap4_RC
liquid-8 9de6a7e
Checks improvements, small logic fix, multi-hop tests added
liquid-8 4ae4dcb
Merge pull request #434 from liquid-8/uniswap4_RC
liquid-8 be8d61f
Added multi-hop swaps support; added market pricing functions similar…
liquid-8 3257c21
review fix
liquid-8 fbd4d40
Merge branch 'dev/v4-fin' into uniswap4_RC
liquid-8 e06463b
Merge pull request #435 from liquid-8/uniswap4_RC
liquid-8 3100ad0
typecheck fix
liquid-8 e656e23
Merge branch 'uniswap4_RC' of https://github.com/liquid-8/uniswap-pyt…
liquid-8 c0d6463
Improved exceptions handling; get_logs() glitch fix
liquid-8 9f29868
Merge pull request #436 from liquid-8/uniswap4_RC
liquid-8 1922558
Added swap tests; added liquidity read functions; added liquidity tests
liquid-8 52001fe
typo fix
liquid-8 fb53a24
Merge pull request #437 from liquid-8/uniswap4_RC
liquid-8 c07de6b
Fixes: get_poolkeys_sublist() - addresses comparison; estimate_price_…
liquid-8 07fd3d2
Fix: decode_position_info() - truncated poolID decoding
liquid-8 33560f4
Merge pull request #438 from liquid-8/uniswap4_RC
liquid-8 430aa75
Add get_position_value() and get_minted_token_id(); related tests; ti…
liquid-8 06ac6f5
get_amounts_for_liquidity_by_ticks() refactoring; review suggestions …
liquid-8 cee11a7
typecheck glitch fix
liquid-8 209879f
typo
liquid-8 d1bd472
typo
liquid-8 363b136
Merge pull request #439 from liquid-8/uniswap4_RC
liquid-8 46ff1b2
get_sqrt_ratio_at_tick() moved to util.py as it is shared with v3; g…
liquid-8 5738beb
review suggestion
liquid-8 eb2507c
review suggestion
liquid-8 a1b1e75
Merge pull request #440 from liquid-8/uniswap4_RC
liquid-8 442a13c
Add liquidity management methods; add router commands and pool action…
liquid-8 f822a20
quick self-fix
liquid-8 cabaa43
typos
liquid-8 dabed7b
typos
liquid-8 06252a2
Merge pull request #441 from liquid-8/uniswap4_RC
liquid-8 d751447
Changed direct contract call methods naming to improve usability
liquid-8 7bbf69c
typo
liquid-8 68ed908
Merge pull request #442 from liquid-8/uniswap4_RC
liquid-8 0a88dbd
Improve log processing in fetch_poolkey_data(); typos fixed
liquid-8 b0fe04f
Merge pull request #443 from liquid-8/uniswap4_RC
liquid-8 5e927b2
Add fetch_poolkey_data() reconnect functionality
liquid-8 1f0b57d
Merge pull request #444 from liquid-8/uniswap4_RC
liquid-8 e6a77cd
Change fetch_poolkey_data(): param/var renamed and docstring changed …
liquid-8 422e90c
Merge pull request #445 from liquid-8/uniswap4_RC
liquid-8 c2b2dfd
Add universal router prerequisites
liquid-8 094a917
quick fix
liquid-8 2875a3d
Merge pull request #446 from liquid-8/uniswap4_RC
liquid-8 bbdd87e
Add universal router support
liquid-8 8c805ee
Review fixes
liquid-8 04b3b08
Merge pull request #447 from liquid-8/uniswap4_RC
liquid-8 5f59027
review suggestions
liquid-8 9082f43
Review suggestions
liquid-8 548f455
Merge pull request #448 from liquid-8/uniswap4_RC
liquid-8 ffbfd12
Review suggestions
liquid-8 6bbf05c
Merge pull request #449 from liquid-8/uniswap4_RC
liquid-8 670ea44
Fixed custom recipient' logic in swaps; fixed ABIs constants.
liquid-8 7b92231
review fixes
liquid-8 cb74b7a
Merge pull request #450 from liquid-8/uniswap4_RC
liquid-8 5f318d8
Removed custom recipent in swaps; tests added.
liquid-8 9f5bd0c
quick fix
liquid-8 73a517e
Merge pull request #451 from liquid-8/uniswap4_RC
liquid-8 7735238
misc fixes
liquid-8 551fcd4
Merge pull request #452 from liquid-8/uniswap4_RC
liquid-8 5ff88d5
Switch from ganachr to foundry-anvil for v4 tests
liquid-8 1d79532
fix
liquid-8 a0b5b80
fix
liquid-8 6f02fc1
fix
liquid-8 5341275
fix
liquid-8 acf4e4e
fix
liquid-8 43fa444
fix
liquid-8 1dcf975
fix
liquid-8 7bd29c1
fix
liquid-8 dcdae41
fix
liquid-8 6dee9fd
Merge pull request #453 from liquid-8/uniswap4_RC
liquid-8 6fc2b95
Add custom transactions' nonce; custom delay time within approve(); u…
liquid-8 8ac29c0
fix
liquid-8 965cda3
Merge pull request #454 from liquid-8/uniswap4_RC
liquid-8 c9cedc6
ABI fix
liquid-8 11b1373
fix
liquid-8 a4c04b8
Merge pull request #455 from liquid-8/uniswap4_RC
liquid-8 8f78338
Add more v4 tests
liquid-8 2126666
fix
liquid-8 727f600
fix
liquid-8 6f5b6c2
fix
liquid-8 b6138ab
fix
liquid-8 3d9ed0d
fix
liquid-8 aa78cb6
fix
liquid-8 419e76a
fix
liquid-8 ee76a0b
Add more tests
liquid-8 842a5eb
fix
liquid-8 a2b4911
Add liquidity tests
liquid-8 f63a1e7
fix
liquid-8 3a3f3fa
Add swap tests
liquid-8 856f05a
fix
liquid-8 aa8db89
fix
liquid-8 ac4fc43
fix
liquid-8 a98f3ff
fix
liquid-8 ad708f4
Add fetch pool data test
liquid-8 9fd0723
Add the rest of pool data tests
liquid-8 084655f
Add liquidity postions management tests.
liquid-8 73385e2
fix
liquid-8 2d4a0cb
fix
liquid-8 db1b855
fix
liquid-8 81d0258
fix
liquid-8 f9babd9
fix
liquid-8 a00f9e1
fix
liquid-8 a00b884
fix
liquid-8 804b951
fix
liquid-8 88477f5
fix
liquid-8 4e4a12d
fix
liquid-8 ad260bd
fix
liquid-8 4742bff
fix
liquid-8 ac729b4
Core tests
liquid-8 21ea48f
Add StateView and PositionDescriptor tests; liquidity tests reorg.
liquid-8 8215424
fix
liquid-8 1b673c1
fix
liquid-8 59da651
fix
liquid-8 4adc723
fix
liquid-8 62e3cbf
Add StateView and PositionDescriptor tests; liquidity tests reorg.
liquid-8 98365cc
Add Universal_router_execute() tests
liquid-8 ba5fc2a
fix
liquid-8 c830b8a
fix
liquid-8 e67b70c
Add Universal_router_execute() tests
liquid-8 b39f696
Add positive slippage collection
liquid-8 9788275
Fix comments
liquid-8 3834e7e
Fix positive slippage recipient
liquid-8 61a2ba6
Minor fixes.
liquid-8 dbb4343
Fix
liquid-8 382f2fe
Merge pull request #460 from liquid-8/uniswap4_RC
liquid-8 c356784
RC
liquid-8 68779ff
fix
liquid-8 7fe6971
Release candidate
liquid-8 a9cc57b
Docstrings clarification, comments on universal_router_execute() usage
liquid-8 f609454
fix
liquid-8 759d5cf
RC 1
liquid-8 4d19b29
Fix position_manager_permit2_single()
liquid-8 97b6e6f
Merge pull request #464 from liquid-8/uniswap4_RC
liquid-8 75240b7
Fix constructor network handling
liquid-8 1eccd7a
fix
liquid-8 e079370
Merge pull request #465 from liquid-8/uniswap4_RC
liquid-8 791db2d
Docstrings clarification
liquid-8 f249a3c
fix
liquid-8 ce76683
Merge pull request #466 from liquid-8/uniswap4_RC
liquid-8 3217091
Add testnets, minor constructor improvements
liquid-8 16fda28
Docstrings clarification
liquid-8 303de33
Add testnets, minor constructor improvements
liquid-8 4b5c06f
Add router v2.1.1 support; add X Layer, Tempo, Robinhood networks sup…
liquid-8 02ec332
fix
liquid-8 ee08518
abi fix for multihop swap
liquid-8 3b8be2c
fix
liquid-8 930716b
fix
liquid-8 26b5269
tests fix
liquid-8 89c6424
fix singlehop swaps abi, method and tests
liquid-8 f709663
unversal router execute() test fix
liquid-8 475ed70
Maintenance update
liquid-8 029b6c9
Add ReservesLens support
liquid-8 b590ebe
draft fixes
liquid-8 1ca223c
getPoolTVLBatch fix
liquid-8 3ddc049
getPoolTVLBatch params refactoring
liquid-8 5edf31a
docstring clarification
liquid-8 a9490e1
Fix ruff versions clownshow; docstring clarificatiom
liquid-8 dd1a0b8
Add ReservesLens support
liquid-8 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
getPoolTVLBatch params refactoring
- Loading branch information
commit 3ddc04923152a688664559a0174840c80b6c3d66
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.