Lesson 11: Create Board of Directors
Difficulty: high.
These DAO Modules will be created:
Board of DirectorsDirectors voting token
These Aira DAO Modules will be used:
Board of Directors builderBoard of DirectorsDirectors voting tokenShareholder token
Lesson description
Currently your DAO has no elected board of directors. Each shareholder can decide how to invest his Ether funds money and the DAO Core is controlled only by the owner. If your organization is going to grow - it will be convenient to add a board of directors that will then control the flow of investments and the DAO core.
To add a Board of directors:
- Call
DAO factoryto get theBoard of Directors builder. Please specify theShareholder tokenregistry address and theEther fundsaddress. - Create a
Board of directorscontract and distributeDirectors voting tokensto add members to the board. - Vote (51% of tokens) to activate the
Directors voting tokenby using theBoad of directorscontract functionelectBoardofDirectors() - Make
Board of Directorsthe owner ofEther funds.
Board of Directorscontract haspollUpmethod that can be used to start elections in order to change the board of directors. Control is passed to new members if they receive 51% or more of votes. Shareholders can not vote for multiple variants of board at once. Voting freezes the shareholders' shares, but he can always take his vote back using thepollDownmethod.
To try Board of directors in action:
- Create a new
proposalrequest from any member of the board of directors. - Collect 51% of the directors' votes.
- Check that the funds are transferred to the proposal's
targetaddress.
Skill test
Complete this lesson and get 200
ABTtokens!
To complete this lesson you need to call the Execute() function of the Lesson 11 contract. Please specify the board of directors contract address. Notice that at least 1 proposal is needed to be accepted by Board of directors.