Smart Contracts

Module: idsure_verifier
back to overview
idsure_verifier
Methods: 2
Instances: 0
Initialization

Parameters
None
Errors
None
Event
{
  "Enum": [
    {
      "Registration": [
        {
          "hash": "<String of size 64 containing lowercase hex characters.>",
          "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "witness": "<AccountAddress>"
        }
      ]
    }
  ]
}
Methods

Parameters
{
  "account_uid": "<String>",
  "certificate_uid": "<String>",
  "course_uid": "<String>",
  "expire_date": {
    "Enum": [
      {
        "String": [
          "<String>"
        ]
      },
      {
        "Timestamp": [
          "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
        ]
      }
    ]
  },
  "hash": "<String of size 64 containing lowercase hex characters.>",
  "issue_date": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "AlreadyRegistered": []
    },
    {
      "NotOwner": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "AlreadyRegistered": []
    },
    {
      "NotOwner": []
    }
  ]
}
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "account_uid": "<String>",
          "certificate_uid": "<String>",
          "course_uid": "<String>",
          "expire_date": {
            "Enum": [
              {
                "String": [
                  "<String>"
                ]
              },
              {
                "Timestamp": [
                  "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
                ]
              }
            ]
          },
          "issue_date": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "witness": "<AccountAddress>"
        }
      ]
    }
  ]
}
Address
🗎<9897,0>


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