@marx-dex/marx-dex-lib
Version:
Solidity libraries that are shared across MarX Decentralized Exchange contracts
27 lines (15 loc) • 950 B
Markdown
# marx-dex-lib
-[](https://github.com/marx-dex-deployer/marx-dex-lib/actions?query=workflow%3ATests)
-[](https://github.com/marx-dex-deployer/marx-dex-lib/actions?query=workflow%3A%22Static+Analysis%22)
-[](https://unpkg.com/@marx-dex/marx-dex-lib@latest/)
Solidity libraries that are shared across MarX Decentralized Exchange 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 @marx-dex/marx-dex-lib`
Then import the contracts via:
```solidity
import '@marx-dex/marx-dex-lib/contracts/libraries/Babylonian.sol';
```