We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f4da1 commit 711160aCopy full SHA for 711160a
1 file changed
Plato333.md
@@ -15,6 +15,18 @@ timezone: UTC+8
15
## Notes
16
17
<!-- Content_START -->
18
+# 2025-08-15
19
+
20
+今天学习了有关接口合约的知识:
21
+ERC20 代币标准:通过接口定义了 transfer、balanceOf 等函数,所有 ERC20 代币合约都实现这些函数,因此可以被交易所、钱包等统一处理。
22
+solidity
23
+interface IERC20 {
24
+ function totalSupply() external view returns (uint256);
25
+ function balanceOf(address account) external view returns (uint256);
26
+ function transfer(address recipient, uint256 amount) external returns (bool);
27
+}
28
+这个合约任何实现了 IERC20 接口的代币,都能在支持 ERC20 的平台上通用。
29
30
# 2025-08-14
31
32
今天听了知识分享会收获很多,之后自己去深入了解了一下uinswapv1-v4的相关机制,然后就是本地部署了Hardhat。
0 commit comments