WAX

make.facings

Contract

The data structures defined by this contract.

  • Action parameter in addcraftsdone

    {
      "name": "addcraftsdone",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "crafts_done",
          "type": "int32"
        }
      ]
    }
  • Action parameter in addoutcome

    {
      "name": "addoutcome",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "outcome_id",
          "type": "int64"
        },
        {
          "name": "weight",
          "type": "uint32"
        },
        {
          "name": "outcome_type",
          "type": "uint8"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "craft_cap",
          "type": "int32"
        }
      ]
    }
  • Action parameter in addrecipe

    {
      "name": "addrecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "descriptor",
          "type": "string[]"
        },
        {
          "name": "user_cap",
          "type": "int32"
        },
        {
          "name": "reset_user_cap_ts",
          "type": "uint32"
        },
        {
          "name": "mechanic",
          "type": "uint8"
        },
        {
          "name": "component",
          "type": "int32[]"
        },
        {
          "name": "expiring_time",
          "type": "time_point[]"
        }
      ]
    }
  • Action parameter in clearprepool

    {
      "name": "clearprepool",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "number_assets",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in clearrecipe

    {
      "name": "clearrecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "receiver",
          "type": "name"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "contract_version",
          "type": "string"
        },
        {
          "name": "managers",
          "type": "name[]"
        },
        {
          "name": "max_outcomes",
          "type": "uint8"
        }
      ]
    }
  • Table row type of craftjobs

    {
      "name": "craftjob",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "components",
          "type": "uint64[]"
        },
        {
          "name": "craft_time",
          "type": "time_point"
        },
        {
          "name": "crafter",
          "type": "name"
        }
      ]
    }
  • Action parameter in deloutcome

    {
      "name": "deloutcome",
      "base": "",
      "fields": [
        {
          "name": "outcome_id",
          "type": "uint64"
        },
        {
          "name": "recipe_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in delrecipe

    {
      "name": "delrecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in delusercraft

    {
      "name": "delusercraft",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "count",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in endrecipe

    {
      "name": "endrecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "managers",
          "type": "name[]"
        }
      ]
    }
  • Table row type of lockedassets

    {
      "name": "locked_asset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in logcraft

    {
      "name": "logcraft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "asset_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Table row type of outcomes

    {
      "name": "outcome",
      "base": "",
      "fields": [
        {
          "name": "outcome_id",
          "type": "uint64"
        },
        {
          "name": "outcome_type",
          "type": "uint8"
        },
        {
          "name": "weight",
          "type": "uint16"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "supply",
          "type": "int32"
        },
        {
          "name": "craft_cap",
          "type": "int32"
        },
        {
          "name": "crafts_done",
          "type": "int32"
        }
      ]
    }
  • Table row type of pools

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "locked_assets",
          "type": "uint32"
        },
        {
          "name": "assets",
          "type": "uint32"
        }
      ]
    }
  • Table row type of poolassets

    {
      "name": "pool_asset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in preprecipe

    {
      "name": "preprecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "max_rows",
          "type": "int32"
        }
      ]
    }
  • Action parameter in receiverand

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of recipes

    {
      "name": "recipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        },
        {
          "name": "descriptor",
          "type": "string[]"
        },
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "expiring_time",
          "type": "time_point[]"
        },
        {
          "name": "user_cap",
          "type": "int32"
        },
        {
          "name": "reset_user_cap_ts",
          "type": "int32"
        },
        {
          "name": "component",
          "type": "int32[]"
        },
        {
          "name": "mechanic",
          "type": "uint8"
        },
        {
          "name": "total_craft_cap",
          "type": "int32"
        },
        {
          "name": "crafts_done",
          "type": "uint32"
        },
        {
          "name": "c_weight",
          "type": "uint64"
        },
        {
          "name": "c_weight_left",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rejob

    {
      "name": "rejob",
      "base": "",
      "fields": []
    }
  • Action parameter in setmanagers

    {
      "name": "setmanagers",
      "base": "",
      "fields": [
        {
          "name": "new_managers",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in setoutcomes

    {
      "name": "setoutcomes",
      "base": "",
      "fields": [
        {
          "name": "number_outcomes",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setversion

    {
      "name": "setversion",
      "base": "",
      "fields": [
        {
          "name": "new_version",
          "type": "string"
        }
      ]
    }
  • Action parameter in startrecipe

    {
      "name": "startrecipe",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "int32"
        }
      ]
    }
  • Table row type of usercrafts

    {
      "name": "usercraft",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "crafts",
          "type": "int32"
        },
        {
          "name": "reset_crafts_after_ts",
          "type": "time_point_sec[]"
        }
      ]
    }