comit-network / waves

Workspace for project waves - bringing DeFi to Liquid.
MIT License
15 stars 6 forks source link

More functional Borrowing + Validation by lender #217

Open da-kami opened 3 years ago

da-kami commented 3 years ago

At the moment there is some logic to check if a loan is acceptable for the lender, but it is not complete. E.g. min/max principal is not checked, and we don't keep state for what interest rate packages are acceptable to compare against them.

Both Bobtimus and the frontend should at least include:

Note: For now same interest rate for all slots is fine.