Module modern_miracle_refreg_01 Verified:
Module Info
Module Name modern_miracle_refreg_01
Module Reference e26b888614
Deployed in block 19,630,692
Deployed in tx d15c
Age 144 days
Sender 99100
Methods 15
Instances 1
Module Usage
Module Schema
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
Module Build Info
Build Image Used:
Build Command Used:
Archive Hash:
Link to Source Code:Source Code
Module Source Code