-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce Controller bytecode size (#433)
* feat: getVaultWithDetails() * remove leading 0s * adjust return in hasExpired * adjust return in getPayout * adjust private interfaces * remove duplicate partial and full pauser addresses * interfaces back to public, marginVault error codes * action error strings * try catch * avoid changing slot * test: fix pauser tests * overload isSettlementAllowed * add getOTokenDetails in calculator * refactor isSettlementAllowed * fix action tests * fix controller tests * fix: setPauser * fix: MarginVault error code * fix: integration test error codes * revert partial and full pauser change * test: fix * change functions visibility and update order * test: use getVault() in controller.test.ts * fix: backward compatibility for redeeming * test: backward compatibility' * chore: rename _getOTokenDetail() * docs: update docs & diagrams * fix: typo Co-authored-by: Haythem Sellami <[email protected]> Co-authored-by: Anton Cheng <[email protected]> Co-authored-by: CruzMolina <[email protected]>
- Loading branch information
1 parent
758191c
commit 67a2bff
Showing
51 changed files
with
1,553 additions
and
1,162 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.