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:
Join the project workspace to share your solution and receive feedback.
Swap insights and ask questions about “Learn everything about Solidity”.
Ask a question or share your thoughts about this lesson.