Skip to content

Commit 6e42e31

Browse files
committed
Add study notes for 2025-08-16
1 parent b9261c5 commit 6e42e31

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

segment7.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ segment7,成都,前北师大学生,现cs在读,目前使用lens protocol
1515
## Notes
1616

1717
<!-- Content_START -->
18+
# 2025-08-16
19+
20+
- **oracles** . e.g Chainlink [AggregatorV3Interface](https://docs.chain.link/chainlink-local/api-reference/v023/aggregator-v3-interface) for accessing detailed data like price feeds or, in our case, mock rainfall from an aggregator contract
21+
- 食用方法 `AggregatorV3Interface private xxx;` `xxx = AggregatorV3Interface(address;)`
22+
- **常用 [Feed Address](https://docs.chain.link/data-feeds) 以及操作文档**
23+
- % 模除用于取余,特别地,`A % 10的n倍数` 用于求A的后n位数值
24+
- scientific notation, `1e18` represents the number **1 followed by 18 zeros**
25+
- 类型转换
26+
- `int256 a;` -> `uint256 A = uint256(a);`
27+
1828
# 2025-08-15
1929

2030
- 花了点时间demo演示了基于Scaffold-ETH 2改良的代币自动贩卖机dapp模型,因为用的钱包测试币余额有点少没注意看,交易回退了两次,下次可以慢点不着急

0 commit comments

Comments
 (0)