WAX

craft.nft

Contract

The data structures defined by this contract.

  • Struct property of rules

    {
      "name": "RuleItem",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "schema_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Struct property of pending

    Struct property of recipeaddreq

    Struct property of recipes

    {
      "name": "TemplateSelection",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "uint64"
        }
      ]
    }
  • Table row type of categories

    {
      "name": "category",
      "base": "",
      "fields": [
        {
          "name": "category_id",
          "type": "uint64"
        },
        {
          "name": "name",
          "type": "string"
        }
      ]
    }
  • Action parameter in categorydel

    {
      "name": "categorydel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "category_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in categoryset

    {
      "name": "categoryset",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "category_name",
          "type": "string"
        },
        {
          "name": "category_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "assoc_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in craft

    {
      "name": "craft",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of deposits

    {
      "name": "deposits",
      "base": "",
      "fields": [
        {
          "name": "assetid",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "schema",
          "type": "name"
        },
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • Table row type of groups

    {
      "name": "group",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "category_id",
          "type": "uint64"
        },
        {
          "name": "group_display",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "image",
          "type": "string"
        },
        {
          "name": "index",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in groupaddrcpe

    {
      "name": "groupaddrcpe",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "group_id",
          "type": "uint64"
        },
        {
          "name": "recipe_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in groupdel

    {
      "name": "groupdel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "group_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in groupdelrcpe

    {
      "name": "groupdelrcpe",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "group_id",
          "type": "uint64"
        },
        {
          "name": "recipe_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Table row type of groupmap

    {
      "name": "groupmap",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "group_id",
          "type": "uint64"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in groupset

    {
      "name": "groupset",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "group_id",
          "type": "uint64"
        },
        {
          "name": "category_id",
          "type": "uint64"
        },
        {
          "name": "group_display",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "image",
          "type": "string"
        },
        {
          "name": "index",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in logcraft

    {
      "name": "logcraft",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "crafter",
          "type": "name"
        }
      ]
    }
  • Table row type of pending

    {
      "name": "pending",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "recipe_id",
          "type": "uint32"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "crafter",
          "type": "name"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "items",
          "type": "TemplateSelection[]"
        }
      ]
    }
  • Action parameter in purge

    {
      "name": "purge",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "count",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in receiverand

    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in recipeadd

    {
      "name": "recipeadd",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "burn",
          "type": "bool"
        },
        {
          "name": "recipe_display",
          "type": "string"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in recipeaddreq

    {
      "name": "recipeaddreq",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "template_selection",
          "type": "TemplateSelection"
        }
      ]
    }
  • Action parameter in recipeaddres

    {
      "name": "recipeaddres",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "rule_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in recipedel

    {
      "name": "recipedel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in recipedelreq

    {
      "name": "recipedelreq",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in recipedelres

    {
      "name": "recipedelres",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "rule_name",
          "type": "name"
        }
      ]
    }
  • Table row type of recipes

    {
      "name": "recipes",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "uint32"
        },
        {
          "name": "recipe_display",
          "type": "string"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        },
        {
          "name": "burn",
          "type": "bool"
        },
        {
          "name": "requirements",
          "type": "TemplateSelection[]"
        },
        {
          "name": "result",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in recipeset

    {
      "name": "recipeset",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "start_ms",
          "type": "uint64"
        },
        {
          "name": "end_ms",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rng.assocs

    {
      "name": "rng_assocs",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in ruleadd

    {
      "name": "ruleadd",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "rule_display",
          "type": "string"
        }
      ]
    }
  • Action parameter in ruleadditem

    {
      "name": "ruleadditem",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "item_collection_name",
          "type": "name"
        },
        {
          "name": "item_id",
          "type": "uint32"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in ruleaddrule

    {
      "name": "ruleaddrule",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "rule_to_add",
          "type": "name"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in ruledel

    {
      "name": "ruledel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "rule_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in ruledelitem

    {
      "name": "ruledelitem",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "item_id",
          "type": "uint32"
        }
      ]
    }
  • Table row type of rules

    {
      "name": "rules",
      "base": "",
      "fields": [
        {
          "name": "rule_name",
          "type": "name"
        },
        {
          "name": "rule_display",
          "type": "string"
        },
        {
          "name": "rules",
          "type": "RuleItem[]"
        },
        {
          "name": "total_weight",
          "type": "uint64"
        }
      ]
    }
  • Table row type of cmintpending

    {
      "name": "template_mint_count",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "count",
          "type": "uint64"
        }
      ]
    }