daostack / arc

Arc is an operating system for DAOs.
GNU General Public License v3.0
47 stars 25 forks source link

add dictator.sol #752

Closed orenyodfat closed 4 years ago

dkent600 commented 4 years ago

@orenyodfat @jellegerbrandy Would be great if docs like this could be in the code:

https://github.com/daostack/arc/pull/752#pullrequestreview-416941211

orenyodfat commented 4 years ago
  • deploy our daos with the dictator scheme registered, and with dictator.owner set to 0xdaostack
  • call dictator.registerScheme(0xdaostack)
  • and now we can do everything the controller allows us to do from the 0xdaostack account

not exactly :

0xanyarbitraryschemeoraccount can do what ever.

changing ownership of Dictator will be 1 step :

Such a contract is needed to register 0xanyarbitraryschemeoraccount due to the fact that daoFactory can register contracts only.