Smart Contracts (Testnet)

Module: TodoApp2
back to overview
TodoApp2
Methods: 5
Instances: 0
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "description": "<String>"
}
Errors
None
Return
None

Parameters
{
  "description": "<String>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "task_count": [
      {
        "description": "<String>",
        "id": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "tasks": [
          {
            "completed": "<Bool>",
            "description": "<String>",
            "id": "<UInt32>"
          }
        ]
      }
    ]
  }
]

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "all_task": [
            {
              "description": "<String>",
              "id": {
                "Enum": [
                  {
                    "Account": [
                      "<AccountAddress>"
                    ]
                  },
                  {
                    "Contract": [
                      {
                        "index": "<UInt64>",
                        "subindex": "<UInt64>"
                      }
                    ]
                  }
                ]
              },
              "tasks": [
                {
                  "completed": "<Bool>",
                  "description": "<String>",
                  "id": "<UInt32>"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Parameters
{
  "sub_task_index": "<UInt64>",
  "task_index": "<UInt64>"
}
Errors
None
Return
None
Address
🗎<9510,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership