Skip to content

Commit

Permalink
update WTF
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng committed Oct 4, 2022
1 parent 5a252ab commit eef341e
Show file tree
Hide file tree
Showing 61 changed files with 121 additions and 121 deletions.
4 changes: 2 additions & 2 deletions 01_HelloWeb3/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ tags:
- wtfacademy
---

# Solidity极简入门: 1. HelloWeb3 (三行代码)
# WTF Solidity极简入门: 1. HelloWeb3 (三行代码)

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 02_ValueTypes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ tags:
- wtfacademy
---

# Solidity极简入门: 2. 数值类型
# WTF Solidity极简入门: 2. 数值类型

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 03_Function/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ tags:
- wtfacademy
---

# Solidity极简入门: 3. 函数类型
我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
# WTF Solidity极简入门: 3. 函数类型
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 04_Return/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- return
---

# Solidity极简入门: 4. 函数输出 return
# WTF Solidity极简入门: 4. 函数输出 return

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 05_DataStorage/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- storage/memory/calldata
---

# Solidity极简入门: 5. 变量数据存储和作用域 storage/memory/calldata
# WTF Solidity极简入门: 5. 变量数据存储和作用域 storage/memory/calldata

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 06_ArrayAndStruct/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- array/struct
---

# Solidity极简入门: 6. 引用类型, array, struct
# WTF Solidity极简入门: 6. 引用类型, array, struct

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 07_Mapping/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- mapping
---

# Solidity极简入门: 7. 映射类型 mapping
# WTF Solidity极简入门: 7. 映射类型 mapping

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 08_InitialValue/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ tags:
- wtfacademy
---

# Solidity极简入门: 8. 变量初始值
# WTF Solidity极简入门: 8. 变量初始值

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 09_Constant/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- constant/immutable
---

# Solidity极简入门: 9. 常数 constant和immutable
# WTF Solidity极简入门: 9. 常数 constant和immutable

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 10_InsertionSort/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- if-else/for/while/ternary
---

# Solidity极简入门: 10. 控制流,用solidity实现插入排序
# WTF Solidity极简入门: 10. 控制流,用solidity实现插入排序

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 11_Modifier/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- modifier
---

# Solidity极简入门: 11. 构造函数和修饰器
# WTF Solidity极简入门: 11. 构造函数和修饰器

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 12_Event/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- event
---

# Solidity极简入门: 12. 事件
# WTF Solidity极简入门: 12. 事件

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 13_Inheritance/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- inheritance
---

# Solidity极简入门: 13. 继承
# WTF Solidity极简入门: 13. 继承

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 14_Interface/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- interface
---

# Solidity极简入门: 14. 抽象合约和接口
# WTF Solidity极简入门: 14. 抽象合约和接口

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 15_Errors/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- revert/assert/require
---

# Solidity极简入门: 15. 异常
# WTF Solidity极简入门: 15. 异常

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
6 changes: 3 additions & 3 deletions 16_Overloading/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ tags:
- overloading
---

# Solidity极简入门: 16. 函数重载
我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
# WTF Solidity极简入门: 16. 函数重载
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand All @@ -33,7 +33,7 @@ function saySomething(string memory something) public pure returns(string memory
}
```

最终重载函数在经过编译器编译后,由于不同的参数类型,都变成了不同的函数选择器(selector)。关于函数选择器的具体内容可参考[Solidity极简入门: 29. 函数选择器Selector](https://github.com/AmazingAng/WTFSolidity/tree/main/29_Selector)
最终重载函数在经过编译器编译后,由于不同的参数类型,都变成了不同的函数选择器(selector)。关于函数选择器的具体内容可参考[WTF Solidity极简入门: 29. 函数选择器Selector](https://github.com/AmazingAng/WTFSolidity/tree/main/29_Selector)

`Overloading.sol` 合约为例,在 Remix 上编译部署后,分别调用重载函数 `saySomething()``saySomething(string memory something)`,可以看到他们返回了不同的结果,被区分为不同的函数。
![](./img/16-1.jpg)
Expand Down
4 changes: 2 additions & 2 deletions 17_Library/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- using for
---

# Solidity极简入门: 17. 库合约 站在巨人的肩膀上
# WTF Solidity极简入门: 17. 库合约 站在巨人的肩膀上

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 18_Import/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- import
---

# Solidity极简入门: 18. Import
# WTF Solidity极简入门: 18. Import

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 19_Fallback/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- fallback
---

# Solidity极简入门: 19. 接收ETH receive和fallback
# WTF Solidity极简入门: 19. 接收ETH receive和fallback

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 20_SendETH/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- transfer/send/call
---

# Solidity极简入门: 20. 发送ETH
# WTF Solidity极简入门: 20. 发送ETH

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 21_CallContract/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- call contract
---

# Solidity极简入门: 21. 调用其他合约
# WTF Solidity极简入门: 21. 调用其他合约

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 22_Call/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- call
---

# Solidity极简入门: 22. Call
# WTF Solidity极简入门: 22. Call

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 23_Delegatecall/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- delegatecall
---

# Solidity极简入门: 23. Delegatecall
# WTF Solidity极简入门: 23. Delegatecall

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 24_Create/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- create contract
---

# Solidity极简入门: 24. 在合约中创建新合约
# WTF Solidity极简入门: 24. 在合约中创建新合约

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 25_Create2/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- create2
---

# Solidity极简入门: 25. Create2
# WTF Solidity极简入门: 25. Create2

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 26_DeleteContract/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- delete contract
---

# Solidity极简入门: 26. 删除合约
# WTF Solidity极简入门: 26. 删除合约

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 27_ABIEncode/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- abi decoding
---

# Solidity极简入门: 27. ABI编码解码
# WTF Solidity极简入门: 27. ABI编码解码

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 28_Hash/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- hash
---

# Solidity极简入门: 28. Hash
# WTF Solidity极简入门: 28. Hash

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 29_Selector/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- selector
---

# Solidity极简入门: 29. 函数选择器Selector
# WTF Solidity极简入门: 29. 函数选择器Selector

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 30_TryCatch/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ tags:
- try catch
---

# Solidity极简入门: 30. Try Catch
# WTF Solidity极简入门: 30. Try Catch

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 31_ERC20/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- openzepplin
---

# Solidity极简入门: 31. ERC20
# WTF Solidity极简入门: 31. ERC20

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
4 changes: 2 additions & 2 deletions 32_Faucet/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tags:
- faucet
---

# Solidity极简入门: 32. 代币水龙头
# WTF Solidity极简入门: 32. 代币水龙头

我最近在重新学solidity,巩固一下细节,也写一个“Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。
我最近在重新学solidity,巩固一下细节,也写一个“WTF Solidity极简入门”,供小白们使用(编程大佬可以另找教程),每周更新1-3讲。

欢迎关注我的推特:[@0xAA_Science](https://twitter.com/0xAA_Science)

Expand Down
Loading

0 comments on commit eef341e

Please sign in to comment.