Scorum
|
Starts vesting withdraw. 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 | account |
asset | scorumpower = asset(0, SP_SYMBOL) |
Starts vesting withdraw.
At any given point in time an account can be withdrawing from their scorumpower. A user may change the number of shares they wish to cash out at any time between 0 and their total scorumpower stake.
After applying this operation, scorumpower will be withdrawn at a rate of scorumpower/SCORUM_VESTING_WITHDRAW_INTERVALS per week for two years starting one week after this operation is included in the blockchain.
This operation is not valid if the user has no scorumpower.
Definition at line 432 of file scorum_operations.hpp.
|
inline |
Definition at line 438 of file scorum_operations.hpp.
void scorum::protocol::withdraw_scorumpower_operation::validate | ( | ) | const |
Definition at line 151 of file scorum_operations.cpp.
account_name_type scorum::protocol::withdraw_scorumpower_operation::account |
Definition at line 434 of file scorum_operations.hpp.
Definition at line 435 of file scorum_operations.hpp.