Scorum
|
Delegates scorumpower from one account to the other. More...
#include <scorum_operations.hpp>
Public Member Functions | |
void | get_required_active_authorities (flat_set< account_name_type > &a) const |
void | validate () 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 | delegator |
The account delegating scorumpower. More... | |
account_name_type | delegatee |
The account receiving scorumpower. More... | |
asset | scorumpower = asset(0, SP_SYMBOL) |
The amount of scorumpower delegated. More... | |
Delegates scorumpower from one account to the other.
The scorumpower are still owned by the original account, but content voting rights and bandwidth allocation are transferred to the receiving account. This sets the delegation to scorumpower
, increasing it or decreasing it as needed. (i.e. a delegation of 0 removes the delegation) When a delegation is removed the shares are placed in limbo for a week to prevent a satoshi of SP from voting on the same content twice.
Definition at line 722 of file scorum_operations.hpp.
|
inline |
Definition at line 728 of file scorum_operations.hpp.
void scorum::protocol::delegate_scorumpower_operation::validate | ( | ) | const |
Definition at line 272 of file scorum_operations.cpp.
account_name_type scorum::protocol::delegate_scorumpower_operation::delegatee |
The account receiving scorumpower.
Definition at line 725 of file scorum_operations.hpp.
account_name_type scorum::protocol::delegate_scorumpower_operation::delegator |
The account delegating scorumpower.
Definition at line 724 of file scorum_operations.hpp.
The amount of scorumpower delegated.
Definition at line 726 of file scorum_operations.hpp.