Skip to content

Instantly share code, notes, and snippets.

View akhiltiwari-tr's full-sized avatar

akhilforTR akhiltiwari-tr

  • @techracers.com
  • Pune
View GitHub Profile
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");