Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makerdao/clipper-mom-keeper
https://github.com/makerdao/clipper-mom-keeper
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/makerdao/clipper-mom-keeper
- Owner: makerdao
- License: agpl-3.0
- Created: 2021-10-08T18:48:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-26T14:53:47.000Z (about 3 years ago)
- Last Synced: 2023-04-04T02:07:01.381Z (almost 2 years ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clipper-mom-keeper
This keeper checks the clipper-mom for each collateral type to see if it
can call the `tripBreaker()` call. This check happens every new block. If the
function can be called, it will execute the transaction and trip the breaker
for liquidations, thus preventing any liquidations for this collateral type.The typical condition to trip the breaker is that the asset price has fallen
more than 50% in a one hour period.## Install
```
npm install
```## Make configuration changes
Simply edit index.js and change `WS_RPC` to your webocket URL.## Run
```
npm start
```