@xswap/lib
Version:
📖 Solidity libraries that are shared across Xswap contracts
28 lines (16 loc) • 988 B
Markdown
# xswap-lib
[](https://github.com/xswap/xswap-lib/actions?query=workflow%3ATests)
[](https://github.com/xswap/xswap-lib/actions?query=workflow%3A%22Static+Analysis%22)
[](https://github.com/xswap/xswap-lib/actions?query=workflow%3ALint)
[](https://unpkg.com/@xswap/lib@latest/)
Solidity libraries that are shared across Elite Swap 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 @xswap/lib`
Then import the contracts via:
```solidity
import '@xswap/lib/contracts/libraries/Babylonian.sol';
```