
The data structures defined by this contract.
-
{ "name": "bet", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "from", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "game_id", "type": "uint64" }, { "name": "strategy", "type": "uint8" }, { "name": "referrer", "type": "name" } ] }
Action parameter in claimjackpot
{ "name": "claimjackpot", "base": "", "fields": [] }
-
{ "name": "config", "base": "", "fields": [ { "name": "current_game_id", "type": "uint64" }, { "name": "current_bet_id", "type": "uint64" }, { "name": "game_duration", "type": "microseconds" }, { "name": "paused", "type": "bool" }, { "name": "bets_to_process", "type": "uint16" }, { "name": "monkey_delta_4_decimals", "type": "uint32" }, { "name": "jackpot_duration", "type": "microseconds" }, { "name": "referrer_percentage", "type": "float64" } ] }
-
{ "name": "game", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "start_date", "type": "time_point_sec" }, { "name": "end_date", "type": "time_point_sec" }, { "name": "start_price", "type": "uint64" }, { "name": "end_price", "type": "uint64" }, { "name": "total_bear", "type": "asset" }, { "name": "total_monkey", "type": "asset" }, { "name": "total_bull", "type": "asset" }, { "name": "total_players", "type": "uint16" }, { "name": "refunded", "type": "bool" } ] }
-
{ "name": "init", "base": "", "fields": [] }
-
{ "name": "jackpot_s", "base": "", "fields": [ { "name": "last_action", "type": "time_point_sec" }, { "name": "last_players", "type": "name[]" } ] }
Struct property of config
{ "name": "microseconds", "base": "", "fields": [ { "name": "_count", "type": "int64" } ] }
-
{ "name": "oraclecb", "base": "", "fields": [ { "name": "price", "type": "string" } ] }
-
{ "name": "payforcpu", "base": "", "fields": [] }
-
{ "name": "payout", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" } ] }
-
{ "name": "payout_s", "base": "", "fields": [ { "name": "bet_id", "type": "uint64" }, { "name": "to", "type": "name" }, { "name": "eos_quantity", "type": "asset" }, { "name": "hndrdx_quantity", "type": "asset" }, { "name": "referrer", "type": "name" }, { "name": "date", "type": "time_point_sec" } ] }
Action parameter in processbets
{ "name": "processbets", "base": "", "fields": [ { "name": "bets_to_process", "type": "uint16" } ] }
-
{ "name": "setconfig", "base": "", "fields": [ { "name": "game_duration_seconds", "type": "uint64" }, { "name": "paused", "type": "bool" }, { "name": "bets_to_process", "type": "uint16" }, { "name": "monkey_delta", "type": "float32" }, { "name": "jackpot_duration_seconds", "type": "uint64" }, { "name": "referrer_percentage", "type": "float64" } ] }