Smart Contracts (Testnet)

Module: BictoryCnsNft
back to overview
BictoryCnsNft
Methods: 14
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
{
  "token_id": [
    "<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
{
  "field": {
    "Enum": [
      {
        "Maintainer": []
      },
      {
        "Admin": []
      }
    ]
  },
  "show": "<UInt32>",
  "skip": "<UInt32>"
}
Errors
None
Return
[
  {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
]

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": [
      {
        "Remove": []
      },
      {
        "Add": []
      }
    ]
  },
  "update": {
    "Enum": [
      {
        "CnsContract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "field": {
    "Enum": [
      {
        "CnsContract": []
      }
    ]
  },
  "show": "<UInt32>",
  "skip": "<UInt32>"
}
Errors
None
Return
[
  {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
]
Address
🗎<693,0>


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