uniswap-python::unicorn: Uniswap 交易所的非官方 Python 客户端

上传者: 42136791 | 上传时间: 2022-05-23 11:18:03 | 文件大小: 180KB | 文件类型: ZIP
uniswap-python 的非官方 Python 客户端。 文档可在 功能 一个简单易用的 Python 包装器,适用于所有可用的合约函数和变量 获取价格和代币元数据的基本 CLI 简单解析 Uniswap 合约返回的数据 支持 Uniswap v3(从 v0.5.0 开始) Uniswap v2(从 v0.4.0 开始) Uniswap v1(已弃用) 各种叉子(未经测试,但应该可以工作) Honeyswap (xDai) 煎饼交换(BSC) Sushiswap(主网) 入门 请参阅文档中的入门指南。 测试 单元测试正在使用 pytest 框架进行开发。 欢迎投稿! 使用 ganache-cli 在主网的一个分支上运行测试。 在运行测试之前,您需要使用npm install -g ganache-cli安装它。 要运行完整的测试套件,请在项目目录中将PROVI

文件下载

资源详情

[{"title":"( 42 个子文件 180KB ) uniswap-python::unicorn: Uniswap 交易所的非官方 Python 客户端","children":[{"title":"uniswap-python-master","children":[{"title":"codecov.yml <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"mypy.ini <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"test.yml <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"docs.yml <span style='color:#111;'> 901B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"poetry.lock <span style='color:#111;'> 91.55KB </span>","children":null,"spread":false},{"title":"uniswap","children":[{"title":"exceptions.py <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"util.py <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"token.py <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"uniswap.py <span style='color:#111;'> 43.17KB </span>","children":null,"spread":false},{"title":"decorators.py <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"tokens.py <span style='color:#111;'> 922B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"py.typed <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"types.py <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"uniswap-v1","children":[{"title":"exchange.abi <span style='color:#111;'> 16.75KB </span>","children":null,"spread":false},{"title":"factory.abi <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"uniswap-v2","children":[{"title":"factory.abi <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"router02.abi <span style='color:#111;'> 14.95KB </span>","children":null,"spread":false}],"spread":false},{"title":"erc20.abi <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"uniswap-v3","children":[{"title":"router.abi <span style='color:#111;'> 9.05KB </span>","children":null,"spread":false},{"title":"quoter.abi <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"cli.py <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"constants.py <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"make.bat <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"supported-deployments.rst <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"getting-started.rst <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"examples.rst <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"api.rst <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"cli.rst <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"_static","children":[{"title":"favicon.png <span style='color:#111;'> 14.98KB </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 107.27KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"tests","children":[{"title":"test_cli.py <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"test_uniswap.py <span style='color:#111;'> 11.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 953B </span>","children":null,"spread":false},{"title":"pyproject.toml <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明