considering the contract doesnt actually receive the tokens but the ledger in the TOKEN CONTRACT is what actually keeps track of who has what tokens
Apr 7, 2023, 3:47 PM
there is no actual tokens sitting "in the contract"
that isnt how they work.
Hope that makes sense.
Apr 7, 2023, 3:47 PM
so, to sum up. I can use receive() external payable{} to receive both erc20 and ether. Right?
Apr 7, 2023, 3:50 PM
in essence yeah it will work
Apr 7, 2023, 3:51 PM