@swoop-exchange/lib

📖 Solidity libraries that are shared across Swoop contracts

Usage no npm install needed!

<script type="module">
  import swoopExchangeLib from 'https://cdn.skypack.dev/@swoop-exchange/lib';
</script>

README

swoop-lib

Actions Status npm

Solidity libraries that are shared across Swoop 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 @swoop-exchange/lib

Then import the contracts via:

import "@swoop-exchange/lib/contracts/libraries/Babylonian.sol";