Skip to content

gammaswap/v1-liquidator

Repository files navigation

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)

About

Liquidation bot for GammaSwap V1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors