@123swap/123swap-lib 中文文档教程
OneTwoThree Swap Lib
跨 Uniswap 合约共享的 Solidity 库。 这些图书馆专注于安全和气体效率。
Install
运行 yarn
以安装依赖项。
Test
运行 yarn test
来执行测试套件。
Usage
通过 yarn add @123swap/123swap-lib
在另一个项目中安装它,
然后通过以下方式导入合约:
import "@123swap/123swap-lib/contracts/access/Ownable.sol";
OneTwoThree Swap Lib
Solidity libraries that are shared across Uniswap contracts. These libraries are focused on safety and gas efficiency.
Install
Run yarn
to install dependencies.
Test
Run yarn test
to execute the test suite.
Usage
Install this in another project via yarn add @123swap/123swap-lib
Then import the contracts via:
import "@123swap/123swap-lib/contracts/access/Ownable.sol";