Smart Contracts (Testnet)

Module: credential-registry-storage
back to overview
credential-registry-storage
Methods: 14
Instances: 1
Initialization

Parameters
None
Errors
None
Event
{
  "Enum": []
}
Methods

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "CredentialAlreadyRegisteredForGivenPublicKey": []
    },
    {
      "WrongSignature": []
    },
    {
      "WrongContract": []
    },
    {
      "Expired": []
    },
    {
      "SerializationError": []
    }
  ]
}
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "encrypted_credential": [
            "<UInt8>"
          ],
          "metadata": [
            "<UInt16>"
          ]
        }
      ]
    }
  ]
}

Parameters
{
  "contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "encrypted_credential": [
    "<UInt8>"
  ],
  "metadata": [
    "<UInt16>"
  ],
  "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
None
Return
None

Parameters
{
  "data": {
    "contract_address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "encrypted_credential": [
      "<UInt8>"
    ],
    "metadata": [
      "<UInt16>"
    ],
    "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
  },
  "public_key": "<String of size 64 containing lowercase hex characters.>",
  "signature": "<String of size 128 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "CredentialAlreadyRegisteredForGivenPublicKey": []
    },
    {
      "WrongSignature": []
    },
    {
      "WrongContract": []
    },
    {
      "Expired": []
    },
    {
      "SerializationError": []
    }
  ]
}
Return
None

Parameters
"<UInt64>"
Errors
None
Return
None

Parameters
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}
Errors
None
Return
None

Parameters
[
  "<UInt8>",
  "<AccountAddress>"
]
Errors
None
Return
None

Parameters
[
  "<UInt8>"
]
Errors
None
Return
None

Parameters
[
  "<UInt8>"
]
Errors
None
Return
None

Parameters
[
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>"
]
Errors
None
Return
None

Parameters
[
  [
    "<UInt8>",
    "<AccountAddress>"
  ]
]
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None
Address
🗎<5126,0>


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