Scorum
|
Starts escrow transfer. 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 | from |
account_name_type | to |
account_name_type | agent |
uint32_t | escrow_id = 30 |
asset | scorum_amount = asset(0, SCORUM_SYMBOL) |
asset | fee = asset(0, SCORUM_SYMBOL) |
time_point_sec | ratification_deadline |
time_point_sec | escrow_expiration |
std::string | json_meta |
Starts escrow transfer.
The purpose of this operation is to enable someone to send money contingently to another individual. The funds leave the from account and go into a temporary balance where they are held until from releases it to to or to refunds it to from.
In the event of a dispute the agent can divide the funds between the to/from account. Disputes can be raised any time before or on the dispute deadline time, after the escrow has been approved by all parties.
This operation only creates a proposed escrow transfer. Both the agent and to must agree to the terms of the arrangement by approving the escrow.
The escrow agent is paid the fee on approval of all parties. It is up to the escrow agent to determine the fee.
Escrow transactions are uniquely identified by 'from' and 'escrow_id', the 'escrow_id' is defined by the sender.
Definition at line 288 of file scorum_operations.hpp.
|
inline |
Definition at line 304 of file scorum_operations.hpp.
void scorum::protocol::escrow_transfer_operation::validate | ( | ) | const |
Definition at line 193 of file scorum_operations.cpp.
account_name_type scorum::protocol::escrow_transfer_operation::agent |
Definition at line 292 of file scorum_operations.hpp.
time_point_sec scorum::protocol::escrow_transfer_operation::escrow_expiration |
Definition at line 299 of file scorum_operations.hpp.
uint32_t scorum::protocol::escrow_transfer_operation::escrow_id = 30 |
Definition at line 293 of file scorum_operations.hpp.
asset scorum::protocol::escrow_transfer_operation::fee = asset(0, SCORUM_SYMBOL) |
Definition at line 296 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_transfer_operation::from |
Definition at line 290 of file scorum_operations.hpp.
std::string scorum::protocol::escrow_transfer_operation::json_meta |
Definition at line 301 of file scorum_operations.hpp.
time_point_sec scorum::protocol::escrow_transfer_operation::ratification_deadline |
Definition at line 298 of file scorum_operations.hpp.
asset scorum::protocol::escrow_transfer_operation::scorum_amount = asset(0, SCORUM_SYMBOL) |
Definition at line 295 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_transfer_operation::to |
Definition at line 291 of file scorum_operations.hpp.