add explicit initializers

This commit is contained in:
Francisco Giordano
2018-05-18 21:45:34 -03:00
parent 32e93579fa
commit 27a6a15d66
2 changed files with 10 additions and 2 deletions

View File

@ -8,13 +8,17 @@ import "../ownership/Ownable.sol";
* @title Pausable
* @dev Base contract which allows children to implement an emergency stop mechanism.
*/
contract Pausable is Ownable {
contract Pausable is Migratable, Ownable {
event Pause();
event Unpause();
bool public paused = false;
function initialize(address _sender) isInitializer("Pausable", "1.9.0-beta") {
Ownable.initialize(_sender);
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*/