Scorum
Namespaces | Functions
betting_math.cpp File Reference
#include <scorum/chain/betting/betting_math.hpp>

Go to the source code of this file.

Namespaces

 scorum
 
 scorum::chain
 

Functions

asset scorum::chain::calculate_gain (const asset &bet_stake, const odds &odds)
 
matched_stake_type scorum::chain::calculate_matched_stake (const asset &bet1_stake, const asset &bet2_stake, const odds &bet1_odds, const odds &bet2_odds)