makerdao / bite-keeper

Maker Keeper Framework: Keeper to bite undercollateralized cups.
GNU Affero General Public License v3.0
49 stars 21 forks source link

Should only bite when there is arbitrage opportunity #1

Open ghost opened 6 years ago

ghost commented 6 years ago

The mechanism of incentivising keepers to bite still doesn't exist.

image

ghost commented 6 years ago

Moved from https://github.com/makerdao/keeper/issues/17

ghost commented 6 years ago

Actually it would be nice if bite-keeper could work together with arbitrage-keeper somehow.

Imagine a keeper which is able to determine whether there is a potential arbitrage opportunity before the bite actually takes place, and if it find out there is one then it executes both the bite and the multi-step arbitrage in a single Ethereum transaction using either TxManager or DSProxy for it.

The fact that these two keepers are completely independent of each other right now makes the bite-keeper only lose money and just create arbitrage opportunities for others.

sa-matiny commented 5 years ago

@reverendus Did you find any solutions for doing bite and bust together? I could see transactions doing same thing on Tub contract but I can not find the right code to do that! This is one a sample transaction: https://etherscan.io/tx/0xa325b2ef538cb0e43b1577f3bb0b67911604c04dcc85745e85ba39355f1a9620