WAX

earn.facings

合约

此合约定义的数据结构。

  • 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"
        }
      ]
    }
  • addcollction中的操作参数

    {
      "name": "addcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • addcoltoset中的操作参数

    {
      "name": "addcoltoset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • addmanualpts中的操作参数

    {
      "name": "addmanualpts",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "points",
          "type": "int32"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • addskipacct中的操作参数

    {
      "name": "addskipacct",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • collections 的表格行类型

    {
      "name": "collection_info",
      "base": "",
      "fields": [
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "pointsets",
          "type": "name[]"
        }
      ]
    }
  • config 的表格行类型

    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "contract_version",
          "type": "string"
        },
        {
          "name": "admin_acct",
          "type": "name"
        },
        {
          "name": "skipaccounts",
          "type": "name[]"
        }
      ]
    }
  • craftpoints 的表格行类型

    {
      "name": "craftpoints",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "craft_points",
          "type": "uint16"
        }
      ]
    }
  • init中的操作参数

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

    {
      "name": "loyaltypoint",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "loyalty_points",
          "type": "uint32"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • 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"
        }
      ]
    }
  • pointsetcols 的表格行类型

    {
      "name": "pointsetcol",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • rmvburnpts中的操作参数

    {
      "name": "rmvburnpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    }
  • rmvcolfrmset中的操作参数

    {
      "name": "rmvcolfrmset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • rmvcollction中的操作参数

    {
      "name": "rmvcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    }
  • rmvcraftpts中的操作参数

    {
      "name": "rmvcraftpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    }
  • rmvpackpts中的操作参数

    {
      "name": "rmvpackpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        }
      ]
    }
  • rmvpointset中的操作参数

    {
      "name": "rmvpointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        }
      ]
    }
  • rmvskipacct中的操作参数

    {
      "name": "rmvskipacct",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • setadmin中的操作参数

    {
      "name": "setadmin",
      "base": "",
      "fields": [
        {
          "name": "new_admin",
          "type": "name"
        }
      ]
    }
  • setversion中的操作参数

    {
      "name": "setversion",
      "base": "",
      "fields": [
        {
          "name": "new_version",
          "type": "string"
        }
      ]
    }
  • 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[]"
        }
      ]
    }