Smart Contracts (Testnet)

Module: data_upload
back to overview
data_upload
Methods: 7
Instances: 1
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "user_details": [
    {
      "user_address": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      "user_details": "<String>",
      "user_type": "<String>"
    }
  ],
  "user_id": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
{
  "user_details": [
    {
      "user_address": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      "user_details": "<String>",
      "user_type": "<String>"
    }
  ],
  "user_id": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
"<String>"
Errors
None
Return
None

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
{
  "user_address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "user_details": "<String>",
  "user_type": "<String>"
}

Parameters
{
  "Enum": [
    {
      "Account": [
        "<AccountAddress>"
      ]
    },
    {
      "Contract": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
{
  "user_details": "<String>",
  "user_id": "<String>",
  "user_type": "<String>"
}

Parameters
{
  "Enum": [
    {
      "Account": [
        "<AccountAddress>"
      ]
    },
    {
      "Contract": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
"<Bool>"

Parameters
{
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
None
Return
None
Address
🗎<6618,0>


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