Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Didn't they fuck it up by creating a real contract instead of a library (where you can only do delegatecalls)? And having an init function that was not the constructor as well?


That's not really how Solidity libraries work. They don't prevent non-delegate calls. And library functions can call selfdestruct.

https://www.reddit.com/r/ethereum/comments/7bem7v/solidity_l...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: