WAX

earn.facings

Contract

The data structures defined by this contract.

  • Action parameter in addburnpts

    {
      "name": "addburnpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "burn_points",
          "type": "uint16"
        },
        {
          "name": "burn_points_craft",
          "type": "uint16"
        },
        {
          "name": "number_serials_rewarded",
          "type": "uint32"
        },
        {
          "name": "number_serials_rewarded_craft",
          "type": "uint32"
        },
        {
          "name": "initial_multiplier",
          "type": "uint8"
        },
        {
          "name": "initial_multiplier_craft",
          "type": "uint8"
        },
        {
          "name": "last_multiplier",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in addcollction

    {
      "name": "addcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in addcoltoset

    {
      "name": "addcoltoset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in addcraftpts

    {
      "name": "addcraftpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "craft_points",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in addmanualpts

    {
      "name": "addmanualpts",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "points",
          "type": "int32"
        }
      ]
    }
  • Action parameter in addpackpts

    {
      "name": "addpackpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "open_points",
          "type": "uint16"
        },
        {
          "name": "buy_points",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in addskipacct

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

    {
      "name": "burnpoints",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "burn_points",
          "type": "uint16"
        },
        {
          "name": "burn_points_craft",
          "type": "uint16"
        },
        {
          "name": "initial_multiplier",
          "type": "uint8"
        },
        {
          "name": "initial_multiplier_craft",
          "type": "uint8"
        },
        {
          "name": "last_multiplier",
          "type": "uint8"
        },
        {
          "name": "number_serials_rewarded",
          "type": "uint32"
        },
        {
          "name": "number_serials_rewarded_craft",
          "type": "uint32"
        }
      ]
    }
  • Table row type of collections

    {
      "name": "collection_info",
      "base": "",
      "fields": [
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "pointsets",
          "type": "name[]"
        }
      ]
    }
  • Table row type of config

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "contract_version",
          "type": "string"
        },
        {
          "name": "admin_acct",
          "type": "name"
        },
        {
          "name": "skipaccounts",
          "type": "name[]"
        }
      ]
    }
  • Table row type of craftpoints

    {
      "name": "craftpoints",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "craft_points",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in init

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

    {
      "name": "loyaltypoint",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "loyalty_points",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in newpointset

    {
      "name": "newpointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "default_buy_points",
          "type": "uint8"
        },
        {
          "name": "default_open_points",
          "type": "uint16"
        },
        {
          "name": "default_craft_points",
          "type": "uint16"
        },
        {
          "name": "default_burn_points",
          "type": "uint16"
        }
      ]
    }
  • Table row type of packpoints

    {
      "name": "packpoints",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "open_points",
          "type": "uint16"
        },
        {
          "name": "buy_points",
          "type": "uint16"
        }
      ]
    }
  • Table row type of pointsets

    {
      "name": "pointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "is_enabled",
          "type": "bool"
        },
        {
          "name": "is_time_limited",
          "type": "bool"
        },
        {
          "name": "enabled_until_ts",
          "type": "time_point[]"
        },
        {
          "name": "default_buy_points",
          "type": "uint16"
        },
        {
          "name": "default_open_points",
          "type": "uint16"
        },
        {
          "name": "default_craft_points",
          "type": "uint16"
        },
        {
          "name": "default_burn_points",
          "type": "uint16"
        }
      ]
    }
  • Table row type of pointsetcols

    {
      "name": "pointsetcol",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in rmvburnpts

    {
      "name": "rmvburnpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvcolfrmset

    {
      "name": "rmvcolfrmset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in rmvcollction

    {
      "name": "rmvcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in rmvcraftpts

    {
      "name": "rmvcraftpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvpackpts

    {
      "name": "rmvpackpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmvpointset

    {
      "name": "rmvpointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        }
      ]
    }
  • Action parameter in rmvskipacct

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

    {
      "name": "setadmin",
      "base": "",
      "fields": [
        {
          "name": "new_admin",
          "type": "name"
        }
      ]
    }
  • Action parameter in setversion

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

    {
      "name": "turnpointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "enable",
          "type": "bool"
        },
        {
          "name": "is_time_limited",
          "type": "bool"
        },
        {
          "name": "pointset_time_end",
          "type": "time_point[]"
        }
      ]
    }