aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/token/PausableToken.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/token/PausableToken.sol')
-rw-r--r--test/compilationTests/zeppelin/token/PausableToken.sol21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/compilationTests/zeppelin/token/PausableToken.sol b/test/compilationTests/zeppelin/token/PausableToken.sol
new file mode 100644
index 00000000..8ee114e1
--- /dev/null
+++ b/test/compilationTests/zeppelin/token/PausableToken.sol
@@ -0,0 +1,21 @@
+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 {
+
+ function transfer(address _to, uint _value) whenNotPaused {
+ super.transfer(_to, _value);
+ }
+
+ function transferFrom(address _from, address _to, uint _value) whenNotPaused {
+ super.transferFrom(_from, _to, _value);
+ }
+}