Created
June 29, 2018 10:09
-
-
Save akhiltiwari-tr/139e07648d46376dd6d672d3e966b348 to your computer and use it in GitHub Desktop.
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"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment