-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4db53f
commit 644f3b6
Showing
7 changed files
with
73 additions
and
82 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
pragma solidity 0.8.18; | ||
|
||
// prettier-ignore | ||
library Roles { | ||
uint256 internal constant ADD_STRATEGY_MANAGER = 1; | ||
uint256 internal constant REVOKE_STRATEGY_MANAGER = 2; | ||
uint256 internal constant FORCE_REVOKE_MANAGER = 4; | ||
uint256 internal constant ACCOUNTANT_MANAGER = 8; | ||
uint256 internal constant QUEUE_MANAGER = 16; | ||
uint256 internal constant REPORTING_MANAGER = 32; | ||
uint256 internal constant DEBT_MANAGER = 64; | ||
uint256 internal constant MAX_DEBT_MANAGER = 128; | ||
uint256 internal constant DEPOSIT_LIMIT_MANAGER = 256; | ||
uint256 internal constant WITHDRAW_LIMIT_MANAGER = 512; | ||
uint256 internal constant MINIMUM_IDLE_MANAGER = 1024; | ||
uint256 internal constant PROFIT_UNLOCK_MANAGER = 2048; | ||
uint256 internal constant DEBT_PURCHASER = 4096; | ||
uint256 internal constant EMERGENCY_MANAGER = 8192; | ||
uint256 internal constant ALL = 16383; | ||
} |
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