1.1.14 • Published 2 years ago
@gammaswap/v1-liquidator v1.1.14
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
- Run
yarnto install GammaSwap dependencies - Run
yarn testto run hardhat tests - Run
yarn fuzzto run foundry tests (Need foundry binaries installed locally)