WAX

xpansiongame

合约

此合约定义的数据结构。

  • accountbans 的表格行类型

    {
      "name": "accountbans_s",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        }
      ]
    }
  • accounts 的表格行类型

    {
      "name": "accounts_s",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "nickname",
          "type": "string"
        },
        {
          "name": "stake_size",
          "type": "int8"
        }
      ]
    }
  • airdropresx 的表格行类型

    {
      "name": "airdropres_s",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "data",
          "type": "uint64[]"
        }
      ]
    }
  • ban中的操作参数

    {
      "name": "ban",
      "base": "",
      "fields": [
        {
          "name": "accounts_to_ban",
          "type": "name[]"
        }
      ]
    }
  • boost 的表格行类型

    {
      "name": "boost_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "boost_count",
          "type": "uint16"
        },
        {
          "name": "resources",
          "type": "uint64[]"
        }
      ]
    }
  • boostlands中的操作参数

    {
      "name": "boostlands",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_ids",
          "type": "uint64[]"
        }
      ]
    }
  • boostres 的表格行类型

    {
      "name": "boostres_s",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "xps",
          "type": "uint64"
        },
        {
          "name": "bmtl",
          "type": "uint64"
        },
        {
          "name": "lsm",
          "type": "uint64"
        },
        {
          "name": "mnrl",
          "type": "uint64"
        },
        {
          "name": "ocp",
          "type": "uint64"
        },
        {
          "name": "ree",
          "type": "uint64"
        }
      ]
    }
  • cancelrent中的操作参数

    {
      "name": "cancelrent",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        }
      ]
    }
  • claimrw中的操作参数

    {
      "name": "claimrw",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • common 的表格行类型

    {
      "name": "common_s",
      "base": "",
      "fields": [
        {
          "name": "circulating_supply",
          "type": "asset"
        },
        {
          "name": "xps_quotient_gens",
          "type": "uint64[]"
        },
        {
          "name": "settl_mults",
          "type": "float64[]"
        },
        {
          "name": "added_pool_equip",
          "type": "uint8"
        },
        {
          "name": "total_base",
          "type": "float64"
        },
        {
          "name": "xps_base_gen",
          "type": "float64"
        },
        {
          "name": "tapr",
          "type": "uint64"
        },
        {
          "name": "xperm",
          "type": "asset"
        }
      ]
    }
  • configsx 的表格行类型

    {
      "name": "configtbl",
      "base": "",
      "fields": [
        {
          "name": "pause",
          "type": "bool"
        },
        {
          "name": "supported_tokens",
          "type": "extended_symbol[]"
        },
        {
          "name": "delegate",
          "type": "name"
        },
        {
          "name": "init",
          "type": "bool"
        },
        {
          "name": "land_playing",
          "type": "uint64"
        },
        {
          "name": "total_land",
          "type": "uint64"
        }
      ]
    }
  • delegate中的操作参数

    {
      "name": "delegate",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • equipclick 的表格行类型

    {
      "name": "equipclick_s",
      "base": "",
      "fields": [
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        },
        {
          "name": "click_count",
          "type": "uint64"
        },
        {
          "name": "total_click",
          "type": "uint64"
        },
        {
          "name": "resources",
          "type": "uint64[]"
        }
      ]
    }
  • equipments 的表格行类型

    {
      "name": "equipments_s",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "planet_id",
          "type": "uint16"
        },
        {
          "name": "equipment_type",
          "type": "uint16"
        },
        {
          "name": "equipment_rarity",
          "type": "uint16"
        }
      ]
    }
  • equipstatus 的表格行类型

    {
      "name": "equipstatus_s",
      "base": "",
      "fields": [
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint16"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • 的结构体属性 configtbl

    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • init中的操作参数

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • landclicks 的表格行类型

    {
      "name": "landclick_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "click_hours_count",
          "type": "uint64"
        },
        {
          "name": "click_count",
          "type": "uint64"
        },
        {
          "name": "total_click",
          "type": "uint64"
        },
        {
          "name": "resources",
          "type": "uint64[]"
        }
      ]
    }
  • landrarity 的表格行类型

    {
      "name": "landrarities_s",
      "base": "",
      "fields": [
        {
          "name": "rarity_key",
          "type": "uint64"
        },
        {
          "name": "planet_id",
          "type": "uint16"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "land_type",
          "type": "uint16"
        },
        {
          "name": "settlement_type",
          "type": "uint16"
        }
      ]
    }
  • landres 的表格行类型

    {
      "name": "landres_s",
      "base": "",
      "fields": [
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "uint64[]"
        }
      ]
    }
  • landsx 的表格行类型

    {
      "name": "lands_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "planet_id",
          "type": "uint16"
        },
        {
          "name": "x",
          "type": "uint16"
        },
        {
          "name": "y",
          "type": "uint16"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "settlement_type",
          "type": "uint16"
        },
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "land_type",
          "type": "uint16"
        },
        {
          "name": "rent_fee",
          "type": "uint16"
        },
        {
          "name": "rent_status",
          "type": "uint16"
        },
        {
          "name": "rent_list",
          "type": "uint64[]"
        },
        {
          "name": "stake_tax",
          "type": "uint16"
        },
        {
          "name": "stake_tax_update",
          "type": "uint32"
        },
        {
          "name": "stake_tax_duration",
          "type": "uint32"
        },
        {
          "name": "stakers",
          "type": "name[]"
        },
        {
          "name": "avai_balance",
          "type": "asset"
        },
        {
          "name": "stake_balance",
          "type": "asset"
        },
        {
          "name": "claim_time",
          "type": "uint32"
        },
        {
          "name": "stake_time",
          "type": "uint32"
        }
      ]
    }
  • migratetimer中的操作参数

    {
      "name": "migratetimer",
      "base": "",
      "fields": []
    }
  • ownerclaim中的操作参数

    {
      "name": "ownerclaim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_ids",
          "type": "uint64[]"
        }
      ]
    }
  • ownermint 的表格行类型

    {
      "name": "ownermints_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "mint_time",
          "type": "uint32"
        },
        {
          "name": "settlement_type",
          "type": "uint16"
        },
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "land_type",
          "type": "uint16"
        },
        {
          "name": "rent_fee",
          "type": "uint16"
        },
        {
          "name": "rent_status",
          "type": "uint16"
        },
        {
          "name": "rent_list",
          "type": "uint64[]"
        }
      ]
    }
  • ownerstore 的表格行类型

    {
      "name": "ownerstore_s",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "xps",
          "type": "uint64"
        },
        {
          "name": "bmtl",
          "type": "uint64"
        },
        {
          "name": "lsm",
          "type": "uint64"
        },
        {
          "name": "mnrl",
          "type": "uint64"
        },
        {
          "name": "ocp",
          "type": "uint64"
        },
        {
          "name": "ree",
          "type": "uint64"
        }
      ]
    }
  • pause中的操作参数

    {
      "name": "pause",
      "base": "",
      "fields": []
    }
  • pauserent中的操作参数

    {
      "name": "pauserent",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • poolstatsx 的表格行类型

    {
      "name": "poolstat_s",
      "base": "",
      "fields": [
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "total_stake",
          "type": "asset"
        },
        {
          "name": "reward_rate",
          "type": "float64"
        },
        {
          "name": "start_time",
          "type": "uint32"
        },
        {
          "name": "rw_update_time",
          "type": "uint32"
        },
        {
          "name": "reward_per_token_stored",
          "type": "float64"
        }
      ]
    }
  • portalrare 的表格行类型

    {
      "name": "portalrarities_s",
      "base": "",
      "fields": [
        {
          "name": "portal_id",
          "type": "uint64"
        },
        {
          "name": "planet_id",
          "type": "uint16"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "portal_rarity",
          "type": "uint16"
        }
      ]
    }
  • refund中的操作参数

    {
      "name": "refund",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "unstake_id",
          "type": "uint64"
        }
      ]
    }
  • removequip中的操作参数

    {
      "name": "removequip",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • removetimer中的操作参数

    {
      "name": "removetimer",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • renterclaim中的操作参数

    {
      "name": "renterclaim",
      "base": "",
      "fields": [
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "equipment_asset_ids",
          "type": "uint64[]"
        }
      ]
    }
  • rentland中的操作参数

    {
      "name": "rentland",
      "base": "",
      "fields": [
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        }
      ]
    }
  • rentmint 的表格行类型

    {
      "name": "rentmints_s",
      "base": "",
      "fields": [
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        },
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "create_time",
          "type": "uint32"
        },
        {
          "name": "mint_time",
          "type": "uint32"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "settlement_type",
          "type": "uint16"
        },
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "land_type",
          "type": "uint16"
        },
        {
          "name": "rent_fee",
          "type": "uint16"
        }
      ]
    }
  • repaireqs中的操作参数

    {
      "name": "repaireqs",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "equip_asset_ids",
          "type": "uint64[]"
        }
      ]
    }
  • repairlands中的操作参数

    {
      "name": "repairlands",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_ids",
          "type": "uint64[]"
        }
      ]
    }
  • repairres 的表格行类型

    {
      "name": "repairres_s",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "xps",
          "type": "uint64"
        },
        {
          "name": "bmtl",
          "type": "uint64"
        },
        {
          "name": "lsm",
          "type": "uint64"
        },
        {
          "name": "mnrl",
          "type": "uint64"
        },
        {
          "name": "ocp",
          "type": "uint64"
        },
        {
          "name": "ree",
          "type": "uint64"
        }
      ]
    }
  • repairtbl 的表格行类型

    {
      "name": "repairtbl_s",
      "base": "",
      "fields": [
        {
          "name": "rarity",
          "type": "uint8"
        },
        {
          "name": "resources",
          "type": "uint64[]"
        }
      ]
    }
  • resetequip中的操作参数

    {
      "name": "resetequip",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        }
      ]
    }
  • rmstake中的操作参数

    {
      "name": "rmstake",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • setequip中的操作参数

    {
      "name": "setequip",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "equipment_asset_id",
          "type": "uint64"
        }
      ]
    }
  • setltburn 的表格行类型

    {
      "name": "setltburn_s",
      "base": "",
      "fields": [
        {
          "name": "settl_type",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "uint64[]"
        }
      ]
    }
  • setrentfee中的操作参数

    {
      "name": "setrentfee",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "rent_fee",
          "type": "uint16"
        }
      ]
    }
  • setstaketax中的操作参数

    {
      "name": "setstaketax",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "stake_tax",
          "type": "uint16"
        },
        {
          "name": "duration",
          "type": "uint32"
        }
      ]
    }
  • setstats中的操作参数

    {
      "name": "setstats",
      "base": "",
      "fields": [
        {
          "name": "author",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint16"
        }
      ]
    }
  • settimer中的操作参数

    {
      "name": "settimer",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "timer_asset_id",
          "type": "uint64"
        }
      ]
    }
  • settlres 的表格行类型

    {
      "name": "settlres_s",
      "base": "",
      "fields": [
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "uint16[]"
        }
      ]
    }
  • settlupgrade 的表格行类型

    {
      "name": "settlupgrade_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "xps",
          "type": "uint64"
        },
        {
          "name": "bmtl",
          "type": "uint64"
        },
        {
          "name": "lsm",
          "type": "uint64"
        },
        {
          "name": "mnrl",
          "type": "uint64"
        },
        {
          "name": "ocp",
          "type": "uint64"
        },
        {
          "name": "ree",
          "type": "uint64"
        }
      ]
    }
  • signup中的操作参数

    {
      "name": "signup",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "nickname",
          "type": "string"
        }
      ]
    }
  • staker 的表格行类型

    {
      "name": "staker_s",
      "base": "",
      "fields": [
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "avai_balance",
          "type": "asset"
        },
        {
          "name": "stake_balance",
          "type": "asset"
        },
        {
          "name": "stake_time",
          "type": "uint32"
        },
        {
          "name": "claim_time",
          "type": "uint32"
        }
      ]
    }
  • timeclickers 的表格行类型

    {
      "name": "timeclicker_s",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "time_mult",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "uint64[]"
        }
      ]
    }
  • timerstatusx 的表格行类型

    {
      "name": "timers_s",
      "base": "",
      "fields": [
        {
          "name": "timer_asset_id",
          "type": "uint64"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "time_mult",
          "type": "uint16"
        }
      ]
    }
  • timerstatus 的表格行类型

    {
      "name": "timerstatus_s",
      "base": "",
      "fields": [
        {
          "name": "timer_asset_id",
          "type": "uint64"
        },
        {
          "name": "land_id",
          "type": "uint64"
        }
      ]
    }
  • timerupgrade 的表格行类型

    {
      "name": "timerupgrade_s",
      "base": "",
      "fields": [
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "xps",
          "type": "uint64"
        },
        {
          "name": "bmtl",
          "type": "uint64"
        },
        {
          "name": "lsm",
          "type": "uint64"
        },
        {
          "name": "mnrl",
          "type": "uint64"
        },
        {
          "name": "ocp",
          "type": "uint64"
        },
        {
          "name": "ree",
          "type": "uint64"
        }
      ]
    }
  • unban中的操作参数

    {
      "name": "unban",
      "base": "",
      "fields": [
        {
          "name": "accounts_to_unban",
          "type": "name[]"
        }
      ]
    }
  • unstake中的操作参数

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • unstakes 的表格行类型

    {
      "name": "unstakes_s",
      "base": "",
      "fields": [
        {
          "name": "unstake_id",
          "type": "uint64"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "unstake_balance",
          "type": "asset"
        },
        {
          "name": "unstake_time",
          "type": "uint32"
        }
      ]
    }
  • updaterw中的操作参数

    {
      "name": "updaterw",
      "base": "",
      "fields": []
    }
  • withdraw中的操作参数

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • xpsbase 的表格行类型

    {
      "name": "xpsbase_s",
      "base": "",
      "fields": [
        {
          "name": "land_rarity",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "uint64[]"
        }
      ]
    }
  • xpsstats 的表格行类型

    {
      "name": "xpsstats_s",
      "base": "",
      "fields": [
        {
          "name": "xps_ratio_decrese",
          "type": "uint16"
        },
        {
          "name": "xps_burning",
          "type": "float64"
        },
        {
          "name": "staking_ratio",
          "type": "float64"
        },
        {
          "name": "current_claim",
          "type": "uint64"
        },
        {
          "name": "last_claim",
          "type": "uint64"
        }
      ]
    }