3 ms·
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 cons
by baby 9y ago
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?
- mbrock 9y agoThat'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_libraries_can_indeed_selfdestruct/ https://www.reddit.com/r/ethereum/comments/7bem7v/solidity_l...