Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firm: add logic and test #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

webmass
Copy link

@webmass webmass commented Jul 25, 2023

Hello there!

This PR is to showcase the logic behind the protocol FiRM.

Context:
FiRM is a lending protocol built from scratch by Inverse Finance, with isolated markets and a fixed-rate borrowing rate, the only borrowable asset is the stablecoin DOLA.
User deposits are isolated by collateral types and by user via a system of Personal Collateral Escrow or PCE.

All markets allow borrowing except the INV market (borrowing will be enable later on when a robust price feed is ready).

Let me know if it's enough for your team to take it from there and adapt the code or if I should make a fully working PR ready to be merged (might need some guidance for that case).

Note: the INV oracle price is not valid right now, 0 is used instead.

More infos:
https://www.inverse.finance/firm
https://defillama.com/protocol/inverse-finance-firm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant