Skip to content

Commit

Permalink
Update NewOrg event (#702)
Browse files Browse the repository at this point in the history
* Update NewOrg event

* Index
  • Loading branch information
ben-kaufman authored and orenyodfat committed Dec 31, 2019
1 parent 88d15dd commit 75245d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions contracts/utils/DAOFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
/**
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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));
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down

0 comments on commit 75245d5

Please sign in to comment.