Skip to content

Commit

Permalink
separate role for addPool
Browse files Browse the repository at this point in the history
  • Loading branch information
Zokunei committed Aug 24, 2023
1 parent 3faf442 commit a5269b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Reliquary.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ contract Reliquary is
string memory name,
address _nftDescriptor,
bool allowPartialWithdrawals
) external override onlyRole(OPERATOR) {
) external override onlyRole(DEFAULT_ADMIN_ROLE) {
if (_poolToken == rewardToken) revert RewardTokenAsPoolToken();
if (requiredMaturities.length == 0) revert EmptyArray();
if (requiredMaturities.length != levelMultipliers.length) revert ArrayLengthMismatch();
Expand Down

0 comments on commit a5269b9

Please sign in to comment.