UNPKG

@sobajaswap/lib

Version:

📖 Solidity libraries that are shared across Sobajaswap contracts

29 lines (17 loc) • 1.23 kB
# sobajaswap-lib [![Tests](https://github.com/Sobajaswap/sobajaswap-lib/workflows/Tests/badge.svg)](https://github.com/Sobajaswap/sobajaswap-lib/actions?query=workflow%3ATests) [![Static Analysis](https://github.com/Sobajaswap/sobajaswap-lib/workflows/Static%20Analysis/badge.svg)](https://github.com/Sobajaswap/sobajaswap-lib/actions?query=workflow%3A%22Static+Analysis%22) [![Lint](https://github.com/Sobajaswap/sobajaswap-lib/workflows/Lint/badge.svg)](https://github.com/Sobajaswap/sobajaswap-lib/actions?query=workflow%3ALint) [![Fuzz Testing](https://github.com/Sobajaswap/sobajaswap-lib/workflows/Fuzz%20Testing/badge.svg)](https://github.com/Sobajaswap/sobajaswap-lib/actions?query=workflow%3A%22Fuzz+Testing%22) [![npm](https://img.shields.io/npm/v/@sobajaswap/lib)](https://unpkg.com/@sobajaswap/lib@latest/) Solidity libraries that are shared across Sobajaswap contracts. This package focuses on safety and execution 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 @sobajaswap/lib` Then import the contracts via: ```solidity import '@sobajaswap/lib/contracts/libraries/Babylonian.sol'; ```