I have one contract that I give tokens from a ERC20 contract implemantation. When I call the balanceOf function from the Token conract. Response me that I have x Tokens. Nice !!
But when I try to send and amount of tokens(x/2 for example) from the smart-contract that have the X tokens to and specified address. I get the following error:
VM Exception while processing transaction: revert Not enough token
The question is, is necessary to have ether in the smart-contract to make the transaction?? It´s possible to a deployed smart-contract address give ether for making transactions??
Thx for the help