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

disallow ramping the LTV up #62

Merged
merged 3 commits into from
Mar 21, 2024
Merged

disallow ramping the LTV up #62

merged 3 commits into from
Mar 21, 2024

Conversation

dglowinski
Copy link
Collaborator

No description provided.

LTVConfig memory origLTV = marketStorage.ltvLookup[collateral];
LTVConfig memory newLTV = origLTV.setLTV(ltv.toConfigAmount(), rampDuration);

// If new LTV is higher than the previous, or the same, it should take effect immediatelly
Copy link
Contributor

Choose a reason for hiding this comment

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

s/immediatelly/immediately/

@hoytech hoytech merged commit 1f0feb3 into master Mar 21, 2024
4 checks passed
@hoytech hoytech deleted the no-ltv-ramp-up branch March 21, 2024 18:27
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