{"id":18484407,"url":"https://github.com/giveth/univ3-liquidity-calc","last_synced_at":"2025-08-28T08:31:28.909Z","repository":{"id":66358905,"uuid":"457895104","full_name":"Giveth/univ3-liquidity-calc","owner":"Giveth","description":"Some back-of-the envelope calculation for uniV3 liquidity and liquidity ratio calculation","archived":false,"fork":false,"pushed_at":"2022-02-10T18:21:34.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-12-20T23:32:40.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Giveth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-10T18:13:04.000Z","updated_at":"2023-01-12T01:31:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8900bf6b-223a-42dd-841d-34ad86f9044d","html_url":"https://github.com/Giveth/univ3-liquidity-calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Funiv3-liquidity-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Funiv3-liquidity-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Funiv3-liquidity-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giveth%2Funiv3-liquidity-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Giveth","download_url":"https://codeload.github.com/Giveth/univ3-liquidity-calc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231242767,"owners_count":18346603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T12:39:42.473Z","updated_at":"2024-12-25T14:08:35.077Z","avatar_url":"https://github.com/Giveth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# univ3-liquidity-calc\n\nSome back-of-the envelope calculation for uniV3 liquidity and liquidity ratio calculation.\n\n## Computed values\n\nLet:\n- **rL** - liquidity in-range\n- **tL** - total liquidity in the pool (all positions)\n\nWe find:\n- **cR** - concentration ratio \n\n\ncR = rL/tL\n\n## Usage\n\nJust run the `calc-liq-ratio.py` script, the output will be printed to stdout.\n\nThe script is configured to query the GIV/WETH 0.3% pool on UniV3 at `0xc763b6b3d0f75167db95daa6a0a0d75dd467c4e1`. \n\nYou can pass an alternative pool address as the first parameter.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Funiv3-liquidity-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiveth%2Funiv3-liquidity-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiveth%2Funiv3-liquidity-calc/lists"}