├── 01_HelloWeb3 ├── HelloWeb3.sol └── readme.md ├── 02_ValueTypes ├── ValueTypes.sol └── readme.md ├── 03_Function ├── Function.sol └── readme.md ├── 04_DataStorage ├── DataStorage.sol └── readme.md ├── 05_ArrayAndStruct ├── ArrayAndStruct.sol └── readme.md ├── 06_Mapping ├── Mapping.sol └── readme.md ├── 07_InsertionSort ├── InsertionSort.sol └── readme.md ├── 08_Modifier ├── Owner.sol └── readme.md ├── 09_Event ├── Event.sol └── readme.md ├── 10_Inheritance ├── Inheritance.sol └── readme.md ├── 11_Interface ├── Interface.sol └── readme.md ├── 12_Library ├── Library.sol └── readme.md ├── 13_Errors ├── Error.sol └── readme.md ├── 14_Constant ├── Constant.sol └── readme.md ├── 15_Overloading ├── Overloading.sol └── readme.md ├── 16_Fallback ├── Fallback.sol └── readme.md ├── 17_SendETH ├── SendETH.sol └── readme.md ├── 18_Return ├── Return.sol └── readme.md ├── 19_CallContract ├── CallContract.sol └── readme.md ├── 20_InitialValue ├── InitialValue.sol └── readme.md ├── 21_Call ├── Call.sol └── readme.md ├── 22_Delegatecall ├── Delegatecall.sol └── readme.md ├── 23_Create ├── Create.sol └── readme.md ├── 24_Create2 ├── Create2.sol └── readme.md ├── 25_DeleteContract ├── DeleteContract.sol └── readme.md ├── 26_ABIEncode ├── ABIEncode.sol └── readme.md ├── 27_Hash ├── Hash.sol └── readme.md ├── 28_Selector ├── Selector.sol └── readme.md ├── CallContract.sol ├── ERC721 ├── Address.sol ├── BAYC.sol ├── Context.sol ├── ERC165.sol ├── ERC721.sol ├── IERC165.sol ├── IERC721.sol ├── IERC721Metadata.sol ├── IERC721Receiver.sol └── Strings.sol ├── LICENSE ├── README.md ├── Security └── Consensys2020 │ └── readme.md └── img ├── banner.jpeg ├── logo2.jpeg └── readme.md /01_HelloWeb3/HelloWeb3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/01_HelloWeb3/HelloWeb3.sol -------------------------------------------------------------------------------- /01_HelloWeb3/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/01_HelloWeb3/readme.md -------------------------------------------------------------------------------- /02_ValueTypes/ValueTypes.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/02_ValueTypes/ValueTypes.sol -------------------------------------------------------------------------------- /02_ValueTypes/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/02_ValueTypes/readme.md -------------------------------------------------------------------------------- /03_Function/Function.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/03_Function/Function.sol -------------------------------------------------------------------------------- /03_Function/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/03_Function/readme.md -------------------------------------------------------------------------------- /04_DataStorage/DataStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/04_DataStorage/DataStorage.sol -------------------------------------------------------------------------------- /04_DataStorage/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/04_DataStorage/readme.md -------------------------------------------------------------------------------- /05_ArrayAndStruct/ArrayAndStruct.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/05_ArrayAndStruct/ArrayAndStruct.sol -------------------------------------------------------------------------------- /05_ArrayAndStruct/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/05_ArrayAndStruct/readme.md -------------------------------------------------------------------------------- /06_Mapping/Mapping.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/06_Mapping/Mapping.sol -------------------------------------------------------------------------------- /06_Mapping/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/06_Mapping/readme.md -------------------------------------------------------------------------------- /07_InsertionSort/InsertionSort.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/07_InsertionSort/InsertionSort.sol -------------------------------------------------------------------------------- /07_InsertionSort/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/07_InsertionSort/readme.md -------------------------------------------------------------------------------- /08_Modifier/Owner.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/08_Modifier/Owner.sol -------------------------------------------------------------------------------- /08_Modifier/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/08_Modifier/readme.md -------------------------------------------------------------------------------- /09_Event/Event.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/09_Event/Event.sol -------------------------------------------------------------------------------- /09_Event/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/09_Event/readme.md -------------------------------------------------------------------------------- /10_Inheritance/Inheritance.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/10_Inheritance/Inheritance.sol -------------------------------------------------------------------------------- /10_Inheritance/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/10_Inheritance/readme.md -------------------------------------------------------------------------------- /11_Interface/Interface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/11_Interface/Interface.sol -------------------------------------------------------------------------------- /11_Interface/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/11_Interface/readme.md -------------------------------------------------------------------------------- /12_Library/Library.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/12_Library/Library.sol -------------------------------------------------------------------------------- /12_Library/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/12_Library/readme.md -------------------------------------------------------------------------------- /13_Errors/Error.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/13_Errors/Error.sol -------------------------------------------------------------------------------- /13_Errors/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/13_Errors/readme.md -------------------------------------------------------------------------------- /14_Constant/Constant.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/14_Constant/Constant.sol -------------------------------------------------------------------------------- /14_Constant/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/14_Constant/readme.md -------------------------------------------------------------------------------- /15_Overloading/Overloading.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/15_Overloading/Overloading.sol -------------------------------------------------------------------------------- /15_Overloading/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/15_Overloading/readme.md -------------------------------------------------------------------------------- /16_Fallback/Fallback.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/16_Fallback/Fallback.sol -------------------------------------------------------------------------------- /16_Fallback/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/16_Fallback/readme.md -------------------------------------------------------------------------------- /17_SendETH/SendETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/17_SendETH/SendETH.sol -------------------------------------------------------------------------------- /17_SendETH/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/17_SendETH/readme.md -------------------------------------------------------------------------------- /18_Return/Return.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/18_Return/Return.sol -------------------------------------------------------------------------------- /18_Return/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/18_Return/readme.md -------------------------------------------------------------------------------- /19_CallContract/CallContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/19_CallContract/CallContract.sol -------------------------------------------------------------------------------- /19_CallContract/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/19_CallContract/readme.md -------------------------------------------------------------------------------- /20_InitialValue/InitialValue.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/20_InitialValue/InitialValue.sol -------------------------------------------------------------------------------- /20_InitialValue/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/20_InitialValue/readme.md -------------------------------------------------------------------------------- /21_Call/Call.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/21_Call/Call.sol -------------------------------------------------------------------------------- /21_Call/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/21_Call/readme.md -------------------------------------------------------------------------------- /22_Delegatecall/Delegatecall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/22_Delegatecall/Delegatecall.sol -------------------------------------------------------------------------------- /22_Delegatecall/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/22_Delegatecall/readme.md -------------------------------------------------------------------------------- /23_Create/Create.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/23_Create/Create.sol -------------------------------------------------------------------------------- /23_Create/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/23_Create/readme.md -------------------------------------------------------------------------------- /24_Create2/Create2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/24_Create2/Create2.sol -------------------------------------------------------------------------------- /24_Create2/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/24_Create2/readme.md -------------------------------------------------------------------------------- /25_DeleteContract/DeleteContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/25_DeleteContract/DeleteContract.sol -------------------------------------------------------------------------------- /25_DeleteContract/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/25_DeleteContract/readme.md -------------------------------------------------------------------------------- /26_ABIEncode/ABIEncode.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/26_ABIEncode/ABIEncode.sol -------------------------------------------------------------------------------- /26_ABIEncode/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/26_ABIEncode/readme.md -------------------------------------------------------------------------------- /27_Hash/Hash.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/27_Hash/Hash.sol -------------------------------------------------------------------------------- /27_Hash/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/27_Hash/readme.md -------------------------------------------------------------------------------- /28_Selector/Selector.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/28_Selector/Selector.sol -------------------------------------------------------------------------------- /28_Selector/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/28_Selector/readme.md -------------------------------------------------------------------------------- /CallContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/CallContract.sol -------------------------------------------------------------------------------- /ERC721/Address.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/Address.sol -------------------------------------------------------------------------------- /ERC721/BAYC.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/BAYC.sol -------------------------------------------------------------------------------- /ERC721/Context.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/Context.sol -------------------------------------------------------------------------------- /ERC721/ERC165.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/ERC165.sol -------------------------------------------------------------------------------- /ERC721/ERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/ERC721.sol -------------------------------------------------------------------------------- /ERC721/IERC165.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/IERC165.sol -------------------------------------------------------------------------------- /ERC721/IERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/IERC721.sol -------------------------------------------------------------------------------- /ERC721/IERC721Metadata.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/IERC721Metadata.sol -------------------------------------------------------------------------------- /ERC721/IERC721Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/IERC721Receiver.sol -------------------------------------------------------------------------------- /ERC721/Strings.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/ERC721/Strings.sol -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/README.md -------------------------------------------------------------------------------- /Security/Consensys2020/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/Security/Consensys2020/readme.md -------------------------------------------------------------------------------- /img/banner.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/img/banner.jpeg -------------------------------------------------------------------------------- /img/logo2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sailorfw/WTFSolidity/HEAD/img/logo2.jpeg -------------------------------------------------------------------------------- /img/readme.md: -------------------------------------------------------------------------------- 1 | 教程所使用的图片 2 | --------------------------------------------------------------------------------