WAX

play.mars

合约

  • userspecs 的表格行类型

    {
      "name": "userspecialty",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "specialty",
          "type": "name"
        },
        {
          "name": "level",
          "type": "uint8"
        },
        {
          "name": "active",
          "type": "bool"
        },
        {
          "name": "production",
          "type": "asset[]"
        },
        {
          "name": "efficiency_hours",
          "type": "uint32"
        },
        {
          "name": "last_executed_at",
          "type": "uint32"
        }
      ]
    }