WAX

farminggames

Contract

The data structures defined by this contract.

  • Action parameter in adminpaycbit

    {
      "name": "adminpaycbit",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "ext_asset",
          "type": "extended_asset"
        }
      ]
    }
  • Table row type of animal

    {
      "name": "animal_table",
      "base": "",
      "fields": [
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "building_asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "last_harvest",
          "type": "uint32"
        }
      ]
    }
  • Table row type of buildout

    {
      "name": "build_out_table",
      "base": "",
      "fields": [
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "farm_id",
          "type": "uint32"
        },
        {
          "name": "last_harvest",
          "type": "uint32"
        }
      ]
    }
  • Table row type of building

    {
      "name": "building_table",
      "base": "",
      "fields": [
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "farm_id",
          "type": "uint32"
        },
        {
          "name": "x",
          "type": "float32"
        },
        {
          "name": "y",
          "type": "float32"
        },
        {
          "name": "rotation",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in buyonmarket

    {
      "name": "buyonmarket",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in confanimsest

    {
      "name": "confanimsest",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        }
      ]
    }
  • Table row type of confanimal

    {
      "name": "config_animal_table",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "string"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "food",
          "type": "uint32"
        }
      ]
    }
  • {
      "name": "config_build_out_table",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "string"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "food",
          "type": "uint32"
        },
        {
          "name": "water",
          "type": "uint32"
        }
      ]
    }
  • {
      "name": "config_building_table",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "animal_templates",
          "type": "uint64[]"
        },
        {
          "name": "slots",
          "type": "uint8"
        },
        {
          "name": "type",
          "type": "uint16"
        },
        {
          "name": "width",
          "type": "float32"
        },
        {
          "name": "height",
          "type": "float32"
        }
      ]
    }
  • Table row type of confdrop

    {
      "name": "config_drop_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "collection_name",
          "type": "string"
        },
        {
          "name": "schema_name",
          "type": "string"
        },
        {
          "name": "cost",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "int32"
        },
        {
          "name": "sold",
          "type": "uint64"
        },
        {
          "name": "start",
          "type": "uint32"
        },
        {
          "name": "end",
          "type": "uint32"
        },
        {
          "name": "wl_accounts",
          "type": "name[]"
        },
        {
          "name": "wl_templates",
          "type": "uint32[]"
        },
        {
          "name": "wl_templates_or",
          "type": "bool"
        }
      ]
    }
  • Table row type of conffarm

    {
      "name": "config_farm_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "width",
          "type": "float32"
        },
        {
          "name": "height",
          "type": "float32"
        }
      ]
    }
  • Table row type of confflower

    {
      "name": "config_flower_table",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "cbit_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        }
      ]
    }
  • Table row type of confhvst

    {
      "name": "config_harvest_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "water_unit_cost",
          "type": "uint64"
        },
        {
          "name": "food_unit_cost",
          "type": "uint64"
        },
        {
          "name": "service_cost",
          "type": "uint64"
        }
      ]
    }
  • Table row type of confplant

    {
      "name": "config_plant_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "string"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "water",
          "type": "uint32"
        }
      ]
    }
  • {
      "name": "config_resources_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "base_water",
          "type": "uint32"
        },
        {
          "name": "base_food",
          "type": "uint32"
        },
        {
          "name": "water_refill_cost",
          "type": "uint32"
        },
        {
          "name": "food_refill_cost",
          "type": "uint32"
        }
      ]
    }
  • Table row type of confwallet

    {
      "name": "config_wallet_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "withdraw_fees",
          "type": "pair_string_float32[]"
        },
        {
          "name": "withdraw_mins",
          "type": "pair_string_uint32[]"
        }
      ]
    }
  • Table row type of dropclaimer

    {
      "name": "drop_claimer_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of flower

    {
      "name": "flower_table",
      "base": "",
      "fields": [
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "farm_id",
          "type": "uint32"
        },
        {
          "name": "last_harvest",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in harvestanim

    {
      "name": "harvestanim",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in harvestbuild

    {
      "name": "harvestbuild",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in harvestmulti2

    {
      "name": "harvestmulti2",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "anim_asset_ids",
          "type": "uint64[]"
        },
        {
          "name": "plant_asset_ids",
          "type": "uint64[]"
        },
        {
          "name": "build_asset_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in harvestplant

    {
      "name": "harvestplant",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "plant_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in hvstflower

    {
      "name": "hvstflower",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of marketplace

    {
      "name": "items_table",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "string"
        },
        {
          "name": "schema_name",
          "type": "string"
        },
        {
          "name": "cost",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in logdeposit

    {
      "name": "logdeposit",
      "base": "",
      "fields": [
        {
          "name": "deposit",
          "type": "asset"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        }
      ]
    }
  • Action parameter in logstake

    {
      "name": "logstake",
      "base": "",
      "fields": [
        {
          "name": "deposit",
          "type": "asset"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        }
      ]
    }
  • Struct property of config_wallet_table

    Struct property of setconfwallt

    {
      "name": "pair_string_float32",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "value",
          "type": "float32"
        }
      ]
    }
  • Struct property of config_wallet_table

    Struct property of setconfwallt

    {
      "name": "pair_string_uint32",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "value",
          "type": "uint32"
        }
      ]
    }
  • Struct property of wallet_table

    {
      "name": "pair_string_uint64",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "string"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    }
  • Table row type of plant

    {
      "name": "plant_table",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "building_asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "plant_id",
          "type": "uint32"
        },
        {
          "name": "last_harvest",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in refillfood

    {
      "name": "refillfood",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in refillwater

    {
      "name": "refillwater",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Table row type of resources

    {
      "name": "resources_table",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "water",
          "type": "uint32"
        },
        {
          "name": "food",
          "type": "uint32"
        },
        {
          "name": "water_max",
          "type": "uint32"
        },
        {
          "name": "food_max",
          "type": "uint32"
        },
        {
          "name": "water_tower_id",
          "type": "uint64"
        },
        {
          "name": "water_template_id",
          "type": "uint64"
        },
        {
          "name": "silo_id",
          "type": "uint64"
        },
        {
          "name": "silo_template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvanimal

    {
      "name": "rmvanimal",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvbuild

    {
      "name": "rmvbuild",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvconfanim

    {
      "name": "rmvconfanim",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvconfbuild

    {
      "name": "rmvconfbuild",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvconfdrop

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

    {
      "name": "rmvconfout",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvconfplant

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

    {
      "name": "rmvflower",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvitem

    {
      "name": "rmvitem",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setcdropsold

    {
      "name": "setcdropsold",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "sold",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setconfanim

    {
      "name": "setconfanim",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "name"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "food",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfbuild

    {
      "name": "setconfbuild",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "animal_templates",
          "type": "uint64[]"
        },
        {
          "name": "slots",
          "type": "uint8"
        },
        {
          "name": "type",
          "type": "uint16"
        },
        {
          "name": "width",
          "type": "float32"
        },
        {
          "name": "height",
          "type": "float32"
        }
      ]
    }
  • Action parameter in setconfdrop

    {
      "name": "setconfdrop",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "collection_name",
          "type": "string"
        },
        {
          "name": "schema_name",
          "type": "string"
        },
        {
          "name": "cost",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "int32"
        },
        {
          "name": "sold",
          "type": "uint64"
        },
        {
          "name": "start",
          "type": "uint32"
        },
        {
          "name": "end",
          "type": "uint32"
        },
        {
          "name": "wl_accounts",
          "type": "name[]"
        },
        {
          "name": "wl_templates",
          "type": "uint32[]"
        },
        {
          "name": "wl_templates_or",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setconfflwr

    {
      "name": "setconfflwr",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "cbit_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfhvst

    {
      "name": "setconfhvst",
      "base": "",
      "fields": [
        {
          "name": "water_unit_cost",
          "type": "uint64"
        },
        {
          "name": "food_unit_cost",
          "type": "uint64"
        },
        {
          "name": "service_cost",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setconfout

    {
      "name": "setconfout",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "name"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "food",
          "type": "uint32"
        },
        {
          "name": "water",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfplant

    {
      "name": "setconfplant",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "resource_type",
          "type": "name"
        },
        {
          "name": "resource_count",
          "type": "uint16"
        },
        {
          "name": "sest_amount",
          "type": "uint32"
        },
        {
          "name": "cooldown",
          "type": "uint32"
        },
        {
          "name": "water",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfres

    {
      "name": "setconfres",
      "base": "",
      "fields": [
        {
          "name": "base_water",
          "type": "uint32"
        },
        {
          "name": "base_food",
          "type": "uint32"
        },
        {
          "name": "water_refill_cost",
          "type": "uint32"
        },
        {
          "name": "food_refill_cost",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setconfwallt

    {
      "name": "setconfwallt",
      "base": "",
      "fields": [
        {
          "name": "withdraw_fees",
          "type": "pair_string_float32[]"
        },
        {
          "name": "withdraw_mins",
          "type": "pair_string_uint32[]"
        }
      ]
    }
  • Action parameter in setitem

    {
      "name": "setitem",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "cost",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "string"
        },
        {
          "name": "schema_name",
          "type": "string"
        }
      ]
    }
  • Action parameter in setitemcost

    {
      "name": "setitemcost",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "cost",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in stakeanimal

    {
      "name": "stakeanimal",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "building_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in stakebuild

    {
      "name": "stakebuild",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "x",
          "type": "float32"
        },
        {
          "name": "y",
          "type": "float32"
        },
        {
          "name": "rotation",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in stakeflower

    {
      "name": "stakeflower",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in stakesest

    {
      "name": "stakesest",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "value",
          "type": "asset"
        },
        {
          "name": "target",
          "type": "name"
        }
      ]
    }
  • Table row type of wallet

    {
      "name": "wallet_table",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "balances",
          "type": "pair_string_uint64[]"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "value",
          "type": "asset"
        }
      ]
    }