Skip to content
Open
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
4 changes: 2 additions & 2 deletions contracts/ERC7641.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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);
}
}
}
4 changes: 2 additions & 2 deletions contracts/IERC7641.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}