@abcoathup Thanks for your response. I tried same link (Example on how to use ERC20 token in another contract) which you have provided. Your example works fine without issue. I have deployed my own smart contract (I have added below) into ethereum using remix IDE. When I try to verify and publish, it is not allowing import statement. So I removed import statement and replaced with IERC20 interface.
Because we need only transferFrom function, I removed rest of them. Now I tried to compile it in remix. It compiled successfully. But When I try to deploy it, it says the following information in pop-up window of remix IDE. This contract may be abstract, not implement an abstract parent's methods completely or not invoke an inherited contract's constructor correctly.
I deployed an ERC20 token (from: Deploy a simple ERC20 token in Remix). I was then able to deploy your contract in Remix and after approving an allowance from a token holder account, I was able to call sendERC20TokeToDnividends.
I compiled the SmartMatrix contract with Solidity 0.5.17.
The pop-up error is if you were inheriting from an interface or an abstract contract and hadn’t implemented all the functions. Was this from your ERC20 token rather than Smart Matrix contract?