aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol')
-rw-r--r--packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol b/packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol
new file mode 100644
index 000000000..7e22d544d
--- /dev/null
+++ b/packages/contracts/src/1.0.0/Ownable/IOwnable_v1.sol
@@ -0,0 +1,18 @@
+pragma solidity ^0.4.19;
+
+/*
+ * 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 IOwnable_v1 {
+
+ function owner()
+ public view
+ returns (address);
+
+ function transferOwnership(address newOwner)
+ public;
+}