热门话题
#
Bonk 生态迷因币展现强韧势头
#
有消息称 Pump.fun 计划 40 亿估值发币,引发市场猜测
#
Solana 新代币发射平台 Boop.Fun 风头正劲
捕捉黑客而不是监控攻击向量的最佳例子。
请密切关注。

2025年7月31日
It's time to share a quick video showcasing how a poorly written smart contract with obvious bugs can be protected against exploits using assertions.
The bug allows anyone to drain the smart contract by calling withdraw with exactly 69 ETH as input.
The assertion has a variety of checks in place, making sure that only accounts that have made deposits can withdraw amounts corresponding to their initial deposits. It even covers reentry and intra-tx manipulations.
This is all live on our demo network. Reach out if you want to try it out!
So yeah, it's pretty cool!
285
热门
排行
收藏