-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start erc4626 * add fns from interface * start business logic * add mul_div and tests * simplify math * add fix me comments * fix fmt * fix fmt * add convert_to logic, add metadata impl * reexports * add erc4626 mock * add erc4626 mock * start erc4626 tests * comment out mods and tests to improve performance * add offset config in mock * add overflow assertion and test * add power fn * add erc20reentrant mock * fix interface fns * fix logic, add power * add starting tests-no assets, no shares * fix fmt * clean up power fn * simplify operation * add comments, fix visibility * move fn, remove tests * add test_math mod * add mint to mock vault construction * add full vault tests * fix fmt * fix assertions * add full vault redeem tests * fix fmt * fix fmt * fix fmt * move erc4626 tests to erc4626 dir * add transfer assertion * add reentrancy tests * expose burn in mock * tidy up tests * add default decimals mock * fix deploy fn names * improve helper fn name * fix fmt * add comments, remove unused dep * update branch * fix conflicts * fix fmt * update spdx * add reqs to mul_div, fix spdx * remove duplicate erc4626 in votes * add/fix in-code docs * fix param name * fix comments * add multiple tx tests * fix err msgs * fix comments, fix test * add note to power * use math:: prefix in tests * improve u256_mul_div * remove unused var * remove line * improve var name * add changelog entries * fix version in spdx * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * use corelib pow, remove power fn * add zero addr test * fix max and preview comments * Apply suggestions from code review Co-authored-by: immrsd <[email protected]> * improve interface fmt * re-enable cairo-coverage in CI * tmp lower codecov coverage * tmp increase threshold * Apply suggestions from code review Co-authored-by: immrsd <[email protected]> * fix comment * add LimitConfig comments * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * add HasComponent to traits * fix fmt * fix comments * fix interface comments * tidy up mock * fix fmt * add fees comment to mock * improve comments * add comments to hook fns * fix fmt * improve FeeConfigTrait NOTE * fix fmt * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * fix fmt * remove unused vars * Apply suggestions from code review Co-authored-by: immrsd <[email protected]> * improve docs * improve docs * return max_limit or assets_bal, whichever is less * improve docs * improve mock * fix fmt * improve limit docs * fix fmt * improve comments * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * Update packages/token/src/erc20/extensions/erc4626/erc4626.cairo Co-authored-by: immrsd <[email protected]> * remove trailing space * fix fmt * fix comments --------- Co-authored-by: Eric Nordelo <[email protected]> Co-authored-by: immrsd <[email protected]>
- Loading branch information
1 parent
6dfe58c
commit b2059b0
Showing
17 changed files
with
3,452 additions
and
26 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
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
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.