{
"version": "eosio::abi/1.0",
"types": [
{
"new_type_name": "n",
"type": "name"
},
{
"new_type_name": "a",
"type": "asset"
},
{
"new_type_name": "u",
"type": "uint32"
},
{
"new_type_name": "l",
"type": "uint64"
},
{
"new_type_name": "f",
"type": "float64"
},
{
"new_type_name": "t",
"type": "time_point_sec"
},
{
"new_type_name": "s",
"type": "string"
},
{
"new_type_name": "c",
"type": "symbol"
}
],
"structs": [
{
"name": "empty",
"base": "",
"fields": []
},
{
"name": "betsetting",
"base": "",
"fields": [
{
"name": "setting_id",
"type": "l"
},
{
"name": "manager_account",
"type": "n"
},
{
"name": "withdrawal_fee",
"type": "f"
},
{
"name": "reveal_timer",
"type": "u"
},
{
"name": "manager_reveal_timer",
"type": "u"
},
{
"name": "max_draw_timer",
"type": "u"
}
]
},
{
"name": "settingset",
"base": "",
"fields": [
{
"name": "manager_account",
"type": "n"
},
{
"name": "withdrawal_fee",
"type": "f"
},
{
"name": "reveal_timer",
"type": "u"
},
{
"name": "manager_reveal_timer",
"type": "u"
},
{
"name": "max_draw_timer",
"type": "u"
}
]
},
{
"name": "betdraw",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
},
{
"name": "draw_type",
"type": "u"
},
{
"name": "asset_contract",
"type": "n"
},
{
"name": "ticket_cost",
"type": "a"
},
{
"name": "created",
"type": "t"
},
{
"name": "draw_end_time",
"type": "t"
},
{
"name": "reveal_start_time",
"type": "t"
},
{
"name": "reveal_stop_time",
"type": "t"
},
{
"name": "draw_status",
"type": "u"
},
{
"name": "jackpot",
"type": "a"
},
{
"name": "winner_weights",
"type": "f[]"
},
{
"name": "bundle_id",
"type": "u"
}
]
},
{
"name": "newdraw",
"base": "",
"fields": [
{
"name": "draw_type",
"type": "u"
},
{
"name": "asset_contract",
"type": "n"
},
{
"name": "ticket_cost",
"type": "a"
},
{
"name": "draw_end_time",
"type": "t"
},
{
"name": "jackpot",
"type": "a"
},
{
"name": "winner_weights",
"type": "f[]"
},
{
"name": "seed",
"type": "checksum256"
},
{
"name": "bundle_id",
"type": "u"
}
]
},
{
"name": "deldraw",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
},
{
"name": "reinit",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
},
{
"name": "betposition",
"base": "",
"fields": [
{
"name": "position_id",
"type": "l"
},
{
"name": "account_id",
"type": "n"
},
{
"name": "draw_id",
"type": "l"
},
{
"name": "win_amount",
"type": "a"
}
]
},
{
"name": "delpositions",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
},
{
"name": "betsecret",
"base": "",
"fields": [
{
"name": "secret_id",
"type": "l"
},
{
"name": "position_id",
"type": "l"
},
{
"name": "draw_id",
"type": "l"
},
{
"name": "seed",
"type": "checksum256"
},
{
"name": "secret",
"type": "s"
}
]
},
{
"name": "delsecrets",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
},
{
"name": "reveal",
"base": "",
"fields": [
{
"name": "position_id",
"type": "l"
},
{
"name": "secret",
"type": "s"
}
]
},
{
"name": "draw",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
},
{
"name": "secret",
"type": "s"
}
]
},
{
"name": "expire",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
},
{
"name": "claim",
"base": "",
"fields": [
{
"name": "position_id",
"type": "l"
}
]
},
{
"name": "delall",
"base": "",
"fields": [
{
"name": "draw_id",
"type": "l"
}
]
}
],
"actions": [
{
"name": "currentver",
"type": "empty",
"ricardian_contract": ""
},
{
"name": "settingset",
"type": "settingset",
"ricardian_contract": ""
},
{
"name": "newdraw",
"type": "newdraw",
"ricardian_contract": ""
},
{
"name": "deldraw",
"type": "deldraw",
"ricardian_contract": ""
},
{
"name": "delpositions",
"type": "delpositions",
"ricardian_contract": ""
},
{
"name": "delsecrets",
"type": "delsecrets",
"ricardian_contract": ""
},
{
"name": "delall",
"type": "delall",
"ricardian_contract": ""
},
{
"name": "reinit",
"type": "reinit",
"ricardian_contract": ""
},
{
"name": "reveal",
"type": "reveal",
"ricardian_contract": ""
},
{
"name": "draw",
"type": "draw",
"ricardian_contract": ""
},
{
"name": "expire",
"type": "expire",
"ricardian_contract": ""
},
{
"name": "claim",
"type": "claim",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "betsettings",
"index_type": "i64",
"key_names": [
"setting_id"
],
"key_types": [
"uint64"
],
"type": "betsetting"
},
{
"name": "betdraws",
"index_type": "i64",
"key_names": [
"draw_id"
],
"key_types": [
"uint64"
],
"type": "betdraw"
},
{
"name": "betpositions",
"index_type": "i64",
"key_names": [
"position_id"
],
"key_types": [
"uint64"
],
"type": "betposition"
},
{
"name": "betsecrets",
"index_type": "i64",
"key_names": [
"secret_id"
],
"key_types": [
"uint64"
],
"type": "betsecret"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}