aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol')
-rw-r--r--packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol27
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol b/packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol
deleted file mode 100644
index c87438fa4..000000000
--- a/packages/contracts/src/1.0.0/Ownable/Ownable_v1.sol
+++ /dev/null
@@ -1,27 +0,0 @@
-pragma solidity ^0.4.11;
-
-/*
- * Ownable
- *
- * Base contract with an owner.
- * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.
- */
-
-contract Ownable_v1 {
- address public owner;
-
- function Ownable_v1() {
- owner = msg.sender;
- }
-
- modifier onlyOwner() {
- require(msg.sender == owner);
- _;
- }
-
- function transferOwnership(address newOwner) onlyOwner {
- if (newOwner != address(0)) {
- owner = newOwner;
- }
- }
-}