This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts
npm install && forge install
攻击时间 | 项目 | 损失金额 | 原因 |
---|---|---|---|
2024.07.16 | LI.FI Protocol | $2,276,295 | 底层 call 调用 + 参数校验不严格 |
2024.07.23 | Spectra Protocol | $73, 325 | 底层 call 调用 + 参数校验不严格 |