Smart Contracts (Testnet)

Module: CIS2-wCCD
back to overview
CIS2-wCCD
Methods: 18
Instances: 2
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "proxy_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "state_address": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
{
  "data": "<String with lowercase hex>",
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "data": "<String with lowercase hex>",
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "receiver": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": "<String with lowercase hex>",
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            {
              "contract": "<String>",
              "func": "<String>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
None
Return
None

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

Parameters
None
Errors
None
Return
None

Parameters
{
  "seconds": "<Duration (e.g. `10d 1h 42s`)>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
None
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

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

Parameters
[
  "<String with lowercase hex>"
]
Errors
None
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>"
  }
]


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