Using selfdestruct(beneficiary) with the beneficiary being a contract without a payable fallback function:
A) will throw an exception, because the fallback function is non-payable and thus cannot receive ether.
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.
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.
Correct Answer:
Verified
Q43: If you are starting a new ERC20
Q44: It's easy to write clean-room unit-tests with
Q45: What's the difference between Ethereum Request for
Q46: When using assert to check invariants and
Q47: Address.call.value():
A) sends the gas stipend of 2300
Q49: When you do external calls to other
Q50: Truffle:
A) is a framework that helps developers
Q51: It's not possible to use inheritance from
Q52: Unit-Testing on a local chain is important,
Q53: To generate a random number:
A) it's good
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents