Question: 3 . Voting: a . Deploy the contract using your first account ( Main Account ) . Name three proposals to be voted as 0

3.Voting: a.Deploy the contract using your first account (Main Account). Name three proposals to be voted as 0,1, and 2. Note: the input for proposals should be: [0,1,2]b.Give voting rights to two additional accounts (Accounts 2 and 3)c.Use Account 2 to vote for proposal 1d.Use Account 3 to delegate the vote to the Main Accounte.Use Main Account to vote for proposal 2f.Can you add a constant function to the Voting contract to show the winning proposal? Include your code and results.4.Crowdfunding

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!