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

feat: health factor and reflector price oracle #19

Merged
merged 12 commits into from
Aug 26, 2024
Merged

Conversation

Teolhyn
Copy link
Contributor

@Teolhyn Teolhyn commented Aug 22, 2024

  • Included reflector client in to our contracts
  • Fixed some bad references and None checks from their code
  • Added a crude health factor function to loan_manager that uses reflector price data

@Teolhyn Teolhyn requested a review from kovipu August 22, 2024 11:46
Copy link
Contributor

@kovipu kovipu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hyvää kamaa 👍

contracts/loan_manager/src/contract.rs Outdated Show resolved Hide resolved
contracts/loan_manager/src/contract.rs Outdated Show resolved Hide resolved
contracts/loan_manager/src/contract.rs Outdated Show resolved Hide resolved
contracts/loan_manager/src/contract.rs Show resolved Hide resolved
contracts/loan_manager/src/oracle.rs Show resolved Hide resolved
contracts/loan_pool/src/contract.rs Show resolved Hide resolved
@Teolhyn Teolhyn merged commit 47be05c into main Aug 26, 2024
4 checks passed
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.

2 participants