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

Fixes Issue #147 - Imprecise bounds #167

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

flashburst
Copy link
Contributor

  • Refactored mustBeDuringWithdrawalPeriod to consider the end timestamp to be part of the withdrawal period
  • Refactored withdrawInternal to allow withdrawals on block height where withdrawals can start
  • Refactored mustBeAfterResolutionDeadline to succeed on the resolution deadline timestamp
  • Refactored getFlashFeesInternal to allow lending of whole stablecoin balance of the vault

Fixes #147

- Refactored `mustBeDuringWithdrawalPeriod` to consider the `end` timestamp to be part of the withdrawal period
- Refactored `withdrawInternal` to allow withdrawals on block height where withdrawals can start
- Refactored `mustBeAfterResolutionDeadline` to succeed on the resolution deadline timestamp
- Refactored `getFlashFeesInternal` to allow lending of whole stablecoin balance of the vault
@flashburst flashburst requested a review from heyaibi September 7, 2022 01:57
@flashburst flashburst linked an issue Sep 7, 2022 that may be closed by this pull request
@heyaibi heyaibi merged commit 2f74cf2 into rc2/audit-complete Sep 7, 2022
@heyaibi heyaibi deleted the fix/imprecise-bounds branch September 7, 2022 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OZ] L-04 Imprecise bounds
2 participants