WAX

theemberburn

合约

此合约定义的数据结构。

  • collections 的表格行类型

    {
      "name": "collections_row",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "start_date",
          "type": "time_point"
        },
        {
          "name": "end_date",
          "type": "time_point"
        },
        {
          "name": "error_tooearly",
          "type": "string"
        },
        {
          "name": "error_toolate",
          "type": "string"
        }
      ]
    }
  • iprops 的表格行类型

    {
      "name": "iprop",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "val",
          "type": "uint64"
        }
      ]
    }
  • scores 的表格行类型

    {
      "name": "scores_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "score",
          "type": "uint64"
        }
      ]
    }
  • setcol中的操作参数

    {
      "name": "setcol",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "start_date",
          "type": "time_point"
        },
        {
          "name": "end_date",
          "type": "time_point"
        },
        {
          "name": "error_tooearly",
          "type": "string"
        },
        {
          "name": "error_toolate",
          "type": "string"
        }
      ]
    }
  • setpoints中的操作参数

    {
      "name": "setpoints",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "points",
          "type": "uint32"
        }
      ]
    }
  • sprops 的表格行类型

    {
      "name": "sprop",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "val",
          "type": "string"
        }
      ]
    }
  • stopall中的操作参数

    {
      "name": "stopall",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • tmplpoints 的表格行类型

    {
      "name": "tmplpoints_row",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "points",
          "type": "uint32"
        }
      ]
    }
  • unstopall中的操作参数

    {
      "name": "unstopall",
      "base": "",
      "fields": []
    }