Scorum
|
Converts SCR to SP. More...
#include <scorum_operations.hpp>
Public Member Functions | |
void | validate () const |
void | get_required_active_authorities (flat_set< account_name_type > &a) const |
![]() | |
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 | from |
account_name_type | to |
if null, then same as from More... | |
asset | amount = asset(0, SCORUM_SYMBOL) |
Converts SCR to SP.
This operation converts SCR into SP at the current exchange rate. With this operation it is possible to give another account scorumpower so that faucets can pre-fund new accounts with scorumpower.
Definition at line 403 of file scorum_operations.hpp.
|
inline |
Definition at line 410 of file scorum_operations.hpp.
void scorum::protocol::transfer_to_scorumpower_operation::validate | ( | ) | const |
Definition at line 142 of file scorum_operations.cpp.
asset scorum::protocol::transfer_to_scorumpower_operation::amount = asset(0, SCORUM_SYMBOL) |
Definition at line 407 of file scorum_operations.hpp.
account_name_type scorum::protocol::transfer_to_scorumpower_operation::from |
Definition at line 405 of file scorum_operations.hpp.
account_name_type scorum::protocol::transfer_to_scorumpower_operation::to |
if null, then same as from
Definition at line 406 of file scorum_operations.hpp.