Scorum
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
scorum::protocol::transfer_to_scorumpower_operation Struct Reference

Converts SCR to SP. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::transfer_to_scorumpower_operation:
scorum::protocol::base_operation

Public Member Functions

void validate () const
 
void get_required_active_authorities (flat_set< account_name_type > &a) 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 from
 
account_name_type to
 if null, then same as from More...
 
asset amount = asset(0, SCORUM_SYMBOL)
 

Detailed Description

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.

Member Function Documentation

◆ get_required_active_authorities()

void scorum::protocol::transfer_to_scorumpower_operation::get_required_active_authorities ( flat_set< account_name_type > &  a) const
inline

Definition at line 410 of file scorum_operations.hpp.

◆ validate()

void scorum::protocol::transfer_to_scorumpower_operation::validate ( ) const

Definition at line 142 of file scorum_operations.cpp.

Member Data Documentation

◆ amount

asset scorum::protocol::transfer_to_scorumpower_operation::amount = asset(0, SCORUM_SYMBOL)

Definition at line 407 of file scorum_operations.hpp.

◆ from

account_name_type scorum::protocol::transfer_to_scorumpower_operation::from

Definition at line 405 of file scorum_operations.hpp.

◆ to

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.


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