Smart Contracts (Testnet)

Module: BictoryCns
back to overview
BictoryCns
Methods: 9
Instances: 1
Initialization

Parameters
{
  "nft": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "price_oracle": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "registry": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Event
None
Methods

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "domain": "<String>",
  "duration_years": "<UInt8>"
}
Errors
None
Return
None

Parameters
{
  "domain": "<String>",
  "duration_years": "<UInt8>"
}
Errors
None
Return
None

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

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

Parameters
{
  "domain": "<String>",
  "key": "<String>",
  "value": {
    "Enum": [
      {
        "Address": [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "URL": [
          "<String>"
        ]
      },
      {
        "Binary": [
          [
            "<UInt8>"
          ]
        ]
      },
      {
        "String": [
          "<String>"
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "domain": "<String>",
  "key": "<String>"
}
Errors
None
Return
{
  "Enum": [
    {
      "Address": [
        {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "URL": [
        "<String>"
      ]
    },
    {
      "Binary": [
        [
          "<UInt8>"
        ]
      ]
    },
    {
      "String": [
        "<String>"
      ]
    }
  ]
}

Parameters
{
  "subdomain": "<String>"
}
Errors
None
Return
None

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "field": {
    "Enum": [
      {
        "Maintainer": []
      },
      {
        "Admin": []
      }
    ]
  },
  "kind": {
    "Enum": [
      {
        "Remove": []
      },
      {
        "Add": []
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "Enum": [
    {
      "CnsNft": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    },
    {
      "Oracle": [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    },
    {
      "Beneficiary": [
        "<AccountAddress>"
      ]
    }
  ]
}
Errors
None
Return
None
Address
🗎<421,0>


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