I have two simple questions.
Does all the smart contracts that creates ERC20 tokens have the same function names like balanceOf and transfer? Or developer select those names as they want?
Lets say i want to be intermediary, i create smart contract, people send me ether and after sometime they claim X tokens from contract. To do that i have to create instance of X tokens contract. When i do that and do transfer function does the X contract see contracts address as a sender or does it see the ones address who interacted with my contract?
Who has to pay gas if contracts communicate with each other?