@uniswap/lib
Version:
📖 Solidity libraries that are shared across Uniswap contracts
29 lines (17 loc) • 1.17 kB
Markdown
# uniswap-lib
[](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ATests)
[](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Static+Analysis%22)
[](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ALint)
[](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Fuzz+Testing%22)
[](https://unpkg.com/@uniswap/lib@latest/)
Solidity libraries that are shared across Uniswap contracts. This package focuses on safety and execution 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 @uniswap/lib`
Then import the contracts via:
```solidity
import '@uniswap/lib/contracts/libraries/Babylonian.sol';
```