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
- Run
yarnto install GammaSwap dependencies - Run
yarn testto run hardhat tests - Run
yarn fuzzto run foundry tests (Need foundry binaries installed locally)