Weekend Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

Using selfdestruct(beneficiary) with the beneficiary being a contract without a payable fallback function:

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.

CBDE PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now CBDE pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"