This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void escrow::estransfer( account_name from, | |
account_name to, | |
account_name agent, | |
asset quantity) | |
{ | |
eosio_assert( from != to, "cannot transfer to self" ); | |
require_auth( from ); | |
eosio_assert( is_account( to ), "to account does not exist"); | |
eosio_assert( is_account( agent ), "escrow agent account does not exist"); |