anilhelvaci / dapp-pool-lending-protocol

The core of the Agoric economy
9 stars 1 forks source link

A user should be able to adjust their loan #6

Closed anilhelvaci closed 2 years ago

anilhelvaci commented 2 years ago

Users should be able to accomplish all of the below functionalities

anilhelvaci commented 2 years ago

Important test case:

  1. User gets a loan
  2. Someone else also gets a loan thus the total debt of the pool increases
  3. Interest accrues
  4. The first user adjusts their loan by giving more collateral and getting more debt

Expected Behavior