literally one line of code in the ERC20 token standard could have saved untold losses I can already hear the optimizoooors "but noooooo, the extra gas you're adding, we have to minimize opcodes sirrrr." think about the tradeoffs implicit in what you're saying: we think it's better to have sharp edges in this mission critical software that's going to handle billions of dollars because it's cheaper in the happy path. my whole thing is, the sad path will happen, and when it does, the users who lost money will have no recourse and it will have been our fault as developers for not putting these basic checks in. DAI: 4.39m tokens sent to self USDT: 305,000 tokens sent to self Maker: $1.58m tokens sent to self There's a lot more tokens where this happened and twitter only lets me upload 4 pics. and yeah it's not a sev1, drop everything and fix it kind of issue, it's just more of a critique that no one put the thought into saying, hmmm here's a basic problem and let's work together as an ecosystem to fix it so users don't keep losing money in completely preventable ways. I'm working on fixing this because no else has.
1.07万
0
本页面内容由第三方提供。除非另有说明,欧易不是所引用文章的作者,也不对此类材料主张任何版权。该内容仅供参考,并不代表欧易观点,不作为任何形式的认可,也不应被视为投资建议或购买或出售数字资产的招揽。在使用生成式人工智能提供摘要或其他信息的情况下,此类人工智能生成的内容可能不准确或不一致。请阅读链接文章,了解更多详情和信息。欧易不对第三方网站上的内容负责。包含稳定币、NFTs 等在内的数字资产涉及较高程度的风险,其价值可能会产生较大波动。请根据自身财务状况,仔细考虑交易或持有数字资产是否适合您。