Telos

decidecoment

合约

此合约定义的数据结构。

  • comment中的操作参数

    {
      "name": "comment",
      "base": "",
      "fields": [
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "ballot_name",
          "type": "name"
        },
        {
          "name": "comment",
          "type": "string"
        }
      ]
    }
  • comments 的表格行类型

    {
      "name": "comments",
      "base": "",
      "fields": [
        {
          "name": "ballot_name",
          "type": "name"
        },
        {
          "name": "comment",
          "type": "string"
        },
        {
          "name": "date",
          "type": "uint32"
        }
      ]
    }
  • erase中的操作参数

    {
      "name": "erase",
      "base": "",
      "fields": [
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "ballot_name",
          "type": "name"
        }
      ]
    }