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.
10,83 mil
0
El contenido de esta página lo proporcionan terceros. A menos que se indique lo contrario, OKX no es el autor de los artículos citados y no reclama ningún derecho de autor sobre los materiales. El contenido se proporciona únicamente con fines informativos y no representa las opiniones de OKX. No pretende ser un respaldo de ningún tipo y no debe ser considerado como un consejo de inversión o una solicitud para comprar o vender activos digitales. En la medida en que la IA generativa se utiliza para proporcionar resúmenes u otra información, dicho contenido generado por IA puede ser inexacto o incoherente. Lee el artículo vinculado para obtener más detalles e información. OKX no es responsable del contenido alojado en sitios de terceros. El holding de activos digitales, incluyendo stablecoins y NFT, implican un alto grado de riesgo y pueden fluctuar en gran medida. Debes considerar cuidadosamente si el trading o holding de activos digitales es adecuado para ti a la luz de tu situación financiera.