aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol')
-rw-r--r--test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol b/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol
new file mode 100644
index 00000000..8a2efa32
--- /dev/null
+++ b/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimitFactory.sol
@@ -0,0 +1,22 @@
+pragma solidity ^0.4.4;
+import "Factory.sol";
+import "MultiSigWalletWithDailyLimit.sol";
+
+
+/// @title Multisignature wallet factory for daily limit version - Allows creation of multisig wallet.
+/// @author Stefan George - <stefan.george@consensys.net>
+contract MultiSigWalletWithDailyLimitFactory is Factory {
+
+ /// @dev Allows verified creation of multisignature wallet.
+ /// @param _owners List of initial owners.
+ /// @param _required Number of required confirmations.
+ /// @param _dailyLimit Amount in wei, which can be withdrawn without confirmations on a daily basis.
+ /// @return Returns wallet address.
+ function create(address[] _owners, uint _required, uint _dailyLimit)
+ public
+ returns (address wallet)
+ {
+ wallet = new MultiSigWalletWithDailyLimit(_owners, _required, _dailyLimit);
+ register(wallet);
+ }
+}