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