Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gammaswap/v1-liquidator

Liquidation bot for GammaSwap V1
https://github.com/gammaswap/v1-liquidator

Last synced: about 1 month ago
JSON representation

Liquidation bot for GammaSwap V1

Awesome Lists containing this project

README

        



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)