open-bounty/contracts/MultiSigFactory.sol

17 lines
372 B
Solidity

pragma solidity ^0.4.18;
import "./MultiSigStub.sol";
contract MultiSigFactory {
event Create(address indexed caller, address createdContract);
function create(address[] owners, uint256 required)
public
returns (address wallet)
{
wallet = new MultiSigStub(owners, required);
Create(msg.sender, wallet);
}
}