refer to:
2022: https://www.panewslab.com/zh/articledetails/l9hj2ngug39u.html
2023:
https://www.fx168news.com/article/433280
solidity: 无法在实现代码中打印log. 只能用event来实现非常原始的输出。 好消息是可以使用 foundry在单元测试中打印log. solidity: for 跟java一样   for(i = 0; i < array.length; i++ ) ... if 跟java一样 class/contract 跟java一样 override 跟...
refer to: https://ethereum.stackexchange.com/questions/143171/hardhat-vs-foundry-which-to-use-for-testing https://jamesbachini.com/hardhat-vs-foundry/ 这个文章很精彩  先说下我这些天使用foundry的感受: 1. 速度超级快,运...
refer to: https://alpha-app.agentlayer.xyz/aegisx 例如:对这个代码: pragma solidity ^0.8.0; import "./ReentrancyGuard.sol"; /** * @title A Very Safe Lender */ interface ERC20Like { function tran...
Blockchain Solidity Yul 使用remix来调试assembly使用log1来触发event
Blockchain Solidity Nested_mapping