From 0f3002018725d41c5b4fd11e9114f2332475ae84 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:08:07 +0100 Subject: [PATCH 1/6] typo README.md --- basic/20-flash-loan/aavev3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic/20-flash-loan/aavev3/README.md b/basic/20-flash-loan/aavev3/README.md index adedf8533..c5ce4cb57 100644 --- a/basic/20-flash-loan/aavev3/README.md +++ b/basic/20-flash-loan/aavev3/README.md @@ -112,7 +112,7 @@ And all of this will be saved in the POOL variable, which needs to be wrapped in When we triggered valid flashloan with `flashLoan` function, the all paramaters in `executeOperation` will be passed automatically -Then, we can insert any logical we want to excute. In this step, we had have all usable fund from flashloan, and we can use it to have a arbitrage. +Then, we can insert any logical we want to excute. In this step, we had have all usable fund from flashloan, and we can use it to have an arbitrage. After we used flashloan, it's repay time. From 344945fd956634147cb664adc1e443be546c1cf2 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:08:44 +0100 Subject: [PATCH 2/6] typo README.md --- basic/42-merkle-distributor-airdrop/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic/42-merkle-distributor-airdrop/README.md b/basic/42-merkle-distributor-airdrop/README.md index 2a72f8a72..cb2ff0508 100644 --- a/basic/42-merkle-distributor-airdrop/README.md +++ b/basic/42-merkle-distributor-airdrop/README.md @@ -52,7 +52,7 @@ Please refer to the code: contracts/redpacket - ERC721LazyMintWith712 In the above example, we create signature with a parameter maybe friendly to machine but not that friendly to humans. Moreover, when Metamask pops up for signing we do not know what is being signed. We prefer a more structured, more readable scheme for us to see what data will be signed. EIP-712 address this point; It can display the data to be signed to user, and the generated signature will be verified by smart contract. The whole process is similiar to that in ERC721LazyMint. - Here is a example for creating signature by EIP-712: + Here is an example for creating signature by EIP-712: ```js // Domain @@ -186,4 +186,4 @@ Please refer to the code: contracts/redpacket - github demo: - uni airdrop: - uni airdrop: -- ethereum etl: \ No newline at end of file +- ethereum etl: From 5ae3fe4fdd2cbfb4e92eba6deeb578c85ed3da0e Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:09:23 +0100 Subject: [PATCH 3/6] typo readme.md --- dao/Mirror/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/Mirror/readme.md b/dao/Mirror/readme.md index 87f1c275a..33445b2db 100644 --- a/dao/Mirror/readme.md +++ b/dao/Mirror/readme.md @@ -2,7 +2,7 @@ + It is little step of the production on ability of Bloging, but it is a great step of Web3. + Cause of we can write without permission or controls and we can use NFT to get the benefit of high quality content writing but not to using hot topic to get traffic and make money from advertising. + So, it is a great idea. -+ Build by a16z crypto pre partner, Denis Nazarov, he is a Developer, not only a investor, with my great respective. ++ Build by a16z crypto pre partner, Denis Nazarov, he is a Developer, not only an investor, with my great respective. + Mirror.xyz + github :[Mirror](https://github.com/mirror-xyz) From cafe37c7ea9381697b997e6f5047a0c9226bf73e Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:12:43 +0100 Subject: [PATCH 4/6] typos Vault.sol --- defi/Alchemix/contracts/libraries/alchemist/Vault.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defi/Alchemix/contracts/libraries/alchemist/Vault.sol b/defi/Alchemix/contracts/libraries/alchemist/Vault.sol index 714e670d4..f15cb5079 100644 --- a/defi/Alchemix/contracts/libraries/alchemist/Vault.sol +++ b/defi/Alchemix/contracts/libraries/alchemist/Vault.sol @@ -111,14 +111,14 @@ library Vault { return _self.directWithdraw(_recipient, _withdrawAmount); } - /// @dev Adds a element to the list. + /// @dev Adds an element to the list. /// /// @param _element the element to add. function push(List storage _self, Data memory _element) internal { _self.elements.push(_element); } - /// @dev Gets a element from the list. + /// @dev Gets an element from the list. /// /// @param _index the index in the list. /// From 7233a0b8c4036c7705ad6738441055d06e3344fd Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:13:29 +0100 Subject: [PATCH 5/6] typos VaultWithIndirection.sol --- .../contracts/libraries/alchemist/VaultWithIndirection.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defi/Alchemix/contracts/libraries/alchemist/VaultWithIndirection.sol b/defi/Alchemix/contracts/libraries/alchemist/VaultWithIndirection.sol index 116da48d2..50816a406 100644 --- a/defi/Alchemix/contracts/libraries/alchemist/VaultWithIndirection.sol +++ b/defi/Alchemix/contracts/libraries/alchemist/VaultWithIndirection.sol @@ -132,14 +132,14 @@ library VaultWithIndirection { return _self.indirectWithdraw(_recipient, _withdrawAmount); } - /// @dev Adds a element to the list. + /// @dev Adds an element to the list. /// /// @param _element the element to add. function push(List storage _self, Data memory _element) internal { _self.elements.push(_element); } - /// @dev Gets a element from the list. + /// @dev Gets an element from the list. /// /// @param _index the index in the list. /// From 24e06b2f79a3e0dc10b3c6a418917f04d12697e0 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 10:14:41 +0100 Subject: [PATCH 6/6] typos README.md --- basic/20-flash-loan/aave/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic/20-flash-loan/aave/README.md b/basic/20-flash-loan/aave/README.md index 8d9fc4305..35c2fa7a1 100644 --- a/basic/20-flash-loan/aave/README.md +++ b/basic/20-flash-loan/aave/README.md @@ -17,7 +17,7 @@ contract Flashloan is FlashLoanReceiverBase { } ``` -We import the required dependence in abouve codes, the contract `Flashloan` is inherit from `FlashLoanReceiverBase` which is a abostract contract, supply several convinience functions, such as the way to repay the flash loan. The constraction function (constructor) of Flashloan.sol accept a loan pool supplier address on Aave. We will explain this later. +We import the required dependence in abouve codes, the contract `Flashloan` is inherit from `FlashLoanReceiverBase` which is an abostract contract, supply several convinience functions, such as the way to repay the flash loan. The constraction function (constructor) of Flashloan.sol accept a loan pool supplier address on Aave. We will explain this later. ### The flashloan function Well, let's take a look of flashloan function @@ -65,7 +65,7 @@ The `executeOperation` function will be called after contract `LendingPool` get When we triggered valid flashloan with `flashLoan` function, the all paramaters in `executeOperation` will be passed automatically, and we use `require` to make sure whether we had get the right amount of assets from flashloan. -Then, we can insert any logical we want to excute. In this step, we had have all usable fund from flashloan, and we can use it to have a arbitrage. +Then, we can insert any logical we want to excute. In this step, we had have all usable fund from flashloan, and we can use it to have an arbitrage. After we used flashloan, it's repay time.