Browse Source

Rejector base class

Manuel Araoz 9 years ago
parent
commit
01992ec32e
1 changed files with 8 additions and 0 deletions
  1. 8 0
      contracts/Rejector.sol

+ 8 - 0
contracts/Rejector.sol

@@ -0,0 +1,8 @@
+/*
+ * Rejector
+ * Base contract for rejecting direct deposits.
+ * Fallback function throws immediately.
+ */
+contract Rejector {
+  function() { throw; }
+}