Smart Contracts

Module: registry
back to overview
registry
Methods: 7
Instances: 0
Initialization

Parameters
None
Errors
None
Event
{
  "Enum": [
    {
      "LogRegistered": [
        {
          "destination": {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          "name": "<String>"
        }
      ]
    },
    {
      "OwnershipTransferred": [
        {
          "new_owner": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "Enum": [
                      {
                        "Account": [
                          "<AccountAddress>"
                        ]
                      },
                      {
                        "Contract": [
                          {
                            "index": "<UInt64>",
                            "subindex": "<UInt64>"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "previous_owner": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "Enum": [
                      {
                        "Account": [
                          "<AccountAddress>"
                        ]
                      },
                      {
                        "Contract": [
                          {
                            "index": "<UInt64>",
                            "subindex": "<UInt64>"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}
Methods

Parameters
[
  {
    "destination": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "name": "<String>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "NameNotRegistered": []
    },
    {
      "UnauthorizedAccount": []
    },
    {
      "InvokeContractError": []
    },
    {
      "NoOwner": []
    }
  ]
}
Return
None

Parameters
[
  {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "NameNotRegistered": []
    },
    {
      "UnauthorizedAccount": []
    },
    {
      "InvokeContractError": []
    },
    {
      "NoOwner": []
    }
  ]
}
Return
None

Parameters
{
  "contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "NameNotRegistered": []
    },
    {
      "UnauthorizedAccount": []
    },
    {
      "InvokeContractError": []
    },
    {
      "NoOwner": []
    }
  ]
}
Return
None

Parameters
"<String>"
Errors
None
Return
{
  "index": "<UInt64>",
  "subindex": "<UInt64>"
}

Parameters
None
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "NameNotRegistered": []
    },
    {
      "UnauthorizedAccount": []
    },
    {
      "InvokeContractError": []
    },
    {
      "NoOwner": []
    }
  ]
}
Return
None

Parameters
{
  "Enum": [
    {
      "Account": [
        "<AccountAddress>"
      ]
    },
    {
      "Contract": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    }
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "NameNotRegistered": []
    },
    {
      "UnauthorizedAccount": []
    },
    {
      "InvokeContractError": []
    },
    {
      "NoOwner": []
    }
  ]
}
Return
None
Address
🗎<9457,0>


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