"In this case however, the user deposited tokens to a smart-contract. Smart-contracts are supposed to prevent this mistakes, and they certainly can do that..."
"Error handling is one of the most basic principles of software security. Designing software in such a way that it wouldn't be possible for a user to lose their tokens should be a standard feature of a smart contract's functionality."
Collection
[
|
...
]