Smart Contracts (Testnet)

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

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "user_details": [
    {
      "user_address": "<AccountAddress>",
      "user_details": "<String>",
      "user_type": "<String>"
    }
  ],
  "user_id": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
{
  "user_details": [
    {
      "user_address": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<AccountAddress>"
            ]
          }
        ]
      },
      "user_claimed_ccd": "<UInt64>",
      "user_details": "<String>",
      "user_total_bsc_fash": "<UInt64>",
      "user_total_ccd": "<UInt64>",
      "user_type": "<String>"
    }
  ],
  "user_id": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
{
  "tx_details": [
    [
      "<String>"
    ]
  ],
  "tx_email": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
{
  "user_details": [
    {
      "user_address": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<AccountAddress>"
            ]
          }
        ]
      },
      "user_claimed_ccd": "<UInt64>",
      "user_details": "<String>",
      "user_total_bsc_fash": "<UInt64>",
      "user_total_ccd": "<UInt64>",
      "user_type": "<String>"
    }
  ],
  "user_id": [
    "<String>"
  ]
}
Errors
None
Return
None

Parameters
"<String>"
Errors
None
Return
None

Parameters
"<String>"
Errors
None
Return
None

Parameters
"<String>"
Errors
None
Return
None

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

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
{
  "user_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "user_claimed_ccd": "<UInt64>",
  "user_details": "<String>",
  "user_total_bsc_fash": "<UInt64>",
  "user_total_ccd": "<UInt64>",
  "user_type": "<String>"
}

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
{
  "tx_details": "<String>",
  "tx_email": "<String>"
}

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
{
  "user_claimed_ccd": "<UInt64>",
  "user_details": "<String>",
  "user_id": "<String>",
  "user_total_bsc_fash": "<UInt64>",
  "user_total_ccd": "<UInt64>",
  "user_type": "<String>"
}

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

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "Unauthorized": []
    },
    {
      "InvalidData": []
    }
  ]
}
Return
"<Bool>"

Parameters
None
Errors
None
Return
"<Amount in microCCD>"

Parameters
None
Errors
None
Return
"<Amount in microCCD>"

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


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