forked from compound-finance/compound-protocol
-
Notifications
You must be signed in to change notification settings - Fork 14
Fuse fixed accounting #10
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
Open
sriyantra
wants to merge
30
commits into
fuse-reactive-audit
Choose a base branch
from
fuse-fixed-accounting
base: fuse-reactive-audit
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
78c15b2
reentrancy fix
sriyantra a35a047
Fix Etherscan warning from checkpointInterest
davidlucid d524f98
Code comments
davidlucid 8c79124
Revert "Fix Etherscan warning from checkpointInterest"
davidlucid e84e42e
Create CEtherDelegateTempExploitAccounting.sol
davidlucid 1194e20
Update CEtherDelegateTempExploitAccounting.sol
davidlucid 5428a94
CEtherDelegateTempExploitAccounting: support multiple secondary accounts
davidlucid bdaee36
Hardhat tests
davidlucid 79ca176
Fix quantities in tests to consider min borrow
davidlucid e5c2c23
Test with real-life exploit code
davidlucid 79f93e7
Add fix script for testing
davidlucid b8b3187
Update hardhat.config.js
davidlucid da2497a
Update CEtherDelegateTempExploitAccounting.sol
davidlucid dc52214
Create hardhat/test/fix-accounting.js
davidlucid 7aa950a
More assertions!
davidlucid 36b83a2
add accrueInterest()
sriyantra 4567caf
Revert "add accrueInterest()"
sriyantra 1878d56
add accrueInterest()
sriyantra a3c0d58
inherit CEther
sriyantra 21e9d21
doTransferIn() CEI
sriyantra 91386dc
Revert "doTransferIn() CEI"
sriyantra e5c344b
remove unused
sriyantra 34c4dd3
Merge branch 'fuse-fixed-accounting' of https://github.com/Rari-Capit…
sriyantra db1a653
format
sriyantra f39cfad
Update CEtherDelegateTempExploitAccounting.sol
sriyantra be592b8
fix comment
sriyantra cc29449
add borrowIndex update
sriyantra 02dbeef
simplify statement
sriyantra 852dd96
Remove unnecessary code
davidlucid 5fea929
Simplify CEtherDelegateTempExploitAccounting
davidlucid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.