UNPKG

@eliteswap/lib

Version:

📖 Solidity libraries that are shared across Elite Swap contracts

28 lines (16 loc) • 1.07 kB
# eliteswap-lib [![Tests](https://github.com/EthereumEliteswap/eliteswap-lib/workflows/Tests/badge.svg)](https://github.com/EthereumEliteswap/eliteswap-lib/actions?query=workflow%3ATests) [![Static Analysis](https://github.com/EthereumEliteswap/eliteswap-lib/workflows/Static%20Analysis/badge.svg)](https://github.com/EthereumEliteswap/eliteswap-lib/actions?query=workflow%3A%22Static+Analysis%22) [![Lint](https://github.com/EthereumEliteswap/eliteswap-lib/workflows/Lint/badge.svg)](https://github.com/EthereumEliteswap/eliteswap-lib/actions?query=workflow%3ALint) [![npm](https://img.shields.io/npm/v/@eliteswap/lib)](https://unpkg.com/@eliteswap/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 @eliteswap/lib` Then import the contracts via: ```solidity import '@eliteswap/lib/contracts/libraries/Babylonian.sol'; ```