Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Uniswap/solidity-lib
📖 Solidity libraries that are shared across Uniswap contracts
https://github.com/Uniswap/solidity-lib
Last synced: 26 days ago
JSON representation
📖 Solidity libraries that are shared across Uniswap contracts
- Host: GitHub
- URL: https://github.com/Uniswap/solidity-lib
- Owner: Uniswap
- License: gpl-3.0
- Archived: true
- Created: 2020-04-20T18:35:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T10:06:22.000Z (over 3 years ago)
- Last Synced: 2024-07-28T15:49:53.518Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 995 KB
- Stars: 146
- Watchers: 8
- Forks: 282
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-uniswap - Uniswap library - Solidity libraries that are shared across Uniswap contracts. This package focuses on safety and execution gas efficiency. (Implementations / Uniswap V3)
README
# uniswap-lib
[![Tests](https://github.com/Uniswap/uniswap-lib/workflows/Tests/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ATests)
[![Static Analysis](https://github.com/Uniswap/uniswap-lib/workflows/Static%20Analysis/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Static+Analysis%22)
[![Lint](https://github.com/Uniswap/uniswap-lib/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ALint)
[![Fuzz Testing](https://github.com/Uniswap/uniswap-lib/workflows/Fuzz%20Testing/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Fuzz+Testing%22)
[![npm](https://img.shields.io/npm/v/@uniswap/lib)](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';```