Vaulta

hash.wal

Contract

  • Table row type of userrecords

    {
      "name": "user_records",
      "base": "",
      "fields": [
        {
          "name": "record_id",
          "type": "uint64"
        },
        {
          "name": "product_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "principal",
          "type": "asset"
        },
        {
          "name": "shares",
          "type": "int64"
        },
        {
          "name": "purchase_time",
          "type": "time_point_sec"
        },
        {
          "name": "effective_time",
          "type": "time_point_sec"
        },
        {
          "name": "expire_time",
          "type": "time_point_sec"
        }
      ]
    }