Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos #168

Merged
merged 2 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/mixins/PermitAndCall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ abstract contract PermitAndCall {

/**
* @notice Executes a permit for an ERC20 token and then a specified action in a single transaction.
* @param permit ERC20 token address (20 bytes) concatinated with the permit data, allowing this contract to spend the token.
* @param permit ERC20 token address (20 bytes) concatenated with the permit data, allowing this contract to spend the token.
* Format: [token address (20 bytes)][permit data]
* @param action The data representing the action to be executed after the permit.
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/mixins/PermitAndCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Executes a permit for an ERC20 token and then a specified action in a single tra

| Name | Type | Description |
| ---- | ---- | ----------- |
| 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] |
| 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] |
| action | bytes | The data representing the action to be executed after the permit. |

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1inch/solidity-utils",
"version": "6.2.2",
"version": "6.2.3",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export async function saveContractWithCreate3Deployment(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const receipt = await provider.getTransactionReceipt(deployTxHash) as {[key: string]: any};
if (receipt != null) {
// conver ethers.TransactionReceipt object to hardhat-deploy.Receipt object
// convert ethers.TransactionReceipt object to hardhat-deploy.Receipt object
receipt.transactionHash = receipt.transactionHash || receipt.hash;
receipt.transactionIndex = receipt.transactionIndex || receipt.index;
['provider', 'blobGasPrice', 'type', 'root', 'hash', 'index'].forEach(key => delete receipt[key]);
Expand Down
Loading