diff --git a/contracts/utils/DAOFactory.sol b/contracts/utils/DAOFactory.sol index e89a8c9d..77d756ea 100644 --- a/contracts/utils/DAOFactory.sol +++ b/contracts/utils/DAOFactory.sol @@ -14,7 +14,12 @@ contract DAOFactory is Initializable { using BytesLib for bytes; using SafeMath for uint256; - event NewOrg (address indexed _avatar); + event NewOrg ( + address indexed _avatar, + address indexed _controller, + address indexed _reputation, + address _daotoken + ); event InitialSchemesSet (address indexed _avatar); event SchemeInstance(address indexed _scheme, string _name); /** @@ -52,7 +57,7 @@ contract DAOFactory is Initializable { */ function forgeOrg ( string calldata _orgName, - bytes calldata _tokenInitData, + bytes calldata _tokenInitData, address[] calldata _founders, uint[] calldata _foundersTokenAmount, uint[] calldata _foundersReputationAmount, @@ -291,7 +296,7 @@ contract DAOFactory is Initializable { locks[address(avatar)].sender = msg.sender; locks[address(avatar)].packageVersion = packageVersion; - emit NewOrg (address(avatar)); + emit NewOrg (address(avatar), address(controller), address(nativeReputation), address(nativeToken)); return (address(avatar)); } diff --git a/package-lock.json b/package-lock.json index d76f7b08..78579e8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@daostack/arc-experimental", - "version": "0.1.1-rc.2", + "version": "0.1.1-rc.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 70ed992b..e0a180c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@daostack/arc-experimental", - "version": "0.1.1-rc.2", + "version": "0.1.1-rc.3", "description": "A platform for building DAOs", "files": [ "contracts/",