Skip to content

Commit 3e8db13

Browse files
committed
chore: fix some typos
Signed-off-by: withbest <[email protected].>
1 parent 37b55c6 commit 3e8db13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contracts/mixins/PermitAndCall.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abstract contract PermitAndCall {
1515

1616
/**
1717
* @notice Executes a permit for an ERC20 token and then a specified action in a single transaction.
18-
* @param permit ERC20 token address (20 bytes) concatinated with the permit data, allowing this contract to spend the token.
18+
* @param permit ERC20 token address (20 bytes) concatenated with the permit data, allowing this contract to spend the token.
1919
* Format: [token address (20 bytes)][permit data]
2020
* @param action The data representing the action to be executed after the permit.
2121
*/

docs/contracts/mixins/PermitAndCall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Executes a permit for an ERC20 token and then a specified action in a single tra
1919

2020
| Name | Type | Description |
2121
| ---- | ---- | ----------- |
22-
| permit | bytes | ERC20 token address (20 bytes) concatinated with the permit data, allowing this contract to spend the token. Format: [token address (20 bytes)][permit data] |
22+
| permit | bytes | ERC20 token address (20 bytes) concatenated with the permit data, allowing this contract to spend the token. Format: [token address (20 bytes)][permit data] |
2323
| action | bytes | The data representing the action to be executed after the permit. |
2424

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export async function saveContractWithCreate3Deployment(
212212
// eslint-disable-next-line @typescript-eslint/no-explicit-any
213213
const receipt = await provider.getTransactionReceipt(deployTxHash) as {[key: string]: any};
214214
if (receipt != null) {
215-
// conver ethers.TransactionReceipt object to hardhat-deploy.Receipt object
215+
// convert ethers.TransactionReceipt object to hardhat-deploy.Receipt object
216216
receipt.transactionHash = receipt.transactionHash || receipt.hash;
217217
receipt.transactionIndex = receipt.transactionIndex || receipt.index;
218218
['provider', 'blobGasPrice', 'type', 'root', 'hash', 'index'].forEach(key => delete receipt[key]);

0 commit comments

Comments
 (0)