Smart Contracts (Testnet)

Module: BictoryCnsNft
back to overview
BictoryCnsNft
Methods: 12
Instances: 1
Initialization

Parameters
{
  "storage_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Event
None
Methods

Parameters
{
  "duration": "<Duration (e.g. `10d 1h 42s`)>",
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": [
    "<UInt8>"
  ]
}
Errors
None
Return
None

Parameters
{
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token_id": [
    "<UInt8>"
  ]
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "Enum": [
            {
              "Owned": [
                "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
              ]
            },
            {
              "Grace": [
                "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
              ]
            },
            {
              "Expired": []
            },
            {
              "NotOwned": []
            }
          ]
        }
      ]
    }
  ]
}

Parameters
{
  "extention": "<Duration (e.g. `10d 1h 42s`)>",
  "token_id": [
    "<UInt8>"
  ]
}
Errors
None
Return
None

Parameters
[
  {
    "amount": "<UInt64>",
    "data": [
      "<UInt8>"
    ],
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            {
              "contract": "<String>",
              "func": "<String>"
            }
          ]
        }
      ]
    },
    "token_id": [
      "<UInt8>"
    ]
  }
]
Errors
None
Return
None

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

Parameters
{
  "queries": [
    {
      "address": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      "owner": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      }
    }
  ],
  "result_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "result_function": {
    "contract": "<String>",
    "func": "<String>"
  }
}
Errors
None
Return
None

Parameters
{
  "queries": [
    {
      "address": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      "token_id": [
        "<UInt8>"
      ]
    }
  ],
  "result_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "result_function": {
    "contract": "<String>",
    "func": "<String>"
  }
}
Errors
None
Return
None

Parameters
[
  "<UInt8>"
]
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
{
  "token_id": [
    "<UInt8>"
  ]
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "expiry": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "owner": {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}

Parameters
{
  "operation": {
    "Enum": [
      {
        "Add": []
      },
      {
        "Remove": []
      }
    ]
  },
  "update": {
    "Enum": [
      {
        "CnsContract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
[
  {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
]
Address
🗎<435,0>


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