Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 512 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 512 Bytes

Project: Todo dApp:

  • A todo should have:

    1. integer id
    2. string content
    3. bool completed
    4. address creator
  • List of Todos (Array)

  • Maps: address => integer ||| integer will gonna represent the count to todos made by a specific account address.

  • Function modifiers: onlyCreator()

  • Functions: Write Functions:

    1. createTodo
    2. toggleCompleted
    3. updateTodo
    4. deleteTodo

    Read Functions:

    1. getAllTodos
    2. getUserTodos
    3. getTotalTodoCount