WAX

testuserpnts

合约

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "addpoints",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "dellvlreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "delptsreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "level_offer",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "level",
          "type": "uint8"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "pair_uint8_uint16",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint16"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "redeemlvlnft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "redeempntnft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "offer_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "setlvlreward",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "level",
          "type": "uint8"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "required",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "setmilestone",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint16"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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[]"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addpoints",
      "type": "addpoints",
      "ricardian_contract": ""
    },
    {
      "name": "dellvlreward",
      "type": "dellvlreward",
      "ricardian_contract": ""
    },
    {
      "name": "delptsreward",
      "type": "delptsreward",
      "ricardian_contract": ""
    },
    {
      "name": "redeemlvlnft",
      "type": "redeemlvlnft",
      "ricardian_contract": ""
    },
    {
      "name": "redeempntnft",
      "type": "redeempntnft",
      "ricardian_contract": ""
    },
    {
      "name": "setlvlreward",
      "type": "setlvlreward",
      "ricardian_contract": ""
    },
    {
      "name": "setmilestone",
      "type": "setmilestone",
      "ricardian_contract": ""
    },
    {
      "name": "setptsreward",
      "type": "setptsreward",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "leveloffers",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "level_offer"
    },
    {
      "name": "pointoffers",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "points_offer"
    },
    {
      "name": "userpoints",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "user_points"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}