WAX

earn.facings

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "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"
        }
      ]
    },
    {
      "name": "addcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "addcoltoset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "addcraftpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "craft_points",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "addmanualpts",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "points",
          "type": "int32"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "addskipacct",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "collection_info",
      "base": "",
      "fields": [
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "pointsets",
          "type": "name[]"
        }
      ]
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "contract_version",
          "type": "string"
        },
        {
          "name": "admin_acct",
          "type": "name"
        },
        {
          "name": "skipaccounts",
          "type": "name[]"
        }
      ]
    },
    {
      "name": "craftpoints",
      "base": "",
      "fields": [
        {
          "name": "recipe_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "craft_points",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "initial_admin",
          "type": "name"
        }
      ]
    },
    {
      "name": "loyaltypoint",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "loyalty_points",
          "type": "uint32"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "packpoints",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "open_points",
          "type": "uint16"
        },
        {
          "name": "buy_points",
          "type": "uint16"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "pointsetcol",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "rmvburnpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmvcolfrmset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "rmvcollction",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "rmvcraftpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipe_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmvpackpts",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmvpointset",
      "base": "",
      "fields": [
        {
          "name": "pointset_name",
          "type": "name"
        }
      ]
    },
    {
      "name": "rmvskipacct",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "setadmin",
      "base": "",
      "fields": [
        {
          "name": "new_admin",
          "type": "name"
        }
      ]
    },
    {
      "name": "setversion",
      "base": "",
      "fields": [
        {
          "name": "new_version",
          "type": "string"
        }
      ]
    },
    {
      "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[]"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addburnpts",
      "type": "addburnpts",
      "ricardian_contract": ""
    },
    {
      "name": "addcollction",
      "type": "addcollction",
      "ricardian_contract": ""
    },
    {
      "name": "addcoltoset",
      "type": "addcoltoset",
      "ricardian_contract": ""
    },
    {
      "name": "addcraftpts",
      "type": "addcraftpts",
      "ricardian_contract": ""
    },
    {
      "name": "addmanualpts",
      "type": "addmanualpts",
      "ricardian_contract": ""
    },
    {
      "name": "addpackpts",
      "type": "addpackpts",
      "ricardian_contract": ""
    },
    {
      "name": "addskipacct",
      "type": "addskipacct",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "newpointset",
      "type": "newpointset",
      "ricardian_contract": ""
    },
    {
      "name": "rmvburnpts",
      "type": "rmvburnpts",
      "ricardian_contract": ""
    },
    {
      "name": "rmvcolfrmset",
      "type": "rmvcolfrmset",
      "ricardian_contract": ""
    },
    {
      "name": "rmvcollction",
      "type": "rmvcollction",
      "ricardian_contract": ""
    },
    {
      "name": "rmvcraftpts",
      "type": "rmvcraftpts",
      "ricardian_contract": ""
    },
    {
      "name": "rmvpackpts",
      "type": "rmvpackpts",
      "ricardian_contract": ""
    },
    {
      "name": "rmvpointset",
      "type": "rmvpointset",
      "ricardian_contract": ""
    },
    {
      "name": "rmvskipacct",
      "type": "rmvskipacct",
      "ricardian_contract": ""
    },
    {
      "name": "setadmin",
      "type": "setadmin",
      "ricardian_contract": ""
    },
    {
      "name": "setversion",
      "type": "setversion",
      "ricardian_contract": ""
    },
    {
      "name": "turnpointset",
      "type": "turnpointset",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "burnpoints",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "burnpoints"
    },
    {
      "name": "collections",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "collection_info"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "craftpoints",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "craftpoints"
    },
    {
      "name": "loyaltypts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "loyaltypoint"
    },
    {
      "name": "packpoints",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "packpoints"
    },
    {
      "name": "pointsetcols",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pointsetcol"
    },
    {
      "name": "pointsets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pointset"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}