WAX

game.rplanet

Contract

The data structures defined by this contract.

  • Table row type of assets

    {
      "name": "AssetModel",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "time",
          "type": "uint32"
        },
        {
          "name": "schema_name",
          "type": "name"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "immutable_serialized_data",
          "type": "uint8[]"
        },
        {
          "name": "mutable_serialized_data",
          "type": "uint8[]"
        }
      ]
    }
  • Table row type of conf

    {
      "name": "ConfModel",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "next_asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in burn

    {
      "name": "burn",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setenabled

    {
      "name": "setenabled",
      "base": "",
      "fields": [
        {
          "name": "value",
          "type": "bool"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "asset_ids",
          "type": "uint64[]"
        },
        {
          "name": "recipient",
          "type": "name"
        }
      ]
    }