Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::withdraw_scorumpower_operation Struct Reference

Starts vesting withdraw. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::withdraw_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 account
 
asset scorumpower = asset(0, SP_SYMBOL)
 

Detailed Description

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.

Member Function Documentation

◆ get_required_active_authorities()

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

Definition at line 438 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 151 of file scorum_operations.cpp.

Member Data Documentation

◆ account

account_name_type scorum::protocol::withdraw_scorumpower_operation::account

Definition at line 434 of file scorum_operations.hpp.

◆ scorumpower

asset scorum::protocol::withdraw_scorumpower_operation::scorumpower = asset(0, SP_SYMBOL)

Definition at line 435 of file scorum_operations.hpp.


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