there some tokens to keep by the contract. how to manage receiving token in contract? for currency there is receive() payble method, what about ERC20? I can call token.transferFrom() and transfer token from sender to the contract, and manage it, but what if some just send a token from their metamask wallet?? cant understand the idea =((
Guys, can someone explain the idea of receiving ERC20 token by a contract?
contract receives the token, and transfer it to another EOA?
Create a test event and emit it anch chrck what is haopening
I can't understand idea when I send any token to the my contract, how should I handle this by contact?
You should use other standars for that, example erc223 if I remember correctly
Обсуждают сегодня