This commit is contained in:
2022-10-19 13:05:23 +03:00
parent b8793df4f8
commit cd02184d35
11 changed files with 211 additions and 172 deletions
+4
View File
@@ -16,6 +16,10 @@ contract Treasury is RoleControl {
uint256 amount
);
constructor() {
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
}
function initialize(address admin) public initializer {
_setupRole(DEFAULT_ADMIN_ROLE, admin);
}