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

L-08, M-02 (OZ Audit) #30

Merged
merged 4 commits into from Jan 17, 2024
Merged

L-08, M-02 (OZ Audit) #30

merged 4 commits into from Jan 17, 2024

Conversation

HrikB
Copy link
Collaborator

@HrikB HrikB commented Jan 4, 2024

Dependencies (Must be merged before this PR is merged)

Functions like balanceOf() and totalSupply() now return values based on if there was a hypothetical accrueInterest() on the block it is queried. This means these function update every block.

Some function have a storage-persisted version (like totalSupplyUnaccrued())

This change also implicitly fixes the issue of Liquidation.sol using a potentially outdated rate. (M-02)

…ued values (like balanceOf()). Also have non-accrued versions where necessary (like totalSupplyUnaccrued())
@HrikB HrikB changed the base branch from master to hrikb/M-07 January 4, 2024 21:33
@HrikB HrikB requested a review from junkim012 January 4, 2024 21:38
@HrikB HrikB changed the title L-08 (OZ Audit) M-02, L-08 (OZ Audit) Jan 8, 2024
@HrikB HrikB mentioned this pull request Jan 14, 2024
@HrikB HrikB changed the title M-02, L-08 (OZ Audit) L-08, M-02 (OZ Audit) Jan 17, 2024
@HrikB HrikB merged commit b1ee5d5 into hrikb/M-07 Jan 17, 2024
@HrikB HrikB deleted the hrikb/L-08 branch January 17, 2024 20:03
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.

None yet

1 participant