liquid-funding/contracts/test/TestSimpleProjectPluginFactory.sol
perissology 8b629d3bd7 add plugin whitelist
fixes #33
2017-11-16 15:15:32 -08:00

20 lines
483 B
Solidity

pragma solidity ^0.4.11;
import "./TestSimpleProjectPlugin.sol";
import "../LiquidPledging.sol";
// simple factory for deploying TestSimpleProjectPlugin.sol contract
contract TestSimpleProjectPluginFactory {
function deploy(
LiquidPledging liquidPledging,
string name,
string url,
uint64 parentProject
) {
TestSimpleProjectPlugin p = new TestSimpleProjectPlugin();
p.init(liquidPledging, name, url, parentProject);
}
}