Skip to content

A simple example of a keeper that integrates with KeeperDAO

License

Notifications You must be signed in to change notification settings

ybankrupt/example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example

An example keeper implementation that uses the KeeperDAO liquidity pool. It will:

  1. Call LiquidityPool.borrow to borrow ETH from the KeeperDAO liquidity pool,
  2. Specify helloCallback as the callback implementing custom keeper logic (this is where arbitrage/liquidation logic would go), and
  3. Implement helloCallback by immediately returning all borrowed ETH, using its own balance to also return some profits.

Checkout the commented code for more information.

Addresses

Contract Address
LiquidityPool 0xAaE0633E15200bc9C50d45cD762477D268E126BD
BorrowProxy 0x9cd7b3747d7bc2f01a1aafd30a11e09f257633e6

About

A simple example of a keeper that integrates with KeeperDAO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 65.3%
  • JavaScript 34.7%