WAX

packs.gene

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "addoutcome",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "int32"
        },
        {
          "name": "weight",
          "type": "uint32"
        },
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "schema",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "int32[]"
        },
        {
          "name": "float_based",
          "type": "bool"
        }
      ]
    },
    {
      "name": "addpack",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "collection",
          "type": "name"
        },
        {
          "name": "schema",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "addroll",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "balance",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "asset"
        }
      ]
    },
    {
      "name": "clroutcome",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "delpack",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "manager",
          "type": "name"
        }
      ]
    },
    {
      "name": "logunbox",
      "base": "",
      "fields": [
        {
          "name": "unboxer",
          "type": "name"
        },
        {
          "name": "case_id",
          "type": "uint64"
        },
        {
          "name": "unbox_id",
          "type": "uint64"
        },
        {
          "name": "unboxed_template",
          "type": "int32"
        },
        {
          "name": "float_value",
          "type": "float64"
        }
      ]
    },
    {
      "name": "maintenance",
      "base": "",
      "fields": []
    },
    {
      "name": "mintog",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "skins",
          "type": "skindata[]"
        }
      ]
    },
    {
      "name": "noop",
      "base": "",
      "fields": []
    },
    {
      "name": "outcome",
      "base": "",
      "fields": [
        {
          "name": "outcome_id",
          "type": "uint32"
        },
        {
          "name": "weight",
          "type": "uint32"
        },
        {
          "name": "mint_info",
          "type": "name[]"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "float_based",
          "type": "bool"
        }
      ]
    },
    {
      "name": "pack",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "viability",
          "type": "time_point[]"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "mint_info",
          "type": "name[]"
        },
        {
          "name": "roll",
          "type": "uint32[]"
        }
      ]
    },
    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "premints",
          "type": "uint64[]"
        },
        {
          "name": "mechanic",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "reburn",
      "base": "",
      "fields": [
        {
          "name": "asset_owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "rejob",
      "base": "",
      "fields": []
    },
    {
      "name": "reward",
      "base": "",
      "fields": [
        {
          "name": "recepients",
          "type": "name[]"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "roll",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "uint32"
        },
        {
          "name": "c_weight",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "setmanager",
      "base": "",
      "fields": [
        {
          "name": "manager",
          "type": "name"
        }
      ]
    },
    {
      "name": "setpool",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "mechanic",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "setskins",
      "base": "",
      "fields": [
        {
          "name": "skin_id",
          "type": "uint32"
        },
        {
          "name": "templates",
          "type": "int32[]"
        }
      ]
    },
    {
      "name": "skindata",
      "base": "",
      "fields": [
        {
          "name": "skin_id",
          "type": "int32"
        },
        {
          "name": "float_value",
          "type": "float32"
        }
      ]
    },
    {
      "name": "state",
      "base": "",
      "fields": [
        {
          "name": "maintenance",
          "type": "bool"
        },
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "manager",
          "type": "name"
        }
      ]
    },
    {
      "name": "unbox",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "templid",
          "type": "int32"
        },
        {
          "name": "float_value",
          "type": "float64"
        }
      ]
    },
    {
      "name": "unjob",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "unpackjob",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "job_type",
          "type": "uint8"
        },
        {
          "name": "pack_id",
          "type": "int32"
        },
        {
          "name": "unpack_time",
          "type": "time_point"
        },
        {
          "name": "float_value",
          "type": "float32"
        },
        {
          "name": "owner",
          "type": "name[]"
        }
      ]
    },
    {
      "name": "wear",
      "base": "",
      "fields": [
        {
          "name": "skin_id",
          "type": "uint32"
        },
        {
          "name": "template_id",
          "type": "int32[]"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addoutcome",
      "type": "addoutcome",
      "ricardian_contract": ""
    },
    {
      "name": "addpack",
      "type": "addpack",
      "ricardian_contract": ""
    },
    {
      "name": "addroll",
      "type": "addroll",
      "ricardian_contract": ""
    },
    {
      "name": "clroutcome",
      "type": "clroutcome",
      "ricardian_contract": ""
    },
    {
      "name": "delpack",
      "type": "delpack",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "logunbox",
      "type": "logunbox",
      "ricardian_contract": ""
    },
    {
      "name": "maintenance",
      "type": "maintenance",
      "ricardian_contract": ""
    },
    {
      "name": "mintog",
      "type": "mintog",
      "ricardian_contract": ""
    },
    {
      "name": "noop",
      "type": "noop",
      "ricardian_contract": ""
    },
    {
      "name": "reburn",
      "type": "reburn",
      "ricardian_contract": ""
    },
    {
      "name": "receiverand",
      "type": "receiverand",
      "ricardian_contract": ""
    },
    {
      "name": "rejob",
      "type": "rejob",
      "ricardian_contract": ""
    },
    {
      "name": "reward",
      "type": "reward",
      "ricardian_contract": ""
    },
    {
      "name": "setmanager",
      "type": "setmanager",
      "ricardian_contract": ""
    },
    {
      "name": "setpool",
      "type": "setpool",
      "ricardian_contract": ""
    },
    {
      "name": "setskins",
      "type": "setskins",
      "ricardian_contract": ""
    },
    {
      "name": "unjob",
      "type": "unjob",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "balances",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "balance"
    },
    {
      "name": "outcomes",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "outcome"
    },
    {
      "name": "packs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pack"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool"
    },
    {
      "name": "rolls",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "roll"
    },
    {
      "name": "state",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "state"
    },
    {
      "name": "unboxes",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "unbox"
    },
    {
      "name": "unpackjobs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "unpackjob"
    },
    {
      "name": "wears",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "wear"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}