Odak modu
Code from video: https://solidity-by-example.org/sending-ether/
This video explains 3 ways to send ETH in Solidity: transfer, send and call.
A contract receiving Ether must have at least one of the functions below:
receive() is called if msg.data is empty, otherwise fallback() is called. If neither a receive Ether nor a payable fallback function is present, the contract cannot receive Ether through regular transactions and throws an exception.
Resources:
You can find detailed further information from Solidity Official documentation (in English):
https://docs.soliditylang.org/en/v0.8.14/contracts.html#receive-ether-function
https://docs.soliditylang.org/en/v0.8.14/contracts.html#fallback-function
https://medium.com/coinmonks/solidity-transfer-vs-send-vs-call-function-64c92cfc878a
Sektörde en çok aranan yazılım becerilerini kazan
Yapay zeka desteği, birebir mentörlük saatleri, canlı dersler ve senin için özel hazırlanmış içeriklerle eksiklerini tamamla, düzenli geri bildirimler al ve öğrenme sürecini en verimli hale getir.
Yunus Emre Kabakcı
Patika+ mezunuPatika+ Fullstack Web Development Bootcamp mezunumuz Yunus Emre,
3 ay içinde Katar’dan aldığı teklif ile, global bir şirket olan Pavo Group’da işe başladı!
“İçerik zenginliği, mentor desteği, ileriye dönük bir network sağlaması ve dünyada en çok tercih edilen frameworkler üzerinden bir eğitim veriyor olması Patika+’ı tercih etmemin temel sebepleri oldu!“
Yorum yapabilmek için derse kayıt olmalısın!