Scorum
|
This operation creates game object. More...
#include <scorum_operations.hpp>
Public Attributes | |
uuid_type | uuid = boost::uuids::nil_uuid() |
Universal Unique Identifier which is unique for each game. More... | |
account_name_type | moderator |
moderator account name More... | |
std::string | json_metadata |
JSON metadata. More... | |
time_point_sec | start_time |
game start time More... | |
uint32_t | auto_resolve_delay_sec = 0 |
delay starting from start after which all bets are automatically resolved if game results weren't provided More... | |
game_type | game |
game type (soccer, hockey, etc ...) More... | |
std::vector< market_type > | markets |
list of markets More... | |
Additional Inherited Members | |
![]() | |
void | get_required_authorities (std::vector< authority > &) const |
void | get_required_active_authorities (flat_set< account_name_type > &) const |
void | get_required_posting_authorities (flat_set< account_name_type > &) const |
void | get_required_owner_authorities (flat_set< account_name_type > &) const |
bool | is_virtual () const |
void | validate () const |
This operation creates game object.
Game will have status 'created' until start_time < head_block_time. Game status changed to 'started' when start_time >= head_block_time. Game status changed to 'finished' when moderator performs post_game_results_operation
Definition at line 968 of file scorum_operations.hpp.
uint32_t scorum::protocol::create_game_operation::auto_resolve_delay_sec = 0 |
delay starting from start after which all bets are automatically resolved if game results weren't provided
Definition at line 983 of file scorum_operations.hpp.
game_type scorum::protocol::create_game_operation::game |
game type (soccer, hockey, etc ...)
Definition at line 986 of file scorum_operations.hpp.
std::string scorum::protocol::create_game_operation::json_metadata |
JSON metadata.
Definition at line 977 of file scorum_operations.hpp.
std::vector<market_type> scorum::protocol::create_game_operation::markets |
list of markets
Definition at line 989 of file scorum_operations.hpp.
account_name_type scorum::protocol::create_game_operation::moderator |
moderator account name
Definition at line 974 of file scorum_operations.hpp.
time_point_sec scorum::protocol::create_game_operation::start_time |
game start time
Definition at line 980 of file scorum_operations.hpp.
uuid_type scorum::protocol::create_game_operation::uuid = boost::uuids::nil_uuid() |
Universal Unique Identifier which is unique for each game.
Definition at line 971 of file scorum_operations.hpp.