Vaulta

boxgameadmin

Contract

{
  "version": "eosio::abi/1.0",
  "types": [
    {
      "new_type_name": "vuint64_t",
      "type": "uint64[]"
    },
    {
      "new_type_name": "vuint32_t",
      "type": "uint32[]"
    },
    {
      "new_type_name": "vuint8_t",
      "type": "uint8[]"
    },
    {
      "new_type_name": "vstring",
      "type": "string[]"
    }
  ],
  "structs": [
    {
      "name": "claimbonus",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "claiminvite",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "distribute",
      "base": "",
      "fields": [
        {
          "name": "percent",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "dodistribute",
      "base": "",
      "fields": [
        {
          "name": "stage",
          "type": "uint8"
        },
        {
          "name": "percent",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "hiloclaim",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "hilo_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "hilodeal",
      "base": "",
      "fields": [
        {
          "name": "hilo_id",
          "type": "uint64"
        },
        {
          "name": "round",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        }
      ]
    },
    {
      "name": "hilohit",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "hilo_id",
          "type": "uint64"
        },
        {
          "name": "round",
          "type": "uint8"
        },
        {
          "name": "guess",
          "type": "string"
        }
      ]
    },
    {
      "name": "hiloreceipt",
      "base": "",
      "fields": [
        {
          "name": "receipt",
          "type": "st_hilo_record"
        }
      ]
    },
    {
      "name": "hilosettle",
      "base": "",
      "fields": [
        {
          "name": "hilo_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "lock",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "lrclaim",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "leftright_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "lrdeal",
      "base": "",
      "fields": [
        {
          "name": "leftright_id",
          "type": "uint64"
        },
        {
          "name": "round",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        }
      ]
    },
    {
      "name": "lrhit",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "leftright_id",
          "type": "uint64"
        },
        {
          "name": "round",
          "type": "uint8"
        },
        {
          "name": "guess",
          "type": "string"
        }
      ]
    },
    {
      "name": "lrreceipt",
      "base": "",
      "fields": [
        {
          "name": "receipt",
          "type": "st_leftright_record"
        }
      ]
    },
    {
      "name": "lrsettle",
      "base": "",
      "fields": [
        {
          "name": "leftright_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "lucky",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "luckyclear",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "luckydraw",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "luckyreceipt",
      "base": "",
      "fields": [
        {
          "name": "receipt",
          "type": "st_lucky52_record"
        }
      ]
    },
    {
      "name": "luckyreveal",
      "base": "",
      "fields": [
        {
          "name": "lucky52_id",
          "type": "uint64"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        }
      ]
    },
    {
      "name": "luckysettle",
      "base": "",
      "fields": [
        {
          "name": "lucky52_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_account",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "seed",
          "type": "string"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "vip",
          "type": "uint8"
        },
        {
          "name": "play_ids",
          "type": "vuint32_t"
        }
      ]
    },
    {
      "name": "st_active_lucky52",
      "base": "",
      "fields": [
        {
          "name": "lucky52_id",
          "type": "uint64"
        },
        {
          "name": "foreign_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "card",
          "type": "string"
        },
        {
          "name": "card_type",
          "type": "string"
        },
        {
          "name": "size",
          "type": "uint8"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "st_bonus_mgr",
      "base": "",
      "fields": [
        {
          "name": "bonus_amounts",
          "type": "vuint64_t"
        },
        {
          "name": "point_amount",
          "type": "uint64"
        },
        {
          "name": "retire_amount",
          "type": "uint64"
        },
        {
          "name": "released_amount",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_bonus_record",
      "base": "",
      "fields": [
        {
          "name": "bonus_amounts",
          "type": "vuint64_t"
        },
        {
          "name": "point_amount",
          "type": "uint64"
        },
        {
          "name": "released_amount",
          "type": "uint64"
        },
        {
          "name": "retire_amount",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_bonus_state",
      "base": "",
      "fields": [
        {
          "name": "offset",
          "type": "name"
        },
        {
          "name": "amounts",
          "type": "vuint64_t"
        },
        {
          "name": "lock",
          "type": "uint8"
        },
        {
          "name": "stage",
          "type": "uint8"
        },
        {
          "name": "version",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_deferred_id",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_exchange_record",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "point",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_hilo_id",
      "base": "",
      "fields": [
        {
          "name": "hilo_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_hilo_record",
      "base": "",
      "fields": [
        {
          "name": "hilo_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "payouts",
          "type": "vuint64_t"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "cards",
          "type": "vstring"
        },
        {
          "name": "guesses",
          "type": "vstring"
        },
        {
          "name": "seed_hashs",
          "type": "vstring"
        },
        {
          "name": "sigs",
          "type": "vstring"
        },
        {
          "name": "sig_hashs",
          "type": "vstring"
        }
      ]
    },
    {
      "name": "st_invite_bonus",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amounts",
          "type": "vuint64_t"
        }
      ]
    },
    {
      "name": "st_jackpot_pool",
      "base": "",
      "fields": [
        {
          "name": "jackpot_id",
          "type": "uint64"
        },
        {
          "name": "amounts",
          "type": "vuint64_t"
        }
      ]
    },
    {
      "name": "st_jackpot_record",
      "base": "",
      "fields": [
        {
          "name": "jackpot_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "lucky_number",
          "type": "uint32"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "round",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "st_leftright_id",
      "base": "",
      "fields": [
        {
          "name": "leftright_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_leftright_record",
      "base": "",
      "fields": [
        {
          "name": "leftright_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "inviter",
          "type": "name"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "payouts",
          "type": "vuint64_t"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "cards",
          "type": "vstring"
        },
        {
          "name": "guesses",
          "type": "vstring"
        },
        {
          "name": "seed_hashs",
          "type": "vstring"
        },
        {
          "name": "sigs",
          "type": "vstring"
        },
        {
          "name": "sig_hashs",
          "type": "vstring"
        }
      ]
    },
    {
      "name": "st_lock_balance",
      "base": "",
      "fields": [
        {
          "name": "amounts",
          "type": "vuint64_t"
        }
      ]
    },
    {
      "name": "st_lucky52_id",
      "base": "",
      "fields": [
        {
          "name": "lucky52_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_lucky52_record",
      "base": "",
      "fields": [
        {
          "name": "lucky52_id",
          "type": "uint64"
        },
        {
          "name": "foreign_id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "play_id",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "card",
          "type": "string"
        },
        {
          "name": "card_type",
          "type": "string"
        },
        {
          "name": "randoms",
          "type": "vstring"
        },
        {
          "name": "payout",
          "type": "asset"
        },
        {
          "name": "player_seed",
          "type": "string"
        },
        {
          "name": "seed_hash",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "string"
        },
        {
          "name": "sig_hash",
          "type": "string"
        }
      ]
    },
    {
      "name": "st_luckydraw_global",
      "base": "",
      "fields": [
        {
          "name": "draw_time",
          "type": "uint64"
        },
        {
          "name": "counter",
          "type": "uint32"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "st_luckydraw_user",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "last_draw_time",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "st_user_bonus",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "amounts",
          "type": "vuint64_t"
        },
        {
          "name": "total_amounts",
          "type": "vuint64_t"
        }
      ]
    },
    {
      "name": "st_user_stat",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "counter",
          "type": "uint32"
        },
        {
          "name": "win",
          "type": "uint32"
        },
        {
          "name": "guess_amount",
          "type": "uint64"
        },
        {
          "name": "payout_amount",
          "type": "uint64"
        },
        {
          "name": "guess_amounts",
          "type": "vuint64_t"
        },
        {
          "name": "payout_amounts",
          "type": "vuint64_t"
        },
        {
          "name": "counters",
          "type": "vuint32_t"
        },
        {
          "name": "wins",
          "type": "vuint32_t"
        },
        {
          "name": "round",
          "type": "uint8"
        },
        {
          "name": "type",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "unlock",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "updateseed",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "seed",
          "type": "string"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "claimbonus",
      "type": "claimbonus",
      "ricardian_contract": ""
    },
    {
      "name": "claiminvite",
      "type": "claiminvite",
      "ricardian_contract": ""
    },
    {
      "name": "distribute",
      "type": "distribute",
      "ricardian_contract": ""
    },
    {
      "name": "dodistribute",
      "type": "dodistribute",
      "ricardian_contract": ""
    },
    {
      "name": "hiloclaim",
      "type": "hiloclaim",
      "ricardian_contract": ""
    },
    {
      "name": "hilodeal",
      "type": "hilodeal",
      "ricardian_contract": ""
    },
    {
      "name": "hilohit",
      "type": "hilohit",
      "ricardian_contract": ""
    },
    {
      "name": "hiloreceipt",
      "type": "hiloreceipt",
      "ricardian_contract": ""
    },
    {
      "name": "hilosettle",
      "type": "hilosettle",
      "ricardian_contract": ""
    },
    {
      "name": "lock",
      "type": "lock",
      "ricardian_contract": ""
    },
    {
      "name": "lrclaim",
      "type": "lrclaim",
      "ricardian_contract": ""
    },
    {
      "name": "lrdeal",
      "type": "lrdeal",
      "ricardian_contract": ""
    },
    {
      "name": "lrhit",
      "type": "lrhit",
      "ricardian_contract": ""
    },
    {
      "name": "lrreceipt",
      "type": "lrreceipt",
      "ricardian_contract": ""
    },
    {
      "name": "lrsettle",
      "type": "lrsettle",
      "ricardian_contract": ""
    },
    {
      "name": "lucky",
      "type": "lucky",
      "ricardian_contract": ""
    },
    {
      "name": "luckyclear",
      "type": "luckyclear",
      "ricardian_contract": ""
    },
    {
      "name": "luckydraw",
      "type": "luckydraw",
      "ricardian_contract": ""
    },
    {
      "name": "luckyreceipt",
      "type": "luckyreceipt",
      "ricardian_contract": ""
    },
    {
      "name": "luckyreveal",
      "type": "luckyreveal",
      "ricardian_contract": ""
    },
    {
      "name": "luckysettle",
      "type": "luckysettle",
      "ricardian_contract": ""
    },
    {
      "name": "unlock",
      "type": "unlock",
      "ricardian_contract": ""
    },
    {
      "name": "updateseed",
      "type": "updateseed",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_account"
    },
    {
      "name": "activelucky",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_active_lucky52"
    },
    {
      "name": "boxbonus",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_bonus_mgr"
    },
    {
      "name": "bonusrecord",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_bonus_record"
    },
    {
      "name": "bonusstate",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_bonus_state"
    },
    {
      "name": "deferredid",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_deferred_id"
    },
    {
      "name": "exchange",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_exchange_record"
    },
    {
      "name": "hiloid",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_hilo_id"
    },
    {
      "name": "activehilo",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_hilo_record"
    },
    {
      "name": "hilos",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_hilo_record"
    },
    {
      "name": "invitebonus",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_invite_bonus"
    },
    {
      "name": "boxjackpot",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_jackpot_pool"
    },
    {
      "name": "userjackpot",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_jackpot_record"
    },
    {
      "name": "leftrightid",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_leftright_id"
    },
    {
      "name": "activelr",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_leftright_record"
    },
    {
      "name": "leftright",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_leftright_record"
    },
    {
      "name": "prizepool",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_lock_balance"
    },
    {
      "name": "lucky52id",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_lucky52_id"
    },
    {
      "name": "lucky52s",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_lucky52_record"
    },
    {
      "name": "luckydraw",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_luckydraw_global"
    },
    {
      "name": "luckyuser",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_luckydraw_user"
    },
    {
      "name": "userbonus",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_user_bonus"
    },
    {
      "name": "boxuserstat",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "st_user_stat"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}