Example on how to use ERC20 token in another contract

2 posts were split to a new topic: How transferFrom can be used with addresses other than the contract’s own?