2017-07-05 10:28:15 +00:00
|
|
|
pragma solidity ^0.4.11;
|
|
|
|
|
|
|
|
import './StandardToken.sol';
|
|
|
|
import '../lifecycle/Pausable.sol';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Pausable token
|
|
|
|
*
|
|
|
|
* Simple ERC20 Token example, with pausable token creation
|
|
|
|
**/
|
|
|
|
|
|
|
|
contract PausableToken is StandardToken, Pausable {
|
|
|
|
|
2018-07-04 17:20:51 +00:00
|
|
|
function transfer(address _to, uint _value) public whenNotPaused {
|
2017-07-05 10:28:15 +00:00
|
|
|
super.transfer(_to, _value);
|
|
|
|
}
|
|
|
|
|
2018-07-04 17:20:51 +00:00
|
|
|
function transferFrom(address _from, address _to, uint _value) public whenNotPaused {
|
2017-07-05 10:28:15 +00:00
|
|
|
super.transferFrom(_from, _to, _value);
|
|
|
|
}
|
|
|
|
}
|