Created
August 9, 2016 18:51
-
-
Save elenadimitrova/9042a508f5e7916a44a643c21063e460 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| mapping(bytes32 => address) public organisations; | |
| function createOrganisation(bytes32 key_) | |
| { | |
| var tokenLedger = new TokenLedger(); | |
| var eternalStorage = new EternalStorage(); | |
| var organisation = new Organisation(tokenLedger, eternalStorage); | |
| eternalStorage.changeOwner(organisation); | |
| organisations[key_] = organisation; | |
| OrganisationCreated(organisation, now); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment