Made some inherit-only contracts internal. (#1433)

* Made some inherit-only contracts internal.

* Added OwnableMock.
This commit is contained in:
Nicolás Venturo
2018-10-18 10:47:35 -03:00
committed by GitHub
parent df3c113711
commit 96d6103e0b
13 changed files with 19 additions and 11 deletions

View File

@ -10,7 +10,7 @@ contract CapperRole {
Roles.Role private cappers;
constructor() public {
constructor() internal {
_addCapper(msg.sender);
}

View File

@ -10,7 +10,7 @@ contract MinterRole {
Roles.Role private minters;
constructor() public {
constructor() internal {
_addMinter(msg.sender);
}

View File

@ -10,7 +10,7 @@ contract PauserRole {
Roles.Role private pausers;
constructor() public {
constructor() internal {
_addPauser(msg.sender);
}

View File

@ -10,7 +10,7 @@ contract SignerRole {
Roles.Role private signers;
constructor() public {
constructor() internal {
_addSigner(msg.sender);
}