From 37994a42afc2f5fec508ba58bfc72e198ed87674 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:20:53 +0300 Subject: [PATCH 1/2] fix ERC7641.sol --- contracts/ERC7641.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/ERC7641.sol b/contracts/ERC7641.sol index 19e24ff..e6c0600 100644 --- a/contracts/ERC7641.sol +++ b/contracts/ERC7641.sol @@ -109,7 +109,7 @@ contract ERC7641 is ERC20Permit, ERC20Snapshot, IERC7641 { } /** - * @dev A function to calculate claim pool from most recent two snapshots + * @dev A function to calculate the claim pool from the most recent two snapshots * @param currentSnapshotId The current snapshot id * @notice modify when SNAPSHOT_CLAIMABLE_NUMBER changes */ @@ -185,4 +185,4 @@ contract ERC7641 is ERC20Permit, ERC20Snapshot, IERC7641 { function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Snapshot) { ERC20Snapshot._beforeTokenTransfer(from, to, amount); } -} \ No newline at end of file +} From 5f6df567bb9558c76a93c568116178c58044851c Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:21:22 +0300 Subject: [PATCH 2/2] fix IERC7641.sol --- contracts/IERC7641.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/IERC7641.sol b/contracts/IERC7641.sol index ee6425d..0219cc6 100644 --- a/contracts/IERC7641.sol +++ b/contracts/IERC7641.sol @@ -30,14 +30,14 @@ interface IERC7641 is IERC20 { /** * @dev A function to calculate the amount of ETH redeemable by a token holder upon burn - * @param amount The amount of token to burn + * @param amount The amount of tokens to burn * @return redeemable The amount of revenue ETH redeemable */ function redeemableOnBurn(uint256 amount) external view returns (uint256); /** * @dev A function to burn tokens and redeem the corresponding amount of revenue token - * @param amount The amount of token to burn + * @param amount The amount of tokens to burn */ function burn(uint256 amount) external; }