Smart Contracts (Testnet)

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

Parameters
None
Errors
None
Event
{
  "Enum": [
    {
      "CredentialRegistered": [
        {
          "public_key": "<String of size 64 containing lowercase hex characters.>"
        }
      ]
    }
  ]
}
Methods

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

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

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


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