Scorum
|
Releases escrow transaction. 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 |
the original 'to' More... | |
account_name_type | agent |
account_name_type | who |
the account that is attempting to release the funds, determines valid 'receiver' More... | |
account_name_type | receiver |
the account that should receive funds (might be from, might be to) More... | |
uint32_t | escrow_id = 30 |
asset | scorum_amount = asset(0, SCORUM_SYMBOL) |
the amount of scorum to release More... | |
Releases escrow transaction.
This operation can be used by anyone associated with the escrow transfer to release funds if they have permission.
The permission scheme is as follows: If there is no dispute and escrow has not expired, either party can release funds to the other. If escrow expires and there is no dispute, either party can release funds to either party. If there is a dispute regardless of expiration, the agent can release funds to either party following whichever agreement was in place between the parties.
Definition at line 375 of file scorum_operations.hpp.
|
inline |
Definition at line 387 of file scorum_operations.hpp.
void scorum::protocol::escrow_release_operation::validate | ( | ) | const |
Definition at line 229 of file scorum_operations.cpp.
account_name_type scorum::protocol::escrow_release_operation::agent |
Definition at line 379 of file scorum_operations.hpp.
uint32_t scorum::protocol::escrow_release_operation::escrow_id = 30 |
Definition at line 383 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_release_operation::from |
Definition at line 377 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_release_operation::receiver |
the account that should receive funds (might be from, might be to)
Definition at line 381 of file scorum_operations.hpp.
asset scorum::protocol::escrow_release_operation::scorum_amount = asset(0, SCORUM_SYMBOL) |
the amount of scorum to release
Definition at line 384 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_release_operation::to |
the original 'to'
Definition at line 378 of file scorum_operations.hpp.
account_name_type scorum::protocol::escrow_release_operation::who |
the account that is attempting to release the funds, determines valid 'receiver'
Definition at line 380 of file scorum_operations.hpp.