dbswap-lib

📖 Solidity libraries that are shared across dbswap contracts

Usage no npm install needed!

<script type="module">
  import dbswapLib from 'https://cdn.skypack.dev/dbswap-lib';
</script>

README

dbswap-lib

Solidity libraries that are shared across DBswap 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 dbswap-lib

Then import the contracts via:

import "dbswap-lib/contracts/libraries/Babylonian.sol";