I've issued a token using eosio.token standard contract. I want to prevent transfers to a number of specific accounts, for a limited time. Since it is temporary, I think I can simply hardcode the assertions into the contract, something like:
eosio_assert( to != "thisaccount1"_n, "Transfer prevented" );
eosio_assert( to != "thisaccount2"_n, "Transfer prevented" );
eosio_assert( to != "thisaccount3"_n, "Transfer prevented" );
inside the token::transfer method.
I know it looks quick'n'dirty, but would that work? And could it have any side effects ?