token-lists:令牌列表规范

时间:2024-04-07 06:09:50
【文件属性】:

文件名称:token-lists:令牌列表规范

文件大小:117KB

文件格式:ZIP

更新时间:2024-04-07 06:09:50

tokens erc20 uniswap TypeScript

@ uniswap /令牌列表(测试版) 该软件包包括用于令牌列表的JSON模式,以及用于处理令牌列表的TypeScript实用程序。 JSON模式代表令牌列表的技术规范,该令牌列表可在dApp界面(例如Uniswap界面)中使用。 什么是令牌列表? Uniswap令牌列表是一种规范,用于令牌元数据列表(例如地址,小数等),可以由需要一个或多个令牌列表的任何dApp接口使用。 只要遵循规范,任何人都可以创建和维护令牌列表。 具体来说,令牌列表的一个实例是一个 Blob,其中包含用于dApp用户界面的令牌元数据的列表。令牌列表JSON必须针对进行验证才能在Uniswap接口中使用。标记列表上的标记以及标记列表本身已被标记,以便用户可以轻松地找到标记。 JSON模式$ id JSON模式ID为 验证令牌列表 该软件包不包括用于令牌列表验证的代码。您可以通过包含的库来轻松执行此操作,以针


【文件预览】:
token-lists-master
----.github()
--------workflows()
----src()
--------types.ts(689B)
--------index.ts(300B)
--------versionComparator.ts(817B)
--------minVersionBump.ts(679B)
--------isVersionUpdate.ts(279B)
--------diffTokenLists.ts(3KB)
--------getVersionUpgrade.ts(835B)
--------tokenlist.schema.json(8KB)
--------nextVersion.ts(757B)
----DEVELOPMENT.md(930B)
----tsconfig.json(559B)
----LICENSE(1KB)
----test()
--------nextVersion.test.ts(2KB)
--------minVersionBump.test.ts(1KB)
--------types.test.ts(341B)
--------getVersionUpgrade.test.ts(3KB)
--------tokenlist.schema.test.ts(3KB)
--------__snapshots__()
--------versionComparator.test.ts(2KB)
--------diffTokenLists.test.ts(2KB)
--------isVersionUpdate.test.ts(2KB)
--------schema()
----README.md(5KB)
----.gitignore(27B)
----package-lock.json(351KB)
----package.json(968B)

网友评论