generated from gretzke/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove unused variable * Safe transfer funds out of pocket (#8) * Fix decimal issues (#9) * pre-compute roles and divisor and remove public functions * remove old todos * Cantina #13: Nits (#11) * remove unused imports * use relative imports * remove dead code * remove redundant line of code * add a zero check to functions * add check whether pocket exists * Cantina #8: gas improvements (#10) * use calldata instead of memory * mark assembly block as memory safe * approve once in initializer * more nits (#12) * use calldata instead of memory * mark assembly block as memory safe * approve once in initializer * Add external takeFee function * Make functions external * remove deployer dependency * update interest rate calculation after liquidation * implement share decimals to mitigate inflation attacks * add token checklist * Cantina: Aave fixes (#13) * add div 0 check to balance of * use supply instead of deprecated deposit function * determine overlying token automatically * consistent balanceOf and totalBalance implementation between base and Aave pocket * assert that the actual amount withdrawn is the amount requested to withdraw * check for staleness while minting
- Loading branch information
Showing
49 changed files
with
615 additions
and
473 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/target | ||
/out | ||
/cache | ||
cache | ||
/coverage | ||
lcov.info | ||
.DS_Store | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.