An example keeper implementation that uses the KeeperDAO liquidity pool. It will:
- Call
LiquidityPool.borrow
to borrow ETH from the KeeperDAO liquidity pool, - Specify
helloCallback
as the callback implementing custom keeper logic (this is where arbitrage/liquidation logic would go), and - Implement
helloCallback
by immediately returning all borrowed ETH, using its own balance to also return some profits.
Checkout the commented code for more information.
Contract | Address |
---|---|
LiquidityPool | 0xAaE0633E15200bc9C50d45cD762477D268E126BD |
BorrowProxy | 0x9cd7b3747d7bc2f01a1aafd30a11e09f257633e6 |