Sign In / Up

In the previous lesson we have created a function to calculate the state of the proposal so that we can see if the proposal is succeeded or failed. We can have many different logics for the calculation other than the one we implemented. So, your task is:

  • To create your own logic and implement it instead of the one we created
  • Submit your code

Task

Submit your work to complete this lesson.

Join the project workspace to share your solution and receive feedback.

Lesson discussion

Swap insights and ask questions about “Learn everything about Solidity”.

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.