WIP Target contract creation via factory pattern

This commit is contained in:
Makoto Inoue
2016-10-22 23:29:13 +01:00
parent 334073a64f
commit 47b2c6d668
3 changed files with 18 additions and 2 deletions

View File

@ -5,3 +5,9 @@ contract InsecureTargetMock {
return false;
}
}
contract Deployer {
function deployContract() returns (address) {
return new InsecureTargetMock();
}
}