Skip to content

Commit

Permalink
SecuritizationManager: POOL_CREATOR role
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlm1996 committed May 25, 2022
1 parent b69d222 commit a41e9ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/interfaces/ISecuritizationManager.sol
Expand Up @@ -14,4 +14,6 @@ abstract contract ISecuritizationManager {
mapping(address => address) public poolToJOT;

mapping(address => bool) public isExistingTGEs;

bytes32 public constant POOL_CREATOR = keccak256('POOL_CREATOR');
}
1 change: 1 addition & 0 deletions contracts/protocol/pool/SecuritizationManager.sol
Expand Up @@ -52,6 +52,7 @@ contract SecuritizationManager is UntangledBase, Factory, ISecuritizationManager
external
whenNotPaused
nonReentrant
onlyRole(POOL_CREATOR)
returns (address)
{
address poolImplAddress = address(registry.getSecuritizationPool());
Expand Down

0 comments on commit a41e9ee

Please sign in to comment.