Smart Contracts (Testnet)

Module: levea_reg
back to overview
levea_reg
Methods: 15
Instances: 1
Initialization

Parameters
{
  "owner": "<AccountAddress>",
  "owner_key": "<String of size 64 containing lowercase hex characters.>",
  "owner_metadata": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "record_schema": {
    "schema_ref": {
      "hash": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              [
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>"
              ]
            ]
          }
        ]
      },
      "url": "<String>"
    }
  }
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Event
{
  "Enum": [
    {
      "NewOwnerAdded": {
        "owner": "<AccountAddress>",
        "owner_key": "<String of size 64 containing lowercase hex characters.>",
        "schema_ref": {
          "schema_ref": {
            "hash": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    [
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>",
                      "<UInt8>"
                    ]
                  ]
                }
              ]
            },
            "url": "<String>"
          }
        }
      }
    },
    {
      "UpdateOwnerInfo": {
        "owner": "<AccountAddress>",
        "owner_key": "<String of size 64 containing lowercase hex characters.>",
        "owner_metadata": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  [
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>",
                    "<UInt8>"
                  ]
                ]
              }
            ]
          },
          "url": "<String>"
        }
      }
    },
    {
      "PatientDataCreated": {
        "holder_key": "<String of size 64 containing lowercase hex characters.>",
        "id": "<String>"
      }
    },
    {
      "PatientDataShared": {
        "holder_key": "<String of size 64 containing lowercase hex characters.>",
        "id": "<String>"
      }
    },
    {
      "PauseStateChange": {
        "owner_key": "<String of size 64 containing lowercase hex characters.>",
        "pause": "<Bool>"
      }
    },
    {
      "PatientDataUpdate": {
        "holder_key": "<String of size 64 containing lowercase hex characters.>",
        "id": "<String>"
      }
    }
  ]
}
Methods

Parameters
{
  "holder_key": "<String of size 64 containing lowercase hex characters.>",
  "id": "<String>",
  "metadata_url": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "nonce": "<UInt64>",
  "resource_type": "<String>",
  "signature": "<String of size 128 containing lowercase hex characters.>",
  "status": {
    "Enum": [
      {
        "Active": []
      },
      {
        "InActive": []
      },
      {
        "Suspended": []
      },
      {
        "EnteredInError": []
      },
      {
        "Unknown": []
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "pause": "<Bool>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "id": "<String>",
  "metadata_url": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "hash": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "url": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "hash": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "url": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
"<String of size 64 containing lowercase hex characters.>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "holder_key": "<String of size 64 containing lowercase hex characters.>",
  "id": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None

Parameters
{
  "id": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
{
  "holder_key": "<String of size 64 containing lowercase hex characters.>",
  "id": "<String>",
  "metadata_url": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  },
  "nonce": "<UInt64>",
  "resource_type": "<String>",
  "signature": "<String of size 128 containing lowercase hex characters.>",
  "status": {
    "Enum": [
      {
        "Active": []
      },
      {
        "InActive": []
      },
      {
        "Suspended": []
      },
      {
        "EnteredInError": []
      },
      {
        "Unknown": []
      }
    ]
  }
}

Parameters
{
  "id": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
{
  "Enum": [
    {
      "Active": []
    },
    {
      "InActive": []
    },
    {
      "Suspended": []
    },
    {
      "EnteredInError": []
    },
    {
      "Unknown": []
    }
  ]
}

Parameters
{
  "id": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
{
  "hash": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "url": "<String>"
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
{
  "owner": "<AccountAddress>",
  "owner_key": "<String of size 64 containing lowercase hex characters.>",
  "owner_metadata": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  }
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
{
  "schema_ref": {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            [
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>",
              "<UInt8>"
            ]
          ]
        }
      ]
    },
    "url": "<String>"
  }
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
"<Bool>"

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
"<UInt64>"

Parameters
{
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "RecordNotFound": []
    },
    {
      "RecordAlreadyExists": []
    },
    {
      "NotAuthorized": []
    },
    {
      "InvalidOwner": []
    },
    {
      "InvalidInputParameter": []
    },
    {
      "ServicePaused": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "MissingModule": []
    },
    {
      "MissingContract": []
    },
    {
      "UnsupportedModuleVersion": []
    }
  ]
}
Return
None
Address
🗎<9427,0>


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