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

Transfers SCR from one account to another. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::transfer_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
 Account to transfer asset to. More...
 
asset amount = asset(0, SCORUM_SYMBOL)
 The amount of asset to transfer from from to to. More...
 
std::string memo
 

Detailed Description

Transfers SCR from one account to another.

Definition at line 246 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_active_authorities()

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

Definition at line 260 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 128 of file scorum_operations.cpp.

Member Data Documentation

◆ amount

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

The amount of asset to transfer from from to to.

Definition at line 252 of file scorum_operations.hpp.

◆ from

account_name_type scorum::protocol::transfer_operation::from

Definition at line 248 of file scorum_operations.hpp.

◆ memo

std::string scorum::protocol::transfer_operation::memo

The memo is plain-text, any encryption on the memo is up to a higher level protocol.

Definition at line 256 of file scorum_operations.hpp.

◆ to

account_name_type scorum::protocol::transfer_operation::to

Account to transfer asset to.

Definition at line 250 of file scorum_operations.hpp.


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