Scorum
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
_
a
b
c
e
f
i
k
m
n
o
p
r
s
u
w
y
Enumerations
Enumerator
a
b
e
f
i
k
n
o
p
s
t
Related Functions
c
d
f
g
o
Files
File List
File Members
All
a
b
d
f
h
i
l
m
r
s
t
u
w
Functions
Variables
Macros
a
b
d
f
i
l
m
r
s
t
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
libraries
chain
services
withdraw_scorumpower_route_statistic.cpp
Go to the documentation of this file.
1
#include <
scorum/chain/services/withdraw_scorumpower_route_statistic.hpp
>
2
#include <
scorum/chain/schema/withdraw_scorumpower_objects.hpp
>
3
4
namespace
scorum
{
5
namespace
chain {
6
7
dbs_withdraw_scorumpower_route_statistic::dbs_withdraw_scorumpower_route_statistic
(
database
& db)
8
:
base_service_type
(db)
9
{
10
}
11
12
dbs_withdraw_scorumpower_route_statistic::~dbs_withdraw_scorumpower_route_statistic
()
13
{
14
}
15
16
bool
dbs_withdraw_scorumpower_route_statistic::is_exists
(
const
account_id_type
& from)
const
17
{
18
return
find_by<by_destination>(from) !=
nullptr
;
19
}
20
21
bool
dbs_withdraw_scorumpower_route_statistic::is_exists
(
const
dev_committee_id_type
& from)
const
22
{
23
return
find_by<by_destination>(from) !=
nullptr
;
24
}
25
26
const
withdraw_scorumpower_route_statistic_object
&
27
dbs_withdraw_scorumpower_route_statistic::get
(
const
account_id_type
& from)
const
28
{
29
try
30
{
31
return
get_by<by_destination>(from);
32
}
33
FC_CAPTURE_AND_RETHROW((from))
34
}
35
36
const
withdraw_scorumpower_route_statistic_object
&
37
dbs_withdraw_scorumpower_route_statistic::get
(
const
dev_committee_id_type
& from)
const
38
{
39
try
40
{
41
return
get_by<by_destination>(from);
42
}
43
FC_CAPTURE_AND_RETHROW((from))
44
}
45
46
}
// namespace chain
47
}
// namespace scorum
chainbase::oid
Definition:
betting_resolver.hpp:7
scorum::chain::database
tracks the blockchain state in an extensible manner
Definition:
database.hpp:52
scorum::chain::dbs_service_base
Definition:
service_base.hpp:42
scorum::chain::dbs_service_base< withdraw_scorumpower_route_statistic_service_i >::get
virtual const object_type & get() const override
Definition:
service_base.hpp:102
scorum::chain::dbs_service_base< withdraw_scorumpower_route_statistic_service_i >::is_exists
virtual bool is_exists() const override
Definition:
service_base.hpp:97
scorum::chain::dbs_withdraw_scorumpower_route_statistic::dbs_withdraw_scorumpower_route_statistic
dbs_withdraw_scorumpower_route_statistic(database &db)
Definition:
withdraw_scorumpower_route_statistic.cpp:7
scorum::chain::dbs_withdraw_scorumpower_route_statistic::~dbs_withdraw_scorumpower_route_statistic
~dbs_withdraw_scorumpower_route_statistic()
Definition:
withdraw_scorumpower_route_statistic.cpp:12
scorum::chain::withdraw_scorumpower_route_statistic_object
Definition:
withdraw_scorumpower_objects.hpp:29
scorum
Definition:
asset.cpp:15
withdraw_scorumpower_objects.hpp
withdraw_scorumpower_route_statistic.hpp
Generated on Thu Jun 9 2022 13:04:25 for Scorum by
1.9.1