@gammaswap/v1-liquidator

1.1.14 • Public • Published

Gammaswap logo

Compile/Test

V1-Liquidator

Description

This is the repository for the liquidation bot smart contract for the GammaSwap V1 protocol. The tests for the CPMM implementation of GammaSwap pools that use the UniswapV2 AMM (v1-implementations repo) are also found here.

Tests run against DeltaSwap. To run tests against UniswapV2 change IS_DELTASWAP to false in CPMMGammaSwapSetup.sol

Steps to Run GammaSwap Tests Locally

  1. Run yarn to install GammaSwap dependencies
  2. Run yarn test to run hardhat tests
  3. Run yarn fuzz to run foundry tests (Need foundry binaries installed locally)

Package Sidebar

Install

npm i @gammaswap/v1-liquidator

Weekly Downloads

2

Version

1.1.14

License

GPL-v3

Unpacked Size

2.97 MB

Total Files

135

Last publish

Collaborators

  • rmart
  • dam417