davidutro

2 min read - Posted 06 Feb 19

Keepers on MakerDAO: Resources

Github: https://github.com/makerdao/developerguides/tree/master/keepers

Keepers

This document contains the necessary resources for partners to implement Keepers - programs that automatically monitor and interact with CDPs and the Dai Credit System.

Prerequisites

This document assumes familiarity with Ethereum, and in-depth knowledge of the Maker platform.

Multi Collateral Dai (MCD) Keepers

Auction Keeper

The Auction Keeper program enables automatic interaction with CDP auctions - more specifically flip (collateral sale), flap (MKR buy and burn), and flop (MKR minting). You can read more about the different auction types here.

This is automated by specifying bidding models that define the decision making process, such as when to bid, how high to bid etc.

Single Collateral Dai (SCD) Keepers

For the current implementation of Dai (SCD) you can utilize the following reference keepers for automation of interactions with the Dai Credit System.

Pymaker

Pymaker is a Python API which provides endpoints to interact with the Maker smart contracts. It exposes most of the functionality of the Maker platform, but most importantly for this guide it can be used to create Keepers - programs that monitor CDPs, and liquidates undercollateralized positions to buy the collateral for arbitraging opportunities.

Based on this, a series of reference Keepers have been developed to carry out specific operations in the Maker system.

Bite Keeper

The Bite Keeper is a very simple implementation which continuously monitors the Dai Credit System for unsafe CDPs, and executes the bite function (liquidation) the moment they become unsafe. This Keeper does not guarantee that you are able to buy the bitten collateral, and thus does not take into account profitability of biting a certain CDP in terms of gas price vs buying collateral.

Arbitrage Keeper

The Arbitrage Keeper monitors arbitrage opportunities in the Dai Credit System by exchanging between the tokens of the system: DAI, WETH and PETH.

CDP Keeper

The CDP Keeper can be used to automatically manage CDPs. Features include:

  • Automatic top up of collateral, if collateral value decreases, and the CDP approaches the liquidation ratio
  • Wiping debt instead of top-up
  • Managing Dai volume

Additional source code and developer docs

Running a keeper node

Multi Collateral Dai

Current Dai credit system implementation (Single Collateral Dai)

Maker platform in general

Need help?

Contact integrate@makerdao.com or #dev channel on chat.makerdao.com

Created with Sketch.Content is"CC-BY-SA 4.0" licensed
Article On-chain
Article Author

David Utrobin

Core Community Lead

5

0

0

0 Comments
Related Articles
Guide to Market Makers for Devs

Github: https://github.com/makerdao/developerguides/tree/master/market-makersMarket Makers This document contains the necessary resources for partners to implement Keepers for Market Making.Prerequisites This document assumes familiarity with Ethereum, and in-depth knowledge of the Maker platform.Exchange Markets An updated list of exchange markets where Dai is traded can be found here.Market Maker Keeper reposMarket Maker Keeper This repository contains a set of Keepers that have been implement

David Utrobin

06 Feb 19

Quick guide - Listing DAI or MKR tokens on exchange

Github page: Quick guide - Listing DAI or MKR tokens on exchange This document contains the necessary resources for an exchange to integrate the DAI and MKR ERC-20 tokens.Prerequisites This document assumes familiarity with Ethereum, how to integrate ERC-20 tokens, and basic knowledge of the Maker platform.Token contracts In order to interact directly with the tokens, you can find the Ethereum mainnet smart contract addresses, source code, and ABIs in the links below. The tokens follow the ERC20

David Utrobin

06 Feb 19