{"id":20072009,"url":"https://github.com/ackness/many_abis","last_synced_at":"2025-08-22T07:44:11.006Z","repository":{"id":45453833,"uuid":"384000208","full_name":"ackness/many_abis","owner":"ackness","description":"Get different DEX abis easily for block chain developers.","archived":false,"fork":false,"pushed_at":"2024-03-11T08:55:26.000Z","size":236,"stargazers_count":19,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T11:46:54.553Z","etag":null,"topics":["blockchain","dex","python","uniswap"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ackness.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-07-08T04:26:49.000Z","updated_at":"2025-04-08T08:37:02.000Z","dependencies_parsed_at":"2024-03-11T10:04:37.177Z","dependency_job_id":null,"html_url":"https://github.com/ackness/many_abis","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":"0.42105263157894735","last_synced_commit":"a5cd206f4f0b5138bd5d3f17f475ee47f6238fce"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/ackness/many_abis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackness%2Fmany_abis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackness%2Fmany_abis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackness%2Fmany_abis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackness%2Fmany_abis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ackness","download_url":"https://codeload.github.com/ackness/many_abis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackness%2Fmany_abis/sbom","scorecard":{"id":163029,"data":{"date":"2025-08-11","repo":{"name":"github.com/ackness/many_abis","commit":"5c2e131b1de08506109992bfb1254074bfb9e4c4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 2/12 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/ackness/many_abis/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ackness/many_abis/python-publish.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T14:04:58.459Z","repository_id":45453833,"created_at":"2025-08-16T14:04:58.459Z","updated_at":"2025-08-16T14:04:58.459Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606313,"owners_count":24788970,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blockchain","dex","python","uniswap"],"created_at":"2024-11-13T14:33:21.124Z","updated_at":"2025-08-22T07:44:10.978Z","avatar_url":"https://github.com/ackness.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Many Abis\n\n![Version](https://img.shields.io/badge/many--abis-v0.1.9-green)\n![Pypi](https://img.shields.io/pypi/dm/many-abis)\n\n![GitHub Org's stars](https://img.shields.io/github/stars/ackness/many_abis?style=social)\n![GitHub forks](https://img.shields.io/github/forks/ackness/many_abis?style=social)\n\n---\n\nGet different DEX abis easily for blockchain developers.\n\n---\n\nNow we support dex:\n\n---\n\n- arbitrum:\n  - [1] [SushiSwap](https://app.sushi.com/en/swap)\n- avalanche:\n  - [1] [traderjoexyz](https://traderjoexyz.com/#/home)\n- bsc:\n  - [1] [ApeSwap Finance](https://app.apeswap.finance/swap)\n  - [2] [BiSwap](https://exchange.biswap.org/#/swap)\n  - [3] [MDEX (BSC)](https://bsc.mdex.co/#/swap/)\n  - [4] [PancakeSwap v2](https://pancakeswap.finance/swap)\n  - [5] [PancakeSwap v3](https://pancakeswap.finance/swap)\n  - [6] [Uniswap](https://app.uniswap.org/#/swap)\n- bsc-test:\n  - [1] [PancakeSwap v2 (TEST)]()\n  - [2] [PancakeSwap v3 (TEST)](https://pancakeswap.finance/swap?chain:bscTestnet)\n- cronos:\n  - [1] [Mad Meerkat Finance](https://mm.finance/swap)\n- eth:\n  - [1] [Uniswap V2](https://app.uniswap.org/)\n  - [2] [Uniswap V3](https://app.uniswap.org/)\n- fantom:\n  - [1] [SpiritSwap](https://www.spiritswap.finance/)\n  - [2] [SpookySwap](https://spookyswap.finance/)\n- heco:\n  - [1] [MDEX (HECO)](https://ht.mdex.co/#/swap/)\n- kcc:\n  - [1] [KoffeeSwap](https://koffeeswap.exchange/)\n- moonriver:\n  - [1] [Solarbeam](https://app.solarbeam.io/exchange/swap)\n- okx:\n  - [1] [CherrySwap](https://www.cherryswap.net/)\n- polygon:\n  - [1] [QuickSwap](https://quickswap.exchange/)\n- optimism:\n  - [1] [Uniswap V3](https://app.uniswap.org/#/swap)\n  - [2] [Velodrome V1](https://app.velodrome.finance/swap)\n\n---\n\n## Installation\n\n- Download\n\n```bash\npip install many-abis\n\n# pypi\npip install -i https://pypi.org/simple many-abis\n\n# update\npip install -U many-abis\n# or\npip install -U -i https://pypi.org/simple many-abis\n```\n\n## Usage\n\n```python\nimport many_abis as ma\n\n# ======================================================================\n# get all abi names\nprint(ma.ALL_ABIS_NAME)\n\n# get all abis\nprint(ma.ABIS)\n\n# you can access ABI by dot name\nprint(ma.ABIS.ERC20)\n\n\n# ======================================================================\n# get abi from address using etherscan api\nma.get_abi_from_address(\n    \"0x0841BD0B734E4F5853f0dD8d7Ea041c241fb0Da6\",\n    \"YOUR API KEY\",\n    ma.CHAIN_CONTRACT_API.BSC\n)\n\n# ======================================================================\n# chains\nchains = ma.all_chains()\nprint(chains)\n# ['arbitrum', 'avalanche', 'bsc', 'bsc-test', 'cronos', 'eth', 'fantom', 'heco', 'kcc', 'moonriver', 'okx', 'polygon', 'optimism']\n\n# different methods to get chain\nbsc = ma.get_chain_by_id(chain_id=56)\nbsc = ma.get_chain_by_name(name=\"bsc\")\nbsc = ma.get_chain(name=\"bsc\")\nbsc = ma.get_chain(chain_id=56)\nbsc = ma.chain(name=\"bsc\")\nbsc = ma.chain(chain_id=56)\nprint(bsc)\n\n# use ['key'] or dot key name to access chain info\nprint(bsc['chain_id'])\n# 56\nprint(bsc.name)\n# Binance Smart Chain Mainnet\nprint(bsc.dex.pancake_v2.router_address)\n# 0x10ED43C718714eb63d5aA57B78B54704E256024E\n\n# to get some items from chain\neth_weth = ma.get('eth', 'weth')\nprint(eth_weth)\n# {'address': '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', 'name': 'Wrapped ETH', 'symbol': 'WETH'}\n\nds = ma.get('bsc', 'dex', 'pancake_v2')\nprint(ds)\n# {'factory_address': '0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73', 'name': 'PancakeSwap v2', 'router_address': '0x10ED43C718714eb63d5aA57B78B54704E256024E', 'website': 'https://pancakeswap.finance/swap'}\n\n# print all dex\nma.print_all_dex()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackness%2Fmany_abis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fackness%2Fmany_abis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackness%2Fmany_abis/lists"}