contract?
msg.value=The value of ether sent to the contract msg.sender=Caller of the contract
that is, in the contract, I send ether and this is stored in the msg.value?
You need a fallback function to receive ethers (unless it's a coinbase reward) yes, The ether values are stored in msg.value (wei)
Обсуждают сегодня