@gnosis.pm/conditional-tokens-contracts

中文文档
1.0.3发布于 2020/09/18LGPL-3.0近 30 天下载 4918

Collection of smart contracts for the conditional tokens

原始使用文档

Conditional Tokens Contracts

.. image:: https://travis-ci.org/gnosis/conditional-tokens-contracts.svg?branch=master :target: https://travis-ci.org/gnosis/conditional-tokens-contracts :alt: Build Status

.. image:: https://badges.greenkeeper.io/gnosis/conditional-tokens-contracts.svg :target: https://greenkeeper.io/ :alt: Greenkeeper badge

Smart contracts for conditional tokens.

→ Online Documentation_

.. _→ Online Documentation: https://docs.gnosis.io/conditionaltokens/

The conditional tokens contracts are deployed at the following addresses:

  • Mainnet: 0xC59b0e4De5F1248C1140964E0fF287B192407E0C
  • xDai: 0xCeAfDD6bc0bEF976fdCd1112955828E00543c0Ce
  • Rinkeby: 0x36bede640D19981A82090519bC1626249984c908

License

All smart contracts are released under the LGPL 3.0_ license.

Security and Liability


All contracts are **WITHOUT ANY WARRANTY**; *without even* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

.. _LGPL 3.0: https://www.gnu.org/licenses/lgpl-3.0.en.html

版本与发布记录

@gnosis.pm/conditional-tokens-contracts 共发布 10 个版本,首次发布于 2019/08/08;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.3latest2020/09/186 年前
1.0.22020/09/176 年前
1.0.12019/12/096 年前
1.0.02019/12/096 年前
0.5.42019/11/047 年前
0.5.32019/09/257 年前

关于 @gnosis.pm/conditional-tokens-contracts 的常见问题

@gnosis.pm/conditional-tokens-contracts 是什么?

Collection of smart contracts for the conditional tokens

如何安装 @gnosis.pm/conditional-tokens-contracts?

在项目目录运行 npm install @gnosis.pm/conditional-tokens-contracts,或使用 pnpm add / yarn add / bun add。

@gnosis.pm/conditional-tokens-contracts 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/gnosis.pm__conditional-tokens-contracts 是否存在。

@gnosis.pm/conditional-tokens-contracts 可以商用吗?

@gnosis.pm/conditional-tokens-contracts 使用 LGPL-3.0 许可。弱 Copyleft:作为库被调用时通常不要求开源你自己的代码,但修改库本身需以 LGPL 开源;前端打包合并后的适用边界存在不同理解。以上为概括,不构成法律意见,请以许可原文为准。

@gnosis.pm/conditional-tokens-contracts 的下载量有多少?

根据 npm 官方下载统计,@gnosis.pm/conditional-tokens-contracts 在 2026/10/17 – 2026/11/15 这 30 天内被下载 4,918 次,日均约 164 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@gnosis.pm/conditional-tokens-contracts 还在维护吗?

最新版本 1.0.3 发布于 2020/09/18(6 年前);至今共发布 10 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/08/08。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。