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: compound interest #222

Merged
merged 10 commits into from
Aug 9, 2023
Merged

feat: compound interest #222

merged 10 commits into from
Aug 9, 2023

Conversation

pakim249CAL
Copy link
Contributor

Fixes #81

A redone version of #135

Rubilmax
Rubilmax previously approved these changes Aug 4, 2023
test/forge/Math.t.sol Outdated Show resolved Hide resolved
Co-authored-by: Romain Milon <[email protected]>
Signed-off-by: Patrick Kim <[email protected]>
Rubilmax
Rubilmax previously approved these changes Aug 4, 2023
Jean-Grimal
Jean-Grimal previously approved these changes Aug 4, 2023
@pakim249CAL pakim249CAL dismissed stale reviews from Jean-Grimal and Rubilmax via 1deabf9 August 4, 2023 16:32
Jean-Grimal
Jean-Grimal previously approved these changes Aug 4, 2023
MerlinEgalite
MerlinEgalite previously approved these changes Aug 4, 2023
Rubilmax
Rubilmax previously approved these changes Aug 4, 2023
test/forge/Math.t.sol Outdated Show resolved Hide resolved
Co-authored-by: makcandrov <[email protected]>
Signed-off-by: Patrick Kim <[email protected]>
Rubilmax
Rubilmax previously approved these changes Aug 5, 2023
Jean-Grimal
Jean-Grimal previously approved these changes Aug 7, 2023
MerlinEgalite
MerlinEgalite previously approved these changes Aug 9, 2023
MerlinEgalite
MerlinEgalite previously approved these changes Aug 9, 2023
Jean-Grimal
Jean-Grimal previously approved these changes Aug 9, 2023
makcandrov
makcandrov previously approved these changes Aug 9, 2023
@peyha
Copy link

peyha commented Aug 9, 2023

Should we compound continuously ?
continuous_compounding

@pakim249CAL
Copy link
Contributor Author

Should we compound continuously ?

So basically the proposal is to remove the zero floor subs to transform the compounding from every second to continuous compounding, correct? I would welcome that idea in another future PR.

src/libraries/FixedPointMathLib.sol Show resolved Hide resolved
test/forge/Math.t.sol Show resolved Hide resolved
@MathisGD MathisGD merged commit 3de9d77 into main Aug 9, 2023
4 checks passed
@MathisGD MathisGD deleted the feat/compound-1 branch August 9, 2023 20:21
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.

Interest does not compound consistently
8 participants