2017-08-16 09:00:24 +00:00
|
|
|
pragma solidity ^0.4.15;
|
2017-08-08 07:21:17 +00:00
|
|
|
|
|
|
|
import "./MultiSigStub.sol";
|
|
|
|
|
|
|
|
contract MultiSigFactory {
|
|
|
|
|
|
|
|
event Create(address indexed caller, address createdContract);
|
|
|
|
|
2017-11-09 08:26:05 +00:00
|
|
|
function create(address[] owners, uint256 required)
|
|
|
|
public
|
|
|
|
returns (address wallet)
|
|
|
|
{
|
2017-08-16 09:00:24 +00:00
|
|
|
wallet = new MultiSigStub(owners, required);
|
|
|
|
Create(msg.sender, wallet);
|
2017-08-08 07:21:17 +00:00
|
|
|
}
|
2017-08-16 09:00:24 +00:00
|
|
|
|
2017-08-08 07:21:17 +00:00
|
|
|
}
|