Smart Contracts (Testnet)

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

Parameters
{
  "name": "<String>",
  "owner": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  },
  "symbol": "<String>"
}
Errors
None
Event
None
Methods

Parameters
{
  "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.>"
}
Errors
None
Return
None

Parameters
{
  "amount": "<String of size at most 74 containing an unsigned integer.>",
  "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.>",
  "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.>",
  "from": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  },
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

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

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

Parameters
None
Errors
None
Return
{
  "decimals": "<UInt8>",
  "max_supply": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String of size at most 74 containing an unsigned integer.>"
        ]
      }
    ]
  },
  "mintable": "<Bool>",
  "name": "<String>",
  "symbol": "<String>",
  "total_supply": "<String of size at most 74 containing an unsigned integer.>"
}

Parameters
None
Errors
None
Return
"<UInt64>"
Address
🗎<837,0>


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