Hello good people... im trying to receive and after send erc20 tokens in my contract.
I dont want to issue a new token, i want to be able to interact with the tokens
Feb 4, 2021, 3:05 PM
What is the best approach to do it? Is the ierc20 interface from open zeppelin enough? Any example?
Thanks in advance
I need to have the approve function in my contract and transfer function right?
Feb 4, 2021, 3:06 PM
Yes. it's enough. you need to add transferanyERC20 function to transfer funds (tokens ) from the contract.
Feb 4, 2021, 3:21 PM