Scorum
pending_bet.cpp
Go to the documentation of this file.
2 #include <boost/lambda/lambda.hpp>
3 
4 namespace scorum {
5 namespace chain {
6 
9 {
10 }
11 
12 bool dbs_pending_bet::is_exists(const uuid_type& uuid) const
13 {
14  return find_by<by_uuid>(uuid) != nullptr;
15 }
16 
18 {
19  try
20  {
21  return get_by<by_uuid>(uuid);
22  }
23  FC_CAPTURE_LOG_AND_RETHROW((uuid))
24 }
25 
26 } // namespace chain
27 } // namespace scorum
tracks the blockchain state in an extensible manner
Definition: database.hpp:52
const pending_bet_object & get_pending_bet(const uuid_type &) const override
Definition: pending_bet.cpp:17
Definition: asset.cpp:15
boost::uuids::uuid uuid_type
Definition: types.hpp:53