forked from stader-labs/ethx
-
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.
permission fixes across contracts (stader-labs#86)
* permission fixes across contracts * move constant role to config * permission implementation in config * move onlyRole check to UtilLib * move default admin role to UtilLib * pushed more permission changes * rollback default admin changes * Added permissions in few contracts (stader-labs#88) * fix: DefiWind TODOs (stader-labs#85) * sd collateral init refactor * reorder imports * rename AddressLib, use safeERC20 * minor: redundant code removal * replace `require` with custom errors * parameterized custom errors * remove unused custom errors * add methods in interface * remove safeERC20 * remove unused config in `staderConfig` * add staderConfig setter * added events * minor improvements * remove `_` from internal functions * minor changes * resolve todo init * sd price consensus impl * resolved todos * reminder comment * removed resolved todos * moved OperatorPoolId impl to PoolFactory * removed unwanted comment * slash SD on higher penalty * removed unwanted comments * converted ETHx to upgradeable token * method rename * separate update frequecies for different oracles * slash penalty SD * todo for sanjay to discuss * remove resolved todos * convert sd withdraw into 2 step process * minor change * removed ERC20Burnable * resolved PR comments * added a todo * PR comments resolves * typo * updated permissions * review fixes * minor refactor * minor improvements --------- Co-authored-by: Sanjay Yadav <[email protected]> Co-authored-by: Manoj Patra <[email protected]>
- Loading branch information
1 parent
0565f2d
commit 85fd1e5
Showing
33 changed files
with
386 additions
and
376 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
Oops, something went wrong.