-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: redesign and implement the reward vault (#102)
* feat: redesign and implement the reward vault * docs: update design doc * feat: implement RewardVault * feat: add message handler for submitReward * fix: wrong imports * save doc changes * fix: build failure * fix: tests and scripts * fix: slither detector * fix: test * test: add test for withdrawReward * refactor: CustomProxyAdmin should inherit ICustomProxyAdmin * docs: fix comment * refactor: claim => withdrawPrincipal, withdrawPrincipalFromExocore => claimPrincipalFromExocore * docs: add comments * docs: add comments * docs: update docs * docs: update design doc * test: check expected events * test: add unit tests for vault and rewardvault * docs: remove outdated entries in json * docs: fix comments * fix: ai comments * fix: resolve AI comments * Update src/storage/RewardVaultStorage.sol Co-authored-by: Max <[email protected]> --------- Co-authored-by: Max <[email protected]>
- Loading branch information
1 parent
25ba9e0
commit 2481fa9
Showing
52 changed files
with
1,487 additions
and
371 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
Oops, something went wrong.