-
-
Save djaramillo021/26de7fcbcc6e09dcbfe68f00a5f786dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.2; | |
contract A { | |
address d; | |
} | |
contract ObjectFactory { | |
event ReturnAddress(address indexed _address); | |
function createObject() returns (address ) { | |
address objectAddress= (new A ()); | |
ReturnAddress(objectAddress); | |
return objectAddress; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment