makerdao/token-auction

Fallback function

Closed this issue · 1 comments

Users send funds directly to public frontends all the time. We'll save ourselves some support hassle by having a fallback function that refunds any sent ether.

This is a good best practice. Too bad you can't override fallback functions (wtf?) otherwise DSAuth and other base classes would all have function() { throw; }