Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::bets_matched_operation Struct Reference

#include <scorum_virtual_operations.hpp>

Inheritance diagram for scorum::protocol::bets_matched_operation:
scorum::protocol::virtual_operation scorum::protocol::base_operation

Public Member Functions

 bets_matched_operation ()=default
 
 bets_matched_operation (account_name_type better1, account_name_type better2, uuid_type bet1_uuid, uuid_type bet2_uuid, asset matched_stake1, asset matched_stake2, int64_t matched_bet_id)
 
- Public Member Functions inherited from scorum::protocol::virtual_operation
bool is_virtual () const
 
void validate () const
 
- 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
 

Public Attributes

account_name_type better1
 
account_name_type better2
 
uuid_type bet1_uuid
 
uuid_type bet2_uuid
 
asset matched_stake1 = asset(0, SCORUM_SYMBOL)
 
asset matched_stake2 = asset(0, SCORUM_SYMBOL)
 
int64_t matched_bet_id = -1
 

Detailed Description

Definition at line 397 of file scorum_virtual_operations.hpp.

Constructor & Destructor Documentation

◆ bets_matched_operation() [1/2]

scorum::protocol::bets_matched_operation::bets_matched_operation ( )
default

◆ bets_matched_operation() [2/2]

scorum::protocol::bets_matched_operation::bets_matched_operation ( account_name_type  better1,
account_name_type  better2,
uuid_type  bet1_uuid,
uuid_type  bet2_uuid,
asset  matched_stake1,
asset  matched_stake2,
int64_t  matched_bet_id 
)
inline

Definition at line 400 of file scorum_virtual_operations.hpp.

Member Data Documentation

◆ bet1_uuid

uuid_type scorum::protocol::bets_matched_operation::bet1_uuid

Definition at line 419 of file scorum_virtual_operations.hpp.

◆ bet2_uuid

uuid_type scorum::protocol::bets_matched_operation::bet2_uuid

Definition at line 420 of file scorum_virtual_operations.hpp.

◆ better1

account_name_type scorum::protocol::bets_matched_operation::better1

Definition at line 417 of file scorum_virtual_operations.hpp.

◆ better2

account_name_type scorum::protocol::bets_matched_operation::better2

Definition at line 418 of file scorum_virtual_operations.hpp.

◆ matched_bet_id

int64_t scorum::protocol::bets_matched_operation::matched_bet_id = -1

Definition at line 423 of file scorum_virtual_operations.hpp.

◆ matched_stake1

asset scorum::protocol::bets_matched_operation::matched_stake1 = asset(0, SCORUM_SYMBOL)

Definition at line 421 of file scorum_virtual_operations.hpp.

◆ matched_stake2

asset scorum::protocol::bets_matched_operation::matched_stake2 = asset(0, SCORUM_SYMBOL)

Definition at line 422 of file scorum_virtual_operations.hpp.


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