web icon indicating copy to clipboard operation
web copied to clipboard

Lending Pool Health

Open twblack88 opened this issue 1 year ago • 1 comments

Overview

logic for pool health needs sanity check on TC lending . borrow assets will display as healthy even if the liquidity will cause massive slippage.

So the concept of health is determinate on your behavior. We need to calculate the math of your entry and display health from your actions, alongside slippage.

References and additional details

Beard wants to investigate relative depth see whatever you're borrowing to understand you're getting the amount you want.

Acceptance Criteria

  • As a user i can see when my borrow isn't going to get close enough to my collateral ratio after slippage.

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

twblack88 avatar Mar 26 '24 20:03 twblack88

Screenshot 2024-04-01 at 6 16 41 PM

  • Currently lending pool health is hardcoded to be always green
  • Pool Status vs Pool Health should be separated concepts
  • @shapeshift/product - to determine naming convention and mock
  • engineering will implement 3 tiers regardless of naming
  • consult TC / TS to see if existing reference implementation or terminology exists

0xean avatar Apr 01 '24 22:04 0xean