Blockchain CBDE Exam - Topic 5 Question 125 Discussion
Using selfdestruct(beneficiary) with the beneficiary being a contract without a payable fallback function:
B) it's impossible to secure a contract against receiving ether, because selfdestruct will always send ether to the address in the argument. This is a design decision of the Ethereum platform.
A) will throw an exception, because the fallback function is non-payable and thus cannot receive ether.
C) selfdestruct doesn't send anything to a contract, it just re-assigns the owner of the contract to a new person. Sending ether must be done outside of selfdestruct.
Margart
7 days agoTambra
12 days agoAudry
17 days agoAdrianna
22 days agoJeniffer
27 days agoJacki
1 month agoMagnolia
1 month agoChauncey
1 month agoMarge
2 months agoBernardo
2 months agoQueenie
2 months agoTheodora
2 months agoColette
2 months agoKenny
2 months agoAdaline
4 months agoMargart
4 months agoEvangelina
5 months agoLashawn
5 months agoLeslie
5 months agoJamika
5 months ago