Scorum
Public Attributes | List of all members
scorum::protocol::post_bet_operation Struct Reference

This operation creates bet. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::post_bet_operation:
scorum::protocol::base_operation

Public Attributes

uuid_type uuid = boost::uuids::nil_uuid()
 Universal Unique Identifier which is unique for each bet. More...
 
account_name_type better
 owner for new bet More...
 
uuid_type game_uuid = boost::uuids::nil_uuid()
 Universal Unique Identifier which is specified during game creation. More...
 
wincase_type wincase
 wincase More...
 
odds_input odds
 odds - rational coefficient that define potential result (p). p = odds * stake More...
 
asset stake
 stake amount in SCR More...
 
bool live = true
 is this bet is active in live More...
 

Additional Inherited Members

- Public Member Functions inherited from scorum::protocol::base_operation
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
 

Detailed Description

This operation creates bet.

Definition at line 1109 of file scorum_operations.hpp.

Member Data Documentation

◆ better

account_name_type scorum::protocol::post_bet_operation::better

owner for new bet

Definition at line 1115 of file scorum_operations.hpp.

◆ game_uuid

uuid_type scorum::protocol::post_bet_operation::game_uuid = boost::uuids::nil_uuid()

Universal Unique Identifier which is specified during game creation.

Definition at line 1118 of file scorum_operations.hpp.

◆ live

bool scorum::protocol::post_bet_operation::live = true

is this bet is active in live

Definition at line 1130 of file scorum_operations.hpp.

◆ odds

odds_input scorum::protocol::post_bet_operation::odds

odds - rational coefficient that define potential result (p). p = odds * stake

Definition at line 1124 of file scorum_operations.hpp.

◆ stake

asset scorum::protocol::post_bet_operation::stake

stake amount in SCR

Definition at line 1127 of file scorum_operations.hpp.

◆ uuid

uuid_type scorum::protocol::post_bet_operation::uuid = boost::uuids::nil_uuid()

Universal Unique Identifier which is unique for each bet.

Definition at line 1112 of file scorum_operations.hpp.

◆ wincase

wincase_type scorum::protocol::post_bet_operation::wincase

wincase

Definition at line 1121 of file scorum_operations.hpp.


The documentation for this struct was generated from the following file: