# marx-dex-lib

-[![Tests](https://github.com/marx-dex-deployer/marx-dex-lib/workflows/Tests/badge.svg)](https://github.com/marx-dex-deployer/marx-dex-lib/actions?query=workflow%3ATests)
-[![Static Analysis](https://github.com/marx-dex-deployer/marx-dex-lib/workflows/Static%20Analysis/badge.svg)](https://github.com/marx-dex-deployer/marx-dex-lib/actions?query=workflow%3A%22Static+Analysis%22)
-[![npm](https://img.shields.io/npm/v/@marx-dex/marx-dex-lib)](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';

```
