Module Overview
Module Name cis4_agent_authority_registry
Module Reference d4c04af9d6
Verification Status Unverifiable
Age 7 days
Sender 104619
More Info
Deployed in block 49,243,479
Deployed in tx eb67
Methods 6
Contracts 1
Module Build Info
Verification Status:Unverifiable
Build Image Used:N/A
Build Command Used:N/A
Archive Hash:N/A
Link to Source Code:N/A
Explanation:No embedded build information found.
Module Schema
Initialization

Parameters
{
  "credential_schema": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "credential_type": "<String>",
  "issuer_key": "<String of size 64 containing lowercase hex characters.>",
  "registry_metadata": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
}
Errors
None
Event
{
  "Enum": [
    {
      "CredentialSchemaRef": {
        "credential_type": "<String>",
        "schema_ref": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        }
      }
    },
    {
      "IssuerMetadata": {
        "metadata": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        }
      }
    },
    {
      "RevokeCredential": {
        "holder_id": "<String of size 64 containing lowercase hex characters.>",
        "reason": {
          "Enum": [
            {
              "None": []
            },
            {
              "Some": [
                "<String>"
              ]
            }
          ]
        },
        "revoker": {
          "Enum": [
            {
              "Issuer": []
            },
            {
              "Holder": []
            },
            {
              "Other": [
                "<String of size 64 containing lowercase hex characters.>"
              ]
            }
          ]
        }
      }
    },
    {
      "RegisterCredential": {
        "credential_type": "<String>",
        "holder_id": "<String of size 64 containing lowercase hex characters.>",
        "metadata_url": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        },
        "schema_ref": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        }
      }
    }
  ]
}
Methods

Parameters
{
  "auxiliary_data": [
    "<UInt8>"
  ],
  "credential_info": {
    "holder_id": "<String of size 64 containing lowercase hex characters.>",
    "holder_revocable": "<Bool>",
    "metadata_url": {
      "hash": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<String of size 64 containing lowercase hex characters.>"
            ]
          }
        ]
      },
      "url": "<String>"
    },
    "valid_from": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
    "valid_until": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
          ]
        }
      ]
    }
  }
}
Errors
{
  "Enum": [
    {
      "NotAuthorized": []
    },
    {
      "CredentialNotFound": []
    },
    {
      "CredentialAlreadyExists": []
    },
    {
      "ParseError": []
    },
    {
      "CredentialAlreadyRevoked": []
    },
    {
      "NotAnAccountCaller": []
    },
    {
      "LogError": []
    }
  ]
}
Return
None

Parameters
{
  "credential_id": "<String of size 64 containing lowercase hex characters.>",
  "reason": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "NotAuthorized": []
    },
    {
      "CredentialNotFound": []
    },
    {
      "CredentialAlreadyExists": []
    },
    {
      "ParseError": []
    },
    {
      "CredentialAlreadyRevoked": []
    },
    {
      "NotAnAccountCaller": []
    },
    {
      "LogError": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "NotAuthorized": []
    },
    {
      "CredentialNotFound": []
    },
    {
      "CredentialAlreadyExists": []
    },
    {
      "ParseError": []
    },
    {
      "CredentialAlreadyRevoked": []
    },
    {
      "NotAnAccountCaller": []
    },
    {
      "LogError": []
    }
  ]
}
Return
{
  "credential_info": {
    "holder_id": "<String of size 64 containing lowercase hex characters.>",
    "holder_revocable": "<Bool>",
    "metadata_url": {
      "hash": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<String of size 64 containing lowercase hex characters.>"
            ]
          }
        ]
      },
      "url": "<String>"
    },
    "valid_from": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
    "valid_until": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
          ]
        }
      ]
    }
  },
  "revocation_nonce": "<UInt64>",
  "schema_ref": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
}

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "NotAuthorized": []
    },
    {
      "CredentialNotFound": []
    },
    {
      "CredentialAlreadyExists": []
    },
    {
      "ParseError": []
    },
    {
      "CredentialAlreadyRevoked": []
    },
    {
      "NotAnAccountCaller": []
    },
    {
      "LogError": []
    }
  ]
}
Return
{
  "Enum": [
    {
      "Active": []
    },
    {
      "Revoked": []
    },
    {
      "Expired": []
    },
    {
      "NotActivated": []
    }
  ]
}

Parameters
None
Errors
None
Return
"<String of size 64 containing lowercase hex characters.>"

Parameters
None
Errors
None
Return
{
  "credential_schema": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "credential_type": "<String>",
  "issuer_metadata": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
}
Module Usage