UNPKG

@forbitswap/lib

Version:

📖 Solidity libraries that are shared across Forbitswap contracts

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