Ricochet-Exchange / ricochet-keeper

Keeper for Ricochet Protocol, implemented with Apache Airflow
5 stars 10 forks source link

REX Bank Keeper Workflows - Liquidator #24

Open mikeghen opened 2 years ago

mikeghen commented 2 years ago

This issue is to create a workflow that checks for borrowers that are in liquidation.

There's an existing workflow for updating the bank price. I haven't done much with it but you can use it as a reference for how to interact with the bank. https://github.com/Ricochet-Exchange/ricochet-keeper/blob/v2-workflows/dags/rex_bank_keeper.py

I got started on these bank workflows on the v2-workflows branch, so base your branch off that and PR into v2-workflows when you're done.

Your keeper address will need to be approved to submit prices and liquidate so hmu and I will get you allowlisted.

MrSquiggles13 commented 2 years ago

I would love to attempt this. I dont really know what Im doing but I am willing to get my hands dirty so I can learn more about keepers

shreyaspapi commented 2 years ago

I suggest we need to create a Ricochet-subgraph to get the addresses from deposit event.