rotki icon indicating copy to clipboard operation
rotki copied to clipboard

Add status of the Liquity protocol to the frontend

Open yabirgb opened this issue 3 years ago • 1 comments

The collateral ratio of the Liquity protocol is important to detect when liquidations in recovery mode can happen. More at https://docs.liquity.org/faq/recovery-mode. It would be nice to have it in rotki since now you have to visit other frontends to know if your position is safe or not

For this to be added the backend needs to call the contracts and inspect the status of the protocol and the frontend needs to properly display this information.

We need to call https://etherscan.io/address/0xA39739EF8b0231DbFA0DcdA07d7e29faAbCf4bb2#readContract for image

and do

(systemColl * eth price) / (systemDebt * lusd price)

yabirgb avatar Jan 19 '22 20:01 yabirgb

taking this up, @yabirgb

3scava1i3r avatar Sep 04 '23 09:09 3scava1i3r