Skip to content

Conversation

@aalavandhan
Copy link
Member

  1. Vault's min liquidity constraints are enforced universally before rollover and after swaps
  2. The limiting percentage parameter is a percentage of vault's neutral TVL

@openzeppelin-code
Copy link

openzeppelin-code bot commented Sep 8, 2024

Updated liquidity check condition based on system subscription ratio

Generated at commit: f9ec506b909dd06229f9c8967f0888605184143c

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
0
0
0
3
23
26
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@brandoniles
Copy link
Member

Approving, but assuming we'll recommend setting this to zero

@aalavandhan
Copy link
Member Author

Yes. We'll rely on existing dr checks to limit swaps. We can view this an emergency leaver, to limit rollovers.

@aalavandhan aalavandhan merged commit 8c4f781 into main Sep 13, 2024
@aalavandhan aalavandhan deleted the liq-check branch September 13, 2024 03:08
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.

4 participants