WAX

testuserpnts

Contract

The data structures defined by this contract.

  • Action parameter in addpoints

    {
      "name": "addpoints",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in dellvlreward

    {
      "name": "dellvlreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in delptsreward

    {
      "name": "delptsreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of leveloffers

    {
      "name": "level_offer",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "level",
          "type": "uint8"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    }
  • Struct property of user_points

    {
      "name": "pair_uint8_uint16",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint16"
        }
      ]
    }
  • Table row type of pointoffers

    {
      "name": "points_offer",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "start",
          "type": "time_point_sec"
        },
        {
          "name": "end",
          "type": "time_point_sec"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in redeemlvlnft

    {
      "name": "redeemlvlnft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in redeempntnft

    {
      "name": "redeempntnft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "offer_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setlvlreward

    {
      "name": "setlvlreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "level",
          "type": "uint8"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setmilestone

    {
      "name": "setmilestone",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in setptsreward

    {
      "name": "setptsreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "start",
          "type": "time_point_sec"
        },
        {
          "name": "end",
          "type": "time_point_sec"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    }
  • Table row type of userpoints

    {
      "name": "user_points",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "total_points",
          "type": "uint32"
        },
        {
          "name": "redeemable_points",
          "type": "uint32"
        },
        {
          "name": "daily_points",
          "type": "uint16"
        },
        {
          "name": "weekly_points",
          "type": "uint32"
        },
        {
          "name": "top_level_claimed",
          "type": "uint8"
        },
        {
          "name": "last_action_timestamp",
          "type": "time_point_sec"
        },
        {
          "name": "milestones",
          "type": "pair_uint8_uint16[]"
        }
      ]
    }