@polarfox/lib
Version:
📖 Solidity libraries that are shared across Polarfox contracts. Adapted from Uniswap.
30 lines (18 loc) • 1.35 kB
Markdown
# polarfox-lib
[](https://github.com/Polarfox-Labs-Research/polarfox-lib/actions?query=workflow%3ATests)
[](https://github.com/Polarfox-Labs-Research/polarfox-lib/actions?query=workflow%3A%22Static+Analysis%22)
[](https://github.com/Polarfox-Labs-Research/polarfox-lib/actions?query=workflow%3ALint)
[](https://github.com/Polarfox-Labs-Research/polarfox-lib/actions?query=workflow%3A%22Fuzz+Testing%22)
[](https://unpkg.com/@polarfox/lib@latest/)
Solidity libraries that are shared across Polarfox contracts. This package focuses on safety and execution gas efficiency.
Adapted from Uniswap.
## Install
Run `yarn` to install dependencies.
## Test
Run `yarn test` to execute the test suite.
## Usage
Install this in another project via `yarn add @polarfox/lib`
Then import the contracts via:
```solidity
import '@polarfox/lib/contracts/libraries/Babylonian.sol';
```